Skip to content

Commit

Permalink
deploy(Fraxtal): FRAX, sFRAX, frxETH, sfrxETH, FPI, FXS (#15)
Browse files Browse the repository at this point in the history
* ops: SubmitSend frxETH, FPI

* feat: deploy frxETH, FPI in core deployment

* deploy(Fraxtal): FRAX, sFRAX, frxETH, sfrxETH, FXS, FPI

* refactor: txs to expectedProxyOfts instead of proxyOfts

* chore: fmt

* docs(fraxtal): msig and operations
  • Loading branch information
pegahcarter authored Jul 12, 2024
1 parent ad4daa9 commit 99ad91b
Show file tree
Hide file tree
Showing 36 changed files with 36,452 additions and 3,409 deletions.
6 changes: 6 additions & 0 deletions OPERATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@
- modify the Sei configured DVNs to use the Horizen DVN instead of the Nethermind DVN

# 2024.07.03
- `FixDVNs()`
- Fix Mode => Sei DVN

# 2024.07.09
- `DeployFraxOFTProtocol()`
- Deploy Fraxtal: FRAX, sFRAX, frxETH, sfrxETH, FXS, FPI
- Destinations: Ethereum, Base, Blast, Metis, Mode, Sei
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- [`Base`](https://app.safe.global/home?safe=base:0xCBfd4Ef00a8cf91Fd1e1Fe97dC05910772c15E53)
- [`Mode`](https://safe.optimism.io/home?safe=mode:0x6336CFA6eDBeC2A459d869031DB77fC2770Eaa66)
- [`Sei`](https://sei-safe.protofire.io/home?safe=sei:0x0357D02fc95320b990322d3ff69204c3D251171b)

- [`Fraxtal`](https://safe.mainnet.frax.com/home?safe=fraxtal:0x5f25218ed9474b721d6a38c115107428E832fA2E)

### Legacy (non-upgradeable) OFTs
- Chain: `Ethereum`, `Metis`, `Blast`, `Base`
Expand All @@ -41,7 +41,7 @@
- `FPI`: `0xE41228a455700cAF09E551805A8aB37caa39D08c`

### Proxy (upgradeable) OFTs
- Chain: Mode, Sei
- Chain: `Mode`, `Sei`, `Fraxtal`
- Admin: `ProxyAdmin` (owned by chain-respective msig)
- OFTs
- `FRAX`: `0x80eede496655fb9047dd39d9f418d5483ed600df`
Expand Down
1,882 changes: 1,882 additions & 0 deletions broadcast/DeployFraxOFTProtocol.s.sol/252/dry-run/run-1720533194.json

Large diffs are not rendered by default.

1,882 changes: 1,882 additions & 0 deletions broadcast/DeployFraxOFTProtocol.s.sol/252/dry-run/run-latest.json

Large diffs are not rendered by default.

2,708 changes: 2,708 additions & 0 deletions broadcast/DeployFraxOFTProtocol.s.sol/252/run-1720620896.json

Large diffs are not rendered by default.

2,708 changes: 2,708 additions & 0 deletions broadcast/DeployFraxOFTProtocol.s.sol/252/run-1720623942.json

Large diffs are not rendered by default.

2,708 changes: 2,708 additions & 0 deletions broadcast/DeployFraxOFTProtocol.s.sol/252/run-1720624373.json

Large diffs are not rendered by default.

4,984 changes: 4,984 additions & 0 deletions broadcast/DeployFraxOFTProtocol.s.sol/252/run-1720625559.json

Large diffs are not rendered by default.

4,984 changes: 4,984 additions & 0 deletions broadcast/DeployFraxOFTProtocol.s.sol/252/run-latest.json

Large diffs are not rendered by default.

739 changes: 739 additions & 0 deletions broadcast/SubmitSends.s.sol/1/dry-run/run-1719875578.json

Large diffs are not rendered by default.

672 changes: 654 additions & 18 deletions broadcast/SubmitSends.s.sol/1/dry-run/run-latest.json

Large diffs are not rendered by default.

3,412 changes: 3,412 additions & 0 deletions broadcast/SubmitSends.s.sol/1/run-1719876269.json

Large diffs are not rendered by default.

3,382 changes: 3,144 additions & 238 deletions broadcast/SubmitSends.s.sol/1/run-latest.json

Large diffs are not rendered by default.

193 changes: 193 additions & 0 deletions broadcast/SubmitSends.s.sol/1088/run-1719933881.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
{
"transactions": [
{
"hash": "0xd64854c29181ef7a6687a2442b238c313c2207f9c7e54505bfbc5d28cdeda3ba",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xf010a7c8877043681d59ad125ebf575633505942",
"function": "approve(address,uint256)",
"arguments": [
"0xF010a7c8877043681D59AD125EbF575633505942",
"100000000000000"
],
"transaction": {
"from": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"to": "0xf010a7c8877043681d59ad125ebf575633505942",
"gas": "0xfa57",
"value": "0x0",
"input": "0x095ea7b3000000000000000000000000f010a7c8877043681d59ad125ebf57563350594200000000000000000000000000000000000000000000000000005af3107a4000",
"nonce": "0x9",
"chainId": "0x440"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xf010a7c8877043681d59ad125ebf575633505942",
"function": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)",
"arguments": [
"(30243, 0x000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f, 100000000000000, 100000000000000, 0x0003, 0x, 0x)",
"(22069590194562921, 0)",
"0xb0E1650A9760e0f383174af042091fc544b8356f"
],
"transaction": {
"from": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"to": "0xf010a7c8877043681d59ad125ebf575633505942",
"gas": "0x6027b",
"value": "0x4e682ce3e2a769",
"input": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000004e682ce3e2a7690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f0000000000000000000000000000000000000000000000000000000000007623000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f00000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0xa",
"chainId": "0x440"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xe41228a455700caf09e551805a8ab37caa39d08c",
"function": "approve(address,uint256)",
"arguments": [
"0xE41228a455700cAF09E551805A8aB37caa39D08c",
"100000000000000"
],
"transaction": {
"from": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"to": "0xe41228a455700caf09e551805a8ab37caa39d08c",
"gas": "0xfa57",
"value": "0x0",
"input": "0x095ea7b3000000000000000000000000e41228a455700caf09e551805a8ab37caa39d08c00000000000000000000000000000000000000000000000000005af3107a4000",
"nonce": "0xb",
"chainId": "0x440"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xe41228a455700caf09e551805a8ab37caa39d08c",
"function": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)",
"arguments": [
"(30243, 0x000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f, 100000000000000, 100000000000000, 0x0003, 0x, 0x)",
"(22069590194562921, 0)",
"0xb0E1650A9760e0f383174af042091fc544b8356f"
],
"transaction": {
"from": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"to": "0xe41228a455700caf09e551805a8ab37caa39d08c",
"gas": "0x6027b",
"value": "0x4e682ce3e2a769",
"input": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000004e682ce3e2a7690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f0000000000000000000000000000000000000000000000000000000000007623000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f00000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0xc",
"chainId": "0x440"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xf010a7c8877043681d59ad125ebf575633505942",
"function": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)",
"arguments": [
"(30184, 0x000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f, 100000000000000, 100000000000000, 0x0003, 0x, 0x)",
"(12776316959435776, 0)",
"0xb0E1650A9760e0f383174af042091fc544b8356f"
],
"transaction": {
"from": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"to": "0xf010a7c8877043681d59ad125ebf575633505942",
"gas": "0x65cea",
"value": "0x2d63fe19e7ac00",
"input": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000002d63fe19e7ac000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f00000000000000000000000000000000000000000000000000000000000075e8000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f00000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0xd",
"chainId": "0x440"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xe41228a455700caf09e551805a8ab37caa39d08c",
"function": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)",
"arguments": [
"(30184, 0x000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f, 100000000000000, 100000000000000, 0x0003, 0x, 0x)",
"(12776316959435776, 0)",
"0xb0E1650A9760e0f383174af042091fc544b8356f"
],
"transaction": {
"from": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"to": "0xe41228a455700caf09e551805a8ab37caa39d08c",
"gas": "0x65cea",
"value": "0x2d63fe19e7ac00",
"input": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000002d63fe19e7ac000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f00000000000000000000000000000000000000000000000000000000000075e8000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f00000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0xe",
"chainId": "0x440"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xf010a7c8877043681d59ad125ebf575633505942",
"function": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)",
"arguments": [
"(30260, 0x000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f, 100000000000000, 100000000000000, 0x0003, 0x, 0x)",
"(12136651249978959, 0)",
"0xb0E1650A9760e0f383174af042091fc544b8356f"
],
"transaction": {
"from": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"to": "0xf010a7c8877043681d59ad125ebf575633505942",
"gas": "0x6027b",
"value": "0x2b1e3852848e4f",
"input": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000002b1e3852848e4f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f0000000000000000000000000000000000000000000000000000000000007634000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f00000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0xf",
"chainId": "0x440"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": null,
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xe41228a455700caf09e551805a8ab37caa39d08c",
"function": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)",
"arguments": [
"(30260, 0x000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f, 100000000000000, 100000000000000, 0x0003, 0x, 0x)",
"(12136651249978959, 0)",
"0xb0E1650A9760e0f383174af042091fc544b8356f"
],
"transaction": {
"from": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"to": "0xe41228a455700caf09e551805a8ab37caa39d08c",
"gas": "0x6027b",
"value": "0x2b1e3852848e4f",
"input": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000002b1e3852848e4f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f0000000000000000000000000000000000000000000000000000000000007634000000000000000000000000b0e1650a9760e0f383174af042091fc544b8356f00000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x10",
"chainId": "0x440"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1719933881,
"chain": 1088,
"commit": "52a2592"
}
Loading

0 comments on commit 99ad91b

Please sign in to comment.