Wallet for core vesting escrow functionality (VestingEscrowWallet.sol)
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
↗ Extends: ,
VestingEscrowWallet
Enums
Events
Constructor
Arguments
Name
Type
Description
_securityToken
address
Address of the security token
_polyAddress
address
Address of the polytoken
This function returns the signature of the configure function
Arguments
Name
Type
Description
Used to initialize the treasury wallet address
Arguments
Name
Type
Description
_treasuryWallet
address
Address of the treasury wallet
Used to change the treasury wallet address
Arguments
Name
Type
Description
_newTreasuryWallet
address
Address of the treasury wallet
Arguments
Name
Type
Description
_newTreasuryWallet
address
Used to deposit tokens from treasury wallet to the vesting escrow wallet
Arguments
Name
Type
Description
_numberOfTokens
uint256
Number of tokens that should be deposited
Arguments
Name
Type
Description
_numberOfTokens
uint256
Sends unassigned tokens to the treasury wallet
Arguments
Name
Type
Description
_amount
uint256
Amount of tokens that should be send to the treasury wallet
Returns the treasury wallet address
Arguments
Name
Type
Description
Pushes available tokens to the beneficiary's address
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary who will receive tokens
Used to withdraw available tokens by beneficiary
Arguments
Name
Type
Description
Adds template that can be used for creating schedule
Arguments
Name
Type
Description
_name
bytes32
Name of the template will be created
_numberOfTokens
uint256
Number of tokens that should be assigned to schedule
_duration
uint256
Duration of the vesting schedule
_frequency
uint256
Frequency of the vesting schedule
Arguments
Name
Type
Description
_name
bytes32
_numberOfTokens
uint256
_duration
uint256
_frequency
uint256
Removes template with a given name
Arguments
Name
Type
Description
_name
bytes32
Name of the template that will be removed
Returns count of the templates those can be used for creating schedule
Returns
Count of the templates
Arguments
Name
Type
Description
Gets the list of the template names those can be used for creating schedule
Returns
bytes32 Array of all template names were created
Arguments
Name
Type
Description
Adds vesting schedules for each of the beneficiary's address
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary for whom it is scheduled
_templateName
bytes32
Name of the template that will be created
_numberOfTokens
uint256
Total number of tokens for created schedule
_duration
uint256
Duration of the created vesting schedule
_frequency
uint256
Frequency of the created vesting schedule
_startTime
uint256
Start time of the created vesting schedule
Arguments
Name
Type
Description
_beneficiary
address
_templateName
bytes32
_numberOfTokens
uint256
_duration
uint256
_frequency
uint256
_startTime
uint256
Adds vesting schedules from template for the beneficiary
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary for whom it is scheduled
_templateName
bytes32
Name of the exists template
_startTime
uint256
Start time of the created vesting schedule
Arguments
Name
Type
Description
_beneficiary
address
_templateName
bytes32
_startTime
uint256
Modifies vesting schedules for each of the beneficiary
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary for whom it is modified
_templateName
bytes32
Name of the template was used for schedule creation
_startTime
uint256
Start time of the created vesting schedule
Arguments
Name
Type
Description
_beneficiary
address
_templateName
bytes32
_startTime
uint256
Revokes vesting schedule with given template name for given beneficiary
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary for whom it is revoked
_templateName
bytes32
Name of the template was used for schedule creation
Arguments
Name
Type
Description
_beneficiary
address
_templateName
bytes32
Arguments
Name
Type
Description
_beneficiary
address
_templateName
bytes32
Revokes all vesting schedules for given beneficiary's address
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary for whom all schedules will be revoked
Arguments
Name
Type
Description
_beneficiary
address
Returns beneficiary's schedule created using template name
Returns
beneficiary's schedule data (numberOfTokens, duration, frequency, startTime, claimedTokens, State)
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary who will receive tokens
_templateName
bytes32
Name of the template was used for schedule creation
Arguments
Name
Type
Description
_beneficiary
address
_templateName
bytes32
Returns list of the template names for given beneficiary's address
Returns
List of the template names that were used for schedule creation
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary
Returns count of the schedules were created for given beneficiary
Returns
Count of beneficiary's schedules
Arguments
Name
Type
Description
_beneficiary
address
Address of the beneficiary
Arguments
Name
Type
Description
_beneficiary
address
_index
uint256
Arguments
Name
Type
Description
_beneficiary
address
_index
uint256
Used to bulk send available tokens for each of the beneficiaries
Arguments
Name
Type
Description
_fromIndex
uint256
Start index of array of beneficiary's addresses
_toIndex
uint256
End index of array of beneficiary's addresses
Used to bulk add vesting schedules for each of beneficiary
Arguments
Name
Type
Description
_beneficiaries
address[]
Array of the beneficiary's addresses
_templateNames
bytes32[]
Array of the template names
_numberOfTokens
uint256[]
Array of number of tokens should be assigned to schedules
_durations
uint256[]
Array of the vesting duration
_frequencies
uint256[]
Array of the vesting frequency
_startTimes
uint256[]
Array of the vesting start time
Used to bulk add vesting schedules from template for each of the beneficiary
Arguments
Name
Type
Description
_beneficiaries
address[]
Array of beneficiary's addresses
_templateNames
bytes32[]
Array of the template names were used for schedule creation
_startTimes
uint256[]
Array of the vesting start time
Used to bulk revoke vesting schedules for each of the beneficiaries
Arguments
Name
Type
Description
_beneficiaries
address[]
Array of the beneficiary's addresses
Used to bulk modify vesting schedules for each of the beneficiaries
Arguments
Name
Type
Description
_beneficiaries
address[]
Array of the beneficiary's addresses
_templateNames
bytes32[]
Array of the template names
_startTimes
uint256[]
Array of the vesting start time
Arguments
Name
Type
Description
_beneficiary
address
_templateName
bytes32
Arguments
Name
Type
Description
_name
bytes32
Arguments
Name
Type
Description
_numberOfTokens
uint256
_duration
uint256
_frequency
uint256
Arguments
Name
Type
Description
_beneficiary
address
Arguments
Name
Type
Description
_beneficiary
address
_index
uint256
Return the permissions flag that are associated with VestingEscrowWallet
Arguments
Name
Type
Description
⤾ overrides
⤾ overrides