Type Alias: WithdrawSiloedLiquidityParams
WithdrawSiloedLiquidityParams = {
amount:bigint;poolAddress:string;remoteChainSelector:bigint;sender?:string; }
Defined in: cct/evm/token-pool/operations/withdraw-siloed-liquidity.ts:38
Parameters for WithdrawSiloedLiquidity.
Properties
amount
amount:
bigint
Defined in: cct/evm/token-pool/operations/withdraw-siloed-liquidity.ts:48
Amount of the pool's token to withdraw (uint256), in the token's smallest unit.
poolAddress
poolAddress:
string
Defined in: cct/evm/token-pool/operations/withdraw-siloed-liquidity.ts:41
v1.6.x SiloedLockReleaseTokenPool to withdraw from. Must be non-zero: it is the tx to,
and a call to 0x0 hits no code, so it would mine as a successful no-op.
remoteChainSelector
remoteChainSelector:
bigint
Defined in: cct/evm/token-pool/operations/withdraw-siloed-liquidity.ts:46
The siloed lane whose silo pays out (uint64). Must be non-zero and currently siloed on the
pool.
sender?
optionalsender?:string
Defined in: cct/evm/token-pool/operations/withdraw-siloed-liquidity.ts:56
The silo's rebalancer, which also receives the tokens. Sets tx.from for offline / multisig
signing, and when supplied is checked against the pool's on-chain
getChainRebalancer(remoteChainSelector) before any calldata is built. Optional for
WithdrawSiloedLiquidity.generate; WithdrawSiloedLiquidity.execute defaults it
to the signing wallet.