• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / marketplace / 6982743061

24 Nov 2023 03:54PM UTC coverage: 43.329% (+2.5%) from 40.865%
6982743061

Pull #2042

github

juanmahidalgo
test: fix how the lib is mocked
Pull Request #2042: feat: use squid to calculate route between two chains and tokens

2621 of 7292 branches covered (0.0%)

Branch coverage included in aggregate %.

271 of 349 new or added lines in 18 files covered. (77.65%)

1 existing line in 1 file now uncovered.

4621 of 9422 relevant lines covered (49.04%)

24.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/webapp/src/lib/abis/ERC721.ts
NEW
1
export const ERC721 = [
×
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
    constant: true,
23
    inputs: [],
24
    name: 'name',
25
    outputs: [
26
      {
27
        name: '',
28
        type: 'string'
29
      }
30
    ],
31
    payable: false,
32
    stateMutability: 'view',
33
    type: 'function'
34
  },
35
  {
36
    constant: true,
37
    inputs: [
38
      {
39
        name: '_tokenId',
40
        type: 'uint256'
41
      }
42
    ],
43
    name: 'getApproved',
44
    outputs: [
45
      {
46
        name: '',
47
        type: 'address'
48
      }
49
    ],
50
    payable: false,
51
    stateMutability: 'view',
52
    type: 'function'
53
  },
54
  {
55
    constant: false,
56
    inputs: [
57
      {
58
        name: '_to',
59
        type: 'address'
60
      },
61
      {
62
        name: '_tokenId',
63
        type: 'uint256'
64
      }
65
    ],
66
    name: 'approve',
67
    outputs: [],
68
    payable: false,
69
    stateMutability: 'nonpayable',
70
    type: 'function'
71
  },
72
  {
73
    constant: true,
74
    inputs: [],
75
    name: 'totalSupply',
76
    outputs: [
77
      {
78
        name: '',
79
        type: 'uint256'
80
      }
81
    ],
82
    payable: false,
83
    stateMutability: 'view',
84
    type: 'function'
85
  },
86
  {
87
    constant: true,
88
    inputs: [],
89
    name: 'InterfaceId_ERC165',
90
    outputs: [
91
      {
92
        name: '',
93
        type: 'bytes4'
94
      }
95
    ],
96
    payable: false,
97
    stateMutability: 'view',
98
    type: 'function'
99
  },
100
  {
101
    constant: false,
102
    inputs: [
103
      {
104
        name: '_from',
105
        type: 'address'
106
      },
107
      {
108
        name: '_to',
109
        type: 'address'
110
      },
111
      {
112
        name: '_tokenId',
113
        type: 'uint256'
114
      }
115
    ],
116
    name: 'transferFrom',
117
    outputs: [],
118
    payable: false,
119
    stateMutability: 'nonpayable',
120
    type: 'function'
121
  },
122
  {
123
    constant: false,
124
    inputs: [
125
      {
126
        name: '_to',
127
        type: 'address'
128
      },
129
      {
130
        name: '_tokenId',
131
        type: 'uint256'
132
      }
133
    ],
134
    name: 'transfer',
135
    outputs: [],
136
    payable: false,
137
    stateMutability: 'nonpayable',
138
    type: 'function'
139
  },
140
  {
141
    constant: true,
142
    inputs: [
143
      {
144
        name: '_owner',
145
        type: 'address'
146
      },
147
      {
148
        name: '_index',
149
        type: 'uint256'
150
      }
151
    ],
152
    name: 'tokenOfOwnerByIndex',
153
    outputs: [
154
      {
155
        name: '',
156
        type: 'uint256'
157
      }
158
    ],
159
    payable: false,
160
    stateMutability: 'view',
161
    type: 'function'
162
  },
163
  {
164
    constant: false,
165
    inputs: [
166
      {
167
        name: '_from',
168
        type: 'address'
169
      },
170
      {
171
        name: '_to',
172
        type: 'address'
173
      },
174
      {
175
        name: '_tokenId',
176
        type: 'uint256'
177
      }
178
    ],
179
    name: 'safeTransferFrom',
180
    outputs: [],
181
    payable: false,
182
    stateMutability: 'nonpayable',
183
    type: 'function'
184
  },
185
  {
186
    constant: true,
187
    inputs: [
188
      {
189
        name: '_tokenId',
190
        type: 'uint256'
191
      }
192
    ],
193
    name: 'exists',
194
    outputs: [
195
      {
196
        name: '',
197
        type: 'bool'
198
      }
199
    ],
200
    payable: false,
201
    stateMutability: 'view',
202
    type: 'function'
203
  },
204
  {
205
    constant: true,
206
    inputs: [
207
      {
208
        name: '_index',
209
        type: 'uint256'
210
      }
211
    ],
212
    name: 'tokenByIndex',
213
    outputs: [
214
      {
215
        name: '',
216
        type: 'uint256'
217
      }
218
    ],
219
    payable: false,
220
    stateMutability: 'view',
221
    type: 'function'
222
  },
223
  {
224
    constant: true,
225
    inputs: [
226
      {
227
        name: '_tokenId',
228
        type: 'uint256'
229
      }
230
    ],
231
    name: 'ownerOf',
232
    outputs: [
233
      {
234
        name: '',
235
        type: 'address'
236
      }
237
    ],
238
    payable: false,
239
    stateMutability: 'view',
240
    type: 'function'
241
  },
242
  {
243
    constant: true,
244
    inputs: [
245
      {
246
        name: '_owner',
247
        type: 'address'
248
      }
249
    ],
250
    name: 'balanceOf',
251
    outputs: [
252
      {
253
        name: '',
254
        type: 'uint256'
255
      }
256
    ],
257
    payable: false,
258
    stateMutability: 'view',
259
    type: 'function'
260
  },
261
  {
262
    constant: true,
263
    inputs: [],
264
    name: 'symbol',
265
    outputs: [
266
      {
267
        name: '',
268
        type: 'string'
269
      }
270
    ],
271
    payable: false,
272
    stateMutability: 'view',
273
    type: 'function'
274
  },
275
  {
276
    constant: false,
277
    inputs: [
278
      {
279
        name: '_to',
280
        type: 'address'
281
      },
282
      {
283
        name: '_approved',
284
        type: 'bool'
285
      }
286
    ],
287
    name: 'setApprovalForAll',
288
    outputs: [],
289
    payable: false,
290
    stateMutability: 'nonpayable',
291
    type: 'function'
292
  },
293
  {
294
    constant: false,
295
    inputs: [
296
      {
297
        name: '_from',
298
        type: 'address'
299
      },
300
      {
301
        name: '_to',
302
        type: 'address'
303
      },
304
      {
305
        name: '_tokenId',
306
        type: 'uint256'
307
      },
308
      {
309
        name: '_data',
310
        type: 'bytes'
311
      }
312
    ],
313
    name: 'safeTransferFrom',
314
    outputs: [],
315
    payable: false,
316
    stateMutability: 'nonpayable',
317
    type: 'function'
318
  },
319
  {
320
    constant: true,
321
    inputs: [
322
      {
323
        name: '_tokenId',
324
        type: 'uint256'
325
      }
326
    ],
327
    name: 'tokenURI',
328
    outputs: [
329
      {
330
        name: '',
331
        type: 'string'
332
      }
333
    ],
334
    payable: false,
335
    stateMutability: 'view',
336
    type: 'function'
337
  },
338
  {
339
    constant: true,
340
    inputs: [
341
      {
342
        name: '_owner',
343
        type: 'address'
344
      },
345
      {
346
        name: '_operator',
347
        type: 'address'
348
      }
349
    ],
350
    name: 'isApprovedForAll',
351
    outputs: [
352
      {
353
        name: '',
354
        type: 'bool'
355
      }
356
    ],
357
    payable: false,
358
    stateMutability: 'view',
359
    type: 'function'
360
  },
361
  {
362
    inputs: [
363
      {
364
        name: '_name',
365
        type: 'string'
366
      },
367
      {
368
        name: '_symbol',
369
        type: 'string'
370
      }
371
    ],
372
    payable: false,
373
    stateMutability: 'nonpayable',
374
    type: 'constructor'
375
  },
376
  {
377
    anonymous: false,
378
    inputs: [
379
      {
380
        indexed: true,
381
        name: '_from',
382
        type: 'address'
383
      },
384
      {
385
        indexed: true,
386
        name: '_to',
387
        type: 'address'
388
      },
389
      {
390
        indexed: true,
391
        name: '_tokenId',
392
        type: 'uint256'
393
      }
394
    ],
395
    name: 'Transfer',
396
    type: 'event'
397
  },
398
  {
399
    anonymous: false,
400
    inputs: [
401
      {
402
        indexed: true,
403
        name: '_owner',
404
        type: 'address'
405
      },
406
      {
407
        indexed: true,
408
        name: '_approved',
409
        type: 'address'
410
      },
411
      {
412
        indexed: true,
413
        name: '_tokenId',
414
        type: 'uint256'
415
      }
416
    ],
417
    name: 'Approval',
418
    type: 'event'
419
  },
420
  {
421
    anonymous: false,
422
    inputs: [
423
      {
424
        indexed: true,
425
        name: '_owner',
426
        type: 'address'
427
      },
428
      {
429
        indexed: true,
430
        name: '_operator',
431
        type: 'address'
432
      },
433
      {
434
        indexed: false,
435
        name: '_approved',
436
        type: 'bool'
437
      }
438
    ],
439
    name: 'ApprovalForAll',
440
    type: 'event'
441
  },
442
  {
443
    constant: false,
444
    inputs: [
445
      {
446
        name: '_to',
447
        type: 'address'
448
      },
449
      {
450
        name: '_tokenId',
451
        type: 'uint256'
452
      },
453
      {
454
        name: '_tokenURI',
455
        type: 'string'
456
      }
457
    ],
458
    name: 'mintUniqueTokenTo',
459
    outputs: [],
460
    payable: false,
461
    stateMutability: 'nonpayable',
462
    type: 'function'
463
  }
464
]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc