From 308564fc16dca198baad10c5baecbfef3c424572 Mon Sep 17 00:00:00 2001 From: seltosoj <134366239+seltosoj@users.noreply.github.com> Date: Tue, 13 Jun 2023 13:51:35 +0700 Subject: [PATCH 1/2] Create README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..68f7f3f --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Level Brigde tokens based on layerzero stack + + ### Install & Run tests +```shell +forge build +forge test +``` + +## C2LevelToken.sol +- This is Level Token Contract on Arbitrum +- Only Bridge Controller allowed to mint + +## BridgeController.sol +- This contract is Bridge Controller on BNB Chain +- Saved LVL tokens sent from BNB +- Transfer LVL tokens to user if bridge request validated + +## C2BridgeController.sol +- This contract is Bridge Controller on Arbitrum +- Burn LVL tokens sent from Arbitrum +- Mint LVL tokens to user if bridge request validated + +## BridgeProxy.sol +This contract communicate with layerzero protocol (send/receive message) From f97b849a346cd006ce27358c2e60ef35f659d940 Mon Sep 17 00:00:00 2001 From: seltosoj <134366239+seltosoj@users.noreply.github.com> Date: Tue, 13 Jun 2023 15:12:07 +0700 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68f7f3f..c132fe0 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ forge test ## BridgeController.sol - This contract is Bridge Controller on BNB Chain -- Saved LVL tokens sent from BNB -- Transfer LVL tokens to user if bridge request validated +- Lock LVL tokens sent from BNB +- Unlock LVL tokens to user if bridge request validated ## C2BridgeController.sol - This contract is Bridge Controller on Arbitrum