-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInitializer.sol
30 lines (26 loc) · 1.91 KB
/
Initializer.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.7;
/**
* $$$$$$$\ $$\ $$$$$$$$\ $$\
* $$ __$$\ $$ | $$ _____|\__|
* $$ | $$ | $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$ | $$ | $$\ $$$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$$\ $$$$$$\
* $$$$$$$\ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$ | $$$$$\ $$ |$$ __$$\ \____$$\ $$ __$$\ $$ _____|$$ __$$\
* $$ __$$\ $$ / $$ |$$ / $$ |$$ / $$ |$$$$$$$$ |$$ / $$ | $$ __| $$ |$$ | $$ | $$$$$$$ |$$ | $$ |$$ / $$$$$$$$ |
* $$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ |$$ ____|$$ | $$ | $$ | $$ |$$ | $$ |$$ __$$ |$$ | $$ |$$ | $$ ____|
* $$$$$$$ |\$$$$$$ |\$$$$$$$ |\$$$$$$$ |\$$$$$$$\ \$$$$$$$ |$$\ $$ | $$ |$$ | $$ |\$$$$$$$ |$$ | $$ |\$$$$$$$\ \$$$$$$$\
* \_______/ \______/ \____$$ | \____$$ | \_______| \_______|\__|\__| \__|\__| \__| \_______|\__| \__| \_______| \_______|
* $$\ $$ |$$\ $$ |
* \$$$$$$ |\$$$$$$ |
* \______/ \______/
*
* https://bogged.finance/
*/
import "./LibCoreStorage.sol";
// Provides cross-compatibility with current V2 router
contract Initializer {
function initialize() external {
LibCoreStorage.coreStorage().implementations[0xcfeb176e] = 0x6bBf1fa4a7eE6525F36aE8ffb6ee22DD009351E3;
LibCoreStorage.coreStorage().implementations[0xe0f4e5b2] = 0x6bBf1fa4a7eE6525F36aE8ffb6ee22DD009351E3;
LibCoreStorage.coreStorage().implementations[0xdc056eff] = 0x6bBf1fa4a7eE6525F36aE8ffb6ee22DD009351E3;
}
}