@plutonlabs/sdk 0.0.18-beta → 0.0.19-beta
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/seed/tokens_seed.json +2 -2
- package/package.json +1 -1
- package/dist/modules/network/domain/enums/chain_type.enum.d.ts +0 -9
- package/dist/modules/network/domain/enums/chain_type.enum.d.ts.map +0 -1
- package/dist/modules/network/domain/enums/chain_type.enum.js +0 -25
- package/dist/modules/network/domain/enums/chain_type.enum.js.map +0 -1
- package/dist/modules/network/domain/enums/coin_type.enum.d.ts +0 -8
- package/dist/modules/network/domain/enums/coin_type.enum.d.ts.map +0 -1
- package/dist/modules/network/domain/enums/coin_type.enum.js +0 -12
- package/dist/modules/network/domain/enums/coin_type.enum.js.map +0 -1
@@ -104,8 +104,8 @@
|
|
104
104
|
"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
105
105
|
"decimals": 18,
|
106
106
|
"img": "https://cryptologos.cc/logos/ethereum-eth-logo.svg",
|
107
|
-
"coinType":
|
108
|
-
"chainId":
|
107
|
+
"coinType": 5000,
|
108
|
+
"chainId": 5000,
|
109
109
|
"isNative": true,
|
110
110
|
"isBase": false
|
111
111
|
},
|
package/package.json
CHANGED
@@ -1,9 +0,0 @@
|
|
1
|
-
import { CoinType } from './coin_type.enum';
|
2
|
-
declare enum ChainType {
|
3
|
-
NONE = "none",
|
4
|
-
EVM_BASE = "evm_base",
|
5
|
-
TON_BASE = "ton_base"
|
6
|
-
}
|
7
|
-
declare const coinTypeToChainType: (coinType: CoinType) => ChainType;
|
8
|
-
export { ChainType, coinTypeToChainType };
|
9
|
-
//# sourceMappingURL=chain_type.enum.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"chain_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/chain_type.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,aAAK,SAAS;IACZ,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,QAAA,MAAM,mBAAmB,aAAc,QAAQ,cAa9C,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.coinTypeToChainType = exports.ChainType = void 0;
|
4
|
-
var ChainType;
|
5
|
-
(function (ChainType) {
|
6
|
-
ChainType["NONE"] = "none";
|
7
|
-
ChainType["EVM_BASE"] = "evm_base";
|
8
|
-
ChainType["TON_BASE"] = "ton_base";
|
9
|
-
})(ChainType || (exports.ChainType = ChainType = {}));
|
10
|
-
const coinTypeToChainType = (coinType) => {
|
11
|
-
if (coinType == 60 ||
|
12
|
-
coinType == 8453 ||
|
13
|
-
coinType == 9001 ||
|
14
|
-
coinType == 5000) {
|
15
|
-
return ChainType.EVM_BASE;
|
16
|
-
}
|
17
|
-
else if (coinType == 607) {
|
18
|
-
return ChainType.TON_BASE;
|
19
|
-
}
|
20
|
-
else {
|
21
|
-
return ChainType.NONE;
|
22
|
-
}
|
23
|
-
};
|
24
|
-
exports.coinTypeToChainType = coinTypeToChainType;
|
25
|
-
//# sourceMappingURL=chain_type.enum.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"chain_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/chain_type.enum.ts"],"names":[],"mappings":";;;AAEA,IAAK,SAIJ;AAJD,WAAK,SAAS;IACZ,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EAJI,SAAS,yBAAT,SAAS,QAIb;AAED,MAAM,mBAAmB,GAAG,CAAC,QAAkB,EAAE,EAAE;IACjD,IACE,QAAQ,IAAI,EAAE;QACd,QAAQ,IAAI,IAAI;QAChB,QAAQ,IAAI,IAAI;QAChB,QAAQ,IAAI,IAAI,EAChB,CAAC;QACD,OAAO,SAAS,CAAC,QAAQ,CAAC;IAC5B,CAAC;SAAM,IAAI,QAAQ,IAAI,GAAG,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC,QAAQ,CAAC;IAC5B,CAAC;SAAM,CAAC;QACN,OAAO,SAAS,CAAC,IAAI,CAAC;IACxB,CAAC;AACH,CAAC,CAAC;AAEkB,kDAAmB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"coin_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/coin_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,QAAQ,KAAK;IACb,GAAG,MAAM;IACT,QAAQ,OAAO;IACf,IAAI,OAAO;IACX,MAAM,OAAO;CACd"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CoinType = void 0;
|
4
|
-
var CoinType;
|
5
|
-
(function (CoinType) {
|
6
|
-
CoinType[CoinType["ETHEREUM"] = 60] = "ETHEREUM";
|
7
|
-
CoinType[CoinType["TON"] = 607] = "TON";
|
8
|
-
CoinType[CoinType["ARBITRUM"] = 9001] = "ARBITRUM";
|
9
|
-
CoinType[CoinType["BASE"] = 8453] = "BASE";
|
10
|
-
CoinType[CoinType["MANTLE"] = 5000] = "MANTLE";
|
11
|
-
})(CoinType || (exports.CoinType = CoinType = {}));
|
12
|
-
//# sourceMappingURL=coin_type.enum.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"coin_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/coin_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,gDAAa,CAAA;IACb,uCAAS,CAAA;IACT,kDAAe,CAAA;IACf,0CAAW,CAAA;IACX,8CAAa,CAAA;AACf,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB"}
|