Type Alias: SetDynamicConfigParams
SetDynamicConfigParams = {
feeAdmin:string;poolAddress:string;rateLimitAdmin:string;router:string;sender?:string; }
Defined in: cct/evm/token-pool/operations/set-dynamic-config.ts:47
Parameters for SetDynamicConfig. The three config fields keep the contract struct's
names — router/rateLimitAdmin/feeAdmin, with no new prefix — because this op replaces
the whole struct rather than assigning one role, and every field is required: omitting one
would mean reading the current value at build time, which is exactly what this op refuses to do
(see the module remarks).
Properties
feeAdmin
feeAdmin:
string
Defined in: cct/evm/token-pool/operations/set-dynamic-config.ts:69
Address allowed to change the pool's token-transfer fee config alongside the owner. Zero is allowed, on the same reasoning as SetDynamicConfigParams.rateLimitAdmin.
poolAddress
poolAddress:
string
Defined in: cct/evm/token-pool/operations/set-dynamic-config.ts:50
Token pool to reconfigure. 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.
rateLimitAdmin
rateLimitAdmin:
string
Defined in: cct/evm/token-pool/operations/set-dynamic-config.ts:64
Address allowed to change the pool's rate limits alongside the owner. The zero address is allowed and meaningful: it clears the delegation, leaving the owner as the only account that can change rate limits. Revoking a delegated admin is legitimate — and on incident response, urgent — so it is not rejected here.
router
router:
string
Defined in: cct/evm/token-pool/operations/set-dynamic-config.ts:57
Router the pool accepts lockOrBurn/releaseOrMint calls from. Must be non-zero: unlike the
two admin roles this is not a delegable privilege but the pool's only bridging counterparty,
so a zero value does not "clear" anything — it detaches the pool from CCIP entirely and every
transfer through it reverts until an owner tx restores it.
sender?
optionalsender?:string
Defined in: cct/evm/token-pool/operations/set-dynamic-config.ts:77
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
SetDynamicConfig.generate (an offline builder may not yet know the signer);
SetDynamicConfig.execute defaults it to the signing wallet, so the owner check always
runs on a broadcast tx.