Open Issues Need Help
View All on GitHubAI Summary: This issue requests the creation of unit tests for various utility functions within the SafiGuard project. The tests should cover formatting, conversion, validation, and calculation logic for functions like `truncateAddress`, `stroopsToXLM`, `formatCurrency`, and others, ensuring 100% code coverage for these utility functions.
AI Summary: This issue involves building a frontend component to display a farmer's payout history. It requires listing payouts with details like date, amount, and transaction links, and also implementing a feature to download a PDF receipt for each payout. The component should be responsive and handle loading and empty states.
AI Summary: This issue requests the development of a standalone frontend component for a premium calculator. Farmers will use this component to estimate insurance premiums based on various parameters like coverage amount, region, and season length, with real-time updates and a detailed breakdown of the premium. The component should also include a "Buy This Policy" call-to-action button and adhere to accessibility standards.
AI Summary: This issue involves implementing read-only query functions for the Oracle Consumer contract on Soroban. These functions will allow external services to retrieve weather reports and monitor the oracle's health by accessing stored data. The implementation is described as straightforward, focusing on data retrieval without state modifications.
AI Summary: This issue involves implementing read-only query functions for the Soroban Payout Engine contract. The goal is to allow external services to retrieve payout records, such as individual payouts, payouts by policy, total payout count, and recent payouts. These functions are essential for displaying payout history and claims on a dashboard.
AI Summary: This issue requires the implementation of a pure Rust function `calculate_multiplier` for the Soroban Payout Engine. The function will take a weather event severity score (0-1000) and return a payout multiplier (0-1000) based on a defined graduated scale. It needs to handle edge cases like negative or excessively high severity inputs and ensure deterministic output.
AI Summary: This issue requires adding event emissions to the Weather Policy contract on Soroban for all policy lifecycle events. These events are crucial for frontend real-time updates, analytics, and auditing. The task involves integrating `env.events().publish()` calls with structured event data into existing functions, following specific acceptance criteria for each event type.
AI Summary: This issue requires implementing several read-only query functions for the Weather Policy contract on Soroban. These functions will allow external entities to retrieve policy data, such as individual policies, policies by user or region, active policies, and the total policy count, without altering the contract's state. The goal is to provide efficient data retrieval for frontend dashboards and analytics.