175 txs
184 calls
constructor
constructor()
functions
balanceOf
viewfunction balanceOf(address) view returns (uint256)
contractBalance
viewfunction contractBalance() view returns (uint256)
currentAPY
viewfunction currentAPY() view returns (uint80)
earned
viewfunction earned(uint256 id) view returns (uint256)
getMainInfo
viewfunction getMainInfo() view returns (tuple)
getRewardsAvailable
viewfunction getRewardsAvailable() view returns (uint256)
getStakeRealDuration
viewfunction getStakeRealDuration(uint256 id) view returns (uint256 duration)
getUserInactiveStakesLength
viewfunction getUserInactiveStakesLength(address user) view returns (uint256)
getUserInactiveStakesSlice
viewfunction getUserInactiveStakesSlice(address user, uint256 offset, uint256 length) view returns (tuple[])
getUserStakeIdsLength
viewfunction getUserStakeIdsLength(address user) view returns (uint256)
getUserStakesSlice
viewfunction getUserStakesSlice(address user, uint256 offset, uint256 length) view returns (tuple[])
globalId
viewfunction globalId() view returns (uint256)
hasStakeId
viewfunction hasStakeId(address user, uint256 id) view returns (bool)
MAX_APY
viewfunction MAX_APY() view returns (uint256)
MAX_STAKE_AMOUNT
viewfunction MAX_STAKE_AMOUNT() view returns (uint256)
MAX_STAKING_PERIOD
viewfunction MAX_STAKING_PERIOD() view returns (uint256)
maxPotentialDebt
viewfunction maxPotentialDebt() view returns (uint256)
numOfActiveStakes
viewfunction numOfActiveStakes() view returns (uint80)
ONE_HUNDRED
viewfunction ONE_HUNDRED() view returns (uint256)
owner
viewfunction owner() view returns (address)
paused
viewfunction paused() view returns (bool)
stakes
viewfunction stakes(uint256) view returns (uint256 id, address owner, uint256 amount, uint256 claimed, uint256 expectedRewards, uint80 apy, uint80 unstakedAtBlockTimestamp, uint80 timestamp)
stakingPeriod
viewfunction stakingPeriod() view returns (uint80)
stakingToken
viewfunction stakingToken() view returns (address)
stakingTokenLimit
viewfunction stakingTokenLimit() view returns (uint256)
sumOfActiveAPY
viewfunction sumOfActiveAPY() view returns (uint80)
totalSupply
viewfunction totalSupply() view returns (uint256)
userInactiveStakes
viewfunction userInactiveStakes(address, uint256) view returns (uint256)
YEAR
viewfunction YEAR() view returns (uint256)
init
nonpayablefunction init(address stakingToken_, address owner_, uint256 stakingPeriod_, uint256 apy_, uint256 stakeAmountLimit_, address blastPoints_, address pointsOperator_)
pullExtraLiquidity
nonpayablefunction pullExtraLiquidity(address token, uint256 amount, address recepient)
renounceOwnership
nonpayablefunction renounceOwnership()
setAPY
nonpayablefunction setAPY(uint256 apy)
setPaused
nonpayablefunction setPaused(bool paused)
setTokenLimit
nonpayablefunction setTokenLimit(uint256 limit)
stake
nonpayablefunction stake(uint256 amount)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
withdraw
nonpayablefunction withdraw(uint256 id)
events
Deposit
event Deposit(uint80 stakingPeriod, address indexed user, uint256 amount)
Initialized
event Initialized(uint8 version)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused
event Paused(address account)
Pulled
event Pulled(address indexed token, address indexed recepient, uint256 amount)
SetAPY
event SetAPY(uint256 indexed newAPY)
SetTokenLimit
event SetTokenLimit(uint256 indexed newLimit)
Unpaused
event Unpaused(address account)
Withdraw
event Withdraw(uint80 stakingPeriod, address indexed user, uint256 amount, uint256 reward)
errors
No errors.
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d73f752f30b1cd485d6c7979f686605635298ab13835af43d82803e903d91602b57fd5bf3