@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.
- 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 +5 -34
- package/dist/contract/liquidity/index.js +9 -61
- package/dist/contractAddress/index.js +25 -25
- package/package.json +1 -1
|
@@ -2,720 +2,867 @@
|
|
|
2
2
|
"contractName": "Bond",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
|
-
"
|
|
6
|
-
"inputs": [],
|
|
7
|
-
"name": "bondCurrency",
|
|
8
|
-
"outputs": [
|
|
5
|
+
"inputs": [
|
|
9
6
|
{
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"payable": false,
|
|
15
|
-
"stateMutability": "view",
|
|
16
|
-
"type": "function"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"constant": true,
|
|
20
|
-
"inputs": [],
|
|
21
|
-
"name": "name",
|
|
22
|
-
"outputs": [
|
|
7
|
+
"internalType": "address",
|
|
8
|
+
"name": "spender",
|
|
9
|
+
"type": "address"
|
|
10
|
+
},
|
|
23
11
|
{
|
|
24
|
-
"
|
|
25
|
-
"
|
|
12
|
+
"internalType": "uint256",
|
|
13
|
+
"name": "allowance",
|
|
14
|
+
"type": "uint256"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"internalType": "uint256",
|
|
18
|
+
"name": "needed",
|
|
19
|
+
"type": "uint256"
|
|
26
20
|
}
|
|
27
21
|
],
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"type": "function"
|
|
22
|
+
"name": "ERC20InsufficientAllowance",
|
|
23
|
+
"type": "error"
|
|
31
24
|
},
|
|
32
25
|
{
|
|
33
|
-
"constant": false,
|
|
34
26
|
"inputs": [
|
|
35
27
|
{
|
|
36
|
-
"
|
|
28
|
+
"internalType": "address",
|
|
29
|
+
"name": "sender",
|
|
37
30
|
"type": "address"
|
|
38
31
|
},
|
|
39
32
|
{
|
|
40
|
-
"
|
|
33
|
+
"internalType": "uint256",
|
|
34
|
+
"name": "balance",
|
|
35
|
+
"type": "uint256"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"internalType": "uint256",
|
|
39
|
+
"name": "needed",
|
|
41
40
|
"type": "uint256"
|
|
42
41
|
}
|
|
43
42
|
],
|
|
44
|
-
"name": "
|
|
45
|
-
"
|
|
43
|
+
"name": "ERC20InsufficientBalance",
|
|
44
|
+
"type": "error"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"inputs": [
|
|
46
48
|
{
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
+
"internalType": "address",
|
|
50
|
+
"name": "approver",
|
|
51
|
+
"type": "address"
|
|
49
52
|
}
|
|
50
53
|
],
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"type": "function"
|
|
54
|
+
"name": "ERC20InvalidApprover",
|
|
55
|
+
"type": "error"
|
|
54
56
|
},
|
|
55
57
|
{
|
|
56
|
-
"
|
|
57
|
-
"inputs": [],
|
|
58
|
-
"name": "totalSupply",
|
|
59
|
-
"outputs": [
|
|
58
|
+
"inputs": [
|
|
60
59
|
{
|
|
61
|
-
"
|
|
62
|
-
"
|
|
60
|
+
"internalType": "address",
|
|
61
|
+
"name": "receiver",
|
|
62
|
+
"type": "address"
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"type": "function"
|
|
65
|
+
"name": "ERC20InvalidReceiver",
|
|
66
|
+
"type": "error"
|
|
68
67
|
},
|
|
69
68
|
{
|
|
70
|
-
"constant": false,
|
|
71
69
|
"inputs": [
|
|
72
70
|
{
|
|
71
|
+
"internalType": "address",
|
|
73
72
|
"name": "sender",
|
|
74
73
|
"type": "address"
|
|
75
|
-
}
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"name": "ERC20InvalidSender",
|
|
77
|
+
"type": "error"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"inputs": [
|
|
76
81
|
{
|
|
77
|
-
"
|
|
82
|
+
"internalType": "address",
|
|
83
|
+
"name": "spender",
|
|
78
84
|
"type": "address"
|
|
79
|
-
}
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"name": "ERC20InvalidSpender",
|
|
88
|
+
"type": "error"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"inputs": [],
|
|
92
|
+
"name": "EnforcedPause",
|
|
93
|
+
"type": "error"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"inputs": [],
|
|
97
|
+
"name": "ExpectedPause",
|
|
98
|
+
"type": "error"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"inputs": [],
|
|
102
|
+
"name": "InvalidInitialization",
|
|
103
|
+
"type": "error"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"inputs": [],
|
|
107
|
+
"name": "NotInitializing",
|
|
108
|
+
"type": "error"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"inputs": [
|
|
80
112
|
{
|
|
81
|
-
"
|
|
82
|
-
"
|
|
113
|
+
"internalType": "address",
|
|
114
|
+
"name": "owner",
|
|
115
|
+
"type": "address"
|
|
83
116
|
}
|
|
84
117
|
],
|
|
85
|
-
"name": "
|
|
86
|
-
"
|
|
118
|
+
"name": "OwnableInvalidOwner",
|
|
119
|
+
"type": "error"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"inputs": [
|
|
87
123
|
{
|
|
88
|
-
"
|
|
89
|
-
"
|
|
124
|
+
"internalType": "address",
|
|
125
|
+
"name": "account",
|
|
126
|
+
"type": "address"
|
|
90
127
|
}
|
|
91
128
|
],
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"type": "function"
|
|
129
|
+
"name": "OwnableUnauthorizedAccount",
|
|
130
|
+
"type": "error"
|
|
95
131
|
},
|
|
96
132
|
{
|
|
97
|
-
"constant": true,
|
|
98
133
|
"inputs": [],
|
|
99
|
-
"name": "
|
|
100
|
-
"
|
|
134
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
135
|
+
"type": "error"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"inputs": [
|
|
101
139
|
{
|
|
102
|
-
"
|
|
103
|
-
"
|
|
140
|
+
"internalType": "address",
|
|
141
|
+
"name": "token",
|
|
142
|
+
"type": "address"
|
|
104
143
|
}
|
|
105
144
|
],
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"type": "function"
|
|
145
|
+
"name": "SafeERC20FailedOperation",
|
|
146
|
+
"type": "error"
|
|
109
147
|
},
|
|
110
148
|
{
|
|
111
|
-
"
|
|
149
|
+
"anonymous": false,
|
|
112
150
|
"inputs": [
|
|
113
151
|
{
|
|
152
|
+
"indexed": true,
|
|
153
|
+
"internalType": "address",
|
|
154
|
+
"name": "owner",
|
|
155
|
+
"type": "address"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"indexed": true,
|
|
159
|
+
"internalType": "address",
|
|
114
160
|
"name": "spender",
|
|
115
161
|
"type": "address"
|
|
116
162
|
},
|
|
117
163
|
{
|
|
118
|
-
"
|
|
164
|
+
"indexed": false,
|
|
165
|
+
"internalType": "uint256",
|
|
166
|
+
"name": "value",
|
|
119
167
|
"type": "uint256"
|
|
120
168
|
}
|
|
121
169
|
],
|
|
122
|
-
"name": "
|
|
123
|
-
"
|
|
124
|
-
{
|
|
125
|
-
"name": "",
|
|
126
|
-
"type": "bool"
|
|
127
|
-
}
|
|
128
|
-
],
|
|
129
|
-
"payable": false,
|
|
130
|
-
"stateMutability": "nonpayable",
|
|
131
|
-
"type": "function"
|
|
170
|
+
"name": "Approval",
|
|
171
|
+
"type": "event"
|
|
132
172
|
},
|
|
133
173
|
{
|
|
134
|
-
"
|
|
174
|
+
"anonymous": false,
|
|
135
175
|
"inputs": [
|
|
136
176
|
{
|
|
137
|
-
"
|
|
177
|
+
"indexed": true,
|
|
178
|
+
"internalType": "address",
|
|
179
|
+
"name": "party",
|
|
138
180
|
"type": "address"
|
|
139
181
|
},
|
|
140
182
|
{
|
|
141
|
-
"
|
|
183
|
+
"indexed": false,
|
|
184
|
+
"internalType": "address",
|
|
185
|
+
"name": "token",
|
|
142
186
|
"type": "address"
|
|
143
|
-
}
|
|
144
|
-
],
|
|
145
|
-
"name": "issues",
|
|
146
|
-
"outputs": [
|
|
187
|
+
},
|
|
147
188
|
{
|
|
148
|
-
"
|
|
149
|
-
"
|
|
189
|
+
"indexed": false,
|
|
190
|
+
"internalType": "bytes32",
|
|
191
|
+
"name": "bondName",
|
|
192
|
+
"type": "bytes32"
|
|
150
193
|
},
|
|
151
194
|
{
|
|
152
|
-
"
|
|
195
|
+
"indexed": false,
|
|
196
|
+
"internalType": "uint256",
|
|
197
|
+
"name": "amount",
|
|
153
198
|
"type": "uint256"
|
|
154
199
|
},
|
|
155
200
|
{
|
|
156
|
-
"
|
|
201
|
+
"indexed": false,
|
|
202
|
+
"internalType": "bytes32",
|
|
203
|
+
"name": "currency",
|
|
157
204
|
"type": "bytes32"
|
|
158
205
|
},
|
|
159
206
|
{
|
|
160
|
-
"
|
|
207
|
+
"indexed": false,
|
|
208
|
+
"internalType": "uint256",
|
|
209
|
+
"name": "collateralAmount",
|
|
161
210
|
"type": "uint256"
|
|
162
211
|
},
|
|
163
212
|
{
|
|
164
|
-
"
|
|
213
|
+
"indexed": false,
|
|
214
|
+
"internalType": "uint256",
|
|
215
|
+
"name": "issueTime",
|
|
165
216
|
"type": "uint256"
|
|
166
217
|
}
|
|
167
218
|
],
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"type": "function"
|
|
219
|
+
"name": "BondIssued",
|
|
220
|
+
"type": "event"
|
|
171
221
|
},
|
|
172
222
|
{
|
|
173
|
-
"
|
|
223
|
+
"anonymous": false,
|
|
174
224
|
"inputs": [
|
|
175
225
|
{
|
|
176
|
-
"
|
|
226
|
+
"indexed": true,
|
|
227
|
+
"internalType": "address",
|
|
228
|
+
"name": "party",
|
|
177
229
|
"type": "address"
|
|
178
230
|
},
|
|
179
231
|
{
|
|
180
|
-
"
|
|
232
|
+
"indexed": false,
|
|
233
|
+
"internalType": "address",
|
|
234
|
+
"name": "token",
|
|
181
235
|
"type": "address"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"indexed": false,
|
|
239
|
+
"internalType": "uint256",
|
|
240
|
+
"name": "tokenAmount",
|
|
241
|
+
"type": "uint256"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"indexed": false,
|
|
245
|
+
"internalType": "bytes32",
|
|
246
|
+
"name": "tokenName",
|
|
247
|
+
"type": "bytes32"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"indexed": false,
|
|
251
|
+
"internalType": "uint256",
|
|
252
|
+
"name": "amount",
|
|
253
|
+
"type": "uint256"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"indexed": false,
|
|
257
|
+
"internalType": "bytes32",
|
|
258
|
+
"name": "currency",
|
|
259
|
+
"type": "bytes32"
|
|
182
260
|
}
|
|
183
261
|
],
|
|
184
|
-
"name": "
|
|
185
|
-
"
|
|
262
|
+
"name": "BondLiquidated",
|
|
263
|
+
"type": "event"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"anonymous": false,
|
|
267
|
+
"inputs": [
|
|
186
268
|
{
|
|
187
|
-
"
|
|
188
|
-
"
|
|
269
|
+
"indexed": true,
|
|
270
|
+
"internalType": "address",
|
|
271
|
+
"name": "party",
|
|
272
|
+
"type": "address"
|
|
189
273
|
},
|
|
190
274
|
{
|
|
191
|
-
"
|
|
275
|
+
"indexed": false,
|
|
276
|
+
"internalType": "address",
|
|
277
|
+
"name": "token",
|
|
278
|
+
"type": "address"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"indexed": false,
|
|
282
|
+
"internalType": "bytes32",
|
|
283
|
+
"name": "bondName",
|
|
284
|
+
"type": "bytes32"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"indexed": false,
|
|
288
|
+
"internalType": "uint256",
|
|
289
|
+
"name": "amount",
|
|
192
290
|
"type": "uint256"
|
|
193
291
|
},
|
|
194
292
|
{
|
|
195
|
-
"
|
|
293
|
+
"indexed": false,
|
|
294
|
+
"internalType": "bytes32",
|
|
295
|
+
"name": "currency",
|
|
196
296
|
"type": "bytes32"
|
|
197
297
|
},
|
|
198
298
|
{
|
|
199
|
-
"
|
|
299
|
+
"indexed": false,
|
|
300
|
+
"internalType": "uint256",
|
|
301
|
+
"name": "paidInAmount",
|
|
200
302
|
"type": "uint256"
|
|
201
303
|
},
|
|
202
304
|
{
|
|
203
|
-
"
|
|
305
|
+
"indexed": false,
|
|
306
|
+
"internalType": "uint256",
|
|
307
|
+
"name": "purchaseTime",
|
|
204
308
|
"type": "uint256"
|
|
205
309
|
}
|
|
206
310
|
],
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
"type": "function"
|
|
311
|
+
"name": "BondPurchased",
|
|
312
|
+
"type": "event"
|
|
210
313
|
},
|
|
211
314
|
{
|
|
212
|
-
"
|
|
315
|
+
"anonymous": false,
|
|
213
316
|
"inputs": [
|
|
214
317
|
{
|
|
215
|
-
"
|
|
318
|
+
"indexed": true,
|
|
319
|
+
"internalType": "address",
|
|
320
|
+
"name": "party",
|
|
216
321
|
"type": "address"
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"name": "balanceOf",
|
|
220
|
-
"outputs": [
|
|
322
|
+
},
|
|
221
323
|
{
|
|
222
|
-
"
|
|
324
|
+
"indexed": false,
|
|
325
|
+
"internalType": "address",
|
|
326
|
+
"name": "token",
|
|
327
|
+
"type": "address"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"indexed": false,
|
|
331
|
+
"internalType": "uint256",
|
|
332
|
+
"name": "tokenAmount",
|
|
223
333
|
"type": "uint256"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"indexed": false,
|
|
337
|
+
"internalType": "bytes32",
|
|
338
|
+
"name": "tokenName",
|
|
339
|
+
"type": "bytes32"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"indexed": false,
|
|
343
|
+
"internalType": "uint256",
|
|
344
|
+
"name": "amount",
|
|
345
|
+
"type": "uint256"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"indexed": false,
|
|
349
|
+
"internalType": "bytes32",
|
|
350
|
+
"name": "currency",
|
|
351
|
+
"type": "bytes32"
|
|
224
352
|
}
|
|
225
353
|
],
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"type": "function"
|
|
354
|
+
"name": "BondRedeemed",
|
|
355
|
+
"type": "event"
|
|
229
356
|
},
|
|
230
357
|
{
|
|
231
|
-
"
|
|
232
|
-
"inputs": [
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
358
|
+
"anonymous": false,
|
|
359
|
+
"inputs": [
|
|
360
|
+
{
|
|
361
|
+
"indexed": false,
|
|
362
|
+
"internalType": "uint64",
|
|
363
|
+
"name": "version",
|
|
364
|
+
"type": "uint64"
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
"name": "Initialized",
|
|
368
|
+
"type": "event"
|
|
238
369
|
},
|
|
239
370
|
{
|
|
240
|
-
"
|
|
241
|
-
"inputs": [
|
|
242
|
-
"name": "bondName",
|
|
243
|
-
"outputs": [
|
|
371
|
+
"anonymous": false,
|
|
372
|
+
"inputs": [
|
|
244
373
|
{
|
|
245
|
-
"
|
|
246
|
-
"
|
|
374
|
+
"indexed": true,
|
|
375
|
+
"internalType": "address",
|
|
376
|
+
"name": "previousOwner",
|
|
377
|
+
"type": "address"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"indexed": true,
|
|
381
|
+
"internalType": "address",
|
|
382
|
+
"name": "newOwner",
|
|
383
|
+
"type": "address"
|
|
247
384
|
}
|
|
248
385
|
],
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"type": "function"
|
|
386
|
+
"name": "OwnershipTransferred",
|
|
387
|
+
"type": "event"
|
|
252
388
|
},
|
|
253
389
|
{
|
|
254
|
-
"
|
|
255
|
-
"inputs": [
|
|
256
|
-
"name": "owner",
|
|
257
|
-
"outputs": [
|
|
390
|
+
"anonymous": false,
|
|
391
|
+
"inputs": [
|
|
258
392
|
{
|
|
259
|
-
"
|
|
393
|
+
"indexed": false,
|
|
394
|
+
"internalType": "address",
|
|
395
|
+
"name": "account",
|
|
260
396
|
"type": "address"
|
|
261
397
|
}
|
|
262
398
|
],
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"type": "function"
|
|
399
|
+
"name": "Paused",
|
|
400
|
+
"type": "event"
|
|
266
401
|
},
|
|
267
402
|
{
|
|
268
|
-
"
|
|
269
|
-
"inputs": [
|
|
270
|
-
"name": "isOwner",
|
|
271
|
-
"outputs": [
|
|
403
|
+
"anonymous": false,
|
|
404
|
+
"inputs": [
|
|
272
405
|
{
|
|
273
|
-
"
|
|
274
|
-
"
|
|
406
|
+
"indexed": true,
|
|
407
|
+
"internalType": "address",
|
|
408
|
+
"name": "from",
|
|
409
|
+
"type": "address"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"indexed": true,
|
|
413
|
+
"internalType": "address",
|
|
414
|
+
"name": "to",
|
|
415
|
+
"type": "address"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"indexed": false,
|
|
419
|
+
"internalType": "uint256",
|
|
420
|
+
"name": "value",
|
|
421
|
+
"type": "uint256"
|
|
275
422
|
}
|
|
276
423
|
],
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
"type": "function"
|
|
424
|
+
"name": "Transfer",
|
|
425
|
+
"type": "event"
|
|
280
426
|
},
|
|
281
427
|
{
|
|
282
|
-
"
|
|
283
|
-
"inputs": [
|
|
284
|
-
"name": "symbol",
|
|
285
|
-
"outputs": [
|
|
428
|
+
"anonymous": false,
|
|
429
|
+
"inputs": [
|
|
286
430
|
{
|
|
287
|
-
"
|
|
288
|
-
"
|
|
431
|
+
"indexed": false,
|
|
432
|
+
"internalType": "address",
|
|
433
|
+
"name": "account",
|
|
434
|
+
"type": "address"
|
|
289
435
|
}
|
|
290
436
|
],
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"type": "function"
|
|
437
|
+
"name": "Unpaused",
|
|
438
|
+
"type": "event"
|
|
294
439
|
},
|
|
295
440
|
{
|
|
296
|
-
"constant": false,
|
|
297
441
|
"inputs": [
|
|
298
442
|
{
|
|
299
|
-
"
|
|
443
|
+
"internalType": "address",
|
|
444
|
+
"name": "owner",
|
|
300
445
|
"type": "address"
|
|
301
446
|
},
|
|
302
447
|
{
|
|
303
|
-
"
|
|
304
|
-
"
|
|
448
|
+
"internalType": "address",
|
|
449
|
+
"name": "spender",
|
|
450
|
+
"type": "address"
|
|
305
451
|
}
|
|
306
452
|
],
|
|
307
|
-
"name": "
|
|
453
|
+
"name": "allowance",
|
|
308
454
|
"outputs": [
|
|
309
455
|
{
|
|
456
|
+
"internalType": "uint256",
|
|
310
457
|
"name": "",
|
|
311
|
-
"type": "
|
|
458
|
+
"type": "uint256"
|
|
312
459
|
}
|
|
313
460
|
],
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"
|
|
461
|
+
"stateMutability": "view",
|
|
462
|
+
"type": "function",
|
|
463
|
+
"constant": true
|
|
317
464
|
},
|
|
318
465
|
{
|
|
319
|
-
"constant": false,
|
|
320
466
|
"inputs": [
|
|
321
467
|
{
|
|
322
|
-
"
|
|
468
|
+
"internalType": "address",
|
|
469
|
+
"name": "spender",
|
|
323
470
|
"type": "address"
|
|
324
471
|
},
|
|
325
472
|
{
|
|
326
|
-
"
|
|
473
|
+
"internalType": "uint256",
|
|
474
|
+
"name": "value",
|
|
327
475
|
"type": "uint256"
|
|
328
476
|
}
|
|
329
477
|
],
|
|
330
|
-
"name": "
|
|
478
|
+
"name": "approve",
|
|
331
479
|
"outputs": [
|
|
332
480
|
{
|
|
481
|
+
"internalType": "bool",
|
|
333
482
|
"name": "",
|
|
334
483
|
"type": "bool"
|
|
335
484
|
}
|
|
336
485
|
],
|
|
337
|
-
"payable": false,
|
|
338
486
|
"stateMutability": "nonpayable",
|
|
339
487
|
"type": "function"
|
|
340
488
|
},
|
|
341
489
|
{
|
|
342
|
-
"
|
|
343
|
-
|
|
344
|
-
|
|
490
|
+
"inputs": [
|
|
491
|
+
{
|
|
492
|
+
"internalType": "address",
|
|
493
|
+
"name": "account",
|
|
494
|
+
"type": "address"
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"name": "balanceOf",
|
|
345
498
|
"outputs": [
|
|
346
499
|
{
|
|
500
|
+
"internalType": "uint256",
|
|
347
501
|
"name": "",
|
|
348
|
-
"type": "
|
|
502
|
+
"type": "uint256"
|
|
349
503
|
}
|
|
350
504
|
],
|
|
351
|
-
"payable": false,
|
|
352
505
|
"stateMutability": "view",
|
|
353
|
-
"type": "function"
|
|
506
|
+
"type": "function",
|
|
507
|
+
"constant": true
|
|
354
508
|
},
|
|
355
509
|
{
|
|
356
|
-
"
|
|
357
|
-
"
|
|
510
|
+
"inputs": [],
|
|
511
|
+
"name": "bondCurrency",
|
|
512
|
+
"outputs": [
|
|
358
513
|
{
|
|
514
|
+
"internalType": "bytes32",
|
|
359
515
|
"name": "",
|
|
360
|
-
"type": "
|
|
516
|
+
"type": "bytes32"
|
|
361
517
|
}
|
|
362
518
|
],
|
|
363
|
-
"
|
|
519
|
+
"stateMutability": "view",
|
|
520
|
+
"type": "function",
|
|
521
|
+
"constant": true
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"inputs": [],
|
|
525
|
+
"name": "bondName",
|
|
364
526
|
"outputs": [
|
|
365
527
|
{
|
|
528
|
+
"internalType": "bytes32",
|
|
366
529
|
"name": "",
|
|
367
|
-
"type": "
|
|
530
|
+
"type": "bytes32"
|
|
368
531
|
}
|
|
369
532
|
],
|
|
370
|
-
"payable": false,
|
|
371
533
|
"stateMutability": "view",
|
|
372
|
-
"type": "function"
|
|
534
|
+
"type": "function",
|
|
535
|
+
"constant": true
|
|
373
536
|
},
|
|
374
537
|
{
|
|
375
|
-
"constant": true,
|
|
376
538
|
"inputs": [
|
|
377
539
|
{
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
|
|
381
|
-
{
|
|
382
|
-
"name": "spender",
|
|
383
|
-
"type": "address"
|
|
540
|
+
"internalType": "uint256",
|
|
541
|
+
"name": "",
|
|
542
|
+
"type": "uint256"
|
|
384
543
|
}
|
|
385
544
|
],
|
|
386
|
-
"name": "
|
|
545
|
+
"name": "bondsIssued",
|
|
387
546
|
"outputs": [
|
|
388
547
|
{
|
|
548
|
+
"internalType": "address",
|
|
389
549
|
"name": "",
|
|
390
|
-
"type": "
|
|
550
|
+
"type": "address"
|
|
391
551
|
}
|
|
392
552
|
],
|
|
393
|
-
"payable": false,
|
|
394
553
|
"stateMutability": "view",
|
|
395
|
-
"type": "function"
|
|
554
|
+
"type": "function",
|
|
555
|
+
"constant": true
|
|
396
556
|
},
|
|
397
557
|
{
|
|
398
|
-
"
|
|
399
|
-
"
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
"
|
|
558
|
+
"inputs": [],
|
|
559
|
+
"name": "decimals",
|
|
560
|
+
"outputs": [
|
|
561
|
+
{
|
|
562
|
+
"internalType": "uint8",
|
|
563
|
+
"name": "",
|
|
564
|
+
"type": "uint8"
|
|
403
565
|
}
|
|
404
566
|
],
|
|
405
|
-
"
|
|
406
|
-
"
|
|
407
|
-
"
|
|
408
|
-
"stateMutability": "nonpayable",
|
|
409
|
-
"type": "function"
|
|
567
|
+
"stateMutability": "view",
|
|
568
|
+
"type": "function",
|
|
569
|
+
"constant": true
|
|
410
570
|
},
|
|
411
571
|
{
|
|
412
|
-
"anonymous": false,
|
|
413
572
|
"inputs": [
|
|
414
573
|
{
|
|
415
|
-
"
|
|
416
|
-
"name": "
|
|
574
|
+
"internalType": "address",
|
|
575
|
+
"name": "",
|
|
417
576
|
"type": "address"
|
|
418
577
|
},
|
|
419
578
|
{
|
|
420
|
-
"
|
|
421
|
-
"name": "
|
|
579
|
+
"internalType": "address",
|
|
580
|
+
"name": "",
|
|
422
581
|
"type": "address"
|
|
423
|
-
}
|
|
582
|
+
}
|
|
583
|
+
],
|
|
584
|
+
"name": "issues",
|
|
585
|
+
"outputs": [
|
|
424
586
|
{
|
|
425
|
-
"
|
|
426
|
-
"name": "
|
|
427
|
-
"type": "
|
|
587
|
+
"internalType": "uint256",
|
|
588
|
+
"name": "parValue",
|
|
589
|
+
"type": "uint256"
|
|
428
590
|
},
|
|
429
591
|
{
|
|
430
|
-
"
|
|
431
|
-
"name": "
|
|
592
|
+
"internalType": "uint256",
|
|
593
|
+
"name": "paidInAmount",
|
|
432
594
|
"type": "uint256"
|
|
433
595
|
},
|
|
434
596
|
{
|
|
435
|
-
"
|
|
436
|
-
"name": "
|
|
597
|
+
"internalType": "bytes32",
|
|
598
|
+
"name": "paidInCurrency",
|
|
437
599
|
"type": "bytes32"
|
|
438
600
|
},
|
|
439
601
|
{
|
|
440
|
-
"
|
|
441
|
-
"name": "
|
|
602
|
+
"internalType": "uint256",
|
|
603
|
+
"name": "timeIssuedOrSubscribed",
|
|
442
604
|
"type": "uint256"
|
|
443
605
|
},
|
|
444
606
|
{
|
|
445
|
-
"
|
|
446
|
-
"name": "
|
|
607
|
+
"internalType": "uint256",
|
|
608
|
+
"name": "purchasedIssueAmount",
|
|
447
609
|
"type": "uint256"
|
|
448
610
|
}
|
|
449
611
|
],
|
|
450
|
-
"
|
|
451
|
-
"type": "
|
|
612
|
+
"stateMutability": "view",
|
|
613
|
+
"type": "function",
|
|
614
|
+
"constant": true
|
|
452
615
|
},
|
|
453
616
|
{
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
|
|
457
|
-
"indexed": true,
|
|
458
|
-
"name": "party",
|
|
459
|
-
"type": "address"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"indexed": false,
|
|
463
|
-
"name": "token",
|
|
464
|
-
"type": "address"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"indexed": false,
|
|
468
|
-
"name": "tokenAmount",
|
|
469
|
-
"type": "uint256"
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"indexed": false,
|
|
473
|
-
"name": "tokenName",
|
|
474
|
-
"type": "bytes32"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"indexed": false,
|
|
478
|
-
"name": "amount",
|
|
479
|
-
"type": "uint256"
|
|
480
|
-
},
|
|
617
|
+
"inputs": [],
|
|
618
|
+
"name": "name",
|
|
619
|
+
"outputs": [
|
|
481
620
|
{
|
|
482
|
-
"
|
|
483
|
-
"name": "
|
|
484
|
-
"type": "
|
|
621
|
+
"internalType": "string",
|
|
622
|
+
"name": "",
|
|
623
|
+
"type": "string"
|
|
485
624
|
}
|
|
486
625
|
],
|
|
487
|
-
"
|
|
488
|
-
"type": "
|
|
626
|
+
"stateMutability": "view",
|
|
627
|
+
"type": "function",
|
|
628
|
+
"constant": true
|
|
489
629
|
},
|
|
490
630
|
{
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
|
|
494
|
-
"indexed": true,
|
|
495
|
-
"name": "party",
|
|
496
|
-
"type": "address"
|
|
497
|
-
},
|
|
631
|
+
"inputs": [],
|
|
632
|
+
"name": "owner",
|
|
633
|
+
"outputs": [
|
|
498
634
|
{
|
|
499
|
-
"
|
|
500
|
-
"name": "
|
|
635
|
+
"internalType": "address",
|
|
636
|
+
"name": "",
|
|
501
637
|
"type": "address"
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
"indexed": false,
|
|
515
|
-
"name": "currency",
|
|
516
|
-
"type": "bytes32"
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"indexed": false,
|
|
520
|
-
"name": "paidInAmount",
|
|
521
|
-
"type": "uint256"
|
|
522
|
-
},
|
|
638
|
+
}
|
|
639
|
+
],
|
|
640
|
+
"stateMutability": "view",
|
|
641
|
+
"type": "function",
|
|
642
|
+
"constant": true
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"inputs": [],
|
|
646
|
+
"name": "paused",
|
|
647
|
+
"outputs": [
|
|
523
648
|
{
|
|
524
|
-
"
|
|
525
|
-
"name": "
|
|
526
|
-
"type": "
|
|
649
|
+
"internalType": "bool",
|
|
650
|
+
"name": "",
|
|
651
|
+
"type": "bool"
|
|
527
652
|
}
|
|
528
653
|
],
|
|
529
|
-
"
|
|
530
|
-
"type": "
|
|
654
|
+
"stateMutability": "view",
|
|
655
|
+
"type": "function",
|
|
656
|
+
"constant": true
|
|
531
657
|
},
|
|
532
658
|
{
|
|
533
|
-
"anonymous": false,
|
|
534
659
|
"inputs": [
|
|
535
660
|
{
|
|
536
|
-
"
|
|
537
|
-
"name": "
|
|
661
|
+
"internalType": "address",
|
|
662
|
+
"name": "",
|
|
538
663
|
"type": "address"
|
|
539
664
|
},
|
|
540
665
|
{
|
|
541
|
-
"
|
|
542
|
-
"name": "
|
|
666
|
+
"internalType": "address",
|
|
667
|
+
"name": "",
|
|
543
668
|
"type": "address"
|
|
669
|
+
}
|
|
670
|
+
],
|
|
671
|
+
"name": "purchases",
|
|
672
|
+
"outputs": [
|
|
673
|
+
{
|
|
674
|
+
"internalType": "uint256",
|
|
675
|
+
"name": "parValue",
|
|
676
|
+
"type": "uint256"
|
|
544
677
|
},
|
|
545
678
|
{
|
|
546
|
-
"
|
|
547
|
-
"name": "
|
|
679
|
+
"internalType": "uint256",
|
|
680
|
+
"name": "paidInAmount",
|
|
548
681
|
"type": "uint256"
|
|
549
682
|
},
|
|
550
683
|
{
|
|
551
|
-
"
|
|
552
|
-
"name": "
|
|
684
|
+
"internalType": "bytes32",
|
|
685
|
+
"name": "paidInCurrency",
|
|
553
686
|
"type": "bytes32"
|
|
554
687
|
},
|
|
555
688
|
{
|
|
556
|
-
"
|
|
557
|
-
"name": "
|
|
689
|
+
"internalType": "uint256",
|
|
690
|
+
"name": "timeIssuedOrSubscribed",
|
|
558
691
|
"type": "uint256"
|
|
559
692
|
},
|
|
560
693
|
{
|
|
561
|
-
"
|
|
562
|
-
"name": "
|
|
563
|
-
"type": "
|
|
694
|
+
"internalType": "uint256",
|
|
695
|
+
"name": "purchasedIssueAmount",
|
|
696
|
+
"type": "uint256"
|
|
564
697
|
}
|
|
565
698
|
],
|
|
566
|
-
"
|
|
567
|
-
"type": "
|
|
699
|
+
"stateMutability": "view",
|
|
700
|
+
"type": "function",
|
|
701
|
+
"constant": true
|
|
568
702
|
},
|
|
569
703
|
{
|
|
570
|
-
"anonymous": false,
|
|
571
704
|
"inputs": [],
|
|
572
|
-
"name": "
|
|
573
|
-
"
|
|
705
|
+
"name": "renounceOwnership",
|
|
706
|
+
"outputs": [],
|
|
707
|
+
"stateMutability": "nonpayable",
|
|
708
|
+
"type": "function"
|
|
574
709
|
},
|
|
575
710
|
{
|
|
576
|
-
"anonymous": false,
|
|
577
711
|
"inputs": [],
|
|
578
|
-
"name": "
|
|
579
|
-
"
|
|
712
|
+
"name": "symbol",
|
|
713
|
+
"outputs": [
|
|
714
|
+
{
|
|
715
|
+
"internalType": "string",
|
|
716
|
+
"name": "",
|
|
717
|
+
"type": "string"
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"stateMutability": "view",
|
|
721
|
+
"type": "function",
|
|
722
|
+
"constant": true
|
|
580
723
|
},
|
|
581
724
|
{
|
|
582
|
-
"
|
|
583
|
-
"
|
|
584
|
-
|
|
585
|
-
"indexed": true,
|
|
586
|
-
"name": "previousOwner",
|
|
587
|
-
"type": "address"
|
|
588
|
-
},
|
|
725
|
+
"inputs": [],
|
|
726
|
+
"name": "totalSupply",
|
|
727
|
+
"outputs": [
|
|
589
728
|
{
|
|
590
|
-
"
|
|
591
|
-
"name": "
|
|
592
|
-
"type": "
|
|
729
|
+
"internalType": "uint256",
|
|
730
|
+
"name": "",
|
|
731
|
+
"type": "uint256"
|
|
593
732
|
}
|
|
594
733
|
],
|
|
595
|
-
"
|
|
596
|
-
"type": "
|
|
734
|
+
"stateMutability": "view",
|
|
735
|
+
"type": "function",
|
|
736
|
+
"constant": true
|
|
597
737
|
},
|
|
598
738
|
{
|
|
599
|
-
"anonymous": false,
|
|
600
739
|
"inputs": [
|
|
601
740
|
{
|
|
602
|
-
"
|
|
603
|
-
"name": "from",
|
|
604
|
-
"type": "address"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"indexed": true,
|
|
741
|
+
"internalType": "address",
|
|
608
742
|
"name": "to",
|
|
609
743
|
"type": "address"
|
|
610
744
|
},
|
|
611
745
|
{
|
|
612
|
-
"
|
|
746
|
+
"internalType": "uint256",
|
|
613
747
|
"name": "value",
|
|
614
748
|
"type": "uint256"
|
|
615
749
|
}
|
|
616
750
|
],
|
|
617
|
-
"name": "
|
|
618
|
-
"
|
|
751
|
+
"name": "transfer",
|
|
752
|
+
"outputs": [
|
|
753
|
+
{
|
|
754
|
+
"internalType": "bool",
|
|
755
|
+
"name": "",
|
|
756
|
+
"type": "bool"
|
|
757
|
+
}
|
|
758
|
+
],
|
|
759
|
+
"stateMutability": "nonpayable",
|
|
760
|
+
"type": "function"
|
|
619
761
|
},
|
|
620
762
|
{
|
|
621
|
-
"anonymous": false,
|
|
622
763
|
"inputs": [
|
|
623
764
|
{
|
|
624
|
-
"
|
|
625
|
-
"name": "
|
|
765
|
+
"internalType": "address",
|
|
766
|
+
"name": "from",
|
|
626
767
|
"type": "address"
|
|
627
768
|
},
|
|
628
769
|
{
|
|
629
|
-
"
|
|
630
|
-
"name": "
|
|
770
|
+
"internalType": "address",
|
|
771
|
+
"name": "to",
|
|
631
772
|
"type": "address"
|
|
632
773
|
},
|
|
633
774
|
{
|
|
634
|
-
"
|
|
775
|
+
"internalType": "uint256",
|
|
635
776
|
"name": "value",
|
|
636
777
|
"type": "uint256"
|
|
637
778
|
}
|
|
638
779
|
],
|
|
639
|
-
"name": "
|
|
640
|
-
"
|
|
780
|
+
"name": "transferFrom",
|
|
781
|
+
"outputs": [
|
|
782
|
+
{
|
|
783
|
+
"internalType": "bool",
|
|
784
|
+
"name": "",
|
|
785
|
+
"type": "bool"
|
|
786
|
+
}
|
|
787
|
+
],
|
|
788
|
+
"stateMutability": "nonpayable",
|
|
789
|
+
"type": "function"
|
|
641
790
|
},
|
|
642
791
|
{
|
|
643
|
-
"
|
|
644
|
-
|
|
645
|
-
|
|
792
|
+
"inputs": [
|
|
793
|
+
{
|
|
794
|
+
"internalType": "address",
|
|
795
|
+
"name": "newOwner",
|
|
796
|
+
"type": "address"
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"name": "transferOwnership",
|
|
646
800
|
"outputs": [],
|
|
647
|
-
"payable": false,
|
|
648
801
|
"stateMutability": "nonpayable",
|
|
649
802
|
"type": "function"
|
|
650
803
|
},
|
|
651
804
|
{
|
|
652
|
-
"constant": false,
|
|
653
805
|
"inputs": [
|
|
654
806
|
{
|
|
807
|
+
"internalType": "bytes32",
|
|
655
808
|
"name": "_name",
|
|
656
809
|
"type": "bytes32"
|
|
657
810
|
},
|
|
658
811
|
{
|
|
812
|
+
"internalType": "bytes32",
|
|
659
813
|
"name": "_currency",
|
|
660
814
|
"type": "bytes32"
|
|
661
815
|
},
|
|
662
816
|
{
|
|
817
|
+
"internalType": "address",
|
|
663
818
|
"name": "_owner",
|
|
664
819
|
"type": "address"
|
|
665
820
|
},
|
|
666
821
|
{
|
|
822
|
+
"internalType": "address",
|
|
667
823
|
"name": "_oracle",
|
|
668
824
|
"type": "address"
|
|
669
825
|
},
|
|
670
826
|
{
|
|
827
|
+
"internalType": "address",
|
|
671
828
|
"name": "_token",
|
|
672
829
|
"type": "address"
|
|
673
830
|
},
|
|
674
831
|
{
|
|
832
|
+
"internalType": "address",
|
|
675
833
|
"name": "_fee",
|
|
676
834
|
"type": "address"
|
|
677
835
|
}
|
|
678
836
|
],
|
|
679
837
|
"name": "initialize",
|
|
680
838
|
"outputs": [],
|
|
681
|
-
"payable": false,
|
|
682
|
-
"stateMutability": "nonpayable",
|
|
683
|
-
"type": "function"
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
"constant": false,
|
|
687
|
-
"inputs": [
|
|
688
|
-
{
|
|
689
|
-
"name": "sender",
|
|
690
|
-
"type": "address"
|
|
691
|
-
}
|
|
692
|
-
],
|
|
693
|
-
"name": "initialize",
|
|
694
|
-
"outputs": [],
|
|
695
|
-
"payable": false,
|
|
696
839
|
"stateMutability": "nonpayable",
|
|
697
840
|
"type": "function"
|
|
698
841
|
},
|
|
699
842
|
{
|
|
700
|
-
"constant": false,
|
|
701
843
|
"inputs": [
|
|
702
844
|
{
|
|
845
|
+
"internalType": "uint256",
|
|
703
846
|
"name": "amount",
|
|
704
847
|
"type": "uint256"
|
|
705
848
|
},
|
|
706
849
|
{
|
|
850
|
+
"internalType": "address",
|
|
707
851
|
"name": "payer",
|
|
708
852
|
"type": "address"
|
|
709
853
|
},
|
|
710
854
|
{
|
|
855
|
+
"internalType": "address",
|
|
711
856
|
"name": "payee",
|
|
712
857
|
"type": "address"
|
|
713
858
|
},
|
|
714
859
|
{
|
|
860
|
+
"internalType": "bytes32",
|
|
715
861
|
"name": "currency",
|
|
716
862
|
"type": "bytes32"
|
|
717
863
|
},
|
|
718
864
|
{
|
|
865
|
+
"internalType": "address",
|
|
719
866
|
"name": "cashContract",
|
|
720
867
|
"type": "address"
|
|
721
868
|
}
|
|
@@ -723,30 +870,33 @@
|
|
|
723
870
|
"name": "requestIssue",
|
|
724
871
|
"outputs": [
|
|
725
872
|
{
|
|
873
|
+
"internalType": "bool",
|
|
726
874
|
"name": "",
|
|
727
875
|
"type": "bool"
|
|
728
876
|
}
|
|
729
877
|
],
|
|
730
|
-
"payable": false,
|
|
731
878
|
"stateMutability": "nonpayable",
|
|
732
879
|
"type": "function"
|
|
733
880
|
},
|
|
734
881
|
{
|
|
735
|
-
"constant": false,
|
|
736
882
|
"inputs": [
|
|
737
883
|
{
|
|
884
|
+
"internalType": "uint256",
|
|
738
885
|
"name": "amount",
|
|
739
886
|
"type": "uint256"
|
|
740
887
|
},
|
|
741
888
|
{
|
|
889
|
+
"internalType": "address",
|
|
742
890
|
"name": "payer",
|
|
743
891
|
"type": "address"
|
|
744
892
|
},
|
|
745
893
|
{
|
|
894
|
+
"internalType": "bytes32",
|
|
746
895
|
"name": "currency",
|
|
747
896
|
"type": "bytes32"
|
|
748
897
|
},
|
|
749
898
|
{
|
|
899
|
+
"internalType": "address",
|
|
750
900
|
"name": "cashContract",
|
|
751
901
|
"type": "address"
|
|
752
902
|
}
|
|
@@ -754,30 +904,33 @@
|
|
|
754
904
|
"name": "requestPurchase",
|
|
755
905
|
"outputs": [
|
|
756
906
|
{
|
|
907
|
+
"internalType": "bool",
|
|
757
908
|
"name": "",
|
|
758
909
|
"type": "bool"
|
|
759
910
|
}
|
|
760
911
|
],
|
|
761
|
-
"payable": false,
|
|
762
912
|
"stateMutability": "nonpayable",
|
|
763
913
|
"type": "function"
|
|
764
914
|
},
|
|
765
915
|
{
|
|
766
|
-
"constant": false,
|
|
767
916
|
"inputs": [
|
|
768
917
|
{
|
|
918
|
+
"internalType": "uint256",
|
|
769
919
|
"name": "amount",
|
|
770
920
|
"type": "uint256"
|
|
771
921
|
},
|
|
772
922
|
{
|
|
923
|
+
"internalType": "address",
|
|
773
924
|
"name": "payer",
|
|
774
925
|
"type": "address"
|
|
775
926
|
},
|
|
776
927
|
{
|
|
928
|
+
"internalType": "bytes32",
|
|
777
929
|
"name": "currency",
|
|
778
930
|
"type": "bytes32"
|
|
779
931
|
},
|
|
780
932
|
{
|
|
933
|
+
"internalType": "address",
|
|
781
934
|
"name": "tokenContract",
|
|
782
935
|
"type": "address"
|
|
783
936
|
}
|
|
@@ -785,30 +938,33 @@
|
|
|
785
938
|
"name": "requestRedemption",
|
|
786
939
|
"outputs": [
|
|
787
940
|
{
|
|
941
|
+
"internalType": "bool",
|
|
788
942
|
"name": "",
|
|
789
943
|
"type": "bool"
|
|
790
944
|
}
|
|
791
945
|
],
|
|
792
|
-
"payable": false,
|
|
793
946
|
"stateMutability": "nonpayable",
|
|
794
947
|
"type": "function"
|
|
795
948
|
},
|
|
796
949
|
{
|
|
797
|
-
"constant": false,
|
|
798
950
|
"inputs": [
|
|
799
951
|
{
|
|
952
|
+
"internalType": "address",
|
|
800
953
|
"name": "sender",
|
|
801
954
|
"type": "address"
|
|
802
955
|
},
|
|
803
956
|
{
|
|
957
|
+
"internalType": "address",
|
|
804
958
|
"name": "receiver",
|
|
805
959
|
"type": "address"
|
|
806
960
|
},
|
|
807
961
|
{
|
|
962
|
+
"internalType": "uint256",
|
|
808
963
|
"name": "tokens",
|
|
809
964
|
"type": "uint256"
|
|
810
965
|
},
|
|
811
966
|
{
|
|
967
|
+
"internalType": "address",
|
|
812
968
|
"name": "forwarder",
|
|
813
969
|
"type": "address"
|
|
814
970
|
}
|
|
@@ -816,36 +972,37 @@
|
|
|
816
972
|
"name": "transferForward",
|
|
817
973
|
"outputs": [
|
|
818
974
|
{
|
|
975
|
+
"internalType": "bool",
|
|
819
976
|
"name": "",
|
|
820
977
|
"type": "bool"
|
|
821
978
|
}
|
|
822
979
|
],
|
|
823
|
-
"payable": false,
|
|
824
980
|
"stateMutability": "nonpayable",
|
|
825
981
|
"type": "function"
|
|
826
982
|
},
|
|
827
983
|
{
|
|
828
|
-
"constant": true,
|
|
829
984
|
"inputs": [],
|
|
830
985
|
"name": "getBonds",
|
|
831
986
|
"outputs": [
|
|
832
987
|
{
|
|
988
|
+
"internalType": "address[]",
|
|
833
989
|
"name": "",
|
|
834
990
|
"type": "address[]"
|
|
835
991
|
}
|
|
836
992
|
],
|
|
837
|
-
"payable": false,
|
|
838
993
|
"stateMutability": "view",
|
|
839
|
-
"type": "function"
|
|
994
|
+
"type": "function",
|
|
995
|
+
"constant": true
|
|
840
996
|
},
|
|
841
997
|
{
|
|
842
|
-
"constant": true,
|
|
843
998
|
"inputs": [
|
|
844
999
|
{
|
|
1000
|
+
"internalType": "address",
|
|
845
1001
|
"name": "issuer",
|
|
846
1002
|
"type": "address"
|
|
847
1003
|
},
|
|
848
1004
|
{
|
|
1005
|
+
"internalType": "address",
|
|
849
1006
|
"name": "bondToken",
|
|
850
1007
|
"type": "address"
|
|
851
1008
|
}
|
|
@@ -853,38 +1010,44 @@
|
|
|
853
1010
|
"name": "getBondIssues",
|
|
854
1011
|
"outputs": [
|
|
855
1012
|
{
|
|
1013
|
+
"internalType": "uint256",
|
|
856
1014
|
"name": "",
|
|
857
1015
|
"type": "uint256"
|
|
858
1016
|
},
|
|
859
1017
|
{
|
|
1018
|
+
"internalType": "uint256",
|
|
860
1019
|
"name": "",
|
|
861
1020
|
"type": "uint256"
|
|
862
1021
|
},
|
|
863
1022
|
{
|
|
1023
|
+
"internalType": "uint256",
|
|
864
1024
|
"name": "",
|
|
865
1025
|
"type": "uint256"
|
|
866
1026
|
},
|
|
867
1027
|
{
|
|
1028
|
+
"internalType": "bytes32",
|
|
868
1029
|
"name": "",
|
|
869
1030
|
"type": "bytes32"
|
|
870
1031
|
},
|
|
871
1032
|
{
|
|
1033
|
+
"internalType": "uint256",
|
|
872
1034
|
"name": "",
|
|
873
1035
|
"type": "uint256"
|
|
874
1036
|
}
|
|
875
1037
|
],
|
|
876
|
-
"payable": false,
|
|
877
1038
|
"stateMutability": "view",
|
|
878
|
-
"type": "function"
|
|
1039
|
+
"type": "function",
|
|
1040
|
+
"constant": true
|
|
879
1041
|
},
|
|
880
1042
|
{
|
|
881
|
-
"constant": true,
|
|
882
1043
|
"inputs": [
|
|
883
1044
|
{
|
|
1045
|
+
"internalType": "address",
|
|
884
1046
|
"name": "purchaser",
|
|
885
1047
|
"type": "address"
|
|
886
1048
|
},
|
|
887
1049
|
{
|
|
1050
|
+
"internalType": "address",
|
|
888
1051
|
"name": "bondToken",
|
|
889
1052
|
"type": "address"
|
|
890
1053
|
}
|
|
@@ -892,41 +1055,41 @@
|
|
|
892
1055
|
"name": "getBondPurchases",
|
|
893
1056
|
"outputs": [
|
|
894
1057
|
{
|
|
1058
|
+
"internalType": "uint256",
|
|
895
1059
|
"name": "",
|
|
896
1060
|
"type": "uint256"
|
|
897
1061
|
},
|
|
898
1062
|
{
|
|
1063
|
+
"internalType": "uint256",
|
|
899
1064
|
"name": "",
|
|
900
1065
|
"type": "uint256"
|
|
901
1066
|
},
|
|
902
1067
|
{
|
|
1068
|
+
"internalType": "bytes32",
|
|
903
1069
|
"name": "",
|
|
904
1070
|
"type": "bytes32"
|
|
905
1071
|
},
|
|
906
1072
|
{
|
|
1073
|
+
"internalType": "uint256",
|
|
907
1074
|
"name": "",
|
|
908
1075
|
"type": "uint256"
|
|
909
1076
|
}
|
|
910
1077
|
],
|
|
911
|
-
"payable": false,
|
|
912
1078
|
"stateMutability": "view",
|
|
913
|
-
"type": "function"
|
|
1079
|
+
"type": "function",
|
|
1080
|
+
"constant": true
|
|
914
1081
|
},
|
|
915
1082
|
{
|
|
916
|
-
"constant": false,
|
|
917
1083
|
"inputs": [],
|
|
918
1084
|
"name": "pause",
|
|
919
1085
|
"outputs": [],
|
|
920
|
-
"payable": false,
|
|
921
1086
|
"stateMutability": "nonpayable",
|
|
922
1087
|
"type": "function"
|
|
923
1088
|
},
|
|
924
1089
|
{
|
|
925
|
-
"constant": false,
|
|
926
1090
|
"inputs": [],
|
|
927
1091
|
"name": "unpause",
|
|
928
1092
|
"outputs": [],
|
|
929
|
-
"payable": false,
|
|
930
1093
|
"stateMutability": "nonpayable",
|
|
931
1094
|
"type": "function"
|
|
932
1095
|
}
|