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 is defined as follows:EIP712Domain.sol
The name of the domain. Should be “deelit.net”.
The version of the domain. Should be “1”.
The chain id of the domain. Should be the chain id of the EVM network.
The address of the contract that verifies the signatures.
Messages
Product
Product.sol
The address of the product owner.
The title of the product.
The description of the product.
The condition of the product.
0: Undetermined1: New2: Open box3: Refurbished4: Perfect5: Used6: Broken
The images of the product.
The location of the product.
The country code of the product location.
The postal code of the product location.
Offer
Offer.sol
The address of the user who makes the offer.
The price of the offer.
The currency code used for the payment.
The chain id of the EVM network.
The address of the token used for the payment.
The price of the shipment.
The expiration timestamp of the offer.
A random number to allow the renewal of an offer.
Shipment
Shipment.sol
The type of the shipment.
0: No shipping1: National delivery2: Regional delivery3: International delivery
The carrier data of the shipment.
The name of the carrier.
The service of the carrier.
The address of the carrier.
The phone number of the carrier.
The email address of the carrier.
Payment
Payment.sol
The address of the user who makes the payment.
The destination address of the payment.
The expiration timestamp of the payment.
The vesting period of the payment before unlocking without acceptance.
Transaction
Transaction.sol
Acceptance
Acceptance.sol
The address of the user who accepts the payment.
Conflict
Conflict.sol
The address of the user who raises the conflict.
Verdict
Verdict.sol
The address of the user who makes the verdict.
The verdict granted.
true for accepted, false for refused.