Skip to content

Implementa Staking Rewards#2

Open
Kayaba-Attribution wants to merge 5 commits intomartriay:mainfrom
Kayaba-Attribution:main
Open

Implementa Staking Rewards#2
Kayaba-Attribution wants to merge 5 commits intomartriay:mainfrom
Kayaba-Attribution:main

Conversation

@Kayaba-Attribution
Copy link
Copy Markdown

  • 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

Comment thread test/exchange-test.js Outdated
Comment thread contracts/StakingRewards.sol Outdated
}
}

interface IERC20 {
Copy link
Copy Markdown
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á.

Comment thread contracts/StakingRewards.sol Outdated
Comment thread test/exchange-test.js
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