Documentation ¶
Index ¶
- Constants
- func MakeFeeGrantMsg(feeGrantMsg types.FeeGrantMsg, granter sdk.AccAddress) (feegrant.MsgGrantAllowance, error)
- func MakeQueryFeeGrantMsg(queryFeeGrantMsg types.QueryFeeGrantMsg) (feegrant.QueryAllowanceRequest, error)
- func MakeQueryFeeGrantsByGranteeMsg(queryFeeGrantMsg types.QueryFeeGrantMsg) (feegrant.QueryAllowancesRequest, error)
- func MakeQueryFeeGrantsByGranterMsg(queryFeeGrantMsg types.QueryFeeGrantMsg) (feegrant.QueryAllowancesByGranterRequest, error)
- func MakeRevokeFeeGrantMsg(revokeFeeGrantMsg types.RevokeFeeGrantMsg, granter sdk.AccAddress) (feegrant.MsgRevokeAllowance, error)
- func NewCoreModule() core.CoreModule
- func QueryFeegrant(i core.QueryClient) (string, error)
- type FeegrantExternal
Constants ¶
View Source
const ( FeegrantModule = "feegrant" FeegrantGrantMsgType = "grant" FeegrantRevokeGrantMsgType = "revoke-grant" FeegrantQueryGrantMsgType = "query-grant" FeegrantQueryGrantsByGranteeMsgType = "grants-by-grantee" FeegrantQueryGrantsByGranterMsgType = "grants-by-granter" )
Variables ¶
This section is empty.
Functions ¶
func MakeFeeGrantMsg ¶
func MakeFeeGrantMsg(feeGrantMsg types.FeeGrantMsg, granter sdk.AccAddress) (feegrant.MsgGrantAllowance, error)
(Tx) make msg - fee grant
func MakeQueryFeeGrantMsg ¶
func MakeQueryFeeGrantMsg(queryFeeGrantMsg types.QueryFeeGrantMsg) (feegrant.QueryAllowanceRequest, error)
(Query) make msg - query fee grants
func MakeQueryFeeGrantsByGranteeMsg ¶
func MakeQueryFeeGrantsByGranteeMsg(queryFeeGrantMsg types.QueryFeeGrantMsg) (feegrant.QueryAllowancesRequest, error)
(Query) make msg - fee grants by grantee
func MakeQueryFeeGrantsByGranterMsg ¶
func MakeQueryFeeGrantsByGranterMsg(queryFeeGrantMsg types.QueryFeeGrantMsg) (feegrant.QueryAllowancesByGranterRequest, error)
(Query) make msg - fee grants by granter
func MakeRevokeFeeGrantMsg ¶
func MakeRevokeFeeGrantMsg(revokeFeeGrantMsg types.RevokeFeeGrantMsg, granter sdk.AccAddress) (feegrant.MsgRevokeAllowance, error)
(Tx) make msg - fee grant revoke
func NewCoreModule ¶ added in v0.1.2
func NewCoreModule() core.CoreModule
func QueryFeegrant ¶
func QueryFeegrant(i core.QueryClient) (string, error)
Query client for fee-grant module.
Types ¶
type FeegrantExternal ¶ added in v0.1.2
type FeegrantExternal struct {
Xplac provider.XplaClient
}
func NewFeegrantExternal ¶ added in v0.1.2
func NewFeegrantExternal(xplac provider.XplaClient) (e FeegrantExternal)
func (FeegrantExternal) FeeGrant ¶ added in v0.1.2
func (e FeegrantExternal) FeeGrant(grantMsg types.FeeGrantMsg) provider.XplaClient
Grant fee allowance to an address.
func (FeegrantExternal) QueryFeeGrants ¶ added in v0.1.2
func (e FeegrantExternal) QueryFeeGrants(queryFeeGrantMsg types.QueryFeeGrantMsg) provider.XplaClient
Query details of fee grants.
func (FeegrantExternal) RevokeFeeGrant ¶ added in v0.1.2
func (e FeegrantExternal) RevokeFeeGrant(revokeGrantMsg types.RevokeFeeGrantMsg) provider.XplaClient
Revoke fee-grant.
Click to show internal directories.
Click to hide internal directories.