@axonfi/sdk 0.4.4 → 0.5.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
@@ -1014,6 +1014,66 @@ declare function isRebalanceTokenWhitelisted(publicClient: PublicClient, vaultAd
1014
1014
  * @returns Address of the newly deployed vault.
1015
1015
  */
1016
1016
  declare function deployVault(walletClient: WalletClient, publicClient: PublicClient, factoryAddress: Address): Promise<Address>;
1017
+ /**
1018
+ * Register a bot on the vault with its initial spending configuration.
1019
+ *
1020
+ * Must be called by the vault owner (or operator if ceilings allow).
1021
+ * This is an on-chain transaction — requires gas on the owner's wallet.
1022
+ *
1023
+ * @param walletClient Owner wallet (must be vault owner or authorized operator).
1024
+ * @param publicClient Public client for the vault's chain.
1025
+ * @param vaultAddress Vault to register the bot on.
1026
+ * @param botAddress Public address of the bot to register.
1027
+ * @param config Bot spending configuration (limits, AI threshold, etc.).
1028
+ * @returns Transaction hash.
1029
+ */
1030
+ declare function addBot(walletClient: WalletClient, publicClient: PublicClient, vaultAddress: Address, botAddress: Address, config: BotConfigParams): Promise<Hex>;
1031
+ /**
1032
+ * Update an existing bot's spending configuration.
1033
+ *
1034
+ * Must be called by the vault owner (or operator within ceilings).
1035
+ * On-chain transaction — requires gas.
1036
+ *
1037
+ * @param walletClient Owner/operator wallet.
1038
+ * @param publicClient Public client for the vault's chain.
1039
+ * @param vaultAddress Vault the bot is registered on.
1040
+ * @param botAddress Bot to update.
1041
+ * @param config New spending configuration.
1042
+ * @returns Transaction hash.
1043
+ */
1044
+ declare function updateBotConfig(walletClient: WalletClient, publicClient: PublicClient, vaultAddress: Address, botAddress: Address, config: BotConfigParams): Promise<Hex>;
1045
+ /**
1046
+ * Remove a bot from the vault whitelist.
1047
+ *
1048
+ * Must be called by the vault owner (or operator).
1049
+ * The bot will immediately lose the ability to sign valid intents.
1050
+ * On-chain transaction — requires gas.
1051
+ *
1052
+ * @param walletClient Owner/operator wallet.
1053
+ * @param publicClient Public client for the vault's chain.
1054
+ * @param vaultAddress Vault to remove the bot from.
1055
+ * @param botAddress Bot to remove.
1056
+ * @returns Transaction hash.
1057
+ */
1058
+ declare function removeBot(walletClient: WalletClient, publicClient: PublicClient, vaultAddress: Address, botAddress: Address): Promise<Hex>;
1059
+ /**
1060
+ * Deposit tokens or native ETH into the vault.
1061
+ *
1062
+ * Permissionless — anyone can deposit. For ERC-20 tokens, this function
1063
+ * handles the approve + deposit in one call. For native ETH, pass
1064
+ * `NATIVE_ETH` (or `'ETH'`) as the token.
1065
+ *
1066
+ * On-chain transaction — requires gas on the depositor's wallet.
1067
+ *
1068
+ * @param walletClient Wallet sending the deposit (anyone, not just owner).
1069
+ * @param publicClient Public client for the vault's chain.
1070
+ * @param vaultAddress Vault to deposit into.
1071
+ * @param token Token address, or NATIVE_ETH for ETH deposits.
1072
+ * @param amount Amount in base units (e.g. 5_000_000n for 5 USDC, 10n**16n for 0.01 ETH).
1073
+ * @param ref Optional bytes32 reference linking to an off-chain record. Defaults to 0x0.
1074
+ * @returns Transaction hash of the deposit.
1075
+ */
1076
+ declare function deposit(walletClient: WalletClient, publicClient: PublicClient, vaultAddress: Address, token: Address, amount: bigint, ref?: Hex): Promise<Hex>;
1017
1077
 
1018
1078
  interface KeystoreV3 {
1019
1079
  version: 3;
@@ -3338,4 +3398,4 @@ declare const AxonRegistryAbi: readonly [{
3338
3398
  readonly inputs: readonly [];
3339
3399
  }];
3340
3400
 
3341
- export { type AmountInput, AxonClient, type AxonClientConfig, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, type BotConfig, 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 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, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, encodeRef, encryptKeystore, extractX402Metadata, findMatchingOption, formatPaymentSignature, getBotConfig, getChain, getDefaultApprovedTokens, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, randomNonce, randomPermit2Nonce, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization };
3401
+ export { type AmountInput, AxonClient, type AxonClientConfig, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, type BotConfig, 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 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, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, updateBotConfig };
package/dist/index.d.ts CHANGED
@@ -1014,6 +1014,66 @@ declare function isRebalanceTokenWhitelisted(publicClient: PublicClient, vaultAd
1014
1014
  * @returns Address of the newly deployed vault.
1015
1015
  */
1016
1016
  declare function deployVault(walletClient: WalletClient, publicClient: PublicClient, factoryAddress: Address): Promise<Address>;
1017
+ /**
1018
+ * Register a bot on the vault with its initial spending configuration.
1019
+ *
1020
+ * Must be called by the vault owner (or operator if ceilings allow).
1021
+ * This is an on-chain transaction — requires gas on the owner's wallet.
1022
+ *
1023
+ * @param walletClient Owner wallet (must be vault owner or authorized operator).
1024
+ * @param publicClient Public client for the vault's chain.
1025
+ * @param vaultAddress Vault to register the bot on.
1026
+ * @param botAddress Public address of the bot to register.
1027
+ * @param config Bot spending configuration (limits, AI threshold, etc.).
1028
+ * @returns Transaction hash.
1029
+ */
1030
+ declare function addBot(walletClient: WalletClient, publicClient: PublicClient, vaultAddress: Address, botAddress: Address, config: BotConfigParams): Promise<Hex>;
1031
+ /**
1032
+ * Update an existing bot's spending configuration.
1033
+ *
1034
+ * Must be called by the vault owner (or operator within ceilings).
1035
+ * On-chain transaction — requires gas.
1036
+ *
1037
+ * @param walletClient Owner/operator wallet.
1038
+ * @param publicClient Public client for the vault's chain.
1039
+ * @param vaultAddress Vault the bot is registered on.
1040
+ * @param botAddress Bot to update.
1041
+ * @param config New spending configuration.
1042
+ * @returns Transaction hash.
1043
+ */
1044
+ declare function updateBotConfig(walletClient: WalletClient, publicClient: PublicClient, vaultAddress: Address, botAddress: Address, config: BotConfigParams): Promise<Hex>;
1045
+ /**
1046
+ * Remove a bot from the vault whitelist.
1047
+ *
1048
+ * Must be called by the vault owner (or operator).
1049
+ * The bot will immediately lose the ability to sign valid intents.
1050
+ * On-chain transaction — requires gas.
1051
+ *
1052
+ * @param walletClient Owner/operator wallet.
1053
+ * @param publicClient Public client for the vault's chain.
1054
+ * @param vaultAddress Vault to remove the bot from.
1055
+ * @param botAddress Bot to remove.
1056
+ * @returns Transaction hash.
1057
+ */
1058
+ declare function removeBot(walletClient: WalletClient, publicClient: PublicClient, vaultAddress: Address, botAddress: Address): Promise<Hex>;
1059
+ /**
1060
+ * Deposit tokens or native ETH into the vault.
1061
+ *
1062
+ * Permissionless — anyone can deposit. For ERC-20 tokens, this function
1063
+ * handles the approve + deposit in one call. For native ETH, pass
1064
+ * `NATIVE_ETH` (or `'ETH'`) as the token.
1065
+ *
1066
+ * On-chain transaction — requires gas on the depositor's wallet.
1067
+ *
1068
+ * @param walletClient Wallet sending the deposit (anyone, not just owner).
1069
+ * @param publicClient Public client for the vault's chain.
1070
+ * @param vaultAddress Vault to deposit into.
1071
+ * @param token Token address, or NATIVE_ETH for ETH deposits.
1072
+ * @param amount Amount in base units (e.g. 5_000_000n for 5 USDC, 10n**16n for 0.01 ETH).
1073
+ * @param ref Optional bytes32 reference linking to an off-chain record. Defaults to 0x0.
1074
+ * @returns Transaction hash of the deposit.
1075
+ */
1076
+ declare function deposit(walletClient: WalletClient, publicClient: PublicClient, vaultAddress: Address, token: Address, amount: bigint, ref?: Hex): Promise<Hex>;
1017
1077
 
1018
1078
  interface KeystoreV3 {
1019
1079
  version: 3;
@@ -3338,4 +3398,4 @@ declare const AxonRegistryAbi: readonly [{
3338
3398
  readonly inputs: readonly [];
3339
3399
  }];
3340
3400
 
3341
- export { type AmountInput, AxonClient, type AxonClientConfig, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, type BotConfig, 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 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, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, encodeRef, encryptKeystore, extractX402Metadata, findMatchingOption, formatPaymentSignature, getBotConfig, getChain, getDefaultApprovedTokens, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, randomNonce, randomPermit2Nonce, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization };
3401
+ export { type AmountInput, AxonClient, type AxonClientConfig, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, type BotConfig, 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 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, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, updateBotConfig };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { keccak256, stringToBytes, createPublicClient, http, createWalletClient, parseUnits } from 'viem';
1
+ import { keccak256, stringToBytes, createPublicClient, http, createWalletClient, erc20Abi, parseUnits } from 'viem';
2
2
  import { privateKeyToAccount } from 'viem/accounts';
3
3
  import { arbitrumSepolia, arbitrum, baseSepolia, base } from 'viem/chains';
4
4
  import { scryptAsync } from '@noble/hashes/scrypt';
@@ -2544,8 +2544,6 @@ var AxonVaultFactoryAbi = [
2544
2544
  "inputs": []
2545
2545
  }
2546
2546
  ];
2547
-
2548
- // src/vault.ts
2549
2547
  function getChain(chainId) {
2550
2548
  switch (chainId) {
2551
2549
  case 8453:
@@ -2749,6 +2747,79 @@ async function deployVault(walletClient, publicClient, factoryAddress) {
2749
2747
  }
2750
2748
  throw new Error("VaultDeployed event not found in transaction receipt");
2751
2749
  }
2750
+ async function addBot(walletClient, publicClient, vaultAddress, botAddress, config) {
2751
+ if (!walletClient.account) {
2752
+ throw new Error("walletClient has no account attached");
2753
+ }
2754
+ const hash = await walletClient.writeContract({
2755
+ address: vaultAddress,
2756
+ abi: AxonVaultAbi,
2757
+ functionName: "addBot",
2758
+ args: [botAddress, config],
2759
+ account: walletClient.account,
2760
+ chain: walletClient.chain ?? null
2761
+ });
2762
+ await publicClient.waitForTransactionReceipt({ hash });
2763
+ return hash;
2764
+ }
2765
+ async function updateBotConfig(walletClient, publicClient, vaultAddress, botAddress, config) {
2766
+ if (!walletClient.account) {
2767
+ throw new Error("walletClient has no account attached");
2768
+ }
2769
+ const hash = await walletClient.writeContract({
2770
+ address: vaultAddress,
2771
+ abi: AxonVaultAbi,
2772
+ functionName: "updateBotConfig",
2773
+ args: [botAddress, config],
2774
+ account: walletClient.account,
2775
+ chain: walletClient.chain ?? null
2776
+ });
2777
+ await publicClient.waitForTransactionReceipt({ hash });
2778
+ return hash;
2779
+ }
2780
+ async function removeBot(walletClient, publicClient, vaultAddress, botAddress) {
2781
+ if (!walletClient.account) {
2782
+ throw new Error("walletClient has no account attached");
2783
+ }
2784
+ const hash = await walletClient.writeContract({
2785
+ address: vaultAddress,
2786
+ abi: AxonVaultAbi,
2787
+ functionName: "removeBot",
2788
+ args: [botAddress],
2789
+ account: walletClient.account,
2790
+ chain: walletClient.chain ?? null
2791
+ });
2792
+ await publicClient.waitForTransactionReceipt({ hash });
2793
+ return hash;
2794
+ }
2795
+ async function deposit(walletClient, publicClient, vaultAddress, token, amount, ref = "0x0000000000000000000000000000000000000000000000000000000000000000") {
2796
+ if (!walletClient.account) {
2797
+ throw new Error("walletClient has no account attached");
2798
+ }
2799
+ const isEth = token.toLowerCase() === NATIVE_ETH.toLowerCase();
2800
+ if (!isEth) {
2801
+ const approveTx = await walletClient.writeContract({
2802
+ address: token,
2803
+ abi: erc20Abi,
2804
+ functionName: "approve",
2805
+ args: [vaultAddress, amount],
2806
+ account: walletClient.account,
2807
+ chain: walletClient.chain ?? null
2808
+ });
2809
+ await publicClient.waitForTransactionReceipt({ hash: approveTx });
2810
+ }
2811
+ const hash = await walletClient.writeContract({
2812
+ address: vaultAddress,
2813
+ abi: AxonVaultAbi,
2814
+ functionName: "deposit",
2815
+ args: [token, amount, ref],
2816
+ account: walletClient.account,
2817
+ chain: walletClient.chain ?? null,
2818
+ ...isEth ? { value: amount } : {}
2819
+ });
2820
+ await publicClient.waitForTransactionReceipt({ hash });
2821
+ return hash;
2822
+ }
2752
2823
 
2753
2824
  // src/tokens.ts
2754
2825
  var Token = /* @__PURE__ */ ((Token2) => {
@@ -4373,6 +4444,6 @@ var AxonRegistryAbi = [
4373
4444
  }
4374
4445
  ];
4375
4446
 
4376
- export { AxonClient, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, CHAIN_NAMES, Chain, DEFAULT_APPROVED_TOKENS, DEFAULT_DEADLINE_SECONDS, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EXECUTE_INTENT_TYPEHASH, EXPLORER_ADDR, EXPLORER_TX, KNOWN_TOKENS, NATIVE_ETH, PAYMENT_INTENT_TYPEHASH, PERMIT2_ADDRESS, PaymentErrorCode, RELAYER_API, SUPPORTED_CHAIN_IDS, SWAP_INTENT_TYPEHASH, Token, USDC, USDC_EIP712_DOMAIN, WINDOW, WITNESS_TYPE_STRING, X402_PROXY_ADDRESS, createAxonPublicClient, createAxonWalletClient, decryptKeystore, deployVault, encodeRef, encryptKeystore, extractX402Metadata, findMatchingOption, formatPaymentSignature, getBotConfig, getChain, getDefaultApprovedTokens, getDomainSeparator, getKnownTokensForChain, getOperatorCeilings, getRebalanceTokenCount, getTokenSymbolByAddress, getVaultOperator, getVaultOwner, getVaultVersion, isBotActive, isDestinationAllowed, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, randomNonce, randomPermit2Nonce, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization };
4447
+ export { AxonClient, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, CHAIN_NAMES, Chain, DEFAULT_APPROVED_TOKENS, DEFAULT_DEADLINE_SECONDS, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EXECUTE_INTENT_TYPEHASH, EXPLORER_ADDR, EXPLORER_TX, KNOWN_TOKENS, NATIVE_ETH, PAYMENT_INTENT_TYPEHASH, PERMIT2_ADDRESS, PaymentErrorCode, RELAYER_API, SUPPORTED_CHAIN_IDS, SWAP_INTENT_TYPEHASH, Token, USDC, USDC_EIP712_DOMAIN, WINDOW, WITNESS_TYPE_STRING, 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, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, updateBotConfig };
4377
4448
  //# sourceMappingURL=index.js.map
4378
4449
  //# sourceMappingURL=index.js.map