@wireio/stake 0.2.4 → 0.3.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 (100) hide show
  1. package/lib/stake.browser.js +5991 -4340
  2. package/lib/stake.browser.js.map +1 -1
  3. package/lib/stake.d.ts +74 -60
  4. package/lib/stake.js +9782 -8054
  5. package/lib/stake.js.map +1 -1
  6. package/lib/stake.m.js +5991 -4340
  7. package/lib/stake.m.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/assets/ethereum/ABI/liqEth/BeaconState.sol/BeaconState.dbg.json +4 -0
  10. package/src/assets/ethereum/ABI/liqEth/BeaconState.sol/BeaconState.json +807 -0
  11. package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.dbg.json +1 -1
  12. package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.json +184 -346
  13. package/src/assets/ethereum/ABI/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +4 -0
  14. package/src/assets/ethereum/ABI/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +1289 -0
  15. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +1 -1
  16. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +1 -1
  17. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +1 -1
  18. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
  19. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
  20. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +1 -1
  21. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.json +36 -0
  22. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
  23. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +263 -0
  24. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +1 -1
  25. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.json +226 -0
  26. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +1 -1
  27. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +59 -0
  28. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +1 -1
  29. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +14 -12
  30. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +1 -1
  31. package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.json +2 -2
  32. package/src/assets/ethereum/ABI/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +4 -0
  33. package/src/assets/ethereum/ABI/liqEth/LiqEthManaged.sol/LiqEthManaged.json +229 -0
  34. package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +4 -0
  35. package/src/assets/ethereum/ABI/liqEth/{RewardsERC20Pausable.sol/RewardsERC20Pausable.json → RewardsERC20.sol/RewardsERC20Upgradeable.json} +140 -78
  36. package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +4 -0
  37. package/src/assets/ethereum/ABI/liqEth/{RewardsERC20.sol/RewardsERC20.json → RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json} +218 -30
  38. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.dbg.json +1 -1
  39. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.json +2 -2
  40. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.dbg.json +1 -1
  41. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.json +2 -2
  42. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.dbg.json +4 -0
  43. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.json +10 -0
  44. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.dbg.json +4 -0
  45. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.json +10 -0
  46. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.dbg.json +1 -1
  47. package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.json +121 -55
  48. package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.dbg.json +1 -1
  49. package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.json +836 -273
  50. package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.dbg.json +1 -1
  51. package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.json +150 -168
  52. package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.dbg.json +1 -1
  53. package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.json +301 -186
  54. package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.dbg.json +1 -1
  55. package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.json +814 -206
  56. package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +1 -1
  57. package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +244 -198
  58. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +1 -1
  59. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.json +2 -2
  60. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +1 -1
  61. package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.json +165 -152
  62. package/src/assets/ethereum/ABI/outpost/Aggregator.sol/Aggregator.json +82 -0
  63. package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.dbg.json +1 -1
  64. package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.json +167 -282
  65. package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +1 -1
  66. package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +1 -1
  67. package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +2 -54
  68. package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.dbg.json +1 -1
  69. package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.json +26 -8
  70. package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.dbg.json +1 -1
  71. package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.json +2 -2
  72. package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.dbg.json +4 -0
  73. package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.json +1650 -0
  74. package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +1 -1
  75. package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.json +2 -22
  76. package/src/assets/ethereum/ABI/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +4 -0
  77. package/src/assets/ethereum/ABI/outpost/interfaces/IPretoken.sol/IPretoken.json +29 -0
  78. package/src/assets/ethereum/ABI/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +1 -1
  79. package/src/networks/ethereum/clients/deposit.client.ts +86 -8
  80. package/src/networks/ethereum/clients/liq.client.ts +47 -0
  81. package/src/networks/ethereum/clients/pretoken.client.ts +127 -0
  82. package/src/networks/ethereum/clients/stake.client.ts +87 -24
  83. package/src/networks/ethereum/contract.ts +34 -48
  84. package/src/networks/ethereum/ethereum.ts +219 -96
  85. package/src/networks/ethereum/types.ts +9 -6
  86. package/src/networks/ethereum/utils.ts +308 -0
  87. package/src/networks/solana/clients/token.client.ts +0 -1
  88. package/src/networks/solana/solana.ts +44 -146
  89. package/src/networks/solana/types.ts +6 -2
  90. package/src/networks/solana/utils.ts +4 -6
  91. package/src/staker/types.ts +62 -0
  92. package/src/types.ts +18 -33
  93. package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20.dbg.json +0 -4
  94. package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20Pausable.dbg.json +0 -4
  95. package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.dbg.json +0 -4
  96. package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.json +0 -10
  97. package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.dbg.json +0 -4
  98. package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.json +0 -10
  99. package/src/assets/ethereum/ABI/outpost/Warrant.sol/Warrant.dbg.json +0 -4
  100. package/src/assets/ethereum/ABI/outpost/Warrant.sol/Warrant.json +0 -1650
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
- "contractName": "RewardsERC20Pausable",
4
- "sourceName": "contracts/liqEth/RewardsERC20Pausable.sol",
3
+ "contractName": "RewardsERC20Upgradeable",
4
+ "sourceName": "contracts/liqEth/RewardsERC20.sol",
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [],
@@ -143,16 +143,6 @@
143
143
  "name": "ERC2612InvalidSigner",
144
144
  "type": "error"
145
145
  },
146
- {
147
- "inputs": [],
148
- "name": "EnforcedPause",
149
- "type": "error"
150
- },
151
- {
152
- "inputs": [],
153
- "name": "ExpectedPause",
154
- "type": "error"
155
- },
156
146
  {
157
147
  "inputs": [
158
148
  {
@@ -171,18 +161,33 @@
171
161
  },
172
162
  {
173
163
  "inputs": [],
174
- "name": "InvalidShortString",
164
+ "name": "InvalidInitialization",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "NotInitializing",
175
170
  "type": "error"
176
171
  },
177
172
  {
178
173
  "inputs": [
179
174
  {
180
- "internalType": "string",
181
- "name": "str",
182
- "type": "string"
175
+ "internalType": "address",
176
+ "name": "receiver",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "balance",
182
+ "type": "uint256"
183
+ },
184
+ {
185
+ "internalType": "uint256",
186
+ "name": "liqEthValue",
187
+ "type": "uint256"
183
188
  }
184
189
  ],
185
- "name": "StringTooLong",
190
+ "name": "RewardsERC20InsufficientValue",
186
191
  "type": "error"
187
192
  },
188
193
  {
@@ -259,12 +264,12 @@
259
264
  "inputs": [
260
265
  {
261
266
  "indexed": false,
262
- "internalType": "address",
263
- "name": "account",
264
- "type": "address"
267
+ "internalType": "uint64",
268
+ "name": "version",
269
+ "type": "uint64"
265
270
  }
266
271
  ],
267
- "name": "Paused",
272
+ "name": "Initialized",
268
273
  "type": "event"
269
274
  },
270
275
  {
@@ -346,62 +351,84 @@
346
351
  "anonymous": false,
347
352
  "inputs": [
348
353
  {
349
- "indexed": false,
354
+ "indexed": true,
350
355
  "internalType": "address",
351
- "name": "account",
356
+ "name": "from",
352
357
  "type": "address"
358
+ },
359
+ {
360
+ "indexed": false,
361
+ "internalType": "uint256",
362
+ "name": "liqEthAmount",
363
+ "type": "uint256"
364
+ },
365
+ {
366
+ "indexed": false,
367
+ "internalType": "uint256",
368
+ "name": "shares",
369
+ "type": "uint256"
370
+ },
371
+ {
372
+ "indexed": false,
373
+ "internalType": "uint256",
374
+ "name": "oldIndex",
375
+ "type": "uint256"
376
+ },
377
+ {
378
+ "indexed": false,
379
+ "internalType": "uint256",
380
+ "name": "newIndex",
381
+ "type": "uint256"
353
382
  }
354
383
  ],
355
- "name": "Unpaused",
384
+ "name": "ValueShiftedFrom",
356
385
  "type": "event"
357
386
  },
358
387
  {
359
- "inputs": [],
360
- "name": "DOMAIN_SEPARATOR",
361
- "outputs": [
388
+ "anonymous": false,
389
+ "inputs": [
362
390
  {
363
- "internalType": "bytes32",
364
- "name": "",
365
- "type": "bytes32"
366
- }
367
- ],
368
- "stateMutability": "view",
369
- "type": "function"
370
- },
371
- {
372
- "inputs": [],
373
- "name": "_index",
374
- "outputs": [
391
+ "indexed": true,
392
+ "internalType": "address",
393
+ "name": "to",
394
+ "type": "address"
395
+ },
375
396
  {
397
+ "indexed": false,
376
398
  "internalType": "uint256",
377
- "name": "",
399
+ "name": "liqEthAmount",
378
400
  "type": "uint256"
379
- }
380
- ],
381
- "stateMutability": "view",
382
- "type": "function"
383
- },
384
- {
385
- "inputs": [],
386
- "name": "_totalShares",
387
- "outputs": [
401
+ },
388
402
  {
403
+ "indexed": false,
389
404
  "internalType": "uint256",
390
- "name": "",
405
+ "name": "shares",
406
+ "type": "uint256"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "uint256",
411
+ "name": "oldIndex",
412
+ "type": "uint256"
413
+ },
414
+ {
415
+ "indexed": false,
416
+ "internalType": "uint256",
417
+ "name": "newIndex",
391
418
  "type": "uint256"
392
419
  }
393
420
  ],
394
- "stateMutability": "view",
395
- "type": "function"
421
+ "name": "ValueShiftedTo",
422
+ "type": "event"
396
423
  },
397
424
  {
398
425
  "inputs": [],
399
- "name": "_unit",
426
+ "name": "DOMAIN_SEPARATOR",
400
427
  "outputs": [
401
428
  {
402
- "internalType": "uint256",
429
+ "internalType": "bytes32",
403
430
  "name": "",
404
- "type": "uint256"
431
+ "type": "bytes32"
405
432
  }
406
433
  ],
407
434
  "stateMutability": "view",
@@ -556,6 +583,19 @@
556
583
  "stateMutability": "nonpayable",
557
584
  "type": "function"
558
585
  },
586
+ {
587
+ "inputs": [],
588
+ "name": "index",
589
+ "outputs": [
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "",
593
+ "type": "uint256"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
559
599
  {
560
600
  "inputs": [
561
601
  {
@@ -612,26 +652,6 @@
612
652
  "stateMutability": "view",
613
653
  "type": "function"
614
654
  },
615
- {
616
- "inputs": [],
617
- "name": "pause",
618
- "outputs": [],
619
- "stateMutability": "nonpayable",
620
- "type": "function"
621
- },
622
- {
623
- "inputs": [],
624
- "name": "paused",
625
- "outputs": [
626
- {
627
- "internalType": "bool",
628
- "name": "",
629
- "type": "bool"
630
- }
631
- ],
632
- "stateMutability": "view",
633
- "type": "function"
634
- },
635
655
  {
636
656
  "inputs": [
637
657
  {
@@ -718,6 +738,42 @@
718
738
  "stateMutability": "nonpayable",
719
739
  "type": "function"
720
740
  },
741
+ {
742
+ "inputs": [
743
+ {
744
+ "internalType": "address",
745
+ "name": "from",
746
+ "type": "address"
747
+ },
748
+ {
749
+ "internalType": "uint256",
750
+ "name": "liqEthAmount",
751
+ "type": "uint256"
752
+ }
753
+ ],
754
+ "name": "shiftValueFrom",
755
+ "outputs": [],
756
+ "stateMutability": "nonpayable",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [
761
+ {
762
+ "internalType": "address",
763
+ "name": "to",
764
+ "type": "address"
765
+ },
766
+ {
767
+ "internalType": "uint256",
768
+ "name": "liqEthAmount",
769
+ "type": "uint256"
770
+ }
771
+ ],
772
+ "name": "shiftValueTo",
773
+ "outputs": [],
774
+ "stateMutability": "nonpayable",
775
+ "type": "function"
776
+ },
721
777
  {
722
778
  "inputs": [],
723
779
  "name": "symbol",
@@ -799,9 +855,15 @@
799
855
  },
800
856
  {
801
857
  "inputs": [],
802
- "name": "unpause",
803
- "outputs": [],
804
- "stateMutability": "nonpayable",
858
+ "name": "unit",
859
+ "outputs": [
860
+ {
861
+ "internalType": "uint256",
862
+ "name": "",
863
+ "type": "uint256"
864
+ }
865
+ ],
866
+ "stateMutability": "view",
805
867
  "type": "function"
806
868
  }
807
869
  ],
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/b5e46b2b97b85c57c7cd2a26cf972153.json"
4
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
- "contractName": "RewardsERC20",
4
- "sourceName": "contracts/liqEth/RewardsERC20.sol",
3
+ "contractName": "RewardsERC20PausableUpgradeable",
4
+ "sourceName": "contracts/liqEth/RewardsERC20Pausable.sol",
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [],
@@ -143,6 +143,16 @@
143
143
  "name": "ERC2612InvalidSigner",
144
144
  "type": "error"
145
145
  },
146
+ {
147
+ "inputs": [],
148
+ "name": "EnforcedPause",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [],
153
+ "name": "ExpectedPause",
154
+ "type": "error"
155
+ },
146
156
  {
147
157
  "inputs": [
148
158
  {
@@ -161,18 +171,33 @@
161
171
  },
162
172
  {
163
173
  "inputs": [],
164
- "name": "InvalidShortString",
174
+ "name": "InvalidInitialization",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [],
179
+ "name": "NotInitializing",
165
180
  "type": "error"
166
181
  },
167
182
  {
168
183
  "inputs": [
169
184
  {
170
- "internalType": "string",
171
- "name": "str",
172
- "type": "string"
185
+ "internalType": "address",
186
+ "name": "receiver",
187
+ "type": "address"
188
+ },
189
+ {
190
+ "internalType": "uint256",
191
+ "name": "balance",
192
+ "type": "uint256"
193
+ },
194
+ {
195
+ "internalType": "uint256",
196
+ "name": "liqEthValue",
197
+ "type": "uint256"
173
198
  }
174
199
  ],
175
- "name": "StringTooLong",
200
+ "name": "RewardsERC20InsufficientValue",
176
201
  "type": "error"
177
202
  },
178
203
  {
@@ -244,6 +269,32 @@
244
269
  "name": "IndexIncreased",
245
270
  "type": "event"
246
271
  },
272
+ {
273
+ "anonymous": false,
274
+ "inputs": [
275
+ {
276
+ "indexed": false,
277
+ "internalType": "uint64",
278
+ "name": "version",
279
+ "type": "uint64"
280
+ }
281
+ ],
282
+ "name": "Initialized",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "anonymous": false,
287
+ "inputs": [
288
+ {
289
+ "indexed": false,
290
+ "internalType": "address",
291
+ "name": "account",
292
+ "type": "address"
293
+ }
294
+ ],
295
+ "name": "Paused",
296
+ "type": "event"
297
+ },
247
298
  {
248
299
  "anonymous": false,
249
300
  "inputs": [
@@ -320,52 +371,100 @@
320
371
  "type": "event"
321
372
  },
322
373
  {
323
- "inputs": [],
324
- "name": "DOMAIN_SEPARATOR",
325
- "outputs": [
374
+ "anonymous": false,
375
+ "inputs": [
326
376
  {
327
- "internalType": "bytes32",
328
- "name": "",
329
- "type": "bytes32"
377
+ "indexed": false,
378
+ "internalType": "address",
379
+ "name": "account",
380
+ "type": "address"
330
381
  }
331
382
  ],
332
- "stateMutability": "view",
333
- "type": "function"
383
+ "name": "Unpaused",
384
+ "type": "event"
334
385
  },
335
386
  {
336
- "inputs": [],
337
- "name": "_index",
338
- "outputs": [
387
+ "anonymous": false,
388
+ "inputs": [
339
389
  {
390
+ "indexed": true,
391
+ "internalType": "address",
392
+ "name": "from",
393
+ "type": "address"
394
+ },
395
+ {
396
+ "indexed": false,
340
397
  "internalType": "uint256",
341
- "name": "",
398
+ "name": "liqEthAmount",
399
+ "type": "uint256"
400
+ },
401
+ {
402
+ "indexed": false,
403
+ "internalType": "uint256",
404
+ "name": "shares",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "indexed": false,
409
+ "internalType": "uint256",
410
+ "name": "oldIndex",
411
+ "type": "uint256"
412
+ },
413
+ {
414
+ "indexed": false,
415
+ "internalType": "uint256",
416
+ "name": "newIndex",
342
417
  "type": "uint256"
343
418
  }
344
419
  ],
345
- "stateMutability": "view",
346
- "type": "function"
420
+ "name": "ValueShiftedFrom",
421
+ "type": "event"
347
422
  },
348
423
  {
349
- "inputs": [],
350
- "name": "_totalShares",
351
- "outputs": [
424
+ "anonymous": false,
425
+ "inputs": [
426
+ {
427
+ "indexed": true,
428
+ "internalType": "address",
429
+ "name": "to",
430
+ "type": "address"
431
+ },
432
+ {
433
+ "indexed": false,
434
+ "internalType": "uint256",
435
+ "name": "liqEthAmount",
436
+ "type": "uint256"
437
+ },
352
438
  {
439
+ "indexed": false,
353
440
  "internalType": "uint256",
354
- "name": "",
441
+ "name": "shares",
442
+ "type": "uint256"
443
+ },
444
+ {
445
+ "indexed": false,
446
+ "internalType": "uint256",
447
+ "name": "oldIndex",
448
+ "type": "uint256"
449
+ },
450
+ {
451
+ "indexed": false,
452
+ "internalType": "uint256",
453
+ "name": "newIndex",
355
454
  "type": "uint256"
356
455
  }
357
456
  ],
358
- "stateMutability": "view",
359
- "type": "function"
457
+ "name": "ValueShiftedTo",
458
+ "type": "event"
360
459
  },
361
460
  {
362
461
  "inputs": [],
363
- "name": "_unit",
462
+ "name": "DOMAIN_SEPARATOR",
364
463
  "outputs": [
365
464
  {
366
- "internalType": "uint256",
465
+ "internalType": "bytes32",
367
466
  "name": "",
368
- "type": "uint256"
467
+ "type": "bytes32"
369
468
  }
370
469
  ],
371
470
  "stateMutability": "view",
@@ -520,6 +619,19 @@
520
619
  "stateMutability": "nonpayable",
521
620
  "type": "function"
522
621
  },
622
+ {
623
+ "inputs": [],
624
+ "name": "index",
625
+ "outputs": [
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "",
629
+ "type": "uint256"
630
+ }
631
+ ],
632
+ "stateMutability": "view",
633
+ "type": "function"
634
+ },
523
635
  {
524
636
  "inputs": [
525
637
  {
@@ -576,6 +688,26 @@
576
688
  "stateMutability": "view",
577
689
  "type": "function"
578
690
  },
691
+ {
692
+ "inputs": [],
693
+ "name": "pause",
694
+ "outputs": [],
695
+ "stateMutability": "nonpayable",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [],
700
+ "name": "paused",
701
+ "outputs": [
702
+ {
703
+ "internalType": "bool",
704
+ "name": "",
705
+ "type": "bool"
706
+ }
707
+ ],
708
+ "stateMutability": "view",
709
+ "type": "function"
710
+ },
579
711
  {
580
712
  "inputs": [
581
713
  {
@@ -662,6 +794,42 @@
662
794
  "stateMutability": "nonpayable",
663
795
  "type": "function"
664
796
  },
797
+ {
798
+ "inputs": [
799
+ {
800
+ "internalType": "address",
801
+ "name": "from",
802
+ "type": "address"
803
+ },
804
+ {
805
+ "internalType": "uint256",
806
+ "name": "liqEthAmount",
807
+ "type": "uint256"
808
+ }
809
+ ],
810
+ "name": "shiftValueFrom",
811
+ "outputs": [],
812
+ "stateMutability": "nonpayable",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [
817
+ {
818
+ "internalType": "address",
819
+ "name": "to",
820
+ "type": "address"
821
+ },
822
+ {
823
+ "internalType": "uint256",
824
+ "name": "liqEthAmount",
825
+ "type": "uint256"
826
+ }
827
+ ],
828
+ "name": "shiftValueTo",
829
+ "outputs": [],
830
+ "stateMutability": "nonpayable",
831
+ "type": "function"
832
+ },
665
833
  {
666
834
  "inputs": [],
667
835
  "name": "symbol",
@@ -740,6 +908,26 @@
740
908
  ],
741
909
  "stateMutability": "nonpayable",
742
910
  "type": "function"
911
+ },
912
+ {
913
+ "inputs": [],
914
+ "name": "unit",
915
+ "outputs": [
916
+ {
917
+ "internalType": "uint256",
918
+ "name": "",
919
+ "type": "uint256"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "unpause",
928
+ "outputs": [],
929
+ "stateMutability": "nonpayable",
930
+ "type": "function"
743
931
  }
744
932
  ],
745
933
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/db23a3a8c14b21d3c03408dd1d3ebe3e.json"
3
+ "buildInfo": "../../../build-info/b5e46b2b97b85c57c7cd2a26cf972153.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "BeaconRoots",
4
4
  "sourceName": "contracts/liqEth/ValidatorBalanceVerifier.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220b10d1b5f015caa1a1c5be9ce8b81bba1bd2e94dacf79c48dbe6dbd2b554c818664736f6c63430008190033",
7
- "deployedBytecode": "0x600080fdfea2646970667358221220b10d1b5f015caa1a1c5be9ce8b81bba1bd2e94dacf79c48dbe6dbd2b554c818664736f6c63430008190033",
6
+ "bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212205929e6d47abd57360b3b4a693fd02ffc914ee421946709f79543eb45d9d83cf464736f6c63430008190033",
7
+ "deployedBytecode": "0x600080fdfea26469706673582212205929e6d47abd57360b3b4a693fd02ffc914ee421946709f79543eb45d9d83cf464736f6c63430008190033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/db23a3a8c14b21d3c03408dd1d3ebe3e.json"
3
+ "buildInfo": "../../../build-info/b5e46b2b97b85c57c7cd2a26cf972153.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "SSZ",
4
4
  "sourceName": "contracts/liqEth/ValidatorBalanceVerifier.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220112905835c689ba09f80b0c2cfbcc0215846ec453ca95a2cfd48d00930fc946364736f6c63430008190033",
7
- "deployedBytecode": "0x600080fdfea2646970667358221220112905835c689ba09f80b0c2cfbcc0215846ec453ca95a2cfd48d00930fc946364736f6c63430008190033",
6
+ "bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212208e86ba8a0ca879e7aaa6715b41e1830cf4b6301e2c95453171a9c2f0e1487d9464736f6c63430008190033",
7
+ "deployedBytecode": "0x600080fdfea26469706673582212208e86ba8a0ca879e7aaa6715b41e1830cf4b6301e2c95453171a9c2f0e1487d9464736f6c63430008190033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/b5e46b2b97b85c57c7cd2a26cf972153.json"
4
+ }