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

script: map aprs and ygg token #13

Merged
merged 4 commits into from
Mar 11, 2024
Merged

script: map aprs and ygg token #13

merged 4 commits into from
Mar 11, 2024

Conversation

nxqbao
Copy link
Contributor

@nxqbao nxqbao commented Mar 8, 2024

Description

Checklist

  • I have clearly commented on all the main functions following the NatSpec Format
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works

Copy link
Contributor

@ducthotran2010 ducthotran2010 left a comment

Choose a reason for hiding this comment

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

I can only confirm all 2 configs of Ape and Ygg are matched

Comment on lines +9 to +17
constructor () {
_aperiosInfo.roninToken = address(0x7894b3088d069E70895EFfA4e8f7D2c243Fd04C1);
_aperiosInfo.mainchainToken = address(0x95b4B8CaD3567B5d7EF7399C2aE1d7070692aB0D);
_aperiosInfo.minThreshold = 10 ether;
_aperiosInfo.highTierThreshold = 10_000_000 ether;
_aperiosInfo.lockedThreshold = 40_000_000 ether;
_aperiosInfo.dailyWithdrawalLimit = 30_000_000 ether;
_aperiosInfo.unlockFeePercentages = 10; // 0.001%. Max percentage is 100_0000, so 10 is 0.001% (`10 / 1e6 = 0.001 * 100`)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Matched

Comment on lines +9 to +17
constructor () {
_yggInfo.roninToken = address(0x1c306872bC82525d72Bf3562E8F0aA3f8F26e857);
_yggInfo.mainchainToken = address(0x25f8087EAD173b73D6e8B84329989A8eEA16CF73);
_yggInfo.minThreshold = 20 ether;
_yggInfo.highTierThreshold = 1_000_000 ether;
_yggInfo.lockedThreshold = 2_000_000 ether;
_yggInfo.dailyWithdrawalLimit = 2_000_000 ether;
_yggInfo.unlockFeePercentages = 10; // 0.001%. Max percentage is 100_0000, so 10 is 0.001% (`10 / 1e6 = 0.001 * 100`)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Matched

@nxqbao nxqbao merged commit ec2f64e into mainnet Mar 11, 2024
1 check passed
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.

2 participants