StakeAuthorization

StakeAuthorization defines authorization for delegate/undelegate/redelegate.
Since: cosmos-sdk 0.43
Protobuf type TW.Cosmos.Proto.Message.StakeAuthorization

Types

Link copied to clipboard
class Builder
StakeAuthorization defines authorization for delegate/undelegate/redelegate.
Since: cosmos-sdk 0.43
Protobuf type TW.Cosmos.Proto.Message.StakeAuthorization
Link copied to clipboard
Validators defines list of validator addresses.
Protobuf type TW.Cosmos.Proto.Message.StakeAuthorization.Validators
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun getAllowList(): Validators
allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's
account.
.TW.Cosmos.Proto.Message.StakeAuthorization.Validators allow_list = 2;
Link copied to clipboard
open fun getAuthorizationType(): AuthorizationType
authorization_type defines one of AuthorizationType.
.TW.Cosmos.Proto.Message.AuthorizationType authorization_type = 4;
Link copied to clipboard
authorization_type defines one of AuthorizationType.
.TW.Cosmos.Proto.Message.AuthorizationType authorization_type = 4;
Link copied to clipboard
open fun getDefaultInstance(): StakeAuthorization
Link copied to clipboard
open fun getDenyList(): Validators
deny_list specifies list of validator addresses to whom grantee can not delegate tokens.
.TW.Cosmos.Proto.Message.StakeAuthorization.Validators deny_list = 3;
Link copied to clipboard
open fun getMaxTokens(): Amount
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.
.TW.Cosmos.Proto.Amount max_tokens = 1;
Link copied to clipboard
open fun hasAllowList(): Boolean
allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's
account.
.TW.Cosmos.Proto.Message.StakeAuthorization.Validators allow_list = 2;
Link copied to clipboard
open fun hasDenyList(): Boolean
deny_list specifies list of validator addresses to whom grantee can not delegate tokens.
.TW.Cosmos.Proto.Message.StakeAuthorization.Validators deny_list = 3;
Link copied to clipboard
open fun hasMaxTokens(): Boolean
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.
.TW.Cosmos.Proto.Amount max_tokens = 1;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): StakeAuthorization
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): StakeAuthorization
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): StakeAuthorization
open fun parseFrom(data: ByteString): StakeAuthorization
open fun parseFrom(input: CodedInputStream): StakeAuthorization
open fun parseFrom(input: InputStream): StakeAuthorization
open fun parseFrom(data: ByteBuffer): StakeAuthorization
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): StakeAuthorization
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): StakeAuthorization
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): StakeAuthorization
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): StakeAuthorization
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): StakeAuthorization
Link copied to clipboard
open fun parser(): Parser<StakeAuthorization>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard