Module feegrant
Expand description
Allows accounts to grant fee allowances and to use fees from their accounts.
Modules§
- msg_
client - Generated client implementations.
- msg_
server - Generated server implementations.
- query_
client - Generated client implementations.
- query_
server - Generated server implementations.
Structs§
- Allowed
MsgAllowance - AllowedMsgAllowance creates allowance only for specified message types.
- Basic
Allowance - BasicAllowance implements Allowance with a one-time grant of coins that optionally expires. The grantee can use up to SpendLimit to cover fees.
- Genesis
State - GenesisState contains a set of fee allowances, persisted from the store
- Grant
- Grant is stored in the KVStore to record a grant with full context
- MsgGrant
Allowance - MsgGrantAllowance adds permission for Grantee to spend up to Allowance of fees from the account of Granter.
- MsgGrant
Allowance Response - MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type.
- MsgPrune
Allowances - MsgPruneAllowances prunes expired fee allowances.
- MsgPrune
Allowances Response - MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type.
- MsgRevoke
Allowance - MsgRevokeAllowance removes any existing Allowance from Granter to Grantee.
- MsgRevoke
Allowance Response - MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type.
- Periodic
Allowance - PeriodicAllowance extends Allowance to allow for both a maximum cap, as well as a limit per time period.
- Query
Allowance Request - QueryAllowanceRequest is the request type for the Query/Allowance RPC method.
- Query
Allowance Response - QueryAllowanceResponse is the response type for the Query/Allowance RPC method.
- Query
Allowances ByGranter Request - QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method.
- Query
Allowances ByGranter Response - QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method.
- Query
Allowances Request - QueryAllowancesRequest is the request type for the Query/Allowances RPC method.
- Query
Allowances Response - QueryAllowancesResponse is the response type for the Query/Allowances RPC method.