Grant is stored in the KVStore to record a grant with full context

interface Grant {
    allowance?:
        | Any
        | BasicAllowance
        | PeriodicAllowance
        | AllowedMsgAllowance;
    grantee: string;
    granter: string;
}

Properties

allowance?:
    | Any
    | BasicAllowance
    | PeriodicAllowance
    | AllowedMsgAllowance

allowance can be any of basic and filtered fee allowance.

grantee: string

grantee is the address of the user being granted an allowance of another user's funds.

granter: string

granter is the address of the user granting an allowance of their funds.