Skip to main content

Module contract_fee_claim_transition

Module contract_fee_claim_transition 

Source
Expand description

Pays out one of the two fee pots of a data contract (protocol version 14).

A document type may charge a fixed fee in credits for actions on its documents (the actionFees keyword). The owner parts collect in the contract’s owner pot and the moderators parts in its moderators pot. This transition names a pot and pays it out: the owner pot to the contract owner, who alone may claim it, and the moderators pot, which any member of the contract’s moderation team may claim, in equal shares to the whole team. What an equal split leaves over stays in the pot.

A pot is paid out at most once per epoch; the two pots are independent. Signed with a CRITICAL authentication key, and paid for by the claimant like any other transition.

Re-exports§

pub use crate::data_contract::document_type::action_fees::ContractFeePot;

Modules§

accessors
fields
methods
v0

Enums§

ContractFeeClaimTransition
ContractFeeClaimTransitionSignable