Skip to main content

SignatureHash

Git Source

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

State Variables

CLAIM_TYPEHASH

The struct type hash for computing the domain separator for EIP-712 and EIP-1271 signatures.

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)");

PROTOCOL_NAME

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

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