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

Rename BlockReward functions #370

Merged
merged 1 commit into from Feb 20, 2020
Merged

Conversation

varasev
Copy link
Contributor

@varasev varasev commented Feb 20, 2020

Renames BlockReward.addBridgeTokenFeeReceivers to addBridgeTokenRewardReceivers and addBridgeNativeFeeReceivers to addBridgeNativeRewardReceivers according to the latest changes in POSDAO contracts: poanetwork/posdao-contracts@9785899

I decided to rename Fee to Reward because there can be a reward from the bridge which is not only fee - for example, the scheme https://www.staketoken.net/token-model/reward-mechanics/xdai-rewards assumes that the Interest may be distributed to stakers in xDai coins from the bridge (that could be done through the BlockReward.addBridgeNativeRewardReceivers function previously named addBridgeNativeFeeReceivers)

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.

None yet

3 participants