Documentation ¶
Index ¶
- Constants
- func MakeAuthParamMsg() (authtypes.QueryParamsRequest, error)
- func MakeQueryAccAddressMsg(queryAccAddressMsg types.QueryAccAddressMsg) (authtypes.QueryAccountRequest, error)
- func MakeQueryAccountsMsg() (authtypes.QueryAccountsRequest, error)
- func NewCoreModule() core.CoreModule
- func QueryAuth(i core.QueryClient) (string, error)
- type AuthExternal
- func (e AuthExternal) AccAddress(queryAccAddresMsg types.QueryAccAddressMsg) provider.XplaClient
- func (e AuthExternal) Accounts() provider.XplaClient
- func (e AuthExternal) AuthParams() provider.XplaClient
- func (e AuthExternal) Tx(queryTxMsg types.QueryTxMsg) provider.XplaClient
- func (e AuthExternal) TxsByEvents(txsByEventsMsg types.QueryTxsByEventsMsg) provider.XplaClient
- type QueryTxParseMsg
- type QueryTxsByEventParseMsg
Constants ¶
View Source
const ( AuthModule = "auth" AuthQueryParamsMsgType = "query-auth-params" AuthQueryAccAddressMsgType = "query-account" AuthQueryAccountsMsgType = "query-accounts" AuthQueryTxsByEventsMsgType = "query-txs-by-events" AuthQueryTxMsgType = "query-tx" )
Variables ¶
This section is empty.
Functions ¶
func MakeAuthParamMsg ¶
func MakeAuthParamMsg() (authtypes.QueryParamsRequest, error)
(Query) make msg - auth param
func MakeQueryAccAddressMsg ¶
func MakeQueryAccAddressMsg(queryAccAddressMsg types.QueryAccAddressMsg) (authtypes.QueryAccountRequest, error)
(Query) make msg - auth account
func MakeQueryAccountsMsg ¶
func MakeQueryAccountsMsg() (authtypes.QueryAccountsRequest, error)
(Query) make msg - auth accounts
func NewCoreModule ¶ added in v0.1.2
func NewCoreModule() core.CoreModule
Types ¶
type AuthExternal ¶ added in v0.1.2
type AuthExternal struct {
Xplac provider.XplaClient
}
func NewAuthExternal ¶ added in v0.1.2
func NewAuthExternal(xplac provider.XplaClient) (e AuthExternal)
func (AuthExternal) AccAddress ¶ added in v0.1.2
func (e AuthExternal) AccAddress(queryAccAddresMsg types.QueryAccAddressMsg) provider.XplaClient
Query for account by address.
func (AuthExternal) Accounts ¶ added in v0.1.2
func (e AuthExternal) Accounts() provider.XplaClient
Query all accounts.
func (AuthExternal) AuthParams ¶ added in v0.1.2
func (e AuthExternal) AuthParams() provider.XplaClient
Query the current auth parameters.
func (AuthExternal) Tx ¶ added in v0.1.2
func (e AuthExternal) Tx(queryTxMsg types.QueryTxMsg) provider.XplaClient
Query for a transaction by hash <addr>/<seq> combination or comma-separated signatures in a committed block.
func (AuthExternal) TxsByEvents ¶ added in v0.1.2
func (e AuthExternal) TxsByEvents(txsByEventsMsg types.QueryTxsByEventsMsg) provider.XplaClient
Query for paginated transactions that match a set of events.
type QueryTxParseMsg ¶
func MakeQueryTxMsg ¶
func MakeQueryTxMsg(queryTxMsg types.QueryTxMsg) (QueryTxParseMsg, error)
(Query) make msg - transaction
type QueryTxsByEventParseMsg ¶
func MakeTxsByEventsMsg ¶
func MakeTxsByEventsMsg(txsByEventsMsg types.QueryTxsByEventsMsg) (QueryTxsByEventParseMsg, error)
(Query) make msg - transactions by events
Click to show internal directories.
Click to hide internal directories.