@axonfi/sdk 0.5.3 → 0.5.4
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.cjs +3 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -18
- package/dist/index.d.ts +0 -18
- package/dist/index.js +3 -35
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -17,8 +17,6 @@ declare enum Token {
|
|
|
17
17
|
COMP = "COMP",
|
|
18
18
|
CRV = "CRV",
|
|
19
19
|
SNX = "SNX",
|
|
20
|
-
ARB = "ARB",
|
|
21
|
-
AERO = "AERO",
|
|
22
20
|
GMX = "GMX"
|
|
23
21
|
}
|
|
24
22
|
interface KnownToken {
|
|
@@ -185,22 +183,6 @@ declare const KNOWN_TOKENS: {
|
|
|
185
183
|
readonly 8453: "0x22e6966B799c4D5B13BE962E1D117b56327FDa66";
|
|
186
184
|
};
|
|
187
185
|
};
|
|
188
|
-
readonly ARB: {
|
|
189
|
-
readonly symbol: "ARB";
|
|
190
|
-
readonly name: "Arbitrum";
|
|
191
|
-
readonly decimals: 18;
|
|
192
|
-
readonly addresses: {
|
|
193
|
-
readonly 42161: "0x912CE59144191C1204E64559FE8253a0e49E6548";
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
readonly AERO: {
|
|
197
|
-
readonly symbol: "AERO";
|
|
198
|
-
readonly name: "Aerodrome";
|
|
199
|
-
readonly decimals: 18;
|
|
200
|
-
readonly addresses: {
|
|
201
|
-
readonly 8453: "0x940181a94A35A4569E4529A3CDfB74e38FD98631";
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
186
|
readonly GMX: {
|
|
205
187
|
readonly symbol: "GMX";
|
|
206
188
|
readonly name: "GMX";
|
package/dist/index.d.ts
CHANGED
|
@@ -17,8 +17,6 @@ declare enum Token {
|
|
|
17
17
|
COMP = "COMP",
|
|
18
18
|
CRV = "CRV",
|
|
19
19
|
SNX = "SNX",
|
|
20
|
-
ARB = "ARB",
|
|
21
|
-
AERO = "AERO",
|
|
22
20
|
GMX = "GMX"
|
|
23
21
|
}
|
|
24
22
|
interface KnownToken {
|
|
@@ -185,22 +183,6 @@ declare const KNOWN_TOKENS: {
|
|
|
185
183
|
readonly 8453: "0x22e6966B799c4D5B13BE962E1D117b56327FDa66";
|
|
186
184
|
};
|
|
187
185
|
};
|
|
188
|
-
readonly ARB: {
|
|
189
|
-
readonly symbol: "ARB";
|
|
190
|
-
readonly name: "Arbitrum";
|
|
191
|
-
readonly decimals: 18;
|
|
192
|
-
readonly addresses: {
|
|
193
|
-
readonly 42161: "0x912CE59144191C1204E64559FE8253a0e49E6548";
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
readonly AERO: {
|
|
197
|
-
readonly symbol: "AERO";
|
|
198
|
-
readonly name: "Aerodrome";
|
|
199
|
-
readonly decimals: 18;
|
|
200
|
-
readonly addresses: {
|
|
201
|
-
readonly 8453: "0x940181a94A35A4569E4529A3CDfB74e38FD98631";
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
186
|
readonly GMX: {
|
|
205
187
|
readonly symbol: "GMX";
|
|
206
188
|
readonly name: "GMX";
|
package/dist/index.js
CHANGED
|
@@ -47,32 +47,19 @@ var CHAIN_NAMES = {
|
|
|
47
47
|
[8453 /* Base */]: "Base",
|
|
48
48
|
[84532 /* BaseSepolia */]: "Base Sepolia",
|
|
49
49
|
[42161 /* Arbitrum */]: "Arbitrum One",
|
|
50
|
-
[421614 /* ArbitrumSepolia */]: "Arbitrum Sepolia"
|
|
51
|
-
// Future v1 chains (metadata only — not in SUPPORTED_CHAIN_IDS yet)
|
|
52
|
-
10: "Optimism",
|
|
53
|
-
11155420: "OP Sepolia",
|
|
54
|
-
137: "Polygon",
|
|
55
|
-
80002: "Polygon Amoy"
|
|
50
|
+
[421614 /* ArbitrumSepolia */]: "Arbitrum Sepolia"
|
|
56
51
|
};
|
|
57
52
|
var EXPLORER_TX = {
|
|
58
53
|
[8453 /* Base */]: "https://basescan.org/tx/",
|
|
59
54
|
[84532 /* BaseSepolia */]: "https://sepolia.basescan.org/tx/",
|
|
60
55
|
[42161 /* Arbitrum */]: "https://arbiscan.io/tx/",
|
|
61
|
-
[421614 /* ArbitrumSepolia */]: "https://sepolia.arbiscan.io/tx/"
|
|
62
|
-
10: "https://optimistic.etherscan.io/tx/",
|
|
63
|
-
11155420: "https://sepolia-optimism.etherscan.io/tx/",
|
|
64
|
-
137: "https://polygonscan.com/tx/",
|
|
65
|
-
80002: "https://amoy.polygonscan.com/tx/"
|
|
56
|
+
[421614 /* ArbitrumSepolia */]: "https://sepolia.arbiscan.io/tx/"
|
|
66
57
|
};
|
|
67
58
|
var EXPLORER_ADDR = {
|
|
68
59
|
[8453 /* Base */]: "https://basescan.org/address/",
|
|
69
60
|
[84532 /* BaseSepolia */]: "https://sepolia.basescan.org/address/",
|
|
70
61
|
[42161 /* Arbitrum */]: "https://arbiscan.io/address/",
|
|
71
|
-
[421614 /* ArbitrumSepolia */]: "https://sepolia.arbiscan.io/address/"
|
|
72
|
-
10: "https://optimistic.etherscan.io/address/",
|
|
73
|
-
11155420: "https://sepolia-optimism.etherscan.io/address/",
|
|
74
|
-
137: "https://polygonscan.com/address/",
|
|
75
|
-
80002: "https://amoy.polygonscan.com/address/"
|
|
62
|
+
[421614 /* ArbitrumSepolia */]: "https://sepolia.arbiscan.io/address/"
|
|
76
63
|
};
|
|
77
64
|
var DEFAULT_DEADLINE_SECONDS = 300;
|
|
78
65
|
var WINDOW = {
|
|
@@ -2563,8 +2550,6 @@ var Token = /* @__PURE__ */ ((Token2) => {
|
|
|
2563
2550
|
Token2["COMP"] = "COMP";
|
|
2564
2551
|
Token2["CRV"] = "CRV";
|
|
2565
2552
|
Token2["SNX"] = "SNX";
|
|
2566
|
-
Token2["ARB"] = "ARB";
|
|
2567
|
-
Token2["AERO"] = "AERO";
|
|
2568
2553
|
Token2["GMX"] = "GMX";
|
|
2569
2554
|
return Token2;
|
|
2570
2555
|
})(Token || {});
|
|
@@ -2722,23 +2707,6 @@ var KNOWN_TOKENS = {
|
|
|
2722
2707
|
8453: "0x22e6966B799c4D5B13BE962E1D117b56327FDa66"
|
|
2723
2708
|
}
|
|
2724
2709
|
},
|
|
2725
|
-
// ── Chain-native governance ─────────────────────────────
|
|
2726
|
-
ARB: {
|
|
2727
|
-
symbol: "ARB",
|
|
2728
|
-
name: "Arbitrum",
|
|
2729
|
-
decimals: 18,
|
|
2730
|
-
addresses: {
|
|
2731
|
-
42161: "0x912CE59144191C1204E64559FE8253a0e49E6548"
|
|
2732
|
-
}
|
|
2733
|
-
},
|
|
2734
|
-
AERO: {
|
|
2735
|
-
symbol: "AERO",
|
|
2736
|
-
name: "Aerodrome",
|
|
2737
|
-
decimals: 18,
|
|
2738
|
-
addresses: {
|
|
2739
|
-
8453: "0x940181a94A35A4569E4529A3CDfB74e38FD98631"
|
|
2740
|
-
}
|
|
2741
|
-
},
|
|
2742
2710
|
GMX: {
|
|
2743
2711
|
symbol: "GMX",
|
|
2744
2712
|
name: "GMX",
|