MCPcopy
hub / github.com/ethereum/EIPs / bn256ScalarMulByzantium

Struct bn256ScalarMulByzantium

assets/eip-7885/op-geth/nocgo/core/vm/contracts.go:780–780  ·  view source on GitHub ↗

bn256ScalarMulByzantium implements a native elliptic curve scalar multiplication conforming to Byzantium consensus rules.

Source from the content-addressed store, hash-verified

778// bn256ScalarMulByzantium implements a native elliptic curve scalar
779// multiplication conforming to Byzantium consensus rules.
780type bn256ScalarMulByzantium struct{}
781
782// RequiredGas returns the gas required to execute the pre-compiled contract.
783func (c *bn256ScalarMulByzantium) RequiredGas(input []byte) uint64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected