3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[翻訳] BinaryConfig【Bunzzスマートコントラクトモジュール】

Last updated at Posted at 2024-05-15

image.png

Binary Game 製品の BinayConfig モジュールは、Price Games の基本設定を提供します。1 つの BinaryConfig 契約は複数の Price Games に対応できます。

このモジュールとコードには、こちらからアクセスできます。

使用方法

  1. Bunzzを介してスマートコントラクトをデプロイします。デプロイ時に、デプロイヤーはtradingFeeclaimNoticePeriod、およびtreasuryのデフォルト値を設定する必要があります。
  2. オーナーはsetTradingFeesetClaimNoticePeriod、およびsetTreasury関数を呼び出して、これらの設定変数を更新できます。
  3. ユーザーはgetFeeBasegetTradingFeegetClaimNoticePeriod、およびgetTreasury関数を呼び出して、設定の詳細をクエリできます。

関数

#書き込み

  • renounceOwnership
  • setClaimNoticePeriod
  • setTradingFee
  • setTreasury
  • transferOwnership

#読み取り

  • claimNoticePeriod
  • FEE_BASE
  • getClaimNoticePeriod
  • getFeeBase
  • getTradingFee
  • getTreasury
  • owner
  • tradingFee
  • treasury

このモジュールとコードには、こちらからアクセスできます。



【Bunzz とは】
Bunzz はアジア最大級の DApps 開発インフラを運営する、web3×LLM におけるリーディングカンパニーです。「公共財としてのスマートコントラクト」の実現に向けて、各種 web3 インフラやサービスを開発・提供しております。

【Our Projects】

【Social Links】

【お問合せ】
web3 開発・コンサルティングのご相談はこちらから 👉Google Form

Bunzz R&D エンジニア荒巻さんの著書『スマートコントラクトの仕組みと法律』が好評発売中です 📕

『スマートコントラクトの仕組みと法律』(中央経済グループパブリッシング)

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?