@vleap/warps-adapter-evm 0.2.0-beta.62 → 0.2.0-beta.63
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 +21 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -6
- 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: {
|