Documentation ¶
Index ¶
- Constants
- func ParseBalanceKey(key []byte) (sdk.AccAddress, batchDenomT)
- func ParseSupplyKey(key []byte) batchDenomT
- func RegisterServices(configurator server.Configurator, paramSpace paramtypes.Subspace, ...)
- func RetiredBalanceKey(acc sdk.AccAddress, batchDenom batchDenomT) []byte
- func RetiredSupplyKey(batchDenom batchDenomT) []byte
- func TradableBalanceKey(acc sdk.AccAddress, denom batchDenomT) []byte
- func TradableSupplyKey(batchDenom batchDenomT) []byte
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ParseBalanceKey ¶
func ParseBalanceKey(key []byte) (sdk.AccAddress, batchDenomT)
ParseBalanceKey parses the recipient address and batch-denom from tradable or retired balance key.
func ParseSupplyKey ¶
func ParseSupplyKey(key []byte) batchDenomT
ParseSupplyKey parses the batch-denom from tradable or retired supply key
func RegisterServices ¶
func RegisterServices(configurator server.Configurator, paramSpace paramtypes.Subspace, accountKeeper ecocredit.AccountKeeper, bankKeeper ecocredit.BankKeeper)
func RetiredBalanceKey ¶
func RetiredBalanceKey(acc sdk.AccAddress, batchDenom batchDenomT) []byte
RetiredBalanceKey creates the index key for recipient address and batch-denom
func RetiredSupplyKey ¶
func RetiredSupplyKey(batchDenom batchDenomT) []byte
RetiredSupplyKey creates the retired supply key for a given batch-denom
func TradableBalanceKey ¶
func TradableBalanceKey(acc sdk.AccAddress, denom batchDenomT) []byte
TradableBalanceKey creates the index key for recipient address and batch-denom
func TradableSupplyKey ¶
func TradableSupplyKey(batchDenom batchDenomT) []byte
TradableSupplyKey creates the tradable supply key for a given batch-denom
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.