Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KryptoHookMock ¶
type KryptoHookMock int
KryptoHookMock is a krypto hook implementation that we use for VM tests
const KryptoHookMockInstance KryptoHookMock = 0
KryptoHookMockInstance is a krypto hook mock singleton
func (KryptoHookMock) Ecrecover ¶
Ecrecover calculates the corresponding Ethereum address for the public key which created the given signature
func (KryptoHookMock) Keccak256 ¶
func (KryptoHookMock) Keccak256(data []byte) ([]byte, error)
Keccak256 cryptographic function
Click to show internal directories.
Click to hide internal directories.