@dzapio/sdk 2.0.19 → 2.0.20
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.js +29 -3
- package/dist/index.mjs +29 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10735,9 +10735,33 @@ var pushTestnet = /* @__PURE__ */ viem.defineChain({
|
|
|
10735
10735
|
}
|
|
10736
10736
|
}
|
|
10737
10737
|
});
|
|
10738
|
+
var astralisTestnet = /* @__PURE__ */ viem.defineChain({
|
|
10739
|
+
id: 71261,
|
|
10740
|
+
name: "Astralis Chain",
|
|
10741
|
+
nativeCurrency: {
|
|
10742
|
+
decimals: 18,
|
|
10743
|
+
name: "ASTCH",
|
|
10744
|
+
symbol: "ASTCH"
|
|
10745
|
+
},
|
|
10746
|
+
rpcUrls: {
|
|
10747
|
+
default: { http: ["https://test-rpc.astralischain.com"] }
|
|
10748
|
+
},
|
|
10749
|
+
blockExplorers: {
|
|
10750
|
+
default: {
|
|
10751
|
+
name: "Astralis Testnet Explorer",
|
|
10752
|
+
url: "https://test-explorer.astralischain.com"
|
|
10753
|
+
}
|
|
10754
|
+
},
|
|
10755
|
+
contracts: {
|
|
10756
|
+
multicall3: {
|
|
10757
|
+
address: "0xd74bAE15b413e0a90A7B2C1723F4A9c15cb49f73",
|
|
10758
|
+
blockCreated: 260214
|
|
10759
|
+
}
|
|
10760
|
+
}
|
|
10761
|
+
});
|
|
10738
10762
|
|
|
10739
10763
|
// src/chains/index.ts
|
|
10740
|
-
var customViemChains = [fiveIre, arthera, hyperEvm, hyperliquid, stableChain, pushTestnet];
|
|
10764
|
+
var customViemChains = [fiveIre, arthera, hyperEvm, hyperliquid, stableChain, pushTestnet, astralisTestnet];
|
|
10741
10765
|
var viemChainsById = [...Object.values(viemChains__namespace), ...customViemChains].reduce((acc, chainData) => {
|
|
10742
10766
|
return chainData.id ? {
|
|
10743
10767
|
...acc,
|
|
@@ -12796,7 +12820,8 @@ var exclusiveChainIds = {
|
|
|
12796
12820
|
lens: 232,
|
|
12797
12821
|
citreaTestnet: 5115,
|
|
12798
12822
|
hyperLiquid: 998,
|
|
12799
|
-
pushTestnet: 42101
|
|
12823
|
+
pushTestnet: 42101,
|
|
12824
|
+
astralisTestnet: 71261
|
|
12800
12825
|
};
|
|
12801
12826
|
|
|
12802
12827
|
// src/constants/contract.ts
|
|
@@ -12812,7 +12837,8 @@ var exclusivePermit2Addresses = {
|
|
|
12812
12837
|
[exclusiveChainIds.bahamut]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5",
|
|
12813
12838
|
[exclusiveChainIds.pushTestnet]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5",
|
|
12814
12839
|
[exclusiveChainIds.abstract]: "0x0000000000225e31D15943971F47aD3022F714Fa",
|
|
12815
|
-
[exclusiveChainIds.lens]: "0x0000000000225e31D15943971F47aD3022F714Fa"
|
|
12840
|
+
[exclusiveChainIds.lens]: "0x0000000000225e31D15943971F47aD3022F714Fa",
|
|
12841
|
+
[exclusiveChainIds.astralisTestnet]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5"
|
|
12816
12842
|
};
|
|
12817
12843
|
var DEFAULT_PERMIT2_ADDRESS = "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
12818
12844
|
|
package/dist/index.mjs
CHANGED
|
@@ -10709,9 +10709,33 @@ var pushTestnet = /* @__PURE__ */ defineChain({
|
|
|
10709
10709
|
}
|
|
10710
10710
|
}
|
|
10711
10711
|
});
|
|
10712
|
+
var astralisTestnet = /* @__PURE__ */ defineChain({
|
|
10713
|
+
id: 71261,
|
|
10714
|
+
name: "Astralis Chain",
|
|
10715
|
+
nativeCurrency: {
|
|
10716
|
+
decimals: 18,
|
|
10717
|
+
name: "ASTCH",
|
|
10718
|
+
symbol: "ASTCH"
|
|
10719
|
+
},
|
|
10720
|
+
rpcUrls: {
|
|
10721
|
+
default: { http: ["https://test-rpc.astralischain.com"] }
|
|
10722
|
+
},
|
|
10723
|
+
blockExplorers: {
|
|
10724
|
+
default: {
|
|
10725
|
+
name: "Astralis Testnet Explorer",
|
|
10726
|
+
url: "https://test-explorer.astralischain.com"
|
|
10727
|
+
}
|
|
10728
|
+
},
|
|
10729
|
+
contracts: {
|
|
10730
|
+
multicall3: {
|
|
10731
|
+
address: "0xd74bAE15b413e0a90A7B2C1723F4A9c15cb49f73",
|
|
10732
|
+
blockCreated: 260214
|
|
10733
|
+
}
|
|
10734
|
+
}
|
|
10735
|
+
});
|
|
10712
10736
|
|
|
10713
10737
|
// src/chains/index.ts
|
|
10714
|
-
var customViemChains = [fiveIre, arthera, hyperEvm, hyperliquid, stableChain, pushTestnet];
|
|
10738
|
+
var customViemChains = [fiveIre, arthera, hyperEvm, hyperliquid, stableChain, pushTestnet, astralisTestnet];
|
|
10715
10739
|
var viemChainsById = [...Object.values(viemChains), ...customViemChains].reduce((acc, chainData) => {
|
|
10716
10740
|
return chainData.id ? {
|
|
10717
10741
|
...acc,
|
|
@@ -12770,7 +12794,8 @@ var exclusiveChainIds = {
|
|
|
12770
12794
|
lens: 232,
|
|
12771
12795
|
citreaTestnet: 5115,
|
|
12772
12796
|
hyperLiquid: 998,
|
|
12773
|
-
pushTestnet: 42101
|
|
12797
|
+
pushTestnet: 42101,
|
|
12798
|
+
astralisTestnet: 71261
|
|
12774
12799
|
};
|
|
12775
12800
|
|
|
12776
12801
|
// src/constants/contract.ts
|
|
@@ -12786,7 +12811,8 @@ var exclusivePermit2Addresses = {
|
|
|
12786
12811
|
[exclusiveChainIds.bahamut]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5",
|
|
12787
12812
|
[exclusiveChainIds.pushTestnet]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5",
|
|
12788
12813
|
[exclusiveChainIds.abstract]: "0x0000000000225e31D15943971F47aD3022F714Fa",
|
|
12789
|
-
[exclusiveChainIds.lens]: "0x0000000000225e31D15943971F47aD3022F714Fa"
|
|
12814
|
+
[exclusiveChainIds.lens]: "0x0000000000225e31D15943971F47aD3022F714Fa",
|
|
12815
|
+
[exclusiveChainIds.astralisTestnet]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5"
|
|
12790
12816
|
};
|
|
12791
12817
|
var DEFAULT_PERMIT2_ADDRESS = "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
12792
12818
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzapio/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.20",
|
|
4
4
|
"description": "A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|