[][src]Module cita_vm::precompiled

List of precompiled contracts:

  1. Recovery of ECDSA signature
  2. Hash function SHA256
  3. Hash function RIPEMD160
  4. Identity Since Byzantium fork
  5. Modular exponentiation
  6. Addition on elliptic curve alt_bn128
  7. Scalar multiplication on elliptic curve alt_bn128
  8. Checking a pairing equation on curve alt_bn128

Structs

BigModExp

BigModExp implements a native big integer exponential modular operation.

Bn256Add

Bn256Add implements a native elliptic curve point addition.

Bn256ScalarMul

Bn256ScalarMul implements a native elliptic curve point addition.

Bn256Pairing

Bn256Pairing implements a pairing pre-compile for the bn256 curve

DataCopy
EcRecover

ECRECOVER implemented as a native contract.

RIPEMD160Hash

RIPEMD160 implemented as a native contract.

SHA256Hash

SHA256 implemented as a native contract.

Traits

PrecompiledContract

Implementation of a pre-compiled contract.

Functions

contains

Check if an address is pre-compiled contract.

get

Function get returns a pre-compiled contract by given address.