EIP-712 Domain
To optimize transaction costs, messages are not stored on the EVM but hashes of these messages are stored. The protocol uses the EIP-712 definition for structuring messages and hashing its data (see EIP-712). The EIP-712 domain follows the Deelit protocol schema: see EIP712Domain.Lottery
Lottery.sol
The address of the lottery creator.
The number of tickets available for the lottery.
The price of a ticket.
The address of the token used for the lottery.
The expiration timestamp of the lottery.
Fee
Fee.sol
The address of the fee recipient.
The percentage of the payment to be paid as fee by the payer. (eg. 1000 = 10%)
Transaction
Transaction.sol