flipmeme-sdk 1.3.81 → 1.3.82
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/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -219,7 +219,7 @@ var ETH_COMMON = {
|
|
|
219
219
|
// ADMIN_FOR_CREDIT_BUY: "0x860Fc09EACd32b3cBE00d56163D540Ed65557cCC",
|
|
220
220
|
ADMIN_FOR_CREDIT_BUY: "0xAB726237d912909C1b99A31D7194A30BE84286CE",
|
|
221
221
|
REFERRAL_CLAIM: "0xaE1f8271458285b71b465e4aC00E23a21cD8aF42",
|
|
222
|
-
PROTOCOL_FEE_BPS:
|
|
222
|
+
PROTOCOL_FEE_BPS: 125
|
|
223
223
|
};
|
|
224
224
|
var BASE_DEV = __spreadValues({
|
|
225
225
|
FACTORY: "0x6408E492260E5d8C8231dbB550563CC035f747C5"
|
|
@@ -34737,10 +34737,6 @@ var EthereumConnector = class {
|
|
|
34737
34737
|
return __async(this, null, function* () {
|
|
34738
34738
|
var _a;
|
|
34739
34739
|
let endPrice = collection.endPrice;
|
|
34740
|
-
let [isAvailable, errorMsg] = this.isPriceAvailable(endPrice);
|
|
34741
|
-
if (!isAvailable) {
|
|
34742
|
-
throw new Error(`Price ${endPrice} Error: ${errorMsg}`);
|
|
34743
|
-
}
|
|
34744
34740
|
const startPrice = new import_decimal2.default(endPrice).div(17).toFixed(0);
|
|
34745
34741
|
console.log(`Creating collection with startPrice: ${startPrice} and endPrice: ${endPrice}`);
|
|
34746
34742
|
let tx = yield this.factory.createCollection(
|