VestingWallet
function
confirmVestingSchedule
Restricted (addressRegistered, vestingScheduleNotConfirmed)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _startTimeInSec | uint256 | |
| _cliffTimeInSec | uint256 | |
| _endTimeInSec | uint256 | |
| _totalAmount | uint256 |
Outputs
(void)
function
registerVestingSchedule
Restricted (onlyOwner, addressNotNull, vestingScheduleNotConfirmed, validVestingScheduleTimes)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _addressToRegister | address | |
| _depositor | address | |
| _startTimeInSec | uint256 | |
| _cliffTimeInSec | uint256 | |
| _endTimeInSec | uint256 | |
| _totalAmount | uint256 |
Outputs
(void)
function
confirmAddressChange
Restricted (onlyOwner, pendingAddressChangeRequest, addressNotRegistered)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _oldRegisteredAddress | address | |
| _newRegisteredAddress | address |
Outputs
(void)
function
endVesting
Restricted (onlyOwner, vestingScheduleConfirmed, addressNotNull)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _addressToEnd | address | |
| _addressToRefund | address |
Outputs
(void)
function
requestAddressChange
Restricted (vestingScheduleConfirmed, addressNotRegistered, addressNotNull)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newRegisteredAddress | address |
Outputs
(void)
function
withdraw
Restricted (vestingScheduleConfirmed, pastCliffTime)
Inputs
(void)
Outputs
(void)
constructor
VestingWallet
Inputs
| Parameter | Type | Description |
|---|---|---|
| _vestingToken | address |
Outputs
(void)
event
AddressChangeConfirmed
Inputs
| Parameter | Type | Description |
|---|---|---|
| oldRegisteredAddress | address | |
| newRegisteredAddress | address |
Outputs
(void)
event
AddressChangeRequested
Inputs
| Parameter | Type | Description |
|---|---|---|
| oldRegisteredAddress | address | |
| newRegisteredAddress | address |
Outputs
(void)
event
VestingEndedByOwner
Inputs
| Parameter | Type | Description |
|---|---|---|
| registeredAddress | address | |
| amountWithdrawn | uint256 | |
| amountRefunded | uint256 |
Outputs
(void)
event
Withdrawal
Inputs
| Parameter | Type | Description |
|---|---|---|
| registeredAddress | address | |
| amountWithdrawn | uint256 |
Outputs
(void)
event
VestingScheduleConfirmed
Inputs
| Parameter | Type | Description |
|---|---|---|
| registeredAddress | address | |
| depositor | address | |
| startTimeInSec | uint256 | |
| cliffTimeInSec | uint256 | |
| endTimeInSec | uint256 | |
| totalAmount | uint256 |
Outputs
(void)
event
VestingScheduleRegistered
Inputs
| Parameter | Type | Description |
|---|---|---|
| registeredAddress | address | |
| depositor | address | |
| startTimeInSec | uint256 | |
| cliffTimeInSec | uint256 | |
| endTimeInSec | uint256 | |
| totalAmount | uint256 |
Outputs
(void)
function
transferOwnership
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOwner | address |
Outputs
(void)
function
addressChangeRequests
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| address |
function
owner
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
schedules
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 | |
| uint256 | |
| uint256 | |
| uint256 | |
| address | |
| bool |