@axonfi/sdk 0.4.3 → 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/README.md +160 -11
- package/dist/index.cjs +227 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +174 -29
- package/dist/index.d.ts +174 -29
- package/dist/index.js +223 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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';
|
|
@@ -437,12 +437,12 @@ var AxonVaultAbi = [
|
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
439
|
"type": "function",
|
|
440
|
-
"name": "
|
|
440
|
+
"name": "addRebalanceTokens",
|
|
441
441
|
"inputs": [
|
|
442
442
|
{
|
|
443
|
-
"name": "
|
|
444
|
-
"type": "address",
|
|
445
|
-
"internalType": "address"
|
|
443
|
+
"name": "tokens",
|
|
444
|
+
"type": "address[]",
|
|
445
|
+
"internalType": "address[]"
|
|
446
446
|
}
|
|
447
447
|
],
|
|
448
448
|
"outputs": [],
|
|
@@ -450,12 +450,12 @@ var AxonVaultAbi = [
|
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
452
|
"type": "function",
|
|
453
|
-
"name": "
|
|
453
|
+
"name": "approveProtocol",
|
|
454
454
|
"inputs": [
|
|
455
455
|
{
|
|
456
|
-
"name": "
|
|
457
|
-
"type": "address
|
|
458
|
-
"internalType": "address
|
|
456
|
+
"name": "protocol",
|
|
457
|
+
"type": "address",
|
|
458
|
+
"internalType": "address"
|
|
459
459
|
}
|
|
460
460
|
],
|
|
461
461
|
"outputs": [],
|
|
@@ -1013,7 +1013,7 @@ var AxonVaultAbi = [
|
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
1015
1015
|
"type": "function",
|
|
1016
|
-
"name": "
|
|
1016
|
+
"name": "isContractApproved",
|
|
1017
1017
|
"inputs": [
|
|
1018
1018
|
{
|
|
1019
1019
|
"name": "protocol",
|
|
@@ -1237,19 +1237,6 @@ var AxonVaultAbi = [
|
|
|
1237
1237
|
"outputs": [],
|
|
1238
1238
|
"stateMutability": "nonpayable"
|
|
1239
1239
|
},
|
|
1240
|
-
{
|
|
1241
|
-
"type": "function",
|
|
1242
|
-
"name": "removeProtocol",
|
|
1243
|
-
"inputs": [
|
|
1244
|
-
{
|
|
1245
|
-
"name": "protocol",
|
|
1246
|
-
"type": "address",
|
|
1247
|
-
"internalType": "address"
|
|
1248
|
-
}
|
|
1249
|
-
],
|
|
1250
|
-
"outputs": [],
|
|
1251
|
-
"stateMutability": "nonpayable"
|
|
1252
|
-
},
|
|
1253
1240
|
{
|
|
1254
1241
|
"type": "function",
|
|
1255
1242
|
"name": "removeRebalanceTokens",
|
|
@@ -1270,6 +1257,19 @@ var AxonVaultAbi = [
|
|
|
1270
1257
|
"outputs": [],
|
|
1271
1258
|
"stateMutability": "nonpayable"
|
|
1272
1259
|
},
|
|
1260
|
+
{
|
|
1261
|
+
"type": "function",
|
|
1262
|
+
"name": "revokeProtocol",
|
|
1263
|
+
"inputs": [
|
|
1264
|
+
{
|
|
1265
|
+
"name": "protocol",
|
|
1266
|
+
"type": "address",
|
|
1267
|
+
"internalType": "address"
|
|
1268
|
+
}
|
|
1269
|
+
],
|
|
1270
|
+
"outputs": [],
|
|
1271
|
+
"stateMutability": "nonpayable"
|
|
1272
|
+
},
|
|
1273
1273
|
{
|
|
1274
1274
|
"type": "function",
|
|
1275
1275
|
"name": "setOperator",
|
|
@@ -1780,7 +1780,7 @@ var AxonVaultAbi = [
|
|
|
1780
1780
|
},
|
|
1781
1781
|
{
|
|
1782
1782
|
"type": "event",
|
|
1783
|
-
"name": "
|
|
1783
|
+
"name": "ProtocolApproved",
|
|
1784
1784
|
"inputs": [
|
|
1785
1785
|
{
|
|
1786
1786
|
"name": "protocol",
|
|
@@ -1830,7 +1830,7 @@ var AxonVaultAbi = [
|
|
|
1830
1830
|
},
|
|
1831
1831
|
{
|
|
1832
1832
|
"type": "event",
|
|
1833
|
-
"name": "
|
|
1833
|
+
"name": "ProtocolRevoked",
|
|
1834
1834
|
"inputs": [
|
|
1835
1835
|
{
|
|
1836
1836
|
"name": "protocol",
|
|
@@ -2027,6 +2027,11 @@ var AxonVaultAbi = [
|
|
|
2027
2027
|
"name": "CalldataHashMismatch",
|
|
2028
2028
|
"inputs": []
|
|
2029
2029
|
},
|
|
2030
|
+
{
|
|
2031
|
+
"type": "error",
|
|
2032
|
+
"name": "ContractNotApproved",
|
|
2033
|
+
"inputs": []
|
|
2034
|
+
},
|
|
2030
2035
|
{
|
|
2031
2036
|
"type": "error",
|
|
2032
2037
|
"name": "DeadlineExpired",
|
|
@@ -2191,11 +2196,6 @@ var AxonVaultAbi = [
|
|
|
2191
2196
|
"name": "ProtocolNotApproved",
|
|
2192
2197
|
"inputs": []
|
|
2193
2198
|
},
|
|
2194
|
-
{
|
|
2195
|
-
"type": "error",
|
|
2196
|
-
"name": "ProtocolNotInList",
|
|
2197
|
-
"inputs": []
|
|
2198
|
-
},
|
|
2199
2199
|
{
|
|
2200
2200
|
"type": "error",
|
|
2201
2201
|
"name": "RebalanceTokenNotAllowed",
|
|
@@ -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) => {
|
|
@@ -2761,6 +2832,7 @@ var Token = /* @__PURE__ */ ((Token2) => {
|
|
|
2761
2832
|
Token2["cbETH"] = "cbETH";
|
|
2762
2833
|
Token2["wstETH"] = "wstETH";
|
|
2763
2834
|
Token2["rETH"] = "rETH";
|
|
2835
|
+
Token2["weETH"] = "weETH";
|
|
2764
2836
|
Token2["LINK"] = "LINK";
|
|
2765
2837
|
Token2["UNI"] = "UNI";
|
|
2766
2838
|
Token2["AAVE"] = "AAVE";
|
|
@@ -2858,9 +2930,19 @@ var KNOWN_TOKENS = {
|
|
|
2858
2930
|
name: "Rocket Pool ETH",
|
|
2859
2931
|
decimals: 18,
|
|
2860
2932
|
addresses: {
|
|
2933
|
+
8453: "0xB6fe221Fe9EeF5aBa221c348bA20A1Bf5e73624c",
|
|
2861
2934
|
42161: "0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8"
|
|
2862
2935
|
}
|
|
2863
2936
|
},
|
|
2937
|
+
weETH: {
|
|
2938
|
+
symbol: "weETH",
|
|
2939
|
+
name: "EtherFi Wrapped eETH",
|
|
2940
|
+
decimals: 18,
|
|
2941
|
+
addresses: {
|
|
2942
|
+
8453: "0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A",
|
|
2943
|
+
42161: "0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe"
|
|
2944
|
+
}
|
|
2945
|
+
},
|
|
2864
2946
|
// ── DeFi blue-chips ─────────────────────────────────────
|
|
2865
2947
|
LINK: {
|
|
2866
2948
|
symbol: "LINK",
|
|
@@ -2942,6 +3024,27 @@ var KNOWN_TOKENS = {
|
|
|
2942
3024
|
}
|
|
2943
3025
|
}
|
|
2944
3026
|
};
|
|
3027
|
+
var DEFAULT_APPROVED_TOKENS = [
|
|
3028
|
+
"USDC",
|
|
3029
|
+
"USDT",
|
|
3030
|
+
"DAI",
|
|
3031
|
+
"WETH",
|
|
3032
|
+
"WBTC",
|
|
3033
|
+
"cbBTC",
|
|
3034
|
+
"wstETH",
|
|
3035
|
+
"weETH",
|
|
3036
|
+
"cbETH",
|
|
3037
|
+
"rETH"
|
|
3038
|
+
];
|
|
3039
|
+
function getDefaultApprovedTokens(chainId) {
|
|
3040
|
+
const addresses = [];
|
|
3041
|
+
for (const symbol of DEFAULT_APPROVED_TOKENS) {
|
|
3042
|
+
const entry = KNOWN_TOKENS[symbol];
|
|
3043
|
+
const addr = entry.addresses[chainId];
|
|
3044
|
+
if (addr) addresses.push(addr);
|
|
3045
|
+
}
|
|
3046
|
+
return addresses;
|
|
3047
|
+
}
|
|
2945
3048
|
var addressToSymbol = /* @__PURE__ */ new Map();
|
|
2946
3049
|
for (const token of Object.values(KNOWN_TOKENS)) {
|
|
2947
3050
|
for (const addr of Object.values(token.addresses)) {
|
|
@@ -3523,10 +3626,10 @@ var AxonClient = class {
|
|
|
3523
3626
|
return this._get(path);
|
|
3524
3627
|
}
|
|
3525
3628
|
// ============================================================================
|
|
3526
|
-
//
|
|
3629
|
+
// isContractApproved() — via relayer
|
|
3527
3630
|
// ============================================================================
|
|
3528
|
-
/** Returns whether a
|
|
3529
|
-
async
|
|
3631
|
+
/** Returns whether a contract address (protocol or token) is approved for executeProtocol() calls (via relayer). */
|
|
3632
|
+
async isContractApproved(protocol) {
|
|
3530
3633
|
const path = RELAYER_API.protocolCheck(this.vaultAddress, protocol, this.chainId);
|
|
3531
3634
|
const data = await this._get(path);
|
|
3532
3635
|
return data.approved;
|
|
@@ -3888,6 +3991,19 @@ var AxonRegistryAbi = [
|
|
|
3888
3991
|
],
|
|
3889
3992
|
"stateMutability": "nonpayable"
|
|
3890
3993
|
},
|
|
3994
|
+
{
|
|
3995
|
+
"type": "function",
|
|
3996
|
+
"name": "VERSION",
|
|
3997
|
+
"inputs": [],
|
|
3998
|
+
"outputs": [
|
|
3999
|
+
{
|
|
4000
|
+
"name": "",
|
|
4001
|
+
"type": "uint256",
|
|
4002
|
+
"internalType": "uint256"
|
|
4003
|
+
}
|
|
4004
|
+
],
|
|
4005
|
+
"stateMutability": "view"
|
|
4006
|
+
},
|
|
3891
4007
|
{
|
|
3892
4008
|
"type": "function",
|
|
3893
4009
|
"name": "acceptOwnership",
|
|
@@ -3921,6 +4037,19 @@ var AxonRegistryAbi = [
|
|
|
3921
4037
|
"outputs": [],
|
|
3922
4038
|
"stateMutability": "nonpayable"
|
|
3923
4039
|
},
|
|
4040
|
+
{
|
|
4041
|
+
"type": "function",
|
|
4042
|
+
"name": "approveDefaultToken",
|
|
4043
|
+
"inputs": [
|
|
4044
|
+
{
|
|
4045
|
+
"name": "token",
|
|
4046
|
+
"type": "address",
|
|
4047
|
+
"internalType": "address"
|
|
4048
|
+
}
|
|
4049
|
+
],
|
|
4050
|
+
"outputs": [],
|
|
4051
|
+
"stateMutability": "nonpayable"
|
|
4052
|
+
},
|
|
3924
4053
|
{
|
|
3925
4054
|
"type": "function",
|
|
3926
4055
|
"name": "isApprovedSwapRouter",
|
|
@@ -3959,6 +4088,25 @@ var AxonRegistryAbi = [
|
|
|
3959
4088
|
],
|
|
3960
4089
|
"stateMutability": "view"
|
|
3961
4090
|
},
|
|
4091
|
+
{
|
|
4092
|
+
"type": "function",
|
|
4093
|
+
"name": "isDefaultToken",
|
|
4094
|
+
"inputs": [
|
|
4095
|
+
{
|
|
4096
|
+
"name": "token",
|
|
4097
|
+
"type": "address",
|
|
4098
|
+
"internalType": "address"
|
|
4099
|
+
}
|
|
4100
|
+
],
|
|
4101
|
+
"outputs": [
|
|
4102
|
+
{
|
|
4103
|
+
"name": "",
|
|
4104
|
+
"type": "bool",
|
|
4105
|
+
"internalType": "bool"
|
|
4106
|
+
}
|
|
4107
|
+
],
|
|
4108
|
+
"stateMutability": "view"
|
|
4109
|
+
},
|
|
3962
4110
|
{
|
|
3963
4111
|
"type": "function",
|
|
3964
4112
|
"name": "owner",
|
|
@@ -4018,6 +4166,19 @@ var AxonRegistryAbi = [
|
|
|
4018
4166
|
"outputs": [],
|
|
4019
4167
|
"stateMutability": "nonpayable"
|
|
4020
4168
|
},
|
|
4169
|
+
{
|
|
4170
|
+
"type": "function",
|
|
4171
|
+
"name": "revokeDefaultToken",
|
|
4172
|
+
"inputs": [
|
|
4173
|
+
{
|
|
4174
|
+
"name": "token",
|
|
4175
|
+
"type": "address",
|
|
4176
|
+
"internalType": "address"
|
|
4177
|
+
}
|
|
4178
|
+
],
|
|
4179
|
+
"outputs": [],
|
|
4180
|
+
"stateMutability": "nonpayable"
|
|
4181
|
+
},
|
|
4021
4182
|
{
|
|
4022
4183
|
"type": "function",
|
|
4023
4184
|
"name": "setOracleConfig",
|
|
@@ -4093,6 +4254,32 @@ var AxonRegistryAbi = [
|
|
|
4093
4254
|
],
|
|
4094
4255
|
"stateMutability": "view"
|
|
4095
4256
|
},
|
|
4257
|
+
{
|
|
4258
|
+
"type": "event",
|
|
4259
|
+
"name": "DefaultTokenApproved",
|
|
4260
|
+
"inputs": [
|
|
4261
|
+
{
|
|
4262
|
+
"name": "token",
|
|
4263
|
+
"type": "address",
|
|
4264
|
+
"indexed": true,
|
|
4265
|
+
"internalType": "address"
|
|
4266
|
+
}
|
|
4267
|
+
],
|
|
4268
|
+
"anonymous": false
|
|
4269
|
+
},
|
|
4270
|
+
{
|
|
4271
|
+
"type": "event",
|
|
4272
|
+
"name": "DefaultTokenRevoked",
|
|
4273
|
+
"inputs": [
|
|
4274
|
+
{
|
|
4275
|
+
"name": "token",
|
|
4276
|
+
"type": "address",
|
|
4277
|
+
"indexed": true,
|
|
4278
|
+
"internalType": "address"
|
|
4279
|
+
}
|
|
4280
|
+
],
|
|
4281
|
+
"anonymous": false
|
|
4282
|
+
},
|
|
4096
4283
|
{
|
|
4097
4284
|
"type": "event",
|
|
4098
4285
|
"name": "OracleConfigUpdated",
|
|
@@ -4257,6 +4444,6 @@ var AxonRegistryAbi = [
|
|
|
4257
4444
|
}
|
|
4258
4445
|
];
|
|
4259
4446
|
|
|
4260
|
-
export { AxonClient, AxonRegistryAbi, AxonVaultAbi, AxonVaultFactoryAbi, CHAIN_NAMES, Chain, 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, 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 };
|
|
4261
4448
|
//# sourceMappingURL=index.js.map
|
|
4262
4449
|
//# sourceMappingURL=index.js.map
|