Module bee_message::output

source ·
Expand description

A module that provides types and syntactic validations of outputs.

Structs

  • The identifier of an Output.
  • A SignatureLockedDustAllowanceOutput functions like a SignatureLockedSingleOutput but as a special property it is used to increase the allowance/amount of dust outputs on a given address.
  • An output type which can be unlocked via a signature. It deposits onto one single address.
  • TreasuryOutput is an output which holds the treasury of a network.

Enums

  • A generic output that can represent different types defining the deposit of funds.

Constants

Functions

  • The maximum number of allowed dust outputs on an address is dust_allowance_sum divided by DUST_ALLOWANCE_DIVISOR and rounded down, i.e. 10 outputs for each 1 Mi deposited. dust_allowance_sum is the sum of all the amounts of all unspent SigLockedDustAllowanceOutputs on this address. Regardless of dust_allowance_sum, the number of dust outputs must never exceed DUST_OUTPUTS_MAX per address.