@keep-network/tbtc-v2 1.0.0-dev.3 → 1.0.0-dev.5
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/artifacts/BLS.json +1 -1
- package/artifacts/Bank.json +3 -3
- package/artifacts/BeaconAuthorization.json +1 -1
- package/artifacts/BeaconDkg.json +1 -1
- package/artifacts/BeaconDkgValidator.json +1 -1
- package/artifacts/BeaconInactivity.json +1 -1
- package/artifacts/BeaconSortitionPool.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/BridgeGovernance.json +11 -11
- package/artifacts/BridgeGovernanceParameters.json +12 -9
- package/artifacts/Deposit.json +2 -2
- package/artifacts/DepositSweep.json +2 -2
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/EcdsaSortitionPool.json +3 -3
- package/artifacts/Fraud.json +2 -2
- package/artifacts/KeepRegistry.json +1 -1
- package/artifacts/KeepStake.json +2 -2
- package/artifacts/KeepToken.json +2 -2
- package/artifacts/KeepTokenStaking.json +1 -1
- package/artifacts/LightRelay.json +18 -18
- package/artifacts/MaintainerProxy.json +19 -19
- package/artifacts/MovingFunds.json +2 -2
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeacon.json +2 -2
- package/artifacts/RandomBeaconChaosnet.json +2 -2
- package/artifacts/RandomBeaconGovernance.json +2 -2
- package/artifacts/Redemption.json +2 -2
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +3 -3
- package/artifacts/TBTCToken.json +3 -3
- package/artifacts/TBTCVault.json +23 -23
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +10 -10
- package/artifacts/VendingMachineKeep.json +1 -1
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +2 -2
- package/artifacts/solcInputs/{e28c3bed541f57346a362a67f66ae471.json → b63dab89a2e89a0f54eb7f775a5bd516.json} +1 -1
- package/artifacts/solcInputs/{b448960fd13167193eb1e0994f1c8e1c.json → c88caf1374ff7ffc912d8c7e982bd645.json} +2 -2
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +136 -152
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.json +2 -2
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
- package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
- package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
- package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
- package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/bridge/BridgeGovernance.sol +150 -129
- package/contracts/bridge/BridgeGovernanceParameters.sol +0 -321
- package/deploy/06_deploy_bridge.ts +2 -1
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +181 -181
- package/export/artifacts/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +2128 -2904
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +67 -67
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +88 -88
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +217 -217
- package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +57 -57
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +4 -4
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +4 -4
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +133 -133
- package/export/deploy/06_deploy_bridge.js +2 -1
- package/export/tasks/test-utils.js +133 -43
- package/export/test/integration/data/bls.js +12 -0
- package/export/test/integration/data/integration.js +133 -0
- package/export/test/integration/utils/random-beacon.js +193 -0
- package/export/typechain/factories/BridgeGovernanceParameters__factory.js +1 -1
- package/export/typechain/factories/BridgeGovernance__factory.js +1 -1
- package/package.json +3 -3
- package/tasks/test-utils.ts +88 -4
|
@@ -107,21 +107,21 @@
|
|
|
107
107
|
},
|
|
108
108
|
"deployedBytecode": {
|
|
109
109
|
"functionDebugData": {
|
|
110
|
-
"@
|
|
110
|
+
"@receiveApproval_32853": {
|
|
111
111
|
"entryPoint": 157,
|
|
112
|
-
"id":
|
|
112
|
+
"id": 32853,
|
|
113
113
|
"parameterSlots": 5,
|
|
114
114
|
"returnSlots": 0
|
|
115
115
|
},
|
|
116
|
-
"@
|
|
116
|
+
"@setShouldRevert_32863": {
|
|
117
117
|
"entryPoint": null,
|
|
118
|
-
"id":
|
|
118
|
+
"id": 32863,
|
|
119
119
|
"parameterSlots": 1,
|
|
120
120
|
"returnSlots": 0
|
|
121
121
|
},
|
|
122
|
-
"@
|
|
122
|
+
"@shouldRevert_32816": {
|
|
123
123
|
"entryPoint": null,
|
|
124
|
-
"id":
|
|
124
|
+
"id": 32816,
|
|
125
125
|
"parameterSlots": 0,
|
|
126
126
|
"returnSlots": 0
|
|
127
127
|
},
|
|
@@ -2136,7 +2136,7 @@
|
|
|
2136
2136
|
"storageLayout": {
|
|
2137
2137
|
"storage": [
|
|
2138
2138
|
{
|
|
2139
|
-
"astId":
|
|
2139
|
+
"astId": 32816,
|
|
2140
2140
|
"contract": "contracts/test/ReceiveApprovalStub.sol:ReceiveApprovalStub",
|
|
2141
2141
|
"label": "shouldRevert",
|
|
2142
2142
|
"offset": 0,
|
|
@@ -124,15 +124,15 @@
|
|
|
124
124
|
"parameterSlots": 1,
|
|
125
125
|
"returnSlots": 1
|
|
126
126
|
},
|
|
127
|
-
"@
|
|
127
|
+
"@getCurrentEpochDifficulty_32947": {
|
|
128
128
|
"entryPoint": null,
|
|
129
|
-
"id":
|
|
129
|
+
"id": 32947,
|
|
130
130
|
"parameterSlots": 0,
|
|
131
131
|
"returnSlots": 1
|
|
132
132
|
},
|
|
133
|
-
"@
|
|
133
|
+
"@getPrevEpochDifficulty_32956": {
|
|
134
134
|
"entryPoint": null,
|
|
135
|
-
"id":
|
|
135
|
+
"id": 32956,
|
|
136
136
|
"parameterSlots": 0,
|
|
137
137
|
"returnSlots": 1
|
|
138
138
|
},
|
|
@@ -142,27 +142,27 @@
|
|
|
142
142
|
"parameterSlots": 1,
|
|
143
143
|
"returnSlots": 1
|
|
144
144
|
},
|
|
145
|
-
"@
|
|
145
|
+
"@setCurrentEpochDifficultyFromHeaders_32920": {
|
|
146
146
|
"entryPoint": 227,
|
|
147
|
-
"id":
|
|
147
|
+
"id": 32920,
|
|
148
148
|
"parameterSlots": 1,
|
|
149
149
|
"returnSlots": 0
|
|
150
150
|
},
|
|
151
|
-
"@
|
|
151
|
+
"@setCurrentEpochDifficulty_32892": {
|
|
152
152
|
"entryPoint": null,
|
|
153
|
-
"id":
|
|
153
|
+
"id": 32892,
|
|
154
154
|
"parameterSlots": 1,
|
|
155
155
|
"returnSlots": 0
|
|
156
156
|
},
|
|
157
|
-
"@
|
|
157
|
+
"@setPrevEpochDifficultyFromHeaders_32938": {
|
|
158
158
|
"entryPoint": 253,
|
|
159
|
-
"id":
|
|
159
|
+
"id": 32938,
|
|
160
160
|
"parameterSlots": 1,
|
|
161
161
|
"returnSlots": 0
|
|
162
162
|
},
|
|
163
|
-
"@
|
|
163
|
+
"@setPrevEpochDifficulty_32902": {
|
|
164
164
|
"entryPoint": null,
|
|
165
|
-
"id":
|
|
165
|
+
"id": 32902,
|
|
166
166
|
"parameterSlots": 1,
|
|
167
167
|
"returnSlots": 0
|
|
168
168
|
},
|
|
@@ -3367,7 +3367,7 @@
|
|
|
3367
3367
|
"storageLayout": {
|
|
3368
3368
|
"storage": [
|
|
3369
3369
|
{
|
|
3370
|
-
"astId":
|
|
3370
|
+
"astId": 32880,
|
|
3371
3371
|
"contract": "contracts/test/SystemTestRelay.sol:SystemTestRelay",
|
|
3372
3372
|
"label": "currentEpochDifficulty",
|
|
3373
3373
|
"offset": 0,
|
|
@@ -3375,7 +3375,7 @@
|
|
|
3375
3375
|
"type": "t_uint256"
|
|
3376
3376
|
},
|
|
3377
3377
|
{
|
|
3378
|
-
"astId":
|
|
3378
|
+
"astId": 32882,
|
|
3379
3379
|
"contract": "contracts/test/SystemTestRelay.sol:SystemTestRelay",
|
|
3380
3380
|
"label": "prevEpochDifficulty",
|
|
3381
3381
|
"offset": 0,
|
|
@@ -570,9 +570,9 @@
|
|
|
570
570
|
"parameterSlots": 2,
|
|
571
571
|
"returnSlots": 0
|
|
572
572
|
},
|
|
573
|
-
"@
|
|
573
|
+
"@_32976": {
|
|
574
574
|
"entryPoint": null,
|
|
575
|
-
"id":
|
|
575
|
+
"id": 32976,
|
|
576
576
|
"parameterSlots": 0,
|
|
577
577
|
"returnSlots": 0
|
|
578
578
|
},
|
|
@@ -3710,9 +3710,9 @@
|
|
|
3710
3710
|
"parameterSlots": 0,
|
|
3711
3711
|
"returnSlots": 1
|
|
3712
3712
|
},
|
|
3713
|
-
"@
|
|
3713
|
+
"@NAME_32965": {
|
|
3714
3714
|
"entryPoint": null,
|
|
3715
|
-
"id":
|
|
3715
|
+
"id": 32965,
|
|
3716
3716
|
"parameterSlots": 0,
|
|
3717
3717
|
"returnSlots": 0
|
|
3718
3718
|
},
|
|
@@ -3722,9 +3722,9 @@
|
|
|
3722
3722
|
"parameterSlots": 0,
|
|
3723
3723
|
"returnSlots": 0
|
|
3724
3724
|
},
|
|
3725
|
-
"@
|
|
3725
|
+
"@SYMBOL_32968": {
|
|
3726
3726
|
"entryPoint": null,
|
|
3727
|
-
"id":
|
|
3727
|
+
"id": 32968,
|
|
3728
3728
|
"parameterSlots": 0,
|
|
3729
3729
|
"returnSlots": 0
|
|
3730
3730
|
},
|
|
@@ -440,9 +440,9 @@
|
|
|
440
440
|
"parameterSlots": 2,
|
|
441
441
|
"returnSlots": 0
|
|
442
442
|
},
|
|
443
|
-
"@
|
|
443
|
+
"@_32996": {
|
|
444
444
|
"entryPoint": null,
|
|
445
|
-
"id":
|
|
445
|
+
"id": 32996,
|
|
446
446
|
"parameterSlots": 0,
|
|
447
447
|
"returnSlots": 0
|
|
448
448
|
},
|
|
@@ -2584,15 +2584,15 @@
|
|
|
2584
2584
|
},
|
|
2585
2585
|
"deployedBytecode": {
|
|
2586
2586
|
"functionDebugData": {
|
|
2587
|
-
"@
|
|
2587
|
+
"@NAME_32985": {
|
|
2588
2588
|
"entryPoint": null,
|
|
2589
|
-
"id":
|
|
2589
|
+
"id": 32985,
|
|
2590
2590
|
"parameterSlots": 0,
|
|
2591
2591
|
"returnSlots": 0
|
|
2592
2592
|
},
|
|
2593
|
-
"@
|
|
2593
|
+
"@SYMBOL_32988": {
|
|
2594
2594
|
"entryPoint": null,
|
|
2595
|
-
"id":
|
|
2595
|
+
"id": 32988,
|
|
2596
2596
|
"parameterSlots": 0,
|
|
2597
2597
|
"returnSlots": 0
|
|
2598
2598
|
},
|
|
@@ -2698,9 +2698,9 @@
|
|
|
2698
2698
|
"parameterSlots": 1,
|
|
2699
2699
|
"returnSlots": 1
|
|
2700
2700
|
},
|
|
2701
|
-
"@
|
|
2701
|
+
"@mint_33009": {
|
|
2702
2702
|
"entryPoint": 1667,
|
|
2703
|
-
"id":
|
|
2703
|
+
"id": 33009,
|
|
2704
2704
|
"parameterSlots": 2,
|
|
2705
2705
|
"returnSlots": 0
|
|
2706
2706
|
},
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
},
|
|
48
48
|
"deployedBytecode": {
|
|
49
49
|
"functionDebugData": {
|
|
50
|
-
"@
|
|
50
|
+
"@compressPublicKey_25390": {
|
|
51
51
|
"entryPoint": 108,
|
|
52
|
-
"id":
|
|
52
|
+
"id": 25390,
|
|
53
53
|
"parameterSlots": 2,
|
|
54
54
|
"returnSlots": 1
|
|
55
55
|
},
|
|
56
|
-
"@
|
|
56
|
+
"@compressPublicKey_33030": {
|
|
57
57
|
"entryPoint": 89,
|
|
58
|
-
"id":
|
|
58
|
+
"id": 33030,
|
|
59
59
|
"parameterSlots": 2,
|
|
60
60
|
"returnSlots": 1
|
|
61
61
|
},
|
|
@@ -134,9 +134,9 @@
|
|
|
134
134
|
"evm": {
|
|
135
135
|
"bytecode": {
|
|
136
136
|
"functionDebugData": {
|
|
137
|
-
"@
|
|
137
|
+
"@_33103": {
|
|
138
138
|
"entryPoint": null,
|
|
139
|
-
"id":
|
|
139
|
+
"id": 33103,
|
|
140
140
|
"parameterSlots": 1,
|
|
141
141
|
"returnSlots": 0
|
|
142
142
|
},
|
|
@@ -637,27 +637,27 @@
|
|
|
637
637
|
},
|
|
638
638
|
"deployedBytecode": {
|
|
639
639
|
"functionDebugData": {
|
|
640
|
-
"@
|
|
640
|
+
"@bank_33058": {
|
|
641
641
|
"entryPoint": null,
|
|
642
|
-
"id":
|
|
642
|
+
"id": 33058,
|
|
643
643
|
"parameterSlots": 0,
|
|
644
644
|
"returnSlots": 0
|
|
645
645
|
},
|
|
646
|
-
"@
|
|
646
|
+
"@donate_33145": {
|
|
647
647
|
"entryPoint": 1226,
|
|
648
|
-
"id":
|
|
648
|
+
"id": 33145,
|
|
649
649
|
"parameterSlots": 1,
|
|
650
650
|
"returnSlots": 0
|
|
651
651
|
},
|
|
652
|
-
"@
|
|
652
|
+
"@receiveBalanceApproval_33191": {
|
|
653
653
|
"entryPoint": 664,
|
|
654
|
-
"id":
|
|
654
|
+
"id": 33191,
|
|
655
655
|
"parameterSlots": 3,
|
|
656
656
|
"returnSlots": 0
|
|
657
657
|
},
|
|
658
|
-
"@
|
|
658
|
+
"@receiveBalanceIncrease_33251": {
|
|
659
659
|
"entryPoint": 187,
|
|
660
|
-
"id":
|
|
660
|
+
"id": 33251,
|
|
661
661
|
"parameterSlots": 4,
|
|
662
662
|
"returnSlots": 0
|
|
663
663
|
},
|
|
@@ -5126,7 +5126,7 @@
|
|
|
5126
5126
|
"storageLayout": {
|
|
5127
5127
|
"storage": [
|
|
5128
5128
|
{
|
|
5129
|
-
"astId":
|
|
5129
|
+
"astId": 33058,
|
|
5130
5130
|
"contract": "contracts/vault/DonationVault.sol:DonationVault",
|
|
5131
5131
|
"label": "bank",
|
|
5132
5132
|
"offset": 0,
|