Bank
Bank Precompiles contract is a gate-way that allowed Solidity contracts can interact with Cosmos SDK Bank module. This is convenient for developers as they don’t need to know the implementation details behind the x/bank
module in the Cosmos SDK. Instead, they can interact with bank functions using the Ethereum interface they are familiar with.
Solidity Interfaces
The Bank solidity interface includes the following transactions
send
Send defined a method that perform sending logic to a specific address
burn
Burn defined a method that perform burning amount of token from a specific address
balance
Balance defined a query method that get a user balance of a specific denomination
name
Get the Name that defined in Token Metadata
symbol
Get the Symbol that defined in Token Metadata
decimals
Get the token decimals that defined in Token Metadata
supply
Get the total supply of the token
Last updated
Was this helpful?