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

Staking mutliplier fix #96

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

Conversation

gitcoindev
Copy link

This PR contains all scripts and dumps used during investigation and fix for ubiquity/ubiquity-dollar#752

Set most recent current block, disable multiple simulation loop in simulateStakingMultiplierFix.
Missing UBQ Compensantion until now, 6th May 2024

$ npx hardhat compensateLumpSum --address 0x89eae71b865a2a39cba62060ab1b40bbffae5b0d --bond 1

Lump sum UBQ compensation 35704952407232639376 35.704952407232639376
Treasury compensation 7140990481446527875 7.140990481446527875

$ npx hardhat compensateLumpSum --address 0x4007ce2083c7f3e18097aeb3a39bb8ec149a341d --bond 2

Lump sum UBQ compensation 2630501621780289065714618 2630501.621780289065714618
Treasury compensation 526100324356057813142923 526100.324356057813142923

$ npx hardhat compensateLumpSum --address 0x7c76f4db70b7e2177de10de3e2f668dadcd11108 --bond 3

Lump sum UBQ compensation 1577484595484460523315806 1577484.595484460523315806
Treasury compensation 315496919096892104663161 315496.919096892104663161

$ npx hardhat compensateLumpSum --address 0xa53a6fe2d8ad977ad926c485343ba39f32d3a3f6 --bond 5

Lump sum UBQ compensation 329713782662103366904643 329713.782662103366904643
Treasury compensation 65942756532420673380928 65942.756532420673380928

$ npx hardhat compensateLumpSum --address 0xcefd0e73cc48b0b9d4c8683e52b7d7396600abb2 --bond 6

Lump sum UBQ compensation 317041833739125580390236 317041.833739125580390236
Treasury compensation 63408366747825116078047 63408.366747825116078047

Resolves: ubiquity/ubiquity-dollar#752
@gitcoindev gitcoindev requested a review from rndquu May 13, 2024 16:35
@gitcoindev
Copy link
Author

I see some files can be removed from the pull request, will try to process them today.

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

2 participants