From c6608c9053193c3ec8b4fa39cd6f8e7c04da1810 Mon Sep 17 00:00:00 2001 From: osrm <90407222+osrm@users.noreply.github.com> Date: Sun, 10 Nov 2024 23:25:52 +0900 Subject: [PATCH 1/4] fix typo bend.md "which" is used twice. ("which which" -> "which") Signed-off-by: osrm <90407222+osrm@users.noreply.github.com> --- apps/core/content/learn/dapps/bend.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/core/content/learn/dapps/bend.md b/apps/core/content/learn/dapps/bend.md index 37e6d8f..a5397b7 100644 --- a/apps/core/content/learn/dapps/bend.md +++ b/apps/core/content/learn/dapps/bend.md @@ -29,6 +29,6 @@ Bend is Berachain's non-custodial lending protocol. Lenders participate by depos Berachain's native stablecoin [`$HONEY`](/learn/pol/tokens/honey), serves as the primary and exclusive token available for borrowing. -In addition, Bend is an implementation of [Proof-of-Liquidity Reward Vaults](/learn/pol/rewardvaults) which which allows borrowers to become eligible to receive [`$BGT`](/learn/pol/tokens/bgt) emissions. It also demonstrates how PoL can incentivize users to take different types of liquidity actions with dApps. +In addition, Bend is an implementation of [Proof-of-Liquidity Reward Vaults](/learn/pol/rewardvaults) which allows borrowers to become eligible to receive [`$BGT`](/learn/pol/tokens/bgt) emissions. It also demonstrates how PoL can incentivize users to take different types of liquidity actions with dApps. > To learn more, check out the {{config.websites.docsBend.name}}. From 7f08a00142c0416afc3fe271f9b0a3c17b930677 Mon Sep 17 00:00:00 2001 From: osrm <90407222+osrm@users.noreply.github.com> Date: Sun, 10 Nov 2024 23:27:09 +0900 Subject: [PATCH 2/4] fix typos create-helloworld-contract-using-hardhat.md "writting" -> "writing" "Hellworld" -> "Helloworld" Signed-off-by: osrm <90407222+osrm@users.noreply.github.com> --- .../guides/create-helloworld-contract-using-hardhat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/core/content/developers/guides/create-helloworld-contract-using-hardhat.md b/apps/core/content/developers/guides/create-helloworld-contract-using-hardhat.md index 8abf95b..cde3096 100644 --- a/apps/core/content/developers/guides/create-helloworld-contract-using-hardhat.md +++ b/apps/core/content/developers/guides/create-helloworld-contract-using-hardhat.md @@ -161,7 +161,7 @@ pnpm compile; # npm run compile or yarn run compil; ## Testing the HelloWorld Contract -Now that we have our contract, let's make sure it's working correctly by writting some tests. +Now that we have our contract, let's make sure it's working correctly by writing some tests. Hardhat already created a test file in our `/test` directory, and we're going to rename it. @@ -169,7 +169,7 @@ Hardhat already created a test file in our `/test` directory, and we're going to # FROM ./create-helloworld-contract-using-hardhat; # Renames `Lock.ts` to `HelloWorld.test.ts` -mv test/Lock.ts test/HellWorld.test.ts; +mv test/Lock.ts test/HelloWorld.test.ts; ``` In our new `HelloWorld.test.ts` file, we'll replace the existing code with the following: From 834e8be4ede2e66db40c81dff30397909e34b877 Mon Sep 17 00:00:00 2001 From: osrm <90407222+osrm@users.noreply.github.com> Date: Sun, 10 Nov 2024 23:29:40 +0900 Subject: [PATCH 3/4] fix typos and clean up create-erc20-contract-using-foundry.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "funning" → "running" "be defined" → "been defined" "compiles correctly by" → "compile correctly by" "revert and successful scenarios" → "reverts and successful scenarios" "to handle importing the wallet private key" → "to handle importing the wallet's private key" Signed-off-by: osrm <90407222+osrm@users.noreply.github.com> --- .../guides/create-erc20-contract-using-foundry.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/core/content/developers/guides/create-erc20-contract-using-foundry.md b/apps/core/content/developers/guides/create-erc20-contract-using-foundry.md index 0f087d2..f0ae525 100644 --- a/apps/core/content/developers/guides/create-erc20-contract-using-foundry.md +++ b/apps/core/content/developers/guides/create-erc20-contract-using-foundry.md @@ -67,7 +67,7 @@ If templated correctly, we should see the following structure: └── Counter.t.sol ``` -Now that all the code has been setup, install the dependencies needed for an ERC20 contract from [OpenZeppelin](https://github.com/OpenZeppelin/openzeppelin-contracts), by funning the following: +Now that all the code has been setup, install the dependencies needed for an ERC20 contract from [OpenZeppelin](https://github.com/OpenZeppelin/openzeppelin-contracts), by running the following: ```bash # FROM: ./create-erc20-contract-using-foundry @@ -110,7 +110,7 @@ contract BingBongToken is ERC20 { } ``` -Confirm that this compiles correctly by running the following: +Confirm that this compile correctly by running the following: ```bash # FROM: ./create-erc20-contract-using-foundry @@ -165,7 +165,7 @@ forge compile; With our newly renamed `BingBongToken.t.sol` file, add the following tests that cover a wide range of ERC20 tests. -Feel free to look at each individual test to get a better idea on how revert and successful scenarios are handled. +Feel free to look at each individual test to get a better idea on how reverts and successful scenarios are handled. **File:** `./test/BingBongToken.t.sol` @@ -400,7 +400,7 @@ forge test -vvv; # v stands for verbose and multiple vvv allow for more details ## Configuring Foundry for Berachain Contract Deployment -Now that the code and tests have all be defined, the next step is to create the deployment script needed to deploy the `BingBongToken.sol` file. To accomplish this, simply repurpose the script file `Course.s.sol` file as our new `BingBongToken.s.sol`. +Now that the code and tests have all been defined, the next step is to create the deployment script needed to deploy the `BingBongToken.sol` file. To accomplish this, simply repurpose the script file `Course.s.sol` file as our new `BingBongToken.s.sol`. ```bash # FROM: ./create-erc20-contract-using-foundry @@ -408,7 +408,7 @@ Now that the code and tests have all be defined, the next step is to create the mv script/Counter.s.sol script/BingBongToken.s.sol; ``` -Next, replace the existing code the following to handle importing the wallet private key, and deploying the contract. +Next, replace the existing code the following to handle importing the wallet's private key, and deploying the contract. **File:** `./script/BingBongToken.s.sol` From aba96ec3c9e3c288e65995d394907f0cbb63357c Mon Sep 17 00:00:00 2001 From: osrm <90407222+osrm@users.noreply.github.com> Date: Sun, 10 Nov 2024 23:30:31 +0900 Subject: [PATCH 4/4] fix typo bgt.md "elligible" -> "eligible" Signed-off-by: osrm <90407222+osrm@users.noreply.github.com> --- apps/berps/content/learn/tokens/bgt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/berps/content/learn/tokens/bgt.md b/apps/berps/content/learn/tokens/bgt.md index fe2945a..c393090 100644 --- a/apps/berps/content/learn/tokens/bgt.md +++ b/apps/berps/content/learn/tokens/bgt.md @@ -28,7 +28,7 @@ Berachain Governance Token (`$BGT`) is a soulbound