@vleap/warps-adapter-evm 0.2.0-beta.62 → 0.2.0-beta.64
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 +33 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -741,7 +741,7 @@ var WarpEvmDataLoader = class {
|
|
|
741
741
|
name: token.name,
|
|
742
742
|
symbol: token.symbol,
|
|
743
743
|
decimals: token.decimals || 18,
|
|
744
|
-
logoUrl: token.
|
|
744
|
+
logoUrl: (0, import_warps11.getWarpChainAssetLogoUrl)(token, this.config) || ""
|
|
745
745
|
}));
|
|
746
746
|
}
|
|
747
747
|
async getTokenBalance(address, tokenAddress) {
|
|
@@ -1805,7 +1805,10 @@ var NativeTokenBase = {
|
|
|
1805
1805
|
name: "Ether",
|
|
1806
1806
|
symbol: "ETH",
|
|
1807
1807
|
decimals: 18,
|
|
1808
|
-
logoUrl:
|
|
1808
|
+
logoUrl: {
|
|
1809
|
+
light: "https://joai.ai/images/tokens/eth-white.svg",
|
|
1810
|
+
dark: "https://joai.ai/images/tokens/eth-black.svg"
|
|
1811
|
+
}
|
|
1809
1812
|
};
|
|
1810
1813
|
var BaseAdapter = createEvmAdapter(import_warps17.WarpChainName.Base, {
|
|
1811
1814
|
mainnet: {
|
|
@@ -1815,7 +1818,10 @@ var BaseAdapter = createEvmAdapter(import_warps17.WarpChainName.Base, {
|
|
|
1815
1818
|
blockTime: 2e3,
|
|
1816
1819
|
addressHrp: "0x",
|
|
1817
1820
|
defaultApiUrl: "https://mainnet.base.org",
|
|
1818
|
-
logoUrl:
|
|
1821
|
+
logoUrl: {
|
|
1822
|
+
light: "https://joai.ai/images/chains/base-white.svg",
|
|
1823
|
+
dark: "https://joai.ai/images/chains/base-black.svg"
|
|
1824
|
+
},
|
|
1819
1825
|
nativeToken: NativeTokenBase
|
|
1820
1826
|
},
|
|
1821
1827
|
testnet: {
|
|
@@ -1825,7 +1831,10 @@ var BaseAdapter = createEvmAdapter(import_warps17.WarpChainName.Base, {
|
|
|
1825
1831
|
blockTime: 2e3,
|
|
1826
1832
|
addressHrp: "0x",
|
|
1827
1833
|
defaultApiUrl: "https://sepolia.base.org",
|
|
1828
|
-
logoUrl:
|
|
1834
|
+
logoUrl: {
|
|
1835
|
+
light: "https://joai.ai/images/chains/base-white.svg",
|
|
1836
|
+
dark: "https://joai.ai/images/chains/base-black.svg"
|
|
1837
|
+
},
|
|
1829
1838
|
nativeToken: NativeTokenBase
|
|
1830
1839
|
},
|
|
1831
1840
|
devnet: {
|
|
@@ -1835,7 +1844,10 @@ var BaseAdapter = createEvmAdapter(import_warps17.WarpChainName.Base, {
|
|
|
1835
1844
|
blockTime: 2e3,
|
|
1836
1845
|
addressHrp: "0x",
|
|
1837
1846
|
defaultApiUrl: "https://sepolia.base.org",
|
|
1838
|
-
logoUrl:
|
|
1847
|
+
logoUrl: {
|
|
1848
|
+
light: "https://joai.ai/images/chains/base-white.svg",
|
|
1849
|
+
dark: "https://joai.ai/images/chains/base-black.svg"
|
|
1850
|
+
},
|
|
1839
1851
|
nativeToken: NativeTokenBase
|
|
1840
1852
|
}
|
|
1841
1853
|
});
|
|
@@ -1857,7 +1869,10 @@ var NativeTokenEth = {
|
|
|
1857
1869
|
symbol: "ETH",
|
|
1858
1870
|
name: "Ether",
|
|
1859
1871
|
decimals: 18,
|
|
1860
|
-
logoUrl:
|
|
1872
|
+
logoUrl: {
|
|
1873
|
+
light: "https://joai.ai/images/tokens/eth-white.svg",
|
|
1874
|
+
dark: "https://joai.ai/images/tokens/eth-black.svg"
|
|
1875
|
+
}
|
|
1861
1876
|
};
|
|
1862
1877
|
var EthereumAdapter = createEvmAdapter(import_warps19.WarpChainName.Ethereum, {
|
|
1863
1878
|
mainnet: {
|
|
@@ -1867,7 +1882,10 @@ var EthereumAdapter = createEvmAdapter(import_warps19.WarpChainName.Ethereum, {
|
|
|
1867
1882
|
blockTime: 12e3,
|
|
1868
1883
|
addressHrp: "0x",
|
|
1869
1884
|
defaultApiUrl: "https://ethereum-rpc.publicnode.com",
|
|
1870
|
-
logoUrl:
|
|
1885
|
+
logoUrl: {
|
|
1886
|
+
light: "https://joai.ai/images/chains/ethereum-white.svg",
|
|
1887
|
+
dark: "https://joai.ai/images/chains/ethereum-black.svg"
|
|
1888
|
+
},
|
|
1871
1889
|
nativeToken: NativeTokenEth
|
|
1872
1890
|
},
|
|
1873
1891
|
testnet: {
|
|
@@ -1877,7 +1895,10 @@ var EthereumAdapter = createEvmAdapter(import_warps19.WarpChainName.Ethereum, {
|
|
|
1877
1895
|
blockTime: 12e3,
|
|
1878
1896
|
addressHrp: "0x",
|
|
1879
1897
|
defaultApiUrl: "https://ethereum-sepolia-rpc.publicnode.com",
|
|
1880
|
-
logoUrl:
|
|
1898
|
+
logoUrl: {
|
|
1899
|
+
light: "https://joai.ai/images/chains/ethereum-white.svg",
|
|
1900
|
+
dark: "https://joai.ai/images/chains/ethereum-black.svg"
|
|
1901
|
+
},
|
|
1881
1902
|
nativeToken: NativeTokenEth
|
|
1882
1903
|
},
|
|
1883
1904
|
devnet: {
|
|
@@ -1887,7 +1908,10 @@ var EthereumAdapter = createEvmAdapter(import_warps19.WarpChainName.Ethereum, {
|
|
|
1887
1908
|
blockTime: 12e3,
|
|
1888
1909
|
addressHrp: "0x",
|
|
1889
1910
|
defaultApiUrl: "https://ethereum-sepolia-rpc.publicnode.com",
|
|
1890
|
-
logoUrl:
|
|
1911
|
+
logoUrl: {
|
|
1912
|
+
light: "https://joai.ai/images/chains/ethereum-white.svg",
|
|
1913
|
+
dark: "https://joai.ai/images/chains/ethereum-black.svg"
|
|
1914
|
+
},
|
|
1891
1915
|
nativeToken: NativeTokenEth
|
|
1892
1916
|
}
|
|
1893
1917
|
});
|