Skip to main content
Version: 1.15.0

Type Alias: AcceptTokenOwnershipParams

AcceptTokenOwnershipParams = { sender?: string; tokenAddress: string; }

Defined in: cct/evm/token/operations/accept-token-ownership.ts:26

Parameters for AcceptTokenOwnership.

Properties​

sender?​

optional sender?: string

Defined in: cct/evm/token/operations/accept-token-ownership.ts:33

The proposed owner. Sets tx.from for offline / multisig signing, and is not checked against the chain, per the module remark. AcceptTokenOwnership.execute defaults it to the signing wallet.


tokenAddress​

tokenAddress: string

Defined in: cct/evm/token/operations/accept-token-ownership.ts:29

Token whose pending ownership transfer is being completed. Must be non-zero — it is the tx to, and a call to 0x0 hits no code, so it would mine as a successful no-op.