Function: readTokenPoolChainRebalancer()
readTokenPoolChainRebalancer(
chain:EVMChain,poolAddress:string,remoteChainSelector:bigint):Promise<string>
Defined in: cct/evm/token-pool/contracts.ts:965
Reads a v1.6.x siloed pool's getChainRebalancer(remoteChainSelector) in one eth_call: the
account provideSiloedLiquidity / withdrawSiloedLiquidity accept for that lane.
Parameters
| Parameter | Type | Description |
|---|---|---|
chain | EVMChain | Chain to read from. |
poolAddress | string | v1.6.x SiloedLockReleaseTokenPool to read. |
remoteChainSelector | bigint | Lane to ask about. |
Returns
Promise<string>
The rebalancer, checksummed; the zero address when none is set, which means the lane accepts liquidity calls from nobody.
Remarks
Same gating as readTokenPoolIsSiloed. On an unsiloed lane the pool answers with its unsiloed rebalancer (readTokenPoolRebalancer).