-
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
Changes from all commits
2e269c7
0efd7c8
7fff621
75cd435
b01d77f
3c1344f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"version": "1.0", | ||
"chainId": "100", | ||
"createdAt": 1733834947717, | ||
"meta": { | ||
"name": "Transactions Batch", | ||
"description": "", | ||
"txBuilderVersion": "1.17.1", | ||
"createdFromSafeAddress": "0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e", | ||
"createdFromOwnerAddress": "", | ||
"checksum": "0x247998e7f8db5522446a29508d075ab3e9319586dda7875e51d188f483010114" | ||
}, | ||
"transactions": [ | ||
{ | ||
"to": "0xa731C23D7c95436Baaae9D52782f966E1ed07cc8", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "newProtocolSwapFeePercentage", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "setGlobalProtocolSwapFeePercentage", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"newProtocolSwapFeePercentage": "500000000000000000" | ||
} | ||
}, | ||
{ | ||
"to": "0xa731C23D7c95436Baaae9D52782f966E1ed07cc8", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "newProtocolYieldFeePercentage", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "setGlobalProtocolYieldFeePercentage", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"newProtocolYieldFeePercentage": "100000000000000000" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 100000000000000000/1e18 = 0.1 or 10% fees on yield. |
||
} | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FILENAME: `MaxiOps/PoolParameterChanges/v3-global-fees-gnosis.json` | ||
MULTISIG: `multisigs/maxi_omni (gnosis:0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e)` | ||
COMMIT: `b01d77f5ee76bd8b7c98f72ec97ebc5be3f15057` | ||
CHAIN(S): `gnosis` | ||
TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/015a6475-45de-4771-8297-5174f25c3b0b) | ||
|
||
``` | ||
+-------------------------------------+--------------------------------------------------------------------------------------+-------+--------------------------------------+------------+----------+ | ||
| fx_name | to | value | inputs | bip_number | tx_index | | ||
+-------------------------------------+--------------------------------------------------------------------------------------+-------+--------------------------------------+------------+----------+ | ||
| setGlobalProtocolSwapFeePercentage | 0xa731C23D7c95436Baaae9D52782f966E1ed07cc8 (20241204-v3-vault/ProtocolFeeController) | 0 | { | N/A | N/A | | ||
| | | | "newProtocolSwapFeePercentage": [ | | | | ||
| | | | "500000000000000000" | | | | ||
| | | | ] | | | | ||
| | | | } | | | | ||
| setGlobalProtocolYieldFeePercentage | 0xa731C23D7c95436Baaae9D52782f966E1ed07cc8 (20241204-v3-vault/ProtocolFeeController) | 0 | { | N/A | N/A | | ||
| | | | "newProtocolYieldFeePercentage": [ | | | | ||
| | | | "100000000000000000" | | | | ||
| | | | ] | | | | ||
| | | | } | | | | ||
+-------------------------------------+--------------------------------------------------------------------------------------+-------+--------------------------------------+------------+----------+ | ||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"version": "1.0", | ||
"chainId": "1", | ||
"createdAt": 1733831271579, | ||
"meta": { | ||
"name": "Transactions Batch", | ||
"description": "", | ||
"txBuilderVersion": "1.17.1", | ||
"createdFromSafeAddress": "0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e", | ||
"createdFromOwnerAddress": "", | ||
"checksum": "0x7aecc300d16b52077b9604f0ae5337bb8b6e692fa740cae1fd9ae6171994cdd5" | ||
}, | ||
"transactions": [ | ||
{ | ||
"to": "0xa731C23D7c95436Baaae9D52782f966E1ed07cc8", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "newProtocolSwapFeePercentage", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "setGlobalProtocolSwapFeePercentage", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"newProtocolSwapFeePercentage": "500000000000000000" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
} | ||
}, | ||
{ | ||
"to": "0xa731C23D7c95436Baaae9D52782f966E1ed07cc8", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "newProtocolYieldFeePercentage", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "setGlobalProtocolYieldFeePercentage", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"newProtocolYieldFeePercentage": "100000000000000000" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same |
||
} | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FILENAME: `MaxiOps/PoolParameterChanges/v3-global-fees.json` | ||
MULTISIG: `multisigs/maxi_omni (mainnet:0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e)` | ||
COMMIT: `b01d77f5ee76bd8b7c98f72ec97ebc5be3f15057` | ||
CHAIN(S): `mainnet` | ||
TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/5080163a-1483-489a-8936-9c4dff26d6d0) | ||
|
||
``` | ||
+-------------------------------------+--------------------------------------------------------------------------------------+-------+--------------------------------------+------------+----------+ | ||
| fx_name | to | value | inputs | bip_number | tx_index | | ||
+-------------------------------------+--------------------------------------------------------------------------------------+-------+--------------------------------------+------------+----------+ | ||
| setGlobalProtocolSwapFeePercentage | 0xa731C23D7c95436Baaae9D52782f966E1ed07cc8 (20241204-v3-vault/ProtocolFeeController) | 0 | { | N/A | N/A | | ||
| | | | "newProtocolSwapFeePercentage": [ | | | | ||
| | | | "500000000000000000" | | | | ||
| | | | ] | | | | ||
| | | | } | | | | ||
| setGlobalProtocolYieldFeePercentage | 0xa731C23D7c95436Baaae9D52782f966E1ed07cc8 (20241204-v3-vault/ProtocolFeeController) | 0 | { | N/A | N/A | | ||
| | | | "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.
500000000000000000/1e18 = 0.5 or 50% fees on swap