Skip to main content

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

NameTypeDescription
_0uint256undefined

owner()

Solidity

function owner() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

recipient()

Solidity

function recipient() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

setRecipient(address)

Solidity

function setRecipient(address _recipient) external nonpayable
Details

Change the recipient address. Can only be called by current recipient.

Parameters

NameTypeDescription
_recipientaddressis the new recipient address

steerToken()

Solidity

function steerToken() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

vestingAmount()

Solidity

function vestingAmount() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

vestingCliff()

Solidity

function vestingCliff() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

vestingDuration()

Solidity

function vestingDuration() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

vestingEnd()

Solidity

function vestingEnd() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined