Liquidity Pool Withdraw Result Code Xdr
XDR Source: enum LiquidityPoolWithdrawResultCode { // codes considered as "success" for the operation LIQUIDITY_POOL_WITHDRAW_SUCCESS = 0,
// codes considered as "failure" for the operation
LIQUIDITY_POOL_WITHDRAW_MALFORMED = -1, // bad input
LIQUIDITY_POOL_WITHDRAW_NO_TRUST = -2, // no trust line for one of the
// assets
LIQUIDITY_POOL_WITHDRAW_UNDERFUNDED = -3, // not enough balance of the
// pool share
LIQUIDITY_POOL_WITHDRAW_LINE_FULL = -4, // would go above limit for one
// of the assets
LIQUIDITY_POOL_WITHDRAW_UNDER_MINIMUM = -5 // didn't withdraw enoughContent copied to clipboard
};
Entries
Link copied to clipboard
codes considered as "success" for the operation
Link copied to clipboard
codes considered as "failure" for the operation bad input
Link copied to clipboard
no trust line for one of the
Link copied to clipboard
assets not enough balance of the
Link copied to clipboard
pool share would go above limit for one
Link copied to clipboard
of the assets didn't withdraw enough
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.