EpsStakerallows users to stake EPS in order to receive a portion of the trade fees generated by the Ellipsis platform. It is loosely based on the Synthetix staking rewards contract.
MerkleDistributor. These tokens earn trade fees normally, but the user must pay a 50% penalty to withdraw them within the first 13 weeks of minting.
stakefunction. These tokens earn trade fees normally and can be withdrawn at any time with no penalty.
stakefunction. These tokens cannot be withdrawn for 13 weeks after they are deposited. They earn trade fees normally, and also earn a portion of the penalty fees paid when unlocking vested tokens early.
account. Returns an array of (reward token, claimable amount) for all claimable rewards.
user, including locked, vested and staked tokens.
user. These tokens may be withdrawn at any time without penalty.
userincluding staked and vested tokens, and the penalty amount paid if this balance were withdrawn.
amount: The number of tokens to stake.
lock: Indicates if the tokens should be locked for
lockDurationin order to also receive penalty fees.
amountEPS from the contract.