API Reference ExPlasma v0.3.0
Modules
Documentation for ExPlasma.
Encapsulates the block data we receive from the contract. It returns two things
Helper module to make crafting plasma transactions much simpler.
Provides access to applications configuration with additional validation.
Provides validation to application variables
Signs and validates signatures. Constructed signatures can be used directly
in Ethereum with ecrecover
call.
Provides the common encoding functionality we use across all the transactions and clients.
Represents an in-flight exit (IFE).
Encapsulates all the interactions with the MerkleTree library.
An Output.
Generates an Output position if given the
Contain stateless validation logic for position
Abstract payment output type.
Contain stateless validation logic for abstract payment outputs
An empty invalid output type. Used to return a default response if given an invalid output key.
Fee Output Type.
Payment V1 output type.
Adapted from https://github.com/exthereum/blockchain. Defines helper functions for signing and getting the signature of a transaction, as defined in Appendix F of the Yellow Paper.
Contains the base structure of transactions.
Holds functions related to transactions containing signatures.
Implementation of Transaction behaviour for Fee claiming type.
Contain stateless validation logic for Fee transactions
Implementation of Transaction behaviour for Payment V1 type.
Contain stateless validation logic for Payment V1 transactions
Provides wire format's tx/output type values and mapping to modules which decodes them.
Code required to validate and recover raw witnesses (e.g. signatures) goes here.
EIP 712 signing encoding
Provides functions to decode various data types from RLP raw format