@wireio/stake 0.2.5 → 0.3.1
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/lib/stake.browser.js +2456 -2069
- package/lib/stake.browser.js.map +1 -1
- package/lib/stake.d.ts +25 -52
- package/lib/stake.js +2610 -2206
- package/lib/stake.js.map +1 -1
- package/lib/stake.m.js +2456 -2069
- package/lib/stake.m.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/BeaconState.sol/BeaconState.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/BeaconState.sol/BeaconState.json +807 -0
- package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.json +184 -346
- package/src/assets/ethereum/ABI/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthAuthority.sol/LiqEthAuthority.json +1289 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.json +29 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.json +36 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.json +263 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.json +226 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +59 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +14 -12
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.json +2 -2
- package/src/assets/ethereum/ABI/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthManaged.sol/LiqEthManaged.json +229 -0
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/{RewardsERC20Pausable.sol/RewardsERC20Pausable.json → RewardsERC20.sol/RewardsERC20Upgradeable.json} +140 -78
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/{RewardsERC20.sol/RewardsERC20.json → RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.json} +218 -30
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.json +2 -2
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.json +2 -2
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.json +10 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.json +10 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.json +121 -55
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.json +836 -273
- package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.json +150 -168
- package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.json +301 -186
- package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.json +814 -206
- package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +244 -198
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.json +2 -2
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.json +165 -152
- package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.json +167 -282
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +2 -54
- package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.json +26 -8
- package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.json +2 -2
- package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.json +1650 -0
- package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.json +2 -22
- package/src/assets/ethereum/ABI/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/interfaces/IPretoken.sol/IPretoken.json +29 -0
- package/src/assets/ethereum/ABI/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +1 -1
- package/src/networks/ethereum/clients/deposit.client.ts +11 -7
- package/src/networks/ethereum/clients/liq.client.ts +47 -0
- package/src/networks/ethereum/clients/pretoken.client.ts +47 -50
- package/src/networks/ethereum/contract.ts +24 -51
- package/src/networks/ethereum/ethereum.ts +29 -52
- package/src/networks/ethereum/types.ts +7 -6
- package/src/networks/ethereum/utils.ts +2 -8
- package/src/networks/solana/clients/token.client.ts +0 -1
- package/src/networks/solana/solana.ts +44 -145
- package/src/networks/solana/types.ts +4 -1
- package/src/networks/solana/utils.ts +1 -3
- package/src/types.ts +5 -33
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20Pausable.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.json +0 -10
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.json +0 -10
- package/src/assets/ethereum/ABI/outpost/Warrant.sol/Warrant.dbg.json +0 -4
- 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": "
|
|
4
|
-
"sourceName": "contracts/liqEth/
|
|
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": "
|
|
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": "
|
|
181
|
-
"name": "
|
|
182
|
-
"type": "
|
|
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": "
|
|
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": "
|
|
263
|
-
"name": "
|
|
264
|
-
"type": "
|
|
267
|
+
"internalType": "uint64",
|
|
268
|
+
"name": "version",
|
|
269
|
+
"type": "uint64"
|
|
265
270
|
}
|
|
266
271
|
],
|
|
267
|
-
"name": "
|
|
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":
|
|
354
|
+
"indexed": true,
|
|
350
355
|
"internalType": "address",
|
|
351
|
-
"name": "
|
|
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": "
|
|
384
|
+
"name": "ValueShiftedFrom",
|
|
356
385
|
"type": "event"
|
|
357
386
|
},
|
|
358
387
|
{
|
|
359
|
-
"
|
|
360
|
-
"
|
|
361
|
-
"outputs": [
|
|
388
|
+
"anonymous": false,
|
|
389
|
+
"inputs": [
|
|
362
390
|
{
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
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
|
-
"
|
|
395
|
-
"type": "
|
|
421
|
+
"name": "ValueShiftedTo",
|
|
422
|
+
"type": "event"
|
|
396
423
|
},
|
|
397
424
|
{
|
|
398
425
|
"inputs": [],
|
|
399
|
-
"name": "
|
|
426
|
+
"name": "DOMAIN_SEPARATOR",
|
|
400
427
|
"outputs": [
|
|
401
428
|
{
|
|
402
|
-
"internalType": "
|
|
429
|
+
"internalType": "bytes32",
|
|
403
430
|
"name": "",
|
|
404
|
-
"type": "
|
|
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": "
|
|
803
|
-
"outputs": [
|
|
804
|
-
|
|
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
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "
|
|
4
|
-
"sourceName": "contracts/liqEth/
|
|
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": "
|
|
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": "
|
|
171
|
-
"name": "
|
|
172
|
-
"type": "
|
|
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": "
|
|
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
|
-
"
|
|
324
|
-
"
|
|
325
|
-
"outputs": [
|
|
374
|
+
"anonymous": false,
|
|
375
|
+
"inputs": [
|
|
326
376
|
{
|
|
327
|
-
"
|
|
328
|
-
"
|
|
329
|
-
"
|
|
377
|
+
"indexed": false,
|
|
378
|
+
"internalType": "address",
|
|
379
|
+
"name": "account",
|
|
380
|
+
"type": "address"
|
|
330
381
|
}
|
|
331
382
|
],
|
|
332
|
-
"
|
|
333
|
-
"type": "
|
|
383
|
+
"name": "Unpaused",
|
|
384
|
+
"type": "event"
|
|
334
385
|
},
|
|
335
386
|
{
|
|
336
|
-
"
|
|
337
|
-
"
|
|
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
|
-
"
|
|
346
|
-
"type": "
|
|
420
|
+
"name": "ValueShiftedFrom",
|
|
421
|
+
"type": "event"
|
|
347
422
|
},
|
|
348
423
|
{
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
|
|
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
|
-
"
|
|
359
|
-
"type": "
|
|
457
|
+
"name": "ValueShiftedTo",
|
|
458
|
+
"type": "event"
|
|
360
459
|
},
|
|
361
460
|
{
|
|
362
461
|
"inputs": [],
|
|
363
|
-
"name": "
|
|
462
|
+
"name": "DOMAIN_SEPARATOR",
|
|
364
463
|
"outputs": [
|
|
365
464
|
{
|
|
366
|
-
"internalType": "
|
|
465
|
+
"internalType": "bytes32",
|
|
367
466
|
"name": "",
|
|
368
|
-
"type": "
|
|
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",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "BeaconRoots",
|
|
4
4
|
"sourceName": "contracts/liqEth/ValidatorBalanceVerifier.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212205929e6d47abd57360b3b4a693fd02ffc914ee421946709f79543eb45d9d83cf464736f6c63430008190033",
|
|
7
|
+
"deployedBytecode": "0x600080fdfea26469706673582212205929e6d47abd57360b3b4a693fd02ffc914ee421946709f79543eb45d9d83cf464736f6c63430008190033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "SSZ",
|
|
4
4
|
"sourceName": "contracts/liqEth/ValidatorBalanceVerifier.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212208e86ba8a0ca879e7aaa6715b41e1830cf4b6301e2c95453171a9c2f0e1487d9464736f6c63430008190033",
|
|
7
|
+
"deployedBytecode": "0x600080fdfea26469706673582212208e86ba8a0ca879e7aaa6715b41e1830cf4b6301e2c95453171a9c2f0e1487d9464736f6c63430008190033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|