Skip to main content
Version: 1.15.0

Type Alias: SetSiloRebalancerParams

SetSiloRebalancerParams = { poolAddress: string; rebalancer: string; remoteChainSelector: bigint; sender?: string; }

Defined in: cct/evm/token-pool/operations/set-silo-rebalancer.ts:39

Parameters for SetSiloRebalancer.

Properties​

poolAddress​

poolAddress: string

Defined in: cct/evm/token-pool/operations/set-silo-rebalancer.ts:43

v1.6.x SiloedLockReleaseTokenPool whose silo rebalancer is being assigned. 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).


rebalancer​

rebalancer: string

Defined in: cct/evm/token-pool/operations/set-silo-rebalancer.ts:53

Address to appoint as the silo's rebalancer. Named to match SetRebalancer's field.

The zero address is accepted only by a v1.6.1 pool, where it revokes the role and leaves the silo's liquidity unmovable; a v1.6.0 pool reverts ZeroAddressNotAllowed, so it is rejected there before any calldata is built.


remoteChainSelector​

remoteChainSelector: bigint

Defined in: cct/evm/token-pool/operations/set-silo-rebalancer.ts:45

The siloed lane (uint64). Must be non-zero and currently siloed on the pool.


sender?​

optional sender?: string

Defined in: cct/evm/token-pool/operations/set-silo-rebalancer.ts:60

The pool owner. Sets tx.from for offline / multisig signing, and when supplied is checked against the pool's on-chain owner() before any calldata is built. Optional for SetSiloRebalancer.generate; SetSiloRebalancer.execute defaults it to the signing wallet, so the owner check always runs on a broadcast tx.