Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the feegrant msg service.
GrantAllowance grants fee allowance to the grantee on the granter's account with the provided expiration time.
MsgGrantAllowance adds permission for Grantee to spend up to Allowance of fees from the account of Granter.
granter is the address of the user granting an allowance of their funds.
grantee is the address of the user being granted an allowance of another user's funds.
allowance can be any of basic, periodic, allowed fee allowance.
MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type.
(message has no fields)
RevokeAllowance revokes any fee allowance of granter's account that has been granted to the grantee.
MsgRevokeAllowance removes any existing Allowance from Granter to Grantee.
granter is the address of the user granting an allowance of their funds.
grantee is the address of the user being granted an allowance of another user's funds.
MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type.
(message has no fields)
Query defines the gRPC querier service.
Allowance returns fee granted to the grantee by the granter.
QueryAllowanceRequest is the request type for the Query/Allowance RPC method.
granter is the address of the user granting an allowance of their funds.
grantee is the address of the user being granted an allowance of another user's funds.
QueryAllowanceResponse is the response type for the Query/Allowance RPC method.
allowance is a allowance granted for grantee by granter.
Allowances returns all the grants for address.
QueryAllowancesRequest is the request type for the Query/Allowances RPC method.
pagination defines an pagination for the request.
QueryAllowancesResponse is the response type for the Query/Allowances RPC method.
allowances are allowance's granted for grantee by granter.
pagination defines an pagination for the response.
AllowancesByGranter returns all the grants given by an address Since: cosmos-sdk 0.46
QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. Since: cosmos-sdk 0.46
pagination defines an pagination for the request.
QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. Since: cosmos-sdk 0.46
allowances that have been issued by the granter.
pagination defines an pagination for the response.
AllowedMsgAllowance creates allowance only for specified message types.
allowance can be any of basic and periodic fee allowance.
allowed_messages are the messages for which the grantee has the access.
BasicAllowance implements Allowance with a one-time grant of coins that optionally expires. The grantee can use up to SpendLimit to cover fees.
Used in:
spend_limit specifies the maximum amount of coins that can be spent by this allowance and will be updated as coins are spent. If it is empty, there is no spend limit and any amount of coins can be spent.
expiration specifies an optional time when this allowance expires
GenesisState contains a set of fee allowances, persisted from the store
Grant is stored in the KVStore to record a grant with full context
Used in:
, , ,granter is the address of the user granting an allowance of their funds.
grantee is the address of the user being granted an allowance of another user's funds.
allowance can be any of basic, periodic, allowed fee allowance.
PeriodicAllowance extends Allowance to allow for both a maximum cap, as well as a limit per time period.
basic specifies a struct of `BasicAllowance`
period specifies the time duration in which period_spend_limit coins can be spent before that allowance is reset
period_spend_limit specifies the maximum number of coins that can be spent in the period
period_can_spend is the number of coins left to be spent before the period_reset time
period_reset is the time at which this period resets and a new one begins, it is calculated from the start time of the first transaction after the last period ended