Skip to content

Commit

Permalink
Deployment: AvalancheRootGaugeFactory V2 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
jubeira authored Sep 4, 2023
1 parent bdda45e commit 7b4b3e1
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- Deployed `VeBoostV2` to Polygon, Arbitrum, Optimism, Gnosis, Avalanche and zkEVM.
- Deployed `L2GaugeCheckpointer` to Mainnet.
- Deployed `GaugeWorkingBalanceHelper` to all networks.
- Deployed `AvalancheRootGaugeFactory` to Mainnet.
- Deployed `AvalancheRootGaugeFactory` V2 to Mainnet.
- Deployed `BalancerPoolDataQueries` to all networks.
- Deployed `TimelockAuthorizer` to Sepolia.
- Deployed `ComposableStablePoolFactory` V5 to all networks.
Expand All @@ -52,6 +52,7 @@
- Deprecated `20230320-composable-stable-pool-v4`.
- Deprecated `20230316-avax-l2-balancer-pseudo-minter` and `20230316-avax-child-chain-gauge-factory-v2` (initial version for `L2BalancerPseudoMinter` and `ChildChainGaugeFactory` for Avalanche).
- Deprecated `20230527-l2-gauge-checkpointer`.
- Deprecated `20230529-avalanche-root-gauge-factory`.

### New Networks

Expand Down
18 changes: 18 additions & 0 deletions action-ids/mainnet/action-ids.json
Original file line number Diff line number Diff line change
Expand Up @@ -1415,5 +1415,23 @@
"removeGauges(string,address[])": "0xfee7000015bfc10d718c5bd11e7573986e6b8283ddcac0f5b6016ece5249711c"
}
}
},
"20230811-avalanche-root-gauge-factory-v2": {
"AvalancheRootGaugeFactory": {
"useAdaptor": false,
"actionIds": {
"create(address,uint256)": "0xfad22b622975a1bc89c6cb88a9d9d6928401bf2a4e7d18536101f9b42ec7515b"
}
},
"AvalancheRootGauge": {
"useAdaptor": true,
"actionIds": {
"checkpoint()": "0x3f63974a377ba4713661ede455bceda6686a0395f8b8ed8701ad1f13bb926c4d",
"initialize(address,uint256)": "0xa7eb8749bae4020b0007b643972b60456da2b6b92fa6b583c7277fc2dea05a39",
"killGauge()": "0xec1d467d9ab03a0079c22a89037209f5763aec973897ea763e2cf25d71a5f12e",
"setRelativeWeightCap(uint256)": "0xae60dce27f51ce5815357b9f6b40f200557867f8222262a1646c005d09b7dfba",
"unkillGauge()": "0x076e9815202aa39577192023cfa569d6504b003183b2bc13cd0046523dfa23ea"
}
}
}
}
30 changes: 30 additions & 0 deletions action-ids/mainnet/expected-collisions.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@
"contractName": "AvalancheRootGauge",
"signature": "checkpoint()",
"useAdaptor": true
},
{
"taskId": "20230811-avalanche-root-gauge-factory-v2",
"contractName": "AvalancheRootGauge",
"signature": "checkpoint()",
"useAdaptor": true
}
],
"0x3bf29175652a3f0fac5abb715d0b7fe2e7b597e2e2eff555dac6b21a20a7c83e": [
Expand Down Expand Up @@ -341,6 +347,12 @@
"contractName": "AvalancheRootGauge",
"signature": "killGauge()",
"useAdaptor": true
},
{
"taskId": "20230811-avalanche-root-gauge-factory-v2",
"contractName": "AvalancheRootGauge",
"signature": "killGauge()",
"useAdaptor": true
}
],
"0xd0090a09f425bba74e6c801fba7c6d15b44147ab0bd319e40076ce07e95168b6": [
Expand Down Expand Up @@ -449,6 +461,12 @@
"contractName": "AvalancheRootGauge",
"signature": "unkillGauge()",
"useAdaptor": true
},
{
"taskId": "20230811-avalanche-root-gauge-factory-v2",
"contractName": "AvalancheRootGauge",
"signature": "unkillGauge()",
"useAdaptor": true
}
],
"0x3aaa120451be1d03b5f871d8f553636453af4ac4fed808c66c169c212b199436": [
Expand Down Expand Up @@ -819,6 +837,12 @@
"contractName": "AvalancheRootGauge",
"signature": "initialize(address,uint256)",
"useAdaptor": true
},
{
"taskId": "20230811-avalanche-root-gauge-factory-v2",
"contractName": "AvalancheRootGauge",
"signature": "initialize(address,uint256)",
"useAdaptor": true
}
],
"0xae60dce27f51ce5815357b9f6b40f200557867f8222262a1646c005d09b7dfba": [
Expand Down Expand Up @@ -869,6 +893,12 @@
"contractName": "AvalancheRootGauge",
"signature": "setRelativeWeightCap(uint256)",
"useAdaptor": true
},
{
"taskId": "20230811-avalanche-root-gauge-factory-v2",
"contractName": "AvalancheRootGauge",
"signature": "setRelativeWeightCap(uint256)",
"useAdaptor": true
}
],
"0x817de1d55149f9976836222b163cd53ade05fea9f5ade499b4572e14d3561d6e": [
Expand Down
13 changes: 13 additions & 0 deletions addresses/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1185,5 +1185,18 @@
}
],
"status": "ACTIVE"
},
"20230811-avalanche-root-gauge-factory-v2": {
"contracts": [
{
"name": "AvalancheRootGaugeFactory",
"address": "0x22625eEDd92c81a219A83e1dc48f88d54786B017"
},
{
"name": "AvalancheRootGauge",
"address": "0x3Eae4a1c2E36870A006E816930d9f55DF0a72a13"
}
],
"status": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion deployment-txs/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,6 @@
"0x20356663C17D31549d1210379749E2aE36722D8f": "0x822653ae905ab40f51f46c7b8185ba9a4aa06e674789f87dd26d0d11b26dc7c9",
"0x6d3197d069F8F9f1Fe7e23665Bc64CB77ED8b089": "0x805dcdd53cfdb3f5b577055d0d27a4a12430688446e8a4aa7fc5ed182f4163ae",
"0x1311Fbc9F60359639174c1e7cC2032DbDb5Cc4d1": "0x18aacffa46a74d9404f46a9e3f32225e6ee0fdef600e8d49ae8f432b624a0191",
"0x0f08eEf2C785AA5e7539684aF04755dEC1347b7c": "0xfe9d1446e6aa9da0b90799e925b92a3230e44cf32cc2126a210921fa38e273c1"
"0x0f08eEf2C785AA5e7539684aF04755dEC1347b7c": "0xfe9d1446e6aa9da0b90799e925b92a3230e44cf32cc2126a210921fa38e273c1",
"0x22625eEDd92c81a219A83e1dc48f88d54786B017": "0xd84e11274a092df611319bac402f3dc904a44914beb21262977df392ddfb45db"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"AvalancheRootGaugeFactory": "0x22625eEDd92c81a219A83e1dc48f88d54786B017",
"AvalancheRootGauge": "0x3Eae4a1c2E36870A006E816930d9f55DF0a72a13"
}
1 change: 1 addition & 0 deletions tasks/20230811-avalanche-root-gauge-factory-v2/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Replaces [Avalanche root gauge V1](../deprecated/20230529-avalanche-root-gauge-f

## Useful Files

- [Ethereum mainnet addresses](./output/mainnet.json)
- [`AvalancheRootGaugeFactory` artifact](./artifact/AvalancheRootGaugeFactory.json)

0 comments on commit 7b4b3e1

Please sign in to comment.