Documentation
¶
Index ¶
- func CompactCoins(denoms []string, amounts []int64) std.Coins
- func ExpandCoins(c std.Coins) (denoms []string, amounts []int64)
- func X_assertCallerIsRealm(m *gno.Machine)
- func X_bankerGetCoins(m *gno.Machine, bt uint8, addr string) (denoms []string, amounts []int64)
- func X_bankerIssueCoin(m *gno.Machine, bt uint8, addr string, denom string, amount int64)
- func X_bankerRemoveCoin(m *gno.Machine, bt uint8, addr string, denom string, amount int64)
- func X_bankerSendCoins(m *gno.Machine, bt uint8, fromS, toS string, denoms []string, amounts []int64)
- func X_bankerTotalCoin(m *gno.Machine, bt uint8, denom string) int64
- func X_originSend(m *gno.Machine) (denoms []string, amounts []int64)
- type BankerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func X_assertCallerIsRealm ¶
func X_bankerGetCoins ¶
func X_bankerIssueCoin ¶
func X_bankerRemoveCoin ¶
func X_bankerSendCoins ¶
Types ¶
type BankerInterface ¶
type BankerInterface interface { GetCoins(addr crypto.Bech32Address) (dst std.Coins) SendCoins(from, to crypto.Bech32Address, amt std.Coins) TotalCoin(denom string) int64 IssueCoin(addr crypto.Bech32Address, denom string, amount int64) RemoveCoin(addr crypto.Bech32Address, denom string, amount int64) }
BankerInterface is the interface through which Gno is capable of accessing the blockchain's banker.
The name is what it is to avoid a collision with Gno's Banker, when transpiling.
Click to show internal directories.
Click to hide internal directories.