Skip to main content
Version: 1.15.0

Type Alias: FactoryRemoteTokenPool

FactoryRemoteTokenPool = { poolType: FactoryPoolFamily; rateLimiterConfig?: FactoryRateLimiterConfig; remoteChainConfig: FactoryRemoteChainConfig; remoteChainSelector: bigint; remotePoolAddress?: string; remotePoolInitCode?: string; remoteTokenAddress?: string; remoteTokenInitCode?: string; }

Defined in: cct/evm/token-pool-factory/deploy.ts:93

One remote token pool to wire into the new pool's applyChainUpdates.

Remarks​

remotePoolAddress/remoteTokenAddress are the remote chain's addresses in that chain's own format (0x… for EVM, base58 for Solana, …), validated against the family of remoteChainSelector and encoded to the 32-byte padded bytes the pool stores, the same as applyChainUpdates/addRemotePool. The already encoded form is accepted too. Leave empty (0x, the default) to have the factory predict the remote address on-chain.

Properties​

poolType​

poolType: FactoryPoolFamily

Defined in: cct/evm/token-pool-factory/deploy.ts:99


rateLimiterConfig?​

optional rateLimiterConfig?: FactoryRateLimiterConfig

Defined in: cct/evm/token-pool-factory/deploy.ts:103


remoteChainConfig​

remoteChainConfig: FactoryRemoteChainConfig

Defined in: cct/evm/token-pool-factory/deploy.ts:98


remoteChainSelector​

remoteChainSelector: bigint

Defined in: cct/evm/token-pool-factory/deploy.ts:94


remotePoolAddress?​

optional remotePoolAddress?: string

Defined in: cct/evm/token-pool-factory/deploy.ts:96

Remote pool address in the remote chain's own format, or 0x to have the factory predict it.


remotePoolInitCode?​

optional remotePoolInitCode?: string

Defined in: cct/evm/token-pool-factory/deploy.ts:97


remoteTokenAddress?​

optional remoteTokenAddress?: string

Defined in: cct/evm/token-pool-factory/deploy.ts:101

Remote token address in the remote chain's own format, or 0x to have the factory predict it.


remoteTokenInitCode?​

optional remoteTokenInitCode?: string

Defined in: cct/evm/token-pool-factory/deploy.ts:102