Skip to main content

IP12GameCoin

IP12GameCoin

TransferWithAccount

event TransferWithAccount(address recipient, string account, uint256 amount)

record the event that transfer coin with a off-chain account, which will be used when someone want to deposit his coin to off-chain game.

NameUpdated

event NameUpdated(string oldName, string newName)

SymbolUpdated

event SymbolUpdated(string oldSymbol, string newSymbol)

IconUrlUpdated

event IconUrlUpdated(string oldUrl, string newUrl)

mint

function mint(address to, uint256 amount) external

gameId

function gameId() external view returns (string)

gameCoinIconUrl

function gameCoinIconUrl() external view returns (string)

transferWithAccount

function transferWithAccount(address recipient, string account, uint256 amount) external

setName

function setName(string newName) external

setSymbol

function setSymbol(string newSymbol) external

setGameCoinIconUrl

function setGameCoinIconUrl(string newUrl) external