mm_contract 1.0.1 → 1.0.3

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.
@@ -1,420 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "anonymous": false,
9
- "inputs": [
10
- {
11
- "indexed": false,
12
- "internalType": "address",
13
- "name": "_operator",
14
- "type": "address"
15
- },
16
- {
17
- "indexed": false,
18
- "internalType": "uint256",
19
- "name": "_power",
20
- "type": "uint256"
21
- }
22
- ],
23
- "name": "AdminChaged",
24
- "type": "event"
25
- },
26
- {
27
- "anonymous": false,
28
- "inputs": [
29
- {
30
- "indexed": false,
31
- "internalType": "address",
32
- "name": "_user",
33
- "type": "address"
34
- },
35
- {
36
- "indexed": false,
37
- "internalType": "uint256",
38
- "name": "_itemId",
39
- "type": "uint256"
40
- },
41
- {
42
- "indexed": false,
43
- "internalType": "uint256",
44
- "name": "_count",
45
- "type": "uint256"
46
- }
47
- ],
48
- "name": "BuyItem",
49
- "type": "event"
50
- },
51
- {
52
- "anonymous": false,
53
- "inputs": [
54
- {
55
- "indexed": false,
56
- "internalType": "address",
57
- "name": "_previousOwner",
58
- "type": "address"
59
- },
60
- {
61
- "indexed": false,
62
- "internalType": "address",
63
- "name": "_newOwner",
64
- "type": "address"
65
- }
66
- ],
67
- "name": "OwnershipTransferred",
68
- "type": "event"
69
- },
70
- {
71
- "inputs": [
72
- {
73
- "internalType": "uint256",
74
- "name": "_id",
75
- "type": "uint256"
76
- },
77
- {
78
- "internalType": "uint256",
79
- "name": "_count",
80
- "type": "uint256"
81
- }
82
- ],
83
- "name": "buyItem",
84
- "outputs": [],
85
- "stateMutability": "nonpayable",
86
- "type": "function"
87
- },
88
- {
89
- "inputs": [
90
- {
91
- "internalType": "address",
92
- "name": "",
93
- "type": "address"
94
- },
95
- {
96
- "internalType": "uint256",
97
- "name": "",
98
- "type": "uint256"
99
- },
100
- {
101
- "internalType": "uint256",
102
- "name": "",
103
- "type": "uint256"
104
- }
105
- ],
106
- "name": "buyedCount",
107
- "outputs": [
108
- {
109
- "internalType": "uint256",
110
- "name": "",
111
- "type": "uint256"
112
- }
113
- ],
114
- "stateMutability": "view",
115
- "type": "function"
116
- },
117
- {
118
- "inputs": [
119
- {
120
- "internalType": "uint256",
121
- "name": "",
122
- "type": "uint256"
123
- }
124
- ],
125
- "name": "canHoldLimit",
126
- "outputs": [
127
- {
128
- "internalType": "uint256",
129
- "name": "",
130
- "type": "uint256"
131
- }
132
- ],
133
- "stateMutability": "view",
134
- "type": "function"
135
- },
136
- {
137
- "inputs": [],
138
- "name": "close",
139
- "outputs": [],
140
- "stateMutability": "nonpayable",
141
- "type": "function"
142
- },
143
- {
144
- "inputs": [],
145
- "name": "coin",
146
- "outputs": [
147
- {
148
- "internalType": "contract IBEP20",
149
- "name": "",
150
- "type": "address"
151
- }
152
- ],
153
- "stateMutability": "view",
154
- "type": "function"
155
- },
156
- {
157
- "inputs": [],
158
- "name": "getOwner",
159
- "outputs": [
160
- {
161
- "internalType": "address",
162
- "name": "",
163
- "type": "address"
164
- }
165
- ],
166
- "stateMutability": "view",
167
- "type": "function"
168
- },
169
- {
170
- "inputs": [],
171
- "name": "invite",
172
- "outputs": [
173
- {
174
- "internalType": "contract IInvite",
175
- "name": "",
176
- "type": "address"
177
- }
178
- ],
179
- "stateMutability": "view",
180
- "type": "function"
181
- },
182
- {
183
- "inputs": [
184
- {
185
- "internalType": "address",
186
- "name": "_operator",
187
- "type": "address"
188
- }
189
- ],
190
- "name": "isAdmin",
191
- "outputs": [
192
- {
193
- "internalType": "uint256",
194
- "name": "",
195
- "type": "uint256"
196
- }
197
- ],
198
- "stateMutability": "view",
199
- "type": "function"
200
- },
201
- {
202
- "inputs": [],
203
- "name": "item",
204
- "outputs": [
205
- {
206
- "internalType": "contract IERC1155",
207
- "name": "",
208
- "type": "address"
209
- }
210
- ],
211
- "stateMutability": "view",
212
- "type": "function"
213
- },
214
- {
215
- "inputs": [
216
- {
217
- "internalType": "uint256",
218
- "name": "",
219
- "type": "uint256"
220
- }
221
- ],
222
- "name": "limitCount",
223
- "outputs": [
224
- {
225
- "internalType": "uint256",
226
- "name": "",
227
- "type": "uint256"
228
- }
229
- ],
230
- "stateMutability": "view",
231
- "type": "function"
232
- },
233
- {
234
- "inputs": [],
235
- "name": "open",
236
- "outputs": [],
237
- "stateMutability": "nonpayable",
238
- "type": "function"
239
- },
240
- {
241
- "inputs": [
242
- {
243
- "internalType": "uint256",
244
- "name": "",
245
- "type": "uint256"
246
- }
247
- ],
248
- "name": "price",
249
- "outputs": [
250
- {
251
- "internalType": "uint256",
252
- "name": "",
253
- "type": "uint256"
254
- }
255
- ],
256
- "stateMutability": "view",
257
- "type": "function"
258
- },
259
- {
260
- "inputs": [
261
- {
262
- "internalType": "address",
263
- "name": "_operator",
264
- "type": "address"
265
- },
266
- {
267
- "internalType": "uint256",
268
- "name": "_power",
269
- "type": "uint256"
270
- }
271
- ],
272
- "name": "setAdmin",
273
- "outputs": [],
274
- "stateMutability": "nonpayable",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [
279
- {
280
- "internalType": "uint256",
281
- "name": "_id",
282
- "type": "uint256"
283
- },
284
- {
285
- "internalType": "uint256",
286
- "name": "_count",
287
- "type": "uint256"
288
- }
289
- ],
290
- "name": "setCanHoldLimit",
291
- "outputs": [],
292
- "stateMutability": "nonpayable",
293
- "type": "function"
294
- },
295
- {
296
- "inputs": [
297
- {
298
- "internalType": "address",
299
- "name": "_address",
300
- "type": "address"
301
- }
302
- ],
303
- "name": "setCoin",
304
- "outputs": [],
305
- "stateMutability": "nonpayable",
306
- "type": "function"
307
- },
308
- {
309
- "inputs": [
310
- {
311
- "internalType": "address",
312
- "name": "_address",
313
- "type": "address"
314
- }
315
- ],
316
- "name": "setInvite",
317
- "outputs": [],
318
- "stateMutability": "nonpayable",
319
- "type": "function"
320
- },
321
- {
322
- "inputs": [
323
- {
324
- "internalType": "address",
325
- "name": "_address",
326
- "type": "address"
327
- }
328
- ],
329
- "name": "setItem",
330
- "outputs": [],
331
- "stateMutability": "nonpayable",
332
- "type": "function"
333
- },
334
- {
335
- "inputs": [
336
- {
337
- "internalType": "uint256",
338
- "name": "_id",
339
- "type": "uint256"
340
- },
341
- {
342
- "internalType": "uint256",
343
- "name": "_count",
344
- "type": "uint256"
345
- }
346
- ],
347
- "name": "setLimitCount",
348
- "outputs": [],
349
- "stateMutability": "nonpayable",
350
- "type": "function"
351
- },
352
- {
353
- "inputs": [
354
- {
355
- "internalType": "uint256",
356
- "name": "_id",
357
- "type": "uint256"
358
- },
359
- {
360
- "internalType": "uint256",
361
- "name": "_price",
362
- "type": "uint256"
363
- }
364
- ],
365
- "name": "setPrice",
366
- "outputs": [],
367
- "stateMutability": "nonpayable",
368
- "type": "function"
369
- },
370
- {
371
- "inputs": [
372
- {
373
- "internalType": "address",
374
- "name": "_user",
375
- "type": "address"
376
- },
377
- {
378
- "internalType": "uint256",
379
- "name": "_itemId",
380
- "type": "uint256"
381
- }
382
- ],
383
- "name": "todayBuy",
384
- "outputs": [
385
- {
386
- "internalType": "uint256",
387
- "name": "",
388
- "type": "uint256"
389
- }
390
- ],
391
- "stateMutability": "view",
392
- "type": "function"
393
- },
394
- {
395
- "inputs": [
396
- {
397
- "internalType": "address",
398
- "name": "_newOwner",
399
- "type": "address"
400
- }
401
- ],
402
- "name": "transferOwnership",
403
- "outputs": [],
404
- "stateMutability": "nonpayable",
405
- "type": "function"
406
- },
407
- {
408
- "inputs": [
409
- {
410
- "internalType": "address",
411
- "name": "_owner",
412
- "type": "address"
413
- }
414
- ],
415
- "name": "withdraw",
416
- "outputs": [],
417
- "stateMutability": "nonpayable",
418
- "type": "function"
419
- }
420
- ]