-
Notifications
You must be signed in to change notification settings - Fork 29
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
chore: add v3 global fees payload json #1573
Conversation
FILENAME:
FILENAME:
|
FILENAME:
FILENAME:
|
… reports) + reformat JSON
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BIP-734 specifies 50% on swap 10% on yield for V3. It specifies that technical specs will be provided in a future BIP.
BIP-741 does not explicitly specify that the Maxis should set these changes, but does authorize them to set fees.
It seems reasonable to conclude that this is:
- At the wishes of governance
- For the Maxis to technically specify
- Technically correct according to BIP-734
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"newProtocolSwapFeePercentage": "500000000000000000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
500000000000000000/1e18 = 0.5 or 50% fees on swap
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"newProtocolYieldFeePercentage": "100000000000000000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100000000000000000/1e18 = 0.1 or 10% fees on yield.
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"newProtocolSwapFeePercentage": "500000000000000000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"newProtocolYieldFeePercentage": "100000000000000000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
as per bip734