@wireio/stake 0.4.2 → 0.5.0

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.
Files changed (133) hide show
  1. package/lib/stake.browser.js +18509 -11887
  2. package/lib/stake.browser.js.map +1 -1
  3. package/lib/stake.d.ts +899 -140
  4. package/lib/stake.js +18524 -11890
  5. package/lib/stake.js.map +1 -1
  6. package/lib/stake.m.js +18509 -11887
  7. package/lib/stake.m.js.map +1 -1
  8. package/package.json +2 -2
  9. package/src/assets/ethereum/ABI/common/Base58.sol/Base58.dbg.json +4 -0
  10. package/src/assets/ethereum/ABI/common/Base58.sol/Base58.json +164 -0
  11. package/src/assets/ethereum/ABI/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +4 -0
  12. package/src/assets/ethereum/ABI/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.json +76 -0
  13. package/src/assets/ethereum/ABI/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +4 -0
  14. package/src/assets/ethereum/ABI/common/RestrictedCallers.sol/RestrictedCallers.json +10 -0
  15. package/src/assets/ethereum/ABI/common/iodata.sol/iodata.dbg.json +4 -0
  16. package/src/assets/ethereum/ABI/common/iodata.sol/iodata.json +618 -0
  17. package/src/assets/ethereum/ABI/common/iodata_util.sol/iodata_util.dbg.json +4 -0
  18. package/src/assets/ethereum/ABI/common/iodata_util.sol/iodata_util.json +40 -0
  19. package/src/assets/ethereum/ABI/common/sysio_data.sol/sysio_data.dbg.json +4 -0
  20. package/src/assets/ethereum/ABI/common/sysio_data.sol/sysio_data.json +10 -0
  21. package/src/assets/ethereum/ABI/common/sysio_errors.sol/sysio_errors.dbg.json +4 -0
  22. package/src/assets/ethereum/ABI/common/sysio_errors.sol/sysio_errors.json +10 -0
  23. package/src/assets/ethereum/ABI/common/sysio_merkle.sol/sysio_merkle.dbg.json +4 -0
  24. package/src/assets/ethereum/ABI/common/sysio_merkle.sol/sysio_merkle.json +233 -0
  25. package/src/assets/ethereum/ABI/common/sysio_name.sol/sysio_name.dbg.json +4 -0
  26. package/src/assets/ethereum/ABI/common/sysio_name.sol/sysio_name.json +49 -0
  27. package/src/assets/ethereum/ABI/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +4 -0
  28. package/src/assets/ethereum/ABI/common/sysio_pubkey.sol/sysio_pubkey.json +64 -0
  29. package/src/assets/ethereum/ABI/common/sysio_read.sol/sysio_read.dbg.json +4 -0
  30. package/src/assets/ethereum/ABI/common/sysio_read.sol/sysio_read.json +1458 -0
  31. package/src/assets/ethereum/ABI/common/sysio_tester.sol/SysioTester.dbg.json +4 -0
  32. package/src/assets/ethereum/ABI/common/sysio_tester.sol/SysioTester.json +1532 -0
  33. package/src/assets/ethereum/ABI/common/sysio_verify.sol/sysio_verify.dbg.json +4 -0
  34. package/src/assets/ethereum/ABI/common/sysio_verify.sol/sysio_verify.json +1525 -0
  35. package/src/assets/ethereum/ABI/common/sysio_write.sol/sysio_write.dbg.json +4 -0
  36. package/src/assets/ethereum/ABI/common/sysio_write.sol/sysio_write.json +1076 -0
  37. package/src/assets/ethereum/ABI/liqEth/BeaconState.sol/BeaconState.dbg.json +1 -1
  38. package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.dbg.json +1 -1
  39. package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.json +28 -2
  40. package/src/assets/ethereum/ABI/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +1 -1
  41. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +1 -1
  42. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +1 -1
  43. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +1 -1
  44. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +1 -1
  45. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +1 -1
  46. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +1 -1
  47. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +1 -1
  48. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +1 -1
  49. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +1 -1
  50. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +1 -1
  51. package/src/assets/ethereum/ABI/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +1 -1
  52. package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +1 -1
  53. package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +1 -1
  54. package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.dbg.json +1 -1
  55. package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.json +2 -2
  56. package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.dbg.json +1 -1
  57. package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.json +2 -15
  58. package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.dbg.json +1 -1
  59. package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.dbg.json +1 -1
  60. package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.json +6 -25
  61. package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +1 -1
  62. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +1 -1
  63. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.json +2 -2
  64. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +1 -1
  65. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.json +6 -25
  66. package/src/assets/ethereum/ABI/outpost/BAR.sol/BAR.dbg.json +1 -1
  67. package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.dbg.json +1 -1
  68. package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.json +26 -26
  69. package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +1 -1
  70. package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +1 -1
  71. package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.dbg.json +1 -1
  72. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPP.dbg.json +1 -1
  73. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +1 -1
  74. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPInbound.dbg.json +1 -1
  75. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +1 -1
  76. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPSender.dbg.json +1 -1
  77. package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/OPPCommon.dbg.json +1 -1
  78. package/src/assets/ethereum/ABI/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +1 -1
  79. package/src/assets/ethereum/ABI/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +1 -1
  80. package/src/assets/ethereum/ABI/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +1 -1
  81. package/src/assets/ethereum/ABI/outpost/OPPErrors.sol/OPPErrors.dbg.json +1 -1
  82. package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.dbg.json +1 -1
  83. package/src/assets/ethereum/ABI/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +1 -1
  84. package/src/assets/ethereum/ABI/outpost/OPPSender.sol/OPPSender.dbg.json +1 -1
  85. package/src/assets/ethereum/ABI/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +1 -1
  86. package/src/assets/ethereum/ABI/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +1 -1
  87. package/src/assets/ethereum/ABI/outpost/OutpostManager.sol/OutpostManager.dbg.json +1 -1
  88. package/src/assets/ethereum/ABI/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +1 -1
  89. package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +1 -1
  90. package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +1 -1
  91. package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +1 -1
  92. package/src/assets/ethereum/ABI/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +1 -1
  93. package/src/assets/ethereum/ABI/outpost/Pool.sol/Pool.dbg.json +1 -1
  94. package/src/assets/ethereum/ABI/outpost/Pool.sol/Pool.json +2 -2
  95. package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.dbg.json +1 -1
  96. package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.json +9 -9
  97. package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +1 -1
  98. package/src/assets/ethereum/ABI/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +1 -1
  99. package/src/assets/ethereum/ABI/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +1 -1
  100. package/src/assets/ethereum/ABI/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +1 -1
  101. package/src/assets/ethereum/ABI/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +1 -1
  102. package/src/assets/solana/idl/liqsol_core.json +760 -150
  103. package/src/assets/solana/idl/liqsol_token.json +1 -1
  104. package/src/assets/solana/idl/transfer_hook.json +6 -1
  105. package/src/assets/solana/idl/validator_leaderboard.json +4 -1
  106. package/src/assets/solana/types/liqsol_core.ts +760 -150
  107. package/src/assets/solana/types/liqsol_token.ts +1 -1
  108. package/src/assets/solana/types/transfer_hook.ts +6 -1
  109. package/src/assets/solana/types/validator_leaderboard.ts +4 -1
  110. package/src/networks/ethereum/clients/convert.client.ts +2 -2
  111. package/src/networks/ethereum/clients/pretoken.client.ts +6 -4
  112. package/src/networks/ethereum/clients/stake.client.ts +2 -2
  113. package/src/networks/ethereum/contract.ts +102 -49
  114. package/src/networks/ethereum/ethereum.ts +117 -58
  115. package/src/networks/ethereum/types.ts +26 -17
  116. package/src/networks/ethereum/utils.ts +8 -8
  117. package/src/networks/solana/clients/deposit.client.ts +5 -4
  118. package/src/networks/solana/clients/distribution.client.ts +36 -1
  119. package/src/networks/solana/constants.ts +14 -0
  120. package/src/networks/solana/solana.ts +148 -17
  121. package/src/networks/solana/types.ts +129 -0
  122. package/src/types.ts +21 -11
  123. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.dbg.json +0 -4
  124. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.json +0 -10
  125. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.dbg.json +0 -4
  126. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.json +0 -10
  127. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.dbg.json +0 -4
  128. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.json +0 -10
  129. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.dbg.json +0 -4
  130. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.json +0 -10
  131. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.dbg.json +0 -4
  132. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.json +0 -291
  133. package/src/assets/ethereum/ABI/outpost/Aggregator.sol/Aggregator.json +0 -82
@@ -0,0 +1,1076 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "sysio_write",
4
+ "sourceName": "contracts/common/sysio_write.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "components": [
10
+ {
11
+ "internalType": "bytes",
12
+ "name": "data",
13
+ "type": "bytes"
14
+ }
15
+ ],
16
+ "internalType": "struct iodata.Buffer",
17
+ "name": "buf",
18
+ "type": "tuple"
19
+ },
20
+ {
21
+ "internalType": "address",
22
+ "name": "addr",
23
+ "type": "address"
24
+ }
25
+ ],
26
+ "name": "writeAddress",
27
+ "outputs": [
28
+ {
29
+ "components": [
30
+ {
31
+ "internalType": "bytes",
32
+ "name": "data",
33
+ "type": "bytes"
34
+ }
35
+ ],
36
+ "internalType": "struct iodata.Buffer",
37
+ "name": "",
38
+ "type": "tuple"
39
+ }
40
+ ],
41
+ "stateMutability": "pure",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "components": [
48
+ {
49
+ "internalType": "bytes",
50
+ "name": "data",
51
+ "type": "bytes"
52
+ }
53
+ ],
54
+ "internalType": "struct iodata.Buffer",
55
+ "name": "buf",
56
+ "type": "tuple"
57
+ },
58
+ {
59
+ "components": [
60
+ {
61
+ "internalType": "uint32",
62
+ "name": "length",
63
+ "type": "uint32"
64
+ },
65
+ {
66
+ "internalType": "uint32",
67
+ "name": "offset",
68
+ "type": "uint32"
69
+ },
70
+ {
71
+ "components": [
72
+ {
73
+ "internalType": "bytes",
74
+ "name": "data",
75
+ "type": "bytes"
76
+ }
77
+ ],
78
+ "internalType": "struct iodata.Buffer",
79
+ "name": "data",
80
+ "type": "tuple"
81
+ }
82
+ ],
83
+ "internalType": "struct DataRef",
84
+ "name": "data",
85
+ "type": "tuple"
86
+ }
87
+ ],
88
+ "name": "writeDataRef",
89
+ "outputs": [
90
+ {
91
+ "components": [
92
+ {
93
+ "internalType": "bytes",
94
+ "name": "data",
95
+ "type": "bytes"
96
+ }
97
+ ],
98
+ "internalType": "struct iodata.Buffer",
99
+ "name": "",
100
+ "type": "tuple"
101
+ }
102
+ ],
103
+ "stateMutability": "pure",
104
+ "type": "function"
105
+ },
106
+ {
107
+ "inputs": [
108
+ {
109
+ "components": [
110
+ {
111
+ "internalType": "bytes",
112
+ "name": "data",
113
+ "type": "bytes"
114
+ }
115
+ ],
116
+ "internalType": "struct iodata.Buffer",
117
+ "name": "buf",
118
+ "type": "tuple"
119
+ },
120
+ {
121
+ "components": [
122
+ {
123
+ "internalType": "uint16",
124
+ "name": "extensionType",
125
+ "type": "uint16"
126
+ },
127
+ {
128
+ "components": [
129
+ {
130
+ "internalType": "uint32",
131
+ "name": "length",
132
+ "type": "uint32"
133
+ },
134
+ {
135
+ "internalType": "uint32",
136
+ "name": "offset",
137
+ "type": "uint32"
138
+ },
139
+ {
140
+ "components": [
141
+ {
142
+ "internalType": "bytes",
143
+ "name": "data",
144
+ "type": "bytes"
145
+ }
146
+ ],
147
+ "internalType": "struct iodata.Buffer",
148
+ "name": "data",
149
+ "type": "tuple"
150
+ }
151
+ ],
152
+ "internalType": "struct DataRef",
153
+ "name": "dataRef",
154
+ "type": "tuple"
155
+ },
156
+ {
157
+ "internalType": "bytes",
158
+ "name": "data",
159
+ "type": "bytes"
160
+ }
161
+ ],
162
+ "internalType": "struct Extension[]",
163
+ "name": "extensions",
164
+ "type": "tuple[]"
165
+ }
166
+ ],
167
+ "name": "writeExtension",
168
+ "outputs": [
169
+ {
170
+ "components": [
171
+ {
172
+ "internalType": "bytes",
173
+ "name": "data",
174
+ "type": "bytes"
175
+ }
176
+ ],
177
+ "internalType": "struct iodata.Buffer",
178
+ "name": "",
179
+ "type": "tuple"
180
+ }
181
+ ],
182
+ "stateMutability": "pure",
183
+ "type": "function"
184
+ },
185
+ {
186
+ "inputs": [
187
+ {
188
+ "components": [
189
+ {
190
+ "internalType": "bytes",
191
+ "name": "data",
192
+ "type": "bytes"
193
+ }
194
+ ],
195
+ "internalType": "struct iodata.Buffer",
196
+ "name": "buf",
197
+ "type": "tuple"
198
+ },
199
+ {
200
+ "components": [
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "timestamp",
204
+ "type": "uint256"
205
+ },
206
+ {
207
+ "internalType": "SysName",
208
+ "name": "producer",
209
+ "type": "uint64"
210
+ },
211
+ {
212
+ "internalType": "uint16",
213
+ "name": "confirmed",
214
+ "type": "uint16"
215
+ },
216
+ {
217
+ "internalType": "bytes32",
218
+ "name": "previous",
219
+ "type": "bytes32"
220
+ },
221
+ {
222
+ "internalType": "bytes32",
223
+ "name": "txMroot",
224
+ "type": "bytes32"
225
+ },
226
+ {
227
+ "internalType": "bytes32",
228
+ "name": "actMroot",
229
+ "type": "bytes32"
230
+ },
231
+ {
232
+ "internalType": "uint32",
233
+ "name": "scheduleVersion",
234
+ "type": "uint32"
235
+ },
236
+ {
237
+ "components": [
238
+ {
239
+ "internalType": "uint32",
240
+ "name": "version",
241
+ "type": "uint32"
242
+ },
243
+ {
244
+ "components": [
245
+ {
246
+ "internalType": "SysName",
247
+ "name": "account_name",
248
+ "type": "uint64"
249
+ },
250
+ {
251
+ "internalType": "bytes",
252
+ "name": "blockSigningKey",
253
+ "type": "bytes"
254
+ }
255
+ ],
256
+ "internalType": "struct Producer[]",
257
+ "name": "producers",
258
+ "type": "tuple[]"
259
+ }
260
+ ],
261
+ "internalType": "struct ProducerSchedule",
262
+ "name": "new_producers",
263
+ "type": "tuple"
264
+ },
265
+ {
266
+ "components": [
267
+ {
268
+ "internalType": "uint16",
269
+ "name": "extensionType",
270
+ "type": "uint16"
271
+ },
272
+ {
273
+ "components": [
274
+ {
275
+ "internalType": "uint32",
276
+ "name": "length",
277
+ "type": "uint32"
278
+ },
279
+ {
280
+ "internalType": "uint32",
281
+ "name": "offset",
282
+ "type": "uint32"
283
+ },
284
+ {
285
+ "components": [
286
+ {
287
+ "internalType": "bytes",
288
+ "name": "data",
289
+ "type": "bytes"
290
+ }
291
+ ],
292
+ "internalType": "struct iodata.Buffer",
293
+ "name": "data",
294
+ "type": "tuple"
295
+ }
296
+ ],
297
+ "internalType": "struct DataRef",
298
+ "name": "dataRef",
299
+ "type": "tuple"
300
+ },
301
+ {
302
+ "internalType": "bytes",
303
+ "name": "data",
304
+ "type": "bytes"
305
+ }
306
+ ],
307
+ "internalType": "struct Extension[]",
308
+ "name": "header_extensions",
309
+ "type": "tuple[]"
310
+ }
311
+ ],
312
+ "internalType": "struct BlockHeader",
313
+ "name": "header",
314
+ "type": "tuple"
315
+ }
316
+ ],
317
+ "name": "writeHeader",
318
+ "outputs": [
319
+ {
320
+ "components": [
321
+ {
322
+ "internalType": "bytes",
323
+ "name": "data",
324
+ "type": "bytes"
325
+ }
326
+ ],
327
+ "internalType": "struct iodata.Buffer",
328
+ "name": "",
329
+ "type": "tuple"
330
+ }
331
+ ],
332
+ "stateMutability": "pure",
333
+ "type": "function"
334
+ },
335
+ {
336
+ "inputs": [
337
+ {
338
+ "components": [
339
+ {
340
+ "internalType": "bytes",
341
+ "name": "data",
342
+ "type": "bytes"
343
+ }
344
+ ],
345
+ "internalType": "struct iodata.Buffer",
346
+ "name": "buf",
347
+ "type": "tuple"
348
+ },
349
+ {
350
+ "internalType": "SysName",
351
+ "name": "value",
352
+ "type": "uint64"
353
+ }
354
+ ],
355
+ "name": "writeName",
356
+ "outputs": [
357
+ {
358
+ "components": [
359
+ {
360
+ "internalType": "bytes",
361
+ "name": "data",
362
+ "type": "bytes"
363
+ }
364
+ ],
365
+ "internalType": "struct iodata.Buffer",
366
+ "name": "",
367
+ "type": "tuple"
368
+ }
369
+ ],
370
+ "stateMutability": "pure",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [
375
+ {
376
+ "components": [
377
+ {
378
+ "internalType": "bytes",
379
+ "name": "data",
380
+ "type": "bytes"
381
+ }
382
+ ],
383
+ "internalType": "struct iodata.Buffer",
384
+ "name": "buf",
385
+ "type": "tuple"
386
+ },
387
+ {
388
+ "components": [
389
+ {
390
+ "internalType": "bytes32",
391
+ "name": "r",
392
+ "type": "bytes32"
393
+ },
394
+ {
395
+ "internalType": "bytes32",
396
+ "name": "s",
397
+ "type": "bytes32"
398
+ },
399
+ {
400
+ "internalType": "uint8",
401
+ "name": "v",
402
+ "type": "uint8"
403
+ }
404
+ ],
405
+ "internalType": "struct PointSigValues",
406
+ "name": "sig",
407
+ "type": "tuple"
408
+ }
409
+ ],
410
+ "name": "writePointSigValues",
411
+ "outputs": [
412
+ {
413
+ "components": [
414
+ {
415
+ "internalType": "bytes",
416
+ "name": "data",
417
+ "type": "bytes"
418
+ }
419
+ ],
420
+ "internalType": "struct iodata.Buffer",
421
+ "name": "",
422
+ "type": "tuple"
423
+ }
424
+ ],
425
+ "stateMutability": "pure",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [
430
+ {
431
+ "components": [
432
+ {
433
+ "internalType": "bytes",
434
+ "name": "data",
435
+ "type": "bytes"
436
+ }
437
+ ],
438
+ "internalType": "struct iodata.Buffer",
439
+ "name": "buf",
440
+ "type": "tuple"
441
+ },
442
+ {
443
+ "components": [
444
+ {
445
+ "internalType": "uint8",
446
+ "name": "keyType",
447
+ "type": "uint8"
448
+ },
449
+ {
450
+ "components": [
451
+ {
452
+ "internalType": "bytes32",
453
+ "name": "r",
454
+ "type": "bytes32"
455
+ },
456
+ {
457
+ "internalType": "bytes32",
458
+ "name": "s",
459
+ "type": "bytes32"
460
+ },
461
+ {
462
+ "internalType": "uint8",
463
+ "name": "v",
464
+ "type": "uint8"
465
+ }
466
+ ],
467
+ "internalType": "struct PointSigValues",
468
+ "name": "rsv",
469
+ "type": "tuple"
470
+ }
471
+ ],
472
+ "internalType": "struct Signature",
473
+ "name": "sig",
474
+ "type": "tuple"
475
+ }
476
+ ],
477
+ "name": "writeSignature",
478
+ "outputs": [
479
+ {
480
+ "components": [
481
+ {
482
+ "internalType": "bytes",
483
+ "name": "data",
484
+ "type": "bytes"
485
+ }
486
+ ],
487
+ "internalType": "struct iodata.Buffer",
488
+ "name": "",
489
+ "type": "tuple"
490
+ }
491
+ ],
492
+ "stateMutability": "pure",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [
497
+ {
498
+ "components": [
499
+ {
500
+ "internalType": "bytes",
501
+ "name": "data",
502
+ "type": "bytes"
503
+ }
504
+ ],
505
+ "internalType": "struct iodata.Buffer",
506
+ "name": "buf",
507
+ "type": "tuple"
508
+ },
509
+ {
510
+ "components": [
511
+ {
512
+ "internalType": "uint8",
513
+ "name": "keyType",
514
+ "type": "uint8"
515
+ },
516
+ {
517
+ "components": [
518
+ {
519
+ "internalType": "bytes32",
520
+ "name": "r",
521
+ "type": "bytes32"
522
+ },
523
+ {
524
+ "internalType": "bytes32",
525
+ "name": "s",
526
+ "type": "bytes32"
527
+ },
528
+ {
529
+ "internalType": "uint8",
530
+ "name": "v",
531
+ "type": "uint8"
532
+ }
533
+ ],
534
+ "internalType": "struct PointSigValues",
535
+ "name": "rsv",
536
+ "type": "tuple"
537
+ }
538
+ ],
539
+ "internalType": "struct Signature",
540
+ "name": "sig",
541
+ "type": "tuple"
542
+ }
543
+ ],
544
+ "name": "writeSignatureStr",
545
+ "outputs": [
546
+ {
547
+ "components": [
548
+ {
549
+ "internalType": "bytes",
550
+ "name": "data",
551
+ "type": "bytes"
552
+ }
553
+ ],
554
+ "internalType": "struct iodata.Buffer",
555
+ "name": "",
556
+ "type": "tuple"
557
+ }
558
+ ],
559
+ "stateMutability": "pure",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [
564
+ {
565
+ "components": [
566
+ {
567
+ "internalType": "bytes",
568
+ "name": "data",
569
+ "type": "bytes"
570
+ }
571
+ ],
572
+ "internalType": "struct iodata.Buffer",
573
+ "name": "buf",
574
+ "type": "tuple"
575
+ },
576
+ {
577
+ "components": [
578
+ {
579
+ "internalType": "uint8",
580
+ "name": "keyType",
581
+ "type": "uint8"
582
+ },
583
+ {
584
+ "components": [
585
+ {
586
+ "internalType": "bytes32",
587
+ "name": "r",
588
+ "type": "bytes32"
589
+ },
590
+ {
591
+ "internalType": "bytes32",
592
+ "name": "s",
593
+ "type": "bytes32"
594
+ },
595
+ {
596
+ "internalType": "uint8",
597
+ "name": "v",
598
+ "type": "uint8"
599
+ }
600
+ ],
601
+ "internalType": "struct PointSigValues",
602
+ "name": "rsv",
603
+ "type": "tuple"
604
+ }
605
+ ],
606
+ "internalType": "struct Signature[]",
607
+ "name": "signatures",
608
+ "type": "tuple[]"
609
+ }
610
+ ],
611
+ "name": "writeSignatures",
612
+ "outputs": [
613
+ {
614
+ "components": [
615
+ {
616
+ "internalType": "bytes",
617
+ "name": "data",
618
+ "type": "bytes"
619
+ }
620
+ ],
621
+ "internalType": "struct iodata.Buffer",
622
+ "name": "",
623
+ "type": "tuple"
624
+ }
625
+ ],
626
+ "stateMutability": "pure",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "inputs": [
631
+ {
632
+ "components": [
633
+ {
634
+ "internalType": "bytes",
635
+ "name": "data",
636
+ "type": "bytes"
637
+ }
638
+ ],
639
+ "internalType": "struct iodata.Buffer",
640
+ "name": "buf",
641
+ "type": "tuple"
642
+ },
643
+ {
644
+ "internalType": "uint256",
645
+ "name": "timestamp",
646
+ "type": "uint256"
647
+ }
648
+ ],
649
+ "name": "writeTimestamp",
650
+ "outputs": [
651
+ {
652
+ "components": [
653
+ {
654
+ "internalType": "bytes",
655
+ "name": "data",
656
+ "type": "bytes"
657
+ }
658
+ ],
659
+ "internalType": "struct iodata.Buffer",
660
+ "name": "",
661
+ "type": "tuple"
662
+ }
663
+ ],
664
+ "stateMutability": "pure",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [
669
+ {
670
+ "components": [
671
+ {
672
+ "internalType": "bytes",
673
+ "name": "data",
674
+ "type": "bytes"
675
+ }
676
+ ],
677
+ "internalType": "struct iodata.Buffer",
678
+ "name": "buf",
679
+ "type": "tuple"
680
+ },
681
+ {
682
+ "internalType": "uint128",
683
+ "name": "value",
684
+ "type": "uint128"
685
+ }
686
+ ],
687
+ "name": "writeUint128",
688
+ "outputs": [
689
+ {
690
+ "components": [
691
+ {
692
+ "internalType": "bytes",
693
+ "name": "data",
694
+ "type": "bytes"
695
+ }
696
+ ],
697
+ "internalType": "struct iodata.Buffer",
698
+ "name": "",
699
+ "type": "tuple"
700
+ }
701
+ ],
702
+ "stateMutability": "pure",
703
+ "type": "function"
704
+ },
705
+ {
706
+ "inputs": [
707
+ {
708
+ "components": [
709
+ {
710
+ "internalType": "bytes",
711
+ "name": "data",
712
+ "type": "bytes"
713
+ }
714
+ ],
715
+ "internalType": "struct iodata.Buffer",
716
+ "name": "buf",
717
+ "type": "tuple"
718
+ },
719
+ {
720
+ "internalType": "uint16",
721
+ "name": "value",
722
+ "type": "uint16"
723
+ }
724
+ ],
725
+ "name": "writeUint16",
726
+ "outputs": [
727
+ {
728
+ "components": [
729
+ {
730
+ "internalType": "bytes",
731
+ "name": "data",
732
+ "type": "bytes"
733
+ }
734
+ ],
735
+ "internalType": "struct iodata.Buffer",
736
+ "name": "",
737
+ "type": "tuple"
738
+ }
739
+ ],
740
+ "stateMutability": "pure",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [
745
+ {
746
+ "components": [
747
+ {
748
+ "internalType": "bytes",
749
+ "name": "data",
750
+ "type": "bytes"
751
+ }
752
+ ],
753
+ "internalType": "struct iodata.Buffer",
754
+ "name": "buf",
755
+ "type": "tuple"
756
+ },
757
+ {
758
+ "internalType": "uint256",
759
+ "name": "value",
760
+ "type": "uint256"
761
+ }
762
+ ],
763
+ "name": "writeUint256",
764
+ "outputs": [
765
+ {
766
+ "components": [
767
+ {
768
+ "internalType": "bytes",
769
+ "name": "data",
770
+ "type": "bytes"
771
+ }
772
+ ],
773
+ "internalType": "struct iodata.Buffer",
774
+ "name": "",
775
+ "type": "tuple"
776
+ }
777
+ ],
778
+ "stateMutability": "pure",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [
783
+ {
784
+ "components": [
785
+ {
786
+ "internalType": "bytes",
787
+ "name": "data",
788
+ "type": "bytes"
789
+ }
790
+ ],
791
+ "internalType": "struct iodata.Buffer",
792
+ "name": "buf",
793
+ "type": "tuple"
794
+ },
795
+ {
796
+ "internalType": "uint32",
797
+ "name": "value",
798
+ "type": "uint32"
799
+ }
800
+ ],
801
+ "name": "writeUint32",
802
+ "outputs": [
803
+ {
804
+ "components": [
805
+ {
806
+ "internalType": "bytes",
807
+ "name": "data",
808
+ "type": "bytes"
809
+ }
810
+ ],
811
+ "internalType": "struct iodata.Buffer",
812
+ "name": "",
813
+ "type": "tuple"
814
+ }
815
+ ],
816
+ "stateMutability": "pure",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [
821
+ {
822
+ "components": [
823
+ {
824
+ "internalType": "bytes",
825
+ "name": "data",
826
+ "type": "bytes"
827
+ }
828
+ ],
829
+ "internalType": "struct iodata.Buffer",
830
+ "name": "buf",
831
+ "type": "tuple"
832
+ },
833
+ {
834
+ "internalType": "uint64",
835
+ "name": "value",
836
+ "type": "uint64"
837
+ }
838
+ ],
839
+ "name": "writeUint64",
840
+ "outputs": [
841
+ {
842
+ "components": [
843
+ {
844
+ "internalType": "bytes",
845
+ "name": "data",
846
+ "type": "bytes"
847
+ }
848
+ ],
849
+ "internalType": "struct iodata.Buffer",
850
+ "name": "",
851
+ "type": "tuple"
852
+ }
853
+ ],
854
+ "stateMutability": "pure",
855
+ "type": "function"
856
+ },
857
+ {
858
+ "inputs": [
859
+ {
860
+ "components": [
861
+ {
862
+ "internalType": "bytes",
863
+ "name": "data",
864
+ "type": "bytes"
865
+ }
866
+ ],
867
+ "internalType": "struct iodata.Buffer",
868
+ "name": "buf",
869
+ "type": "tuple"
870
+ },
871
+ {
872
+ "internalType": "uint8",
873
+ "name": "value",
874
+ "type": "uint8"
875
+ }
876
+ ],
877
+ "name": "writeUint8",
878
+ "outputs": [
879
+ {
880
+ "components": [
881
+ {
882
+ "internalType": "bytes",
883
+ "name": "data",
884
+ "type": "bytes"
885
+ }
886
+ ],
887
+ "internalType": "struct iodata.Buffer",
888
+ "name": "",
889
+ "type": "tuple"
890
+ }
891
+ ],
892
+ "stateMutability": "pure",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "inputs": [
897
+ {
898
+ "components": [
899
+ {
900
+ "internalType": "bytes",
901
+ "name": "data",
902
+ "type": "bytes"
903
+ }
904
+ ],
905
+ "internalType": "struct iodata.Buffer",
906
+ "name": "buf",
907
+ "type": "tuple"
908
+ },
909
+ {
910
+ "internalType": "uint256",
911
+ "name": "value",
912
+ "type": "uint256"
913
+ }
914
+ ],
915
+ "name": "writeVarUint",
916
+ "outputs": [
917
+ {
918
+ "components": [
919
+ {
920
+ "internalType": "bytes",
921
+ "name": "data",
922
+ "type": "bytes"
923
+ }
924
+ ],
925
+ "internalType": "struct iodata.Buffer",
926
+ "name": "out",
927
+ "type": "tuple"
928
+ }
929
+ ],
930
+ "stateMutability": "pure",
931
+ "type": "function"
932
+ }
933
+ ],
934
+ "bytecode": "0x60808060405234601957611d10908161001f823930815050f35b600080fdfe6080604052600436101561001257600080fd5b60003560e01c806304a858e3146101275780631f218387146101225780631fb2a7081461011d5780632d1d1351146101185780635a50ebde146101135780635e57dd381461010e578063623b01211461010957806371edab121461010457806375a2a7e3146100ff57806382aacb0f146100fa578063ad8b1a14146100f5578063da6b7eec146100f0578063e56180bc146100eb578063ee65ecb9146100e6578063f2f2044f146100e1578063f70036bb146100dc5763fb70775b146100d757600080fd5b611158565b611099565b611053565b61103e565b610fec565b610f41565b610efa565b610ee5565b610e37565b610aaa565b6108bc565b6107b8565b610717565b6106c0565b61067d565b6104bf565b61045d565b634e487b7160e01b600052604160045260246000fd5b602081019081106001600160401b0382111761015d57604052565b61012c565b606081019081106001600160401b0382111761015d57604052565b604081019081106001600160401b0382111761015d57604052565b90601f801991011681019081106001600160401b0382111761015d57604052565b6040519061012082018281106001600160401b0382111761015d57604052565b6001600160401b03811161015d57601f01601f191660200190565b81601f8201121561023b5780359061020b826101d9565b926102196040519485610198565b8284526020838301011161023b57816000926020809301838601378301015290565b600080fd5b91909160208184031261023b576040519061025a82610142565b819381356001600160401b03811161023b5761027692016101f4565b9052565b6001600160401b03811161015d5760051b60200190565b359061ffff8216820361023b57565b359063ffffffff8216820361023b57565b919060608382031261023b57604051906102ca82610162565b81936102d5816102a0565b83526102e3602082016102a0565b60208401526040810135916001600160401b03831161023b576040926103099201610240565b910152565b81601f8201121561023b578035916020916103288461027a565b936040926103396040519687610198565b818652848087019260051b8401019381851161023b57858401925b858410610365575050505050505090565b6001600160401b03843581811161023b57860191606080601f19858803011261023b5784519061039482610162565b61039f8b8601610291565b82528585013584811161023b57878c6103ba928801016102b1565b8b83015284013592831161023b576103d9868b809695819601016101f4565b85820152815201930192610354565b60005b8381106103fb5750506000910152565b81810151838201526020016103eb565b90602091610424815180928185528580860191016103e8565b601f01601f1916010190565b51602080835261044192019061040b565b90565b604061044192602083525191602080820152019061040b565b604036600319011261023b576001600160401b0360043581811161023b57610489903690600401610240565b9060243590811161023b576104bb916104a96104af92369060040161030e565b906112ec565b60405191829182610444565b0390f35b604036600319011261023b576004356001600160401b03811161023b576104ea903690600401610240565b6024356001600160a01b038116810361023b5761054c6105178361053e94506105116111e6565b50611b07565b91604051938491602083016014916bffffffffffffffffffffffff199060601b1681520190565b03601f198101845283610198565b8151601481106105db575b50604051638353c19960e01b8152916000918391829161057b9190600484016112b3565b038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576104bb916000916105b3575b5060405191829182610444565b6105d091503d806000833e6105c88183610198565b810190611265565b386105a6565b6112e0565b61060e916105f26105ed6000936113f7565b611424565b604051638353c19960e01b8152938492839290600484016112b3565b038173__$871508ae888325252fdba23f15f3f16064$__5af49182156105d65761057b926000928391610645575b50915091610557565b61065991503d8085833e6105c88183610198565b3861063c565b6001600160401b0381160361023b57565b359061067b8261065f565b565b604036600319011261023b576004356001600160401b03811161023b576104af6106ae6104bb923690600401610240565b602435906106bb8261065f565b611456565b604036600319011261023b576004356001600160401b03811161023b576106eb903690600401610240565b6024359063ffffffff8216820361023b576104bb916104af916114ec565b359060ff8216820361023b57565b608036600319011261023b576004356001600160401b03811161023b57610742903690600401610240565b606036602319011261023b5760405161075a81610162565b602435815260443560208201526064359060ff8216820361023b576104bb926104af92604083015261156b565b604060031982011261023b57600435906001600160401b03821161023b576107b191600401610240565b9060243590565b6104bb6104af6107c736610787565b906115da565b60409291818103841361023b5783516107e58161017d565b80946107f0846102a0565b8252602092838501356001600160401b039586821161023b57019181601f8401121561023b578235906108228261027a565b9661082f82519889610198565b828852868089019360051b8601019484861161023b57878101935b86851061085c57505050505050500152565b843583811161023b5782019084601f19838903011261023b578451906108818261017d565b8a83013561088e8161065f565b8252858301359185831161023b576108ad898d809695819601016101f4565b8382015281520194019361084a565b60031960403682011261023b576001600160401b039060043582811161023b576108ea903690600401610240565b6024359183831161023b5761012090833603011261023b5761090a6101b9565b908260040135825261091e60248401610670565b602083015261092f60448401610291565b6040830152606483013560608301526084830135608083015260a483013560a083015261095e60c484016102a0565b60c083015260e483013584811161023b5761097f90600436918601016107cd565b60e083015261010483013593841161023b576109a76104af9360046104bb963692010161030e565b610100830152611682565b80929103916080831261023b576040516109cb8161017d565b606081946109d884610709565b8352601f19011261023b57602090610a0d6060604051946109f886610162565b84810135865260408101358587015201610709565b60408401520152565b9060a060031983011261023b576004356001600160401b03811161023b5782610a4191600401610240565b91608060231982011261023b5760405190610a5b8261017d565b6024359060ff8216820361023b576060918352604319011261023b57604051610a8381610162565b6044358152606435602082015260843560ff8116810361023b576040820152602082015290565b610ab336610a16565b90610abc6111e6565b5060408051635ca2159160e11b81526000939073__$871508ae888325252fdba23f15f3f16064$__600486838281855af49283156105d6578793610e19575b50610b24929387610b0a61180b565b875180968192638353c19960e01b9b8c84528784016112b3565b0381865af49384156105d6578894610dfd575b508760ff610b46835160ff1690565b1680610d895750610b68610b80966020610b5e6118e8565b945b01519061156b565b87518097819263509106ff60e11b8352868301610444565b0381865af49485156105d6578895610d6d575b50602088610baf610ba48489611942565b89519182809261192b565b039060035afa156105d65787610bc6815160601b90565b94610bcf61140a565b95825b858110610d4057505087518981529283918291610bf1918784016112b3565b0381865af49081156105d657610c269189918291610d26575b50610c13611994565b90885193849283928c84528784016112b3565b0381865af49384156105d657610c629589928396610d04575b5090610c4a91611942565b8651809681926312496a1b60e01b83528583016119b1565b038173__$9abd3350714c4a3adad4eaa0d191a424a5$__5af49586156105d65787948597610ce0575b50610ca1865197889586948594855284016112b3565b03915af49182156105d657836104bb9493610cc3575b50505191829182610444565b610cd89293503d8091833e6105c88183610198565b903880610cb7565b610cfd9197503d8087833e610cf58183610198565b810190611906565b9538610c8b565b610c4a92919650610d1e903d8086833e6105c88183610198565b959091610c3f565b610d3a91503d8084833e6105c88183610198565b38610c0a565b909192506014811015610d685780826001921a610d5d828a611983565b5301908a9291610bd2565b6111f9565b610d829195503d808a833e610cf58183610198565b9338610b93565b60018103610da95750610b68610b80966020610da36118ca565b94610b60565b60028103610dc35750610b68610b80966020610da36118ac565b60038103610ddd5750610b68610b80966020610da361188e565b8314159050610df85787610b68610b80966020610da3611870565b61182b565b610e129194503d808a833e6105c88183610198565b9238610b37565b610b249350610e31903d808a833e6105c88183610198565b92610afb565b604036600319011261023b576001600160401b0360043581811161023b57610ea0610e686000923690600401610240565b602435610e748161065f565b610e7c6111e6565b50604051635f493fb560e11b81526060600482015294859384936064850190610430565b9160086024850152166044830152038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576104bb916000916105b3575060405191829182610444565b6104bb6104af610ef436610a16565b906119c2565b604036600319011261023b576004356001600160401b03811161023b57610f25903690600401610240565b6024359061ffff8216820361023b576104bb916104af916119ef565b604036600319011261023b576001600160401b0360043581811161023b57610f6d903690600401610240565b60243591821161023b573660238301121561023b57816004013591610f918361027a565b92610f9f6040519485610198565b8084526020906024602086019160071b8401019236841161023b57602401905b838210610fd3576104bb6104af8787611a40565b82608091610fe136856109b2565b815201910190610fbf565b604036600319011261023b576001600160401b0360043581811161023b57611018903690600401610240565b9060243590811161023b576104bb916110386104af9236906004016102b1565b90611a8e565b6104bb6104af61104d36610787565b90611bd7565b604036600319011261023b576004356001600160401b03811161023b5761107e903690600401610240565b6024359060ff8216820361023b576104bb916104af91611c63565b604036600319011261023b576004356001600160401b03811161023b576110c4903690600401610240565b602435906fffffffffffffffffffffffffffffffff821680920361023b576111146000916110f06111e6565b50604051635f493fb560e11b81526060600482015293849283926064840190610430565b90601060248401526044830152038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576104bb916000916105b3575060405191829182610444565b6111a2600061116636610787565b9290606060405161117681610142565b526040519384928392635f493fb560e11b8452606060048501525160206064850152608484019061040b565b90602060248401526044830152038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576104bb916000916105b3575060405191829182610444565b604051906111f382610142565b60608252565b634e487b7160e01b600052603260045260246000fd5b8051821015610d685760209160051b010190565b81601f8201121561023b578051611239816101d9565b926112476040519485610198565b8184526020828401011161023b5761044191602080850191016103e8565b9060208282031261023b5781516001600160401b039283821161023b57019060208282031261023b576040519261129b84610142565b825190811161023b576112ae9201611223565b815290565b90916112d261044193604084525160206040850152606084019061040b565b91602081840391015261040b565b6040513d6000823e3d90fd5b611304909291926112fb6111e6565b50835190611bd7565b916000925b81518410156113dc5761133361131f858461120f565b519161132d835161ffff1690565b906119ef565b60408083018051519193909291156113c35750918161135a61137694600094515190611bd7565b90519151638353c19960e01b81529384928392600484016112b3565b038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576001916000916113aa575b50935b0192611309565b6113bd913d8091833e6105c88183610198565b386113a0565b600193506113d692506020015190611a8e565b936113a3565b925050565b634e487b7160e01b600052601160045260246000fd5b601403906014821161140557565b6113e1565b604051906114178261017d565b6004825260203681840137565b9061142e826101d9565b61143b6040519182610198565b828152809261144c601f19916101d9565b0190602036910137565b6114ac91600091606060405161146b81610142565b5260405160c09290921b6001600160c01b0319166020830152600882526114918261017d565b604051638353c19960e01b81529384928392600484016112b3565b038173__$871508ae888325252fdba23f15f3f16064$__5af49081156105d6576000916114d7575090565b61044191503d806000833e6105c88183610198565b61153260009163ffffffff93606060405161150681610142565b526040519485938493635f493fb560e11b8552606060048601525160206064860152608485019061040b565b9160046024850152166044830152038173__$871508ae888325252fdba23f15f3f16064$__5af49081156105d6576000916114d7575090565b90606060405161157a81610142565b52600460ff604083015116019160ff8311611405576115a96115a161044194602093611c63565b835190611c94565b91015190611c94565b9060ff6115d36020929594956040855251836040860152606085019061040b565b9416910152565b906115e36111e6565b50600073__$871508ae888325252fdba23f15f3f16064$__925b6004908183101561167a576001600160fd1b0383168303611405576116429160009160405193849283926327e28fab60e01b845260ff898960031b1c169184016115b2565b0381875af480156105d657600191600091611661575b509101906115fd565b611674913d8091833e6105c88183610198565b38611658565b935050505090565b90916116d86116cd6116be6116aa60409560606040516116a181610142565b528751906115da565b6001600160401b0360208801511690611456565b61ffff604087015116906119ef565b606085015190611c94565b9061170c6116fb6116f0608094608088015190611c94565b60a087015190611c94565b63ffffffff60c087015116906114ec565b906000916117186111e6565b509373__$871508ae888325252fdba23f15f3f16064$__925b8060071c9586156117975782516327e28fab60e01b8152916000918391829161176391607f168a1790600484016115b2565b0381875af49081156105d65760009161177e575b5094611731565b611791913d8091833e6105c88183610198565b38611777565b929694506117c79550600093915060ff90604051968794859384936327e28fab60e01b85521690600484016115b2565b03915af49081156105d657610441926000926117ea575b506101000151906112ec565b610100919250611804903d806000833e6105c88183610198565b91906117de565b604051906118188261017d565b60048252635349475f60e01b6020830152565b60405162461bcd60e51b815260206004820152601860248201527f556e68616e646c6564207369676e6174757265207479706500000000000000006044820152606490fd5b6040519061187d8261017d565b6002825261115160f21b6020830152565b6040519061189b8261017d565b6002825261454d60f01b6020830152565b604051906118b98261017d565b6002825261574160f01b6020830152565b604051906118d78261017d565b6002825261523160f01b6020830152565b604051906118f58261017d565b60028252614b3160f01b6020830152565b9060208282031261023b5781516001600160401b03811161023b576104419201611223565b9061193e602092828151948592016103e8565b0190565b602061067b91939293604051948161196387935180928680870191016103e8565b8201611977825180938680850191016103e8565b01038085520183610198565b908151811015610d68570160200190565b604051906119a18261017d565b60018252605f60f81b6020830152565b90602061044192818152019061040b565b9060206119e66104419360606040516119da81610142565b5260ff84511690611c63565b9101519061156b565b611a0760009161ffff93606060405161150681610142565b9160026024850152166044830152038173__$871508ae888325252fdba23f15f3f16064$__5af49081156105d6576000916114d7575090565b611a5b906060604051611a5281610142565b52825190611bd7565b906000915b8151831015611a8857611a80600191611a79858561120f565b51906119c2565b920191611a60565b91505090565b611ad9600091611a9c6111e6565b506114ac611ab363ffffffff928387511690611bd7565b9160606040805197889687966396aa28df60e01b88528360048901526044880190610430565b9360031987860301602488015280825116855260208201511660208501520151918160408201520190610430565b601490611b126111e6565b5073__$871508ae888325252fdba23f15f3f16064$__915b8060071c918215611b9657607f91611b6091604051809381926327e28fab60e01b835260806000978896161790600484016115b2565b0381875af49182156105d6578092611b7b575b505090611b2a565b611b8f92503d8091833e6105c88183610198565b3880611b73565b6040516327e28fab60e01b815293600093508492909183918291611bc19160ff1690600484016115b2565b03915af49081156105d6576000916114d7575090565b611bdf6111e6565b5073__$871508ae888325252fdba23f15f3f16064$__915b8060071c918215611b9657607f91611c2d91604051809381926327e28fab60e01b835260806000978896161790600484016115b2565b0381875af49182156105d6578092611c48575b505090611bf7565b611c5c92503d8091833e6105c88183610198565b3880611c40565b6114ac916000916060604051611c7881610142565b526040516327e28fab60e01b81529384928392600484016115b2565b6114ac916000916060604051611ca981610142565b5260405191611cb78361017d565b6020808452830152604051638353c19960e01b81529384928392600484016112b356fea2646970667358221220bf2a83735bcde967f0dd0fe1f5cadf4c757ce490f3899fffbcf0e26035b674a464736f6c63430008190033",
935
+ "deployedBytecode": "0x6080604052600436101561001257600080fd5b60003560e01c806304a858e3146101275780631f218387146101225780631fb2a7081461011d5780632d1d1351146101185780635a50ebde146101135780635e57dd381461010e578063623b01211461010957806371edab121461010457806375a2a7e3146100ff57806382aacb0f146100fa578063ad8b1a14146100f5578063da6b7eec146100f0578063e56180bc146100eb578063ee65ecb9146100e6578063f2f2044f146100e1578063f70036bb146100dc5763fb70775b146100d757600080fd5b611158565b611099565b611053565b61103e565b610fec565b610f41565b610efa565b610ee5565b610e37565b610aaa565b6108bc565b6107b8565b610717565b6106c0565b61067d565b6104bf565b61045d565b634e487b7160e01b600052604160045260246000fd5b602081019081106001600160401b0382111761015d57604052565b61012c565b606081019081106001600160401b0382111761015d57604052565b604081019081106001600160401b0382111761015d57604052565b90601f801991011681019081106001600160401b0382111761015d57604052565b6040519061012082018281106001600160401b0382111761015d57604052565b6001600160401b03811161015d57601f01601f191660200190565b81601f8201121561023b5780359061020b826101d9565b926102196040519485610198565b8284526020838301011161023b57816000926020809301838601378301015290565b600080fd5b91909160208184031261023b576040519061025a82610142565b819381356001600160401b03811161023b5761027692016101f4565b9052565b6001600160401b03811161015d5760051b60200190565b359061ffff8216820361023b57565b359063ffffffff8216820361023b57565b919060608382031261023b57604051906102ca82610162565b81936102d5816102a0565b83526102e3602082016102a0565b60208401526040810135916001600160401b03831161023b576040926103099201610240565b910152565b81601f8201121561023b578035916020916103288461027a565b936040926103396040519687610198565b818652848087019260051b8401019381851161023b57858401925b858410610365575050505050505090565b6001600160401b03843581811161023b57860191606080601f19858803011261023b5784519061039482610162565b61039f8b8601610291565b82528585013584811161023b57878c6103ba928801016102b1565b8b83015284013592831161023b576103d9868b809695819601016101f4565b85820152815201930192610354565b60005b8381106103fb5750506000910152565b81810151838201526020016103eb565b90602091610424815180928185528580860191016103e8565b601f01601f1916010190565b51602080835261044192019061040b565b90565b604061044192602083525191602080820152019061040b565b604036600319011261023b576001600160401b0360043581811161023b57610489903690600401610240565b9060243590811161023b576104bb916104a96104af92369060040161030e565b906112ec565b60405191829182610444565b0390f35b604036600319011261023b576004356001600160401b03811161023b576104ea903690600401610240565b6024356001600160a01b038116810361023b5761054c6105178361053e94506105116111e6565b50611b07565b91604051938491602083016014916bffffffffffffffffffffffff199060601b1681520190565b03601f198101845283610198565b8151601481106105db575b50604051638353c19960e01b8152916000918391829161057b9190600484016112b3565b038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576104bb916000916105b3575b5060405191829182610444565b6105d091503d806000833e6105c88183610198565b810190611265565b386105a6565b6112e0565b61060e916105f26105ed6000936113f7565b611424565b604051638353c19960e01b8152938492839290600484016112b3565b038173__$871508ae888325252fdba23f15f3f16064$__5af49182156105d65761057b926000928391610645575b50915091610557565b61065991503d8085833e6105c88183610198565b3861063c565b6001600160401b0381160361023b57565b359061067b8261065f565b565b604036600319011261023b576004356001600160401b03811161023b576104af6106ae6104bb923690600401610240565b602435906106bb8261065f565b611456565b604036600319011261023b576004356001600160401b03811161023b576106eb903690600401610240565b6024359063ffffffff8216820361023b576104bb916104af916114ec565b359060ff8216820361023b57565b608036600319011261023b576004356001600160401b03811161023b57610742903690600401610240565b606036602319011261023b5760405161075a81610162565b602435815260443560208201526064359060ff8216820361023b576104bb926104af92604083015261156b565b604060031982011261023b57600435906001600160401b03821161023b576107b191600401610240565b9060243590565b6104bb6104af6107c736610787565b906115da565b60409291818103841361023b5783516107e58161017d565b80946107f0846102a0565b8252602092838501356001600160401b039586821161023b57019181601f8401121561023b578235906108228261027a565b9661082f82519889610198565b828852868089019360051b8601019484861161023b57878101935b86851061085c57505050505050500152565b843583811161023b5782019084601f19838903011261023b578451906108818261017d565b8a83013561088e8161065f565b8252858301359185831161023b576108ad898d809695819601016101f4565b8382015281520194019361084a565b60031960403682011261023b576001600160401b039060043582811161023b576108ea903690600401610240565b6024359183831161023b5761012090833603011261023b5761090a6101b9565b908260040135825261091e60248401610670565b602083015261092f60448401610291565b6040830152606483013560608301526084830135608083015260a483013560a083015261095e60c484016102a0565b60c083015260e483013584811161023b5761097f90600436918601016107cd565b60e083015261010483013593841161023b576109a76104af9360046104bb963692010161030e565b610100830152611682565b80929103916080831261023b576040516109cb8161017d565b606081946109d884610709565b8352601f19011261023b57602090610a0d6060604051946109f886610162565b84810135865260408101358587015201610709565b60408401520152565b9060a060031983011261023b576004356001600160401b03811161023b5782610a4191600401610240565b91608060231982011261023b5760405190610a5b8261017d565b6024359060ff8216820361023b576060918352604319011261023b57604051610a8381610162565b6044358152606435602082015260843560ff8116810361023b576040820152602082015290565b610ab336610a16565b90610abc6111e6565b5060408051635ca2159160e11b81526000939073__$871508ae888325252fdba23f15f3f16064$__600486838281855af49283156105d6578793610e19575b50610b24929387610b0a61180b565b875180968192638353c19960e01b9b8c84528784016112b3565b0381865af49384156105d6578894610dfd575b508760ff610b46835160ff1690565b1680610d895750610b68610b80966020610b5e6118e8565b945b01519061156b565b87518097819263509106ff60e11b8352868301610444565b0381865af49485156105d6578895610d6d575b50602088610baf610ba48489611942565b89519182809261192b565b039060035afa156105d65787610bc6815160601b90565b94610bcf61140a565b95825b858110610d4057505087518981529283918291610bf1918784016112b3565b0381865af49081156105d657610c269189918291610d26575b50610c13611994565b90885193849283928c84528784016112b3565b0381865af49384156105d657610c629589928396610d04575b5090610c4a91611942565b8651809681926312496a1b60e01b83528583016119b1565b038173__$9abd3350714c4a3adad4eaa0d191a424a5$__5af49586156105d65787948597610ce0575b50610ca1865197889586948594855284016112b3565b03915af49182156105d657836104bb9493610cc3575b50505191829182610444565b610cd89293503d8091833e6105c88183610198565b903880610cb7565b610cfd9197503d8087833e610cf58183610198565b810190611906565b9538610c8b565b610c4a92919650610d1e903d8086833e6105c88183610198565b959091610c3f565b610d3a91503d8084833e6105c88183610198565b38610c0a565b909192506014811015610d685780826001921a610d5d828a611983565b5301908a9291610bd2565b6111f9565b610d829195503d808a833e610cf58183610198565b9338610b93565b60018103610da95750610b68610b80966020610da36118ca565b94610b60565b60028103610dc35750610b68610b80966020610da36118ac565b60038103610ddd5750610b68610b80966020610da361188e565b8314159050610df85787610b68610b80966020610da3611870565b61182b565b610e129194503d808a833e6105c88183610198565b9238610b37565b610b249350610e31903d808a833e6105c88183610198565b92610afb565b604036600319011261023b576001600160401b0360043581811161023b57610ea0610e686000923690600401610240565b602435610e748161065f565b610e7c6111e6565b50604051635f493fb560e11b81526060600482015294859384936064850190610430565b9160086024850152166044830152038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576104bb916000916105b3575060405191829182610444565b6104bb6104af610ef436610a16565b906119c2565b604036600319011261023b576004356001600160401b03811161023b57610f25903690600401610240565b6024359061ffff8216820361023b576104bb916104af916119ef565b604036600319011261023b576001600160401b0360043581811161023b57610f6d903690600401610240565b60243591821161023b573660238301121561023b57816004013591610f918361027a565b92610f9f6040519485610198565b8084526020906024602086019160071b8401019236841161023b57602401905b838210610fd3576104bb6104af8787611a40565b82608091610fe136856109b2565b815201910190610fbf565b604036600319011261023b576001600160401b0360043581811161023b57611018903690600401610240565b9060243590811161023b576104bb916110386104af9236906004016102b1565b90611a8e565b6104bb6104af61104d36610787565b90611bd7565b604036600319011261023b576004356001600160401b03811161023b5761107e903690600401610240565b6024359060ff8216820361023b576104bb916104af91611c63565b604036600319011261023b576004356001600160401b03811161023b576110c4903690600401610240565b602435906fffffffffffffffffffffffffffffffff821680920361023b576111146000916110f06111e6565b50604051635f493fb560e11b81526060600482015293849283926064840190610430565b90601060248401526044830152038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576104bb916000916105b3575060405191829182610444565b6111a2600061116636610787565b9290606060405161117681610142565b526040519384928392635f493fb560e11b8452606060048501525160206064850152608484019061040b565b90602060248401526044830152038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576104bb916000916105b3575060405191829182610444565b604051906111f382610142565b60608252565b634e487b7160e01b600052603260045260246000fd5b8051821015610d685760209160051b010190565b81601f8201121561023b578051611239816101d9565b926112476040519485610198565b8184526020828401011161023b5761044191602080850191016103e8565b9060208282031261023b5781516001600160401b039283821161023b57019060208282031261023b576040519261129b84610142565b825190811161023b576112ae9201611223565b815290565b90916112d261044193604084525160206040850152606084019061040b565b91602081840391015261040b565b6040513d6000823e3d90fd5b611304909291926112fb6111e6565b50835190611bd7565b916000925b81518410156113dc5761133361131f858461120f565b519161132d835161ffff1690565b906119ef565b60408083018051519193909291156113c35750918161135a61137694600094515190611bd7565b90519151638353c19960e01b81529384928392600484016112b3565b038173__$871508ae888325252fdba23f15f3f16064$__5af480156105d6576001916000916113aa575b50935b0192611309565b6113bd913d8091833e6105c88183610198565b386113a0565b600193506113d692506020015190611a8e565b936113a3565b925050565b634e487b7160e01b600052601160045260246000fd5b601403906014821161140557565b6113e1565b604051906114178261017d565b6004825260203681840137565b9061142e826101d9565b61143b6040519182610198565b828152809261144c601f19916101d9565b0190602036910137565b6114ac91600091606060405161146b81610142565b5260405160c09290921b6001600160c01b0319166020830152600882526114918261017d565b604051638353c19960e01b81529384928392600484016112b3565b038173__$871508ae888325252fdba23f15f3f16064$__5af49081156105d6576000916114d7575090565b61044191503d806000833e6105c88183610198565b61153260009163ffffffff93606060405161150681610142565b526040519485938493635f493fb560e11b8552606060048601525160206064860152608485019061040b565b9160046024850152166044830152038173__$871508ae888325252fdba23f15f3f16064$__5af49081156105d6576000916114d7575090565b90606060405161157a81610142565b52600460ff604083015116019160ff8311611405576115a96115a161044194602093611c63565b835190611c94565b91015190611c94565b9060ff6115d36020929594956040855251836040860152606085019061040b565b9416910152565b906115e36111e6565b50600073__$871508ae888325252fdba23f15f3f16064$__925b6004908183101561167a576001600160fd1b0383168303611405576116429160009160405193849283926327e28fab60e01b845260ff898960031b1c169184016115b2565b0381875af480156105d657600191600091611661575b509101906115fd565b611674913d8091833e6105c88183610198565b38611658565b935050505090565b90916116d86116cd6116be6116aa60409560606040516116a181610142565b528751906115da565b6001600160401b0360208801511690611456565b61ffff604087015116906119ef565b606085015190611c94565b9061170c6116fb6116f0608094608088015190611c94565b60a087015190611c94565b63ffffffff60c087015116906114ec565b906000916117186111e6565b509373__$871508ae888325252fdba23f15f3f16064$__925b8060071c9586156117975782516327e28fab60e01b8152916000918391829161176391607f168a1790600484016115b2565b0381875af49081156105d65760009161177e575b5094611731565b611791913d8091833e6105c88183610198565b38611777565b929694506117c79550600093915060ff90604051968794859384936327e28fab60e01b85521690600484016115b2565b03915af49081156105d657610441926000926117ea575b506101000151906112ec565b610100919250611804903d806000833e6105c88183610198565b91906117de565b604051906118188261017d565b60048252635349475f60e01b6020830152565b60405162461bcd60e51b815260206004820152601860248201527f556e68616e646c6564207369676e6174757265207479706500000000000000006044820152606490fd5b6040519061187d8261017d565b6002825261115160f21b6020830152565b6040519061189b8261017d565b6002825261454d60f01b6020830152565b604051906118b98261017d565b6002825261574160f01b6020830152565b604051906118d78261017d565b6002825261523160f01b6020830152565b604051906118f58261017d565b60028252614b3160f01b6020830152565b9060208282031261023b5781516001600160401b03811161023b576104419201611223565b9061193e602092828151948592016103e8565b0190565b602061067b91939293604051948161196387935180928680870191016103e8565b8201611977825180938680850191016103e8565b01038085520183610198565b908151811015610d68570160200190565b604051906119a18261017d565b60018252605f60f81b6020830152565b90602061044192818152019061040b565b9060206119e66104419360606040516119da81610142565b5260ff84511690611c63565b9101519061156b565b611a0760009161ffff93606060405161150681610142565b9160026024850152166044830152038173__$871508ae888325252fdba23f15f3f16064$__5af49081156105d6576000916114d7575090565b611a5b906060604051611a5281610142565b52825190611bd7565b906000915b8151831015611a8857611a80600191611a79858561120f565b51906119c2565b920191611a60565b91505090565b611ad9600091611a9c6111e6565b506114ac611ab363ffffffff928387511690611bd7565b9160606040805197889687966396aa28df60e01b88528360048901526044880190610430565b9360031987860301602488015280825116855260208201511660208501520151918160408201520190610430565b601490611b126111e6565b5073__$871508ae888325252fdba23f15f3f16064$__915b8060071c918215611b9657607f91611b6091604051809381926327e28fab60e01b835260806000978896161790600484016115b2565b0381875af49182156105d6578092611b7b575b505090611b2a565b611b8f92503d8091833e6105c88183610198565b3880611b73565b6040516327e28fab60e01b815293600093508492909183918291611bc19160ff1690600484016115b2565b03915af49081156105d6576000916114d7575090565b611bdf6111e6565b5073__$871508ae888325252fdba23f15f3f16064$__915b8060071c918215611b9657607f91611c2d91604051809381926327e28fab60e01b835260806000978896161790600484016115b2565b0381875af49182156105d6578092611c48575b505090611bf7565b611c5c92503d8091833e6105c88183610198565b3880611c40565b6114ac916000916060604051611c7881610142565b526040516327e28fab60e01b81529384928392600484016115b2565b6114ac916000916060604051611ca981610142565b5260405191611cb78361017d565b6020808452830152604051638353c19960e01b81529384928392600484016112b356fea2646970667358221220bf2a83735bcde967f0dd0fe1f5cadf4c757ce490f3899fffbcf0e26035b674a464736f6c63430008190033",
936
+ "linkReferences": {
937
+ "contracts/common/Base58.sol": {
938
+ "Base58": [
939
+ {
940
+ "length": 20,
941
+ "start": 3205
942
+ }
943
+ ]
944
+ },
945
+ "contracts/common/iodata.sol": {
946
+ "iodata": [
947
+ {
948
+ "length": 20,
949
+ "start": 1438
950
+ },
951
+ {
952
+ "length": 20,
953
+ "start": 1585
954
+ },
955
+ {
956
+ "length": 20,
957
+ "start": 2800
958
+ },
959
+ {
960
+ "length": 20,
961
+ "start": 3793
962
+ },
963
+ {
964
+ "length": 20,
965
+ "start": 4420
966
+ },
967
+ {
968
+ "length": 20,
969
+ "start": 4562
970
+ },
971
+ {
972
+ "length": 20,
973
+ "start": 5017
974
+ },
975
+ {
976
+ "length": 20,
977
+ "start": 5327
978
+ },
979
+ {
980
+ "length": 20,
981
+ "start": 5475
982
+ },
983
+ {
984
+ "length": 20,
985
+ "start": 5639
986
+ },
987
+ {
988
+ "length": 20,
989
+ "start": 5947
990
+ },
991
+ {
992
+ "length": 20,
993
+ "start": 6712
994
+ },
995
+ {
996
+ "length": 20,
997
+ "start": 6964
998
+ },
999
+ {
1000
+ "length": 20,
1001
+ "start": 7169
1002
+ }
1003
+ ]
1004
+ }
1005
+ },
1006
+ "deployedLinkReferences": {
1007
+ "contracts/common/Base58.sol": {
1008
+ "Base58": [
1009
+ {
1010
+ "length": 20,
1011
+ "start": 3174
1012
+ }
1013
+ ]
1014
+ },
1015
+ "contracts/common/iodata.sol": {
1016
+ "iodata": [
1017
+ {
1018
+ "length": 20,
1019
+ "start": 1407
1020
+ },
1021
+ {
1022
+ "length": 20,
1023
+ "start": 1554
1024
+ },
1025
+ {
1026
+ "length": 20,
1027
+ "start": 2769
1028
+ },
1029
+ {
1030
+ "length": 20,
1031
+ "start": 3762
1032
+ },
1033
+ {
1034
+ "length": 20,
1035
+ "start": 4389
1036
+ },
1037
+ {
1038
+ "length": 20,
1039
+ "start": 4531
1040
+ },
1041
+ {
1042
+ "length": 20,
1043
+ "start": 4986
1044
+ },
1045
+ {
1046
+ "length": 20,
1047
+ "start": 5296
1048
+ },
1049
+ {
1050
+ "length": 20,
1051
+ "start": 5444
1052
+ },
1053
+ {
1054
+ "length": 20,
1055
+ "start": 5608
1056
+ },
1057
+ {
1058
+ "length": 20,
1059
+ "start": 5916
1060
+ },
1061
+ {
1062
+ "length": 20,
1063
+ "start": 6681
1064
+ },
1065
+ {
1066
+ "length": 20,
1067
+ "start": 6933
1068
+ },
1069
+ {
1070
+ "length": 20,
1071
+ "start": 7138
1072
+ }
1073
+ ]
1074
+ }
1075
+ }
1076
+ }