@cityofzion/bs-neo3 0.7.2 → 0.8.0

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.
Files changed (99) hide show
  1. package/.rush/temp/operation/build/all.log +1 -0
  2. package/.rush/temp/operation/build/state.json +1 -1
  3. package/.rush/temp/package-deps_build.json +11 -7
  4. package/.rush/temp/shrinkwrap-deps.json +354 -130
  5. package/CHANGELOG.json +22 -0
  6. package/CHANGELOG.md +11 -0
  7. package/bs-neo3.build.log +1 -2
  8. package/dist/BSNeo3.d.ts +28 -27
  9. package/dist/BSNeo3.js +184 -182
  10. package/dist/DoraBDSNeo3.d.ts +12 -12
  11. package/dist/DoraBDSNeo3.js +169 -169
  12. package/dist/DoraESNeo3.d.ts +7 -0
  13. package/dist/DoraESNeo3.js +19 -0
  14. package/dist/FlamingoEDSNeo3.d.ts +8 -8
  15. package/dist/FlamingoEDSNeo3.js +45 -44
  16. package/dist/GhostMarketNDSNeo3.d.ts +10 -10
  17. package/dist/GhostMarketNDSNeo3.js +75 -75
  18. package/dist/RpcBDSNeo3.d.ts +16 -15
  19. package/dist/RpcBDSNeo3.js +153 -152
  20. package/dist/assets/tokens/common.json +14 -14
  21. package/dist/assets/tokens/mainnet.json +116 -116
  22. package/dist/constants.d.ts +7 -7
  23. package/dist/constants.js +28 -28
  24. package/dist/index.d.ts +6 -6
  25. package/dist/index.js +22 -22
  26. package/jest.config.ts +13 -13
  27. package/jest.setup.ts +1 -1
  28. package/package.json +33 -32
  29. package/src/BSNeo3.ts +228 -223
  30. package/src/DoraBDSNeo3.ts +180 -180
  31. package/src/DoraESNeo3.ts +19 -0
  32. package/src/FlamingoEDSNeo3.ts +47 -45
  33. package/src/GhostMarketNDSNeo3.ts +117 -117
  34. package/src/RpcBDSNeo3.ts +157 -155
  35. package/src/__tests__/BDSNeo3.spec.ts +126 -126
  36. package/src/__tests__/BSNeo3.spec.ts +142 -142
  37. package/src/__tests__/DoraESNeo3.spec.ts +23 -0
  38. package/src/__tests__/FlamingoEDSNeo3.spec.ts +48 -45
  39. package/src/__tests__/GhostMarketNDSNeo3.spec.ts +43 -43
  40. package/src/__tests__/utils/sleep.ts +1 -1
  41. package/src/assets/tokens/common.json +13 -13
  42. package/src/assets/tokens/mainnet.json +115 -115
  43. package/src/constants.ts +29 -29
  44. package/src/index.ts +6 -6
  45. package/tsconfig.build.json +4 -4
  46. package/tsconfig.json +14 -14
  47. package/dist/BDSNeo3.d.ts +0 -15
  48. package/dist/BDSNeo3.js +0 -211
  49. package/dist/assets/tokens.json +0 -128
  50. package/dist/exceptions.d.ts +0 -3
  51. package/dist/exceptions.js +0 -8
  52. package/dist/explorer/dora/DoraNeo3Responses.d.ts +0 -174
  53. package/dist/explorer/dora/DoraNeo3Responses.js +0 -3
  54. package/dist/explorer/dora/DoraNeo3Routes.d.ts +0 -6
  55. package/dist/explorer/dora/DoraNeo3Routes.js +0 -9
  56. package/dist/explorer/index.d.ts +0 -6
  57. package/dist/explorer/index.js +0 -23
  58. package/docs/.nojekyll +0 -1
  59. package/docs/assets/highlight.css +0 -22
  60. package/docs/assets/main.js +0 -58
  61. package/docs/assets/search.js +0 -1
  62. package/docs/assets/style.css +0 -1280
  63. package/docs/classes/BDSNeo3.html +0 -253
  64. package/docs/classes/BSNeo3.html +0 -442
  65. package/docs/index.html +0 -82
  66. package/docs/interfaces/DoraNeo3Abi.html +0 -78
  67. package/docs/interfaces/DoraNeo3Asset.html +0 -117
  68. package/docs/interfaces/DoraNeo3AssetState.html +0 -96
  69. package/docs/interfaces/DoraNeo3Balance.html +0 -89
  70. package/docs/interfaces/DoraNeo3ConsensusNode.html +0 -75
  71. package/docs/interfaces/DoraNeo3Contract.html +0 -110
  72. package/docs/interfaces/DoraNeo3Event.html +0 -75
  73. package/docs/interfaces/DoraNeo3Features.html +0 -84
  74. package/docs/interfaces/DoraNeo3HistoryState.html +0 -75
  75. package/docs/interfaces/DoraNeo3Invocation.html +0 -75
  76. package/docs/interfaces/DoraNeo3Item.html +0 -131
  77. package/docs/interfaces/DoraNeo3Manifest.html +0 -117
  78. package/docs/interfaces/DoraNeo3Metadata.html +0 -138
  79. package/docs/interfaces/DoraNeo3Method.html +0 -102
  80. package/docs/interfaces/DoraNeo3Nef.html +0 -103
  81. package/docs/interfaces/DoraNeo3Notification.html +0 -82
  82. package/docs/interfaces/DoraNeo3Parameter.html +0 -75
  83. package/docs/interfaces/DoraNeo3Permission.html +0 -75
  84. package/docs/interfaces/DoraNeo3Signer.html +0 -75
  85. package/docs/interfaces/DoraNeo3Token.html +0 -96
  86. package/docs/interfaces/DoraNeo3Transaction.html +0 -166
  87. package/docs/interfaces/DoraNeo3TransactionHistory.html +0 -75
  88. package/docs/interfaces/DoraNeo3Transfer.html +0 -117
  89. package/docs/interfaces/DoraNeo3Witness.html +0 -75
  90. package/docs/modules.html +0 -122
  91. package/docs/variables/DORA_ASSET.html +0 -81
  92. package/docs/variables/DORA_BALANCE.html +0 -81
  93. package/docs/variables/DORA_CONTRACT.html +0 -81
  94. package/docs/variables/DORA_NODES.html +0 -81
  95. package/docs/variables/DORA_TRANSACTION.html +0 -81
  96. package/docs/variables/DORA_TRANSACTIONS.html +0 -81
  97. package/docs/variables/explorerOptions.html +0 -86
  98. package/docs/variables/gasInfoNeo3.html +0 -90
  99. package/docs/variables/neoInfoNeo3.html +0 -90
@@ -1,15 +1,16 @@
1
- import { BDSClaimable, BalanceResponse, BlockchainDataService, ContractResponse, Network, Token, TransactionResponse, TransactionsByAddressParams, TransactionsByAddressResponse } from '@cityofzion/blockchain-service';
2
- export declare class RPCBDSNeo3 implements BlockchainDataService, BDSClaimable {
3
- protected readonly tokenCache: Map<string, Token>;
4
- protected readonly feeToken: Token;
5
- protected readonly claimToken: Token;
6
- readonly network: Network;
7
- constructor(network: Network, feeToken: Token, claimToken: Token);
8
- getTransaction(hash: string): Promise<TransactionResponse>;
9
- getTransactionsByAddress(_params: TransactionsByAddressParams): Promise<TransactionsByAddressResponse>;
10
- getContract(contractHash: string): Promise<ContractResponse>;
11
- getTokenInfo(tokenHash: string): Promise<Token>;
12
- getBalance(address: string): Promise<BalanceResponse[]>;
13
- getBlockHeight(): Promise<number>;
14
- getUnclaimed(address: string): Promise<string>;
15
- }
1
+ import { BDSClaimable, BalanceResponse, BlockchainDataService, ContractResponse, Network, Token, TransactionResponse, TransactionsByAddressParams, TransactionsByAddressResponse } from '@cityofzion/blockchain-service';
2
+ export declare class RPCBDSNeo3 implements BlockchainDataService, BDSClaimable {
3
+ protected readonly tokenCache: Map<string, Token>;
4
+ protected readonly feeToken: Token;
5
+ protected readonly claimToken: Token;
6
+ readonly network: Network;
7
+ maxTimeToConfirmTransactionInMs: number;
8
+ constructor(network: Network, feeToken: Token, claimToken: Token);
9
+ getTransaction(hash: string): Promise<TransactionResponse>;
10
+ getTransactionsByAddress(_params: TransactionsByAddressParams): Promise<TransactionsByAddressResponse>;
11
+ getContract(contractHash: string): Promise<ContractResponse>;
12
+ getTokenInfo(tokenHash: string): Promise<Token>;
13
+ getBalance(address: string): Promise<BalanceResponse[]>;
14
+ getBlockHeight(): Promise<number>;
15
+ getUnclaimed(address: string): Promise<string>;
16
+ }
@@ -1,152 +1,153 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RPCBDSNeo3 = void 0;
13
- const neon_core_1 = require("@cityofzion/neon-core");
14
- const neon_invoker_1 = require("@cityofzion/neon-invoker");
15
- const constants_1 = require("./constants");
16
- class RPCBDSNeo3 {
17
- constructor(network, feeToken, claimToken) {
18
- this.tokenCache = new Map();
19
- this.network = network;
20
- this.feeToken = feeToken;
21
- this.claimToken = claimToken;
22
- }
23
- getTransaction(hash) {
24
- var _a, _b;
25
- return __awaiter(this, void 0, void 0, function* () {
26
- try {
27
- const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
28
- const response = yield rpcClient.getRawTransaction(hash, true);
29
- return {
30
- hash: response.hash,
31
- block: response.validuntilblock,
32
- fee: neon_core_1.u.BigInteger.fromNumber((_a = response.netfee) !== null && _a !== void 0 ? _a : 0)
33
- .add(neon_core_1.u.BigInteger.fromNumber((_b = response.sysfee) !== null && _b !== void 0 ? _b : 0))
34
- .toDecimal(this.feeToken.decimals),
35
- notifications: [],
36
- transfers: [],
37
- time: response.blocktime,
38
- };
39
- }
40
- catch (_c) {
41
- throw new Error(`Transaction not found: ${hash}`);
42
- }
43
- });
44
- }
45
- getTransactionsByAddress(_params) {
46
- return __awaiter(this, void 0, void 0, function* () {
47
- throw new Error('Method not supported.');
48
- });
49
- }
50
- getContract(contractHash) {
51
- return __awaiter(this, void 0, void 0, function* () {
52
- try {
53
- const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
54
- const contractState = yield rpcClient.getContractState(contractHash);
55
- const methods = contractState.manifest.abi.methods.map(method => ({
56
- name: method.name,
57
- parameters: method.parameters.map(parameter => ({
58
- name: parameter.name,
59
- type: parameter.type,
60
- })),
61
- }));
62
- return {
63
- hash: contractState.hash,
64
- name: contractState.manifest.name,
65
- methods,
66
- };
67
- }
68
- catch (_a) {
69
- throw new Error(`Contract not found: ${contractHash}`);
70
- }
71
- });
72
- }
73
- getTokenInfo(tokenHash) {
74
- return __awaiter(this, void 0, void 0, function* () {
75
- const localToken = constants_1.TOKENS[this.network.type].find(token => token.hash === tokenHash);
76
- if (localToken)
77
- return localToken;
78
- if (this.tokenCache.has(tokenHash)) {
79
- return this.tokenCache.get(tokenHash);
80
- }
81
- try {
82
- const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
83
- const contractState = yield rpcClient.getContractState(tokenHash);
84
- const invoker = yield neon_invoker_1.NeonInvoker.init({
85
- rpcAddress: this.network.url,
86
- });
87
- const response = yield invoker.testInvoke({
88
- invocations: [
89
- {
90
- scriptHash: tokenHash,
91
- operation: 'decimals',
92
- args: [],
93
- },
94
- { scriptHash: tokenHash, operation: 'symbol', args: [] },
95
- ],
96
- });
97
- const decimals = Number(response.stack[0].value);
98
- const symbol = neon_core_1.u.base642utf8(response.stack[1].value);
99
- const token = {
100
- name: contractState.manifest.name,
101
- symbol,
102
- hash: contractState.hash,
103
- decimals,
104
- };
105
- this.tokenCache.set(tokenHash, token);
106
- return token;
107
- }
108
- catch (_a) {
109
- throw new Error(`Token not found: ${tokenHash}`);
110
- }
111
- });
112
- }
113
- getBalance(address) {
114
- return __awaiter(this, void 0, void 0, function* () {
115
- const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
116
- const response = yield rpcClient.getNep17Balances(address);
117
- const promises = response.balance.map((balance) => __awaiter(this, void 0, void 0, function* () {
118
- var _a;
119
- let token = {
120
- hash: balance.assethash,
121
- name: '-',
122
- symbol: '-',
123
- decimals: 8,
124
- };
125
- try {
126
- token = yield this.getTokenInfo(balance.assethash);
127
- }
128
- catch (_b) { }
129
- return {
130
- amount: neon_core_1.u.BigInteger.fromNumber(balance.amount).toDecimal((_a = token === null || token === void 0 ? void 0 : token.decimals) !== null && _a !== void 0 ? _a : 8),
131
- token,
132
- };
133
- }));
134
- const balances = yield Promise.all(promises);
135
- return balances;
136
- });
137
- }
138
- getBlockHeight() {
139
- return __awaiter(this, void 0, void 0, function* () {
140
- const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
141
- return yield rpcClient.getBlockCount();
142
- });
143
- }
144
- getUnclaimed(address) {
145
- return __awaiter(this, void 0, void 0, function* () {
146
- const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
147
- const response = yield rpcClient.getUnclaimedGas(address);
148
- return neon_core_1.u.BigInteger.fromNumber(response).toDecimal(this.claimToken.decimals);
149
- });
150
- }
151
- }
152
- exports.RPCBDSNeo3 = RPCBDSNeo3;
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.RPCBDSNeo3 = void 0;
13
+ const neon_core_1 = require("@cityofzion/neon-core");
14
+ const neon_invoker_1 = require("@cityofzion/neon-invoker");
15
+ const constants_1 = require("./constants");
16
+ class RPCBDSNeo3 {
17
+ constructor(network, feeToken, claimToken) {
18
+ this.tokenCache = new Map();
19
+ this.maxTimeToConfirmTransactionInMs = 1000 * 60 * 2;
20
+ this.network = network;
21
+ this.feeToken = feeToken;
22
+ this.claimToken = claimToken;
23
+ }
24
+ getTransaction(hash) {
25
+ var _a, _b;
26
+ return __awaiter(this, void 0, void 0, function* () {
27
+ try {
28
+ const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
29
+ const response = yield rpcClient.getRawTransaction(hash, true);
30
+ return {
31
+ hash: response.hash,
32
+ block: response.validuntilblock,
33
+ fee: neon_core_1.u.BigInteger.fromNumber((_a = response.netfee) !== null && _a !== void 0 ? _a : 0)
34
+ .add(neon_core_1.u.BigInteger.fromNumber((_b = response.sysfee) !== null && _b !== void 0 ? _b : 0))
35
+ .toDecimal(this.feeToken.decimals),
36
+ notifications: [],
37
+ transfers: [],
38
+ time: response.blocktime,
39
+ };
40
+ }
41
+ catch (_c) {
42
+ throw new Error(`Transaction not found: ${hash}`);
43
+ }
44
+ });
45
+ }
46
+ getTransactionsByAddress(_params) {
47
+ return __awaiter(this, void 0, void 0, function* () {
48
+ throw new Error('Method not supported.');
49
+ });
50
+ }
51
+ getContract(contractHash) {
52
+ return __awaiter(this, void 0, void 0, function* () {
53
+ try {
54
+ const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
55
+ const contractState = yield rpcClient.getContractState(contractHash);
56
+ const methods = contractState.manifest.abi.methods.map(method => ({
57
+ name: method.name,
58
+ parameters: method.parameters.map(parameter => ({
59
+ name: parameter.name,
60
+ type: parameter.type,
61
+ })),
62
+ }));
63
+ return {
64
+ hash: contractState.hash,
65
+ name: contractState.manifest.name,
66
+ methods,
67
+ };
68
+ }
69
+ catch (_a) {
70
+ throw new Error(`Contract not found: ${contractHash}`);
71
+ }
72
+ });
73
+ }
74
+ getTokenInfo(tokenHash) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ const localToken = constants_1.TOKENS[this.network.type].find(token => token.hash === tokenHash);
77
+ if (localToken)
78
+ return localToken;
79
+ if (this.tokenCache.has(tokenHash)) {
80
+ return this.tokenCache.get(tokenHash);
81
+ }
82
+ try {
83
+ const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
84
+ const contractState = yield rpcClient.getContractState(tokenHash);
85
+ const invoker = yield neon_invoker_1.NeonInvoker.init({
86
+ rpcAddress: this.network.url,
87
+ });
88
+ const response = yield invoker.testInvoke({
89
+ invocations: [
90
+ {
91
+ scriptHash: tokenHash,
92
+ operation: 'decimals',
93
+ args: [],
94
+ },
95
+ { scriptHash: tokenHash, operation: 'symbol', args: [] },
96
+ ],
97
+ });
98
+ const decimals = Number(response.stack[0].value);
99
+ const symbol = neon_core_1.u.base642utf8(response.stack[1].value);
100
+ const token = {
101
+ name: contractState.manifest.name,
102
+ symbol,
103
+ hash: contractState.hash,
104
+ decimals,
105
+ };
106
+ this.tokenCache.set(tokenHash, token);
107
+ return token;
108
+ }
109
+ catch (_a) {
110
+ throw new Error(`Token not found: ${tokenHash}`);
111
+ }
112
+ });
113
+ }
114
+ getBalance(address) {
115
+ return __awaiter(this, void 0, void 0, function* () {
116
+ const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
117
+ const response = yield rpcClient.getNep17Balances(address);
118
+ const promises = response.balance.map((balance) => __awaiter(this, void 0, void 0, function* () {
119
+ var _a;
120
+ let token = {
121
+ hash: balance.assethash,
122
+ name: '-',
123
+ symbol: '-',
124
+ decimals: 8,
125
+ };
126
+ try {
127
+ token = yield this.getTokenInfo(balance.assethash);
128
+ }
129
+ catch (_b) { }
130
+ return {
131
+ amount: neon_core_1.u.BigInteger.fromNumber(balance.amount).toDecimal((_a = token === null || token === void 0 ? void 0 : token.decimals) !== null && _a !== void 0 ? _a : 8),
132
+ token,
133
+ };
134
+ }));
135
+ const balances = yield Promise.all(promises);
136
+ return balances;
137
+ });
138
+ }
139
+ getBlockHeight() {
140
+ return __awaiter(this, void 0, void 0, function* () {
141
+ const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
142
+ return yield rpcClient.getBlockCount();
143
+ });
144
+ }
145
+ getUnclaimed(address) {
146
+ return __awaiter(this, void 0, void 0, function* () {
147
+ const rpcClient = new neon_core_1.rpc.RPCClient(this.network.url);
148
+ const response = yield rpcClient.getUnclaimedGas(address);
149
+ return neon_core_1.u.BigInteger.fromNumber(response).toDecimal(this.claimToken.decimals);
150
+ });
151
+ }
152
+ }
153
+ exports.RPCBDSNeo3 = RPCBDSNeo3;
@@ -1,14 +1,14 @@
1
- [
2
- {
3
- "symbol": "GAS",
4
- "name": "GASToken",
5
- "hash": "d2a4cff31913016155e38e474a2c06d08be276cf",
6
- "decimals": 8
7
- },
8
- {
9
- "symbol": "NEO",
10
- "name": "NeoToken",
11
- "hash": "ef4073a0f2b305a38ec4050e4d3d28bc40ea63f5",
12
- "decimals": 0
13
- }
14
- ]
1
+ [
2
+ {
3
+ "symbol": "GAS",
4
+ "name": "GASToken",
5
+ "hash": "d2a4cff31913016155e38e474a2c06d08be276cf",
6
+ "decimals": 8
7
+ },
8
+ {
9
+ "symbol": "NEO",
10
+ "name": "NeoToken",
11
+ "hash": "ef4073a0f2b305a38ec4050e4d3d28bc40ea63f5",
12
+ "decimals": 0
13
+ }
14
+ ]
@@ -1,116 +1,116 @@
1
- [
2
- {
3
- "symbol": "LRB",
4
- "name": "LyrebirdToken",
5
- "hash": "0x8c07b4c9f5bc170a3922eac4f5bb7ef17b0acc8b",
6
- "decimals": 8
7
- },
8
- {
9
- "symbol": "USDL",
10
- "name": "LyrebirdUSDToken",
11
- "hash": "0xa8c51aa0c177187aeed3db88bdfa908ccbc9b1a5",
12
- "decimals": 8
13
- },
14
- {
15
- "symbol": "FLM",
16
- "name": "FLM",
17
- "hash": "0xf0151f528127558851b39c2cd8aa47da7418ab28",
18
- "decimals": 8
19
- },
20
- {
21
- "symbol": "fCAKE",
22
- "name": "fCAKE",
23
- "hash": "0xe65b462b90516012826f8a9c4c285d8c750e3a77",
24
- "decimals": 18
25
- },
26
- {
27
- "symbol": "WING",
28
- "name": "WING",
29
- "hash": "0xeeccd60ed722111f8400434dac3ba42c14d8beb1",
30
- "decimals": 9
31
- },
32
- {
33
- "symbol": "fWETH",
34
- "name": "fWETH",
35
- "hash": "0xc14b601252aa5dfa6166cf35fe5ccd2e35f3fdf5",
36
- "decimals": 18
37
- },
38
- {
39
- "symbol": "fWBTC",
40
- "name": "fWBTC",
41
- "hash": "0xd6abe115ecb75e1fa0b42f5e85934ce8c1ae2893",
42
- "decimals": 8
43
- },
44
- {
45
- "symbol": "SWTH",
46
- "name": "SWTHToken",
47
- "hash": "0x78e1330db47634afdb5ea455302ba2d12b8d549f",
48
- "decimals": 8
49
- },
50
- {
51
- "symbol": "pONT",
52
- "name": "pONT",
53
- "hash": "0x8122bc2212ec971690a044b37a6f52a9349b702b",
54
- "decimals": 9
55
- },
56
- {
57
- "symbol": "fUSDT",
58
- "name": "fUSDT",
59
- "hash": "0xcd48b160c1bbc9d74997b803b9a7ad50a4bef020",
60
- "decimals": 6
61
- },
62
- {
63
- "symbol": "FLUND",
64
- "name": "FLUND",
65
- "hash": "0xa9603a59e21d29e37ac39cf1b5f5abf5006b22a3",
66
- "decimals": 8
67
- },
68
- {
69
- "symbol": "GM",
70
- "name": "GhostMarketToken",
71
- "hash": "0x9b049f1283515eef1d3f6ac610e1595ed25ca3e9",
72
- "decimals": 8
73
- },
74
- {
75
- "symbol": "NUDES",
76
- "name": "Nudes",
77
- "hash": "0x340720c7107ef5721e44ed2ea8e314cce5c130fa",
78
- "decimals": 8
79
- },
80
- {
81
- "symbol": "CANDY",
82
- "name": "NeoCandy",
83
- "hash": "0x88da18a5bca86ec8206d9b4960a7d0c4355a432f",
84
- "decimals": 9
85
- },
86
- {
87
- "symbol": "DOGER",
88
- "name": "DogeRift",
89
- "hash": "0x322b5a366ca724801a1aa01e669b5f3d7f8c7f6f",
90
- "decimals": 8
91
- },
92
- {
93
- "symbol": "DOGEF",
94
- "name": "DogeFood",
95
- "hash": "0xa3291b66f70d4687fc0e41977d8acb0699f235ae",
96
- "decimals": 8
97
- },
98
- {
99
- "symbol": "SOM",
100
- "name": "Som",
101
- "hash": "0x2d4c6cf0417209a7eb410160344e224e74f87195",
102
- "decimals": 8
103
- },
104
- {
105
- "symbol": "LAMBO",
106
- "name": "BoomerFund",
107
- "hash": "0xafdd6abedf066ff8c5fbc868cc89f80eac467142",
108
- "decimals": 8
109
- },
110
- {
111
- "symbol": "bNEO",
112
- "hash": "0x48c40d4666f93408be1bef038b6722404d9a4c2a",
113
- "decimals": 8,
114
- "name": "BurgerNEO"
115
- }
116
- ]
1
+ [
2
+ {
3
+ "symbol": "LRB",
4
+ "name": "LyrebirdToken",
5
+ "hash": "0x8c07b4c9f5bc170a3922eac4f5bb7ef17b0acc8b",
6
+ "decimals": 8
7
+ },
8
+ {
9
+ "symbol": "USDL",
10
+ "name": "LyrebirdUSDToken",
11
+ "hash": "0xa8c51aa0c177187aeed3db88bdfa908ccbc9b1a5",
12
+ "decimals": 8
13
+ },
14
+ {
15
+ "symbol": "FLM",
16
+ "name": "FLM",
17
+ "hash": "0xf0151f528127558851b39c2cd8aa47da7418ab28",
18
+ "decimals": 8
19
+ },
20
+ {
21
+ "symbol": "fCAKE",
22
+ "name": "fCAKE",
23
+ "hash": "0xe65b462b90516012826f8a9c4c285d8c750e3a77",
24
+ "decimals": 18
25
+ },
26
+ {
27
+ "symbol": "WING",
28
+ "name": "WING",
29
+ "hash": "0xeeccd60ed722111f8400434dac3ba42c14d8beb1",
30
+ "decimals": 9
31
+ },
32
+ {
33
+ "symbol": "fWETH",
34
+ "name": "fWETH",
35
+ "hash": "0xc14b601252aa5dfa6166cf35fe5ccd2e35f3fdf5",
36
+ "decimals": 18
37
+ },
38
+ {
39
+ "symbol": "fWBTC",
40
+ "name": "fWBTC",
41
+ "hash": "0xd6abe115ecb75e1fa0b42f5e85934ce8c1ae2893",
42
+ "decimals": 8
43
+ },
44
+ {
45
+ "symbol": "SWTH",
46
+ "name": "SWTHToken",
47
+ "hash": "0x78e1330db47634afdb5ea455302ba2d12b8d549f",
48
+ "decimals": 8
49
+ },
50
+ {
51
+ "symbol": "pONT",
52
+ "name": "pONT",
53
+ "hash": "0x8122bc2212ec971690a044b37a6f52a9349b702b",
54
+ "decimals": 9
55
+ },
56
+ {
57
+ "symbol": "fUSDT",
58
+ "name": "fUSDT",
59
+ "hash": "0xcd48b160c1bbc9d74997b803b9a7ad50a4bef020",
60
+ "decimals": 6
61
+ },
62
+ {
63
+ "symbol": "FLUND",
64
+ "name": "FLUND",
65
+ "hash": "0xa9603a59e21d29e37ac39cf1b5f5abf5006b22a3",
66
+ "decimals": 8
67
+ },
68
+ {
69
+ "symbol": "GM",
70
+ "name": "GhostMarketToken",
71
+ "hash": "0x9b049f1283515eef1d3f6ac610e1595ed25ca3e9",
72
+ "decimals": 8
73
+ },
74
+ {
75
+ "symbol": "NUDES",
76
+ "name": "Nudes",
77
+ "hash": "0x340720c7107ef5721e44ed2ea8e314cce5c130fa",
78
+ "decimals": 8
79
+ },
80
+ {
81
+ "symbol": "CANDY",
82
+ "name": "NeoCandy",
83
+ "hash": "0x88da18a5bca86ec8206d9b4960a7d0c4355a432f",
84
+ "decimals": 9
85
+ },
86
+ {
87
+ "symbol": "DOGER",
88
+ "name": "DogeRift",
89
+ "hash": "0x322b5a366ca724801a1aa01e669b5f3d7f8c7f6f",
90
+ "decimals": 8
91
+ },
92
+ {
93
+ "symbol": "DOGEF",
94
+ "name": "DogeFood",
95
+ "hash": "0xa3291b66f70d4687fc0e41977d8acb0699f235ae",
96
+ "decimals": 8
97
+ },
98
+ {
99
+ "symbol": "SOM",
100
+ "name": "Som",
101
+ "hash": "0x2d4c6cf0417209a7eb410160344e224e74f87195",
102
+ "decimals": 8
103
+ },
104
+ {
105
+ "symbol": "LAMBO",
106
+ "name": "BoomerFund",
107
+ "hash": "0xafdd6abedf066ff8c5fbc868cc89f80eac467142",
108
+ "decimals": 8
109
+ },
110
+ {
111
+ "symbol": "bNEO",
112
+ "hash": "0x48c40d4666f93408be1bef038b6722404d9a4c2a",
113
+ "decimals": 8,
114
+ "name": "BurgerNEO"
115
+ }
116
+ ]
@@ -1,7 +1,7 @@
1
- import { NetworkType, Token } from '@cityofzion/blockchain-service';
2
- export declare const TOKENS: Record<NetworkType, Token[]>;
3
- export declare const NEO_NS_HASH = "0x50ac1c37690cc2cfc594472833cf57505d5f46de";
4
- export declare const DEFAULT_URL_BY_NETWORK_TYPE: Record<NetworkType, string>;
5
- export declare const GHOSTMARKET_URL_BY_NETWORK_TYPE: Partial<Record<NetworkType, string>>;
6
- export declare const GHOSTMARKET_CHAIN_BY_NETWORK_TYPE: Partial<Record<NetworkType, string>>;
7
- export declare const DERIVATION_PATH = "m/44'/888'/0'/0/?";
1
+ import { NetworkType, Token } from '@cityofzion/blockchain-service';
2
+ export declare const TOKENS: Record<NetworkType, Token[]>;
3
+ export declare const NEO_NS_HASH = "0x50ac1c37690cc2cfc594472833cf57505d5f46de";
4
+ export declare const DEFAULT_URL_BY_NETWORK_TYPE: Record<NetworkType, string>;
5
+ export declare const GHOSTMARKET_URL_BY_NETWORK_TYPE: Partial<Record<NetworkType, string>>;
6
+ export declare const GHOSTMARKET_CHAIN_BY_NETWORK_TYPE: Partial<Record<NetworkType, string>>;
7
+ export declare const DERIVATION_PATH = "m/44'/888'/0'/0/?";