@axonfi/sdk 0.6.0 → 0.7.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/README.md +26 -1
- package/dist/index.cjs +53 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -1
- package/dist/index.d.ts +50 -1
- package/dist/index.js +53 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -994,6 +994,20 @@ declare function getOperatorCeilings(publicClient: PublicClient, vaultAddress: A
|
|
|
994
994
|
* Returns 0n if operator has no bot-add permission.
|
|
995
995
|
*/
|
|
996
996
|
declare function operatorMaxDrainPerDay(publicClient: PublicClient, vaultAddress: Address): Promise<bigint>;
|
|
997
|
+
/**
|
|
998
|
+
* Returns whether ERC-1271 bot signatures are enabled on the vault.
|
|
999
|
+
*
|
|
1000
|
+
* When disabled (default), only the vault owner's signatures are accepted by
|
|
1001
|
+
* external protocols (Permit2, Cowswap, Seaport). Bot signatures return
|
|
1002
|
+
* `0xffffffff` (invalid).
|
|
1003
|
+
*
|
|
1004
|
+
* When enabled, active bot keys can sign messages that external protocols
|
|
1005
|
+
* treat as vault-authorized — useful for Permit2 approvals, Cowswap orders, etc.
|
|
1006
|
+
*
|
|
1007
|
+
* If your bot interacts with a protocol that checks ERC-1271 and gets rejected,
|
|
1008
|
+
* the vault owner needs to call `setErc1271Bots(true)` to enable it.
|
|
1009
|
+
*/
|
|
1010
|
+
declare function isErc1271BotsEnabled(publicClient: PublicClient, vaultAddress: Address): Promise<boolean>;
|
|
997
1011
|
/** Returns whether the vault is currently paused. */
|
|
998
1012
|
declare function isVaultPaused(publicClient: PublicClient, vaultAddress: Address): Promise<boolean>;
|
|
999
1013
|
/** Returns the EIP-712 domain separator for this vault (for off-chain verification). */
|
|
@@ -1915,6 +1929,26 @@ declare const AxonVaultAbi: readonly [{
|
|
|
1915
1929
|
readonly internalType: "bytes4";
|
|
1916
1930
|
}];
|
|
1917
1931
|
readonly stateMutability: "view";
|
|
1932
|
+
}, {
|
|
1933
|
+
readonly type: "function";
|
|
1934
|
+
readonly name: "erc1271BotsEnabled";
|
|
1935
|
+
readonly inputs: readonly [];
|
|
1936
|
+
readonly outputs: readonly [{
|
|
1937
|
+
readonly name: "";
|
|
1938
|
+
readonly type: "bool";
|
|
1939
|
+
readonly internalType: "bool";
|
|
1940
|
+
}];
|
|
1941
|
+
readonly stateMutability: "view";
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly type: "function";
|
|
1944
|
+
readonly name: "setErc1271Bots";
|
|
1945
|
+
readonly inputs: readonly [{
|
|
1946
|
+
readonly name: "enabled";
|
|
1947
|
+
readonly type: "bool";
|
|
1948
|
+
readonly internalType: "bool";
|
|
1949
|
+
}];
|
|
1950
|
+
readonly outputs: readonly [];
|
|
1951
|
+
readonly stateMutability: "nonpayable";
|
|
1918
1952
|
}, {
|
|
1919
1953
|
readonly type: "function";
|
|
1920
1954
|
readonly name: "onERC1155BatchReceived";
|
|
@@ -2378,6 +2412,16 @@ declare const AxonVaultAbi: readonly [{
|
|
|
2378
2412
|
}];
|
|
2379
2413
|
readonly outputs: readonly [];
|
|
2380
2414
|
readonly stateMutability: "nonpayable";
|
|
2415
|
+
}, {
|
|
2416
|
+
readonly type: "event";
|
|
2417
|
+
readonly name: "ERC1271BotsToggled";
|
|
2418
|
+
readonly inputs: readonly [{
|
|
2419
|
+
readonly name: "enabled";
|
|
2420
|
+
readonly type: "bool";
|
|
2421
|
+
readonly indexed: false;
|
|
2422
|
+
readonly internalType: "bool";
|
|
2423
|
+
}];
|
|
2424
|
+
readonly anonymous: false;
|
|
2381
2425
|
}, {
|
|
2382
2426
|
readonly type: "event";
|
|
2383
2427
|
readonly name: "BotAdded";
|
|
@@ -2727,6 +2771,11 @@ declare const AxonVaultAbi: readonly [{
|
|
|
2727
2771
|
readonly type: "uint256";
|
|
2728
2772
|
readonly indexed: false;
|
|
2729
2773
|
readonly internalType: "uint256";
|
|
2774
|
+
}, {
|
|
2775
|
+
readonly name: "value";
|
|
2776
|
+
readonly type: "uint256";
|
|
2777
|
+
readonly indexed: false;
|
|
2778
|
+
readonly internalType: "uint256";
|
|
2730
2779
|
}, {
|
|
2731
2780
|
readonly name: "ref";
|
|
2732
2781
|
readonly type: "bytes32";
|
|
@@ -3750,4 +3799,4 @@ declare const AxonRegistryAbi: readonly [{
|
|
|
3750
3799
|
readonly inputs: readonly [];
|
|
3751
3800
|
}];
|
|
3752
3801
|
|
|
3753
|
-
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, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, predictVaultAddress, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, toBotConfigParams, updateBotConfig };
|
|
3802
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -994,6 +994,20 @@ declare function getOperatorCeilings(publicClient: PublicClient, vaultAddress: A
|
|
|
994
994
|
* Returns 0n if operator has no bot-add permission.
|
|
995
995
|
*/
|
|
996
996
|
declare function operatorMaxDrainPerDay(publicClient: PublicClient, vaultAddress: Address): Promise<bigint>;
|
|
997
|
+
/**
|
|
998
|
+
* Returns whether ERC-1271 bot signatures are enabled on the vault.
|
|
999
|
+
*
|
|
1000
|
+
* When disabled (default), only the vault owner's signatures are accepted by
|
|
1001
|
+
* external protocols (Permit2, Cowswap, Seaport). Bot signatures return
|
|
1002
|
+
* `0xffffffff` (invalid).
|
|
1003
|
+
*
|
|
1004
|
+
* When enabled, active bot keys can sign messages that external protocols
|
|
1005
|
+
* treat as vault-authorized — useful for Permit2 approvals, Cowswap orders, etc.
|
|
1006
|
+
*
|
|
1007
|
+
* If your bot interacts with a protocol that checks ERC-1271 and gets rejected,
|
|
1008
|
+
* the vault owner needs to call `setErc1271Bots(true)` to enable it.
|
|
1009
|
+
*/
|
|
1010
|
+
declare function isErc1271BotsEnabled(publicClient: PublicClient, vaultAddress: Address): Promise<boolean>;
|
|
997
1011
|
/** Returns whether the vault is currently paused. */
|
|
998
1012
|
declare function isVaultPaused(publicClient: PublicClient, vaultAddress: Address): Promise<boolean>;
|
|
999
1013
|
/** Returns the EIP-712 domain separator for this vault (for off-chain verification). */
|
|
@@ -1915,6 +1929,26 @@ declare const AxonVaultAbi: readonly [{
|
|
|
1915
1929
|
readonly internalType: "bytes4";
|
|
1916
1930
|
}];
|
|
1917
1931
|
readonly stateMutability: "view";
|
|
1932
|
+
}, {
|
|
1933
|
+
readonly type: "function";
|
|
1934
|
+
readonly name: "erc1271BotsEnabled";
|
|
1935
|
+
readonly inputs: readonly [];
|
|
1936
|
+
readonly outputs: readonly [{
|
|
1937
|
+
readonly name: "";
|
|
1938
|
+
readonly type: "bool";
|
|
1939
|
+
readonly internalType: "bool";
|
|
1940
|
+
}];
|
|
1941
|
+
readonly stateMutability: "view";
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly type: "function";
|
|
1944
|
+
readonly name: "setErc1271Bots";
|
|
1945
|
+
readonly inputs: readonly [{
|
|
1946
|
+
readonly name: "enabled";
|
|
1947
|
+
readonly type: "bool";
|
|
1948
|
+
readonly internalType: "bool";
|
|
1949
|
+
}];
|
|
1950
|
+
readonly outputs: readonly [];
|
|
1951
|
+
readonly stateMutability: "nonpayable";
|
|
1918
1952
|
}, {
|
|
1919
1953
|
readonly type: "function";
|
|
1920
1954
|
readonly name: "onERC1155BatchReceived";
|
|
@@ -2378,6 +2412,16 @@ declare const AxonVaultAbi: readonly [{
|
|
|
2378
2412
|
}];
|
|
2379
2413
|
readonly outputs: readonly [];
|
|
2380
2414
|
readonly stateMutability: "nonpayable";
|
|
2415
|
+
}, {
|
|
2416
|
+
readonly type: "event";
|
|
2417
|
+
readonly name: "ERC1271BotsToggled";
|
|
2418
|
+
readonly inputs: readonly [{
|
|
2419
|
+
readonly name: "enabled";
|
|
2420
|
+
readonly type: "bool";
|
|
2421
|
+
readonly indexed: false;
|
|
2422
|
+
readonly internalType: "bool";
|
|
2423
|
+
}];
|
|
2424
|
+
readonly anonymous: false;
|
|
2381
2425
|
}, {
|
|
2382
2426
|
readonly type: "event";
|
|
2383
2427
|
readonly name: "BotAdded";
|
|
@@ -2727,6 +2771,11 @@ declare const AxonVaultAbi: readonly [{
|
|
|
2727
2771
|
readonly type: "uint256";
|
|
2728
2772
|
readonly indexed: false;
|
|
2729
2773
|
readonly internalType: "uint256";
|
|
2774
|
+
}, {
|
|
2775
|
+
readonly name: "value";
|
|
2776
|
+
readonly type: "uint256";
|
|
2777
|
+
readonly indexed: false;
|
|
2778
|
+
readonly internalType: "uint256";
|
|
2730
2779
|
}, {
|
|
2731
2780
|
readonly name: "ref";
|
|
2732
2781
|
readonly type: "bytes32";
|
|
@@ -3750,4 +3799,4 @@ declare const AxonRegistryAbi: readonly [{
|
|
|
3750
3799
|
readonly inputs: readonly [];
|
|
3751
3800
|
}];
|
|
3752
3801
|
|
|
3753
|
-
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, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, predictVaultAddress, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, toBotConfigParams, updateBotConfig };
|
|
3802
|
+
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 };
|
package/dist/index.js
CHANGED
|
@@ -1055,6 +1055,32 @@ var AxonVaultAbi = [
|
|
|
1055
1055
|
],
|
|
1056
1056
|
"stateMutability": "view"
|
|
1057
1057
|
},
|
|
1058
|
+
{
|
|
1059
|
+
"type": "function",
|
|
1060
|
+
"name": "erc1271BotsEnabled",
|
|
1061
|
+
"inputs": [],
|
|
1062
|
+
"outputs": [
|
|
1063
|
+
{
|
|
1064
|
+
"name": "",
|
|
1065
|
+
"type": "bool",
|
|
1066
|
+
"internalType": "bool"
|
|
1067
|
+
}
|
|
1068
|
+
],
|
|
1069
|
+
"stateMutability": "view"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"type": "function",
|
|
1073
|
+
"name": "setErc1271Bots",
|
|
1074
|
+
"inputs": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "enabled",
|
|
1077
|
+
"type": "bool",
|
|
1078
|
+
"internalType": "bool"
|
|
1079
|
+
}
|
|
1080
|
+
],
|
|
1081
|
+
"outputs": [],
|
|
1082
|
+
"stateMutability": "nonpayable"
|
|
1083
|
+
},
|
|
1058
1084
|
{
|
|
1059
1085
|
"type": "function",
|
|
1060
1086
|
"name": "onERC1155BatchReceived",
|
|
@@ -1654,6 +1680,19 @@ var AxonVaultAbi = [
|
|
|
1654
1680
|
"outputs": [],
|
|
1655
1681
|
"stateMutability": "nonpayable"
|
|
1656
1682
|
},
|
|
1683
|
+
{
|
|
1684
|
+
"type": "event",
|
|
1685
|
+
"name": "ERC1271BotsToggled",
|
|
1686
|
+
"inputs": [
|
|
1687
|
+
{
|
|
1688
|
+
"name": "enabled",
|
|
1689
|
+
"type": "bool",
|
|
1690
|
+
"indexed": false,
|
|
1691
|
+
"internalType": "bool"
|
|
1692
|
+
}
|
|
1693
|
+
],
|
|
1694
|
+
"anonymous": false
|
|
1695
|
+
},
|
|
1657
1696
|
{
|
|
1658
1697
|
"type": "event",
|
|
1659
1698
|
"name": "BotAdded",
|
|
@@ -2095,6 +2134,12 @@ var AxonVaultAbi = [
|
|
|
2095
2134
|
"indexed": false,
|
|
2096
2135
|
"internalType": "uint256"
|
|
2097
2136
|
},
|
|
2137
|
+
{
|
|
2138
|
+
"name": "value",
|
|
2139
|
+
"type": "uint256",
|
|
2140
|
+
"indexed": false,
|
|
2141
|
+
"internalType": "uint256"
|
|
2142
|
+
},
|
|
2098
2143
|
{
|
|
2099
2144
|
"name": "ref",
|
|
2100
2145
|
"type": "bytes32",
|
|
@@ -3268,6 +3313,13 @@ async function operatorMaxDrainPerDay(publicClient, vaultAddress) {
|
|
|
3268
3313
|
functionName: "operatorMaxDrainPerDay"
|
|
3269
3314
|
});
|
|
3270
3315
|
}
|
|
3316
|
+
async function isErc1271BotsEnabled(publicClient, vaultAddress) {
|
|
3317
|
+
return publicClient.readContract({
|
|
3318
|
+
address: vaultAddress,
|
|
3319
|
+
abi: AxonVaultAbi,
|
|
3320
|
+
functionName: "erc1271BotsEnabled"
|
|
3321
|
+
});
|
|
3322
|
+
}
|
|
3271
3323
|
async function isVaultPaused(publicClient, vaultAddress) {
|
|
3272
3324
|
return publicClient.readContract({
|
|
3273
3325
|
address: vaultAddress,
|
|
@@ -4908,6 +4960,6 @@ var AxonRegistryAbi = [
|
|
|
4908
4960
|
}
|
|
4909
4961
|
];
|
|
4910
4962
|
|
|
4911
|
-
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, predictVaultAddress, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, toBotConfigParams, updateBotConfig };
|
|
4963
|
+
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, isErc1271BotsEnabled, isRebalanceTokenWhitelisted, isVaultPaused, operatorMaxDrainPerDay, parseAmount, parseChainId, parsePaymentRequired, predictVaultAddress, randomNonce, randomPermit2Nonce, removeBot, resolveToken, resolveTokenDecimals, signExecuteIntent, signPayment, signPermit2WitnessTransfer, signSwapIntent, signTransferWithAuthorization, toBotConfigParams, updateBotConfig };
|
|
4912
4964
|
//# sourceMappingURL=index.js.map
|
|
4913
4965
|
//# sourceMappingURL=index.js.map
|