4 Open Issues Need Help Last updated: Jun 29, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Enhance the existing PolicyManager v2 smart contract to improve subscription tracking. This involves adding functionality to retrieve subscription details (policy ID and timestamp) for a specific farmer using their FarmerID across seasons. A new function should be added to fetch all historical subscribers for a given policy ID and season. The solution must be compatible with the existing `resetSeasonState()` function and should consider emitting events for improved tracking.

Complexity: 4/5
enhancement help wanted

AI Summary: Integrate an external ITreasury interface into the existing Solidity smart contract for a blockchain-based drought insurance platform. This involves creating a function to deposit premiums into the treasury contract instead of holding them within the PolicyManager contract, ensuring secure transfer and emitting a PremiumDeposited event for transparency. The ITreasury interface needs to be defined and implemented securely.

Complexity: 3/5
enhancement help wanted

AI Summary: Implement seasonal support and upgradeability in a Solidity smart contract for a drought insurance platform. This involves adding season information (start/end dates) to policies, creating a `resetSeasonState()` function to clear data for new seasons, updating subscription logic to handle seasonal policies, and emitting a `SeasonReset` event. The goal is to make the insurance system more flexible and adaptable to different crop seasons.

Complexity: 4/5
enhancement help wanted

AI Summary: Implement a new 'TMSeasonal' policy type in a blockchain-based drought insurance platform. This involves adding fields for season start, end, and subscription deadlines to the smart contract, validating subscriptions against these deadlines, and emitting a new event upon successful subscription. The goal is to allow farmers to purchase insurance policies aligned with specific planting and harvesting seasons.

Complexity: 4/5
enhancement help wanted