Precompiled Contracts
precompiled contract
addresses used in the contracts deployed before v1.7.0 protocol update activation
address used in the contracts deployed after v1.7.0 protocol update activation
Address 0x01: ecrecover(hash, v, r, s)
function ecrecover(bytes32 hash, bytes8 v, bytes32 r, bytes32 s) returns (address);Address 0x02: sha256(data)
Address 0x03: ripemd160(data)
Address 0x04: datacopy(data)
Address 0x05: bigModExp(base, exp, mod)
Address 0x06: bn256Add(ax, ay, bx, by)
Address 0x07: bn256ScalarMul(x, y, scalar)
Address 0x08: bn256Pairing(a1, b1, a2, b2, a3, b3, ..., ak, bk)
Address 0x09: blake2F(rounds, h, m, t, f)
Address 0x3fd: vmLog(str)
Address 0x3fe: feePayer()
Address 0x3ff: validateSender()
Last updated