This is a Foundry repo for the set of custom Ozean L2 smart contracts.
forge test -vvv
forge coverage --report lcov
- Run the following deployment script, replacing the
{$PRIVATE_KEY}
,{$PATH}
, and{$RPC_URL}
values as necessary:forge script {$PATH} --private-key {$PRIVATE_KEY --rpc-url {$RPC_URL} --broadcast
- Produce the standard input JSON file using the following command:
forge verify-contract --compiler-version 0.8.28 --show-standard-json-input {$CONTRACT_ADDRESS} {$CONTRACT_NAME}
- Use the produced file to verify the contract on the relevant block explorers.
- Consult this documentation for more information.
Contract | Address |
---|---|
LGE Staking | 0xdD4297dECCE33fdA78dB8330832b51F3df610db9 |
The USDX (Basic ERC20)
contract is a basic ERC20 token that allows for infinite minting and is a simple stand-in for USDX on Sepolia. In contrast, the USDX (Hex Trust L0 Path)
contract has been deployed by Hex Trust and is the official testnet deployment related to this repo. Layer Zero is not currently supported on the Ozean testnet and so in order to produce an E2E test flow the USDX bridging, the Flare testnet in used instead.
Note that the USDXBridgeAlt
contract does not have minting rights for USDX, and needs to be seeded with tokens for the bridge to work. Additionally, the bridge is configured for the Flare Testnet.
Testnet tokens can be minted for free from the Aave Faucet.
Contract | Address |
---|---|
USDX (Basic ERC20) | 0x43bd82D1e29a1bEC03AfD11D5a3252779b8c760c |
USDX (Hex Trust L0 Path) | 0x5DB6dA53eF70870f20d3E90Fa7c518A95C4B1563 |
USDX Bridge Alt (L0 Flare Path) | 0x14D72e0C6f6b1117CfBF6a66C79158c8d6a18bC7 |
USDX Bridge (OP Standard Bridge Path) | 0x6Fbd0016A8e43e34890A1322C1934D5D7D45f0E1 |
LGE Staking | 0xBAFAAfC8E2d8F6Ebf9Fa49646C36D640B4e07203 |
TBD...
Contract | Address |
---|---|
USDX (OP Standard Bridge Path) | 0xe29f6fbc4CB3F01e2D38F0Aab7D8861285EE9C36 |
ozUSDV2 (OP Standard Bridge Path) | 0x743af9531E0f9944E42C2a74D9C65514925d6830 |
Contract | Address |
---|---|
USDX (L0 Flare Path) | 0x6ccB96ae6D52e88ed2269288F5e47bD2914C2785 |