@subwallet/extension-base 1.0.13-1 → 1.1.1-dev.0

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.
@@ -0,0 +1,384 @@
1
+ [
2
+ {
3
+ "constant": true,
4
+ "inputs": [
5
+ {
6
+ "name": "interfaceId",
7
+ "type": "bytes4"
8
+ }
9
+ ],
10
+ "name": "supportsInterface",
11
+ "outputs": [
12
+ {
13
+ "name": "",
14
+ "type": "bool"
15
+ }
16
+ ],
17
+ "payable": false,
18
+ "stateMutability": "view",
19
+ "type": "function"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "payable": false,
24
+ "stateMutability": "nonpayable",
25
+ "type": "constructor"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "name": "from",
33
+ "type": "address"
34
+ },
35
+ {
36
+ "indexed": true,
37
+ "name": "to",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "indexed": true,
42
+ "name": "tokenId",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "name": "Transfer",
47
+ "type": "event"
48
+ },
49
+ {
50
+ "constant": true,
51
+ "anonymous": true,
52
+ "inputs": [
53
+ {
54
+ "indexed": true,
55
+ "name": "tokenId",
56
+ "type": "uint256"
57
+ }
58
+ ],
59
+ "outputs": [
60
+ {
61
+ "name": "",
62
+ "type": "string"
63
+ }
64
+ ],
65
+ "name": "tokenURI",
66
+ "payable": false,
67
+ "stateMutability": "view",
68
+ "type": "function"
69
+ },
70
+ {
71
+ "constant": true,
72
+ "anonymous": true,
73
+ "inputs": [],
74
+ "outputs": [
75
+ {
76
+ "name": "",
77
+ "type": "uint256"
78
+ }
79
+ ],
80
+ "name": "totalSupply",
81
+ "payable": false,
82
+ "stateMutability": "view",
83
+ "type": "function"
84
+ },
85
+ {
86
+ "anonymous": true,
87
+ "inputs": [],
88
+ "outputs": [
89
+ {
90
+ "name": "_name",
91
+ "type": "string"
92
+ }
93
+ ],
94
+ "name": "name",
95
+ "payable": false,
96
+ "stateMutability": "view",
97
+ "type": "function"
98
+ },
99
+ {
100
+ "anonymous": true,
101
+ "inputs": [],
102
+ "outputs": [
103
+ {
104
+ "name": "_symbol",
105
+ "type": "string"
106
+ }
107
+ ],
108
+ "name": "symbol",
109
+ "payable": false,
110
+ "stateMutability": "view",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "anonymous": false,
115
+ "inputs": [
116
+ {
117
+ "indexed": true,
118
+ "name": "owner",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "indexed": true,
123
+ "name": "approved",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "indexed": true,
128
+ "name": "tokenId",
129
+ "type": "uint256"
130
+ }
131
+ ],
132
+ "name": "Approval",
133
+ "type": "event"
134
+ },
135
+ {
136
+ "anonymous": false,
137
+ "inputs": [
138
+ {
139
+ "indexed": true,
140
+ "name": "owner",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "indexed": true,
145
+ "name": "operator",
146
+ "type": "address"
147
+ },
148
+ {
149
+ "indexed": false,
150
+ "name": "approved",
151
+ "type": "bool"
152
+ }
153
+ ],
154
+ "name": "ApprovalForAll",
155
+ "type": "event"
156
+ },
157
+ {
158
+ "constant": true,
159
+ "inputs": [
160
+ {
161
+ "name": "owner",
162
+ "type": "address"
163
+ }
164
+ ],
165
+ "name": "balanceOf",
166
+ "outputs": [
167
+ {
168
+ "name": "",
169
+ "type": "uint256"
170
+ }
171
+ ],
172
+ "payable": false,
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "constant": true,
178
+ "inputs": [
179
+ {
180
+ "name": "owner",
181
+ "type": "address"
182
+ },
183
+ {
184
+ "name": "index",
185
+ "type": "uint256"
186
+ }
187
+ ],
188
+ "name": "tokenOfOwnerByIndex",
189
+ "outputs": [
190
+ {
191
+ "name": "",
192
+ "type": "uint256"
193
+ }
194
+ ],
195
+ "payable": false,
196
+ "stateMutability": "view",
197
+ "type": "function"
198
+ },
199
+ {
200
+ "constant": true,
201
+ "inputs": [
202
+ {
203
+ "name": "tokenId",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "ownerOf",
208
+ "outputs": [
209
+ {
210
+ "name": "",
211
+ "type": "address"
212
+ }
213
+ ],
214
+ "payable": false,
215
+ "stateMutability": "view",
216
+ "type": "function"
217
+ },
218
+ {
219
+ "constant": false,
220
+ "inputs": [
221
+ {
222
+ "name": "to",
223
+ "type": "address"
224
+ },
225
+ {
226
+ "name": "tokenId",
227
+ "type": "uint256"
228
+ }
229
+ ],
230
+ "name": "approve",
231
+ "outputs": [],
232
+ "payable": false,
233
+ "stateMutability": "nonpayable",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "constant": true,
238
+ "inputs": [
239
+ {
240
+ "name": "tokenId",
241
+ "type": "uint256"
242
+ }
243
+ ],
244
+ "name": "getApproved",
245
+ "outputs": [
246
+ {
247
+ "name": "",
248
+ "type": "address"
249
+ }
250
+ ],
251
+ "payable": false,
252
+ "stateMutability": "view",
253
+ "type": "function"
254
+ },
255
+ {
256
+ "constant": false,
257
+ "inputs": [
258
+ {
259
+ "name": "to",
260
+ "type": "address"
261
+ },
262
+ {
263
+ "name": "approved",
264
+ "type": "bool"
265
+ }
266
+ ],
267
+ "name": "setApprovalForAll",
268
+ "outputs": [],
269
+ "payable": false,
270
+ "stateMutability": "nonpayable",
271
+ "type": "function"
272
+ },
273
+ {
274
+ "constant": true,
275
+ "inputs": [
276
+ {
277
+ "name": "owner",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "name": "operator",
282
+ "type": "address"
283
+ }
284
+ ],
285
+ "name": "isApprovedForAll",
286
+ "outputs": [
287
+ {
288
+ "name": "",
289
+ "type": "bool"
290
+ }
291
+ ],
292
+ "payable": false,
293
+ "stateMutability": "view",
294
+ "type": "function"
295
+ },
296
+ {
297
+ "constant": false,
298
+ "inputs": [
299
+ {
300
+ "name": "to",
301
+ "type": "address"
302
+ },
303
+ {
304
+ "name": "tokenId",
305
+ "type": "uint256"
306
+ }
307
+ ],
308
+ "name": "transfer",
309
+ "outputs": [],
310
+ "payable": false,
311
+ "stateMutability": "nonpayable",
312
+ "type": "function"
313
+ },
314
+ {
315
+ "constant": false,
316
+ "inputs": [
317
+ {
318
+ "name": "from",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "name": "to",
323
+ "type": "address"
324
+ },
325
+ {
326
+ "name": "tokenId",
327
+ "type": "uint256"
328
+ }
329
+ ],
330
+ "name": "transferFrom",
331
+ "outputs": [],
332
+ "payable": false,
333
+ "stateMutability": "nonpayable",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "constant": false,
338
+ "inputs": [
339
+ {
340
+ "name": "from",
341
+ "type": "address"
342
+ },
343
+ {
344
+ "name": "to",
345
+ "type": "address"
346
+ },
347
+ {
348
+ "name": "tokenId",
349
+ "type": "uint256"
350
+ }
351
+ ],
352
+ "name": "safeTransferFrom",
353
+ "outputs": [],
354
+ "payable": false,
355
+ "stateMutability": "nonpayable",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "constant": false,
360
+ "inputs": [
361
+ {
362
+ "name": "from",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "name": "to",
367
+ "type": "address"
368
+ },
369
+ {
370
+ "name": "tokenId",
371
+ "type": "uint256"
372
+ },
373
+ {
374
+ "name": "_data",
375
+ "type": "bytes"
376
+ }
377
+ ],
378
+ "name": "safeTransferFrom",
379
+ "outputs": [],
380
+ "payable": false,
381
+ "stateMutability": "nonpayable",
382
+ "type": "function"
383
+ }
384
+ ]