Skip to content

fix: Corrected Grammatical Errors in Documentation #356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ERC1155 bridging from L1 to L2 is done via the L1ERC1155Gateway. Similarly to ER

<Aside type="tip" title="">
**`depositERC1155`** is a payable function, and the amount of ETH sent to this function will be used to pay for L2
fees. If the amount is not enough, the transaction will not be sent. All excess eth will be sent back to the sender.
fees. If the amount is not enough, the transaction will not be sent. All excess ETH will be sent back to the sender.
`0.00001 ETH` should be more than enough to process a token deposit.
</Aside>

Expand Down Expand Up @@ -87,7 +87,7 @@ The `L2ERC1155Gateway` contract is used to send tokens from L2 to L1. Before bri

<Aside type="caution" title="">
**Make sure the transaction won't revert on L1** while sending from L2. There is no way to recover tokens bridged if
you're transaction reverts on L1. All assets are burnt on L2 when the transaction is sent, and it's impossible to mint
your transaction reverts on L1. All assets are burnt on L2 when the transaction is sent, and it's impossible to mint
them again.
</Aside>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import Aside from "../../../../../components/Aside.astro"

NFT bridging from L1 to L2 is done via the `L1ERC721Gateway` contract instead of using a router. Similarly to bridging ERC20 tokens, we use the `depositERC721` function to send tokens to L2, and we can later retrieve them back to L1 using `withdrawERC721` on the `L2ERC721Gateway` contract deployed on L2.

NFT contracts on both L1 and l2 must be launched and connected through the Gateways to enable bridging. This means deposit and withdraw transactions will revert if a contract on either L1 or L2 is missing or not mapped through the `updateTokenMapping` function.
NFT contracts on both L1 and L2 must be launched and connected through the Gateways to enable bridging. This means deposit and withdraw transactions will revert if a contract on either L1 or L2 is missing or not mapped through the `updateTokenMapping` function.

<Aside type="tip" title="">
**`depositERC721`** is a payable function. The amount of ETH sent to this function will be used to pay for L2 fees. If
the amount is not enough, the transaction will not be sent. All excess eth will be sent back to the sender. `0.00001
the amount is not enough, the transaction will not be sent. All excess ETH will be sent back to the sender. `0.00001
ETH` should be more than enough to process a token deposit.
</Aside>

Expand Down