github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/docs/concepts/stdlibs/banker.md (about)

     1  ---
     2  id: banker
     3  ---
     4  
     5  # Banker
     6  
     7  The Banker's main purpose is to handle balance changes of [native coins](./coin.md) within Gno chains. This includes issuance, transfers, and burning of coins. 
     8  
     9  The Banker module can be cast into 4 subtypes of bankers that expose different functionalities and safety features within your packages and realms.
    10  
    11  ### Banker Types
    12  
    13  1. `BankerTypeReadonly` - read-only access to coin balances
    14  2. `BankerTypeOrigSend` - full access to coins sent with the transaction that called the banker
    15  3. `BankerTypeRealmSend` - full access to coins that the realm itself owns, including the ones sent with the transaction
    16  4. `BankerTypeRealmIssue` - able to issue new coins
    17  
    18  The Banker API can be found under the `std` package [reference](../../reference/stdlibs/std/banker.md).