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

SplitsCreatorのロジックを微調整 #280

Open
yu23ki14 opened this issue Jan 27, 2025 · 0 comments
Open

SplitsCreatorのロジックを微調整 #280

yu23ki14 opened this issue Jan 27, 2025 · 0 comments
Assignees
Labels
Middle Priority Middle

Comments

@yu23ki14
Copy link
Member

SplitsCreator.solのcreate関数で分配対象者をフィルターするロジックを厳密化する。
以下の条件に合うものだけを対象にする。_splitsInfoの引数で渡されても条件に合わない場合はコントラクト側で弾くようにする。

  • HatのhatStatusがactiveであること。Hat自体のステータス確認をHat.solのisActiveでtrueであることを確認する。statusはsetHatStatus関数でセットできるが現状Toban上ではできるようにしていない。
  • HatをAddressが持っている
  • HatのWoreTimeが未来じゃない
@yu23ki14 yu23ki14 added the Middle Priority Middle label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Middle Priority Middle
Projects
None yet
Development

No branches or pull requests

2 participants