model library

Classes

Amount
ArbitAmount
Utility class to easily convert amounts of Arbit into different units of quantities.
ArbitAmountConverter
ArbitAmountNullableConverter
ArbitBox
Box that contains arbits as well as the ArbitBox that it is owned by a particular address
ArbitTransaction
AssetAmount
Utility class to deserialize asset quantities. This may be updated as we understand more about the use cases for assets
AssetAmountConverter
AssetBox
Box that contains assets which is owned by a particular address
AssetCode
AssetCode serves as a unique identifier for user issued assets
AssetRecipient
AssetTransaction
Balance
The amounts for polys and arbits are displayed as 10^-9 of the respective denomination
Block
BlockNum
For operations that are reading data from the blockchain without making a transaction that would modify it, the Bifrost client can read that data from previous states of the blockchain as well. This class specifies which state to use.
BlockResponse
Box<T>
BoxId<T>
BoxIdConverter
Evidence
GenericBox<T>
ModifierId
ModifierIdConverter
NodeViewModifier
It is supposed that all the modifiers (offchain transactions, blocks, blockheaders etc) have identifiers of the some length fixed with the ModifierIdSize constant
PolyAmount
Utility class to easily convert amounts of Poly into different units of quantities.
PolyAmountConverter
PolyAmountNullableConverter
PolyBox
Box that contains polys which is owned by a particular address
PolyTransaction
Proposition
Propositions are challenges that must be satisfied by the prover. In most cases, propositions are used by transactions issuers (spenders) to prove the right to use a UTXO in a transaction.
PropositionConverter
SecurityRoot
Sender
SignatureContainer
SimpleRecipient
TokenBox
Transaction
TransactionReceipt

Properties

formatter → DateFormat
final

Typedefs

BoxType = int
EvidenceTypePrefix = int
Evidence content serves as a fingerprint (or commitment) of a particular proposition that is used to lock a box. Boxes are locked with 'Evidence' which is the concatentation of a typePrefix ++ content. The type prefix denotes what type of proposition the content references and the content serves as the commitment that a proposition will be checked against when a box is being unlocked during a transaction.
M = NodeViewModifier
ModifierTypeId = int
Nonce = String
TxType = int