Type Alias: TransferLockboxOwnershipParams
TransferLockboxOwnershipParams = {
lockbox:string;newOwner:string;sender?:string; }
Defined in: cct/evm/lockbox/operations/transfer-lockbox-ownership.ts:22
Parameters for TransferLockboxOwnership.
Properties
lockbox
lockbox:
string
Defined in: cct/evm/lockbox/operations/transfer-lockbox-ownership.ts:24
Address of the ERC20LockBox whose ownership is being proposed away.
newOwner
newOwner:
string
Defined in: cct/evm/lockbox/operations/transfer-lockbox-ownership.ts:31
Address to propose as the next owner. It gains nothing until it calls acceptOwnership.
Remarks
The zero address is allowed: it parks s_pendingOwner on an address nobody can sign
as, which is how a mistaken proposal is retracted. The current owner is rejected, since the
lockbox would revert CannotTransferToSelf.
sender?
optionalsender?:string
Defined in: cct/evm/lockbox/operations/transfer-lockbox-ownership.ts:37
The current lockbox owner. Sets tx.from for offline / multisig signing, and when supplied is
checked against the lockbox's on-chain owner(). TransferLockboxOwnership.execute
defaults it to the signing wallet.