Skip to content

Commit

Permalink
Deployment: FraxtalRootGaugeFactory (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
jubeira authored Jun 3, 2024
1 parent dab78a6 commit a8133ee
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 2 deletions.
19 changes: 19 additions & 0 deletions action-ids/mainnet/action-ids.json
Original file line number Diff line number Diff line change
Expand Up @@ -1499,5 +1499,24 @@
"disable()": "0xf611f8b232e4be511caea74a4b9a6dea519d09225c9cf5d0e4a4bef44e006f71"
}
}
},
"20240522-fraxtal-root-gauge-factory": {
"OptimisticRootGaugeFactory": {
"useAdaptor": false,
"actionIds": {
"create(address,uint256)": "0x99f3dcf8c4dffdc47610d89353111223e01a26cfeccb0546070160ee9fe9113d",
"setOptimismGasLimit(uint32)": "0x4bbd85ce5bc58f2d2870a53de3a232d7a8cbabfed59b8d57aecd51c16079099f"
}
},
"OptimisticRootGauge": {
"useAdaptor": true,
"actionIds": {
"checkpoint()": "0x3f63974a377ba4713661ede455bceda6686a0395f8b8ed8701ad1f13bb926c4d",
"initialize(address,uint256,string)": "0x44cf0c8e5d981076577be35e5abcf9066fe410a208ba7734b280176b488bf3b0",
"killGauge()": "0xec1d467d9ab03a0079c22a89037209f5763aec973897ea763e2cf25d71a5f12e",
"setRelativeWeightCap(uint256)": "0xae60dce27f51ce5815357b9f6b40f200557867f8222262a1646c005d09b7dfba",
"unkillGauge()": "0x076e9815202aa39577192023cfa569d6504b003183b2bc13cd0046523dfa23ea"
}
}
}
}
24 changes: 24 additions & 0 deletions action-ids/mainnet/expected-collisions.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@
"contractName": "BaseRootGauge",
"signature": "checkpoint()",
"useAdaptor": true
},
{
"taskId": "20240522-fraxtal-root-gauge-factory",
"contractName": "OptimisticRootGauge",
"signature": "checkpoint()",
"useAdaptor": true
}
],
"0x3bf29175652a3f0fac5abb715d0b7fe2e7b597e2e2eff555dac6b21a20a7c83e": [
Expand Down Expand Up @@ -365,6 +371,12 @@
"contractName": "BaseRootGauge",
"signature": "killGauge()",
"useAdaptor": true
},
{
"taskId": "20240522-fraxtal-root-gauge-factory",
"contractName": "OptimisticRootGauge",
"signature": "killGauge()",
"useAdaptor": true
}
],
"0xd0090a09f425bba74e6c801fba7c6d15b44147ab0bd319e40076ce07e95168b6": [
Expand Down Expand Up @@ -485,6 +497,12 @@
"contractName": "BaseRootGauge",
"signature": "unkillGauge()",
"useAdaptor": true
},
{
"taskId": "20240522-fraxtal-root-gauge-factory",
"contractName": "OptimisticRootGauge",
"signature": "unkillGauge()",
"useAdaptor": true
}
],
"0x3aaa120451be1d03b5f871d8f553636453af4ac4fed808c66c169c212b199436": [
Expand Down Expand Up @@ -929,6 +947,12 @@
"contractName": "BaseRootGauge",
"signature": "setRelativeWeightCap(uint256)",
"useAdaptor": true
},
{
"taskId": "20240522-fraxtal-root-gauge-factory",
"contractName": "OptimisticRootGauge",
"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 @@ -1250,5 +1250,18 @@
}
],
"status": "ACTIVE"
},
"20240522-fraxtal-root-gauge-factory": {
"contracts": [
{
"name": "OptimisticRootGaugeFactory",
"address": "0x18CC3C68A5e64b40c846Aa6E45312cbcBb94f71b"
},
{
"name": "OptimisticRootGauge",
"address": "0x37302B98918382c43a176e5f3Bc7B11448cC6498"
}
],
"status": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion deployment-txs/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,6 @@
"0x0C8f71D19f87c0bD1b9baD2484EcC3388D5DbB98": "0x7ef4c0cfe11b7b15a602f7fbfcfbebaf551220f06fe108054490195b4766260f",
"0xeA66501dF1A00261E3bB79D1E90444fc6A186B62": "0xcc232687fe7d8e42e86f66c29a12c0da6d99c4ae7132f7c25aec44bafe9f2d9d",
"0x5B42eC6D40f7B7965BE5308c70e2603c0281C1E9": "0x4149cadfe5d3431205d9819fca44ed7a4c2b101adc51adc75cc4586dee237be8",
"0xF1C849190Ecfae64d0Bd0a0708708E1De906aaB5": "0x19ecdc8479e8880edaf6072dc8b408daf8cc053edb1ed34e00dbfcce0a0b3150"
"0xF1C849190Ecfae64d0Bd0a0708708E1De906aaB5": "0x19ecdc8479e8880edaf6072dc8b408daf8cc053edb1ed34e00dbfcce0a0b3150",
"0x18CC3C68A5e64b40c846Aa6E45312cbcBb94f71b": "0x1f11890a40a96fb3be92f2ab5ae160a70252e671ade0038242f21a6992f0ceab"
}
2 changes: 1 addition & 1 deletion tasks/20240522-fraxtal-root-gauge-factory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export default async (task: Task, { force, from }: TaskRunOptions = {}): Promise
input.L1StandardBridge,
input.FraxtalBAL,
]);
await task.save({ FraxtalRootGauge: implementation });
await task.save({ OptimisticRootGauge: implementation });
};
4 changes: 4 additions & 0 deletions tasks/20240522-fraxtal-root-gauge-factory/output/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"OptimisticRootGaugeFactory": "0x18CC3C68A5e64b40c846Aa6E45312cbcBb94f71b",
"OptimisticRootGauge": "0x37302B98918382c43a176e5f3Bc7B11448cC6498"
}
1 change: 1 addition & 0 deletions tasks/20240522-fraxtal-root-gauge-factory/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ It also has a `NETWORK` getter set in the factory, which helps to identify the t

## Useful Files

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

0 comments on commit a8133ee

Please sign in to comment.