@keep-network/tbtc-v2 1.6.0-dev.5 → 1.6.0-dev.7
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 +6 -6
- package/artifacts/Bank.json +17 -17
- package/artifacts/BeaconAuthorization.json +6 -6
- package/artifacts/BeaconDkg.json +6 -6
- package/artifacts/BeaconDkgValidator.json +9 -9
- package/artifacts/BeaconInactivity.json +6 -6
- package/artifacts/BeaconSortitionPool.json +16 -16
- package/artifacts/Bridge.json +32 -32
- package/artifacts/BridgeGovernance.json +14 -14
- package/artifacts/BridgeGovernanceParameters.json +7 -7
- package/artifacts/Deposit.json +7 -7
- package/artifacts/DepositSweep.json +7 -7
- package/artifacts/DonationVault.json +11 -11
- package/artifacts/EcdsaDkgValidator.json +7 -7
- package/artifacts/EcdsaInactivity.json +6 -6
- package/artifacts/EcdsaSortitionPool.json +16 -16
- package/artifacts/Fraud.json +7 -7
- package/artifacts/LightRelay.json +28 -28
- package/artifacts/LightRelayMaintainerProxy.json +24 -24
- package/artifacts/MaintainerProxy.json +37 -37
- package/artifacts/MovingFunds.json +7 -7
- package/artifacts/NuCypherToken.json +11 -11
- package/artifacts/RandomBeacon.json +23 -23
- package/artifacts/RandomBeaconChaosnet.json +11 -11
- package/artifacts/RandomBeaconGovernance.json +12 -12
- package/artifacts/Redemption.json +7 -7
- package/artifacts/ReimbursementPool.json +11 -11
- package/artifacts/T.json +11 -11
- package/artifacts/TBTC.json +19 -19
- package/artifacts/TBTCToken.json +19 -19
- package/artifacts/TBTCVault.json +36 -36
- package/artifacts/TokenStaking.json +156 -308
- package/artifacts/TokenholderGovernor.json +47 -47
- package/artifacts/TokenholderTimelock.json +36 -36
- package/artifacts/VendingMachine.json +22 -22
- package/artifacts/VendingMachineNuCypher.json +9 -9
- package/artifacts/VendingMachineV2.json +15 -15
- package/artifacts/VendingMachineV3.json +15 -15
- package/artifacts/WalletProposalValidator.json +437 -0
- package/artifacts/WalletRegistry.json +31 -31
- package/artifacts/WalletRegistryGovernance.json +56 -56
- package/artifacts/Wallets.json +7 -7
- package/artifacts/solcInputs/{d2d7e276da75d7184610fe11a4a103b7.json → b4e1c442421284b256fcad9f86102ecc.json} +4 -4
- 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/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- 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/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +4 -0
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +323 -0
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.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/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.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/{WalletCoordinator.sol → WalletProposalValidator.sol} +129 -447
- package/deploy/39_deploy_wallet_proposal_validator.ts +33 -0
- package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +24 -24
- package/export/artifacts/@keep-network/ecdsa/contracts/WalletRegistry.sol/WalletRegistry.json +4999 -4814
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +2 -2
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +23 -23
- package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +53 -53
- package/export/artifacts/@keep-network/sortition-pools/contracts/Chaosnet.sol/Chaosnet.json +21 -21
- package/export/artifacts/@keep-network/sortition-pools/contracts/Rewards.sol/Rewards.json +16 -16
- package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionPool.sol/SortitionPool.json +206 -206
- package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionTree.sol/SortitionTree.json +26 -26
- package/export/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +46 -46
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +36 -36
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +78 -78
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +68 -68
- package/export/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol/ERC20Upgradeable.json +43 -43
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +79 -79
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +42 -42
- package/export/artifacts/contracts/bank/Bank.sol/Bank.json +77 -77
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +320 -320
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +108 -108
- package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +63 -63
- package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +65 -65
- package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +25381 -0
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +194 -194
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +98 -98
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +149 -149
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +76 -76
- package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +62 -62
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +79 -79
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +358 -358
- package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +78 -78
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +4 -4
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +78 -78
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
- package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +78 -78
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +85 -85
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +78 -78
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +4 -4
- package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +104 -104
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +19 -19
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +184 -184
- package/export/deploy/39_deploy_wallet_proposal_validator.js +82 -0
- package/export/hardhat.config.js +0 -6
- package/export/typechain/factories/EcdsaAuthorization__factory.js +1 -1
- package/export/typechain/factories/IStaking__factory.js +24 -103
- package/export/typechain/factories/WalletProposalValidator__factory.js +402 -0
- package/export/typechain/factories/WalletRegistry__factory.js +1 -1
- package/export/typechain/index.js +3 -3
- package/package.json +2 -2
- package/artifacts/KeepRegistry.json +0 -99
- package/artifacts/KeepStake.json +0 -286
- package/artifacts/KeepToken.json +0 -711
- package/artifacts/KeepTokenStaking.json +0 -483
- package/artifacts/NuCypherStakingEscrow.json +0 -287
- package/artifacts/VendingMachineKeep.json +0 -400
- package/artifacts/WalletCoordinator.json +0 -1107
- package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.dbg.json +0 -4
- package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +0 -1042
- package/deploy/34_deploy_wallet_coordinator.ts +0 -43
- package/deploy/35_add_coordinator_address.ts +0 -20
- package/deploy/36_transfer_wallet_coordinator_ownership.ts +0 -19
- package/deploy/81_upgrade_wallet_coordinator_v2.ts +0 -99
- package/export/artifacts/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +0 -33310
- package/export/deploy/34_deploy_wallet_coordinator.js +0 -115
- package/export/deploy/35_add_coordinator_address.js +0 -60
- package/export/deploy/36_transfer_wallet_coordinator_ownership.js +0 -60
- package/export/deploy/81_upgrade_wallet_coordinator_v2.js +0 -140
- package/export/typechain/factories/WalletCoordinator__factory.js +0 -1121
- /package/deploy/{37_deploy_light_relay_maintainer_proxy.ts → 34_deploy_light_relay_maintainer_proxy.ts} +0 -0
- /package/deploy/{38_authorize_maintainer_in_light_relay_maintainer_proxy.ts → 35_authorize_maintainer_in_light_relay_maintainer_proxy.ts} +0 -0
- /package/deploy/{39_transfer_light_relay_maintainer_proxy_ownership.ts → 36_transfer_light_relay_maintainer_proxy_ownership.ts} +0 -0
- /package/deploy/{40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts → 37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts} +0 -0
- /package/deploy/{41_authorize_light_relay_maintainer_proxy_in_light_relay.ts → 38_authorize_light_relay_maintainer_proxy_in_light_relay.ts} +0 -0
- /package/export/deploy/{37_deploy_light_relay_maintainer_proxy.js → 34_deploy_light_relay_maintainer_proxy.js} +0 -0
- /package/export/deploy/{38_authorize_maintainer_in_light_relay_maintainer_proxy.js → 35_authorize_maintainer_in_light_relay_maintainer_proxy.js} +0 -0
- /package/export/deploy/{39_transfer_light_relay_maintainer_proxy_ownership.js → 36_transfer_light_relay_maintainer_proxy_ownership.js} +0 -0
- /package/export/deploy/{40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js → 37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js} +0 -0
- /package/export/deploy/{41_authorize_light_relay_maintainer_proxy_in_light_relay.js → 38_authorize_light_relay_maintainer_proxy_in_light_relay.js} +0 -0
- /package/export/typechain/{WalletCoordinator.js → WalletProposalValidator.js} +0 -0
|
@@ -129,21 +129,21 @@
|
|
|
129
129
|
"evm": {
|
|
130
130
|
"bytecode": {
|
|
131
131
|
"functionDebugData": {
|
|
132
|
-
"@
|
|
132
|
+
"@_17296": {
|
|
133
133
|
"entryPoint": null,
|
|
134
|
-
"id":
|
|
134
|
+
"id": 17296,
|
|
135
135
|
"parameterSlots": 0,
|
|
136
136
|
"returnSlots": 0
|
|
137
137
|
},
|
|
138
|
-
"@
|
|
138
|
+
"@_msgSender_20018": {
|
|
139
139
|
"entryPoint": null,
|
|
140
|
-
"id":
|
|
140
|
+
"id": 20018,
|
|
141
141
|
"parameterSlots": 0,
|
|
142
142
|
"returnSlots": 1
|
|
143
143
|
},
|
|
144
|
-
"@
|
|
144
|
+
"@_transferOwnership_17384": {
|
|
145
145
|
"entryPoint": 31,
|
|
146
|
-
"id":
|
|
146
|
+
"id": 17384,
|
|
147
147
|
"parameterSlots": 1,
|
|
148
148
|
"returnSlots": 0
|
|
149
149
|
}
|
|
@@ -155,93 +155,93 @@
|
|
|
155
155
|
},
|
|
156
156
|
"deployedBytecode": {
|
|
157
157
|
"functionDebugData": {
|
|
158
|
-
"@
|
|
158
|
+
"@_callOptionalReturn_18569": {
|
|
159
159
|
"entryPoint": 872,
|
|
160
|
-
"id":
|
|
160
|
+
"id": 18569,
|
|
161
161
|
"parameterSlots": 2,
|
|
162
162
|
"returnSlots": 0
|
|
163
163
|
},
|
|
164
|
-
"@
|
|
164
|
+
"@_checkOwner_17327": {
|
|
165
165
|
"entryPoint": 550,
|
|
166
|
-
"id":
|
|
166
|
+
"id": 17327,
|
|
167
167
|
"parameterSlots": 0,
|
|
168
168
|
"returnSlots": 0
|
|
169
169
|
},
|
|
170
|
-
"@
|
|
170
|
+
"@_msgSender_20018": {
|
|
171
171
|
"entryPoint": null,
|
|
172
|
-
"id":
|
|
172
|
+
"id": 20018,
|
|
173
173
|
"parameterSlots": 0,
|
|
174
174
|
"returnSlots": 1
|
|
175
175
|
},
|
|
176
|
-
"@
|
|
176
|
+
"@_revert_20005": {
|
|
177
177
|
"entryPoint": null,
|
|
178
|
-
"id":
|
|
178
|
+
"id": 20005,
|
|
179
179
|
"parameterSlots": 2,
|
|
180
180
|
"returnSlots": 0
|
|
181
181
|
},
|
|
182
|
-
"@
|
|
182
|
+
"@_transferOwnership_17384": {
|
|
183
183
|
"entryPoint": 768,
|
|
184
|
-
"id":
|
|
184
|
+
"id": 17384,
|
|
185
185
|
"parameterSlots": 1,
|
|
186
186
|
"returnSlots": 0
|
|
187
187
|
},
|
|
188
|
-
"@
|
|
188
|
+
"@functionCallWithValue_19830": {
|
|
189
189
|
"entryPoint": 1124,
|
|
190
|
-
"id":
|
|
190
|
+
"id": 19830,
|
|
191
191
|
"parameterSlots": 4,
|
|
192
192
|
"returnSlots": 1
|
|
193
193
|
},
|
|
194
|
-
"@
|
|
194
|
+
"@functionCall_19766": {
|
|
195
195
|
"entryPoint": 1101,
|
|
196
|
-
"id":
|
|
196
|
+
"id": 19766,
|
|
197
197
|
"parameterSlots": 3,
|
|
198
198
|
"returnSlots": 1
|
|
199
199
|
},
|
|
200
|
-
"@
|
|
200
|
+
"@isContract_19694": {
|
|
201
201
|
"entryPoint": null,
|
|
202
|
-
"id":
|
|
202
|
+
"id": 19694,
|
|
203
203
|
"parameterSlots": 1,
|
|
204
204
|
"returnSlots": 1
|
|
205
205
|
},
|
|
206
|
-
"@
|
|
206
|
+
"@owner_17313": {
|
|
207
207
|
"entryPoint": null,
|
|
208
|
-
"id":
|
|
208
|
+
"id": 17313,
|
|
209
209
|
"parameterSlots": 0,
|
|
210
210
|
"returnSlots": 1
|
|
211
211
|
},
|
|
212
|
-
"@
|
|
212
|
+
"@recoverERC20_22329": {
|
|
213
213
|
"entryPoint": 206,
|
|
214
|
-
"id":
|
|
214
|
+
"id": 22329,
|
|
215
215
|
"parameterSlots": 3,
|
|
216
216
|
"returnSlots": 0
|
|
217
217
|
},
|
|
218
|
-
"@
|
|
218
|
+
"@recoverERC721_22356": {
|
|
219
219
|
"entryPoint": 408,
|
|
220
|
-
"id":
|
|
220
|
+
"id": 22356,
|
|
221
221
|
"parameterSlots": 5,
|
|
222
222
|
"returnSlots": 0
|
|
223
223
|
},
|
|
224
|
-
"@
|
|
224
|
+
"@renounceOwnership_17341": {
|
|
225
225
|
"entryPoint": 239,
|
|
226
|
-
"id":
|
|
226
|
+
"id": 17341,
|
|
227
227
|
"parameterSlots": 0,
|
|
228
228
|
"returnSlots": 0
|
|
229
229
|
},
|
|
230
|
-
"@
|
|
230
|
+
"@safeTransfer_18321": {
|
|
231
231
|
"entryPoint": 640,
|
|
232
|
-
"id":
|
|
232
|
+
"id": 18321,
|
|
233
233
|
"parameterSlots": 3,
|
|
234
234
|
"returnSlots": 0
|
|
235
235
|
},
|
|
236
|
-
"@
|
|
236
|
+
"@transferOwnership_17364": {
|
|
237
237
|
"entryPoint": 259,
|
|
238
|
-
"id":
|
|
238
|
+
"id": 17364,
|
|
239
239
|
"parameterSlots": 1,
|
|
240
240
|
"returnSlots": 0
|
|
241
241
|
},
|
|
242
|
-
"@
|
|
242
|
+
"@verifyCallResultFromTarget_19961": {
|
|
243
243
|
"entryPoint": 1366,
|
|
244
|
-
"id":
|
|
244
|
+
"id": 19961,
|
|
245
245
|
"parameterSlots": 4,
|
|
246
246
|
"returnSlots": 1
|
|
247
247
|
},
|
|
@@ -257,13 +257,13 @@
|
|
|
257
257
|
"parameterSlots": 2,
|
|
258
258
|
"returnSlots": 1
|
|
259
259
|
},
|
|
260
|
-
"abi_decode_tuple_t_contract$_IERC20_$
|
|
260
|
+
"abi_decode_tuple_t_contract$_IERC20_$18228t_addresst_uint256": {
|
|
261
261
|
"entryPoint": 1545,
|
|
262
262
|
"id": null,
|
|
263
263
|
"parameterSlots": 2,
|
|
264
264
|
"returnSlots": 3
|
|
265
265
|
},
|
|
266
|
-
"abi_decode_tuple_t_contract$_IERC721_$
|
|
266
|
+
"abi_decode_tuple_t_contract$_IERC721_$19631t_addresst_uint256t_bytes_calldata_ptr": {
|
|
267
267
|
"entryPoint": 1646,
|
|
268
268
|
"id": null,
|
|
269
269
|
"parameterSlots": 2,
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
},
|
|
740
|
-
"name": "abi_decode_tuple_t_contract$_IERC20_$
|
|
740
|
+
"name": "abi_decode_tuple_t_contract$_IERC20_$18228t_addresst_uint256",
|
|
741
741
|
"nodeType": "YulFunctionDefinition",
|
|
742
742
|
"parameters": [
|
|
743
743
|
{
|
|
@@ -1815,7 +1815,7 @@
|
|
|
1815
1815
|
}
|
|
1816
1816
|
]
|
|
1817
1817
|
},
|
|
1818
|
-
"name": "abi_decode_tuple_t_contract$_IERC721_$
|
|
1818
|
+
"name": "abi_decode_tuple_t_contract$_IERC721_$19631t_addresst_uint256t_bytes_calldata_ptr",
|
|
1819
1819
|
"nodeType": "YulFunctionDefinition",
|
|
1820
1820
|
"parameters": [
|
|
1821
1821
|
{
|
|
@@ -4492,7 +4492,7 @@
|
|
|
4492
4492
|
}
|
|
4493
4493
|
]
|
|
4494
4494
|
},
|
|
4495
|
-
"contents": "{\n { }\n function validator_revert_contract_IERC20(value)\n {\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_contract$_IERC20_$
|
|
4495
|
+
"contents": "{\n { }\n function validator_revert_contract_IERC20(value)\n {\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_contract$_IERC20_$18228t_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_IERC20(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_contract_IERC20(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_IERC20(value)\n value0 := value\n }\n function abi_decode_tuple_t_contract$_IERC721_$19631t_addresst_uint256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4\n {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_IERC20(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_contract_IERC20(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n let offset := calldataload(add(headStart, 96))\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n let length := calldataload(_2)\n if gt(length, _1) { revert(0, 0) }\n if gt(add(add(_2, length), 32), dataEnd) { revert(0, 0) }\n value3 := add(_2, 32)\n value4 := length\n }\n function abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"Ownable: new owner is the zero a\")\n mstore(add(headStart, 96), \"ddress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_address_t_address_t_uint256_t_bytes_calldata_ptr__to_t_address_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed(headStart, value4, value3, value2, value1, value0) -> tail\n {\n let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n mstore(headStart, and(value0, _1))\n mstore(add(headStart, 32), and(value1, _1))\n mstore(add(headStart, 64), value2)\n mstore(add(headStart, 96), 128)\n mstore(add(headStart, 128), value4)\n calldatacopy(add(headStart, 160), value3, value4)\n mstore(add(add(headStart, value4), 160), 0)\n tail := add(add(headStart, and(add(value4, 31), not(31))), 160)\n }\n function abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Ownable: caller is not the owner\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n mstore(add(headStart, 32), value1)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_e11ad79d1e4a7f2e5f376964cb99e8e8f7904e3fc16a109f7a7ecb9aa7956dcd__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 42)\n mstore(add(headStart, 64), \"SafeERC20: ERC20 operation did n\")\n mstore(add(headStart, 96), \"ot succeed\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"Address: insufficient balance fo\")\n mstore(add(headStart, 96), \"r call\")\n tail := add(headStart, 128)\n }\n function copy_memory_to_memory_with_cleanup(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory_with_cleanup(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"Address: call to non-contract\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory_with_cleanup(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n}",
|
|
4496
4496
|
"id": 126,
|
|
4497
4497
|
"language": "Yul",
|
|
4498
4498
|
"name": "#utility.yul"
|
|
@@ -4529,7 +4529,7 @@
|
|
|
4529
4529
|
"storageLayout": {
|
|
4530
4530
|
"storage": [
|
|
4531
4531
|
{
|
|
4532
|
-
"astId":
|
|
4532
|
+
"astId": 17280,
|
|
4533
4533
|
"contract": "@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol:MisfundRecovery",
|
|
4534
4534
|
"label": "_owner",
|
|
4535
4535
|
"offset": 0,
|
|
@@ -647,33 +647,33 @@
|
|
|
647
647
|
"evm": {
|
|
648
648
|
"bytecode": {
|
|
649
649
|
"functionDebugData": {
|
|
650
|
-
"@
|
|
650
|
+
"@_17296": {
|
|
651
651
|
"entryPoint": null,
|
|
652
|
-
"id":
|
|
652
|
+
"id": 17296,
|
|
653
653
|
"parameterSlots": 0,
|
|
654
654
|
"returnSlots": 0
|
|
655
655
|
},
|
|
656
|
-
"@
|
|
656
|
+
"@_22861": {
|
|
657
657
|
"entryPoint": null,
|
|
658
|
-
"id":
|
|
658
|
+
"id": 22861,
|
|
659
659
|
"parameterSlots": 0,
|
|
660
660
|
"returnSlots": 0
|
|
661
661
|
},
|
|
662
|
-
"@
|
|
662
|
+
"@_msgSender_20018": {
|
|
663
663
|
"entryPoint": null,
|
|
664
|
-
"id":
|
|
664
|
+
"id": 20018,
|
|
665
665
|
"parameterSlots": 0,
|
|
666
666
|
"returnSlots": 1
|
|
667
667
|
},
|
|
668
|
-
"@
|
|
668
|
+
"@_transferOwnership_17384": {
|
|
669
669
|
"entryPoint": 249,
|
|
670
|
-
"id":
|
|
670
|
+
"id": 17384,
|
|
671
671
|
"parameterSlots": 1,
|
|
672
672
|
"returnSlots": 0
|
|
673
673
|
},
|
|
674
|
-
"@
|
|
674
|
+
"@buildDomainSeparator_23495": {
|
|
675
675
|
"entryPoint": null,
|
|
676
|
-
"id":
|
|
676
|
+
"id": 23495,
|
|
677
677
|
"parameterSlots": 0,
|
|
678
678
|
"returnSlots": 1
|
|
679
679
|
},
|
|
@@ -1051,183 +1051,183 @@
|
|
|
1051
1051
|
},
|
|
1052
1052
|
"deployedBytecode": {
|
|
1053
1053
|
"functionDebugData": {
|
|
1054
|
-
"@
|
|
1054
|
+
"@DOMAIN_SEPARATOR_23335": {
|
|
1055
1055
|
"entryPoint": 1420,
|
|
1056
|
-
"id":
|
|
1056
|
+
"id": 23335,
|
|
1057
1057
|
"parameterSlots": 0,
|
|
1058
1058
|
"returnSlots": 1
|
|
1059
1059
|
},
|
|
1060
|
-
"@
|
|
1060
|
+
"@PERMIT_TYPEHASH_22800": {
|
|
1061
1061
|
"entryPoint": null,
|
|
1062
|
-
"id":
|
|
1062
|
+
"id": 22800,
|
|
1063
1063
|
"parameterSlots": 0,
|
|
1064
1064
|
"returnSlots": 0
|
|
1065
1065
|
},
|
|
1066
|
-
"@
|
|
1066
|
+
"@_approveBalance_23462": {
|
|
1067
1067
|
"entryPoint": 4047,
|
|
1068
|
-
"id":
|
|
1068
|
+
"id": 23462,
|
|
1069
1069
|
"parameterSlots": 3,
|
|
1070
1070
|
"returnSlots": 0
|
|
1071
1071
|
},
|
|
1072
|
-
"@
|
|
1072
|
+
"@_checkOwner_17327": {
|
|
1073
1073
|
"entryPoint": 4953,
|
|
1074
|
-
"id":
|
|
1074
|
+
"id": 17327,
|
|
1075
1075
|
"parameterSlots": 0,
|
|
1076
1076
|
"returnSlots": 0
|
|
1077
1077
|
},
|
|
1078
|
-
"@
|
|
1078
|
+
"@_increaseBalance_23364": {
|
|
1079
1079
|
"entryPoint": 4268,
|
|
1080
|
-
"id":
|
|
1080
|
+
"id": 23364,
|
|
1081
1081
|
"parameterSlots": 2,
|
|
1082
1082
|
"returnSlots": 0
|
|
1083
1083
|
},
|
|
1084
|
-
"@
|
|
1084
|
+
"@_msgSender_20018": {
|
|
1085
1085
|
"entryPoint": null,
|
|
1086
|
-
"id":
|
|
1086
|
+
"id": 20018,
|
|
1087
1087
|
"parameterSlots": 0,
|
|
1088
1088
|
"returnSlots": 1
|
|
1089
1089
|
},
|
|
1090
|
-
"@
|
|
1090
|
+
"@_transferBalance_23428": {
|
|
1091
1091
|
"entryPoint": 4505,
|
|
1092
|
-
"id":
|
|
1092
|
+
"id": 23428,
|
|
1093
1093
|
"parameterSlots": 3,
|
|
1094
1094
|
"returnSlots": 0
|
|
1095
1095
|
},
|
|
1096
|
-
"@
|
|
1096
|
+
"@_transferOwnership_17384": {
|
|
1097
1097
|
"entryPoint": 5043,
|
|
1098
|
-
"id":
|
|
1098
|
+
"id": 17384,
|
|
1099
1099
|
"parameterSlots": 1,
|
|
1100
1100
|
"returnSlots": 0
|
|
1101
1101
|
},
|
|
1102
|
-
"@
|
|
1102
|
+
"@allowance_22785": {
|
|
1103
1103
|
"entryPoint": null,
|
|
1104
|
-
"id":
|
|
1104
|
+
"id": 22785,
|
|
1105
1105
|
"parameterSlots": 0,
|
|
1106
1106
|
"returnSlots": 0
|
|
1107
1107
|
},
|
|
1108
|
-
"@
|
|
1108
|
+
"@approveBalanceAndCall_22964": {
|
|
1109
1109
|
"entryPoint": 2022,
|
|
1110
|
-
"id":
|
|
1110
|
+
"id": 22964,
|
|
1111
1111
|
"parameterSlots": 4,
|
|
1112
1112
|
"returnSlots": 0
|
|
1113
1113
|
},
|
|
1114
|
-
"@
|
|
1114
|
+
"@approveBalance_22936": {
|
|
1115
1115
|
"entryPoint": 1847,
|
|
1116
|
-
"id":
|
|
1116
|
+
"id": 22936,
|
|
1117
1117
|
"parameterSlots": 2,
|
|
1118
1118
|
"returnSlots": 0
|
|
1119
1119
|
},
|
|
1120
|
-
"@
|
|
1120
|
+
"@balanceOf_22778": {
|
|
1121
1121
|
"entryPoint": null,
|
|
1122
|
-
"id":
|
|
1122
|
+
"id": 22778,
|
|
1123
1123
|
"parameterSlots": 0,
|
|
1124
1124
|
"returnSlots": 0
|
|
1125
1125
|
},
|
|
1126
|
-
"@
|
|
1126
|
+
"@bridge_22773": {
|
|
1127
1127
|
"entryPoint": null,
|
|
1128
|
-
"id":
|
|
1128
|
+
"id": 22773,
|
|
1129
1129
|
"parameterSlots": 0,
|
|
1130
1130
|
"returnSlots": 0
|
|
1131
1131
|
},
|
|
1132
|
-
"@
|
|
1132
|
+
"@buildDomainSeparator_23495": {
|
|
1133
1133
|
"entryPoint": null,
|
|
1134
|
-
"id":
|
|
1134
|
+
"id": 23495,
|
|
1135
1135
|
"parameterSlots": 0,
|
|
1136
1136
|
"returnSlots": 1
|
|
1137
1137
|
},
|
|
1138
|
-
"@
|
|
1138
|
+
"@cachedChainId_22792": {
|
|
1139
1139
|
"entryPoint": null,
|
|
1140
|
-
"id":
|
|
1140
|
+
"id": 22792,
|
|
1141
1141
|
"parameterSlots": 0,
|
|
1142
1142
|
"returnSlots": 0
|
|
1143
1143
|
},
|
|
1144
|
-
"@
|
|
1144
|
+
"@cachedDomainSeparator_22794": {
|
|
1145
1145
|
"entryPoint": null,
|
|
1146
|
-
"id":
|
|
1146
|
+
"id": 22794,
|
|
1147
1147
|
"parameterSlots": 0,
|
|
1148
1148
|
"returnSlots": 0
|
|
1149
1149
|
},
|
|
1150
|
-
"@
|
|
1150
|
+
"@decreaseBalanceAllowance_23022": {
|
|
1151
1151
|
"entryPoint": 966,
|
|
1152
|
-
"id":
|
|
1152
|
+
"id": 23022,
|
|
1153
1153
|
"parameterSlots": 2,
|
|
1154
1154
|
"returnSlots": 0
|
|
1155
1155
|
},
|
|
1156
|
-
"@
|
|
1156
|
+
"@decreaseBalance_23316": {
|
|
1157
1157
|
"entryPoint": 1755,
|
|
1158
|
-
"id":
|
|
1158
|
+
"id": 23316,
|
|
1159
1159
|
"parameterSlots": 1,
|
|
1160
1160
|
"returnSlots": 0
|
|
1161
1161
|
},
|
|
1162
|
-
"@
|
|
1162
|
+
"@increaseBalanceAllowance_22987": {
|
|
1163
1163
|
"entryPoint": 2275,
|
|
1164
|
-
"id":
|
|
1164
|
+
"id": 22987,
|
|
1165
1165
|
"parameterSlots": 2,
|
|
1166
1166
|
"returnSlots": 0
|
|
1167
1167
|
},
|
|
1168
|
-
"@
|
|
1168
|
+
"@increaseBalanceAndCall_23296": {
|
|
1169
1169
|
"entryPoint": 2738,
|
|
1170
|
-
"id":
|
|
1170
|
+
"id": 23296,
|
|
1171
1171
|
"parameterSlots": 5,
|
|
1172
1172
|
"returnSlots": 0
|
|
1173
1173
|
},
|
|
1174
|
-
"@
|
|
1174
|
+
"@increaseBalance_23236": {
|
|
1175
1175
|
"entryPoint": 2175,
|
|
1176
|
-
"id":
|
|
1176
|
+
"id": 23236,
|
|
1177
1177
|
"parameterSlots": 2,
|
|
1178
1178
|
"returnSlots": 0
|
|
1179
1179
|
},
|
|
1180
|
-
"@
|
|
1180
|
+
"@increaseBalances_23220": {
|
|
1181
1181
|
"entryPoint": 1143,
|
|
1182
|
-
"id":
|
|
1182
|
+
"id": 23220,
|
|
1183
1183
|
"parameterSlots": 4,
|
|
1184
1184
|
"returnSlots": 0
|
|
1185
1185
|
},
|
|
1186
|
-
"@
|
|
1186
|
+
"@nonces_22790": {
|
|
1187
1187
|
"entryPoint": null,
|
|
1188
|
-
"id":
|
|
1188
|
+
"id": 22790,
|
|
1189
1189
|
"parameterSlots": 0,
|
|
1190
1190
|
"returnSlots": 0
|
|
1191
1191
|
},
|
|
1192
|
-
"@
|
|
1192
|
+
"@owner_17313": {
|
|
1193
1193
|
"entryPoint": null,
|
|
1194
|
-
"id":
|
|
1194
|
+
"id": 17313,
|
|
1195
1195
|
"parameterSlots": 0,
|
|
1196
1196
|
"returnSlots": 1
|
|
1197
1197
|
},
|
|
1198
|
-
"@
|
|
1198
|
+
"@permit_23176": {
|
|
1199
1199
|
"entryPoint": 3119,
|
|
1200
|
-
"id":
|
|
1200
|
+
"id": 23176,
|
|
1201
1201
|
"parameterSlots": 7,
|
|
1202
1202
|
"returnSlots": 0
|
|
1203
1203
|
},
|
|
1204
|
-
"@
|
|
1204
|
+
"@renounceOwnership_17341": {
|
|
1205
1205
|
"entryPoint": 2525,
|
|
1206
|
-
"id":
|
|
1206
|
+
"id": 17341,
|
|
1207
1207
|
"parameterSlots": 0,
|
|
1208
1208
|
"returnSlots": 0
|
|
1209
1209
|
},
|
|
1210
|
-
"@
|
|
1210
|
+
"@transferBalanceFrom_23074": {
|
|
1211
1211
|
"entryPoint": 2545,
|
|
1212
|
-
"id":
|
|
1212
|
+
"id": 23074,
|
|
1213
1213
|
"parameterSlots": 3,
|
|
1214
1214
|
"returnSlots": 0
|
|
1215
1215
|
},
|
|
1216
|
-
"@
|
|
1216
|
+
"@transferBalance_22904": {
|
|
1217
1217
|
"entryPoint": 2164,
|
|
1218
|
-
"id":
|
|
1218
|
+
"id": 22904,
|
|
1219
1219
|
"parameterSlots": 2,
|
|
1220
1220
|
"returnSlots": 0
|
|
1221
1221
|
},
|
|
1222
|
-
"@
|
|
1222
|
+
"@transferOwnership_17364": {
|
|
1223
1223
|
"entryPoint": 3903,
|
|
1224
|
-
"id":
|
|
1224
|
+
"id": 17364,
|
|
1225
1225
|
"parameterSlots": 1,
|
|
1226
1226
|
"returnSlots": 0
|
|
1227
1227
|
},
|
|
1228
|
-
"@
|
|
1228
|
+
"@updateBridge_22888": {
|
|
1229
1229
|
"entryPoint": 2334,
|
|
1230
|
-
"id":
|
|
1230
|
+
"id": 22888,
|
|
1231
1231
|
"parameterSlots": 1,
|
|
1232
1232
|
"returnSlots": 0
|
|
1233
1233
|
},
|
|
@@ -11742,7 +11742,7 @@
|
|
|
11742
11742
|
}
|
|
11743
11743
|
],
|
|
11744
11744
|
"immutableReferences": {
|
|
11745
|
-
"
|
|
11745
|
+
"22792": [
|
|
11746
11746
|
{
|
|
11747
11747
|
"length": 32,
|
|
11748
11748
|
"start": 686
|
|
@@ -11752,7 +11752,7 @@
|
|
|
11752
11752
|
"start": 1424
|
|
11753
11753
|
}
|
|
11754
11754
|
],
|
|
11755
|
-
"
|
|
11755
|
+
"22794": [
|
|
11756
11756
|
{
|
|
11757
11757
|
"length": 32,
|
|
11758
11758
|
"start": 813
|
|
@@ -11835,7 +11835,7 @@
|
|
|
11835
11835
|
"storageLayout": {
|
|
11836
11836
|
"storage": [
|
|
11837
11837
|
{
|
|
11838
|
-
"astId":
|
|
11838
|
+
"astId": 17280,
|
|
11839
11839
|
"contract": "contracts/bank/Bank.sol:Bank",
|
|
11840
11840
|
"label": "_owner",
|
|
11841
11841
|
"offset": 0,
|
|
@@ -11843,7 +11843,7 @@
|
|
|
11843
11843
|
"type": "t_address"
|
|
11844
11844
|
},
|
|
11845
11845
|
{
|
|
11846
|
-
"astId":
|
|
11846
|
+
"astId": 22773,
|
|
11847
11847
|
"contract": "contracts/bank/Bank.sol:Bank",
|
|
11848
11848
|
"label": "bridge",
|
|
11849
11849
|
"offset": 0,
|
|
@@ -11851,7 +11851,7 @@
|
|
|
11851
11851
|
"type": "t_address"
|
|
11852
11852
|
},
|
|
11853
11853
|
{
|
|
11854
|
-
"astId":
|
|
11854
|
+
"astId": 22778,
|
|
11855
11855
|
"contract": "contracts/bank/Bank.sol:Bank",
|
|
11856
11856
|
"label": "balanceOf",
|
|
11857
11857
|
"offset": 0,
|
|
@@ -11859,7 +11859,7 @@
|
|
|
11859
11859
|
"type": "t_mapping(t_address,t_uint256)"
|
|
11860
11860
|
},
|
|
11861
11861
|
{
|
|
11862
|
-
"astId":
|
|
11862
|
+
"astId": 22785,
|
|
11863
11863
|
"contract": "contracts/bank/Bank.sol:Bank",
|
|
11864
11864
|
"label": "allowance",
|
|
11865
11865
|
"offset": 0,
|
|
@@ -11867,7 +11867,7 @@
|
|
|
11867
11867
|
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))"
|
|
11868
11868
|
},
|
|
11869
11869
|
{
|
|
11870
|
-
"astId":
|
|
11870
|
+
"astId": 22790,
|
|
11871
11871
|
"contract": "contracts/bank/Bank.sol:Bank",
|
|
11872
11872
|
"label": "nonces",
|
|
11873
11873
|
"offset": 0,
|