Skip to main content

Granter

The account address that gives balance's access permission for paying trasaction fee to the grantee.

Add new grant alowance to grantee

Step 1: Connect wallet and navigate to Fee Grant option from Menu Header >> More >> Fee Grant

Feegrant path

Step 2: Add new feegrant allowance

When user click to "Add New Grant" button, a popup will be show up to input feegrant allowance information.

Add new feegrant

After filling feegrant allowance information, click to "Grant" button to confirm the feegrant allowance.

Add new feegrant popup

FieldsDescriptionNote
Grantee's AddressWallet address of grantee
Spend Limit AmountThe limit of coins that are allowed to be used from the granter's account.If field is empty, there is no spend limit and any amount can be spent
Expiration TimeTime when this allowance expireIf this field is left empty, there is no expiry for the grant
Periodically grantedIf user select "Yes" this allowance is Periodic Allowance unless, this allowance is Basic Allowance
Period Spend Limit AmountThe maximum number of coins that can be spent in each periodThis field only appears when user tick "Yes" in the "Periodically granted" field
PeriodThe time duration in which the Period Spend Limit Amount above can be spent before that allowance is resetThis field only appears when user tick "Yes" in the "Periodically granted" field
Allowed ActivitiesThe specified activities in which the grantee conducts that can be paid fee from fee allowance granted from granter
Specified smart contractsUser can specify the specific contract address that when the grantee interact with can be accessible to the fee allowance granted by the granterThis field only show up when user select "Execute Contract" option in the "Allowed Activities" field

Step 3: Sign the "Grant Allowance" message

Sign message

Revoke granted fee

Step 1: Connect wallet and navigate to Fee Grant option from Menu Header >> More >> Fee Grant

Feegrant path

Step 2: Revoke feegrant allowance When user click to "Revoke" button in the same line with the granted feegrant, a popup will be show up to inform the revoke information. After checking, the granter can click to "Revoke" button to confirm the revoke action.

Revoke granted fee

Step 3: Sign the message

Sign revoke message

:
  • For now, we have supported feegrant feature for contract interaction activities (Execute Contract)
  • If the granter don't specify the allow activities and don't specify the contract address, the grantee can accessible to the feegrant allowance when conduct 'execute contract' actions with all smart contracts

My Grantees list view

Active

The "Active" tab in "My Grantees" shows up the list of granted allowance of the user when acting like a granter. These allowance is still valid which means that they have not yet reach the "Spend Limit Account".

My active grantees

Note:
  • Between a pair of granter and grantee can only occur 1 fee allowance. In order to grant additional fee allowance to the former grantee, need to revoke the existed fee allowance in advanced.
  • The allowance that already reached the expiry date still show up in this active list view but this allowance is inaccessible. Need to revoke the expired allowance in order to re-grant fee to the former grantee.

Inactive

The "Inactive" tab in "My Grantees" shows up the list of granted allowance of the user when acting like a granter. These allowance is invalid due to Spend Limit Amount used up or were revoked by the granter.

My inactive grantees