@ref-finance/ref-sdk 1.3.4 → 1.3.5
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 +3 -1
- package/dist/ref-sdk.cjs.development.js +20 -2
- package/dist/ref-sdk.cjs.development.js.map +1 -1
- package/dist/ref-sdk.cjs.production.min.js +1 -1
- package/dist/ref-sdk.cjs.production.min.js.map +1 -1
- package/dist/ref-sdk.esm.js +20 -2
- package/dist/ref-sdk.esm.js.map +1 -1
- package/dist/ref-sdk.umd.development.js +20 -2
- package/dist/ref-sdk.umd.development.js.map +1 -1
- package/dist/ref-sdk.umd.production.min.js +1 -1
- package/dist/ref-sdk.umd.production.min.js.map +1 -1
- package/package.json +1 -1
package/dist/ref-sdk.esm.js
CHANGED
|
@@ -47,7 +47,7 @@ function getConfig(env, indexerUrl) {
|
|
|
47
47
|
WRAP_NEAR_CONTRACT_ID: 'wrap.near',
|
|
48
48
|
REF_FI_CONTRACT_ID: 'v2.ref-finance.near',
|
|
49
49
|
REF_TOKEN_ID: 'token.v2.ref-finance.near',
|
|
50
|
-
indexerUrl: indexerUrl || 'https://
|
|
50
|
+
indexerUrl: indexerUrl || 'https://indexer.ref.finance',
|
|
51
51
|
explorerUrl: 'https://testnet.nearblocks.io',
|
|
52
52
|
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near'
|
|
53
53
|
};
|
|
@@ -71,7 +71,7 @@ function getConfig(env, indexerUrl) {
|
|
|
71
71
|
REF_FI_CONTRACT_ID: 'v2.ref-finance.near',
|
|
72
72
|
WRAP_NEAR_CONTRACT_ID: 'wrap.near',
|
|
73
73
|
REF_TOKEN_ID: 'token.v2.ref-finance.near',
|
|
74
|
-
indexerUrl: indexerUrl || 'https://
|
|
74
|
+
indexerUrl: indexerUrl || 'https://indexer.ref.finance',
|
|
75
75
|
explorerUrl: 'https://nearblocks.io',
|
|
76
76
|
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near'
|
|
77
77
|
};
|
|
@@ -7561,6 +7561,24 @@ var DefaultMainnetTokenList = [{
|
|
|
7561
7561
|
reference_hash: null,
|
|
7562
7562
|
decimals: 6,
|
|
7563
7563
|
id: 'usdt.tether-token.near'
|
|
7564
|
+
}, {
|
|
7565
|
+
spec: 'ft-1.0.0',
|
|
7566
|
+
name: 'NEAT',
|
|
7567
|
+
symbol: 'NEAT',
|
|
7568
|
+
icon: "data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='4.8' fill='%23202020'/%3E%3Crect width='40' height='40' rx='4.8' fill='url(%23paint0_linear_1_5571)'/%3E%3Crect x='10.4' y='12.6001' width='4.8' height='4.8' fill='white'/%3E%3Crect x='15.2' y='12.6001' width='4.8' height='4.8' fill='white'/%3E%3Crect x='24.8' y='12.6001' width='4.8' height='4.8' fill='white'/%3E%3Crect x='10.4' y='17.4001' width='4.8' height='4.8' fill='white'/%3E%3Crect x='24.8' y='17.4001' width='4.8' height='4.8' fill='white'/%3E%3Crect x='10.4' y='22.2002' width='4.8' height='4.8' fill='white'/%3E%3Crect x='24.8' y='22.2002' width='4.8' height='4.8' fill='white'/%3E%3Crect x='20' y='22.2002' width='4.8' height='4.8' fill='white'/%3E%3Crect x='17.6' y='17.4001' width='4.8' height='4.8' fill='white'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_1_5571' x1='20' y1='0' x2='20' y2='40' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23262626'/%3E%3Cstop offset='1' stop-color='%23121212'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A",
|
|
7569
|
+
reference: null,
|
|
7570
|
+
reference_hash: null,
|
|
7571
|
+
decimals: 8,
|
|
7572
|
+
id: 'neat.nrc-20.near'
|
|
7573
|
+
}, {
|
|
7574
|
+
spec: 'ft-1.0.0',
|
|
7575
|
+
name: 'USMeme',
|
|
7576
|
+
symbol: 'USM',
|
|
7577
|
+
icon: 'https://storage.herewallet.app/upload/13151331-8f9c-4851-8038-36794688c693.jpg',
|
|
7578
|
+
reference: null,
|
|
7579
|
+
reference_hash: null,
|
|
7580
|
+
decimals: 8,
|
|
7581
|
+
id: 'usmeme.tg'
|
|
7564
7582
|
}];
|
|
7565
7583
|
function getDefaultTokenList() {
|
|
7566
7584
|
var env = getConfig().networkId;
|