Skip to content

docs: add field-level doc-comments to InvoiceOptions (#701) - #723

Closed
ayomidearegbeshola29-dev wants to merge 1 commit into
Stellar-split:mainfrom
ayomidearegbeshola29-dev:fix/issue-701-invoiceoptions-docs
Closed

docs: add field-level doc-comments to InvoiceOptions (#701)#723
ayomidearegbeshola29-dev wants to merge 1 commit into
Stellar-split:mainfrom
ayomidearegbeshola29-dev:fix/issue-701-invoiceoptions-docs

Conversation

@ayomidearegbeshola29-dev

Copy link
Copy Markdown

Add field-level doc-comments to InvoiceOptions

Summary

Closes #701

InvoiceOptions (contracts/split/src/types.rs) is the public input struct
callers fill in for create_invoice. Most fields already carried /// Issue #NN
notes, but four never-documented fields were left without any explanation. This
PR adds concise /// doc comments to those four fields: co_creators,
allow_early_withdrawal, bonus_pool, and bonus_max_payers.

What changed

  • co_creators — additional creators who share ownership/rights over the invoice.
  • allow_early_withdrawal — when true, payers may withdraw before the deadline.
  • bonus_pool — size of the bonus pool funded alongside the invoice.
  • bonus_max_payers — max distinct payers that may fund the bonus pool.

All other fields are unchanged (their existing issue-referenced comments remain).

Verification

Documentation-only; compiles unaffected. (CI on main is red for unrelated,
pre-existing reasons documented in the other split PRs.)

closes #701

@ayomidearegbeshola29-dev

Copy link
Copy Markdown
Author

Re-homed: PR now opened from assignee account gabrielujelistic-collab (replacement #728-#731).

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.

Add field-level doc-comments to InvoiceOptions struct

1 participant