@keep-network/tbtc-v2 1.0.0-dev.6 → 1.0.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.
- package/artifacts/.chainId +1 -1
- package/artifacts/Bank.json +40 -50
- package/artifacts/Bridge.json +50 -431
- package/artifacts/BridgeGovernance.json +21 -21
- package/artifacts/BridgeGovernanceParameters.json +10 -10
- package/artifacts/Deposit.json +10 -10
- package/artifacts/DepositSweep.json +10 -10
- package/artifacts/DonationVault.json +14 -14
- package/artifacts/Fraud.json +10 -10
- package/artifacts/LightRelay.json +34 -34
- package/artifacts/MaintainerProxy.json +44 -44
- package/artifacts/MovingFunds.json +10 -10
- package/artifacts/Redemption.json +10 -10
- package/artifacts/TBTC.json +36 -37
- package/artifacts/TBTCVault.json +43 -43
- package/artifacts/VendingMachine.json +34 -35
- package/artifacts/Wallets.json +10 -10
- package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +102 -0
- package/artifacts/solcInputs/{79a96d1cf4af176d93e6844dc248dcff.json → 887fad6b16575ba42183543c324eeb0e.json} +1 -1
- 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/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/deploy/06_deploy_bridge.ts +7 -0
- package/deploy/09_deploy_bridge_governance.ts +2 -0
- package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +26 -26
- package/export/artifacts/@keep-network/ecdsa/contracts/WalletRegistry.sol/WalletRegistry.json +251 -251
- 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 +25 -25
- package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +47 -47
- 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 +204 -204
- 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 +42 -42
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +34 -34
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +74 -74
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +62 -62
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +77 -77
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +38 -38
- package/export/artifacts/contracts/bank/Bank.sol/Bank.json +75 -75
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +326 -326
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +104 -104
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +147 -147
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +74 -74
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +100 -100
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +19 -19
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +176 -176
- package/export/deploy/06_deploy_bridge.js +30 -8
- package/export/deploy/09_deploy_bridge_governance.js +11 -7
- package/export/hardhat.config.js +1 -0
- package/export/typechain/factories/WalletRegistry__factory.js +1 -1
- package/export.json +13069 -0
- package/package.json +6 -6
- package/artifacts/BLS.json +0 -223
- package/artifacts/BeaconAuthorization.json +0 -273
- package/artifacts/BeaconDkg.json +0 -241
- package/artifacts/BeaconDkgValidator.json +0 -501
- package/artifacts/BeaconInactivity.json +0 -151
- package/artifacts/BeaconSortitionPool.json +0 -1187
- package/artifacts/EcdsaDkgValidator.json +0 -517
- package/artifacts/EcdsaInactivity.json +0 -156
- package/artifacts/EcdsaSortitionPool.json +0 -1187
- 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/NuCypherToken.json +0 -711
- package/artifacts/RandomBeacon.json +0 -3271
- package/artifacts/RandomBeaconChaosnet.json +0 -252
- package/artifacts/RandomBeaconGovernance.json +0 -3499
- package/artifacts/ReimbursementPool.json +0 -509
- package/artifacts/T.json +0 -1148
- package/artifacts/TBTCToken.json +0 -738
- package/artifacts/TokenStaking.json +0 -2288
- package/artifacts/TokenholderGovernor.json +0 -1795
- package/artifacts/TokenholderTimelock.json +0 -1058
- package/artifacts/VendingMachineKeep.json +0 -400
- package/artifacts/VendingMachineNuCypher.json +0 -400
- package/artifacts/WalletRegistry.json +0 -1962
- package/artifacts/WalletRegistryGovernance.json +0 -2863
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +0 -11969
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +0 -51939
- package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +0 -11982
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +0 -822
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +0 -12723
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +0 -2160
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +0 -3407
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +0 -14257
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +0 -11816
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +0 -1160
- package/export/test/integration/data/bls.js +0 -12
- package/export/test/integration/data/integration.js +0 -133
- package/export/test/integration/utils/ecdsa-wallet-registry.js +0 -370
- package/export/test/integration/utils/random-beacon.js +0 -193
- package/export/test/integration/utils/staking.js +0 -83
|
@@ -544,33 +544,33 @@
|
|
|
544
544
|
"evm": {
|
|
545
545
|
"bytecode": {
|
|
546
546
|
"functionDebugData": {
|
|
547
|
-
"@
|
|
547
|
+
"@_13269": {
|
|
548
548
|
"entryPoint": null,
|
|
549
|
-
"id":
|
|
549
|
+
"id": 13269,
|
|
550
550
|
"parameterSlots": 0,
|
|
551
551
|
"returnSlots": 0
|
|
552
552
|
},
|
|
553
|
-
"@
|
|
553
|
+
"@_16682": {
|
|
554
554
|
"entryPoint": null,
|
|
555
|
-
"id":
|
|
555
|
+
"id": 16682,
|
|
556
556
|
"parameterSlots": 2,
|
|
557
557
|
"returnSlots": 0
|
|
558
558
|
},
|
|
559
|
-
"@
|
|
559
|
+
"@_msgSender_15794": {
|
|
560
560
|
"entryPoint": null,
|
|
561
|
-
"id":
|
|
561
|
+
"id": 15794,
|
|
562
562
|
"parameterSlots": 0,
|
|
563
563
|
"returnSlots": 1
|
|
564
564
|
},
|
|
565
|
-
"@
|
|
565
|
+
"@_transferOwnership_13349": {
|
|
566
566
|
"entryPoint": 119,
|
|
567
|
-
"id":
|
|
567
|
+
"id": 13349,
|
|
568
568
|
"parameterSlots": 1,
|
|
569
569
|
"returnSlots": 0
|
|
570
570
|
},
|
|
571
|
-
"@
|
|
571
|
+
"@buildDomainSeparator_17271": {
|
|
572
572
|
"entryPoint": 199,
|
|
573
|
-
"id":
|
|
573
|
+
"id": 17271,
|
|
574
574
|
"parameterSlots": 0,
|
|
575
575
|
"returnSlots": 1
|
|
576
576
|
},
|
|
@@ -5077,177 +5077,177 @@
|
|
|
5077
5077
|
},
|
|
5078
5078
|
"deployedBytecode": {
|
|
5079
5079
|
"functionDebugData": {
|
|
5080
|
-
"@
|
|
5080
|
+
"@DOMAIN_SEPARATOR_17053": {
|
|
5081
5081
|
"entryPoint": 1311,
|
|
5082
|
-
"id":
|
|
5082
|
+
"id": 17053,
|
|
5083
5083
|
"parameterSlots": 0,
|
|
5084
5084
|
"returnSlots": 1
|
|
5085
5085
|
},
|
|
5086
|
-
"@
|
|
5086
|
+
"@PERMIT_TYPEHASH_16639": {
|
|
5087
5087
|
"entryPoint": null,
|
|
5088
|
-
"id":
|
|
5088
|
+
"id": 16639,
|
|
5089
5089
|
"parameterSlots": 0,
|
|
5090
5090
|
"returnSlots": 0
|
|
5091
5091
|
},
|
|
5092
|
-
"@
|
|
5092
|
+
"@_approve_17238": {
|
|
5093
5093
|
"entryPoint": 3179,
|
|
5094
|
-
"id":
|
|
5094
|
+
"id": 17238,
|
|
5095
5095
|
"parameterSlots": 3,
|
|
5096
5096
|
"returnSlots": 0
|
|
5097
5097
|
},
|
|
5098
|
-
"@
|
|
5098
|
+
"@_burn_17115": {
|
|
5099
5099
|
"entryPoint": 4171,
|
|
5100
|
-
"id":
|
|
5100
|
+
"id": 17115,
|
|
5101
5101
|
"parameterSlots": 2,
|
|
5102
5102
|
"returnSlots": 0
|
|
5103
5103
|
},
|
|
5104
|
-
"@
|
|
5104
|
+
"@_msgSender_15794": {
|
|
5105
5105
|
"entryPoint": null,
|
|
5106
|
-
"id":
|
|
5106
|
+
"id": 15794,
|
|
5107
5107
|
"parameterSlots": 0,
|
|
5108
5108
|
"returnSlots": 1
|
|
5109
5109
|
},
|
|
5110
|
-
"@
|
|
5110
|
+
"@_transferOwnership_13349": {
|
|
5111
5111
|
"entryPoint": 4399,
|
|
5112
|
-
"id":
|
|
5112
|
+
"id": 13349,
|
|
5113
5113
|
"parameterSlots": 1,
|
|
5114
5114
|
"returnSlots": 0
|
|
5115
5115
|
},
|
|
5116
|
-
"@
|
|
5116
|
+
"@_transfer_17194": {
|
|
5117
5117
|
"entryPoint": 3449,
|
|
5118
|
-
"id":
|
|
5118
|
+
"id": 17194,
|
|
5119
5119
|
"parameterSlots": 3,
|
|
5120
5120
|
"returnSlots": 0
|
|
5121
5121
|
},
|
|
5122
|
-
"@
|
|
5122
|
+
"@allowance_16622": {
|
|
5123
5123
|
"entryPoint": null,
|
|
5124
|
-
"id":
|
|
5124
|
+
"id": 16622,
|
|
5125
5125
|
"parameterSlots": 0,
|
|
5126
5126
|
"returnSlots": 0
|
|
5127
5127
|
},
|
|
5128
|
-
"@
|
|
5128
|
+
"@approveAndCall_17012": {
|
|
5129
5129
|
"entryPoint": 2011,
|
|
5130
|
-
"id":
|
|
5130
|
+
"id": 17012,
|
|
5131
5131
|
"parameterSlots": 3,
|
|
5132
5132
|
"returnSlots": 1
|
|
5133
5133
|
},
|
|
5134
|
-
"@
|
|
5134
|
+
"@approve_17033": {
|
|
5135
5135
|
"entryPoint": 1076,
|
|
5136
|
-
"id":
|
|
5136
|
+
"id": 17033,
|
|
5137
5137
|
"parameterSlots": 2,
|
|
5138
5138
|
"returnSlots": 1
|
|
5139
5139
|
},
|
|
5140
|
-
"@
|
|
5140
|
+
"@balanceOf_16614": {
|
|
5141
5141
|
"entryPoint": null,
|
|
5142
|
-
"id":
|
|
5142
|
+
"id": 16614,
|
|
5143
5143
|
"parameterSlots": 0,
|
|
5144
5144
|
"returnSlots": 0
|
|
5145
5145
|
},
|
|
5146
|
-
"@
|
|
5146
|
+
"@beforeTokenTransfer_17064": {
|
|
5147
5147
|
"entryPoint": null,
|
|
5148
|
-
"id":
|
|
5148
|
+
"id": 17064,
|
|
5149
5149
|
"parameterSlots": 3,
|
|
5150
5150
|
"returnSlots": 0
|
|
5151
5151
|
},
|
|
5152
|
-
"@
|
|
5152
|
+
"@buildDomainSeparator_17271": {
|
|
5153
5153
|
"entryPoint": 3968,
|
|
5154
|
-
"id":
|
|
5154
|
+
"id": 17271,
|
|
5155
5155
|
"parameterSlots": 0,
|
|
5156
5156
|
"returnSlots": 1
|
|
5157
5157
|
},
|
|
5158
|
-
"@
|
|
5158
|
+
"@burnFrom_16974": {
|
|
5159
5159
|
"entryPoint": 1830,
|
|
5160
|
-
"id":
|
|
5160
|
+
"id": 16974,
|
|
5161
5161
|
"parameterSlots": 2,
|
|
5162
5162
|
"returnSlots": 0
|
|
5163
5163
|
},
|
|
5164
|
-
"@
|
|
5164
|
+
"@burn_16925": {
|
|
5165
5165
|
"entryPoint": 1715,
|
|
5166
|
-
"id":
|
|
5166
|
+
"id": 16925,
|
|
5167
5167
|
"parameterSlots": 1,
|
|
5168
5168
|
"returnSlots": 0
|
|
5169
5169
|
},
|
|
5170
|
-
"@
|
|
5170
|
+
"@cachedChainId_16630": {
|
|
5171
5171
|
"entryPoint": null,
|
|
5172
|
-
"id":
|
|
5172
|
+
"id": 16630,
|
|
5173
5173
|
"parameterSlots": 0,
|
|
5174
5174
|
"returnSlots": 0
|
|
5175
5175
|
},
|
|
5176
|
-
"@
|
|
5176
|
+
"@cachedDomainSeparator_16632": {
|
|
5177
5177
|
"entryPoint": null,
|
|
5178
|
-
"id":
|
|
5178
|
+
"id": 16632,
|
|
5179
5179
|
"parameterSlots": 0,
|
|
5180
5180
|
"returnSlots": 0
|
|
5181
5181
|
},
|
|
5182
|
-
"@
|
|
5182
|
+
"@decimals_16656": {
|
|
5183
5183
|
"entryPoint": null,
|
|
5184
|
-
"id":
|
|
5184
|
+
"id": 16656,
|
|
5185
5185
|
"parameterSlots": 0,
|
|
5186
5186
|
"returnSlots": 0
|
|
5187
5187
|
},
|
|
5188
|
-
"@
|
|
5188
|
+
"@mint_16911": {
|
|
5189
5189
|
"entryPoint": 1402,
|
|
5190
|
-
"id":
|
|
5190
|
+
"id": 16911,
|
|
5191
5191
|
"parameterSlots": 2,
|
|
5192
5192
|
"returnSlots": 0
|
|
5193
5193
|
},
|
|
5194
|
-
"@
|
|
5194
|
+
"@name_16647": {
|
|
5195
5195
|
"entryPoint": 934,
|
|
5196
|
-
"id":
|
|
5196
|
+
"id": 16647,
|
|
5197
5197
|
"parameterSlots": 0,
|
|
5198
5198
|
"returnSlots": 0
|
|
5199
5199
|
},
|
|
5200
|
-
"@
|
|
5200
|
+
"@nonce_16628": {
|
|
5201
5201
|
"entryPoint": null,
|
|
5202
|
-
"id":
|
|
5202
|
+
"id": 16628,
|
|
5203
5203
|
"parameterSlots": 0,
|
|
5204
5204
|
"returnSlots": 0
|
|
5205
5205
|
},
|
|
5206
|
-
"@
|
|
5206
|
+
"@owner_13278": {
|
|
5207
5207
|
"entryPoint": null,
|
|
5208
|
-
"id":
|
|
5208
|
+
"id": 13278,
|
|
5209
5209
|
"parameterSlots": 0,
|
|
5210
5210
|
"returnSlots": 1
|
|
5211
5211
|
},
|
|
5212
|
-
"@
|
|
5212
|
+
"@permit_16862": {
|
|
5213
5213
|
"entryPoint": 2172,
|
|
5214
|
-
"id":
|
|
5214
|
+
"id": 16862,
|
|
5215
5215
|
"parameterSlots": 7,
|
|
5216
5216
|
"returnSlots": 0
|
|
5217
5217
|
},
|
|
5218
|
-
"@
|
|
5218
|
+
"@renounceOwnership_13306": {
|
|
5219
5219
|
"entryPoint": 1728,
|
|
5220
|
-
"id":
|
|
5220
|
+
"id": 13306,
|
|
5221
5221
|
"parameterSlots": 0,
|
|
5222
5222
|
"returnSlots": 0
|
|
5223
5223
|
},
|
|
5224
|
-
"@
|
|
5224
|
+
"@symbol_16651": {
|
|
5225
5225
|
"entryPoint": 1985,
|
|
5226
|
-
"id":
|
|
5226
|
+
"id": 16651,
|
|
5227
5227
|
"parameterSlots": 0,
|
|
5228
5228
|
"returnSlots": 0
|
|
5229
5229
|
},
|
|
5230
|
-
"@
|
|
5230
|
+
"@totalSupply_16643": {
|
|
5231
5231
|
"entryPoint": null,
|
|
5232
|
-
"id":
|
|
5232
|
+
"id": 16643,
|
|
5233
5233
|
"parameterSlots": 0,
|
|
5234
5234
|
"returnSlots": 0
|
|
5235
5235
|
},
|
|
5236
|
-
"@
|
|
5236
|
+
"@transferFrom_16759": {
|
|
5237
5237
|
"entryPoint": 1099,
|
|
5238
|
-
"id":
|
|
5238
|
+
"id": 16759,
|
|
5239
5239
|
"parameterSlots": 3,
|
|
5240
5240
|
"returnSlots": 1
|
|
5241
5241
|
},
|
|
5242
|
-
"@
|
|
5242
|
+
"@transferOwnership_13329": {
|
|
5243
5243
|
"entryPoint": 2956,
|
|
5244
|
-
"id":
|
|
5244
|
+
"id": 13329,
|
|
5245
5245
|
"parameterSlots": 1,
|
|
5246
5246
|
"returnSlots": 0
|
|
5247
5247
|
},
|
|
5248
|
-
"@
|
|
5248
|
+
"@transfer_16703": {
|
|
5249
5249
|
"entryPoint": 1998,
|
|
5250
|
-
"id":
|
|
5250
|
+
"id": 16703,
|
|
5251
5251
|
"parameterSlots": 2,
|
|
5252
5252
|
"returnSlots": 1
|
|
5253
5253
|
},
|
|
@@ -15381,7 +15381,7 @@
|
|
|
15381
15381
|
}
|
|
15382
15382
|
],
|
|
15383
15383
|
"immutableReferences": {
|
|
15384
|
-
"
|
|
15384
|
+
"16630": [
|
|
15385
15385
|
{
|
|
15386
15386
|
"length": 32,
|
|
15387
15387
|
"start": 688
|
|
@@ -15391,7 +15391,7 @@
|
|
|
15391
15391
|
"start": 1315
|
|
15392
15392
|
}
|
|
15393
15393
|
],
|
|
15394
|
-
"
|
|
15394
|
+
"16632": [
|
|
15395
15395
|
{
|
|
15396
15396
|
"length": 32,
|
|
15397
15397
|
"start": 800
|
|
@@ -15473,7 +15473,7 @@
|
|
|
15473
15473
|
"storageLayout": {
|
|
15474
15474
|
"storage": [
|
|
15475
15475
|
{
|
|
15476
|
-
"astId":
|
|
15476
|
+
"astId": 13253,
|
|
15477
15477
|
"contract": "@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol:ERC20WithPermit",
|
|
15478
15478
|
"label": "_owner",
|
|
15479
15479
|
"offset": 0,
|
|
@@ -15481,7 +15481,7 @@
|
|
|
15481
15481
|
"type": "t_address"
|
|
15482
15482
|
},
|
|
15483
15483
|
{
|
|
15484
|
-
"astId":
|
|
15484
|
+
"astId": 16614,
|
|
15485
15485
|
"contract": "@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol:ERC20WithPermit",
|
|
15486
15486
|
"label": "balanceOf",
|
|
15487
15487
|
"offset": 0,
|
|
@@ -15489,7 +15489,7 @@
|
|
|
15489
15489
|
"type": "t_mapping(t_address,t_uint256)"
|
|
15490
15490
|
},
|
|
15491
15491
|
{
|
|
15492
|
-
"astId":
|
|
15492
|
+
"astId": 16622,
|
|
15493
15493
|
"contract": "@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol:ERC20WithPermit",
|
|
15494
15494
|
"label": "allowance",
|
|
15495
15495
|
"offset": 0,
|
|
@@ -15497,7 +15497,7 @@
|
|
|
15497
15497
|
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))"
|
|
15498
15498
|
},
|
|
15499
15499
|
{
|
|
15500
|
-
"astId":
|
|
15500
|
+
"astId": 16628,
|
|
15501
15501
|
"contract": "@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol:ERC20WithPermit",
|
|
15502
15502
|
"label": "nonce",
|
|
15503
15503
|
"offset": 0,
|
|
@@ -15505,7 +15505,7 @@
|
|
|
15505
15505
|
"type": "t_mapping(t_address,t_uint256)"
|
|
15506
15506
|
},
|
|
15507
15507
|
{
|
|
15508
|
-
"astId":
|
|
15508
|
+
"astId": 16643,
|
|
15509
15509
|
"contract": "@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol:ERC20WithPermit",
|
|
15510
15510
|
"label": "totalSupply",
|
|
15511
15511
|
"offset": 0,
|
|
@@ -15513,7 +15513,7 @@
|
|
|
15513
15513
|
"type": "t_uint256"
|
|
15514
15514
|
},
|
|
15515
15515
|
{
|
|
15516
|
-
"astId":
|
|
15516
|
+
"astId": 16647,
|
|
15517
15517
|
"contract": "@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol:ERC20WithPermit",
|
|
15518
15518
|
"label": "name",
|
|
15519
15519
|
"offset": 0,
|
|
@@ -15521,7 +15521,7 @@
|
|
|
15521
15521
|
"type": "t_string_storage"
|
|
15522
15522
|
},
|
|
15523
15523
|
{
|
|
15524
|
-
"astId":
|
|
15524
|
+
"astId": 16651,
|
|
15525
15525
|
"contract": "@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol:ERC20WithPermit",
|
|
15526
15526
|
"label": "symbol",
|
|
15527
15527
|
"offset": 0,
|
|
@@ -129,21 +129,21 @@
|
|
|
129
129
|
"evm": {
|
|
130
130
|
"bytecode": {
|
|
131
131
|
"functionDebugData": {
|
|
132
|
-
"@
|
|
132
|
+
"@_13269": {
|
|
133
133
|
"entryPoint": null,
|
|
134
|
-
"id":
|
|
134
|
+
"id": 13269,
|
|
135
135
|
"parameterSlots": 0,
|
|
136
136
|
"returnSlots": 0
|
|
137
137
|
},
|
|
138
|
-
"@
|
|
138
|
+
"@_msgSender_15794": {
|
|
139
139
|
"entryPoint": null,
|
|
140
|
-
"id":
|
|
140
|
+
"id": 15794,
|
|
141
141
|
"parameterSlots": 0,
|
|
142
142
|
"returnSlots": 1
|
|
143
143
|
},
|
|
144
|
-
"@
|
|
144
|
+
"@_transferOwnership_13349": {
|
|
145
145
|
"entryPoint": 31,
|
|
146
|
-
"id":
|
|
146
|
+
"id": 13349,
|
|
147
147
|
"parameterSlots": 1,
|
|
148
148
|
"returnSlots": 0
|
|
149
149
|
}
|
|
@@ -155,81 +155,81 @@
|
|
|
155
155
|
},
|
|
156
156
|
"deployedBytecode": {
|
|
157
157
|
"functionDebugData": {
|
|
158
|
-
"@
|
|
158
|
+
"@_callOptionalReturn_14459": {
|
|
159
159
|
"entryPoint": 1110,
|
|
160
|
-
"id":
|
|
160
|
+
"id": 14459,
|
|
161
161
|
"parameterSlots": 2,
|
|
162
162
|
"returnSlots": 0
|
|
163
163
|
},
|
|
164
|
-
"@
|
|
164
|
+
"@_msgSender_15794": {
|
|
165
165
|
"entryPoint": null,
|
|
166
|
-
"id":
|
|
166
|
+
"id": 15794,
|
|
167
167
|
"parameterSlots": 0,
|
|
168
168
|
"returnSlots": 1
|
|
169
169
|
},
|
|
170
|
-
"@
|
|
170
|
+
"@_transferOwnership_13349": {
|
|
171
171
|
"entryPoint": 1006,
|
|
172
|
-
"id":
|
|
172
|
+
"id": 13349,
|
|
173
173
|
"parameterSlots": 1,
|
|
174
174
|
"returnSlots": 0
|
|
175
175
|
},
|
|
176
|
-
"@
|
|
176
|
+
"@functionCallWithValue_15646": {
|
|
177
177
|
"entryPoint": 1364,
|
|
178
|
-
"id":
|
|
178
|
+
"id": 15646,
|
|
179
179
|
"parameterSlots": 4,
|
|
180
180
|
"returnSlots": 1
|
|
181
181
|
},
|
|
182
|
-
"@
|
|
182
|
+
"@functionCall_15576": {
|
|
183
183
|
"entryPoint": 1339,
|
|
184
|
-
"id":
|
|
184
|
+
"id": 15576,
|
|
185
185
|
"parameterSlots": 3,
|
|
186
186
|
"returnSlots": 1
|
|
187
187
|
},
|
|
188
|
-
"@
|
|
188
|
+
"@isContract_15505": {
|
|
189
189
|
"entryPoint": null,
|
|
190
|
-
"id":
|
|
190
|
+
"id": 15505,
|
|
191
191
|
"parameterSlots": 1,
|
|
192
192
|
"returnSlots": 1
|
|
193
193
|
},
|
|
194
|
-
"@
|
|
194
|
+
"@owner_13278": {
|
|
195
195
|
"entryPoint": null,
|
|
196
|
-
"id":
|
|
196
|
+
"id": 13278,
|
|
197
197
|
"parameterSlots": 0,
|
|
198
198
|
"returnSlots": 1
|
|
199
199
|
},
|
|
200
|
-
"@
|
|
200
|
+
"@recoverERC20_17402": {
|
|
201
201
|
"entryPoint": 206,
|
|
202
|
-
"id":
|
|
202
|
+
"id": 17402,
|
|
203
203
|
"parameterSlots": 3,
|
|
204
204
|
"returnSlots": 0
|
|
205
205
|
},
|
|
206
|
-
"@
|
|
206
|
+
"@recoverERC721_17429": {
|
|
207
207
|
"entryPoint": 654,
|
|
208
|
-
"id":
|
|
208
|
+
"id": 17429,
|
|
209
209
|
"parameterSlots": 5,
|
|
210
210
|
"returnSlots": 0
|
|
211
211
|
},
|
|
212
|
-
"@
|
|
212
|
+
"@renounceOwnership_13306": {
|
|
213
213
|
"entryPoint": 326,
|
|
214
|
-
"id":
|
|
214
|
+
"id": 13306,
|
|
215
215
|
"parameterSlots": 0,
|
|
216
216
|
"returnSlots": 0
|
|
217
217
|
},
|
|
218
|
-
"@
|
|
218
|
+
"@safeTransfer_14267": {
|
|
219
219
|
"entryPoint": 878,
|
|
220
|
-
"id":
|
|
220
|
+
"id": 14267,
|
|
221
221
|
"parameterSlots": 3,
|
|
222
222
|
"returnSlots": 0
|
|
223
223
|
},
|
|
224
|
-
"@
|
|
224
|
+
"@transferOwnership_13329": {
|
|
225
225
|
"entryPoint": 428,
|
|
226
|
-
"id":
|
|
226
|
+
"id": 13329,
|
|
227
227
|
"parameterSlots": 1,
|
|
228
228
|
"returnSlots": 0
|
|
229
229
|
},
|
|
230
|
-
"@
|
|
230
|
+
"@verifyCallResult_15781": {
|
|
231
231
|
"entryPoint": 1692,
|
|
232
|
-
"id":
|
|
232
|
+
"id": 15781,
|
|
233
233
|
"parameterSlots": 3,
|
|
234
234
|
"returnSlots": 1
|
|
235
235
|
},
|
|
@@ -245,13 +245,13 @@
|
|
|
245
245
|
"parameterSlots": 2,
|
|
246
246
|
"returnSlots": 1
|
|
247
247
|
},
|
|
248
|
-
"abi_decode_tuple_t_contract$_IERC20_$
|
|
248
|
+
"abi_decode_tuple_t_contract$_IERC20_$14211t_addresst_uint256": {
|
|
249
249
|
"entryPoint": 1770,
|
|
250
250
|
"id": null,
|
|
251
251
|
"parameterSlots": 2,
|
|
252
252
|
"returnSlots": 3
|
|
253
253
|
},
|
|
254
|
-
"abi_decode_tuple_t_contract$_IERC721_$
|
|
254
|
+
"abi_decode_tuple_t_contract$_IERC721_$15442t_addresst_uint256t_bytes_calldata_ptr": {
|
|
255
255
|
"entryPoint": 1864,
|
|
256
256
|
"id": null,
|
|
257
257
|
"parameterSlots": 2,
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
}
|
|
726
726
|
]
|
|
727
727
|
},
|
|
728
|
-
"name": "abi_decode_tuple_t_contract$_IERC20_$
|
|
728
|
+
"name": "abi_decode_tuple_t_contract$_IERC20_$14211t_addresst_uint256",
|
|
729
729
|
"nodeType": "YulFunctionDefinition",
|
|
730
730
|
"parameters": [
|
|
731
731
|
{
|
|
@@ -1803,7 +1803,7 @@
|
|
|
1803
1803
|
}
|
|
1804
1804
|
]
|
|
1805
1805
|
},
|
|
1806
|
-
"name": "abi_decode_tuple_t_contract$_IERC721_$
|
|
1806
|
+
"name": "abi_decode_tuple_t_contract$_IERC721_$15442t_addresst_uint256t_bytes_calldata_ptr",
|
|
1807
1807
|
"nodeType": "YulFunctionDefinition",
|
|
1808
1808
|
"parameters": [
|
|
1809
1809
|
{
|
|
@@ -4480,7 +4480,7 @@
|
|
|
4480
4480
|
}
|
|
4481
4481
|
]
|
|
4482
4482
|
},
|
|
4483
|
-
"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_$
|
|
4483
|
+
"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_$14211t_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_$15442t_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_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_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_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 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 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_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}",
|
|
4484
4484
|
"id": 101,
|
|
4485
4485
|
"language": "Yul",
|
|
4486
4486
|
"name": "#utility.yul"
|
|
@@ -4517,7 +4517,7 @@
|
|
|
4517
4517
|
"storageLayout": {
|
|
4518
4518
|
"storage": [
|
|
4519
4519
|
{
|
|
4520
|
-
"astId":
|
|
4520
|
+
"astId": 13253,
|
|
4521
4521
|
"contract": "@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol:MisfundRecovery",
|
|
4522
4522
|
"label": "_owner",
|
|
4523
4523
|
"offset": 0,
|