Builder

class Builder
Stake
Protobuf type TW.NEAR.Proto.Stake

Functions

Link copied to clipboard
owner public key
.TW.NEAR.Proto.PublicKey public_key = 2;
Link copied to clipboard
amount; uint128 / big endian byte order
bytes stake = 1;
Link copied to clipboard
open fun getPublicKey(): PublicKey
owner public key
.TW.NEAR.Proto.PublicKey public_key = 2;
Link copied to clipboard
open fun getStake(): ByteString
amount; uint128 / big endian byte order
bytes stake = 1;
Link copied to clipboard
open fun hasPublicKey(): Boolean
owner public key
.TW.NEAR.Proto.PublicKey public_key = 2;
Link copied to clipboard
open fun mergePublicKey(value: PublicKey): NEAR.Stake.Builder
owner public key
.TW.NEAR.Proto.PublicKey public_key = 2;
Link copied to clipboard
open fun setPublicKey(builderForValue: Builder): NEAR.Stake.Builder
open fun setPublicKey(value: PublicKey): NEAR.Stake.Builder
owner public key
.TW.NEAR.Proto.PublicKey public_key = 2;
Link copied to clipboard
open fun setStake(value: ByteString): NEAR.Stake.Builder
amount; uint128 / big endian byte order
bytes stake = 1;