Re-exports§
pub use state_transitions::*;
Modules§
Structs§
- Json
State Transition Serialization Options - State
Transition Signing Options - The state transition signing options
- Witness
Validation Result - Result of witness validation, containing both the validation result and the operations performed.
Enums§
Constants§
- DATA_
CONTRACT_ TRANSITION_ TYPES - DOCUMENT_
TRANSITION_ TYPES - IDENTITY_
TRANSITION_ TYPE - VOTING_
TRANSITION_ TYPE
Traits§
- Feature
Versioned - State
Transition Address Estimated FeeValidation - Trait for validating that address-based state transitions have sufficient funds for fees.
- State
Transition Addresses FeeStrategy - Trait for state transitions that use an address-based fee strategy.
- State
Transition Estimated FeeValidation - Trait for estimating fees for state transitions.
- State
Transition Field Types - The trait contains methods related to conversion of StateTransition into different formats
- State
Transition HasUser FeeIncrease - Trait for state transitions that support a user-adjustable fee increase.
- State
Transition Identity Estimated FeeValidation - Trait for validating that identity-based state transitions have sufficient funds for fees.
- State
Transition Identity IdFrom Inputs - State
Transition Identity Signed - State
Transition Json Convert - The trait contains methods related to conversion of StateTransition into different formats
- State
Transition Like - The StateTransitionLike represents set of methods that are shared for all types of State Transition.
Every type of state transition should also implement Debug, Clone, and support conversion to compounded
StateTransition - State
Transition Owned - State
Transition Single Signed - State
Transition Structure Validation - Trait for validating the structure of a state transition
- State
Transition Value Convert - The trait contains methods related to conversion of StateTransition into different formats
- State
Transition Witness Signed - State
Transition Witness Validation - Trait for validating input witnesses against signable bytes.
Functions§
- get_
compressed_ public_ ec_ key - identity_
id_ from_ input_ addresses - Helper that computes the identity ID from input addresses and nonces. Nonces should represent state after creation of the identity (eg. be incremented by 1).