Skip to main content
Version: 1.15.0

Function: readTokenPoolRateLimitAdmin()

readTokenPoolRateLimitAdmin(chain: EVMChain, poolAddress: string, version: TokenPoolVersion): Promise<string>

Defined in: cct/evm/token-pool/contracts.ts:556

Reads a token pool's rateLimitAdmin — the delegated role the pools accept for rate-limit writes alongside the owner — in a single eth_call.

Parameters​

ParameterTypeDescription
chainEVMChainChain to read from.
poolAddressstringToken pool contract to read from.
versionTokenPoolVersionPool version, as resolved by resolveTokenPool; selects the getter.

Returns​

Promise<string>

The current rate-limit admin, checksummed. The zero address when the role is unset — callers must treat that as "matches nobody" rather than comparing it directly.

Remarks​

Same rationale as readTokenPoolOwner for not routing through getTokenPoolState.