-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ucs01): denom metadata update packet
- Loading branch information
1 parent
ef0d35a
commit 021ec8a
Showing
6 changed files
with
642 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
pragma solidity ^0.8.23; | ||
|
||
import "@openzeppelin/token/ERC20/IERC20.sol"; | ||
import "@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol"; | ||
|
||
interface IERC20Denom is IERC20 { | ||
interface IERC20Denom is IERC20, IERC20Metadata { | ||
function mint(address to, uint256 amount) external; | ||
|
||
function burn(address from, uint256 amount) external; | ||
|
||
function update( | ||
string calldata name, | ||
string calldata symbol, | ||
uint8 decimals | ||
) external; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.