Skip to content

Miracleokaa/iln smart contract - #624

Merged
Levi-Ojukwu merged 3 commits into
Invoice-Liquidity-Network:mainfrom
miracleokaa:miracleokaa/ILN-Smart-Contract
Jul 29, 2026
Merged

Miracleokaa/iln smart contract#624
Levi-Ojukwu merged 3 commits into
Invoice-Liquidity-Network:mainfrom
miracleokaa:miracleokaa/ILN-Smart-Contract

Conversation

@miracleokaa

Copy link
Copy Markdown
Contributor

Summary

I enhanced the insurance pool events documentation with detailed descriptions and examples for the enrolled, premium, and claimed events. I implemented a new dispute CLI command that allows payers to challenge invoices with proper validation and comprehensive test coverage. I fixed the SDK's markPaid method by removing the incorrect payerAddress argument and correcting the argument order to match the contract's signature.

Package Affected

  • SDK (@iln/sdk)
  • CLI (@iln/cli)
  • Indexer (@iln/indexer)
  • Notifications
  • Smart Contracts (invoice_liquidity, iln_governance, iln_distribution, reputation_bonus)
  • E2E Tests
  • Documentation
  • CI/CD

Related Issue

Closes #404
Closes #414
Closes #595

Complexity

  • Trivial (typo, docs, small refactor)
  • Medium (new feature, bug fix)
  • High (major refactor, breaking change, security-critical)

Changes Made

Changeset Included

  • Yes
  • No (not needed for this change)

Test Evidence

# Example:
# cargo test
# running 15 tests
# test result: ok. 15 passed; 0 failed
Test output

Breaking Change

  • Yes (migration notes below)
  • No

Migration Notes

Security Considerations

Checklist

  • Code follows project conventions (see CONTRIBUTING.md)
  • Tests added/updated and passing
  • Documentation updated (if needed)
  • Commit message follows Conventional Commits
  • No secrets or sensitive data in code
  • Breaking changes documented (if applicable)
  • Changeset added (if needed for release)

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@miracleokaa Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Levi-Ojukwu
Levi-Ojukwu merged commit 0161ab3 into Invoice-Liquidity-Network:main Jul 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ix SDK markPaid incorrect argument order and extra argument Add dispute CLI command Add insurance pool events to docs/events.md

2 participants