Moduleweb3-crypto-1.1.0.0Haskell2010
Crypto.Ethereum.Eip712Signature
Ethereum EIP712 Singature implementation. Spec https://eips.ethereum.org/EIPS/eip-712.
- 8 types
- 1 class
- 6 values
- Packageweb3-crypto-1.1.0.0
- Exports15
- LanguageHaskell2010
- LicenceApache-2.0
- SourceEip712Signature.hs
Instances5Bounded, Enum, Eq, Show, HasWidth
Bounded BitWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureEnum BitWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureEq BitWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureShow BitWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureHasWidth BitWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712Signature
Instances5Bounded, Enum, Eq, Show, HasWidth
Bounded ByteWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureEnum ByteWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureEq ByteWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureShow ByteWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureHasWidth ByteWidthDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712Signature
Instances3Eq, Show, EIP712Encoded
Eq EIP712FieldTypeDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureShow EIP712FieldTypeDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureEIP712Encoded EIP712FieldTypeDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712Signature
Instances2Show, ToJSON
Show EIP712TypedDataDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureToJSON EIP712TypedDataDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712Signature
Constructors
Instances2Eq, Show
Eq EIP712StructDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureShow EIP712StructDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712Signature
Constructors
Instances4Eq, Show, ToJSON, EIP712Encoded
Eq EIP712FieldDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureShow EIP712FieldDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureToJSON EIP712FieldDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712SignatureEIP712Encoded EIP712FieldDefined in web3-crypto-1.1.0.0 · Crypto.Ethereum.Eip712Signature
Sign a EIP712 type data, returns encoded version of the signature
Sign a EIP712 type data, returns (r, s, v)
Compute a hash for the struct according to EIP712 (see Definition of hashStruct)
Encode a type according to the EIP712 specification (see Definition of encodeType)
Encode data according to the EIP712 specification (see Definition of encodeData)
Returns the hash that needs to be signed by the private key