Skip to content

Commit df166b6

Browse files
authored
Feat: Setup OFT on destination chains (#2)
* build: fraxfinance/layerzero-v2-upgradeable * feat: FraxOFTUpgradeable * build: fix * fix(deploy): deployment addr/order * refactor: deployFraxOFTUpgradeablesAndProxies * feat: setPeers * feat: admin role setup * refactor: bytes conversion, initial state check * feat: ProxyAdmin * feat: setEnforcedOptions * feat: set DVNs * fix: build * pass until setDVNs() * feat: setSendReceiveLibraries() * feat: deploy local passes * docs: notice on resolving failed `setSendAndReceiveLibrary()` * fix: use default send/receive lib * fix: blast EID * build: deploy addrs * deploy: final script for Mode * ops: deploy v1.0.0 * fix: deterministic ProxyAdmin * feat: deterministic proxy addr * feat: ImplementationMock * ops: deploy v0.1.0 * refactor: load in configs * refactor: configs array * feat: postDeployChecks * refactor: numOfts with enforcement * refactor: setDVNs, setEnforcedOptions, setPeers * fix: skip set to self * feat: setupDestinations() * fix: build * refactor: setupDestination() * feat: output json of setupDestination * refactor: setupSource() * feat: pre-deterministic TransparentUpgradeableProxy * ops: v1.0.0 ready
1 parent f8cdb55 commit df166b6

10 files changed

+1725
-179
lines changed

.env.example

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
# .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-
2-
# / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \
3-
# `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-'
4-
#
5-
# Example environment configuration
6-
#
7-
# .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-
8-
# / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \
9-
# `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-'
10-
11-
# By default, the examples support both mnemonic-based and private key-based authentication
12-
#
13-
# You don't need to set both of these values, just pick the one that you prefer and set that one
14-
MNEMONIC=
15-
PRIVATE_KEY=
16-
17-
OFT_DEPLOYER=0x2b4309B7cd184C7E3e7BA3bf6CA938c6A37FDCC4
1+
OFT_DEPLOYER=0x909DBdE1eBE906Af95660033e478D59EFe831fED
182
PK_OFT_DEPLOYER=
19-
CONFIG_DEPLOYER=0x19D0467ab629f9Ef1cD51732dacF6dA74cE9CFF6
3+
CONFIG_DEPLOYER=0x3DdD463472Bc839a616042E05C825C6910DB12b0
204
PK_CONFIG_DEPLOYER=
21-
DELEGATE=
225

23-
MODE_RPC_URL=https://mainnet.mode.network/
6+
RPC_URL=https://mainnet.mode.network/

foundry.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ libs = [
1414
'node_modules/@layerzerolabs/toolbox-foundry/lib',
1515
'node_modules',
1616
]
17+
fs_permissions = [{ access = "read-write", path = "./"}]
1718

1819
remappings = [
1920
# Due to a misconfiguration of solidity-bytes-utils, an outdated version

0 commit comments

Comments
 (0)