Skip to main content
Version: 1.16.0

Type Alias: PoolProgramRef

PoolProgramRef = { poolProgramAddress?: string; }

Defined in: cct/solana/programs/token-pool.ts:42

Identifies the program of an existing token pool.

Remarks​

Operations throw CCTParamsInvalidError if poolProgramAddress is omitted and the mint has no canonical pool, or both, and CCIPTokenPoolStateNotFoundError if no pool state exists under the given poolProgramAddress.

Properties​

poolProgramAddress?​

optional poolProgramAddress?: string

Defined in: cct/solana/programs/token-pool.ts:47

Custom token pool program that owns the pool. Omit for a canonical burn-mint or lock-release pool, which is resolved on-chain from tokenAddress.