forked from Consensys/gnark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
18 lines (18 loc) · 806 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Package evmprecompiles implements the Ethereum VM precompile contracts.
//
// This package collects all the precompile functions into a single location for
// easier integration. The main functionality is implemented elsewhere. This
// package right now implements:
// 1. ECRECOVER ✅ -- function [ECRecover]
// 2. SHA256 ❌ -- in progress
// 3. RIPEMD160 ❌ -- postponed
// 4. ID ❌ -- trivial to implement without function
// 5. EXPMOD ✅ -- function [Expmod]
// 6. BN_ADD ✅ -- function [ECAdd]
// 7. BN_MUL ✅ -- function [ECMul]
// 8. SNARKV ✅ -- function [ECPair]
// 9. BLAKE2F ❌ -- postponed
//
// This package uses local representation for the arguments. It is up to the
// user to instantiate corresponding types from their application-specific data.
package evmprecompiles