@typus/typus-sdk 1.0.96 → 1.0.98
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.
|
@@ -62,6 +62,7 @@ function getPool(provider, pool) {
|
|
|
62
62
|
poolData = {
|
|
63
63
|
pool_id: pool,
|
|
64
64
|
is_live: fields.is_live,
|
|
65
|
+
start_ms: fields.start_ms,
|
|
65
66
|
num: Number(fields.num),
|
|
66
67
|
remaining: Number(fields.tails.fields.contents.fields.size),
|
|
67
68
|
};
|
|
@@ -108,6 +109,7 @@ function getPoolMap(provider, nftConfig) {
|
|
|
108
109
|
poolData = {
|
|
109
110
|
pool_id: pools[i],
|
|
110
111
|
is_live: fields.is_live,
|
|
112
|
+
start_ms: fields.start_ms,
|
|
111
113
|
num: Number(fields.num),
|
|
112
114
|
remaining: Number(fields.tails.fields.contents.fields.size),
|
|
113
115
|
};
|
|
@@ -127,7 +129,6 @@ function getWhitelistMap(nftConfig, wlTokens) {
|
|
|
127
129
|
var _this = this;
|
|
128
130
|
return __generator(this, function (_a) {
|
|
129
131
|
pools = exports.necklaces.map(function (necklace) { return nftConfig[necklace]; });
|
|
130
|
-
console.log(pools);
|
|
131
132
|
whitelistMap = new Map();
|
|
132
133
|
exports.necklaces.forEach(function (necklace, i) { return __awaiter(_this, void 0, void 0, function () {
|
|
133
134
|
var tokens;
|
|
@@ -135,7 +136,6 @@ function getWhitelistMap(nftConfig, wlTokens) {
|
|
|
135
136
|
tokens = wlTokens.filter(function (wlToken) { var _a, _b;
|
|
136
137
|
// @ts-ignore
|
|
137
138
|
return ((_b = (_a = wlToken.data) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.fields.for) == pools[i]; });
|
|
138
|
-
console.log(tokens);
|
|
139
139
|
whitelistMap.set(necklace, tokens.map(function (token) { var _a; return (_a = token.data) === null || _a === void 0 ? void 0 : _a.objectId; }));
|
|
140
140
|
return [2 /*return*/];
|
|
141
141
|
});
|