@ref-finance/ref-sdk 1.3.4 → 1.3.6
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 +32 -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 +32 -2
- package/dist/ref-sdk.esm.js.map +1 -1
- package/dist/ref-sdk.umd.development.js +32 -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
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
WRAP_NEAR_CONTRACT_ID: 'wrap.near',
|
|
36
36
|
REF_FI_CONTRACT_ID: 'v2.ref-finance.near',
|
|
37
37
|
REF_TOKEN_ID: 'token.v2.ref-finance.near',
|
|
38
|
-
indexerUrl: indexerUrl || 'https://
|
|
38
|
+
indexerUrl: indexerUrl || 'https://indexer.ref.finance',
|
|
39
39
|
explorerUrl: 'https://testnet.nearblocks.io',
|
|
40
40
|
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near'
|
|
41
41
|
};
|
|
@@ -51,6 +51,18 @@
|
|
|
51
51
|
explorerUrl: 'https://testnet.nearblocks.io',
|
|
52
52
|
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-dev.testnet'
|
|
53
53
|
};
|
|
54
|
+
case 'dev':
|
|
55
|
+
return {
|
|
56
|
+
networkId: 'testnet',
|
|
57
|
+
nodeUrl: 'https://rpc.testnet.near.org',
|
|
58
|
+
walletUrl: 'https://wallet.testnet.near.org',
|
|
59
|
+
indexerUrl: indexerUrl || 'https://dev-indexer.ref-finance.com',
|
|
60
|
+
WRAP_NEAR_CONTRACT_ID: 'wrap.testnet',
|
|
61
|
+
REF_FI_CONTRACT_ID: 'exchange.ref-dev.testnet',
|
|
62
|
+
REF_TOKEN_ID: 'ref.fakes.testnet',
|
|
63
|
+
explorerUrl: 'https://testnet.nearblocks.io',
|
|
64
|
+
REF_DCL_SWAP_CONTRACT_ID: 'refv2-dev.ref-dev.testnet'
|
|
65
|
+
};
|
|
54
66
|
default:
|
|
55
67
|
return {
|
|
56
68
|
networkId: 'mainnet',
|
|
@@ -59,7 +71,7 @@
|
|
|
59
71
|
REF_FI_CONTRACT_ID: 'v2.ref-finance.near',
|
|
60
72
|
WRAP_NEAR_CONTRACT_ID: 'wrap.near',
|
|
61
73
|
REF_TOKEN_ID: 'token.v2.ref-finance.near',
|
|
62
|
-
indexerUrl: indexerUrl || 'https://
|
|
74
|
+
indexerUrl: indexerUrl || 'https://indexer.ref.finance',
|
|
63
75
|
explorerUrl: 'https://nearblocks.io',
|
|
64
76
|
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near'
|
|
65
77
|
};
|
|
@@ -7548,6 +7560,24 @@
|
|
|
7548
7560
|
reference_hash: null,
|
|
7549
7561
|
decimals: 6,
|
|
7550
7562
|
id: 'usdt.tether-token.near'
|
|
7563
|
+
}, {
|
|
7564
|
+
spec: 'ft-1.0.0',
|
|
7565
|
+
name: 'NEAT',
|
|
7566
|
+
symbol: 'NEAT',
|
|
7567
|
+
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",
|
|
7568
|
+
reference: null,
|
|
7569
|
+
reference_hash: null,
|
|
7570
|
+
decimals: 8,
|
|
7571
|
+
id: 'neat.nrc-20.near'
|
|
7572
|
+
}, {
|
|
7573
|
+
spec: 'ft-1.0.0',
|
|
7574
|
+
name: 'USMeme',
|
|
7575
|
+
symbol: 'USM',
|
|
7576
|
+
icon: 'https://storage.herewallet.app/upload/13151331-8f9c-4851-8038-36794688c693.jpg',
|
|
7577
|
+
reference: null,
|
|
7578
|
+
reference_hash: null,
|
|
7579
|
+
decimals: 8,
|
|
7580
|
+
id: 'usmeme.tg'
|
|
7551
7581
|
}];
|
|
7552
7582
|
function getDefaultTokenList() {
|
|
7553
7583
|
var env = getConfig().networkId;
|