eip2537

package module
v0.0.0-...-7143926 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

eip2537

This repository implements EIP-2537 BLS12-381 curve operations precompile set for go-ethereum.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrecompiledContractsBerlinOnly = map[common.Address]vm.PrecompiledContract{
	common.BytesToAddress([]byte{0x0a}): &bls12381G1Add{},
	common.BytesToAddress([]byte{0x0b}): &bls12381G1Mul{},
	common.BytesToAddress([]byte{0x0c}): &bls12381G1MultiExp{},
	common.BytesToAddress([]byte{0x0d}): &bls12381G2Add{},
	common.BytesToAddress([]byte{0x0e}): &bls12381G2Mul{},
	common.BytesToAddress([]byte{0x0f}): &bls12381G2MultiExp{},
	common.BytesToAddress([]byte{0x10}): &bls12381Pairing{},
	common.BytesToAddress([]byte{0x11}): &bls12381MapG1{},
	common.BytesToAddress([]byte{0x12}): &bls12381MapG2{},
}

PrecompiledContractsBerlinOnly contains the set of pre-compiled contracts which are considered to be added in Berlin HF.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL