Documentation ¶
Index ¶
- Constants
- func MakeBankAllBalancesMsg(bankBalancesMsg types.BankBalancesMsg) (banktypes.QueryAllBalancesRequest, error)
- func MakeBankBalanceMsg(bankBalancesMsg types.BankBalancesMsg) (banktypes.QueryBalanceRequest, error)
- func MakeBankSendMsg(bankSendMsg types.BankSendMsg) (banktypes.MsgSend, error)
- func MakeDenomMetaDataMsg(denomMetadataMsg types.DenomMetadataMsg) (banktypes.QueryDenomMetadataRequest, error)
- func MakeDenomsMetaDataMsg() (banktypes.QueryDenomsMetadataRequest, error)
- func MakeSupplyOfMsg(totalMsg types.TotalMsg) (banktypes.QuerySupplyOfRequest, error)
- func MakeTotalSupplyMsg() (banktypes.QueryTotalSupplyRequest, error)
- func NewCoreModule() core.CoreModule
- func QueryBank(i core.QueryClient) (string, error)
- type BankExternal
- func (e BankExternal) BankBalances(bankBalancesMsg types.BankBalancesMsg) provider.XplaClient
- func (e BankExternal) BankSend(bankSendMsg types.BankSendMsg) provider.XplaClient
- func (e BankExternal) DenomMetadata(denomMetadataMsg ...types.DenomMetadataMsg) provider.XplaClient
- func (e BankExternal) Total(totalMsg ...types.TotalMsg) provider.XplaClient
Constants ¶
View Source
const ( BankModule = "bank" BankSendMsgType = "bank-send" BankAllBalancesMsgType = "bank-all-balances" BankBalanceMsgType = "bank-balance" BankDenomsMetadataMsgType = "denoms-metadata" BankDenomMetadataMsgType = "denom-metadata" BankTotalMsgType = "bank-total" BankTotalSupplyOfMsgType = "bank-total-denom" )
Variables ¶
This section is empty.
Functions ¶
func MakeBankAllBalancesMsg ¶
func MakeBankAllBalancesMsg(bankBalancesMsg types.BankBalancesMsg) (banktypes.QueryAllBalancesRequest, error)
(Query) make msg - all balances
func MakeBankBalanceMsg ¶
func MakeBankBalanceMsg(bankBalancesMsg types.BankBalancesMsg) (banktypes.QueryBalanceRequest, error)
(Query) make msg - balance
func MakeBankSendMsg ¶
func MakeBankSendMsg(bankSendMsg types.BankSendMsg) (banktypes.MsgSend, error)
(Tx) make msg - bank send
func MakeDenomMetaDataMsg ¶
func MakeDenomMetaDataMsg(denomMetadataMsg types.DenomMetadataMsg) (banktypes.QueryDenomMetadataRequest, error)
(Query) make msg - denomination metadata
func MakeDenomsMetaDataMsg ¶
func MakeDenomsMetaDataMsg() (banktypes.QueryDenomsMetadataRequest, error)
(Query) make msg - denominations metadata
func MakeSupplyOfMsg ¶
func MakeSupplyOfMsg(totalMsg types.TotalMsg) (banktypes.QuerySupplyOfRequest, error)
(Query) make msg - supply of
func MakeTotalSupplyMsg ¶
func MakeTotalSupplyMsg() (banktypes.QueryTotalSupplyRequest, error)
(Query) make msg - total supply
func NewCoreModule ¶ added in v0.1.2
func NewCoreModule() core.CoreModule
Types ¶
type BankExternal ¶ added in v0.1.2
type BankExternal struct {
Xplac provider.XplaClient
}
func NewBankExternal ¶ added in v0.1.2
func NewBankExternal(xplac provider.XplaClient) (e BankExternal)
func (BankExternal) BankBalances ¶ added in v0.1.2
func (e BankExternal) BankBalances(bankBalancesMsg types.BankBalancesMsg) provider.XplaClient
Query for account balances by address
func (BankExternal) BankSend ¶ added in v0.1.2
func (e BankExternal) BankSend(bankSendMsg types.BankSendMsg) provider.XplaClient
Send funds from one account to another.
func (BankExternal) DenomMetadata ¶ added in v0.1.2
func (e BankExternal) DenomMetadata(denomMetadataMsg ...types.DenomMetadataMsg) provider.XplaClient
Query the client metadata for coin denominations.
func (BankExternal) Total ¶ added in v0.1.2
func (e BankExternal) Total(totalMsg ...types.TotalMsg) provider.XplaClient
Query the total supply of coins of the chain.
Click to show internal directories.
Click to hide internal directories.