Skip to content
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

Implementa Staking Rewards #2

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Kayaba-Attribution
Copy link

  • Deploy otro ERC-20 para las rewards (rewardsToken)
  • Deploy el contrato de rewards (rewards) con staking token siendo (exchange token "LPs") y rewards tokens siendo (rewardstoken)
  • Manda todos los nuevos ERC-20 al contrato de rewards
  • Simula el staking durante 20 bloques y imprime los resultados

test/exchange-test.js Outdated Show resolved Hide resolved
contracts/StakingRewards.sol Outdated Show resolved Hide resolved
}
}

interface IERC20 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mejor utilizar la de OpenZepelling acá.

contracts/StakingRewards.sol Outdated Show resolved Hide resolved
test/exchange-test.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants