Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions contracts/split/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,13 @@ pub struct PaymentFingerprint {
#[contracttype]
#[derive(Clone, Debug)]
pub struct InvoiceOptions {
/// Additional creators who share ownership/rights over the invoice.
pub co_creators: Vec<Address>,
/// When true, payers may withdraw their contribution before the deadline.
pub allow_early_withdrawal: bool,
/// Size of the bonus pool funded alongside the invoice, in token units.
pub bonus_pool: i128,
/// Maximum number of distinct payers that may contribute to the bonus pool.
pub bonus_max_payers: u32,
/// Optional creator cosigner address that must co-author creator actions.
pub creator_cosigner: Option<Address>,
Expand Down