id |
---|
banker |
The Banker's main purpose is to handle balance changes of native coins within Gno chains. This includes issuance, transfers, and burning of coins.
The Banker module can be cast into 4 subtypes of bankers that expose different functionalities and safety features within your packages and realms.
BankerTypeReadonly
- read-only access to coin balancesBankerTypeOrigSend
- full access to coins sent with the transaction that called the bankerBankerTypeRealmSend
- full access to coins that the realm itself owns, including the ones sent with the transactionBankerTypeRealmIssue
- able to issue new coins
The Banker API can be found under the std
package reference.