Skip to content
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

Fix calculation formula for gas fees in ja/MEV [#11782] #11783

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/content/translations/ja/developers/docs/mev/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ lang: ja

### ガス・ゴルフ {#mev-extraction-gas-golfing}

上記の力学に基づき、「ガス・ゴルフ(gas golfing)」(ガス代が最も安価になるようにトランザクションをプログラミングすること)の能力が競合上の優位性として確立されています。ガス・ゴルフにより、サーチャーはより高価なガス代を設定しつつ、ガス代の合計額を一定に抑えられるためです(ガス代=ガス価格 ÷ 使用ガス量)。
上記の力学に基づき、「ガス・ゴルフ(gas golfing)」(ガス代が最も安価になるようにトランザクションをプログラミングすること)の能力が競合上の優位性として確立されています。ガス・ゴルフにより、サーチャーはより高価なガス代を設定しつつ、ガス代の合計額を一定に抑えられるためです(ガス代=ガス価格 × 使用ガス量)。

よく知られているガス・ゴルフのテクニックとしては、以下があります:多くのゼロを持つ文字列で始まるアドレス (例: [0x0000000000C521824EaFf97Eac7B73B084ef9306](https://etherscan.io/address/0x0000000000c521824eaff97eac7b73b084ef9306)) を使う方法では、保存スペースが小さくなるためガス代も低くなります。あるいは、少額の[ERC-20](/developers/docs/standards/tokens/erc-20/) トークン残高をコントラクトに残しておく方法もありますが、これは(残高が 0 の場合に)ストレージスロットを初期化すると、 ストレージスロットを更新する場合よりも多くのガスが消費される点を利用したものです。 サーチャーのコミュニティでは、ガスの使用量を減らすためのテクニックが活発に研究されています。

Expand Down
Loading