Skip to main content
Version: 1.15.0

Function: readTokenPoolOwner()

readTokenPoolOwner(chain: EVMChain, poolAddress: string): Promise<string>

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

Reads a token pool's Ownable2Step owner() in a single eth_call. The one owner read every owner-gated pool write op pre-flights sender against.

Parameters​

ParameterTypeDescription
chainEVMChainChain to read from.
poolAddressstringToken pool contract to read owner() from.

Returns​

Promise<string>

The current owner, checksummed.

Remarks​

No version parameter and no family dispatch: owner() is declared identically — same selector, same address return — by both TOKEN_POOL_FAMILIES at every supported version, so the v1.5.0 BurnMint interface types the call for every pool.