StakeAuthorization: {
    allow_list: string[];
    authorization_type: Scrt.SecretJS.StakeAuthorizationType;
    deny_list: string[];
    max_tokens: Scrt.SecretJS.Coin;
}

StakeAuthorization defines authorization for delegate/undelegate/redelegate.

Type declaration

  • allow_list: string[]

    allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's account.

  • authorization_type: Scrt.SecretJS.StakeAuthorizationType

    authorization_type defines one of AuthorizationType.

  • deny_list: string[]

    deny_list specifies list of validator addresses to whom grantee can not delegate tokens.

  • max_tokens: Scrt.SecretJS.Coin

    max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is empty, there is no spend limit and any amount of coins can be delegated.

Generated using TypeDoc