Module contract

Source

Modules§

assignments
seal

Structs§

Assignments
AttachId
Unique data attachment identifier
BlindingFactor
Blinding factor used in creating Pedersen commitment to an [AtomicValue].
BundleId
Unique state transition bundle identifier equivalent to the bundle commitment hash
BundleItem
ConcealedAttach
Confidential version of an attachment information.
ConcealedData
Confidential version of an structured state data.
ConcealedValue
Confidential version of the additive state.
ContractHistory
Contract history accumulates raw data from the contract history, extracted from a series of consignments over the time. It does consensus ordering of the state data, but it doesn’t interpret or validates the state against the schema.
ContractId
Unique contract identifier equivalent to the contract genesis commitment
ContractState
Contract state provides API to read consensus-valid data from the ContractHistory.
Extension
FieldOrderOverflow
value provided for a blinding factor overflows prime field order for Secp256k1 curve.
Genesis
GlobalOrd
GlobalState
GlobalValues
Input
Inputs
NoiseDumb
A dumb placeholder for a future bulletproofs.
OpId
Unique operation (genesis, extensions & state transition) identifier equivalent to the commitment hash
Opout
RGB contract operation output pointer, defined by the operation ID and output number.
OutputAssignment
PedersenCommitment
Opaque type holding pedersen commitment for an FungibleState.
Redeemed
RevealedAttach
RevealedData
RevealedValue
State item for a homomorphically-encryptable state.
SecretSeal
Blind version of transaction outpoint-based single-use-seal
Transition
TransitionBundle
Valencies
VoidState
Struct using for storing Void (i.e. absent) state
WitnessAnchor
Txid and height information ordered according to the RGB consensus rules.
WitnessHeight

Enums§

Assign
State data are assigned to a seal definition, which means that they are owned by a person controlling spending of the seal UTXO, unless the seal is closed, indicating that a transfer of ownership had taken place
AssignmentsRef
FungibleState
An atom of an additive state, which thus can be monomorphically encrypted.
OpRef
OpoutParseError
RangeProof
Range proof value.
RangeProofError
Errors verifying range proofs.
SealWitness
StateCommitment
StateData
Categories of the state
StateType
Categories of the state
TypedAssigns
WitnessOrd
RGB consensus information about the current mined height of a witness transaction defining the ordering of the contract state data.

Traits§

ConfidentialState
Marker trait for types of state which are just a commitment to the actual state data.
ExposedSeal
ExposedState
Marker trait for types of state holding explicit state data.
Operation
RGB contract operation API, defined as trait
TxoSeal
Methods common for all transaction-output based seal types.

Type Aliases§

AssignAttach
AssignData
AssignFungible
AssignRights
AttachOutput
DataOutput
FungibleOutput
GenesisSeal
Seal type which can be blinded, but can’t be chained with other seals.
GraphSeal
Seal type which can be blinded and chained with other seals.
RightsOutput