@bananapus/nana-sdk-core 2.21.0 → 2.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import { type Address, type Hex, type PublicClient, type TransactionReceipt } from "viem";
2
+ import { erc2771ForwarderAbi } from "../generated/juicebox.js";
2
3
  /** Relayr's HTTP API. */
3
4
  export declare const RELAYR_API = "https://api.relayr.ba5ed.com";
4
5
  /**
@@ -61,6 +62,8 @@ export declare const FORWARD_REQUEST_TYPES: {
61
62
  readonly type: "bytes";
62
63
  }];
63
64
  };
65
+ /** A Relayr bundle or transaction ID, in lower case. */
66
+ export declare const RELAYR_UUID_RE: RegExp;
64
67
  /** One transaction of a bundle as posted to Relayr. `value` is decimal wei. */
65
68
  export type RelayrEntry = {
66
69
  chain: number;
@@ -448,5 +451,331 @@ export declare function verifyRelayrDestinations(clientFor: (chainId: number) =>
448
451
  records: readonly RelayrTransactionRecord[];
449
452
  account?: Address;
450
453
  }): Promise<RelayrVerifiedDestination[]>;
454
+ /**
455
+ * The reads that classify signed forward requests at a canonical finalized
456
+ * block. Typed by the fields they read, so a PublicClient for any chain, with
457
+ * that chain's formatters, satisfies it.
458
+ */
459
+ export type RelayrFinalizedClient = {
460
+ getBlock(args: {
461
+ blockTag: "finalized";
462
+ }): Promise<{
463
+ number: bigint | null;
464
+ hash: Hex | null;
465
+ timestamp: bigint;
466
+ }>;
467
+ getBlock(args: {
468
+ blockNumber: bigint;
469
+ }): Promise<{
470
+ hash: Hex | null;
471
+ }>;
472
+ readContract(args: {
473
+ address: Address;
474
+ abi: typeof erc2771ForwarderAbi;
475
+ functionName: "nonces";
476
+ args: readonly [Address];
477
+ blockNumber: bigint;
478
+ }): Promise<bigint>;
479
+ };
480
+ /**
481
+ * A signed forward request as these rules read it: its chain, its signer (the
482
+ * request's `from`, whose forwarder nonce it uses), its deadline in seconds,
483
+ * and the forwarder nonce it was signed with, when that was saved.
484
+ */
485
+ export type RelayrSignedRequest = {
486
+ chainId: number;
487
+ signer: Address;
488
+ deadline: number | bigint;
489
+ nonce?: string | bigint;
490
+ };
491
+ /**
492
+ * One signed request at a canonical finalized block on its chain (ruling
493
+ * R114). It is dead once the forwarder's nonce for its signer moved past the
494
+ * nonce it was signed with (it, or another request at that nonce, may have
495
+ * run), or once its deadline is strictly earlier than that block's timestamp.
496
+ * `unused`: the nonce still equals the saved one. Anything unknown is live: a
497
+ * failed read, a node without a finalized block, a block no longer canonical,
498
+ * and a request saved without its nonce until its deadline passes.
499
+ */
500
+ export type RelayrRequestState = {
501
+ live: true;
502
+ deadline: number;
503
+ } | {
504
+ live: false;
505
+ mayHaveRun: boolean;
506
+ unused: boolean;
507
+ };
508
+ /**
509
+ * What a set of requests allows together (ruling R114). While any one is live
510
+ * the set holds until `until`, the deadline of its last live request.
511
+ * `mayHaveRun` says whether a dead one's nonce moved or was never saved, and,
512
+ * once every one is dead, `unused` whether there is at least one and every
513
+ * nonce still equals the saved one.
514
+ */
515
+ export type RelayrRequestsVerdict = {
516
+ live: true;
517
+ until: number;
518
+ mayHaveRun: boolean;
519
+ } | {
520
+ live: false;
521
+ mayHaveRun: boolean;
522
+ unused: boolean;
523
+ };
524
+ /**
525
+ * Why a session whose requests are all dead can be discarded (ruling R114):
526
+ *
527
+ * - `ran`: a request's nonce moved past the one it was signed with, or the
528
+ * session saved no nonces, so one may have run;
529
+ * - `changed`: none ran, and the action's recheck refuses its calls;
530
+ * - `expired`: none ran, and no recheck could run, as in an account view. The
531
+ * action itself still signs them again at their saved nonces.
532
+ */
533
+ export type RelayrDiscardReason = "ran" | "changed" | "expired";
534
+ /**
535
+ * What a session whose bundle won't run as signed does next, from its
536
+ * requests' verdict (rulings R104 and R114). Discard ends only the session,
537
+ * never what the action saved.
538
+ *
539
+ * - `hold`: a request can still run and one may already have run. No new
540
+ * signature, no new quote and no Discard until `until`.
541
+ * - `refresh`: a request can still run and none moved (R114 (a)). Until
542
+ * `until`, the session may quote or pay its saved requests again while they
543
+ * still verify and the action's recheck passes, or sign each again at its
544
+ * saved nonce, in `nonces` (null when it saved none): the forwarder runs one
545
+ * request per nonce, so an old request and its refresh never both run. A
546
+ * signature at any other nonce waits until every request is dead.
547
+ * - `re-sign`: every request is dead and unused, and the recheck passed: sign
548
+ * the calls again at `nonces` (R104).
549
+ * - `discard`: every request is dead; Discard for `reason`. With `changed`,
550
+ * `error` is the recheck's refusal.
551
+ * - `reorg-hold`: every request is dead and none moved, but a finalized nonce
552
+ * is below a saved one (a reorg dropped an earlier forwarded transaction),
553
+ * or there are no saved nonces to sign at (`nonces` omitted or empty), or
554
+ * there were no requests. It holds until the nonce catches up.
555
+ * - `unchecked`: the recheck failed because the node could not answer (ruling
556
+ * R118): its cause chain holds a transport or JSON-RPC failure, or a revert
557
+ * without revert data, and no revert data. That decides nothing. Try again.
558
+ *
559
+ * `error` is never enumerable, so no JSON or log of an outcome shows it: an
560
+ * RPC error's URL can carry a key.
561
+ */
562
+ export type RelayrSessionOutcome = {
563
+ kind: "hold";
564
+ until: number;
565
+ } | {
566
+ kind: "refresh";
567
+ until: number;
568
+ nonces: string[] | null;
569
+ } | {
570
+ kind: "re-sign";
571
+ nonces: string[];
572
+ } | {
573
+ kind: "discard";
574
+ reason: RelayrDiscardReason;
575
+ error?: unknown;
576
+ } | {
577
+ kind: "reorg-hold";
578
+ } | {
579
+ kind: "unchecked";
580
+ error: unknown;
581
+ };
582
+ /**
583
+ * `read` at the chain's finalized block, with that block's timestamp, once
584
+ * the block at its number still has the same hash after the read. Null while
585
+ * any of it cannot be read: a node without the finalized tag, an RPC error, a
586
+ * malformed block, or a block that is no longer canonical.
587
+ */
588
+ export declare function atCanonicalFinalizedBlock<T>(client: Pick<RelayrFinalizedClient, "getBlock">, read: (blockNumber: bigint) => Promise<T>): Promise<{
589
+ value: T;
590
+ timestamp: bigint;
591
+ } | null>;
592
+ /**
593
+ * The requests a session published, each read from its entry (an `execute`
594
+ * on its chain's canonical forwarder, as {@link relayrForwardRequest} reads
595
+ * it), with the nonce it was signed with when `nonces` has one for every
596
+ * entry. Null when there are none, or one is not such a request: requests
597
+ * that can't be read can't be classified, so they never count as dead.
598
+ */
599
+ export declare function relayrSignedRequests(entries: readonly Pick<RelayrEntry, "chain" | "target" | "data">[] | undefined, nonces?: readonly (string | bigint)[]): RelayrSignedRequest[] | null;
600
+ /**
601
+ * The one classification of signed forward requests (ruling R114): each at a
602
+ * canonical finalized block on its chain, read once per chain and signer with
603
+ * `clientFor(chainId)`. Never throws for a chain it cannot read: its requests
604
+ * are live.
605
+ */
606
+ export declare function relayrRequestStates(clientFor: (chainId: number) => RelayrFinalizedClient | undefined, requests: readonly RelayrSignedRequest[]): Promise<RelayrRequestState[]>;
607
+ /**
608
+ * What `states` allow together. No states are neither run nor unused, so a
609
+ * session with none holds.
610
+ */
611
+ export declare function relayrRequestsVerdict(states: readonly RelayrRequestState[]): RelayrRequestsVerdict;
612
+ /**
613
+ * Ruling R117: whether every request is dead at a canonical finalized block
614
+ * on its chain, anything unknown counting as live. A saved session reserves
615
+ * its signers' forwarder nonces on its chains exactly while one of its
616
+ * requests is live, never by a device clock or a quote's expiry. Requests that
617
+ * can't be classified (null) or none at all are never dead.
618
+ */
619
+ export declare function relayrRequestsDead(clientFor: (chainId: number) => RelayrFinalizedClient | undefined, requests: readonly RelayrSignedRequest[] | null | undefined): Promise<boolean>;
620
+ /**
621
+ * Whether the chain's finalized block, still canonical, is past `deadline`
622
+ * (seconds, as a safe integer, decimal or 0x-hex digits, or a bigint): its
623
+ * timestamp is later. False while that is unknown, or the deadline can't be
624
+ * read.
625
+ */
626
+ export declare function relayrDeadlinePassed(client: Pick<RelayrFinalizedClient, "getBlock">, deadline: number | string | bigint): Promise<boolean>;
627
+ /** Whether `value` is a {@link RelayrDiscardReason}, for a reason read back from storage. */
628
+ export declare function isRelayrDiscardReason(value: unknown): value is RelayrDiscardReason;
629
+ /**
630
+ * What a session does next from its requests' `verdict` (see
631
+ * {@link RelayrSessionOutcome}), which was classified before the action's own
632
+ * recheck, since a request that ran would make the recheck refuse.
633
+ *
634
+ * `nonces` must be the saved nonces of exactly the requests that were
635
+ * classified into `verdict`, in the same order: `refresh` and `re-sign` hand
636
+ * them back to sign at, and nothing here can check them against the verdict.
637
+ * Without them (omitted, empty or not a list), a session whose requests are
638
+ * all dead and unused holds as `reorg-hold`, and is neither discarded nor
639
+ * signed again.
640
+ *
641
+ * `recheck`, the action's proof that its calls still apply, resolves when
642
+ * they do and throws when they don't; a value it resolves with is never read.
643
+ * It runs only once every request is dead and unused. Without one, as in an
644
+ * account view, such a session can be discarded as `expired`. A recheck that
645
+ * fails because the node could not answer decides nothing. Known limit: a
646
+ * reorg that drops an earlier forwarded transaction can leave a finalized
647
+ * nonce below a saved one, and the session holds until the nonce catches up.
648
+ */
649
+ export declare function relayrSessionOutcome(verdict: RelayrRequestsVerdict, { nonces, recheck, }?: {
650
+ nonces?: readonly string[] | null;
651
+ recheck?: () => Promise<void>;
652
+ }): Promise<RelayrSessionOutcome>;
653
+ /**
654
+ * A payment sent for a quote: the payment {@link relayrPaymentDetails}
655
+ * authenticated, with its amount and deadline in decimal so JSON keeps them,
656
+ * and the hash it was mined under.
657
+ */
658
+ export type RelayrSentPayment = Omit<RelayrPaymentDetails, "amount" | "deadline"> & {
659
+ amount: string;
660
+ deadline: string;
661
+ hash: Hex;
662
+ };
663
+ /** The payment `details` describes, as a session records it once sent under `hash`. */
664
+ export declare function sentRelayrPayment(details: RelayrPaymentDetails, hash: Hex): RelayrSentPayment;
665
+ /** The most payments one quote's journal keeps. No payment is sent beyond them. */
666
+ export declare const MAX_RELAYR_SENT_PAYMENTS = 16;
667
+ /**
668
+ * A saved list of sent payments, read strictly: at most
669
+ * {@link MAX_RELAYR_SENT_PAYMENTS}, each with only a payment's own fields.
670
+ * Null when any of it is malformed.
671
+ */
672
+ export declare function relayrSentPaymentsSnapshot(values: unknown): RelayrSentPayment[] | null;
673
+ /**
674
+ * The saved option a quote paid before is paid again with: exactly the one
675
+ * its latest payment used, on its chain with its calldata (in any case) and
676
+ * amount. Throws when no option is that one, and when an option on that
677
+ * chain with that calldata whose amount can't be read comes before it.
678
+ */
679
+ export declare function relayrRetryOption(payments: readonly Pick<RelayrSentPayment, "chainId" | "calldata" | "amount">[] | undefined, options: readonly RelayrPayment[] | undefined): RelayrPayment;
680
+ /**
681
+ * Where a failed payment attempt leaves its quote: `reverted` when the
682
+ * payment reverted onchain, or when the wallet declined to pay a quote paid
683
+ * before, which stays on {@link requireRelayrPaymentRetry}'s rule; `unpaid`
684
+ * when the wallet declined its first payment; null when nothing is known, and
685
+ * the journal stays as it is. `sending` is whether the wallet held the
686
+ * payment, and `paid` whether the quote was paid before.
687
+ */
688
+ export declare function relayrPaymentAttemptOutcome(error: unknown, { sending, paid }: {
689
+ sending: boolean;
690
+ paid: boolean;
691
+ }): "reverted" | "unpaid" | null;
692
+ /**
693
+ * Clear a quote paid before for one more payment, with
694
+ * {@link requireRelayrPaymentRetry}'s rule for each option its payments used.
695
+ * `payments` is every payment the session sent for the quote, as mined; those
696
+ * of one option (its chain, its calldata in any case, and its amount) are
697
+ * proven together on its chain, with `clientFor`. Before reading anything it
698
+ * refuses, as `invalid`, an empty list and anything
699
+ * {@link relayrSentPaymentsSnapshot} refuses, and a payment of another
700
+ * bundle; a chain without a client is `unknown`. Never pay on an error.
701
+ */
702
+ export declare function requireRelayrRetry(clientFor: (chainId: number) => RelayrProofClient | undefined, { payments, from, bundleUuid, }: {
703
+ payments: readonly RelayrSentPayment[];
704
+ from: Address;
705
+ bundleUuid: string;
706
+ }, options?: {
707
+ fetch?: typeof globalThis.fetch;
708
+ nowSeconds?: number;
709
+ }): Promise<void>;
710
+ /**
711
+ * Prove a saved session's latest payment when it resumes, on its chain with
712
+ * `clientFor`. Resolves true once it succeeded onchain, and false while that
713
+ * can't be proven: no payment, an `account` that is not an address, no client
714
+ * for its chain, or a read that failed. A canonical revert runs `onReverted`
715
+ * and is thrown, as is any other {@link RelayrProofError}; the quote then
716
+ * waits on {@link requireRelayrPaymentRetry}'s rule.
717
+ */
718
+ export declare function proveSavedRelayrPayment(clientFor: (chainId: number) => RelayrProofClient | undefined, payments: readonly RelayrSentPayment[] | undefined, account: string | null | undefined, onReverted: () => void): Promise<boolean>;
719
+ /**
720
+ * Whether the quote a session paid can still be paid at `nowMs` (the clock by
721
+ * default): its latest payment's deadline is more than 15 seconds away, as
722
+ * {@link quoteExpired} reads it and {@link requireRelayrPaymentRetry}
723
+ * requires. A deadline or a time that can't be read is closed.
724
+ */
725
+ export declare function relayrPaidQuoteOpen(payments: readonly Pick<RelayrSentPayment, "deadline">[] | undefined, nowMs?: number): boolean;
726
+ /**
727
+ * Every option of a quote that {@link relayrPaymentDetails} accepts, expired
728
+ * or not, several on one chain included, with its details: the options a
729
+ * session keeps, and whose deadlines a release waits out. An option nothing
730
+ * can authenticate is never paid from, so it is left out.
731
+ */
732
+ export declare function relayrQuotedOptions(quote: Pick<RelayrQuote, "bundle_uuid" | "payment_info">, destinationChainIds: readonly number[]): {
733
+ option: RelayrPayment;
734
+ details: RelayrPaymentDetails;
735
+ }[];
736
+ /**
737
+ * The reads a release makes on a chain: a payment's proof and a deadline at a
738
+ * canonical finalized block. A PublicClient for any chain satisfies it.
739
+ */
740
+ export type RelayrReleaseClient = RelayrProofClient & Pick<RelayrFinalizedClient, "getBlock">;
741
+ /** A quote as a session saved it, for {@link revertedRelayrQuote}. */
742
+ type RevertedQuote = {
743
+ bundleUuid: string;
744
+ /** Every payment sent for the quote, as mined. */
745
+ payments: readonly RelayrSentPayment[];
746
+ /** The quote's payment options, as Relayr quoted them. */
747
+ options: readonly RelayrPayment[];
748
+ destinationChainIds: readonly number[];
749
+ /** The account the payments were sent from. */
750
+ account: string;
751
+ };
752
+ /**
753
+ * What a quote whose own payments reverted allows (ruling R104), from one
754
+ * uncached read of its bundle (with `fetch`, the global one by default):
755
+ *
756
+ * - `funded` when Relayr reports a payment, or a call running or run: another
757
+ * payment funded it, so its destinations are proven, never paid again;
758
+ * - `payable` while the quote of its latest payment is open at `nowMs` (the
759
+ * clock, read after the bundle, by default), for
760
+ * {@link requireRelayrPaymentRetry}'s rule;
761
+ * - `released` once nothing can fund it: every payment it sent is proven
762
+ * canonically reverted on its chain (with `clientFor`), every deadline of
763
+ * those payments and of the options {@link relayrQuotedOptions} keeps
764
+ * passed at a canonical finalized block, and
765
+ * {@link requireRelayrBundleUnpaid}, reading the bundle once more, finds it
766
+ * unpaid with every call pending. Its action then quotes its calls again.
767
+ *
768
+ * Throws while an expired quote's release is unproven, and, unless the
769
+ * bundle is funded, for a payment of another bundle or a time that can't be
770
+ * read. Resolves with the records Relayr reported, or null when the bundle
771
+ * could not be read.
772
+ */
773
+ export declare function revertedRelayrQuote(clientFor: (chainId: number) => RelayrReleaseClient | undefined, quote: RevertedQuote, { fetch: fetchBundle, nowMs, }?: {
774
+ fetch?: typeof globalThis.fetch;
775
+ nowMs?: number;
776
+ }): Promise<{
777
+ state: "funded" | "payable" | "released";
778
+ records: RelayrTransactionRecord[] | null;
779
+ }>;
451
780
  export {};
452
781
  //# sourceMappingURL=relayr.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"relayr.d.ts","sourceRoot":"","sources":["../../../src/review/relayr.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,OAAO,EACZ,KAAK,GAAG,EACR,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACxB,MAAM,MAAM,CAAC;AAed,yBAAyB;AACzB,eAAO,MAAM,UAAU,iCAAiC,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EACe,OAAO,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,uBAAuB,eAAe,CAAC;AAEpD,wDAAwD;AACxD,eAAO,MAAM,wBAAwB,EACqC,GAAG,CAAC;AAE9E,4EAA4E;AAC5E,eAAO,MAAM,mBAAmB,EACkB,OAAO,CAAC;AAE1D,oDAAoD;AACpD,eAAO,MAAM,kBA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