Type Alias: ProvideSiloedLiquidityParams
ProvideSiloedLiquidityParams = {
amount:bigint;poolAddress:string;remoteChainSelector:bigint;sender?:string; }
Defined in: cct/evm/token-pool/operations/provide-siloed-liquidity.ts:43
Parameters for ProvideSiloedLiquidity.
Properties
amount
amount:
bigint
Defined in: cct/evm/token-pool/operations/provide-siloed-liquidity.ts:53
Amount of the pool's token to deposit (uint256), in the token's smallest unit.
poolAddress
poolAddress:
string
Defined in: cct/evm/token-pool/operations/provide-siloed-liquidity.ts:46
v1.6.x SiloedLockReleaseTokenPool to deposit into. 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/provide-siloed-liquidity.ts:51
The siloed lane whose silo receives the deposit (uint64). Must be non-zero and currently
siloed on the pool.
sender?
optionalsender?:string
Defined in: cct/evm/token-pool/operations/provide-siloed-liquidity.ts:61
The silo's rebalancer. 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 ProvideSiloedLiquidity.generate (an offline builder
may not yet know the signer); ProvideSiloedLiquidity.execute defaults it to the
signing wallet, so the check always runs on a broadcast tx.