Skip to content

Time

Functions

owner

Get the address of the owner

sig hash: 0x8da5cb5b

Signature: owner()

function owner() view returns (address)

transferOwnership

Set the address of the new owner of the contract

sig hash: 0xf2fde38b

Signature: transferOwnership(address)

function transferOwnership(address newOwner)

NameDescription
newOwnerThe address of the new owner of the contract

withdrawERC20

withdraw the total balance of a particular ERC20 token owned by this contract.

sig hash: 0x9456fbcc

Signature: withdrawERC20(address,address)

function withdrawERC20(address token, address to)

NameDescription
tokenERC20 contract address to withdraw
toaddress that will receive the tokens

Events

OwnershipTransferred

This emits when ownership of the contract changes.

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

NameDescription
previousOwnerthe previous owner
newOwnerthe new owner

Errors

NotAuthorized

Not authorized to perform this operation

error NotAuthorized()

Released under the GPL 3.0 License.