SetOptionsOpXdr

data class SetOptionsOpXdr(val inflationDest: AccountIDXdr?, val clearFlags: Uint32Xdr?, val setFlags: Uint32Xdr?, val masterWeight: Uint32Xdr?, val lowThreshold: Uint32Xdr?, val medThreshold: Uint32Xdr?, val highThreshold: Uint32Xdr?, val homeDomain: String32Xdr?, val signer: SignerXdr?)

XDR Source: struct SetOptionsOp { AccountID* inflationDest; // sets the inflation destination

uint32* clearFlags; // which flags to clear
uint32* setFlags;   // which flags to set

// account threshold manipulation
uint32* masterWeight; // weight of the master account
uint32* lowThreshold;
uint32* medThreshold;
uint32* highThreshold;

string32* homeDomain; // sets the home domain

// Add, update or remove a signer for the account
// signer is deleted if the weight is 0
Signer* signer;

};

Constructors

Link copied to clipboard
constructor(inflationDest: AccountIDXdr?, clearFlags: Uint32Xdr?, setFlags: Uint32Xdr?, masterWeight: Uint32Xdr?, lowThreshold: Uint32Xdr?, medThreshold: Uint32Xdr?, highThreshold: Uint32Xdr?, homeDomain: String32Xdr?, signer: SignerXdr?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

which flags to clear

Link copied to clipboard
Link copied to clipboard

sets the home domain

Link copied to clipboard

sets the inflation destination

Link copied to clipboard
Link copied to clipboard

account threshold manipulation weight of the master account

Link copied to clipboard
Link copied to clipboard

which flags to set

Link copied to clipboard

Add, update or remove a signer for the account signer is deleted if the weight is 0

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)