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

BIP-458: Enable GOLD gauges on Arbitrum #571

Merged
merged 8 commits into from Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
49 changes: 49 additions & 0 deletions BIPs/2023-W42/BIP-458B.json
@@ -0,0 +1,49 @@
{
"version": "1.0",
"chainId": "1",
"createdAt": 1697289876848,
"meta": {
"name": "Transactions Batch",
"description": "",
"txBuilderVersion": "1.16.3",
"createdFromSafeAddress": "0xc38c5f97B34E175FFd35407fc91a937300E33860",
"createdFromOwnerAddress": "",
"checksum": "0xbca220f8265d5f0905d7a68184d403050a0eb03abab531c84143fdc83f92ff04"
},
"transactions": [
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "name": "gauge", "type": "address", "internalType": "address" },
{ "name": "gaugeType", "type": "string", "internalType": "string" }
],
"name": "addGauge",
"payable": false
},
"contractInputsValues": {
"gauge": "0x86Cf58bD7A64f2304227d1a490660D2954dB4a91",
"gaugeType": "Arbitrum"
}
},
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "name": "gauge", "type": "address", "internalType": "address" },
{ "name": "gaugeType", "type": "string", "internalType": "string" }
],
"name": "addGauge",
"payable": false
},
"contractInputsValues": {
"gauge": "0xA8d4b31225BD6FAF1363DB5A0AB6c016894985d1",
"gaugeType": "Arbitrum"
}
}
]
}
17 changes: 17 additions & 0 deletions BIPs/2023-W42/BIP-458B.report.txt
@@ -0,0 +1,17 @@
File name: BIPs/2023-W42/BIP-458B.json
COMMIT: `a83797d8b5c2921eb1e63fd8d8ecf248f8f7bfad`
CHAIN(S): `arbitrum`
```
+-----------------------+---------------------------------------------------------------------+-------------------------+--------------------------------------------+---------------------------------------------------------+-------------------------------------------------+---------+------------+
| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | bip | tx_index |
+=======================+=====================================================================+=========================+============================================+=========================================================+=================================================+=========+============+
| GaugeAdderV4/addGauge | 0x49b2de7d214070893c038299a57bac5acb8b8a340001000000000000000004be | GOLD-BAL-AURA-wstETH | 0x86Cf58bD7A64f2304227d1a490660D2954dB4a91 | "BAL(0x040d1EdC9569d4Bab2D15287Dc5A4F10F56a56B8)", | "0x0000000000000000000000000000000000000000", | BIP-458 | 0 |
| | pool_address: 0x49b2De7d214070893c038299a57BaC5ACb8B8A34 | fee: 0.5, a-factor: N/A | Style: L0 sidechain, cap: 2.0% | "AURA(0x1509706a6c66CA549ff0cB464de88231DDBe213B)", | "0x0000000000000000000000000000000000000000", | | |
| | | | | "wstETH(0x5979D7b546E38E414F7E9822514be443A4800529)", | "0xf7c5c26B574063e7b098ed74fAd6779e65E3F836", | | |
| | | | | "GOLD(0x8b5e4C9a188b1A187f2D1E80b1c2fB17fA2922e1)" | "0x0000000000000000000000000000000000000000" | | |
+-----------------------+---------------------------------------------------------------------+-------------------------+--------------------------------------------+---------------------------------------------------------+-------------------------------------------------+---------+------------+
| GaugeAdderV4/addGauge | 0x2e8ea681fd59c9dc5f32b29de31f782724ef4dcb0001000000000000000004bc | 50GOLD-25USDC-25WSTETH | 0xA8d4b31225BD6FAF1363DB5A0AB6c016894985d1 | "wstETH(0x5979D7b546E38E414F7E9822514be443A4800529)", | "0xf7c5c26B574063e7b098ed74fAd6779e65E3F836", | BIP-458 | 1 |
| | pool_address: 0x2e8Ea681FD59c9dc5f32B29de31F782724EF4DcB | fee: 0.5, a-factor: N/A | Style: L0 sidechain, cap: 6.0% | "GOLD(0x8b5e4C9a188b1A187f2D1E80b1c2fB17fA2922e1)", | "0x0000000000000000000000000000000000000000", | | |
| | | | | "USDC(0xaf88d065e77c8cC2239327C5EDb3A432268e5831)" | "0x0000000000000000000000000000000000000000" | | |
+-----------------------+---------------------------------------------------------------------+-------------------------+--------------------------------------------+---------------------------------------------------------+-------------------------------------------------+---------+------------+
```
64 changes: 64 additions & 0 deletions BIPs/2023-W43/BIP-458A.json
@@ -0,0 +1,64 @@
{
"version": "1.0",
"chainId": "1",
"createdAt": 1697638573486,
"meta": {
"name": "Enable GOLD Arbitrum",
"txBuilderVersion": "1.16.3",
"createdFromSafeAddress": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f",
"author": "gosuto.eth"
},
"transactions": [
{
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
{ "internalType": "address", "name": "account", "type": "address" }
],
"name": "grantRole",
"payable": false
},
"contractInputsValues": {
"role": "0xae60dce27f51ce5815357b9f6b40f200557867f8222262a1646c005d09b7dfba",
"account": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f"
}
},
{
"to": "0xf5dECDB1f3d1ee384908Fbe16D2F0348AE43a9eA",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "name": "target", "type": "address", "internalType": "address" },
{ "name": "data", "type": "bytes", "internalType": "bytes" }
],
"name": "performAction",
"payable": true
},
"contractInputsValues": {
"target": "0xed0bb13496ce24EFFF8f9734A9707D092d4Be10c",
"data": "0x10d3eb0400000000000000000000000000000000000000000000000000b1a2bc2ec50000"
}
},
{
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
{ "internalType": "address", "name": "account", "type": "address" }
],
"name": "revokeRole",
"payable": false
},
"contractInputsValues": {
"role": "0xae60dce27f51ce5815357b9f6b40f200557867f8222262a1646c005d09b7dfba",
"account": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f"
}
}
]
}
45 changes: 45 additions & 0 deletions BIPs/2023-W43/BIP-458A.report.txt
@@ -0,0 +1,45 @@
File name: BIPs/2023-W43/BIP-458A.json
COMMIT: `a83797d8b5c2921eb1e63fd8d8ecf248f8f7bfad`
CHAIN(S): `mainnet`
```
+-----------------------+---------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
| function | caller_name | caller_address | fx_paths | action_ids | bip | tx_index |
+=======================+===============+============================================+===============================================================================================+====================================================================+=========+============+
| Authorizer/grantRole | multisigs/dao | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f | 20230217-gnosis-root-gauge-factory/GnosisRootGauge/setRelativeWeightCap(uint256) | 0xae60dce27f51ce5815357b9f6b40f200557867f8222262a1646c005d09b7dfba | BIP-458 | 0 |
| | | | 20220823-optimism-root-gauge-factory-v2/OptimismRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20220822-mainnet-gauge-factory-v2/LiquidityGaugeV5/setRelativeWeightCap(uint256) | | | |
| | | | 20230911-base-root-gauge-factory/BaseRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20220823-arbitrum-root-gauge-factory-v2/ArbitrumRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20220823-polygon-root-gauge-factory-v2/PolygonRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20230811-avalanche-root-gauge-factory-v2/AvalancheRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20230215-single-recipient-gauge-factory-v2/SingleRecipientGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20230529-avalanche-root-gauge-factory/AvalancheRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20230526-zkevm-root-gauge-factory/PolygonZkEVMRootGauge/setRelativeWeightCap(uint256) | | | |
+-----------------------+---------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
| Authorizer/revokeRole | multisigs/dao | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f | 20230217-gnosis-root-gauge-factory/GnosisRootGauge/setRelativeWeightCap(uint256) | 0xae60dce27f51ce5815357b9f6b40f200557867f8222262a1646c005d09b7dfba | BIP-458 | 2 |
| | | | 20220823-optimism-root-gauge-factory-v2/OptimismRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20220822-mainnet-gauge-factory-v2/LiquidityGaugeV5/setRelativeWeightCap(uint256) | | | |
| | | | 20230911-base-root-gauge-factory/BaseRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20220823-arbitrum-root-gauge-factory-v2/ArbitrumRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20220823-polygon-root-gauge-factory-v2/PolygonRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20230811-avalanche-root-gauge-factory-v2/AvalancheRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20230215-single-recipient-gauge-factory-v2/SingleRecipientGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20230529-avalanche-root-gauge-factory/AvalancheRootGauge/setRelativeWeightCap(uint256) | | | |
| | | | 20230526-zkevm-root-gauge-factory/PolygonZkEVMRootGauge/setRelativeWeightCap(uint256) | | | |
+-----------------------+---------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
```
File name: BIPs/2023-W43/BIP-458A.json
COMMIT: `a83797d8b5c2921eb1e63fd8d8ecf248f8f7bfad`
CHAIN(S): `1`
```
+---------------+-----------------------------------------------------------------------------------------------------------------+---------+----------------------------------------------------------------------------------------+--------------+------------+
| fx_name | to | value | inputs | bip_number | tx_index |
+===============+=================================================================================================================+=========+========================================================================================+==============+============+
| performAction | 0xf5dECDB1f3d1ee384908Fbe16D2F0348AE43a9eA (20221124-authorizer-adaptor-entrypoint/AuthorizerAdaptorEntrypoint) | 0 | { | BIP-458 | N/A |
| | | | "target": [ | | |
| | | | "0xed0bb13496ce24EFFF8f9734A9707D092d4Be10c (N/A) " | | |
| | | | ], | | |
| | | | "data": "0x10d3eb0400000000000000000000000000000000000000000000000000b1a2bc2ec50000" | | |
| | | | } | | |
+---------------+-----------------------------------------------------------------------------------------------------------------+---------+----------------------------------------------------------------------------------------+--------------+------------+
```