Add minter and burner python interface and test code

This commit is contained in:
lash
2023-06-06 15:27:41 +01:00
parent 220b8afbeb
commit ef3ee7caf0
20 changed files with 354 additions and 9 deletions

View File

@@ -12,10 +12,11 @@ interface IBurner {
function burn(address _from, uint256 _amount, bytes calldata _data) external;
// Burn given amount of tokens held by signer.
function burn(uint256 _burn) external returns (bool);
function burn(uint256 _amount) external returns (bool);
// Burn all tokens held by signer.
function burn() external returns (bool);
// Returns the amount of tokens burned.
function burn() external returns (uint256);
// Total amount of tokens that have been burned.
function totalBurned() external returns (uint256);