@verified-network/verified-sdk 2.5.7 → 2.5.9
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.
- package/dist/abi/distribution/Distribution.json +38 -36621
- package/dist/abi/liquidity/Liquidity.json +100 -72279
- package/dist/abi/payments/Bond.json +546 -383
- package/dist/abi/payments/Cash.json +404 -278
- package/dist/abi/payments/ERC20.json +147 -77
- package/dist/abi/payments/Factory.json +253 -373
- package/dist/abi/payments/Rates.json +38 -17
- package/dist/abi/payments/Token.json +246 -147
- package/dist/contract/liquidity/index.d.ts +6 -35
- package/dist/contract/liquidity/index.js +12 -63
- package/dist/contractAddress/index.js +24 -24
- package/package.json +1 -1
|
@@ -2,356 +2,445 @@
|
|
|
2
2
|
"contractName": "Token",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
|
-
"
|
|
6
|
-
"inputs": [],
|
|
7
|
-
"name": "name",
|
|
8
|
-
"outputs": [
|
|
5
|
+
"inputs": [
|
|
9
6
|
{
|
|
10
|
-
"
|
|
11
|
-
"
|
|
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"
|
|
12
20
|
}
|
|
13
21
|
],
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"type": "function"
|
|
22
|
+
"name": "ERC20InsufficientAllowance",
|
|
23
|
+
"type": "error"
|
|
17
24
|
},
|
|
18
25
|
{
|
|
19
|
-
"constant": false,
|
|
20
26
|
"inputs": [
|
|
21
27
|
{
|
|
22
|
-
"
|
|
28
|
+
"internalType": "address",
|
|
29
|
+
"name": "sender",
|
|
23
30
|
"type": "address"
|
|
24
31
|
},
|
|
25
32
|
{
|
|
26
|
-
"
|
|
33
|
+
"internalType": "uint256",
|
|
34
|
+
"name": "balance",
|
|
35
|
+
"type": "uint256"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"internalType": "uint256",
|
|
39
|
+
"name": "needed",
|
|
27
40
|
"type": "uint256"
|
|
28
41
|
}
|
|
29
42
|
],
|
|
30
|
-
"name": "
|
|
31
|
-
"
|
|
43
|
+
"name": "ERC20InsufficientBalance",
|
|
44
|
+
"type": "error"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"inputs": [
|
|
32
48
|
{
|
|
33
|
-
"
|
|
34
|
-
"
|
|
49
|
+
"internalType": "address",
|
|
50
|
+
"name": "approver",
|
|
51
|
+
"type": "address"
|
|
35
52
|
}
|
|
36
53
|
],
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"type": "function"
|
|
54
|
+
"name": "ERC20InvalidApprover",
|
|
55
|
+
"type": "error"
|
|
40
56
|
},
|
|
41
57
|
{
|
|
42
|
-
"
|
|
43
|
-
"inputs": [],
|
|
44
|
-
"name": "totalSupply",
|
|
45
|
-
"outputs": [
|
|
58
|
+
"inputs": [
|
|
46
59
|
{
|
|
47
|
-
"
|
|
48
|
-
"
|
|
60
|
+
"internalType": "address",
|
|
61
|
+
"name": "receiver",
|
|
62
|
+
"type": "address"
|
|
49
63
|
}
|
|
50
64
|
],
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"type": "function"
|
|
65
|
+
"name": "ERC20InvalidReceiver",
|
|
66
|
+
"type": "error"
|
|
54
67
|
},
|
|
55
68
|
{
|
|
56
|
-
"
|
|
57
|
-
"inputs": [],
|
|
58
|
-
"name": "decimals",
|
|
59
|
-
"outputs": [
|
|
69
|
+
"inputs": [
|
|
60
70
|
{
|
|
61
|
-
"
|
|
62
|
-
"
|
|
71
|
+
"internalType": "address",
|
|
72
|
+
"name": "sender",
|
|
73
|
+
"type": "address"
|
|
63
74
|
}
|
|
64
75
|
],
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"type": "function"
|
|
76
|
+
"name": "ERC20InvalidSender",
|
|
77
|
+
"type": "error"
|
|
68
78
|
},
|
|
69
79
|
{
|
|
70
|
-
"constant": false,
|
|
71
80
|
"inputs": [
|
|
72
81
|
{
|
|
82
|
+
"internalType": "address",
|
|
73
83
|
"name": "spender",
|
|
74
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
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"inputs": [],
|
|
102
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
103
|
+
"type": "error"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"anonymous": false,
|
|
107
|
+
"inputs": [
|
|
108
|
+
{
|
|
109
|
+
"indexed": true,
|
|
110
|
+
"internalType": "address",
|
|
111
|
+
"name": "owner",
|
|
112
|
+
"type": "address"
|
|
75
113
|
},
|
|
76
114
|
{
|
|
77
|
-
"
|
|
115
|
+
"indexed": true,
|
|
116
|
+
"internalType": "address",
|
|
117
|
+
"name": "spender",
|
|
118
|
+
"type": "address"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"indexed": false,
|
|
122
|
+
"internalType": "uint256",
|
|
123
|
+
"name": "value",
|
|
78
124
|
"type": "uint256"
|
|
79
125
|
}
|
|
80
126
|
],
|
|
81
|
-
"name": "
|
|
82
|
-
"
|
|
127
|
+
"name": "Approval",
|
|
128
|
+
"type": "event"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"anonymous": false,
|
|
132
|
+
"inputs": [
|
|
83
133
|
{
|
|
84
|
-
"
|
|
85
|
-
"
|
|
134
|
+
"indexed": false,
|
|
135
|
+
"internalType": "uint64",
|
|
136
|
+
"name": "version",
|
|
137
|
+
"type": "uint64"
|
|
86
138
|
}
|
|
87
139
|
],
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"type": "function"
|
|
140
|
+
"name": "Initialized",
|
|
141
|
+
"type": "event"
|
|
91
142
|
},
|
|
92
143
|
{
|
|
93
|
-
"
|
|
144
|
+
"anonymous": false,
|
|
94
145
|
"inputs": [
|
|
95
146
|
{
|
|
96
|
-
"
|
|
147
|
+
"indexed": true,
|
|
148
|
+
"internalType": "address",
|
|
149
|
+
"name": "from",
|
|
97
150
|
"type": "address"
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"name": "balanceOf",
|
|
101
|
-
"outputs": [
|
|
151
|
+
},
|
|
102
152
|
{
|
|
103
|
-
"
|
|
153
|
+
"indexed": true,
|
|
154
|
+
"internalType": "address",
|
|
155
|
+
"name": "to",
|
|
156
|
+
"type": "address"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"indexed": false,
|
|
160
|
+
"internalType": "uint256",
|
|
161
|
+
"name": "value",
|
|
104
162
|
"type": "uint256"
|
|
105
163
|
}
|
|
106
164
|
],
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"type": "function"
|
|
165
|
+
"name": "Transfer",
|
|
166
|
+
"type": "event"
|
|
110
167
|
},
|
|
111
168
|
{
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
169
|
+
"inputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "address",
|
|
172
|
+
"name": "owner",
|
|
173
|
+
"type": "address"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"internalType": "address",
|
|
177
|
+
"name": "spender",
|
|
178
|
+
"type": "address"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"name": "allowance",
|
|
115
182
|
"outputs": [
|
|
116
183
|
{
|
|
184
|
+
"internalType": "uint256",
|
|
117
185
|
"name": "",
|
|
118
|
-
"type": "
|
|
186
|
+
"type": "uint256"
|
|
119
187
|
}
|
|
120
188
|
],
|
|
121
|
-
"payable": false,
|
|
122
189
|
"stateMutability": "view",
|
|
123
|
-
"type": "function"
|
|
190
|
+
"type": "function",
|
|
191
|
+
"constant": true
|
|
124
192
|
},
|
|
125
193
|
{
|
|
126
|
-
"constant": false,
|
|
127
194
|
"inputs": [
|
|
128
195
|
{
|
|
196
|
+
"internalType": "address",
|
|
129
197
|
"name": "spender",
|
|
130
198
|
"type": "address"
|
|
131
199
|
},
|
|
132
200
|
{
|
|
133
|
-
"
|
|
201
|
+
"internalType": "uint256",
|
|
202
|
+
"name": "value",
|
|
134
203
|
"type": "uint256"
|
|
135
204
|
}
|
|
136
205
|
],
|
|
137
|
-
"name": "
|
|
206
|
+
"name": "approve",
|
|
138
207
|
"outputs": [
|
|
139
208
|
{
|
|
209
|
+
"internalType": "bool",
|
|
140
210
|
"name": "",
|
|
141
211
|
"type": "bool"
|
|
142
212
|
}
|
|
143
213
|
],
|
|
144
|
-
"payable": false,
|
|
145
214
|
"stateMutability": "nonpayable",
|
|
146
215
|
"type": "function"
|
|
147
216
|
},
|
|
148
217
|
{
|
|
149
|
-
"constant": false,
|
|
150
218
|
"inputs": [
|
|
151
219
|
{
|
|
152
|
-
"
|
|
220
|
+
"internalType": "address",
|
|
221
|
+
"name": "account",
|
|
153
222
|
"type": "address"
|
|
154
|
-
}
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"name": "balanceOf",
|
|
226
|
+
"outputs": [
|
|
155
227
|
{
|
|
156
|
-
"
|
|
228
|
+
"internalType": "uint256",
|
|
229
|
+
"name": "",
|
|
157
230
|
"type": "uint256"
|
|
158
231
|
}
|
|
159
232
|
],
|
|
160
|
-
"
|
|
233
|
+
"stateMutability": "view",
|
|
234
|
+
"type": "function",
|
|
235
|
+
"constant": true
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"inputs": [],
|
|
239
|
+
"name": "decimals",
|
|
161
240
|
"outputs": [
|
|
162
241
|
{
|
|
242
|
+
"internalType": "uint8",
|
|
163
243
|
"name": "",
|
|
164
|
-
"type": "
|
|
244
|
+
"type": "uint8"
|
|
165
245
|
}
|
|
166
246
|
],
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
247
|
+
"stateMutability": "view",
|
|
248
|
+
"type": "function",
|
|
249
|
+
"constant": true
|
|
170
250
|
},
|
|
171
251
|
{
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
|
|
175
|
-
"name": "owner",
|
|
176
|
-
"type": "address"
|
|
177
|
-
},
|
|
252
|
+
"inputs": [],
|
|
253
|
+
"name": "name",
|
|
254
|
+
"outputs": [
|
|
178
255
|
{
|
|
179
|
-
"
|
|
180
|
-
"
|
|
256
|
+
"internalType": "string",
|
|
257
|
+
"name": "",
|
|
258
|
+
"type": "string"
|
|
181
259
|
}
|
|
182
260
|
],
|
|
183
|
-
"
|
|
261
|
+
"stateMutability": "view",
|
|
262
|
+
"type": "function",
|
|
263
|
+
"constant": true
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"inputs": [],
|
|
267
|
+
"name": "symbol",
|
|
184
268
|
"outputs": [
|
|
185
269
|
{
|
|
270
|
+
"internalType": "string",
|
|
186
271
|
"name": "",
|
|
187
|
-
"type": "
|
|
272
|
+
"type": "string"
|
|
188
273
|
}
|
|
189
274
|
],
|
|
190
|
-
"payable": false,
|
|
191
275
|
"stateMutability": "view",
|
|
192
|
-
"type": "function"
|
|
276
|
+
"type": "function",
|
|
277
|
+
"constant": true
|
|
193
278
|
},
|
|
194
279
|
{
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
|
|
198
|
-
"indexed": true,
|
|
199
|
-
"name": "from",
|
|
200
|
-
"type": "address"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"indexed": true,
|
|
204
|
-
"name": "to",
|
|
205
|
-
"type": "address"
|
|
206
|
-
},
|
|
280
|
+
"inputs": [],
|
|
281
|
+
"name": "totalSupply",
|
|
282
|
+
"outputs": [
|
|
207
283
|
{
|
|
208
|
-
"
|
|
209
|
-
"name": "
|
|
284
|
+
"internalType": "uint256",
|
|
285
|
+
"name": "",
|
|
210
286
|
"type": "uint256"
|
|
211
287
|
}
|
|
212
288
|
],
|
|
213
|
-
"
|
|
214
|
-
"type": "
|
|
289
|
+
"stateMutability": "view",
|
|
290
|
+
"type": "function",
|
|
291
|
+
"constant": true
|
|
215
292
|
},
|
|
216
293
|
{
|
|
217
|
-
"anonymous": false,
|
|
218
294
|
"inputs": [
|
|
219
295
|
{
|
|
220
|
-
"
|
|
221
|
-
"name": "
|
|
222
|
-
"type": "address"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"indexed": true,
|
|
226
|
-
"name": "spender",
|
|
296
|
+
"internalType": "address",
|
|
297
|
+
"name": "to",
|
|
227
298
|
"type": "address"
|
|
228
299
|
},
|
|
229
300
|
{
|
|
230
|
-
"
|
|
301
|
+
"internalType": "uint256",
|
|
231
302
|
"name": "value",
|
|
232
303
|
"type": "uint256"
|
|
233
304
|
}
|
|
234
305
|
],
|
|
235
|
-
"name": "
|
|
236
|
-
"
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
"payable": false,
|
|
306
|
+
"name": "transfer",
|
|
307
|
+
"outputs": [
|
|
308
|
+
{
|
|
309
|
+
"internalType": "bool",
|
|
310
|
+
"name": "",
|
|
311
|
+
"type": "bool"
|
|
312
|
+
}
|
|
313
|
+
],
|
|
244
314
|
"stateMutability": "nonpayable",
|
|
245
315
|
"type": "function"
|
|
246
316
|
},
|
|
247
317
|
{
|
|
248
|
-
"constant": false,
|
|
249
318
|
"inputs": [
|
|
250
319
|
{
|
|
320
|
+
"internalType": "bytes32",
|
|
251
321
|
"name": "name",
|
|
252
322
|
"type": "bytes32"
|
|
253
323
|
},
|
|
254
324
|
{
|
|
325
|
+
"internalType": "address",
|
|
255
326
|
"name": "issuer",
|
|
256
327
|
"type": "address"
|
|
257
328
|
},
|
|
258
329
|
{
|
|
330
|
+
"internalType": "address",
|
|
331
|
+
"name": "payee",
|
|
332
|
+
"type": "address"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"internalType": "address",
|
|
259
336
|
"name": "owner",
|
|
260
337
|
"type": "address"
|
|
261
338
|
},
|
|
262
339
|
{
|
|
340
|
+
"internalType": "bytes32",
|
|
263
341
|
"name": "symbol",
|
|
264
342
|
"type": "bytes32"
|
|
265
343
|
}
|
|
266
344
|
],
|
|
267
345
|
"name": "initialize",
|
|
268
346
|
"outputs": [],
|
|
269
|
-
"payable": false,
|
|
270
347
|
"stateMutability": "nonpayable",
|
|
271
348
|
"type": "function"
|
|
272
349
|
},
|
|
273
350
|
{
|
|
274
|
-
"constant": true,
|
|
275
351
|
"inputs": [],
|
|
276
352
|
"name": "getIssuer",
|
|
277
353
|
"outputs": [
|
|
278
354
|
{
|
|
355
|
+
"internalType": "address",
|
|
279
356
|
"name": "",
|
|
280
357
|
"type": "address"
|
|
281
358
|
}
|
|
282
359
|
],
|
|
283
|
-
"payable": false,
|
|
284
360
|
"stateMutability": "view",
|
|
285
|
-
"type": "function"
|
|
361
|
+
"type": "function",
|
|
362
|
+
"constant": true
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"inputs": [],
|
|
366
|
+
"name": "getPayee",
|
|
367
|
+
"outputs": [
|
|
368
|
+
{
|
|
369
|
+
"internalType": "address",
|
|
370
|
+
"name": "",
|
|
371
|
+
"type": "address"
|
|
372
|
+
}
|
|
373
|
+
],
|
|
374
|
+
"stateMutability": "view",
|
|
375
|
+
"type": "function",
|
|
376
|
+
"constant": true
|
|
286
377
|
},
|
|
287
378
|
{
|
|
288
|
-
"constant": false,
|
|
289
379
|
"inputs": [
|
|
290
380
|
{
|
|
381
|
+
"internalType": "uint256",
|
|
291
382
|
"name": "amount",
|
|
292
383
|
"type": "uint256"
|
|
293
384
|
}
|
|
294
385
|
],
|
|
295
386
|
"name": "addTotalSupply",
|
|
296
387
|
"outputs": [],
|
|
297
|
-
"payable": false,
|
|
298
388
|
"stateMutability": "nonpayable",
|
|
299
389
|
"type": "function"
|
|
300
390
|
},
|
|
301
391
|
{
|
|
302
|
-
"constant": false,
|
|
303
392
|
"inputs": [
|
|
304
393
|
{
|
|
394
|
+
"internalType": "uint256",
|
|
305
395
|
"name": "amount",
|
|
306
396
|
"type": "uint256"
|
|
307
397
|
}
|
|
308
398
|
],
|
|
309
399
|
"name": "reduceSupply",
|
|
310
400
|
"outputs": [],
|
|
311
|
-
"payable": false,
|
|
312
401
|
"stateMutability": "nonpayable",
|
|
313
402
|
"type": "function"
|
|
314
403
|
},
|
|
315
404
|
{
|
|
316
|
-
"constant": false,
|
|
317
405
|
"inputs": [
|
|
318
406
|
{
|
|
407
|
+
"internalType": "address",
|
|
319
408
|
"name": "party",
|
|
320
409
|
"type": "address"
|
|
321
410
|
},
|
|
322
411
|
{
|
|
412
|
+
"internalType": "uint256",
|
|
323
413
|
"name": "amount",
|
|
324
414
|
"type": "uint256"
|
|
325
415
|
}
|
|
326
416
|
],
|
|
327
417
|
"name": "addBalance",
|
|
328
418
|
"outputs": [],
|
|
329
|
-
"payable": false,
|
|
330
419
|
"stateMutability": "nonpayable",
|
|
331
420
|
"type": "function"
|
|
332
421
|
},
|
|
333
422
|
{
|
|
334
|
-
"constant": false,
|
|
335
423
|
"inputs": [
|
|
336
424
|
{
|
|
425
|
+
"internalType": "address",
|
|
337
426
|
"name": "party",
|
|
338
427
|
"type": "address"
|
|
339
428
|
},
|
|
340
429
|
{
|
|
430
|
+
"internalType": "uint256",
|
|
341
431
|
"name": "amount",
|
|
342
432
|
"type": "uint256"
|
|
343
433
|
}
|
|
344
434
|
],
|
|
345
435
|
"name": "reduceBalance",
|
|
346
436
|
"outputs": [],
|
|
347
|
-
"payable": false,
|
|
348
437
|
"stateMutability": "nonpayable",
|
|
349
438
|
"type": "function"
|
|
350
439
|
},
|
|
351
440
|
{
|
|
352
|
-
"constant": true,
|
|
353
441
|
"inputs": [
|
|
354
442
|
{
|
|
443
|
+
"internalType": "address",
|
|
355
444
|
"name": "party",
|
|
356
445
|
"type": "address"
|
|
357
446
|
}
|
|
@@ -359,26 +448,29 @@
|
|
|
359
448
|
"name": "getBalance",
|
|
360
449
|
"outputs": [
|
|
361
450
|
{
|
|
451
|
+
"internalType": "uint256",
|
|
362
452
|
"name": "",
|
|
363
453
|
"type": "uint256"
|
|
364
454
|
}
|
|
365
455
|
],
|
|
366
|
-
"payable": false,
|
|
367
456
|
"stateMutability": "view",
|
|
368
|
-
"type": "function"
|
|
457
|
+
"type": "function",
|
|
458
|
+
"constant": true
|
|
369
459
|
},
|
|
370
460
|
{
|
|
371
|
-
"constant": false,
|
|
372
461
|
"inputs": [
|
|
373
462
|
{
|
|
463
|
+
"internalType": "address",
|
|
374
464
|
"name": "sender",
|
|
375
465
|
"type": "address"
|
|
376
466
|
},
|
|
377
467
|
{
|
|
468
|
+
"internalType": "address",
|
|
378
469
|
"name": "receiver",
|
|
379
470
|
"type": "address"
|
|
380
471
|
},
|
|
381
472
|
{
|
|
473
|
+
"internalType": "uint256",
|
|
382
474
|
"name": "tokens",
|
|
383
475
|
"type": "uint256"
|
|
384
476
|
}
|
|
@@ -386,26 +478,28 @@
|
|
|
386
478
|
"name": "transferFrom",
|
|
387
479
|
"outputs": [
|
|
388
480
|
{
|
|
481
|
+
"internalType": "bool",
|
|
389
482
|
"name": "",
|
|
390
483
|
"type": "bool"
|
|
391
484
|
}
|
|
392
485
|
],
|
|
393
|
-
"payable": false,
|
|
394
486
|
"stateMutability": "nonpayable",
|
|
395
487
|
"type": "function"
|
|
396
488
|
},
|
|
397
489
|
{
|
|
398
|
-
"constant": false,
|
|
399
490
|
"inputs": [
|
|
400
491
|
{
|
|
492
|
+
"internalType": "address",
|
|
401
493
|
"name": "sender",
|
|
402
494
|
"type": "address"
|
|
403
495
|
},
|
|
404
496
|
{
|
|
497
|
+
"internalType": "address",
|
|
405
498
|
"name": "receiver",
|
|
406
499
|
"type": "address"
|
|
407
500
|
},
|
|
408
501
|
{
|
|
502
|
+
"internalType": "uint256",
|
|
409
503
|
"name": "tokens",
|
|
410
504
|
"type": "uint256"
|
|
411
505
|
}
|
|
@@ -413,22 +507,23 @@
|
|
|
413
507
|
"name": "transferToken",
|
|
414
508
|
"outputs": [
|
|
415
509
|
{
|
|
510
|
+
"internalType": "bool",
|
|
416
511
|
"name": "",
|
|
417
512
|
"type": "bool"
|
|
418
513
|
}
|
|
419
514
|
],
|
|
420
|
-
"payable": false,
|
|
421
515
|
"stateMutability": "nonpayable",
|
|
422
516
|
"type": "function"
|
|
423
517
|
},
|
|
424
518
|
{
|
|
425
|
-
"constant": false,
|
|
426
519
|
"inputs": [
|
|
427
520
|
{
|
|
521
|
+
"internalType": "address",
|
|
428
522
|
"name": "receiver",
|
|
429
523
|
"type": "address"
|
|
430
524
|
},
|
|
431
525
|
{
|
|
526
|
+
"internalType": "uint256",
|
|
432
527
|
"name": "tokens",
|
|
433
528
|
"type": "uint256"
|
|
434
529
|
}
|
|
@@ -436,30 +531,33 @@
|
|
|
436
531
|
"name": "requestTransfer",
|
|
437
532
|
"outputs": [
|
|
438
533
|
{
|
|
534
|
+
"internalType": "bool",
|
|
439
535
|
"name": "",
|
|
440
536
|
"type": "bool"
|
|
441
537
|
}
|
|
442
538
|
],
|
|
443
|
-
"payable": false,
|
|
444
539
|
"stateMutability": "nonpayable",
|
|
445
540
|
"type": "function"
|
|
446
541
|
},
|
|
447
542
|
{
|
|
448
|
-
"constant": false,
|
|
449
543
|
"inputs": [
|
|
450
544
|
{
|
|
545
|
+
"internalType": "uint256",
|
|
451
546
|
"name": "amount",
|
|
452
547
|
"type": "uint256"
|
|
453
548
|
},
|
|
454
549
|
{
|
|
550
|
+
"internalType": "address",
|
|
455
551
|
"name": "payer",
|
|
456
552
|
"type": "address"
|
|
457
553
|
},
|
|
458
554
|
{
|
|
555
|
+
"internalType": "bytes32",
|
|
459
556
|
"name": "currency",
|
|
460
557
|
"type": "bytes32"
|
|
461
558
|
},
|
|
462
559
|
{
|
|
560
|
+
"internalType": "address",
|
|
463
561
|
"name": "cashContract",
|
|
464
562
|
"type": "address"
|
|
465
563
|
}
|
|
@@ -467,33 +565,34 @@
|
|
|
467
565
|
"name": "requestTransaction",
|
|
468
566
|
"outputs": [
|
|
469
567
|
{
|
|
568
|
+
"internalType": "bool",
|
|
470
569
|
"name": "",
|
|
471
570
|
"type": "bool"
|
|
472
571
|
}
|
|
473
572
|
],
|
|
474
|
-
"payable": false,
|
|
475
573
|
"stateMutability": "nonpayable",
|
|
476
574
|
"type": "function"
|
|
477
575
|
},
|
|
478
576
|
{
|
|
479
|
-
"constant": false,
|
|
480
577
|
"inputs": [
|
|
481
578
|
{
|
|
579
|
+
"internalType": "address",
|
|
482
580
|
"name": "_comet",
|
|
483
581
|
"type": "address"
|
|
484
582
|
},
|
|
485
583
|
{
|
|
584
|
+
"internalType": "address",
|
|
486
585
|
"name": "manager",
|
|
487
586
|
"type": "address"
|
|
488
587
|
},
|
|
489
588
|
{
|
|
589
|
+
"internalType": "bool",
|
|
490
590
|
"name": "isAllowed",
|
|
491
591
|
"type": "bool"
|
|
492
592
|
}
|
|
493
593
|
],
|
|
494
594
|
"name": "allow",
|
|
495
595
|
"outputs": [],
|
|
496
|
-
"payable": false,
|
|
497
596
|
"stateMutability": "nonpayable",
|
|
498
597
|
"type": "function"
|
|
499
598
|
}
|