ArrowVestingFactory
Factory contract for creating vesting wallets from their base implementations
Methods
createVestingSchedule
function createVestingSchedule(address beneficiaryAddress, uint64 startTimestamp, uint64 durationSeconds) external nonpayable returns (address clone)
Creates a new cloned vesting wallet from its base implementation. The wallet will initially be empty and should have appropriate ERC20 tokens and ETH transferred to it after creation
Parameters
Name | Type | Description |
---|---|---|
beneficiaryAddress | address | The address of which the vesting is entitled to |
startTimestamp | uint64 | The start time of the vesting schedule |
durationSeconds | uint64 | Denotes the length of the vesting period |
Returns
Name | Type | Description |
---|---|---|
clone | address | The address of the vesting wallet implemented by ArrowVestingBase |
owner
function owner() external view returns (address)
Returns the address of the current owner.
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
renounceOwnership
function renounceOwnership() external nonpayable
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
transferOwnership
function transferOwnership(address newOwner) external nonpayable
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Name | Type | Description |
---|---|---|
newOwner | address | undefined |
vestingImplementation
function vestingImplementation() external view returns (address)
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
Events
NewVestingAgreement
event NewVestingAgreement(address indexed beneficiaryAddress, uint64 startTimestamp, uint64 durationSeconds, address vestingWalletAddress)
Parameters
Name | Type | Description |
---|---|---|
beneficiaryAddress indexed | address | undefined |
startTimestamp | uint64 | undefined |
durationSeconds | uint64 | undefined |
vestingWalletAddress | address | undefined |
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Parameters
Name | Type | Description |
---|---|---|
previousOwner indexed | address | undefined |
newOwner indexed | address | undefined |