Type Alias: SetRateLimitAdminParams
SetRateLimitAdminParams = {
newRateLimitAdmin:string;poolAddress:string;sender?:string; }
Defined in: cct/evm/token-pool/operations/set-rate-limit-admin.ts:35
Parameters for SetRateLimitAdmin.
Properties
newRateLimitAdmin
newRateLimitAdmin:
string
Defined in: cct/evm/token-pool/operations/set-rate-limit-admin.ts:48
Address to grant the rate-limit admin role to. Named newRateLimitAdmin to match the Solana
op's public field (cct/solana/token-pool/operations/set-rate-limit-admin.ts) rather than the
ABI's bare rateLimitAdmin, so cross-family callers write one shape.
The zero address is allowed and meaningful: it clears the role, leaving the owner as the only account that can change rate limits. Revoking a delegated admin is a legitimate — and on incident response, urgent — operation, so it is not rejected here.
poolAddress
poolAddress:
string
Defined in: cct/evm/token-pool/operations/set-rate-limit-admin.ts:38
Token pool whose rate-limit admin 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.
sender?
optionalsender?:string
Defined in: cct/evm/token-pool/operations/set-rate-limit-admin.ts:56
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
SetRateLimitAdmin.generate (an offline builder may not yet know the signer);
SetRateLimitAdmin.execute defaults it to the signing wallet, so the owner check
always runs on a broadcast tx.