Variable DISPUTE_TYPESConst
DISPUTE_TYPES: {
Dispute: readonly [
{ name: "version"; type: "uint256" },
{ name: "receiptHash"; type: "bytes32" },
{ name: "reason"; type: "string" },
{ name: "requestedAmount"; type: "uint256" },
{ name: "validUntil"; type: "uint256" },
{ name: "evidence"; type: "string[]" },
];
} = ...
Type Declaration
ReadonlyDispute: readonly [
{ name: "version"; type: "uint256" },
{ name: "receiptHash"; type: "bytes32" },
{ name: "reason"; type: "string" },
{ name: "requestedAmount"; type: "uint256" },
{ name: "validUntil"; type: "uint256" },
{ name: "evidence"; type: "string[]" },
]
EIP-712 typed data types for Dispute.
reasonisstring(not enum) in the typed data to allowx_*namespace extension without spec rev; validators MUST parse it against the enum at deserialize time.