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.
Banker Types
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.