Docs.rs
  • wasm-utils-0.2.0
    • wasm-utils 0.2.0
    • Permalink
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • lazovicff
    • github:tangle-network:webb-devs
    • Dependencies
      • ark-bls12-381 ^0.3.0 normal
      • ark-bn254 ^0.3.0 normal
      • ark-crypto-primitives ^0.3.0 normal
      • ark-ed-on-bn254 ^0.3.0 normal
      • ark-ff ^0.3.0 normal
      • ark-serialize ^0.3.0 normal
      • ark-std ^0.3.0 normal
      • arkworks-native-gadgets ^1.0.0 normal
      • arkworks-setups ^1.0.2 normal
      • console_error_panic_hook ^0.1.5 normal
      • ethabi ^15.0.0 normal
      • getrandom ^0.2.3 normal
      • hex ^0.4 normal
      • js-sys ^0.3 normal
      • parity-scale-codec ^3.1.2 normal
      • rand ^0.8.3 normal
      • tiny-keccak ^2.0.2 normal
      • wasm-bindgen ^0.2 normal
      • web-sys ^0.3.22 normal
      • wee_alloc ^0.4.2 normal optional
      • js-sys ^0.3 dev
      • lazy_static ^1.4 dev
      • wasm-bindgen-test ^0.3 dev
    • Versions
    • 14.36% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

wasm_utils0.2.0

Crate Items

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
  • Type Aliases

List of all items

Structs

  • note::JsLeaf
  • note::JsNote
  • note::JsNoteBuilder
  • proof::JsProofInput
  • proof::JsProofInputBuilder
  • proof::JsProofOutput
  • proof::JsProvingKeys
  • proof::LeavesMapInput
  • proof::MTBn254X5
  • proof::ext_data::ExtData
  • proof::mixer::MixerProof
  • proof::mixer::MixerProofInput
  • proof::mixer::MixerProofPayload
  • proof::vanchor::VAnchorProof
  • proof::vanchor::VAnchorProofInput
  • proof::vanchor::VAnchorProofPayload
  • types::BE
  • types::HF
  • types::Indices
  • types::Leaves
  • types::OperationError
  • types::Protocol
  • types::Uint8Arrayx32
  • types::Version
  • types::WasmCurve

Enums

  • note::JsLeafInner
  • proof::ProofInput
  • proof::ProofInputBuilder
  • proof::ProofOutput
  • types::Backend
  • types::Chain
  • types::Curve
  • types::HashFunction
  • types::NoteProtocol
  • types::NoteVersion
  • types::OpStatusCode

Traits

  • proof::ext_data::IntoAbiToken

Functions

  • note::mixer::generate_secrets
  • note::mixer::get_leaf_with_private_raw
  • note::vanchor::generate_secrets
  • note::vanchor::get_leaf_with_private_raw
  • note::versioning::v1::note_from_str
  • proof::generate_proof_js
  • proof::generic_of_jsval
  • proof::js_note_of_jsval
  • proof::mixer::create_proof
  • proof::setup_keys
  • proof::truncate_and_pad
  • proof::vanchor::create_proof
  • proof::verify_js_proof
  • types::log
  • types::main

Type Aliases

  • MixerR1CSProverBls381_30
  • MixerR1CSProverBn254_30
  • VAnchorR1CSProverBn254_30_16_16_2
  • VAnchorR1CSProverBn254_30_16_2_2
  • VAnchorR1CSProverBn254_30_2_16_2
  • VAnchorR1CSProverBn254_30_2_2_2

Constants

  • ANCHOR_COUNT
  • ANCHOR_COUNT_16
  • ANCHOR_COUNT_2
  • ANCHOR_COUNT_32
  • DEFAULT_LEAF
  • TREE_HEIGHT
  • ZERO_LEAF