Skip to main content

Module state_transition

Module state_transition 

Source
Expand description

The state_transition module

Modules§

address_credit_withdrawal
Module for validation of address credit withdrawal transitions
address_funding_from_asset_lock
Module for validation of address funding from asset lock transitions
address_funds_transfer
Module for validation of address funds transfer transitions
batch
Module containing functionality related to batch processing of documents.
contract_fee_claim
Module for paying out the fee pots a data contract’s document action fees collect in.
contract_user_moderation
Module for banning and suspending identities on a moderated data contract.
data_contract_common
Validation shared by the data contract create and update transitions.
data_contract_create
Module for creating a data contract entity.
data_contract_update
Module for updating an existing data contract entity.
identity_create
Module for creating an identity entity.
identity_create_from_addresses
Identity create from addresses
identity_create_from_shielded_pool
Module for identity-create-from-shielded-pool transition validation
identity_credit_transfer
Module for managing transfers of credit between identity entities.
identity_credit_transfer_to_addresses
Module for validation of credit transfer from an identity to addresses
identity_credit_withdrawal
Module for managing withdrawals of credit from an identity entity.
identity_key_limits_update
Module for raising the limits of an identity key.
identity_top_up
Module for topping up credit in an identity entity.
identity_top_up_from_shielded_pool
Identity top up from shielded pool (pool to an existing identity)
identity_update
Module for updating an existing identity entity.
masternode_vote
Module for voting from a masternode.
processor
State transition processor.
shield
Module for shield transition validation
shield_from_asset_lock
Module for shield from asset lock transition validation
shield_from_identity
Shield from identity (identity balance to shielded pool)
shielded_common
Common validation logic shared by shielded transitions (proof verification)
shielded_transfer
Module for shielded transfer transition validation
shielded_withdrawal
Module for shielded withdrawal transition validation
token_pool_paid_common
Checks shared by the identity-less token pool transitions Stateful checks shared by the identity-less token pool transitions (TokenShieldedTransferWithShieldedFee, TokenUnshieldWithShieldedFee, TokenPurchaseFromShieldedPool): each carries a bundle in a token’s pool and a fee bundle in the credit pool. The processor has already verified both Orchard proofs and the fee floor; these functions check the pools against state. Nothing is metered to an identity: the flat fee carved from the credit bundle pays for everything, exactly as for the credit pool’s own pool-paid transitions.
token_purchase_from_shielded_pool
Token purchase paid from the credit shielded pool into a token’s pool
token_shielded_transfer_with_shielded_fee
Token shielded transfer with the fee paid from the credit shielded pool
token_unshield_with_shielded_fee
Token unshield with the fee paid from the credit shielded pool
transformer
Transforming a state transition into a state transition action
unshield
Module for unshield transition validation

Enums§

ValidationMode
The validation mode we are using