flipmeme-sdk 1.3.79 → 1.3.80
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.d.mts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +18 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -147,10 +147,10 @@ var VALID_SIZE_PAIR = {
|
|
|
147
147
|
24: { maxBufferSize: 1024, maxDepth: 24 }
|
|
148
148
|
};
|
|
149
149
|
var ETH_COMMON = {
|
|
150
|
-
TREASURY: "
|
|
151
|
-
LP_SELL_OUT: "
|
|
152
|
-
LP_PROVIDER: "
|
|
153
|
-
ROYALTY: "
|
|
150
|
+
TREASURY: "0x98114De4823484313d56b8a8D90c55224CE571AC",
|
|
151
|
+
LP_SELL_OUT: "0x98114De4823484313d56b8a8D90c55224CE571AC",
|
|
152
|
+
LP_PROVIDER: "0xB38b8238CaB6D9740A4294e5910Ff6DEf92968e9",
|
|
153
|
+
ROYALTY: "0xd725Ca7AC17128812FDA837A0edCC99CA7545F5a",
|
|
154
154
|
// ADMIN_FOR_CREDIT_BUY: "0x860Fc09EACd32b3cBE00d56163D540Ed65557cCC",
|
|
155
155
|
ADMIN_FOR_CREDIT_BUY: "0x63B3Cc8944B917AAc841429097F28be09AB636a7",
|
|
156
156
|
REFERRAL_CLAIM: "0xaE1f8271458285b71b465e4aC00E23a21cD8aF42",
|
|
@@ -165,16 +165,19 @@ var APE_DEV = __spreadValues({
|
|
|
165
165
|
var ETHEREUM_DEV = __spreadValues({
|
|
166
166
|
FACTORY: "0xB94B676601abbA600F2336089261e4d4b50Ae4fc"
|
|
167
167
|
}, ETH_COMMON);
|
|
168
|
+
var BASE_MAIN = __spreadValues({
|
|
169
|
+
FACTORY: "0xD03ECa5842Fcaacb38e94339e8A3F090647D2338"
|
|
170
|
+
}, ETH_COMMON);
|
|
168
171
|
var ETH_ADDR = {
|
|
169
172
|
33111: __spreadValues({}, APE_DEV),
|
|
170
173
|
84532: __spreadValues({}, BASE_DEV),
|
|
171
174
|
11155111: __spreadValues({}, ETHEREUM_DEV),
|
|
172
|
-
1: __spreadValues({}, BASE_DEV)
|
|
175
|
+
1: __spreadValues({}, BASE_DEV),
|
|
176
|
+
8453: __spreadValues({}, BASE_MAIN)
|
|
173
177
|
};
|
|
174
178
|
var ROUTER = {
|
|
175
179
|
Ethereum: "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
|
|
176
|
-
Base: "
|
|
177
|
-
//incorrect
|
|
180
|
+
Base: " 0x1689E7B1F10000AE47eBfE339a4f69dECd19F602",
|
|
178
181
|
Ape: "0xC0788A3aD43d79aa53B09c2EaCc313A787d1d607"
|
|
179
182
|
//incorrect
|
|
180
183
|
};
|
|
@@ -182,6 +185,10 @@ var TOKENS = {
|
|
|
182
185
|
ETHEREUM: {
|
|
183
186
|
WETH: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
184
187
|
USDT: "0xdAC17F958D2ee523a2206206994597C13D831ec7"
|
|
188
|
+
},
|
|
189
|
+
BASE: {
|
|
190
|
+
WETH: "0x4200000000000000000000000000000000000006",
|
|
191
|
+
USDT: "0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2"
|
|
185
192
|
}
|
|
186
193
|
};
|
|
187
194
|
|
|
@@ -34681,7 +34688,8 @@ var EthereumConnector = class {
|
|
|
34681
34688
|
if (!isAvailable) {
|
|
34682
34689
|
throw new Error(`Price ${endPrice} Error: ${errorMsg}`);
|
|
34683
34690
|
}
|
|
34684
|
-
const startPrice = new Decimal2(endPrice).div(17).toFixed();
|
|
34691
|
+
const startPrice = new Decimal2(endPrice).div(17).toFixed(0);
|
|
34692
|
+
console.log(`Creating collection with startPrice: ${startPrice} and endPrice: ${endPrice}`);
|
|
34685
34693
|
let tx = yield this.factory.createCollection(
|
|
34686
34694
|
collection.name,
|
|
34687
34695
|
collection.symbol,
|
|
@@ -40920,6 +40928,7 @@ function placeSpaaceCollectionBid(price, collection, tokenIdStart, tokenIdEnd, w
|
|
|
40920
40928
|
export {
|
|
40921
40929
|
APE_DEV,
|
|
40922
40930
|
BASE_DEV,
|
|
40931
|
+
BASE_MAIN,
|
|
40923
40932
|
BlockchainType,
|
|
40924
40933
|
COLLECTION_BID_PRICE,
|
|
40925
40934
|
ChainEnv,
|