Expand description
documents_batch
Modules§
- batched_
transition - batched transition
- v0
- v0
Structs§
- Resolved
Contract Group Memberships - A contract’s group memberships as the batch transformer read them, with the fee of that read. The fee travels with the data, like a contract’s fetch info: the transformer does not bill it, the check that uses the answer does, so a batch signed by an ordinary key pays nothing for it.
- Resolved
Document Action Fee - The action fee one document transition of a batch owes (protocol version 14): what its document type declares for the action, priced for the epoch the batch executes in.
- Resolved
GasSponsor - The contract owner a batch asks to pay its gas, with the balance the batch transformer read for them. Resolved from protocol version 14, and only when the contract owner is not the batch’s own signer: fee validation checks the fee against this balance, and execution charges this identity instead of the signer when it covers the fee. A batch that failed validation is never sponsored, whatever it asked for: its signer pays for the work that ran.
Enums§
- Batch
Transition Action - documents batch transition action
- GasPayer
- Who pays the gas of a whole batch, as
GasFeesPaidBy::resolvenames it for each of its transitions
Functions§
- action_
fee_ operations - The operations that charge
action_feestopayer_id: one removal from the payer’s balance and one addition per contract fee pot that receives something. Empty when nothing is owed. - action_
fees_ total - What
payer_idowes for all ofaction_fees.