• 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/ERC20.ts
NEW
1
export const ERC20 = [
×
2
  {
3
    constant: true,
4
    inputs: [],
5
    name: 'mintingFinished',
6
    outputs: [
7
      {
8
        name: '',
9
        type: 'bool'
10
      }
11
    ],
12
    payable: false,
13
    stateMutability: 'view',
14
    type: 'function'
15
  },
16
  {
17
    constant: true,
18
    inputs: [],
19
    name: 'name',
20
    outputs: [
21
      {
22
        name: '',
23
        type: 'string'
24
      }
25
    ],
26
    payable: false,
27
    stateMutability: 'view',
28
    type: 'function'
29
  },
30
  {
31
    constant: false,
32
    inputs: [
33
      {
34
        name: '_spender',
35
        type: 'address'
36
      },
37
      {
38
        name: '_value',
39
        type: 'uint256'
40
      }
41
    ],
42
    name: 'approve',
43
    outputs: [
44
      {
45
        name: '',
46
        type: 'bool'
47
      }
48
    ],
49
    payable: false,
50
    stateMutability: 'nonpayable',
51
    type: 'function'
52
  },
53
  {
54
    constant: true,
55
    inputs: [],
56
    name: 'totalSupply',
57
    outputs: [
58
      {
59
        name: '',
60
        type: 'uint256'
61
      }
62
    ],
63
    payable: false,
64
    stateMutability: 'view',
65
    type: 'function'
66
  },
67
  {
68
    constant: false,
69
    inputs: [
70
      {
71
        name: '_from',
72
        type: 'address'
73
      },
74
      {
75
        name: '_to',
76
        type: 'address'
77
      },
78
      {
79
        name: '_value',
80
        type: 'uint256'
81
      }
82
    ],
83
    name: 'transferFrom',
84
    outputs: [
85
      {
86
        name: '',
87
        type: 'bool'
88
      }
89
    ],
90
    payable: false,
91
    stateMutability: 'nonpayable',
92
    type: 'function'
93
  },
94
  {
95
    constant: true,
96
    inputs: [],
97
    name: 'decimals',
98
    outputs: [
99
      {
100
        name: '',
101
        type: 'uint8'
102
      }
103
    ],
104
    payable: false,
105
    stateMutability: 'view',
106
    type: 'function'
107
  },
108
  {
109
    constant: false,
110
    inputs: [],
111
    name: 'unpause',
112
    outputs: [
113
      {
114
        name: '',
115
        type: 'bool'
116
      }
117
    ],
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: '_amount',
131
        type: 'uint256'
132
      }
133
    ],
134
    name: 'mint',
135
    outputs: [
136
      {
137
        name: '',
138
        type: 'bool'
139
      }
140
    ],
141
    payable: false,
142
    stateMutability: 'nonpayable',
143
    type: 'function'
144
  },
145
  {
146
    constant: false,
147
    inputs: [
148
      {
149
        name: '_value',
150
        type: 'uint256'
151
      }
152
    ],
153
    name: 'burn',
154
    outputs: [],
155
    payable: false,
156
    stateMutability: 'nonpayable',
157
    type: 'function'
158
  },
159
  {
160
    constant: true,
161
    inputs: [],
162
    name: 'paused',
163
    outputs: [
164
      {
165
        name: '',
166
        type: 'bool'
167
      }
168
    ],
169
    payable: false,
170
    stateMutability: 'view',
171
    type: 'function'
172
  },
173
  {
174
    constant: true,
175
    inputs: [
176
      {
177
        name: '_owner',
178
        type: 'address'
179
      }
180
    ],
181
    name: 'balanceOf',
182
    outputs: [
183
      {
184
        name: 'balance',
185
        type: 'uint256'
186
      }
187
    ],
188
    payable: false,
189
    stateMutability: 'view',
190
    type: 'function'
191
  },
192
  {
193
    constant: false,
194
    inputs: [],
195
    name: 'finishMinting',
196
    outputs: [
197
      {
198
        name: '',
199
        type: 'bool'
200
      }
201
    ],
202
    payable: false,
203
    stateMutability: 'nonpayable',
204
    type: 'function'
205
  },
206
  {
207
    constant: false,
208
    inputs: [],
209
    name: 'pause',
210
    outputs: [
211
      {
212
        name: '',
213
        type: 'bool'
214
      }
215
    ],
216
    payable: false,
217
    stateMutability: 'nonpayable',
218
    type: 'function'
219
  },
220
  {
221
    constant: true,
222
    inputs: [],
223
    name: 'owner',
224
    outputs: [
225
      {
226
        name: '',
227
        type: 'address'
228
      }
229
    ],
230
    payable: false,
231
    stateMutability: 'view',
232
    type: 'function'
233
  },
234
  {
235
    constant: true,
236
    inputs: [],
237
    name: 'symbol',
238
    outputs: [
239
      {
240
        name: '',
241
        type: 'string'
242
      }
243
    ],
244
    payable: false,
245
    stateMutability: 'view',
246
    type: 'function'
247
  },
248
  {
249
    constant: false,
250
    inputs: [
251
      {
252
        name: '_to',
253
        type: 'address'
254
      },
255
      {
256
        name: '_value',
257
        type: 'uint256'
258
      }
259
    ],
260
    name: 'transfer',
261
    outputs: [
262
      {
263
        name: '',
264
        type: 'bool'
265
      }
266
    ],
267
    payable: false,
268
    stateMutability: 'nonpayable',
269
    type: 'function'
270
  },
271
  {
272
    constant: true,
273
    inputs: [
274
      {
275
        name: '_owner',
276
        type: 'address'
277
      },
278
      {
279
        name: '_spender',
280
        type: 'address'
281
      }
282
    ],
283
    name: 'allowance',
284
    outputs: [
285
      {
286
        name: 'remaining',
287
        type: 'uint256'
288
      }
289
    ],
290
    payable: false,
291
    stateMutability: 'view',
292
    type: 'function'
293
  },
294
  {
295
    constant: false,
296
    inputs: [
297
      {
298
        name: 'to',
299
        type: 'address'
300
      },
301
      {
302
        name: 'amount',
303
        type: 'uint256'
304
      }
305
    ],
306
    name: 'setBalance',
307
    outputs: [],
308
    payable: false,
309
    stateMutability: 'nonpayable',
310
    type: 'function'
311
  },
312
  {
313
    constant: false,
314
    inputs: [
315
      {
316
        name: 'newOwner',
317
        type: 'address'
318
      }
319
    ],
320
    name: 'transferOwnership',
321
    outputs: [],
322
    payable: false,
323
    stateMutability: 'nonpayable',
324
    type: 'function'
325
  },
326
  {
327
    anonymous: false,
328
    inputs: [
329
      {
330
        indexed: true,
331
        name: 'to',
332
        type: 'address'
333
      },
334
      {
335
        indexed: false,
336
        name: 'amount',
337
        type: 'uint256'
338
      }
339
    ],
340
    name: 'Mint',
341
    type: 'event'
342
  },
343
  {
344
    anonymous: false,
345
    inputs: [],
346
    name: 'MintFinished',
347
    type: 'event'
348
  },
349
  {
350
    anonymous: false,
351
    inputs: [],
352
    name: 'Pause',
353
    type: 'event'
354
  },
355
  {
356
    anonymous: false,
357
    inputs: [],
358
    name: 'Unpause',
359
    type: 'event'
360
  },
361
  {
362
    anonymous: false,
363
    inputs: [
364
      {
365
        indexed: true,
366
        name: 'burner',
367
        type: 'address'
368
      },
369
      {
370
        indexed: false,
371
        name: 'value',
372
        type: 'uint256'
373
      }
374
    ],
375
    name: 'Burn',
376
    type: 'event'
377
  },
378
  {
379
    anonymous: false,
380
    inputs: [
381
      {
382
        indexed: true,
383
        name: 'owner',
384
        type: 'address'
385
      },
386
      {
387
        indexed: true,
388
        name: 'spender',
389
        type: 'address'
390
      },
391
      {
392
        indexed: false,
393
        name: 'value',
394
        type: 'uint256'
395
      }
396
    ],
397
    name: 'Approval',
398
    type: 'event'
399
  },
400
  {
401
    anonymous: false,
402
    inputs: [
403
      {
404
        indexed: true,
405
        name: 'from',
406
        type: 'address'
407
      },
408
      {
409
        indexed: true,
410
        name: 'to',
411
        type: 'address'
412
      },
413
      {
414
        indexed: false,
415
        name: 'value',
416
        type: 'uint256'
417
      }
418
    ],
419
    name: 'Transfer',
420
    type: 'event'
421
  }
422
]
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