@verified-network/verified-sdk 2.5.6 → 2.5.8

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,26 +1,138 @@
1
1
  {
2
- "contractName": "ERC20",
2
+ "contractName": "ERC20Upgradeable",
3
3
  "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "spender",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "internalType": "uint256",
13
+ "name": "allowance",
14
+ "type": "uint256"
15
+ },
16
+ {
17
+ "internalType": "uint256",
18
+ "name": "needed",
19
+ "type": "uint256"
20
+ }
21
+ ],
22
+ "name": "ERC20InsufficientAllowance",
23
+ "type": "error"
24
+ },
25
+ {
26
+ "inputs": [
27
+ {
28
+ "internalType": "address",
29
+ "name": "sender",
30
+ "type": "address"
31
+ },
32
+ {
33
+ "internalType": "uint256",
34
+ "name": "balance",
35
+ "type": "uint256"
36
+ },
37
+ {
38
+ "internalType": "uint256",
39
+ "name": "needed",
40
+ "type": "uint256"
41
+ }
42
+ ],
43
+ "name": "ERC20InsufficientBalance",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [
48
+ {
49
+ "internalType": "address",
50
+ "name": "approver",
51
+ "type": "address"
52
+ }
53
+ ],
54
+ "name": "ERC20InvalidApprover",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "address",
61
+ "name": "receiver",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "name": "ERC20InvalidReceiver",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [
70
+ {
71
+ "internalType": "address",
72
+ "name": "sender",
73
+ "type": "address"
74
+ }
75
+ ],
76
+ "name": "ERC20InvalidSender",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [
81
+ {
82
+ "internalType": "address",
83
+ "name": "spender",
84
+ "type": "address"
85
+ }
86
+ ],
87
+ "name": "ERC20InvalidSpender",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "InvalidInitialization",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [],
97
+ "name": "NotInitializing",
98
+ "type": "error"
99
+ },
4
100
  {
5
101
  "anonymous": false,
6
102
  "inputs": [
7
103
  {
8
104
  "indexed": true,
9
- "name": "from",
105
+ "internalType": "address",
106
+ "name": "owner",
10
107
  "type": "address"
11
108
  },
12
109
  {
13
110
  "indexed": true,
14
- "name": "to",
111
+ "internalType": "address",
112
+ "name": "spender",
15
113
  "type": "address"
16
114
  },
17
115
  {
18
116
  "indexed": false,
117
+ "internalType": "uint256",
19
118
  "name": "value",
20
119
  "type": "uint256"
21
120
  }
22
121
  ],
23
- "name": "Transfer",
122
+ "name": "Approval",
123
+ "type": "event"
124
+ },
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": false,
130
+ "internalType": "uint64",
131
+ "name": "version",
132
+ "type": "uint64"
133
+ }
134
+ ],
135
+ "name": "Initialized",
24
136
  "type": "event"
25
137
  },
26
138
  {
@@ -28,83 +140,82 @@
28
140
  "inputs": [
29
141
  {
30
142
  "indexed": true,
31
- "name": "owner",
143
+ "internalType": "address",
144
+ "name": "from",
32
145
  "type": "address"
33
146
  },
34
147
  {
35
148
  "indexed": true,
36
- "name": "spender",
149
+ "internalType": "address",
150
+ "name": "to",
37
151
  "type": "address"
38
152
  },
39
153
  {
40
154
  "indexed": false,
155
+ "internalType": "uint256",
41
156
  "name": "value",
42
157
  "type": "uint256"
43
158
  }
44
159
  ],
45
- "name": "Approval",
160
+ "name": "Transfer",
46
161
  "type": "event"
47
162
  },
48
163
  {
49
- "constant": true,
50
164
  "inputs": [],
51
165
  "name": "name",
52
166
  "outputs": [
53
167
  {
168
+ "internalType": "string",
54
169
  "name": "",
55
170
  "type": "string"
56
171
  }
57
172
  ],
58
- "payable": false,
59
173
  "stateMutability": "view",
60
174
  "type": "function"
61
175
  },
62
176
  {
63
- "constant": true,
64
177
  "inputs": [],
65
178
  "name": "symbol",
66
179
  "outputs": [
67
180
  {
181
+ "internalType": "string",
68
182
  "name": "",
69
183
  "type": "string"
70
184
  }
71
185
  ],
72
- "payable": false,
73
186
  "stateMutability": "view",
74
187
  "type": "function"
75
188
  },
76
189
  {
77
- "constant": true,
78
190
  "inputs": [],
79
191
  "name": "decimals",
80
192
  "outputs": [
81
193
  {
194
+ "internalType": "uint8",
82
195
  "name": "",
83
196
  "type": "uint8"
84
197
  }
85
198
  ],
86
- "payable": false,
87
199
  "stateMutability": "view",
88
200
  "type": "function"
89
201
  },
90
202
  {
91
- "constant": true,
92
203
  "inputs": [],
93
204
  "name": "totalSupply",
94
205
  "outputs": [
95
206
  {
207
+ "internalType": "uint256",
96
208
  "name": "",
97
209
  "type": "uint256"
98
210
  }
99
211
  ],
100
- "payable": false,
101
212
  "stateMutability": "view",
102
213
  "type": "function"
103
214
  },
104
215
  {
105
- "constant": true,
106
216
  "inputs": [
107
217
  {
218
+ "internalType": "address",
108
219
  "name": "account",
109
220
  "type": "address"
110
221
  }
@@ -112,45 +223,47 @@
112
223
  "name": "balanceOf",
113
224
  "outputs": [
114
225
  {
226
+ "internalType": "uint256",
115
227
  "name": "",
116
228
  "type": "uint256"
117
229
  }
118
230
  ],
119
- "payable": false,
120
231
  "stateMutability": "view",
121
232
  "type": "function"
122
233
  },
123
234
  {
124
- "constant": false,
125
235
  "inputs": [
126
236
  {
127
- "name": "recipient",
237
+ "internalType": "address",
238
+ "name": "to",
128
239
  "type": "address"
129
240
  },
130
241
  {
131
- "name": "amount",
242
+ "internalType": "uint256",
243
+ "name": "value",
132
244
  "type": "uint256"
133
245
  }
134
246
  ],
135
247
  "name": "transfer",
136
248
  "outputs": [
137
249
  {
250
+ "internalType": "bool",
138
251
  "name": "",
139
252
  "type": "bool"
140
253
  }
141
254
  ],
142
- "payable": false,
143
255
  "stateMutability": "nonpayable",
144
256
  "type": "function"
145
257
  },
146
258
  {
147
- "constant": true,
148
259
  "inputs": [
149
260
  {
261
+ "internalType": "address",
150
262
  "name": "owner",
151
263
  "type": "address"
152
264
  },
153
265
  {
266
+ "internalType": "address",
154
267
  "name": "spender",
155
268
  "type": "address"
156
269
  }
@@ -158,107 +271,64 @@
158
271
  "name": "allowance",
159
272
  "outputs": [
160
273
  {
274
+ "internalType": "uint256",
161
275
  "name": "",
162
276
  "type": "uint256"
163
277
  }
164
278
  ],
165
- "payable": false,
166
279
  "stateMutability": "view",
167
280
  "type": "function"
168
281
  },
169
282
  {
170
- "constant": false,
171
283
  "inputs": [
172
284
  {
285
+ "internalType": "address",
173
286
  "name": "spender",
174
287
  "type": "address"
175
288
  },
176
289
  {
177
- "name": "amount",
290
+ "internalType": "uint256",
291
+ "name": "value",
178
292
  "type": "uint256"
179
293
  }
180
294
  ],
181
295
  "name": "approve",
182
296
  "outputs": [
183
297
  {
298
+ "internalType": "bool",
184
299
  "name": "",
185
300
  "type": "bool"
186
301
  }
187
302
  ],
188
- "payable": false,
189
303
  "stateMutability": "nonpayable",
190
304
  "type": "function"
191
305
  },
192
306
  {
193
- "constant": false,
194
307
  "inputs": [
195
308
  {
196
- "name": "sender",
309
+ "internalType": "address",
310
+ "name": "from",
197
311
  "type": "address"
198
312
  },
199
313
  {
200
- "name": "recipient",
314
+ "internalType": "address",
315
+ "name": "to",
201
316
  "type": "address"
202
317
  },
203
318
  {
204
- "name": "amount",
319
+ "internalType": "uint256",
320
+ "name": "value",
205
321
  "type": "uint256"
206
322
  }
207
323
  ],
208
324
  "name": "transferFrom",
209
325
  "outputs": [
210
326
  {
327
+ "internalType": "bool",
211
328
  "name": "",
212
329
  "type": "bool"
213
330
  }
214
331
  ],
215
- "payable": false,
216
- "stateMutability": "nonpayable",
217
- "type": "function"
218
- },
219
- {
220
- "constant": false,
221
- "inputs": [
222
- {
223
- "name": "spender",
224
- "type": "address"
225
- },
226
- {
227
- "name": "addedValue",
228
- "type": "uint256"
229
- }
230
- ],
231
- "name": "increaseAllowance",
232
- "outputs": [
233
- {
234
- "name": "",
235
- "type": "bool"
236
- }
237
- ],
238
- "payable": false,
239
- "stateMutability": "nonpayable",
240
- "type": "function"
241
- },
242
- {
243
- "constant": false,
244
- "inputs": [
245
- {
246
- "name": "spender",
247
- "type": "address"
248
- },
249
- {
250
- "name": "subtractedValue",
251
- "type": "uint256"
252
- }
253
- ],
254
- "name": "decreaseAllowance",
255
- "outputs": [
256
- {
257
- "name": "",
258
- "type": "bool"
259
- }
260
- ],
261
- "payable": false,
262
332
  "stateMutability": "nonpayable",
263
333
  "type": "function"
264
334
  }