Function: readTokenPoolSiloedLockbox()
readTokenPoolSiloedLockbox(
chain:EVMChain,poolAddress:string,remoteChainSelector:bigint):Promise<string>
Defined in: cct/evm/token-pool/contracts.ts:1177
Reads a v2.0.0 siloed pool's getLockBox(remoteChainSelector) in one eth_call: the lockbox
that lane's transfers escrow through.
Parameters
| Parameter | Type | Description |
|---|---|---|
chain | EVMChain | Chain to read from. |
poolAddress | string | v2.0.0 SiloedLockReleaseTokenPool to read. |
remoteChainSelector | bigint | Lane to ask about. |
Returns
Promise<string>
The lane's lockbox, checksummed.
Remarks
Same gating as readTokenPoolLockboxConfigs. The raw call: it reverts
LockBoxNotConfigured for an unbound lane; test for that with isTokenPoolRevert.