Skip to content

[FUNCTION] implement get_pool_remaining_time #90

@Akshola00

Description

@Akshola00

[FUNCTION] implement get_pool_remaining_time

  • Title: Calculate time remaining for a pool.
  • Description: Return the seconds left until the pool deadline in a safe way.
  • Requirements:
    • Handle cases where the deadline has already passed (return 0).
    • Test: Mock ledger timestamp to verify calculation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions