flipmeme-sdk 1.3.80 → 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 +2 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -152,9 +152,9 @@ var ETH_COMMON = {
|
|
|
152
152
|
LP_PROVIDER: "0xB38b8238CaB6D9740A4294e5910Ff6DEf92968e9",
|
|
153
153
|
ROYALTY: "0xd725Ca7AC17128812FDA837A0edCC99CA7545F5a",
|
|
154
154
|
// ADMIN_FOR_CREDIT_BUY: "0x860Fc09EACd32b3cBE00d56163D540Ed65557cCC",
|
|
155
|
-
ADMIN_FOR_CREDIT_BUY: "
|
|
155
|
+
ADMIN_FOR_CREDIT_BUY: "0xAB726237d912909C1b99A31D7194A30BE84286CE",
|
|
156
156
|
REFERRAL_CLAIM: "0xaE1f8271458285b71b465e4aC00E23a21cD8aF42",
|
|
157
|
-
PROTOCOL_FEE_BPS:
|
|
157
|
+
PROTOCOL_FEE_BPS: 125
|
|
158
158
|
};
|
|
159
159
|
var BASE_DEV = __spreadValues({
|
|
160
160
|
FACTORY: "0x6408E492260E5d8C8231dbB550563CC035f747C5"
|
|
@@ -34684,10 +34684,6 @@ var EthereumConnector = class {
|
|
|
34684
34684
|
return __async(this, null, function* () {
|
|
34685
34685
|
var _a;
|
|
34686
34686
|
let endPrice = collection.endPrice;
|
|
34687
|
-
let [isAvailable, errorMsg] = this.isPriceAvailable(endPrice);
|
|
34688
|
-
if (!isAvailable) {
|
|
34689
|
-
throw new Error(`Price ${endPrice} Error: ${errorMsg}`);
|
|
34690
|
-
}
|
|
34691
34687
|
const startPrice = new Decimal2(endPrice).div(17).toFixed(0);
|
|
34692
34688
|
console.log(`Creating collection with startPrice: ${startPrice} and endPrice: ${endPrice}`);
|
|
34693
34689
|
let tx = yield this.factory.createCollection(
|