Skip to content

Commit

Permalink
fix minor mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
thurendous committed Jul 28, 2024
1 parent 71ee97a commit c57a633
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
Binary file modified Languages/ja/19_Fallback_ja/img/19-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion Languages/ja/24_Create_ja/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ contract PairFactory {

ファクトリコントラクト(`PairFactory`)は2つの状態変数があります。`getPair`は2つのトークンアドレスからペアアドレスを取得するためのマップ変数です。`allPairs`はすべてのペアアドレスを格納する配列です。

`PairFactory`合约只有一个`createPair`函数,根据输入的两个代币地址`tokenA``tokenB`来创建新的`Pair`合约。其中
`PairFactory`コントラクトは一つの`createPair`関数しかありません。入力された2つのトークンアドレス`tokenA``tokenB`に基づいて新しい`Pair`コントラクトを作成します。
(実際のコントラクトはトークンペアの作成がすでにあるかチェックするコードがあるが、ここでは省いていると思われます)

Expand Down

0 comments on commit c57a633

Please sign in to comment.