Structs§
- Cancel
Lookup - A metered
cancelresult: its outcome plus the extra storage-read gas. - Retryable
- A single retryable ticket.
- Retryable
Lookup - A metered lookup result: its outcome plus the extra storage-read gas the open consumed consulting the lifetime-window slot past the raw timeout.
- Retryable
State - Manages the collection of retryable tickets.
Enums§
- Cancel
Outcome - Outcome of a metered
cancel: cleared (with the calldata size that was cleared), a miss, or an unauthorised caller. - Lookup
Outcome - Outcome of a metered retryable lookup that may miss.
- Retryable
Error - Errors raised by the retryable ticket subsystem.
Constants§
- BENEFICIARY_
OFFSET - CALLDATA_
KEY - CALLVALUE_
OFFSET - FROM_
OFFSET - NUM_
TRIES_ OFFSET - RETRYABLE_
LIFETIME_ SECONDS - RETRYABLE_
REAP_ PRICE - TIMEOUT_
OFFSET - TIMEOUT_
QUEUE_ KEY - TIMEOUT_
WINDOWS_ LEFT_ OFFSET - TO_
OFFSET
Functions§
- initialize_
retryable_ state - open_
retryable_ state - retryable_
escrow_ address - Computes the escrow address for a retryable ticket.
- retryable_
submission_ fee - Submission fee for a retryable ticket:
(1400 + 6 * len) * l1_base_fee, computed with big-integer arithmetic to prevent overflow.