@keep-network/tbtc-v2 1.7.0 → 1.7.2
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/BLS.json +223 -0
- package/artifacts/Bank.json +50 -40
- package/artifacts/BeaconAuthorization.json +273 -0
- package/artifacts/BeaconDkg.json +241 -0
- package/artifacts/BeaconDkgValidator.json +501 -0
- package/artifacts/BeaconInactivity.json +151 -0
- package/artifacts/BeaconSortitionPool.json +1187 -0
- package/artifacts/Bridge.json +449 -32
- package/artifacts/BridgeGovernance.json +22 -22
- package/artifacts/BridgeGovernanceParameters.json +10 -10
- package/artifacts/Deposit.json +12 -12
- package/artifacts/DepositSweep.json +12 -12
- package/artifacts/DonationVault.json +17 -17
- package/artifacts/EcdsaDkgValidator.json +517 -0
- package/artifacts/EcdsaInactivity.json +156 -0
- package/artifacts/EcdsaSortitionPool.json +1187 -0
- package/artifacts/Fraud.json +12 -12
- package/artifacts/LightRelay.json +38 -38
- package/artifacts/LightRelayMaintainerProxy.json +31 -31
- package/artifacts/MaintainerProxy.json +44 -44
- package/artifacts/MovingFunds.json +12 -12
- package/artifacts/NuCypherToken.json +711 -0
- package/artifacts/RandomBeacon.json +3271 -0
- package/artifacts/RandomBeaconChaosnet.json +252 -0
- package/artifacts/RandomBeaconGovernance.json +3499 -0
- package/artifacts/Redemption.json +12 -12
- package/artifacts/RedemptionWatchtower.json +39 -39
- package/artifacts/ReimbursementPool.json +509 -0
- package/artifacts/T.json +1148 -0
- package/artifacts/TBTC.json +37 -36
- package/artifacts/TBTCToken.json +738 -0
- package/artifacts/TBTCVault.json +47 -47
- package/artifacts/Timelock.json +148 -148
- package/artifacts/TokenStaking.json +2117 -0
- package/artifacts/TokenholderGovernor.json +1795 -0
- package/artifacts/TokenholderTimelock.json +1058 -0
- package/artifacts/VendingMachine.json +35 -34
- package/artifacts/VendingMachineNuCypher.json +400 -0
- package/artifacts/VendingMachineV2.json +21 -21
- package/artifacts/VendingMachineV3.json +21 -21
- package/artifacts/WalletProposalValidator.json +12 -12
- package/artifacts/WalletRegistry.json +1962 -0
- package/artifacts/WalletRegistryGovernance.json +2863 -0
- package/artifacts/Wallets.json +12 -12
- package/artifacts/solcInputs/{be146ce112252bdda3a03de3614fbbf1.json → 2cb3f9e60e45f0ca528d3d5260ff3139.json} +31 -7
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/Timelock.sol/Timelock.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/IRedemptionWatchtower.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/RedemptionWatchtower.sol/RedemptionWatchtower.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 +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/integrator/AbstractTBTCDepositor.sol/AbstractTBTCDepositor.dbg.json +1 -1
- package/build/contracts/integrator/IBridge.sol/IBridge.dbg.json +1 -1
- package/build/contracts/integrator/IBridge.sol/IBridgeTypes.dbg.json +1 -1
- package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.dbg.json +1 -1
- package/build/contracts/l2/L1BitcoinDepositor.sol/L1BitcoinDepositor.dbg.json +1 -1
- package/build/contracts/l2/L1BitcoinDepositor.sol/L1BitcoinDepositor.json +41 -2
- package/build/contracts/l2/L2BitcoinDepositor.sol/IL2WormholeGateway.dbg.json +1 -1
- package/build/contracts/l2/L2BitcoinDepositor.sol/L2BitcoinDepositor.dbg.json +1 -1
- package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/IWormhole.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/IWormholeReceiver.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/IWormholeRelayer.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/IWormholeTokenBridge.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/WormholeTypes.dbg.json +1 -1
- package/build/contracts/l2/Wormhole.sol/WormholeUtils.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/test/BankStub.sol/BankStub.dbg.json +1 -1
- package/build/contracts/test/BridgeStub.sol/BridgeStub.dbg.json +1 -1
- package/build/contracts/test/HeartbeatStub.sol/HeartbeatStub.dbg.json +1 -1
- package/build/contracts/test/LightRelayStub.sol/LightRelayStub.dbg.json +1 -1
- package/build/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.dbg.json +1 -1
- package/build/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.dbg.json +1 -1
- package/build/contracts/test/SystemTestRelay.sol/SystemTestRelay.dbg.json +1 -1
- package/build/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.dbg.json +1 -1
- package/build/contracts/test/TestERC20.sol/TestERC20.dbg.json +1 -1
- package/build/contracts/test/TestERC721.sol/TestERC721.dbg.json +1 -1
- package/build/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.dbg.json +1 -1
- package/build/contracts/test/TestTBTCDepositor.sol/MockBridge.dbg.json +1 -1
- package/build/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.dbg.json +1 -1
- package/build/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.dbg.json +1 -1
- package/build/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.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/l2/L1BitcoinDepositor.sol +31 -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/governance/TimelockController.sol/TimelockController.json +107 -107
- 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/Timelock.sol/Timelock.json +109 -109
- package/export/artifacts/contracts/bank/Bank.sol/Bank.json +77 -77
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +338 -338
- package/export/artifacts/contracts/bridge/RedemptionWatchtower.sol/RedemptionWatchtower.json +128 -128
- 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 +67 -67
- package/export/artifacts/contracts/l2/L1BitcoinDepositor.sol/L1BitcoinDepositor.json +4431 -4171
- package/export/artifacts/contracts/l2/L2BitcoinDepositor.sol/L2BitcoinDepositor.json +62 -62
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +194 -194
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +102 -102
- 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 +376 -376
- 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/TestBitcoinTx.sol/TestBitcoinTx.json +132 -132
- 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/TestTBTCDepositor.sol/MockBridge.json +34 -34
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.json +20 -20
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.json +52 -52
- 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/00_resolve_reimbursement_pool.js +1 -1
- package/export/deploy/00_resolve_tbtc_v1_token.js +1 -1
- package/export/deploy/00_resolve_wallet_registry.js +1 -1
- package/export/deploy/01_deploy_light_relay.js +1 -1
- package/export/deploy/02_deploy_tbtc_v2_token.js +1 -1
- package/export/deploy/03_deploy_vending_machine.js +1 -1
- package/export/deploy/04_transfer_vending_machine_roles.js +1 -1
- package/export/deploy/05_deploy_bank.js +1 -1
- package/export/deploy/06_deploy_bridge.js +1 -1
- package/export/deploy/07_deploy_tbtc_vault.js +1 -1
- package/export/deploy/08_deploy_donation_vault.js +1 -1
- package/export/deploy/09_deploy_bridge_governance.js +1 -1
- package/export/deploy/10_deploy_maintainer_proxy.js +1 -1
- package/export/deploy/11_bank_update_bridge.js +1 -1
- package/export/deploy/12_authorize_tbtc_vault_in_bridge.js +1 -1
- package/export/deploy/13_authorize_maintainer_proxy_in_bridge.js +1 -1
- package/export/deploy/14_set_deposit_parameters.js +1 -1
- package/export/deploy/15_set_wallet_parameters.js +1 -1
- package/export/deploy/16_disable_fraud_challenges.js +1 -1
- package/export/deploy/17_disable_redemptions.js +1 -1
- package/export/deploy/18_disable_moving_funds.js +1 -1
- package/export/deploy/19_authorize_spv_maintainer_in_bridge.js +1 -1
- package/export/deploy/20_transfer_bank_ownership.js +1 -1
- package/export/deploy/21_transfer_bridge_governance.js +1 -1
- package/export/deploy/22_transfer_bridge_governance_ownership.js +1 -1
- package/export/deploy/23_transfer_tbtc_vault_ownership.js +1 -1
- package/export/deploy/24_transfer_tbtc_ownership.js +1 -1
- package/export/deploy/25_transfer_maintainer_proxy_ownership.js +1 -1
- package/export/deploy/26_transfer_proxy_admin_ownership.js +1 -1
- package/export/deploy/27_authorize_maintainer_proxy_in_reimbursement_pool.js +1 -1
- package/export/deploy/28_authorize_bridge_in_reimbursement_pool.js +1 -1
- package/export/deploy/29_deploy_proxy_admin_with_deputy.js +1 -1
- package/export/deploy/30_deploy_vending_machine_v2.js +1 -1
- package/export/deploy/31_deploy_vending_machine_v3.js +1 -1
- package/export/deploy/32_transfer_vending_machine_v2_ownership.js +1 -1
- package/export/deploy/33_transfer_vending_machine_v3_ownership.js +1 -1
- package/export/deploy/34_deploy_light_relay_maintainer_proxy.js +1 -1
- package/export/deploy/35_authorize_maintainer_in_light_relay_maintainer_proxy.js +1 -1
- package/export/deploy/36_transfer_light_relay_maintainer_proxy_ownership.js +1 -1
- package/export/deploy/37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +1 -1
- package/export/deploy/38_authorize_light_relay_maintainer_proxy_in_light_relay.js +1 -1
- package/export/deploy/39_deploy_wallet_proposal_validator.js +1 -1
- package/export/deploy/40_deploy_redemption_watchtower.js +1 -1
- package/export/deploy/41_transfer_redemption_watchtower_ownership.js +1 -1
- package/export/deploy/42_deploy_timelock.js +1 -1
- package/export/deploy/80_upgrade_bridge_v2.js +1 -1
- package/export/deploy/90_initialize_wallet_owner.js +1 -1
- package/export/deploy/91_genesis_relay.js +1 -1
- package/export/deploy/92_retarget_relay.js +1 -1
- package/export/deploy/93_authorize_relay_maintainer.js +1 -1
- package/export/deploy/94_transfer_relay_ownership.js +1 -1
- package/export/tasks/test-utils.js +1 -1
- package/export/test/integration/utils/ecdsa-wallet-registry.js +1 -1
- package/export/test/integration/utils/random-beacon.js +1 -1
- package/export/test/integration/utils/staking.js +1 -1
- package/export/typechain/factories/EcdsaAuthorization__factory.js +1 -1
- package/export/typechain/factories/IStaking__factory.js +24 -103
- package/export/typechain/factories/L1BitcoinDepositor__factory.js +40 -1
- package/export/typechain/factories/WalletRegistry__factory.js +1 -1
- package/package.json +6 -6
- package/artifacts/solcInputs/7c1f8f1dbded4c787d87a982d1fc8349.json +0 -410
- package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +0 -102
- package/artifacts/solcInputs/802132f7da69a8a4226cb9424480847b.json +0 -218
- package/artifacts/solcInputs/887fad6b16575ba42183543c324eeb0e.json +0 -335
- package/artifacts/solcInputs/98e272e2fbf178ec895387b6c503f9de.json +0 -68
- package/artifacts/solcInputs/b0025f1f7efe4824592ac0c9793776c3.json +0 -392
- package/artifacts/solcInputs/b7c5f3550cc22e16e6b6ea9582ccbee3.json +0 -341
- package/artifacts/solcInputs/d71d4b4434e6669852eaf643ebd2a7bc.json +0 -209
- package/artifacts/solcInputs/fccb130292c8c7cc958ab4fa31a3e180.json +0 -187
- package/export/deploy/00_resolve_relay.js +0 -83
- package/export/deploy/01_deploy_tbtc_v2_token.js +0 -70
- package/export/deploy/02_deploy_vending_machine.js +0 -84
- package/export/deploy/03_transfer_vending_machine_roles.js +0 -69
- package/export/deploy/04_deploy_bank.js +0 -73
- package/export/deploy/05_deploy_bridge.js +0 -178
- package/export/deploy/06_deploy_tbtc_vault.js +0 -80
- package/export/deploy/07_deploy_bridge_governance.js +0 -87
- package/export/deploy/08_deploy_maintainer_proxy.js +0 -80
- package/export/deploy/09_bank_update_bridge.js +0 -63
- package/export/deploy/10_authorize_spv_maintainer_in_bridge.js +0 -61
- package/export/deploy/11_transfer_bank_ownership.js +0 -60
- package/export/deploy/12_transfer_bridge_governance.js +0 -63
- package/export/deploy/13_transfer_bridge_governance_ownership.js +0 -60
- package/export/deploy/14_transfer_tbtc_vault_ownership.js +0 -60
- package/export/deploy/15_transfer_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/16_initialize_wallet_owner.js +0 -63
- package/export/deploy/16_transfer_proxy_admin_ownership.js +0 -73
- package/export/deploy/17_authorize_maintainer_proxy_in_bridge.js +0 -63
- package/export/deploy/17_transfer_proxy_admin_ownership.js +0 -73
- package/export/deploy/18_authorize_maintainer_proxy_in_bridge.js +0 -63
- package/export/deploy/18_authorize_maintainer_proxy_in_reimbursement_pool.js +0 -63
- package/export/deploy/19_authorize_bridge_in_reimbursement_pool.js +0 -63
- package/export/deploy/19_authorize_maintainer_proxy_in_reimbursement_pool.js +0 -63
- package/export/deploy/20_authorize_bridge_in_reimbursement_pool.js +0 -63
- package/export/deploy/20_deploy_proxy_admin_with_deputy.js +0 -80
- package/export/deploy/21_transfer_reimbursement_pool_ownership.js +0 -60
- package/export/deploy/22_deploy_proxy_admin_with_deputy.js +0 -80
- package/export/deploy/24_transfer_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/25_transfer_proxy_admin_ownership.js +0 -73
- package/export/deploy/26_authorize_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/27_authorize_bridge_in_reimbursement_pool.js +0 -70
- package/export/deploy/28_deploy_proxy_admin_with_deputy.js +0 -80
- package/export/deploy/34_deploy_wallet_coordinator.js +0 -115
- package/export/deploy/35_add_coordinator_address.js +0 -60
- package/export/deploy/35_transfer_wallet_coordinator_ownership.js +0 -60
- package/export/deploy/36_deploy_light_relay_maintainer_proxy.js +0 -86
- package/export/deploy/36_transfer_wallet_coordinator_ownership.js +0 -60
- package/export/deploy/37_authorize_maintainer_in_light_relay_maintainer_proxy.js +0 -65
- package/export/deploy/37_deploy_light_relay_maintainer_proxy.js +0 -86
- package/export/deploy/37_transfer_light_relay_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/38_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/38_authorize_maintainer_in_light_relay_maintainer_proxy.js +0 -65
- package/export/deploy/38_transfer_light_relay_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/39_authorize_light_relay_maintainer_proxy_in_light_relay.js +0 -63
- package/export/deploy/39_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/39_transfer_light_relay_maintainer_proxy_ownership.js +0 -60
- package/export/deploy/40_authorize_light_relay_maintainer_proxy_in_light_relay.js +0 -66
- package/export/deploy/40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js +0 -70
- package/export/deploy/41_authorize_light_relay_maintainer_proxy_in_light_relay.js +0 -66
- package/export/typechain/GoerliLightRelay.js +0 -2
- package/export/typechain/RelayStub.js +0 -2
- package/export/typechain/TestRelay.js +0 -2
- package/export/typechain/WalletCoordinator.js +0 -2
- package/export/typechain/factories/GoerliLightRelay__factory.js +0 -535
- package/export/typechain/factories/RelayStub__factory.js +0 -546
- package/export/typechain/factories/TestRelay__factory.js +0 -168
- package/export/typechain/factories/WalletCoordinator__factory.js +0 -1121
|
@@ -434,15 +434,15 @@
|
|
|
434
434
|
"evm": {
|
|
435
435
|
"bytecode": {
|
|
436
436
|
"functionDebugData": {
|
|
437
|
-
"@
|
|
437
|
+
"@_19977": {
|
|
438
438
|
"entryPoint": null,
|
|
439
|
-
"id":
|
|
439
|
+
"id": 19977,
|
|
440
440
|
"parameterSlots": 2,
|
|
441
441
|
"returnSlots": 0
|
|
442
442
|
},
|
|
443
|
-
"@
|
|
443
|
+
"@_45212": {
|
|
444
444
|
"entryPoint": null,
|
|
445
|
-
"id":
|
|
445
|
+
"id": 45212,
|
|
446
446
|
"parameterSlots": 0,
|
|
447
447
|
"returnSlots": 0
|
|
448
448
|
},
|
|
@@ -2584,207 +2584,207 @@
|
|
|
2584
2584
|
},
|
|
2585
2585
|
"deployedBytecode": {
|
|
2586
2586
|
"functionDebugData": {
|
|
2587
|
-
"@
|
|
2587
|
+
"@NAME_45201": {
|
|
2588
2588
|
"entryPoint": null,
|
|
2589
|
-
"id":
|
|
2589
|
+
"id": 45201,
|
|
2590
2590
|
"parameterSlots": 0,
|
|
2591
2591
|
"returnSlots": 0
|
|
2592
2592
|
},
|
|
2593
|
-
"@
|
|
2593
|
+
"@SYMBOL_45204": {
|
|
2594
2594
|
"entryPoint": null,
|
|
2595
|
-
"id":
|
|
2595
|
+
"id": 45204,
|
|
2596
2596
|
"parameterSlots": 0,
|
|
2597
2597
|
"returnSlots": 0
|
|
2598
2598
|
},
|
|
2599
|
-
"@
|
|
2599
|
+
"@_afterTokenTransfer_20858": {
|
|
2600
2600
|
"entryPoint": null,
|
|
2601
|
-
"id":
|
|
2601
|
+
"id": 20858,
|
|
2602
2602
|
"parameterSlots": 4,
|
|
2603
2603
|
"returnSlots": 0
|
|
2604
2604
|
},
|
|
2605
|
-
"@
|
|
2605
|
+
"@_approve_20691": {
|
|
2606
2606
|
"entryPoint": 2208,
|
|
2607
|
-
"id":
|
|
2607
|
+
"id": 20691,
|
|
2608
2608
|
"parameterSlots": 2,
|
|
2609
2609
|
"returnSlots": 0
|
|
2610
2610
|
},
|
|
2611
|
-
"@
|
|
2611
|
+
"@_baseURI_20128": {
|
|
2612
2612
|
"entryPoint": null,
|
|
2613
|
-
"id":
|
|
2613
|
+
"id": 20128,
|
|
2614
2614
|
"parameterSlots": 0,
|
|
2615
2615
|
"returnSlots": 1
|
|
2616
2616
|
},
|
|
2617
|
-
"@
|
|
2617
|
+
"@_beforeTokenTransfer_20845": {
|
|
2618
2618
|
"entryPoint": 3914,
|
|
2619
|
-
"id":
|
|
2619
|
+
"id": 20845,
|
|
2620
2620
|
"parameterSlots": 4,
|
|
2621
2621
|
"returnSlots": 0
|
|
2622
2622
|
},
|
|
2623
|
-
"@
|
|
2623
|
+
"@_checkOnERC721Received_20799": {
|
|
2624
2624
|
"entryPoint": 4050,
|
|
2625
|
-
"id":
|
|
2625
|
+
"id": 20799,
|
|
2626
2626
|
"parameterSlots": 4,
|
|
2627
2627
|
"returnSlots": 1
|
|
2628
2628
|
},
|
|
2629
|
-
"@
|
|
2629
|
+
"@_exists_20360": {
|
|
2630
2630
|
"entryPoint": null,
|
|
2631
|
-
"id":
|
|
2631
|
+
"id": 20360,
|
|
2632
2632
|
"parameterSlots": 1,
|
|
2633
2633
|
"returnSlots": 1
|
|
2634
2634
|
},
|
|
2635
|
-
"@
|
|
2635
|
+
"@_isApprovedOrOwner_20394": {
|
|
2636
2636
|
"entryPoint": 2331,
|
|
2637
|
-
"id":
|
|
2637
|
+
"id": 20394,
|
|
2638
2638
|
"parameterSlots": 2,
|
|
2639
2639
|
"returnSlots": 1
|
|
2640
2640
|
},
|
|
2641
|
-
"@
|
|
2641
|
+
"@_mint_20515": {
|
|
2642
2642
|
"entryPoint": 2989,
|
|
2643
|
-
"id":
|
|
2643
|
+
"id": 20515,
|
|
2644
2644
|
"parameterSlots": 2,
|
|
2645
2645
|
"returnSlots": 0
|
|
2646
2646
|
},
|
|
2647
|
-
"@
|
|
2647
|
+
"@_msgSender_21362": {
|
|
2648
2648
|
"entryPoint": null,
|
|
2649
|
-
"id":
|
|
2649
|
+
"id": 21362,
|
|
2650
2650
|
"parameterSlots": 0,
|
|
2651
2651
|
"returnSlots": 1
|
|
2652
2652
|
},
|
|
2653
|
-
"@
|
|
2653
|
+
"@_ownerOf_20342": {
|
|
2654
2654
|
"entryPoint": null,
|
|
2655
|
-
"id":
|
|
2655
|
+
"id": 20342,
|
|
2656
2656
|
"parameterSlots": 1,
|
|
2657
2657
|
"returnSlots": 1
|
|
2658
2658
|
},
|
|
2659
|
-
"@
|
|
2659
|
+
"@_requireMinted_20737": {
|
|
2660
2660
|
"entryPoint": 2105,
|
|
2661
|
-
"id":
|
|
2661
|
+
"id": 20737,
|
|
2662
2662
|
"parameterSlots": 1,
|
|
2663
2663
|
"returnSlots": 0
|
|
2664
2664
|
},
|
|
2665
|
-
"@
|
|
2665
|
+
"@_safeTransfer_20329": {
|
|
2666
2666
|
"entryPoint": 3617,
|
|
2667
|
-
"id":
|
|
2667
|
+
"id": 20329,
|
|
2668
2668
|
"parameterSlots": 4,
|
|
2669
2669
|
"returnSlots": 0
|
|
2670
2670
|
},
|
|
2671
|
-
"@
|
|
2671
|
+
"@_setApprovalForAll_20723": {
|
|
2672
2672
|
"entryPoint": 3411,
|
|
2673
|
-
"id":
|
|
2673
|
+
"id": 20723,
|
|
2674
2674
|
"parameterSlots": 3,
|
|
2675
2675
|
"returnSlots": 0
|
|
2676
2676
|
},
|
|
2677
|
-
"@
|
|
2677
|
+
"@_transfer_20667": {
|
|
2678
2678
|
"entryPoint": 2458,
|
|
2679
|
-
"id":
|
|
2679
|
+
"id": 20667,
|
|
2680
2680
|
"parameterSlots": 3,
|
|
2681
2681
|
"returnSlots": 0
|
|
2682
2682
|
},
|
|
2683
|
-
"@
|
|
2683
|
+
"@approve_20171": {
|
|
2684
2684
|
"entryPoint": 1082,
|
|
2685
|
-
"id":
|
|
2685
|
+
"id": 20171,
|
|
2686
2686
|
"parameterSlots": 2,
|
|
2687
2687
|
"returnSlots": 0
|
|
2688
2688
|
},
|
|
2689
|
-
"@
|
|
2689
|
+
"@balanceOf_20032": {
|
|
2690
2690
|
"entryPoint": 1683,
|
|
2691
|
-
"id":
|
|
2691
|
+
"id": 20032,
|
|
2692
2692
|
"parameterSlots": 1,
|
|
2693
2693
|
"returnSlots": 1
|
|
2694
2694
|
},
|
|
2695
|
-
"@
|
|
2695
|
+
"@getApproved_20189": {
|
|
2696
2696
|
"entryPoint": 1043,
|
|
2697
|
-
"id":
|
|
2697
|
+
"id": 20189,
|
|
2698
2698
|
"parameterSlots": 1,
|
|
2699
2699
|
"returnSlots": 1
|
|
2700
2700
|
},
|
|
2701
|
-
"@
|
|
2701
|
+
"@isApprovedForAll_20224": {
|
|
2702
2702
|
"entryPoint": null,
|
|
2703
|
-
"id":
|
|
2703
|
+
"id": 20224,
|
|
2704
2704
|
"parameterSlots": 2,
|
|
2705
2705
|
"returnSlots": 1
|
|
2706
2706
|
},
|
|
2707
|
-
"@
|
|
2707
|
+
"@isContract_21038": {
|
|
2708
2708
|
"entryPoint": null,
|
|
2709
|
-
"id":
|
|
2709
|
+
"id": 21038,
|
|
2710
2710
|
"parameterSlots": 1,
|
|
2711
2711
|
"returnSlots": 1
|
|
2712
2712
|
},
|
|
2713
|
-
"@
|
|
2713
|
+
"@log10_22706": {
|
|
2714
2714
|
"entryPoint": 4393,
|
|
2715
|
-
"id":
|
|
2715
|
+
"id": 22706,
|
|
2716
2716
|
"parameterSlots": 1,
|
|
2717
2717
|
"returnSlots": 1
|
|
2718
2718
|
},
|
|
2719
|
-
"@
|
|
2719
|
+
"@mint_45225": {
|
|
2720
2720
|
"entryPoint": 1541,
|
|
2721
|
-
"id":
|
|
2721
|
+
"id": 45225,
|
|
2722
2722
|
"parameterSlots": 2,
|
|
2723
2723
|
"returnSlots": 0
|
|
2724
2724
|
},
|
|
2725
|
-
"@
|
|
2725
|
+
"@name_20070": {
|
|
2726
2726
|
"entryPoint": 897,
|
|
2727
|
-
"id":
|
|
2727
|
+
"id": 20070,
|
|
2728
2728
|
"parameterSlots": 0,
|
|
2729
2729
|
"returnSlots": 1
|
|
2730
2730
|
},
|
|
2731
|
-
"@
|
|
2731
|
+
"@ownerOf_20060": {
|
|
2732
2732
|
"entryPoint": 1582,
|
|
2733
|
-
"id":
|
|
2733
|
+
"id": 20060,
|
|
2734
2734
|
"parameterSlots": 1,
|
|
2735
2735
|
"returnSlots": 1
|
|
2736
2736
|
},
|
|
2737
|
-
"@
|
|
2737
|
+
"@safeTransferFrom_20270": {
|
|
2738
2738
|
"entryPoint": 1555,
|
|
2739
|
-
"id":
|
|
2739
|
+
"id": 20270,
|
|
2740
2740
|
"parameterSlots": 3,
|
|
2741
2741
|
"returnSlots": 0
|
|
2742
2742
|
},
|
|
2743
|
-
"@
|
|
2743
|
+
"@safeTransferFrom_20300": {
|
|
2744
2744
|
"entryPoint": 1863,
|
|
2745
|
-
"id":
|
|
2745
|
+
"id": 20300,
|
|
2746
2746
|
"parameterSlots": 4,
|
|
2747
2747
|
"returnSlots": 0
|
|
2748
2748
|
},
|
|
2749
|
-
"@
|
|
2749
|
+
"@setApprovalForAll_20206": {
|
|
2750
2750
|
"entryPoint": 1852,
|
|
2751
|
-
"id":
|
|
2751
|
+
"id": 20206,
|
|
2752
2752
|
"parameterSlots": 2,
|
|
2753
2753
|
"returnSlots": 0
|
|
2754
2754
|
},
|
|
2755
|
-
"@
|
|
2755
|
+
"@supportsInterface_20008": {
|
|
2756
2756
|
"entryPoint": 740,
|
|
2757
|
-
"id":
|
|
2757
|
+
"id": 20008,
|
|
2758
2758
|
"parameterSlots": 1,
|
|
2759
2759
|
"returnSlots": 1
|
|
2760
2760
|
},
|
|
2761
|
-
"@
|
|
2761
|
+
"@supportsInterface_21991": {
|
|
2762
2762
|
"entryPoint": null,
|
|
2763
|
-
"id":
|
|
2763
|
+
"id": 21991,
|
|
2764
2764
|
"parameterSlots": 1,
|
|
2765
2765
|
"returnSlots": 1
|
|
2766
2766
|
},
|
|
2767
|
-
"@
|
|
2767
|
+
"@symbol_20080": {
|
|
2768
2768
|
"entryPoint": 1837,
|
|
2769
|
-
"id":
|
|
2769
|
+
"id": 20080,
|
|
2770
2770
|
"parameterSlots": 0,
|
|
2771
2771
|
"returnSlots": 1
|
|
2772
2772
|
},
|
|
2773
|
-
"@
|
|
2773
|
+
"@toString_21490": {
|
|
2774
2774
|
"entryPoint": 3754,
|
|
2775
|
-
"id":
|
|
2775
|
+
"id": 21490,
|
|
2776
2776
|
"parameterSlots": 1,
|
|
2777
2777
|
"returnSlots": 1
|
|
2778
2778
|
},
|
|
2779
|
-
"@
|
|
2779
|
+
"@tokenURI_20119": {
|
|
2780
2780
|
"entryPoint": 1989,
|
|
2781
|
-
"id":
|
|
2781
|
+
"id": 20119,
|
|
2782
2782
|
"parameterSlots": 1,
|
|
2783
2783
|
"returnSlots": 1
|
|
2784
2784
|
},
|
|
2785
|
-
"@
|
|
2785
|
+
"@transferFrom_20251": {
|
|
2786
2786
|
"entryPoint": 1422,
|
|
2787
|
-
"id":
|
|
2787
|
+
"id": 20251,
|
|
2788
2788
|
"parameterSlots": 3,
|
|
2789
2789
|
"returnSlots": 0
|
|
2790
2790
|
},
|
|
@@ -10537,7 +10537,7 @@
|
|
|
10537
10537
|
"storageLayout": {
|
|
10538
10538
|
"storage": [
|
|
10539
10539
|
{
|
|
10540
|
-
"astId":
|
|
10540
|
+
"astId": 19940,
|
|
10541
10541
|
"contract": "contracts/test/TestERC721.sol:TestERC721",
|
|
10542
10542
|
"label": "_name",
|
|
10543
10543
|
"offset": 0,
|
|
@@ -10545,7 +10545,7 @@
|
|
|
10545
10545
|
"type": "t_string_storage"
|
|
10546
10546
|
},
|
|
10547
10547
|
{
|
|
10548
|
-
"astId":
|
|
10548
|
+
"astId": 19942,
|
|
10549
10549
|
"contract": "contracts/test/TestERC721.sol:TestERC721",
|
|
10550
10550
|
"label": "_symbol",
|
|
10551
10551
|
"offset": 0,
|
|
@@ -10553,7 +10553,7 @@
|
|
|
10553
10553
|
"type": "t_string_storage"
|
|
10554
10554
|
},
|
|
10555
10555
|
{
|
|
10556
|
-
"astId":
|
|
10556
|
+
"astId": 19946,
|
|
10557
10557
|
"contract": "contracts/test/TestERC721.sol:TestERC721",
|
|
10558
10558
|
"label": "_owners",
|
|
10559
10559
|
"offset": 0,
|
|
@@ -10561,7 +10561,7 @@
|
|
|
10561
10561
|
"type": "t_mapping(t_uint256,t_address)"
|
|
10562
10562
|
},
|
|
10563
10563
|
{
|
|
10564
|
-
"astId":
|
|
10564
|
+
"astId": 19950,
|
|
10565
10565
|
"contract": "contracts/test/TestERC721.sol:TestERC721",
|
|
10566
10566
|
"label": "_balances",
|
|
10567
10567
|
"offset": 0,
|
|
@@ -10569,7 +10569,7 @@
|
|
|
10569
10569
|
"type": "t_mapping(t_address,t_uint256)"
|
|
10570
10570
|
},
|
|
10571
10571
|
{
|
|
10572
|
-
"astId":
|
|
10572
|
+
"astId": 19954,
|
|
10573
10573
|
"contract": "contracts/test/TestERC721.sol:TestERC721",
|
|
10574
10574
|
"label": "_tokenApprovals",
|
|
10575
10575
|
"offset": 0,
|
|
@@ -10577,7 +10577,7 @@
|
|
|
10577
10577
|
"type": "t_mapping(t_uint256,t_address)"
|
|
10578
10578
|
},
|
|
10579
10579
|
{
|
|
10580
|
-
"astId":
|
|
10580
|
+
"astId": 19960,
|
|
10581
10581
|
"contract": "contracts/test/TestERC721.sol:TestERC721",
|
|
10582
10582
|
"label": "_operatorApprovals",
|
|
10583
10583
|
"offset": 0,
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
},
|
|
48
48
|
"deployedBytecode": {
|
|
49
49
|
"functionDebugData": {
|
|
50
|
-
"@
|
|
50
|
+
"@compressPublicKey_31932": {
|
|
51
51
|
"entryPoint": 108,
|
|
52
|
-
"id":
|
|
52
|
+
"id": 31932,
|
|
53
53
|
"parameterSlots": 2,
|
|
54
54
|
"returnSlots": 1
|
|
55
55
|
},
|
|
56
|
-
"@
|
|
56
|
+
"@compressPublicKey_45246": {
|
|
57
57
|
"entryPoint": 89,
|
|
58
|
-
"id":
|
|
58
|
+
"id": 45246,
|
|
59
59
|
"parameterSlots": 2,
|
|
60
60
|
"returnSlots": 1
|
|
61
61
|
},
|
|
@@ -258,15 +258,15 @@
|
|
|
258
258
|
},
|
|
259
259
|
"deployedBytecode": {
|
|
260
260
|
"functionDebugData": {
|
|
261
|
-
"@
|
|
261
|
+
"@depositParameters_45597": {
|
|
262
262
|
"entryPoint": null,
|
|
263
|
-
"id":
|
|
263
|
+
"id": 45597,
|
|
264
264
|
"parameterSlots": 0,
|
|
265
265
|
"returnSlots": 4
|
|
266
266
|
},
|
|
267
|
-
"@
|
|
267
|
+
"@deposits_45569": {
|
|
268
268
|
"entryPoint": null,
|
|
269
|
-
"id":
|
|
269
|
+
"id": 45569,
|
|
270
270
|
"parameterSlots": 1,
|
|
271
271
|
"returnSlots": 1
|
|
272
272
|
},
|
|
@@ -318,9 +318,9 @@
|
|
|
318
318
|
"parameterSlots": 1,
|
|
319
319
|
"returnSlots": 2
|
|
320
320
|
},
|
|
321
|
-
"@
|
|
321
|
+
"@revealDepositWithExtraData_45519": {
|
|
322
322
|
"entryPoint": 827,
|
|
323
|
-
"id":
|
|
323
|
+
"id": 45519,
|
|
324
324
|
"parameterSlots": 3,
|
|
325
325
|
"returnSlots": 0
|
|
326
326
|
},
|
|
@@ -342,21 +342,21 @@
|
|
|
342
342
|
"parameterSlots": 1,
|
|
343
343
|
"returnSlots": 1
|
|
344
344
|
},
|
|
345
|
-
"@
|
|
345
|
+
"@setDepositDustThreshold_45607": {
|
|
346
346
|
"entryPoint": null,
|
|
347
|
-
"id":
|
|
347
|
+
"id": 45607,
|
|
348
348
|
"parameterSlots": 1,
|
|
349
349
|
"returnSlots": 0
|
|
350
350
|
},
|
|
351
|
-
"@
|
|
351
|
+
"@setDepositTreasuryFeeDivisor_45617": {
|
|
352
352
|
"entryPoint": null,
|
|
353
|
-
"id":
|
|
353
|
+
"id": 45617,
|
|
354
354
|
"parameterSlots": 1,
|
|
355
355
|
"returnSlots": 0
|
|
356
356
|
},
|
|
357
|
-
"@
|
|
357
|
+
"@setDepositTxMaxFee_45627": {
|
|
358
358
|
"entryPoint": null,
|
|
359
|
-
"id":
|
|
359
|
+
"id": 45627,
|
|
360
360
|
"parameterSlots": 1,
|
|
361
361
|
"returnSlots": 0
|
|
362
362
|
},
|
|
@@ -390,9 +390,9 @@
|
|
|
390
390
|
"parameterSlots": 3,
|
|
391
391
|
"returnSlots": 1
|
|
392
392
|
},
|
|
393
|
-
"@
|
|
393
|
+
"@sweepDeposit_45556": {
|
|
394
394
|
"entryPoint": 1681,
|
|
395
|
-
"id":
|
|
395
|
+
"id": 45556,
|
|
396
396
|
"parameterSlots": 1,
|
|
397
397
|
"returnSlots": 0
|
|
398
398
|
},
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"parameterSlots": 2,
|
|
409
409
|
"returnSlots": 1
|
|
410
410
|
},
|
|
411
|
-
"abi_decode_tuple_t_struct$_BitcoinTxInfo_$
|
|
411
|
+
"abi_decode_tuple_t_struct$_BitcoinTxInfo_$39921_calldata_ptrt_struct$_DepositRevealInfo_$39934_calldata_ptrt_bytes32": {
|
|
412
412
|
"entryPoint": 3573,
|
|
413
413
|
"id": null,
|
|
414
414
|
"parameterSlots": 2,
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
"parameterSlots": 1,
|
|
487
487
|
"returnSlots": 1
|
|
488
488
|
},
|
|
489
|
-
"abi_encode_tuple_t_struct$_DepositRequest_$
|
|
489
|
+
"abi_encode_tuple_t_struct$_DepositRequest_$39949_memory_ptr__to_t_struct$_DepositRequest_$39949_memory_ptr__fromStack_reversed": {
|
|
490
490
|
"entryPoint": null,
|
|
491
491
|
"id": null,
|
|
492
492
|
"parameterSlots": 2,
|
|
@@ -1291,7 +1291,7 @@
|
|
|
1291
1291
|
}
|
|
1292
1292
|
]
|
|
1293
1293
|
},
|
|
1294
|
-
"name": "abi_decode_tuple_t_struct$_BitcoinTxInfo_$
|
|
1294
|
+
"name": "abi_decode_tuple_t_struct$_BitcoinTxInfo_$39921_calldata_ptrt_struct$_DepositRevealInfo_$39934_calldata_ptrt_bytes32",
|
|
1295
1295
|
"nodeType": "YulFunctionDefinition",
|
|
1296
1296
|
"parameters": [
|
|
1297
1297
|
{
|
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
}
|
|
2164
2164
|
]
|
|
2165
2165
|
},
|
|
2166
|
-
"name": "abi_encode_tuple_t_struct$_DepositRequest_$
|
|
2166
|
+
"name": "abi_encode_tuple_t_struct$_DepositRequest_$39949_memory_ptr__to_t_struct$_DepositRequest_$39949_memory_ptr__fromStack_reversed",
|
|
2167
2167
|
"nodeType": "YulFunctionDefinition",
|
|
2168
2168
|
"parameters": [
|
|
2169
2169
|
{
|
|
@@ -6481,7 +6481,7 @@
|
|
|
6481
6481
|
}
|
|
6482
6482
|
]
|
|
6483
6483
|
},
|
|
6484
|
-
"contents": "{\n { }\n function abi_decode_tuple_t_uint64(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffffffffffff))) { revert(0, 0) }\n value0 := value\n }\n function abi_decode_tuple_t_struct$_BitcoinTxInfo_$
|
|
6484
|
+
"contents": "{\n { }\n function abi_decode_tuple_t_uint64(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffffffffffff))) { revert(0, 0) }\n value0 := value\n }\n function abi_decode_tuple_t_struct$_BitcoinTxInfo_$39921_calldata_ptrt_struct$_DepositRevealInfo_$39934_calldata_ptrt_bytes32(headStart, dataEnd) -> value0, value1, value2\n {\n let _1 := sub(dataEnd, headStart)\n if slt(_1, 256) { revert(0, 0) }\n let offset := calldataload(headStart)\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if slt(sub(dataEnd, _2), 128) { revert(0, 0) }\n value0 := _2\n if slt(add(_1, not(31)), 192) { revert(0, 0) }\n value1 := add(headStart, 32)\n value2 := calldataload(add(headStart, 224))\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_struct$_DepositRequest_$39949_memory_ptr__to_t_struct$_DepositRequest_$39949_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 224)\n let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n mstore(headStart, and(mload(value0), _1))\n let memberValue0 := mload(add(value0, 0x20))\n let _2 := 0xffffffffffffffff\n mstore(add(headStart, 0x20), and(memberValue0, _2))\n let memberValue0_1 := mload(add(value0, 0x40))\n let _3 := 0xffffffff\n mstore(add(headStart, 0x40), and(memberValue0_1, _3))\n mstore(add(headStart, 0x60), and(mload(add(value0, 0x60)), _1))\n mstore(add(headStart, 0x80), and(mload(add(value0, 0x80)), _2))\n mstore(add(headStart, 0xa0), and(mload(add(value0, 0xa0)), _3))\n mstore(add(headStart, 0xc0), mload(add(value0, 0xc0)))\n }\n function abi_encode_tuple_t_uint64_t_uint64_t_uint64_t_uint32__to_t_uint64_t_uint64_t_uint64_t_uint32__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 128)\n let _1 := 0xffffffffffffffff\n mstore(headStart, and(value0, _1))\n mstore(add(headStart, 32), and(value1, _1))\n mstore(add(headStart, 64), and(value2, _1))\n mstore(add(headStart, 96), and(value3, 0xffffffff))\n }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000))) { revert(0, 0) }\n value0 := value\n }\n function access_calldata_tail_t_bytes_calldata_ptr(base_ref, ptr_to_tail) -> addr, length\n {\n let rel_offset_of_tail := calldataload(ptr_to_tail)\n if iszero(slt(rel_offset_of_tail, add(sub(calldatasize(), base_ref), not(30)))) { revert(0, 0) }\n let addr_1 := add(base_ref, rel_offset_of_tail)\n length := calldataload(addr_1)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n addr := add(addr_1, 0x20)\n if sgt(addr, sub(calldatasize(), length)) { revert(0, 0) }\n }\n function abi_encode_tuple_packed_t_bytes4_t_bytes_calldata_ptr_t_bytes_calldata_ptr_t_bytes4__to_t_bytes4_t_bytes_memory_ptr_t_bytes_memory_ptr_t_bytes4__nonPadded_inplace_fromStack_reversed(pos, value5, value4, value3, value2, value1, value0) -> end\n {\n let _1 := 0xffffffff00000000000000000000000000000000000000000000000000000000\n mstore(pos, and(value0, _1))\n calldatacopy(add(pos, 4), value1, value2)\n let _2 := add(pos, value2)\n let _3 := add(_2, 4)\n mstore(_3, 0)\n calldatacopy(_3, value3, value4)\n let _4 := add(_2, value4)\n mstore(add(_4, 4), and(value5, _1))\n end := add(_4, 8)\n }\n function abi_decode_tuple_t_uint32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffff))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_bytes32_t_uint32__to_t_bytes32_t_uint32__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, value0)\n mstore(add(pos, 32), and(shl(224, value1), 0xffffffff00000000000000000000000000000000000000000000000000000000))\n end := add(pos, 36)\n }\n function abi_encode_tuple_t_stringliteral_cad8bd5c3e9fc0402ac2d06379a776f9b060cdfd5e3fbb01d32ccb68a6cf84ef__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 24)\n mstore(add(headStart, 64), \"Deposit already revealed\")\n tail := add(headStart, 96)\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 if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n value0 := value\n }\n function panic_error_0x11()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_div_t_uint64(x, y) -> r\n {\n let _1 := 0xffffffffffffffff\n let y_1 := and(y, _1)\n if iszero(y_1)\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n r := div(and(x, _1), y_1)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_stringliteral_47ccac69bd56c82e4d4185f7f0d1f7b95d32ba8bbac8c22007260330cc363b46__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 20)\n mstore(add(headStart, 64), \"Deposit not revealed\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_7cee8b50ef1b7f5547393e165c7c3d583e50b7ab868dfe548fe2a26206d013c7__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 21)\n mstore(add(headStart, 64), \"Deposit already swept\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_44f1d85595cd9e7bca9d9a2d6049b01f75f753890836287504890b72b66f7afd__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"Read overrun during VarInt parsi\")\n mstore(add(headStart, 96), \"ng\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_e068e1fd8aa77bf358e8fdf7376e327a6c370f4f6d3627d99c298841a0dd1ff4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 17)\n mstore(add(headStart, 64), \"Vout read overrun\")\n tail := add(headStart, 96)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n sum := add(x, y)\n if gt(x, sum) { panic_error_0x11() }\n }\n function abi_encode_tuple_t_stringliteral_48d2595e6fa64d5f857e2d78dbcd21416ced754565dce896b9a2c1152aba80ab__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 26)\n mstore(add(headStart, 64), \"Bad VarInt in scriptPubkey\")\n tail := add(headStart, 96)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0)) { panic_error_0x11() }\n ret := add(value, 1)\n }\n function abi_encode_tuple_t_stringliteral_f1c269d7eab972b2fd4d87a15c317e920493e7eea923de7e48c0ebcb7f611fa9__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 19)\n mstore(add(headStart, 64), \"Slice out of bounds\")\n tail := add(headStart, 96)\n }\n function panic_error_0x32()\n {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function checked_add_t_uint8(x, y) -> sum\n {\n sum := add(and(x, 0xff), and(y, 0xff))\n if gt(sum, 0xff) { panic_error_0x11() }\n }\n}",
|
|
6485
6485
|
"id": 139,
|
|
6486
6486
|
"language": "Yul",
|
|
6487
6487
|
"name": "#utility.yul"
|
|
@@ -6522,15 +6522,15 @@
|
|
|
6522
6522
|
"storageLayout": {
|
|
6523
6523
|
"storage": [
|
|
6524
6524
|
{
|
|
6525
|
-
"astId":
|
|
6525
|
+
"astId": 45368,
|
|
6526
6526
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6527
6527
|
"label": "_deposits",
|
|
6528
6528
|
"offset": 0,
|
|
6529
6529
|
"slot": "0",
|
|
6530
|
-
"type": "t_mapping(t_uint256,t_struct(DepositRequest)
|
|
6530
|
+
"type": "t_mapping(t_uint256,t_struct(DepositRequest)39949_storage)"
|
|
6531
6531
|
},
|
|
6532
6532
|
{
|
|
6533
|
-
"astId":
|
|
6533
|
+
"astId": 45371,
|
|
6534
6534
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6535
6535
|
"label": "_depositDustThreshold",
|
|
6536
6536
|
"offset": 0,
|
|
@@ -6538,7 +6538,7 @@
|
|
|
6538
6538
|
"type": "t_uint64"
|
|
6539
6539
|
},
|
|
6540
6540
|
{
|
|
6541
|
-
"astId":
|
|
6541
|
+
"astId": 45374,
|
|
6542
6542
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6543
6543
|
"label": "_depositTreasuryFeeDivisor",
|
|
6544
6544
|
"offset": 8,
|
|
@@ -6546,7 +6546,7 @@
|
|
|
6546
6546
|
"type": "t_uint64"
|
|
6547
6547
|
},
|
|
6548
6548
|
{
|
|
6549
|
-
"astId":
|
|
6549
|
+
"astId": 45377,
|
|
6550
6550
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6551
6551
|
"label": "_depositTxMaxFee",
|
|
6552
6552
|
"offset": 16,
|
|
@@ -6565,19 +6565,19 @@
|
|
|
6565
6565
|
"label": "bytes32",
|
|
6566
6566
|
"numberOfBytes": "32"
|
|
6567
6567
|
},
|
|
6568
|
-
"t_mapping(t_uint256,t_struct(DepositRequest)
|
|
6568
|
+
"t_mapping(t_uint256,t_struct(DepositRequest)39949_storage)": {
|
|
6569
6569
|
"encoding": "mapping",
|
|
6570
6570
|
"key": "t_uint256",
|
|
6571
6571
|
"label": "mapping(uint256 => struct IBridgeTypes.DepositRequest)",
|
|
6572
6572
|
"numberOfBytes": "32",
|
|
6573
|
-
"value": "t_struct(DepositRequest)
|
|
6573
|
+
"value": "t_struct(DepositRequest)39949_storage"
|
|
6574
6574
|
},
|
|
6575
|
-
"t_struct(DepositRequest)
|
|
6575
|
+
"t_struct(DepositRequest)39949_storage": {
|
|
6576
6576
|
"encoding": "inplace",
|
|
6577
6577
|
"label": "struct IBridgeTypes.DepositRequest",
|
|
6578
6578
|
"members": [
|
|
6579
6579
|
{
|
|
6580
|
-
"astId":
|
|
6580
|
+
"astId": 39936,
|
|
6581
6581
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6582
6582
|
"label": "depositor",
|
|
6583
6583
|
"offset": 0,
|
|
@@ -6585,7 +6585,7 @@
|
|
|
6585
6585
|
"type": "t_address"
|
|
6586
6586
|
},
|
|
6587
6587
|
{
|
|
6588
|
-
"astId":
|
|
6588
|
+
"astId": 39938,
|
|
6589
6589
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6590
6590
|
"label": "amount",
|
|
6591
6591
|
"offset": 20,
|
|
@@ -6593,7 +6593,7 @@
|
|
|
6593
6593
|
"type": "t_uint64"
|
|
6594
6594
|
},
|
|
6595
6595
|
{
|
|
6596
|
-
"astId":
|
|
6596
|
+
"astId": 39940,
|
|
6597
6597
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6598
6598
|
"label": "revealedAt",
|
|
6599
6599
|
"offset": 28,
|
|
@@ -6601,7 +6601,7 @@
|
|
|
6601
6601
|
"type": "t_uint32"
|
|
6602
6602
|
},
|
|
6603
6603
|
{
|
|
6604
|
-
"astId":
|
|
6604
|
+
"astId": 39942,
|
|
6605
6605
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6606
6606
|
"label": "vault",
|
|
6607
6607
|
"offset": 0,
|
|
@@ -6609,7 +6609,7 @@
|
|
|
6609
6609
|
"type": "t_address"
|
|
6610
6610
|
},
|
|
6611
6611
|
{
|
|
6612
|
-
"astId":
|
|
6612
|
+
"astId": 39944,
|
|
6613
6613
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6614
6614
|
"label": "treasuryFee",
|
|
6615
6615
|
"offset": 20,
|
|
@@ -6617,7 +6617,7 @@
|
|
|
6617
6617
|
"type": "t_uint64"
|
|
6618
6618
|
},
|
|
6619
6619
|
{
|
|
6620
|
-
"astId":
|
|
6620
|
+
"astId": 39946,
|
|
6621
6621
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6622
6622
|
"label": "sweptAt",
|
|
6623
6623
|
"offset": 28,
|
|
@@ -6625,7 +6625,7 @@
|
|
|
6625
6625
|
"type": "t_uint32"
|
|
6626
6626
|
},
|
|
6627
6627
|
{
|
|
6628
|
-
"astId":
|
|
6628
|
+
"astId": 39948,
|
|
6629
6629
|
"contract": "contracts/test/TestTBTCDepositor.sol:MockBridge",
|
|
6630
6630
|
"label": "extraData",
|
|
6631
6631
|
"offset": 0,
|