-
Notifications
You must be signed in to change notification settings - Fork 43
Staking contracts: ERC20 and Native IMX #273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
contracts/staking/IWIMX.sol
Outdated
*/ | ||
interface IWIMX is IERC20 { | ||
/** | ||
* @notice Emitted when native ETH is deposited to the contract, and a corresponding amount of wETH are minted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe ETH and wETH need to be replaced with IMX and wIMX in all comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I copied this across from the bridge contracts repo. I will update so that it is correct here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Co-authored-by: w3njah <[email protected]>
All the ability to stake using ERC20 tokens.
Add scripts to deploy staking contracts and interact with staking contracts.