Function: readLockboxOwner()
readLockboxOwner(
chain:EVMChain,lockbox:string):Promise<string>
Defined in: cct/evm/lockbox/contracts.ts:297
Reads an ERC20LockBox's owner() in one eth_call.
Parameters
| Parameter | Type | Description |
|---|---|---|
chain | EVMChain | Chain to read from. |
lockbox | string | Lockbox contract to read owner() from. |
Returns
Promise<string>
The current owner, checksummed.
Remarks
Callers run assertLockbox first: owner() is declared by pools and tokens too,
so it says nothing about whether lockbox is a lockbox.