Module: Sigma

Extended by:
FFI::Library
Defined in:
lib/sigma.rb,
lib/sigma/util.rb,
lib/sigma/enums.rb,
lib/sigma/input.rb,
lib/sigma/token.rb,
lib/sigma/wallet.rb,
lib/sigma/address.rb,
lib/sigma/nipopow.rb,
lib/sigma/structs.rb,
lib/sigma/constant.rb,
lib/sigma/contract.rb,
lib/sigma/ergo_box.rb,
lib/sigma/ergo_tree.rb,
lib/sigma/byte_array.rb,
lib/sigma/data_input.rb,
lib/sigma/pre_header.rb,
lib/sigma/secret_key.rb,
lib/sigma/tx_builder.rb,
lib/sigma/transaction.rb,
lib/sigma/block_header.rb,
lib/sigma/merkle_proof.rb,
lib/sigma/box_selection.rb,
lib/sigma/context_extension.rb,
lib/sigma/ergo_state_context.rb,
lib/sigma/reduced_transaction.rb,
lib/sigma/ergo_box_candidate_builder.rb

Defined Under Namespace

Modules: Util Classes: Address, BlockHeader, BlockHeaders, BlockId, BlockIds, BoxId, BoxSelection, BoxValue, ByteArray, ByteArrays, CommitmentHint, Constant, ContextExtension, Contract, DataInput, DataInputs, ErgoBox, ErgoBoxAssetsData, ErgoBoxAssetsDataList, ErgoBoxCandidate, ErgoBoxCandidateBuilder, ErgoBoxCandidates, ErgoBoxes, ErgoStateContext, ErgoTree, HintsBag, Input, Inputs, MerkleProof, NipopowProof, NipopowVerifier, PoPowHeader, PreHeader, Propositions, ProverResult, ReducedTransaction, ReturnBool, ReturnNumI32, ReturnNumI64, ReturnNumUsize, ReturnOption, SecretKey, SecretKeys, SimpleBoxSelector, Token, TokenAmount, TokenId, Tokens, Transaction, TransactionHintsBag, TxBuilder, TxId, UnsignedInput, UnsignedInputs, UnsignedTransaction, Wallet

Constant Summary collapse

SIGMA_RUST_VERSION =
'0.18.0'
ADDRESS_TYPE_PREFIX_ENUM =

Address type prefix

enum :address_type_prefix,
[
  :p2pk, 1,
  :pay2sh,
  :pay2s
]
NETWORK_PREFIX_ENUM =

Network prefix

enum :network_prefix, 
[
  :mainnet, 0,
  :testnet, 16,
]
REGISTER_ID_ENUM =

Register id

enum :non_mandatory_register_id, 
[
  :r4, 4,
  :r5,
  :r6,
  :r7,
  :r8,
  :r9
]
NODE_SIDE_ENUM =

Represents which side the node is on in the merkle tree

enum :node_side,
[
  :left, 0,
  :right
]