Type Alias: SetRebalancerParams
SetRebalancerParams = {
poolAddress:string;rebalancer:string;sender?:string; }
Defined in: cct/evm/token-pool/operations/set-rebalancer.ts:31
Parameters for SetRebalancer.
Properties
poolAddress
poolAddress:
string
Defined in: cct/evm/token-pool/operations/set-rebalancer.ts:34
LockRelease pool whose rebalancer role 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-rebalancer.ts:44
Address to appoint as rebalancer. Named to match the Solana op's public field
(cct/solana/token-pool/operations/set-rebalancer.ts), so cross-family callers write one
shape.
The zero address is allowed and meaningful: it disables liquidity management entirely,
since the pool then accepts provideLiquidity / withdrawLiquidity from nobody. Revoking a
delegated rebalancer is a legitimate — and on incident response, urgent — operation.
sender?
optionalsender?:string
Defined in: cct/evm/token-pool/operations/set-rebalancer.ts:51
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
SetRebalancer.generate; SetRebalancer.execute defaults it to the signing
wallet, so the owner check always runs on a broadcast tx.