Skip to main content

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​

NameTypeDescription
beneficiaryAddressaddressThe address of which the vesting is entitled to
startTimestampuint64The start time of the vesting schedule
durationSecondsuint64Denotes the length of the vesting period

Returns​

NameTypeDescription
cloneaddressThe address of the vesting wallet implemented by ArrowVestingBase

owner​

function owner() external view returns (address)

Returns the address of the current owner.

Returns​

NameTypeDescription
_0addressundefined

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​

NameTypeDescription
newOwneraddressundefined

vestingImplementation​

function vestingImplementation() external view returns (address)

Returns​

NameTypeDescription
_0addressundefined

Events​

NewVestingAgreement​

event NewVestingAgreement(address indexed beneficiaryAddress, uint64 startTimestamp, uint64 durationSeconds, address vestingWalletAddress)

Parameters​

NameTypeDescription
beneficiaryAddress indexedaddressundefined
startTimestampuint64undefined
durationSecondsuint64undefined
vestingWalletAddressaddressundefined

OwnershipTransferred​

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

Parameters​

NameTypeDescription
previousOwner indexedaddressundefined
newOwner indexedaddressundefined