Type Alias: DeployLockReleaseTokenPoolParams
DeployLockReleaseTokenPoolParams =
DeployTokenPoolBaseParams& {lockbox:string;type:"LockReleaseTokenPool"; }
Defined in: cct/evm/token-pool/operations/deploy-token-pool.ts:63
Params for a LockReleaseTokenPool: the TokenPool base constructor plus lockbox.
Type Declaration
lockbox
lockbox:
string
Lockbox address; required and must be non-zero — the v2.0.0 constructor reverts on the zero address.
Remarks
Permanent. Stored in i_lockBox, immutable with no setter: a pool bound to
the wrong lockbox must be redeployed and re-registered with setPool. Unlike its
constructor neighbour advancedPoolHooks, which is re-pointable.
type
type:
"LockReleaseTokenPool"
Remarks
lockbox must be a pre-deployed ERC20LockBox for the same token (the constructor
calls lockbox.isTokenSupported(token)). Sequence: deployToken → deployLockbox → deployTokenPool
(this) → updateLockboxAuthorizedCallers (addedCallers: [pool], plus whoever funds it) → setPool →
configure lanes → depositToLockbox, which a v2.0.0 pool cannot release without.