Skip to content

Commit

Permalink
Merge pull request #1229 from BalancerMaxis/BIP-675-Enable-Several-E-…
Browse files Browse the repository at this point in the history
…CLPS-Arbitrum

BIP-675-Enable-Several-E-CLPS-Arbitrum
  • Loading branch information
Tritium-VLK authored Aug 13, 2024
2 parents 1a684b2 + 31dd4fb commit e171d0e
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 4 deletions.
100 changes: 100 additions & 0 deletions BIPs/2024-W33/[BIP-675] Enable Several E-CLPs [Arbitrum].json
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"version": "1.0",
"chainId": "1",
"createdAt": 1723064795920,
"meta": {
"name": "Transactions Batch",
"description": "",
"txBuilderVersion": "1.16.5",
"createdFromSafeAddress": "0xc38c5f97B34E175FFd35407fc91a937300E33860",
"createdFromOwnerAddress": "",
"checksum": "0xf22b916697fa8851ff9bb1e7f5f029ec6382789867b241e6bc9a579390c8ce76"
},
"transactions": [
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "address", "name": "gauge", "type": "address" },
{ "internalType": "string", "name": "gaugeType", "type": "string" }
],
"name": "addGauge",
"payable": false
},
"contractInputsValues": {
"gauge": "0x5a47e3f2E5009168Af11C4b0198605f694805779",
"gaugeType": "Arbitrum"
}
},
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "address", "name": "gauge", "type": "address" },
{ "internalType": "string", "name": "gaugeType", "type": "string" }
],
"name": "addGauge",
"payable": false
},
"contractInputsValues": {
"gauge": "0xcb785286C9bEBeFF7654a8238Eb563666fD75338",
"gaugeType": "Arbitrum"
}
},
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "address", "name": "gauge", "type": "address" },
{ "internalType": "string", "name": "gaugeType", "type": "string" }
],
"name": "addGauge",
"payable": false
},
"contractInputsValues": {
"gauge": "0xB599e35f760c47888aD3fF684FF4cd01ff4Dc45B",
"gaugeType": "Arbitrum"
}
},
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "address", "name": "gauge", "type": "address" },
{ "internalType": "string", "name": "gaugeType", "type": "string" }
],
"name": "addGauge",
"payable": false
},
"contractInputsValues": {
"gauge": "0x594dD4297Ef4A5ebeD3DA337Aa56078637aCb18E",
"gaugeType": "Arbitrum"
}
},
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "address", "name": "gauge", "type": "address" },
{ "internalType": "string", "name": "gaugeType", "type": "string" }
],
"name": "addGauge",
"payable": false
},
"contractInputsValues": {
"gauge": "0x00654F788342647A8Aa15f2eb2490e17d222aC85",
"gaugeType": "Arbitrum"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FILENAME: `BIPs/2024-W33/[BIP-675] Enable Several E-CLPs [Arbitrum].json`
MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)`
COMMIT: `cd890a4612ba0a90d173cf3e289230afaaa98b1b`
CHAIN(S): `arbitrum`
TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/c9d56238-400d-404d-a869-c4e7e0fcc36c)
```
+-----------------------+---------------------------------------------------------------------+---------------------+--------------------------------------------+-----------------------------------------------------------+--------------------------------------------+----------------+---------+----------+
| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | review_summary | bip | tx_index |
+-----------------------+---------------------------------------------------------------------+---------------------+--------------------------------------------+-----------------------------------------------------------+--------------------------------------------+----------------+---------+----------+
| GaugeAdderV4/addGauge | 0xdeeaf8b0a8cf26217261b813e085418c7dd8f1ee00020000000000000000058f | ECLP-sUSDe-GYD | 0x5a47e3f2E5009168Af11C4b0198605f694805779 | 0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2: sUSDe | 0x3A236F67Fce401D87D7215695235e201966576E4 | safe | BIP-675 | 0 |
| | pool_address: 0xdeEaF8B0A8Cf26217261b813e085418C7dD8F1eE | fee: 0.15 | Style: L0 sidechain | 0xCA5d8F8a8d49439357d3CF46Ca2e720702F132b8: GYD | 0x0000000000000000000000000000000000000000 | -- | | |
| | | a-factor: N/A | cap: 100.0% | | | | | |
| GaugeAdderV4/addGauge | 0xa899c63ba9ff275d6bfc83e43ee8e58ff6987584000200000000000000000594 | ECLP-rETH-wstETH | 0xcb785286C9bEBeFF7654a8238Eb563666fD75338 | 0x5979D7b546E38E414F7E9822514be443A4800529: wstETH | 0xf7c5c26B574063e7b098ed74fAd6779e65E3F836 | safe | BIP-675 | 1 |
| | pool_address: 0xa899c63BA9ff275d6bfc83E43ee8E58fF6987584 | fee: 0.02 | Style: L0 sidechain | 0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8: rETH | 0xd4E96eF8eee8678dBFf4d535E033Ed1a4F7605b7 | safe | | |
| | | a-factor: N/A | cap: 100.0% | | | | | |
| GaugeAdderV4/addGauge | 0xff38cc0ce0de4476c5a3e78675b48420a851035b000200000000000000000593 | ECLP-GHO-GYD-rh | 0xB599e35f760c47888aD3fF684FF4cd01ff4Dc45B | 0xCA5d8F8a8d49439357d3CF46Ca2e720702F132b8: GYD | 0x0000000000000000000000000000000000000000 | -- | BIP-675 | 2 |
| | pool_address: 0xff38cC0cE0DE4476C5a3e78675b48420A851035B | fee: 0.01 | Style: L0 sidechain | 0xD9FBA68D89178e3538e708939332c79efC540179: stataArbGHO | 0x177862A0242acD8b5F9cc757a963c1C8883da45E | safe | | |
| | | a-factor: N/A | cap: 100.0% | | | | | |
| GaugeAdderV4/addGauge | 0x71c64ac8ec1da03f8a05c3cfeb6493e6dad54a6f000200000000000000000592 | ECLP-wUSDM-USDC-rh | 0x594dD4297Ef4A5ebeD3DA337Aa56078637aCb18E | 0x57F5E098CaD7A3D1Eed53991D4d66C45C9AF7812: wUSDM | 0x7F55E509006C9Df7594C4819Ba7ebfE6EfE4854b | safe | BIP-675 | 3 |
| | pool_address: 0x71c64ac8Ec1DA03f8A05C3cfEB6493E6DAd54a6F | fee: 0.01 | Style: L0 sidechain | 0x7CFaDFD5645B50bE87d546f42699d863648251ad: stataArbUSDCn | 0x87cD462A781c0ca843EAB131Bf368328848bB6fD | safe | | |
| | | a-factor: N/A | cap: 100.0% | | | | | |
| GaugeAdderV4/addGauge | 0x36c2f879f446c3b6533f9703745c0504f3a84885000200000000000000000591 | ECLP-sFRAX-aFRAX | 0x00654F788342647A8Aa15f2eb2490e17d222aC85 | 0x89AEc2023f89E26Dbb7eaa7a98fe3996f9d112A8: stataArbFRAX | 0x183Ac1bCC538aa9729350f8a9C6357a268e1Bd03 | safe | BIP-675 | 4 |
| | pool_address: 0x36C2f879f446c3b6533f9703745C0504f3a84885 | fee: 0.01 | Style: L0 sidechain | 0xe3b3FE7bcA19cA77Ad877A5Bebab186bEcfAD906: sFRAX | 0x155a25c8C3a9353d47BCDBc3650E19d1aEa13E54 | safe | | |
| | | a-factor: N/A | cap: 100.0% | | | | | |
+-----------------------+---------------------------------------------------------------------+---------------------+--------------------------------------------+-----------------------------------------------------------+--------------------------------------------+----------------+---------+----------+
```
12 changes: 8 additions & 4 deletions action-scripts/brownie/scripts/script_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,14 @@ def get_rate_provider_review_summaries(
continue
rpinfo = r.info_by_rate_provider.get(to_checksum_address(rate_provider))
if not rpinfo:
print(
f"WARNING: looked up {to_checksum_address(rate_provider)} on chain {chain} and got {rpinfo}"
)
summaries.append("!!NO REVIEW!!")
rpinfo = r.info_by_rate_provider.get(rate_provider.lower())
if not rpinfo:
print(
f"WARNING: looked up {to_checksum_address(rate_provider)} on chain {chain} and got {rpinfo}"
)
summaries.append("!!NO REVIEW!!")
else:
summaries.append(rpinfo["summary"])
else:
summaries.append(rpinfo["summary"])
return summaries
Expand Down

0 comments on commit e171d0e

Please sign in to comment.