ChangeTrustAssetXdr

sealed class ChangeTrustAssetXdr

XDR Source: union ChangeTrustAsset switch (AssetType type) { case ASSET_TYPE_NATIVE: // Not credit void;

case ASSET_TYPE_CREDIT_ALPHANUM4: AlphaNum4 alphaNum4;

case ASSET_TYPE_CREDIT_ALPHANUM12: AlphaNum12 alphaNum12;

case ASSET_TYPE_POOL_SHARE: LiquidityPoolParameters liquidityPool;

// add other asset types here in the future

};

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class AlphaNum4(val value: AlphaNum4Xdr) : ChangeTrustAssetXdr
Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard

Not credit

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)