Skip to main content

SignatureHash

Git Source

Title: SignatureHash

Library containing the hashes for the EIP-712 and EIP-1271 signatures.

State Variables

CLAIM_TYPEHASH

The struct type hash for the claim signature.

bytes32 public constant CLAIM_TYPEHASH =
keccak256("Claim(uint256 index,address recipient,address to,uint128 amount,uint40 validFrom)")

DOMAIN_TYPEHASH

The domain type hash for computing the domain separator.

bytes32 public constant DOMAIN_TYPEHASH =
keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)")

IDENTITY_TYPEHASH

The struct type hash for the attestation signature.

bytes32 public constant IDENTITY_TYPEHASH = keccak256("Identity(address recipient,uint40 expireAt)")

PROTOCOL_NAME

The protocol name for the EIP-712 and EIP-1271 signatures.

bytes32 public constant PROTOCOL_NAME = keccak256("Sablier Airdrops Protocol")