@axonfi/sdk 0.9.0 → 0.11.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.
package/dist/index.d.cts CHANGED
@@ -249,13 +249,20 @@ declare const EXPLORER_TX: Record<number, string>;
249
249
  declare const EXPLORER_ADDR: Record<number, string>;
250
250
  /** Default intent validity window when no deadline is specified. */
251
251
  declare const DEFAULT_DEADLINE_SECONDS = 300;
252
- /** Window presets for SpendingLimit.windowSeconds. */
252
+ /**
253
+ * Allowed window presets for SpendingLimit.windowSeconds.
254
+ * These are the ONLY values accepted by the contract — arbitrary
255
+ * durations are rejected on-chain with InvalidSpendingWindow().
256
+ */
253
257
  declare const WINDOW: {
254
258
  readonly ONE_HOUR: 3600n;
259
+ readonly THREE_HOURS: 10800n;
255
260
  readonly ONE_DAY: 86400n;
256
261
  readonly ONE_WEEK: 604800n;
257
262
  readonly THIRTY_DAYS: 2592000n;
258
263
  };
264
+ /** Set of all allowed window values for validation. */
265
+ declare const ALLOWED_WINDOWS: ReadonlySet<bigint>;
259
266
  /**
260
267
  * Structured error codes returned by the relayer when a payment is rejected.
261
268
  * Bots should import these to programmatically handle failures.
@@ -346,7 +353,7 @@ interface SpendingLimit {
346
353
  amount: bigint;
347
354
  /** Max number of transactions in this window. 0 = no count limit. */
348
355
  maxCount: bigint;
349
- /** Window size: 3600=1h, 86400=1d, 604800=1w, 2592000=30d */
356
+ /** Window duration. Must be one of the allowed WINDOW values: 1h, 3h, 24h, 7d, 30d. */
350
357
  windowSeconds: bigint;
351
358
  }
352
359
  /** Per-bot configuration returned by getBotConfig(). */
@@ -379,7 +386,7 @@ interface SpendingLimitInput {
379
386
  amount: number;
380
387
  /** Max transactions in this window. 0 = no count limit. */
381
388
  maxCount: number;
382
- /** Window size in seconds: 3600=1h, 86400=1d, 604800=1w. Use WINDOW constants. */
389
+ /** Window duration. Must be one of the allowed WINDOW values: 1h, 3h, 24h, 7d, 30d. */
383
390
  windowSeconds: number;
384
391
  }
385
392
  /**
@@ -579,10 +586,6 @@ interface ExecuteInput {
579
586
  deadline?: bigint;
580
587
  /** Arbitrary metadata stored off-chain. */
581
588
  metadata?: Record<string, string>;
582
- /** Source token for pre-swap — an address, Token enum, or bare symbol string. */
583
- fromToken?: TokenInput;
584
- /** Max input for pre-swap: bigint (raw), number (human), or string (human). */
585
- maxFromAmount?: AmountInput;
586
589
  }
587
590
  /**
588
591
  * Input for AxonClient.swap(). Signs a SwapIntent and submits to
@@ -620,6 +623,13 @@ interface PaymentResult {
620
623
  estimatedResolutionMs?: number;
621
624
  /** Rejection reason. Present when status === 'rejected'. */
622
625
  reason?: string;
626
+ /**
627
+ * Machine-readable error code. Present when status === 'rejected'.
628
+ * Notable values:
629
+ * - `'SWAP_REQUIRED'` — vault lacks the payment token. The SDK auto-handles
630
+ * this by signing a SwapIntent and resubmitting.
631
+ */
632
+ errorCode?: string;
623
633
  }
624
634
  /** High-level vault info returned by AxonClient.getVaultInfo(). */
625
635
  interface VaultInfo {
@@ -797,6 +807,10 @@ declare class AxonClient {
797
807
  * - `"approved"`: fast path — txHash available immediately
798
808
  * - `"pending_review"`: AI scan or human review in progress — poll for status
799
809
  * - `"rejected"`: payment was rejected — reason field explains why
810
+ *
811
+ * If the vault doesn't hold enough of the payment token, the relayer returns
812
+ * `errorCode: 'SWAP_REQUIRED'`. The SDK automatically signs a SwapIntent and
813
+ * resubmits the payment with swap fields — no action needed from the caller.
800
814
  */
801
815
  pay(input: PayInput): Promise<PaymentResult>;
802
816
  /**
@@ -805,6 +819,12 @@ declare class AxonClient {
805
819
  * The vault approves `token` to `protocol`, calls it with `callData`,
806
820
  * then revokes the approval. Tokens stay in the vault or go to the protocol
807
821
  * as specified by the calldata.
822
+ *
823
+ * **Approval rules for default tokens** (USDC, WETH, etc.): when calling
824
+ * `approve()` on a default token, the spender must be an approved protocol
825
+ * or swap router — the contract rejects arbitrary addresses. The approve
826
+ * amount is capped by the bot's `maxPerTxAmount` and counts toward
827
+ * spending limits.
808
828
  */
809
829
  execute(input: ExecuteInput): Promise<PaymentResult>;
810
830
  /**
@@ -938,6 +958,7 @@ declare class AxonClient {
938
958
  private _buildPaymentIntent;
939
959
  private _buildExecuteIntent;
940
960
  private _buildSwapIntent;
961
+ private _submitPaymentWithSwap;
941
962
  private _submitPayment;
942
963
  private _submitExecute;
943
964
  private _submitSwap;
@@ -1641,22 +1662,6 @@ declare const AxonVaultAbi: readonly [{
1641
1662
  readonly name: "signature";
1642
1663
  readonly type: "bytes";
1643
1664
  readonly internalType: "bytes";
1644
- }, {
1645
- readonly name: "fromToken";
1646
- readonly type: "address";
1647
- readonly internalType: "address";
1648
- }, {
1649
- readonly name: "maxFromAmount";
1650
- readonly type: "uint256";
1651
- readonly internalType: "uint256";
1652
- }, {
1653
- readonly name: "swapRouter";
1654
- readonly type: "address";
1655
- readonly internalType: "address";
1656
- }, {
1657
- readonly name: "swapCalldata";
1658
- readonly type: "bytes";
1659
- readonly internalType: "bytes";
1660
1665
  }];
1661
1666
  readonly outputs: readonly [];
1662
1667
  readonly stateMutability: "nonpayable";
@@ -1708,22 +1713,6 @@ declare const AxonVaultAbi: readonly [{
1708
1713
  readonly name: "callData";
1709
1714
  readonly type: "bytes";
1710
1715
  readonly internalType: "bytes";
1711
- }, {
1712
- readonly name: "fromToken";
1713
- readonly type: "address";
1714
- readonly internalType: "address";
1715
- }, {
1716
- readonly name: "maxFromAmount";
1717
- readonly type: "uint256";
1718
- readonly internalType: "uint256";
1719
- }, {
1720
- readonly name: "swapRouter";
1721
- readonly type: "address";
1722
- readonly internalType: "address";
1723
- }, {
1724
- readonly name: "swapCalldata";
1725
- readonly type: "bytes";
1726
- readonly internalType: "bytes";
1727
1716
  }];
1728
1717
  readonly outputs: readonly [{
1729
1718
  readonly name: "";
@@ -2855,46 +2844,6 @@ declare const AxonVaultAbi: readonly [{
2855
2844
  readonly internalType: "bytes32";
2856
2845
  }];
2857
2846
  readonly anonymous: false;
2858
- }, {
2859
- readonly type: "event";
2860
- readonly name: "SwapPaymentExecuted";
2861
- readonly inputs: readonly [{
2862
- readonly name: "bot";
2863
- readonly type: "address";
2864
- readonly indexed: true;
2865
- readonly internalType: "address";
2866
- }, {
2867
- readonly name: "to";
2868
- readonly type: "address";
2869
- readonly indexed: true;
2870
- readonly internalType: "address";
2871
- }, {
2872
- readonly name: "fromToken";
2873
- readonly type: "address";
2874
- readonly indexed: false;
2875
- readonly internalType: "address";
2876
- }, {
2877
- readonly name: "toToken";
2878
- readonly type: "address";
2879
- readonly indexed: false;
2880
- readonly internalType: "address";
2881
- }, {
2882
- readonly name: "fromAmount";
2883
- readonly type: "uint256";
2884
- readonly indexed: false;
2885
- readonly internalType: "uint256";
2886
- }, {
2887
- readonly name: "toAmount";
2888
- readonly type: "uint256";
2889
- readonly indexed: false;
2890
- readonly internalType: "uint256";
2891
- }, {
2892
- readonly name: "ref";
2893
- readonly type: "bytes32";
2894
- readonly indexed: false;
2895
- readonly internalType: "bytes32";
2896
- }];
2897
- readonly anonymous: false;
2898
2847
  }, {
2899
2848
  readonly type: "event";
2900
2849
  readonly name: "Unpaused";
@@ -3005,10 +2954,6 @@ declare const AxonVaultAbi: readonly [{
3005
2954
  readonly type: "error";
3006
2955
  readonly name: "ExpectedPause";
3007
2956
  readonly inputs: readonly [];
3008
- }, {
3009
- readonly type: "error";
3010
- readonly name: "InsufficientBalance";
3011
- readonly inputs: readonly [];
3012
2957
  }, {
3013
2958
  readonly type: "error";
3014
2959
  readonly name: "IntentAlreadyUsed";
@@ -3021,6 +2966,10 @@ declare const AxonVaultAbi: readonly [{
3021
2966
  readonly type: "error";
3022
2967
  readonly name: "InvalidSignature";
3023
2968
  readonly inputs: readonly [];
2969
+ }, {
2970
+ readonly type: "error";
2971
+ readonly name: "InvalidSpendingWindow";
2972
+ readonly inputs: readonly [];
3024
2973
  }, {
3025
2974
  readonly type: "error";
3026
2975
  readonly name: "MaxPerTxExceeded";
@@ -3814,4 +3763,4 @@ declare const AxonRegistryAbi: readonly [{
3814
3763
  readonly inputs: readonly [];
3815
3764
  }];
3816
3765
 
3817
- export { type AmountInput, AxonClient, type AxonClientConfig, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, type BotConfig, type BotConfigInput, type BotConfigParams, CHAIN_NAMES, Chain, DEFAULT_APPROVED_TOKENS, DEFAULT_DEADLINE_SECONDS, type DestinationCheckResult, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EXECUTE_INTENT_TYPEHASH, EXPLORER_ADDR, EXPLORER_TX, type ExecuteInput, type ExecuteIntent, KNOWN_TOKENS, type KeystoreV3, type KnownToken, type KnownTokenSymbol, NATIVE_ETH, type OperatorCeilings, PAYMENT_INTENT_TYPEHASH, PERMIT2_ADDRESS, type PayInput, PaymentErrorCode, type PaymentIntent, type PaymentResult, type PaymentStatus, type Permit2Authorization, RELAYER_API, type RebalanceTokensResult, SUPPORTED_CHAIN_IDS, SWAP_INTENT_TYPEHASH, type SpendingLimit, type SpendingLimitInput, type SupportedChainId, type SwapInput, type SwapIntent, Token, type TokenInput, type TosStatus, type TransferAuthorization, USDC, USDC_EIP712_DOMAIN, type VaultInfo, WINDOW, WITNESS_TYPE_STRING, type X402HandleResult, type X402PaymentOption, type X402PaymentRequired, type X402Resource, X402_PROXY_ADDRESS, addBot, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, deposit, encodeRef, encryptKeystore, extractX402Metadata, findMatchingOption, formatPaymentSignature, getBotConfig, getChain, getDefaultApprovedTokens, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isErc1271BotsEnabled, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, predictVaultAddress, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, toBotConfigParams, updateBotConfig };
3766
+ export { ALLOWED_WINDOWS, type AmountInput, AxonClient, type AxonClientConfig, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, type BotConfig, type BotConfigInput, type BotConfigParams, CHAIN_NAMES, Chain, DEFAULT_APPROVED_TOKENS, DEFAULT_DEADLINE_SECONDS, type DestinationCheckResult, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EXECUTE_INTENT_TYPEHASH, EXPLORER_ADDR, EXPLORER_TX, type ExecuteInput, type ExecuteIntent, KNOWN_TOKENS, type KeystoreV3, type KnownToken, type KnownTokenSymbol, NATIVE_ETH, type OperatorCeilings, PAYMENT_INTENT_TYPEHASH, PERMIT2_ADDRESS, type PayInput, PaymentErrorCode, type PaymentIntent, type PaymentResult, type PaymentStatus, type Permit2Authorization, RELAYER_API, type RebalanceTokensResult, SUPPORTED_CHAIN_IDS, SWAP_INTENT_TYPEHASH, type SpendingLimit, type SpendingLimitInput, type SupportedChainId, type SwapInput, type SwapIntent, Token, type TokenInput, type TosStatus, type TransferAuthorization, USDC, USDC_EIP712_DOMAIN, type VaultInfo, WINDOW, WITNESS_TYPE_STRING, type X402HandleResult, type X402PaymentOption, type X402PaymentRequired, type X402Resource, X402_PROXY_ADDRESS, addBot, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, deposit, encodeRef, encryptKeystore, extractX402Metadata, findMatchingOption, formatPaymentSignature, getBotConfig, getChain, getDefaultApprovedTokens, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isErc1271BotsEnabled, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, predictVaultAddress, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, toBotConfigParams, updateBotConfig };
package/dist/index.d.ts CHANGED
@@ -249,13 +249,20 @@ declare const EXPLORER_TX: Record<number, string>;
249
249
  declare const EXPLORER_ADDR: Record<number, string>;
250
250
  /** Default intent validity window when no deadline is specified. */
251
251
  declare const DEFAULT_DEADLINE_SECONDS = 300;
252
- /** Window presets for SpendingLimit.windowSeconds. */
252
+ /**
253
+ * Allowed window presets for SpendingLimit.windowSeconds.
254
+ * These are the ONLY values accepted by the contract — arbitrary
255
+ * durations are rejected on-chain with InvalidSpendingWindow().
256
+ */
253
257
  declare const WINDOW: {
254
258
  readonly ONE_HOUR: 3600n;
259
+ readonly THREE_HOURS: 10800n;
255
260
  readonly ONE_DAY: 86400n;
256
261
  readonly ONE_WEEK: 604800n;
257
262
  readonly THIRTY_DAYS: 2592000n;
258
263
  };
264
+ /** Set of all allowed window values for validation. */
265
+ declare const ALLOWED_WINDOWS: ReadonlySet<bigint>;
259
266
  /**
260
267
  * Structured error codes returned by the relayer when a payment is rejected.
261
268
  * Bots should import these to programmatically handle failures.
@@ -346,7 +353,7 @@ interface SpendingLimit {
346
353
  amount: bigint;
347
354
  /** Max number of transactions in this window. 0 = no count limit. */
348
355
  maxCount: bigint;
349
- /** Window size: 3600=1h, 86400=1d, 604800=1w, 2592000=30d */
356
+ /** Window duration. Must be one of the allowed WINDOW values: 1h, 3h, 24h, 7d, 30d. */
350
357
  windowSeconds: bigint;
351
358
  }
352
359
  /** Per-bot configuration returned by getBotConfig(). */
@@ -379,7 +386,7 @@ interface SpendingLimitInput {
379
386
  amount: number;
380
387
  /** Max transactions in this window. 0 = no count limit. */
381
388
  maxCount: number;
382
- /** Window size in seconds: 3600=1h, 86400=1d, 604800=1w. Use WINDOW constants. */
389
+ /** Window duration. Must be one of the allowed WINDOW values: 1h, 3h, 24h, 7d, 30d. */
383
390
  windowSeconds: number;
384
391
  }
385
392
  /**
@@ -579,10 +586,6 @@ interface ExecuteInput {
579
586
  deadline?: bigint;
580
587
  /** Arbitrary metadata stored off-chain. */
581
588
  metadata?: Record<string, string>;
582
- /** Source token for pre-swap — an address, Token enum, or bare symbol string. */
583
- fromToken?: TokenInput;
584
- /** Max input for pre-swap: bigint (raw), number (human), or string (human). */
585
- maxFromAmount?: AmountInput;
586
589
  }
587
590
  /**
588
591
  * Input for AxonClient.swap(). Signs a SwapIntent and submits to
@@ -620,6 +623,13 @@ interface PaymentResult {
620
623
  estimatedResolutionMs?: number;
621
624
  /** Rejection reason. Present when status === 'rejected'. */
622
625
  reason?: string;
626
+ /**
627
+ * Machine-readable error code. Present when status === 'rejected'.
628
+ * Notable values:
629
+ * - `'SWAP_REQUIRED'` — vault lacks the payment token. The SDK auto-handles
630
+ * this by signing a SwapIntent and resubmitting.
631
+ */
632
+ errorCode?: string;
623
633
  }
624
634
  /** High-level vault info returned by AxonClient.getVaultInfo(). */
625
635
  interface VaultInfo {
@@ -797,6 +807,10 @@ declare class AxonClient {
797
807
  * - `"approved"`: fast path — txHash available immediately
798
808
  * - `"pending_review"`: AI scan or human review in progress — poll for status
799
809
  * - `"rejected"`: payment was rejected — reason field explains why
810
+ *
811
+ * If the vault doesn't hold enough of the payment token, the relayer returns
812
+ * `errorCode: 'SWAP_REQUIRED'`. The SDK automatically signs a SwapIntent and
813
+ * resubmits the payment with swap fields — no action needed from the caller.
800
814
  */
801
815
  pay(input: PayInput): Promise<PaymentResult>;
802
816
  /**
@@ -805,6 +819,12 @@ declare class AxonClient {
805
819
  * The vault approves `token` to `protocol`, calls it with `callData`,
806
820
  * then revokes the approval. Tokens stay in the vault or go to the protocol
807
821
  * as specified by the calldata.
822
+ *
823
+ * **Approval rules for default tokens** (USDC, WETH, etc.): when calling
824
+ * `approve()` on a default token, the spender must be an approved protocol
825
+ * or swap router — the contract rejects arbitrary addresses. The approve
826
+ * amount is capped by the bot's `maxPerTxAmount` and counts toward
827
+ * spending limits.
808
828
  */
809
829
  execute(input: ExecuteInput): Promise<PaymentResult>;
810
830
  /**
@@ -938,6 +958,7 @@ declare class AxonClient {
938
958
  private _buildPaymentIntent;
939
959
  private _buildExecuteIntent;
940
960
  private _buildSwapIntent;
961
+ private _submitPaymentWithSwap;
941
962
  private _submitPayment;
942
963
  private _submitExecute;
943
964
  private _submitSwap;
@@ -1641,22 +1662,6 @@ declare const AxonVaultAbi: readonly [{
1641
1662
  readonly name: "signature";
1642
1663
  readonly type: "bytes";
1643
1664
  readonly internalType: "bytes";
1644
- }, {
1645
- readonly name: "fromToken";
1646
- readonly type: "address";
1647
- readonly internalType: "address";
1648
- }, {
1649
- readonly name: "maxFromAmount";
1650
- readonly type: "uint256";
1651
- readonly internalType: "uint256";
1652
- }, {
1653
- readonly name: "swapRouter";
1654
- readonly type: "address";
1655
- readonly internalType: "address";
1656
- }, {
1657
- readonly name: "swapCalldata";
1658
- readonly type: "bytes";
1659
- readonly internalType: "bytes";
1660
1665
  }];
1661
1666
  readonly outputs: readonly [];
1662
1667
  readonly stateMutability: "nonpayable";
@@ -1708,22 +1713,6 @@ declare const AxonVaultAbi: readonly [{
1708
1713
  readonly name: "callData";
1709
1714
  readonly type: "bytes";
1710
1715
  readonly internalType: "bytes";
1711
- }, {
1712
- readonly name: "fromToken";
1713
- readonly type: "address";
1714
- readonly internalType: "address";
1715
- }, {
1716
- readonly name: "maxFromAmount";
1717
- readonly type: "uint256";
1718
- readonly internalType: "uint256";
1719
- }, {
1720
- readonly name: "swapRouter";
1721
- readonly type: "address";
1722
- readonly internalType: "address";
1723
- }, {
1724
- readonly name: "swapCalldata";
1725
- readonly type: "bytes";
1726
- readonly internalType: "bytes";
1727
1716
  }];
1728
1717
  readonly outputs: readonly [{
1729
1718
  readonly name: "";
@@ -2855,46 +2844,6 @@ declare const AxonVaultAbi: readonly [{
2855
2844
  readonly internalType: "bytes32";
2856
2845
  }];
2857
2846
  readonly anonymous: false;
2858
- }, {
2859
- readonly type: "event";
2860
- readonly name: "SwapPaymentExecuted";
2861
- readonly inputs: readonly [{
2862
- readonly name: "bot";
2863
- readonly type: "address";
2864
- readonly indexed: true;
2865
- readonly internalType: "address";
2866
- }, {
2867
- readonly name: "to";
2868
- readonly type: "address";
2869
- readonly indexed: true;
2870
- readonly internalType: "address";
2871
- }, {
2872
- readonly name: "fromToken";
2873
- readonly type: "address";
2874
- readonly indexed: false;
2875
- readonly internalType: "address";
2876
- }, {
2877
- readonly name: "toToken";
2878
- readonly type: "address";
2879
- readonly indexed: false;
2880
- readonly internalType: "address";
2881
- }, {
2882
- readonly name: "fromAmount";
2883
- readonly type: "uint256";
2884
- readonly indexed: false;
2885
- readonly internalType: "uint256";
2886
- }, {
2887
- readonly name: "toAmount";
2888
- readonly type: "uint256";
2889
- readonly indexed: false;
2890
- readonly internalType: "uint256";
2891
- }, {
2892
- readonly name: "ref";
2893
- readonly type: "bytes32";
2894
- readonly indexed: false;
2895
- readonly internalType: "bytes32";
2896
- }];
2897
- readonly anonymous: false;
2898
2847
  }, {
2899
2848
  readonly type: "event";
2900
2849
  readonly name: "Unpaused";
@@ -3005,10 +2954,6 @@ declare const AxonVaultAbi: readonly [{
3005
2954
  readonly type: "error";
3006
2955
  readonly name: "ExpectedPause";
3007
2956
  readonly inputs: readonly [];
3008
- }, {
3009
- readonly type: "error";
3010
- readonly name: "InsufficientBalance";
3011
- readonly inputs: readonly [];
3012
2957
  }, {
3013
2958
  readonly type: "error";
3014
2959
  readonly name: "IntentAlreadyUsed";
@@ -3021,6 +2966,10 @@ declare const AxonVaultAbi: readonly [{
3021
2966
  readonly type: "error";
3022
2967
  readonly name: "InvalidSignature";
3023
2968
  readonly inputs: readonly [];
2969
+ }, {
2970
+ readonly type: "error";
2971
+ readonly name: "InvalidSpendingWindow";
2972
+ readonly inputs: readonly [];
3024
2973
  }, {
3025
2974
  readonly type: "error";
3026
2975
  readonly name: "MaxPerTxExceeded";
@@ -3814,4 +3763,4 @@ declare const AxonRegistryAbi: readonly [{
3814
3763
  readonly inputs: readonly [];
3815
3764
  }];
3816
3765
 
3817
- export { type AmountInput, AxonClient, type AxonClientConfig, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, type BotConfig, type BotConfigInput, type BotConfigParams, CHAIN_NAMES, Chain, DEFAULT_APPROVED_TOKENS, DEFAULT_DEADLINE_SECONDS, type DestinationCheckResult, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EXECUTE_INTENT_TYPEHASH, EXPLORER_ADDR, EXPLORER_TX, type ExecuteInput, type ExecuteIntent, KNOWN_TOKENS, type KeystoreV3, type KnownToken, type KnownTokenSymbol, NATIVE_ETH, type OperatorCeilings, PAYMENT_INTENT_TYPEHASH, PERMIT2_ADDRESS, type PayInput, PaymentErrorCode, type PaymentIntent, type PaymentResult, type PaymentStatus, type Permit2Authorization, RELAYER_API, type RebalanceTokensResult, SUPPORTED_CHAIN_IDS, SWAP_INTENT_TYPEHASH, type SpendingLimit, type SpendingLimitInput, type SupportedChainId, type SwapInput, type SwapIntent, Token, type TokenInput, type TosStatus, type TransferAuthorization, USDC, USDC_EIP712_DOMAIN, type VaultInfo, WINDOW, WITNESS_TYPE_STRING, type X402HandleResult, type X402PaymentOption, type X402PaymentRequired, type X402Resource, X402_PROXY_ADDRESS, addBot, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, deposit, encodeRef, encryptKeystore, extractX402Metadata, findMatchingOption, formatPaymentSignature, getBotConfig, getChain, getDefaultApprovedTokens, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isErc1271BotsEnabled, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, predictVaultAddress, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, toBotConfigParams, updateBotConfig };
3766
+ export { ALLOWED_WINDOWS, type AmountInput, AxonClient, type AxonClientConfig, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, type BotConfig, type BotConfigInput, type BotConfigParams, CHAIN_NAMES, Chain, DEFAULT_APPROVED_TOKENS, DEFAULT_DEADLINE_SECONDS, type DestinationCheckResult, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EXECUTE_INTENT_TYPEHASH, EXPLORER_ADDR, EXPLORER_TX, type ExecuteInput, type ExecuteIntent, KNOWN_TOKENS, type KeystoreV3, type KnownToken, type KnownTokenSymbol, NATIVE_ETH, type OperatorCeilings, PAYMENT_INTENT_TYPEHASH, PERMIT2_ADDRESS, type PayInput, PaymentErrorCode, type PaymentIntent, type PaymentResult, type PaymentStatus, type Permit2Authorization, RELAYER_API, type RebalanceTokensResult, SUPPORTED_CHAIN_IDS, SWAP_INTENT_TYPEHASH, type SpendingLimit, type SpendingLimitInput, type SupportedChainId, type SwapInput, type SwapIntent, Token, type TokenInput, type TosStatus, type TransferAuthorization, USDC, USDC_EIP712_DOMAIN, type VaultInfo, WINDOW, WITNESS_TYPE_STRING, type X402HandleResult, type X402PaymentOption, type X402PaymentRequired, type X402Resource, X402_PROXY_ADDRESS, addBot, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, deposit, encodeRef, encryptKeystore, extractX402Metadata, findMatchingOption, formatPaymentSignature, getBotConfig, getChain, getDefaultApprovedTokens, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isErc1271BotsEnabled, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, predictVaultAddress, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, toBotConfigParams, updateBotConfig };