Complexity / points: Medium (150 points) - maintainer label: points-150-medium
PR must include:
Problem
invoice-token is described as SEP-41 compliant, but the repo does not include a clear compliance mapping document.
Without explicit documentation, auditors and integrators must infer behavior from Rust source and tests, which slows review and increases misinterpretation risk.
Proposed change
Add a doc that maps this token implementation to the key SEP-41 requirements and documents any deviations.
Acceptance criteria
Dependencies
Recommended after token behavior tests are expanded (so behavior is well specified): [Testing] Expand invoice-token SEP-41 behavior tests.
Complexity / points: Medium (150 points) - maintainer label: points-150-medium
PR must include:
Closes #12in the PR descriptionunwrap()in production Soroban contract paths (project convention)cargo testpasses locally; match CI (cargo fmt,cargo clippy -D warnings) when touching RustProblem
invoice-tokenis described as SEP-41 compliant, but the repo does not include a clear compliance mapping document.Without explicit documentation, auditors and integrators must infer behavior from Rust source and tests, which slows review and increases misinterpretation risk.
Proposed change
Add a doc that maps this token implementation to the key SEP-41 requirements and documents any deviations.
Acceptance criteria
docs/SEP41_COMPLIANCE.md(or similarly named file)transfer,approve,transfer_frommint,burn,burn_fromtransfer_lockedrestriction) and how it affects standard flowstransfer,approve,mint,burn) and expected topic/data shapesdocs/API.mdorReadme.mdDependencies
Recommended after token behavior tests are expanded (so behavior is well specified):
[Testing] Expand invoice-token SEP-41 behavior tests.