Module HoprCrypto

Source
Expand description

Module containing a contract’s types and functions.

library HoprCrypto {
    struct CompactSignature { bytes32 r; bytes32 vs; }
    struct VRFParameters { uint256 vx; uint256 vy; uint256 s; uint256 h; uint256 sBx; uint256 sBy; uint256 hVx; uint256 hVy; }
}

Structs§

CompactSignature
HoprCryptoInstance
A HoprCrypto instance.
VRFParameters

Functions§

new
Creates a new wrapper around an on-chain HoprCrypto contract instance.