Documentation ¶
Index ¶
- func EncodingConfig() hubparams.EncodingConfig
- type Context
- func (c *Context) Codec() codec.Codec
- func (c *Context) QueryAccount(rpcAddress string, accAddr sdk.AccAddress) (result authtypes.AccountI, err error)
- func (c *Context) QueryBalances(rpcAddress string, accAddr sdk.AccAddress, pagination *query.PageRequest) (result sdk.Coins, err error)
- func (c *Context) QueryDeposit(rpcAddress string, accAddr sdk.AccAddress) (result *deposittypes.Deposit, err error)
- func (c *Context) QueryDeposits(rpcAddress string, pagination *query.PageRequest) (result deposittypes.Deposits, err error)
- func (c *Context) QueryNode(rpcAddress string, nodeAddr hubtypes.NodeAddress) (result *nodetypes.Node, err error)
- func (c *Context) QueryNodes(rpcAddress string, status hubtypes.Status, pagination *query.PageRequest) (result nodetypes.Nodes, err error)
- func (c *Context) QueryNodesForProvider(rpcAddress string, provAddr hubtypes.ProvAddress, status hubtypes.Status, ...) (result nodetypes.Nodes, err error)
- func (c *Context) QueryPlan(rpcAddress string, id uint64) (result *plantypes.Plan, err error)
- func (c *Context) QueryPlans(rpcAddress string, status hubtypes.Status, pagination *query.PageRequest) (result plantypes.Plans, err error)
- func (c *Context) QueryPlansForProvider(rpcAddress string, provAddr hubtypes.ProvAddress, status hubtypes.Status, ...) (result plantypes.Plans, err error)
- func (c *Context) QueryProvider(rpcAddress string, provAddr hubtypes.ProvAddress) (result *providertypes.Provider, err error)
- func (c *Context) QueryProviders(rpcAddress string, pagination *query.PageRequest) (result providertypes.Providers, err error)
- func (c *Context) QueryQuota(rpcAddress string, id uint64, accAddr sdk.AccAddress) (result *subscriptiontypes.Quota, err error)
- func (c *Context) QueryQuotas(rpcAddress string, id uint64, pagination *query.PageRequest) (result subscriptiontypes.Quotas, err error)
- func (c *Context) QuerySession(rpcAddress string, id uint64) (result *sessiontypes.Session, err error)
- func (c *Context) QuerySessions(rpcAddress string, pagination *query.PageRequest) (result sessiontypes.Sessions, err error)
- func (c *Context) QuerySessionsForAddress(rpcAddress string, accAddr sdk.AccAddress, status hubtypes.Status, ...) (result sessiontypes.Sessions, err error)
- func (c *Context) QuerySubscription(rpcAddress string, id uint64) (result *subscriptiontypes.Subscription, err error)
- func (c *Context) QuerySubscriptions(rpcAddress string, pagination *query.PageRequest) (result subscriptiontypes.Subscriptions, err error)
- func (c *Context) QuerySubscriptionsForAddress(rpcAddress string, accAddr sdk.AccAddress, status hubtypes.Status, ...) (result subscriptiontypes.Subscriptions, err error)
- func (c *Context) Tx(kr keyring.Keyring, fromName string, gas uint64, gasAdjustment float64, ...) (result *sdk.TxResponse, err error)
- func (c *Context) WithAccountRetriever(v client.AccountRetriever) *Context
- func (c *Context) WithClientContext(v client.Context) *Context
- func (c *Context) WithTxConfig(v client.TxConfig) *Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodingConfig ¶
func EncodingConfig() hubparams.EncodingConfig
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() *Context
func NewDefaultContext ¶
func NewDefaultContext() *Context
func (*Context) QueryAccount ¶
func (*Context) QueryBalances ¶
func (c *Context) QueryBalances(rpcAddress string, accAddr sdk.AccAddress, pagination *query.PageRequest) (result sdk.Coins, err error)
func (*Context) QueryDeposit ¶
func (c *Context) QueryDeposit(rpcAddress string, accAddr sdk.AccAddress) (result *deposittypes.Deposit, err error)
func (*Context) QueryDeposits ¶
func (c *Context) QueryDeposits(rpcAddress string, pagination *query.PageRequest) (result deposittypes.Deposits, err error)
func (*Context) QueryNodes ¶
func (*Context) QueryNodesForProvider ¶
func (*Context) QueryPlans ¶
func (*Context) QueryPlansForProvider ¶
func (*Context) QueryProvider ¶
func (c *Context) QueryProvider(rpcAddress string, provAddr hubtypes.ProvAddress) (result *providertypes.Provider, err error)
func (*Context) QueryProviders ¶
func (c *Context) QueryProviders(rpcAddress string, pagination *query.PageRequest) (result providertypes.Providers, err error)
func (*Context) QueryQuota ¶
func (c *Context) QueryQuota(rpcAddress string, id uint64, accAddr sdk.AccAddress) (result *subscriptiontypes.Quota, err error)
func (*Context) QueryQuotas ¶
func (c *Context) QueryQuotas(rpcAddress string, id uint64, pagination *query.PageRequest) (result subscriptiontypes.Quotas, err error)
func (*Context) QuerySession ¶
func (*Context) QuerySessions ¶
func (c *Context) QuerySessions(rpcAddress string, pagination *query.PageRequest) (result sessiontypes.Sessions, err error)
func (*Context) QuerySessionsForAddress ¶
func (c *Context) QuerySessionsForAddress(rpcAddress string, accAddr sdk.AccAddress, status hubtypes.Status, pagination *query.PageRequest) (result sessiontypes.Sessions, err error)
func (*Context) QuerySubscription ¶
func (c *Context) QuerySubscription(rpcAddress string, id uint64) (result *subscriptiontypes.Subscription, err error)
func (*Context) QuerySubscriptions ¶
func (c *Context) QuerySubscriptions(rpcAddress string, pagination *query.PageRequest) (result subscriptiontypes.Subscriptions, err error)
func (*Context) QuerySubscriptionsForAddress ¶
func (c *Context) QuerySubscriptionsForAddress(rpcAddress string, accAddr sdk.AccAddress, status hubtypes.Status, pagination *query.PageRequest) (result subscriptiontypes.Subscriptions, err error)
func (*Context) Tx ¶
func (c *Context) Tx( kr keyring.Keyring, fromName string, gas uint64, gasAdjustment float64, gasPrices string, fees string, feeGranter sdk.AccAddress, memo, signModeStr, chainID, rpcAddress string, timeoutHeight uint64, simulateAndExecute bool, broadcastMode string, messages ...sdk.Msg, ) (result *sdk.TxResponse, err error)
func (*Context) WithAccountRetriever ¶
func (c *Context) WithAccountRetriever(v client.AccountRetriever) *Context
Click to show internal directories.
Click to hide internal directories.