TreasuryVester.sol
Methods
claim()
Solidity
function claim() external nonpayable
cutOffFunds()
Solidity
function cutOffFunds() external nonpayable
Details
If the user leaves steer then steer can cut off the user's funds from that point on.
getVotingPowerForVestedTokens()
Solidity
function getVotingPowerForVestedTokens() external nonpayable
Details
User can call this function to get the voting power of the tokens that are vested.
lastUpdate()
Solidity
function lastUpdate() external view returns (uint256)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
owner()
Solidity
function owner() external view returns (address)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |
recipient()
Solidity
function recipient() external view returns (address)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |
setRecipient(address)
Solidity
function setRecipient(address _recipient) external nonpayable
Details
Change the recipient address. Can only be called by current recipient.
Parameters
| Name | Type | Description |
|---|---|---|
| _recipient | address | is the new recipient address |
steerToken()
Solidity
function steerToken() external view returns (address)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |
vestingAmount()
Solidity
function vestingAmount() external view returns (uint256)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
vestingCliff()
Solidity
function vestingCliff() external view returns (uint256)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
vestingDuration()
Solidity
function vestingDuration() external view returns (uint256)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
vestingEnd()
Solidity
function vestingEnd() external view returns (uint256)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |