-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a7e966
commit 68f5cff
Showing
16 changed files
with
8,811 additions
and
244 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// SPDX-FileCopyrightText: © 2020 Dai Foundation <www.daifoundation.org> | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pragma solidity 0.8.16; | ||
|
||
contract BaseAddresses { | ||
|
||
mapping (bytes32 => address) public addr; | ||
|
||
constructor() { | ||
addr["L2_BASE_TOKEN_BRIDGE"] = 0xee44cdb68D618d58F75d9fe0818B640BD7B8A7B7; | ||
addr["L2_GOV_RELAY"] = 0xdD0BCc201C9E47c6F6eE68E4dB05b652Bb6aC255; | ||
addr["L2_SPELL"] = 0x6f29C3A29A3F056A71FB0714551C8D3547268D62; | ||
addr["L2_USDS"] = 0x820C137fa70C8691f0e44Dc420a5e53c168921Dc; | ||
addr["L2_SUSDS"] = 0x5875eEE11Cf8398102FdAd704C9E96607675467a; | ||
addr["L2_BASE_TOKEN_BRIDGE_IMP"] = 0x289A37BE5D6CCeF7A8f2b90535B3BB6bD3905f72; | ||
addr["L2_MESSENGER"] = 0x4200000000000000000000000000000000000007; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// SPDX-FileCopyrightText: © 2021 Dai Foundation <www.daifoundation.org> | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
pragma solidity 0.8.16; | ||
|
||
contract Deployers { | ||
|
||
address[] public addr; | ||
|
||
constructor() { | ||
addr = [ | ||
0xdDb108893104dE4E1C6d0E47c42237dB4E617ACc, | ||
0xDa0FaB05039809e63C5D068c897c3e602fA97457, | ||
0xda0fab060e6cc7b1C0AA105d29Bd50D71f036711, | ||
0xDA0FaB0700A4389F6E6679aBAb1692B4601ce9bf, | ||
0x0048d6225D1F3eA4385627eFDC5B4709Cab4A21c, | ||
0xd200790f62c8da69973e61d4936cfE4f356ccD07, | ||
0x92723e0bF280942B98bf2d1e832Bde9A3Bd2F2c2, // Chainlog Deployer | ||
0xdA0C0de01d90A5933692Edf03c7cE946C7c50445, // Old PE | ||
0xDa0c0De020F80d43dde58c2653aa73d28Df1fBe1, // Old PE | ||
0xC1E6d8136441FC66612Df3584007f7CB68765e5D, // PE | ||
0xa22A61c233d7242728b4255420063c92fc1AEBb9, // PE | ||
0x4D6fbF888c374D7964D56144dE0C0cFBd49750D3, // Oracles | ||
0x1f42e41A34B71606FcC60b4e624243b365D99745, // Oracles | ||
0x075da589886BA445d7c7e81c472059dE7AE65250, // Used for Optimism & Arbitrum bridge contracts | ||
0x7f06941997C7778E7B734fE55f7353f554B06d7d, // Starknet | ||
0xb27B6fa77D7FBf3C1BD34B0f7DA59b39D3DB0f7e, // CES | ||
0x39aBD7819E5632Fa06D2ECBba45Dca5c90687EE3, // Oracles from 2022-10-26 | ||
0x45Ea4FADf8Db54DF5a96774167547893e0b4D6A5, // CES from 2022-10-26 | ||
0x5C82d7Eafd66d7f5edC2b844860BfD93C3B0474f, // CES from 2022-12-09 | ||
0x34DBF275E1Df79D1fC7bf6a37feC56A8b1057490, // Sidestream from 2023-05-17 | ||
0xd1236a6A111879d9862f8374BA15344b6B233Fbd, // Phoenix Labs from 2023-05-24 | ||
0xfaAD873aDF27bE64D6E27D40Cf2AF0037d39b2eA, // Deployer of FlapperUniv2 | ||
0xa44E7F0cEfbdA0aEb5fdf6228acA9b9F069CC1F1, // Dewiz from 2024-01-12 | ||
0x548DAc55f260AA4631F589Cb2fe72b5E9E4C93Dc, // EG_01 | ||
0x4Ec216c476175a236BD70026b984D4adECa0cfb8, // EG_02 | ||
0xEAB682cfE848FE2b42DA69a2591369EF589e8F27, // EG_03 | ||
0x54eAde20f7DD1A67624626A3DB9408185eD0039e, // EG_04 | ||
0x4E65a603a9170fa572E276D1B70D6295D433bAc5, // EG_05 | ||
0xD6ec7a1b1f4c42C5208fF68b2436Fab8CC593fB7 // EG_06 | ||
// 0x02416B99202081F6b90851e35682Ca90D547054c. // Deployer for Spark 2023-08-02 | ||
// 0x4953BAe71F6F06b717F7A99DdBe08Cb991412d4D. // Deployer for Spark 2023-08-30 | ||
// 0x04a733f946C0aD8E2773d9A3891A8CCeD900a0F8. // Deployer for Spark 2023-09-13 | ||
]; | ||
} | ||
|
||
function count() external view returns (uint256) { | ||
return addr.length; | ||
} | ||
} |
Oops, something went wrong.