You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* -add comments to proto fields
-add comments to msg and query server
-remove decorator from docs
-add coments to msgs.go
-remove decorator from godoc
* Update x/feegrant/spec/04_events.md
Co-authored-by: Marie Gauthier <[email protected]>
* refactor and add to docs
*refactor proto msg names and functions
*add docs pertaining to auth's ante handler for deducted fees
* lint
* update comment
* gofmt
Co-authored-by: technicallyty <[email protected]>
Co-authored-by: Marie Gauthier <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
PeriodicFeeAllowance extends FeeAllowance to allow for both a maximum cap,
4634
+
### PeriodicAllowance
4635
+
PeriodicAllowance extends Allowance to allow for both a maximum cap,
4636
4636
as well as a limit per time period.
4637
4637
4638
4638
4639
4639
| Field | Type | Label | Description |
4640
4640
| ----- | ---- | ----- | ----------- |
4641
-
|`basic`|[BasicFeeAllowance](#cosmos.feegrant.v1beta1.BasicFeeAllowance)|| basic specifies a struct of `BasicFeeAllowance`|
4641
+
|`basic`|[BasicAllowance](#cosmos.feegrant.v1beta1.BasicAllowance)|| basic specifies a struct of `BasicAllowance`|
4642
4642
|`period`|[Duration](#cosmos.feegrant.v1beta1.Duration)|| period specifies the time duration in which period_spend_limit coins can be spent before that allowance is reset |
4643
4643
|`period_spend_limit`|[cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin)| repeated | period_spend_limit specifies the maximum number of coins that can be spent in the period |
4644
4644
|`period_can_spend`|[cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin)| repeated | period_can_spend is the number of coins left to be spent before the period_reset time |
@@ -4673,7 +4673,7 @@ GenesisState contains a set of fee allowances, persisted from the store
QueryFeeAllowancesResponse is the response type for the Query/FeeAllowances RPC method.
4748
+
### QueryAllowancesResponse
4749
+
QueryAllowancesResponse is the response type for the Query/Allowances RPC method.
4750
4750
4751
4751
4752
4752
| Field | Type | Label | Description |
4753
4753
| ----- | ---- | ----- | ----------- |
4754
-
|`fee_allowances`|[FeeAllowanceGrant](#cosmos.feegrant.v1beta1.FeeAllowanceGrant)| repeated |fee_allowances are fee_allowance's granted for grantee by granter. |
4754
+
|`allowances`|[Grant](#cosmos.feegrant.v1beta1.Grant)| repeated |allowances are allowance's granted for grantee by granter. |
4755
4755
|`pagination`|[cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse)|| pagination defines an pagination for the response. |
4756
4756
4757
4757
@@ -4772,8 +4772,8 @@ Query defines the gRPC querier service.
4772
4772
4773
4773
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|`FeeAllowance`|[QueryFeeAllowanceRequest](#cosmos.feegrant.v1beta1.QueryFeeAllowanceRequest)|[QueryFeeAllowanceResponse](#cosmos.feegrant.v1beta1.QueryFeeAllowanceResponse)|FeeAllowance returns fee granted to the grantee by the granter. | GET|/cosmos/feegrant/v1beta1/fee_allowance/{granter}/{grantee}|
4776
-
|`FeeAllowances`|[QueryFeeAllowancesRequest](#cosmos.feegrant.v1beta1.QueryFeeAllowancesRequest)|[QueryFeeAllowancesResponse](#cosmos.feegrant.v1beta1.QueryFeeAllowancesResponse)|FeeAllowances returns all the grants for address. | GET|/cosmos/feegrant/v1beta1/fee_allowances/{grantee}|
4775
+
|`Allowance`|[QueryAllowanceRequest](#cosmos.feegrant.v1beta1.QueryAllowanceRequest)|[QueryAllowanceResponse](#cosmos.feegrant.v1beta1.QueryAllowanceResponse)|Allowance returns fee granted to the grantee by the granter. | GET|/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}|
4776
+
|`Allowances`|[QueryAllowancesRequest](#cosmos.feegrant.v1beta1.QueryAllowancesRequest)|[QueryAllowancesResponse](#cosmos.feegrant.v1beta1.QueryAllowancesResponse)|Allowances returns all the grants for address. | GET|/cosmos/feegrant/v1beta1/allowances/{grantee}|
4777
4777
4778
4778
<!-- end services -->
4779
4779
@@ -4786,54 +4786,54 @@ Query defines the gRPC querier service.
|`GrantFeeAllowance`|[MsgGrantFeeAllowance](#cosmos.feegrant.v1beta1.MsgGrantFeeAllowance)|[MsgGrantFeeAllowanceResponse](#cosmos.feegrant.v1beta1.MsgGrantFeeAllowanceResponse)|GrantFeeAllowance grants fee allowance to the grantee on the granter's account with the provided expiration time. ||
4857
-
|`RevokeFeeAllowance`|[MsgRevokeFeeAllowance](#cosmos.feegrant.v1beta1.MsgRevokeFeeAllowance)|[MsgRevokeFeeAllowanceResponse](#cosmos.feegrant.v1beta1.MsgRevokeFeeAllowanceResponse)|RevokeFeeAllowance revokes any fee allowance of granter's account that has been granted to the grantee. ||
4856
+
|`GrantAllowance`|[MsgGrantAllowance](#cosmos.feegrant.v1beta1.MsgGrantAllowance)|[MsgGrantAllowanceResponse](#cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse)|GrantAllowance grants fee allowance to the grantee on the granter's account with the provided expiration time. ||
4857
+
|`RevokeAllowance`|[MsgRevokeAllowance](#cosmos.feegrant.v1beta1.MsgRevokeAllowance)|[MsgRevokeAllowanceResponse](#cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse)|RevokeAllowance revokes any fee allowance of granter's account that has been granted to the grantee. ||
0 commit comments