@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.
@@ -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://mainnet-indexer.ref-finance.com',
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
  };
@@ -63,6 +63,18 @@ function getConfig(env, indexerUrl) {
63
63
  explorerUrl: 'https://testnet.nearblocks.io',
64
64
  REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-dev.testnet'
65
65
  };
66
+ case 'dev':
67
+ return {
68
+ networkId: 'testnet',
69
+ nodeUrl: 'https://rpc.testnet.near.org',
70
+ walletUrl: 'https://wallet.testnet.near.org',
71
+ indexerUrl: indexerUrl || 'https://dev-indexer.ref-finance.com',
72
+ WRAP_NEAR_CONTRACT_ID: 'wrap.testnet',
73
+ REF_FI_CONTRACT_ID: 'exchange.ref-dev.testnet',
74
+ REF_TOKEN_ID: 'ref.fakes.testnet',
75
+ explorerUrl: 'https://testnet.nearblocks.io',
76
+ REF_DCL_SWAP_CONTRACT_ID: 'refv2-dev.ref-dev.testnet'
77
+ };
66
78
  default:
67
79
  return {
68
80
  networkId: 'mainnet',
@@ -71,7 +83,7 @@ function getConfig(env, indexerUrl) {
71
83
  REF_FI_CONTRACT_ID: 'v2.ref-finance.near',
72
84
  WRAP_NEAR_CONTRACT_ID: 'wrap.near',
73
85
  REF_TOKEN_ID: 'token.v2.ref-finance.near',
74
- indexerUrl: indexerUrl || 'https://mainnet-indexer.ref-finance.com',
86
+ indexerUrl: indexerUrl || 'https://indexer.ref.finance',
75
87
  explorerUrl: 'https://nearblocks.io',
76
88
  REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near'
77
89
  };
@@ -7561,6 +7573,24 @@ var DefaultMainnetTokenList = [{
7561
7573
  reference_hash: null,
7562
7574
  decimals: 6,
7563
7575
  id: 'usdt.tether-token.near'
7576
+ }, {
7577
+ spec: 'ft-1.0.0',
7578
+ name: 'NEAT',
7579
+ symbol: 'NEAT',
7580
+ 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",
7581
+ reference: null,
7582
+ reference_hash: null,
7583
+ decimals: 8,
7584
+ id: 'neat.nrc-20.near'
7585
+ }, {
7586
+ spec: 'ft-1.0.0',
7587
+ name: 'USMeme',
7588
+ symbol: 'USM',
7589
+ icon: 'https://storage.herewallet.app/upload/13151331-8f9c-4851-8038-36794688c693.jpg',
7590
+ reference: null,
7591
+ reference_hash: null,
7592
+ decimals: 8,
7593
+ id: 'usmeme.tg'
7564
7594
  }];
7565
7595
  function getDefaultTokenList() {
7566
7596
  var env = getConfig().networkId;