@across-protocol/contracts 0.1.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/CHANGELOG.md +8 -0
- package/LICENSE +661 -0
- package/README.md +53 -0
- package/artifacts/@eth-optimism/contracts/L2/messaging/IL2ERC20Bridge.sol/IL2ERC20Bridge.dbg.json +4 -0
- package/artifacts/@eth-optimism/contracts/L2/messaging/IL2ERC20Bridge.sol/IL2ERC20Bridge.json +252 -0
- package/artifacts/@eth-optimism/contracts/libraries/bridge/CrossDomainEnabled.sol/CrossDomainEnabled.dbg.json +4 -0
- package/artifacts/@eth-optimism/contracts/libraries/bridge/CrossDomainEnabled.sol/CrossDomainEnabled.json +35 -0
- package/artifacts/@eth-optimism/contracts/libraries/bridge/ICrossDomainMessenger.sol/ICrossDomainMessenger.dbg.json +4 -0
- package/artifacts/@eth-optimism/contracts/libraries/bridge/ICrossDomainMessenger.sol/ICrossDomainMessenger.json +110 -0
- package/artifacts/@eth-optimism/contracts/libraries/constants/Lib_PredeployAddresses.sol/Lib_PredeployAddresses.dbg.json +4 -0
- package/artifacts/@eth-optimism/contracts/libraries/constants/Lib_PredeployAddresses.sol/Lib_PredeployAddresses.json +10 -0
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +215 -0
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/IAccessControl.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/IAccessControl.json +108 -0
- package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +63 -0
- package/artifacts/@openzeppelin/contracts/security/Pausable.sol/Pausable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/security/Pausable.sol/Pausable.json +50 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +297 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +194 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +233 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +30 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +30 -0
- package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/math/SignedSafeMath.sol/SignedSafeMath.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/math/SignedSafeMath.sol/SignedSafeMath.json +10 -0
- package/artifacts/@uma/core/contracts/common/implementation/Lockable.sol/Lockable.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/common/implementation/Lockable.sol/Lockable.json +16 -0
- package/artifacts/@uma/core/contracts/cross-chain-oracle/chain-adapters/Arbitrum_ParentMessenger.sol/Arbitrum_ParentMessenger.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/cross-chain-oracle/chain-adapters/Arbitrum_ParentMessenger.sol/Arbitrum_ParentMessenger.json +611 -0
- package/artifacts/@uma/core/contracts/cross-chain-oracle/chain-adapters/ParentMessengerBase.sol/ParentMessengerBase.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/cross-chain-oracle/chain-adapters/ParentMessengerBase.sol/ParentMessengerBase.json +297 -0
- package/artifacts/@uma/core/contracts/cross-chain-oracle/interfaces/ParentMessengerConsumerInterface.sol/ParentMessengerConsumerInterface.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/cross-chain-oracle/interfaces/ParentMessengerConsumerInterface.sol/ParentMessengerConsumerInterface.json +29 -0
- package/artifacts/@uma/core/contracts/cross-chain-oracle/interfaces/ParentMessengerInterface.sol/ParentMessengerInterface.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/cross-chain-oracle/interfaces/ParentMessengerInterface.sol/ParentMessengerInterface.json +37 -0
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/IBridge.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/IBridge.json +24 -0
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/iArbitrum_Inbox.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/iArbitrum_Inbox.json +78 -0
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Outbox.sol/iArbitrum_Outbox.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Outbox.sol/iArbitrum_Outbox.json +24 -0
- package/artifacts/@uma/core/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol/Arbitrum_CrossDomainEnabled.dbg.json +4 -0
- package/artifacts/@uma/core/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol/Arbitrum_CrossDomainEnabled.json +24 -0
- package/artifacts/build-info/1cd64db7a8ac0a153df93d26826ad4e9.json +1653 -0
- package/artifacts/build-info/1f738b56edd7602183f2f8d2f23f6e90.json +1592 -0
- package/artifacts/build-info/343b9221be36acd9ddaca3f3b83d2e75.json +3943 -0
- package/artifacts/build-info/622e561692c193f4cd0ff989b5a231e2.json +5661 -0
- package/artifacts/build-info/8e408b49e0ff2873bc28d45221a7ff71.json +277715 -0
- package/artifacts/build-info/9d1a3182633612bd337d811d567d5d60.json +2072 -0
- package/artifacts/build-info/a8cd9c443d245fe513d6650634b60f93.json +23776 -0
- package/artifacts/build-info/d302d9d63fbafb5c8d635cc62cb1cc7c.json +167529 -0
- package/artifacts/contracts/common/implementation/AncillaryData.sol/AncillaryData.dbg.json +4 -0
- package/artifacts/contracts/common/implementation/AncillaryData.sol/AncillaryData.json +10 -0
- package/artifacts/contracts/common/implementation/FixedPoint.sol/FixedPoint.dbg.json +4 -0
- package/artifacts/contracts/common/implementation/FixedPoint.sol/FixedPoint.json +10 -0
- package/artifacts/contracts/common/implementation/Lockable.sol/Lockable.dbg.json +4 -0
- package/artifacts/contracts/common/implementation/Lockable.sol/Lockable.json +16 -0
- package/artifacts/contracts/common/implementation/MultiCaller.sol/MultiCaller.dbg.json +4 -0
- package/artifacts/contracts/common/implementation/MultiCaller.sol/MultiCaller.json +30 -0
- package/artifacts/contracts/common/implementation/Testable.sol/Testable.dbg.json +4 -0
- package/artifacts/contracts/common/implementation/Testable.sol/Testable.json +50 -0
- package/artifacts/contracts/common/implementation/Timer.sol/Timer.dbg.json +4 -0
- package/artifacts/contracts/common/implementation/Timer.sol/Timer.json +42 -0
- package/artifacts/contracts/common/interfaces/AddressWhitelistInterface.sol/AddressWhitelistInterface.dbg.json +4 -0
- package/artifacts/contracts/common/interfaces/AddressWhitelistInterface.sol/AddressWhitelistInterface.json +69 -0
- package/artifacts/contracts/external/avm/AVM_CrossDomainEnabled.sol/AVM_CrossDomainEnabled.dbg.json +4 -0
- package/artifacts/contracts/external/avm/AVM_CrossDomainEnabled.sol/AVM_CrossDomainEnabled.json +42 -0
- package/artifacts/contracts/external/avm/interfaces/ArbSys.sol/ArbSys.dbg.json +4 -0
- package/artifacts/contracts/external/avm/interfaces/ArbSys.sol/ArbSys.json +235 -0
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/IBridge.dbg.json +4 -0
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/IBridge.json +24 -0
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/iArbitrum_Inbox.dbg.json +4 -0
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/iArbitrum_Inbox.json +78 -0
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Outbox.sol/iArbitrum_Outbox.dbg.json +4 -0
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Outbox.sol/iArbitrum_Outbox.json +24 -0
- package/artifacts/contracts/external/chainbridge/Bridge.sol/Bridge.dbg.json +4 -0
- package/artifacts/contracts/external/chainbridge/Bridge.sol/Bridge.json +1019 -0
- package/artifacts/contracts/external/chainbridge/handlers/GenericHandler.sol/GenericHandler.dbg.json +4 -0
- package/artifacts/contracts/external/chainbridge/handlers/GenericHandler.sol/GenericHandler.json +314 -0
- package/artifacts/contracts/external/chainbridge/interfaces/IBridge.sol/IBridge.dbg.json +4 -0
- package/artifacts/contracts/external/chainbridge/interfaces/IBridge.sol/IBridge.json +47 -0
- package/artifacts/contracts/external/chainbridge/interfaces/IDepositExecute.sol/IDepositExecute.dbg.json +4 -0
- package/artifacts/contracts/external/chainbridge/interfaces/IDepositExecute.sol/IDepositExecute.json +62 -0
- package/artifacts/contracts/external/chainbridge/interfaces/IERCHandler.sol/IERCHandler.dbg.json +4 -0
- package/artifacts/contracts/external/chainbridge/interfaces/IERCHandler.sol/IERCHandler.json +65 -0
- package/artifacts/contracts/external/chainbridge/interfaces/IGenericHandler.sol/IGenericHandler.dbg.json +4 -0
- package/artifacts/contracts/external/chainbridge/interfaces/IGenericHandler.sol/IGenericHandler.json +39 -0
- package/artifacts/contracts/external/ovm/OVM_CrossDomainEnabled.sol/OVM_CrossDomainEnabled.dbg.json +4 -0
- package/artifacts/contracts/external/ovm/OVM_CrossDomainEnabled.sol/OVM_CrossDomainEnabled.json +35 -0
- package/artifacts/contracts/external/ovm/OVM_CrossDomainEnabled.sol/iOVM_CrossDomainMessenger.dbg.json +4 -0
- package/artifacts/contracts/external/ovm/OVM_CrossDomainEnabled.sol/iOVM_CrossDomainMessenger.json +86 -0
- package/artifacts/contracts/external/polygon/lib/Merkle.sol/Merkle.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/lib/Merkle.sol/Merkle.json +10 -0
- package/artifacts/contracts/external/polygon/lib/MerklePatriciaProof.sol/MerklePatriciaProof.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/lib/MerklePatriciaProof.sol/MerklePatriciaProof.json +10 -0
- package/artifacts/contracts/external/polygon/lib/RLPReader.sol/RLPReader.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/lib/RLPReader.sol/RLPReader.json +10 -0
- package/artifacts/contracts/external/polygon/test/FxChildMock.sol/FxChildMock.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/test/FxChildMock.sol/FxChildMock.json +104 -0
- package/artifacts/contracts/external/polygon/test/FxChildMock.sol/IFxMessageProcessor.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/test/FxChildMock.sol/IFxMessageProcessor.json +34 -0
- package/artifacts/contracts/external/polygon/test/FxChildMock.sol/IStateReceiver.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/test/FxChildMock.sol/IStateReceiver.json +29 -0
- package/artifacts/contracts/external/polygon/test/FxRootMock.sol/FxRootMock.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/test/FxRootMock.sol/FxRootMock.json +79 -0
- package/artifacts/contracts/external/polygon/test/FxRootMock.sol/IFxStateSender.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/test/FxRootMock.sol/IFxStateSender.json +29 -0
- package/artifacts/contracts/external/polygon/test/FxRootMock.sol/IStateSender.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/test/FxRootMock.sol/IStateSender.json +29 -0
- package/artifacts/contracts/external/polygon/test/StateSyncMock.sol/StateSyncMock.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/test/StateSyncMock.sol/StateSyncMock.json +54 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseChildTunnel.sol/FxBaseChildTunnel.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseChildTunnel.sol/FxBaseChildTunnel.json +86 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseChildTunnel.sol/IFxMessageProcessor.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseChildTunnel.sol/IFxMessageProcessor.json +34 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseRootTunnel.sol/FxBaseRootTunnel.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseRootTunnel.sol/FxBaseRootTunnel.json +108 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseRootTunnel.sol/ICheckpointManager.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseRootTunnel.sol/ICheckpointManager.json +50 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseRootTunnel.sol/IFxStateSender.dbg.json +4 -0
- package/artifacts/contracts/external/polygon/tunnel/FxBaseRootTunnel.sol/IFxStateSender.json +29 -0
- package/artifacts/contracts/insured-bridge/BridgeAdmin.sol/BridgeAdmin.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/BridgeAdmin.sol/BridgeAdmin.json +662 -0
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/BridgeDepositBox.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/BridgeDepositBox.json +391 -0
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/TokenLike.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/TokenLike.json +30 -0
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/WETH9Like.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/WETH9Like.json +31 -0
- package/artifacts/contracts/insured-bridge/BridgePool.sol/BridgePool.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/BridgePool.sol/BridgePool.json +1709 -0
- package/artifacts/contracts/insured-bridge/BridgePool.sol/BridgePoolProd.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/BridgePool.sol/BridgePoolProd.json +1709 -0
- package/artifacts/contracts/insured-bridge/BridgePool.sol/WETH9Like.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/BridgePool.sol/WETH9Like.json +31 -0
- package/artifacts/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol/AVM_BridgeDepositBox.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol/AVM_BridgeDepositBox.json +564 -0
- package/artifacts/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol/StandardBridgeLike.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol/StandardBridgeLike.json +45 -0
- package/artifacts/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol/Arbitrum_CrossDomainEnabled.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol/Arbitrum_CrossDomainEnabled.json +24 -0
- package/artifacts/contracts/insured-bridge/avm/Arbitrum_Messenger.sol/Arbitrum_Messenger.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/avm/Arbitrum_Messenger.sol/Arbitrum_Messenger.json +191 -0
- package/artifacts/contracts/insured-bridge/interfaces/BridgeAdminInterface.sol/BridgeAdminInterface.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/interfaces/BridgeAdminInterface.sol/BridgeAdminInterface.json +319 -0
- package/artifacts/contracts/insured-bridge/interfaces/BridgePoolInterface.sol/BridgePoolInterface.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/interfaces/BridgePoolInterface.sol/BridgePoolInterface.json +63 -0
- package/artifacts/contracts/insured-bridge/interfaces/MessengerInterface.sol/MessengerInterface.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/interfaces/MessengerInterface.sol/MessengerInterface.json +54 -0
- package/artifacts/contracts/insured-bridge/ovm/OVM_BridgeDepositBox.sol/OVM_BridgeDepositBox.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/ovm/OVM_BridgeDepositBox.sol/OVM_BridgeDepositBox.json +528 -0
- package/artifacts/contracts/insured-bridge/ovm/OVM_CrossDomainEnabled.sol/OVM_CrossDomainEnabled.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/ovm/OVM_CrossDomainEnabled.sol/OVM_CrossDomainEnabled.json +35 -0
- package/artifacts/contracts/insured-bridge/ovm/OVM_OETH_BridgeDepositBox.sol/OVM_OETH_BridgeDepositBox.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/ovm/OVM_OETH_BridgeDepositBox.sol/OVM_OETH_BridgeDepositBox.json +572 -0
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Messenger.sol/Optimism_Messenger.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Messenger.sol/Optimism_Messenger.json +130 -0
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Wrapper.sol/Optimism_Wrapper.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Wrapper.sol/Optimism_Wrapper.json +142 -0
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Wrapper.sol/WETH9Like.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Wrapper.sol/WETH9Like.json +55 -0
- package/artifacts/contracts/insured-bridge/ovm/iOVM_CrossDomainMessenger.sol/iOVM_CrossDomainMessenger.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/ovm/iOVM_CrossDomainMessenger.sol/iOVM_CrossDomainMessenger.json +86 -0
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_BridgeMock.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_BridgeMock.json +68 -0
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_InboxMock.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_InboxMock.json +78 -0
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_OutboxMock.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_OutboxMock.json +24 -0
- package/artifacts/contracts/insured-bridge/test/BridgeDepositBoxMock.sol/BridgeDepositBoxMock.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/test/BridgeDepositBoxMock.sol/BridgeDepositBoxMock.json +510 -0
- package/artifacts/contracts/insured-bridge/test/MessengerMock.sol/MessengerMock.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/test/MessengerMock.sol/MessengerMock.json +85 -0
- package/artifacts/contracts/insured-bridge/test/OVM_L1CrossDomainMessengerMock.sol/OVM_L1CrossDomainMessengerMock.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/test/OVM_L1CrossDomainMessengerMock.sol/OVM_L1CrossDomainMessengerMock.json +110 -0
- package/artifacts/contracts/oracle/implementation/Constants.sol/OptimisticOracleConstraints.dbg.json +4 -0
- package/artifacts/contracts/oracle/implementation/Constants.sol/OptimisticOracleConstraints.json +24 -0
- package/artifacts/contracts/oracle/implementation/Constants.sol/OracleInterfaces.dbg.json +4 -0
- package/artifacts/contracts/oracle/implementation/Constants.sol/OracleInterfaces.json +141 -0
- package/artifacts/contracts/oracle/interfaces/FinderInterface.sol/FinderInterface.dbg.json +4 -0
- package/artifacts/contracts/oracle/interfaces/FinderInterface.sol/FinderInterface.json +48 -0
- package/artifacts/contracts/oracle/interfaces/IdentifierWhitelistInterface.sol/IdentifierWhitelistInterface.dbg.json +4 -0
- package/artifacts/contracts/oracle/interfaces/IdentifierWhitelistInterface.sol/IdentifierWhitelistInterface.json +56 -0
- package/artifacts/contracts/oracle/interfaces/OptimisticOracleInterface.sol/OptimisticOracleInterface.dbg.json +4 -0
- package/artifacts/contracts/oracle/interfaces/OptimisticOracleInterface.sol/OptimisticOracleInterface.json +555 -0
- package/artifacts/contracts/oracle/interfaces/SkinnyOptimisticOracleInterface.sol/SkinnyOptimisticOracleInterface.dbg.json +4 -0
- package/artifacts/contracts/oracle/interfaces/SkinnyOptimisticOracleInterface.sol/SkinnyOptimisticOracleInterface.json +853 -0
- package/artifacts/contracts/oracle/interfaces/StoreInterface.sol/StoreInterface.dbg.json +4 -0
- package/artifacts/contracts/oracle/interfaces/StoreInterface.sol/StoreInterface.json +124 -0
- package/contracts/common/implementation/AncillaryData.sol +144 -0
- package/contracts/common/implementation/FixedPoint.sol +763 -0
- package/contracts/common/implementation/Lockable.sol +61 -0
- package/contracts/common/implementation/MultiCaller.sol +27 -0
- package/contracts/common/implementation/Testable.sol +52 -0
- package/contracts/common/implementation/Timer.sol +30 -0
- package/contracts/common/interfaces/AddressWhitelistInterface.sol +12 -0
- package/contracts/external/avm/AVM_CrossDomainEnabled.sol +43 -0
- package/contracts/external/avm/interfaces/ArbSys.sol +79 -0
- package/contracts/external/avm/interfaces/iArbitrum_Inbox.sol +28 -0
- package/contracts/external/avm/interfaces/iArbitrum_Outbox.sol +26 -0
- package/contracts/external/chainbridge/Bridge.sol +454 -0
- package/contracts/external/chainbridge/handlers/GenericHandler.sol +237 -0
- package/contracts/external/chainbridge/interfaces/IBridge.sol +20 -0
- package/contracts/external/chainbridge/interfaces/IDepositExecute.sol +29 -0
- package/contracts/external/chainbridge/interfaces/IERCHandler.sol +33 -0
- package/contracts/external/chainbridge/interfaces/IGenericHandler.sol +23 -0
- package/contracts/external/ovm/OVM_CrossDomainEnabled.sol +114 -0
- package/contracts/external/polygon/lib/Merkle.sol +36 -0
- package/contracts/external/polygon/lib/MerklePatriciaProof.sol +139 -0
- package/contracts/external/polygon/lib/RLPReader.sol +251 -0
- package/contracts/external/polygon/test/FxChildMock.sol +42 -0
- package/contracts/external/polygon/test/FxRootMock.sol +32 -0
- package/contracts/external/polygon/test/StateSyncMock.sol +26 -0
- package/contracts/external/polygon/tunnel/FxBaseChildTunnel.sol +80 -0
- package/contracts/external/polygon/tunnel/FxBaseRootTunnel.sol +185 -0
- package/contracts/insured-bridge/BridgeAdmin.sol +394 -0
- package/contracts/insured-bridge/BridgeDepositBox.sol +245 -0
- package/contracts/insured-bridge/BridgePool.sol +980 -0
- package/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol +144 -0
- package/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol +67 -0
- package/contracts/insured-bridge/avm/Arbitrum_Messenger.sol +72 -0
- package/contracts/insured-bridge/interfaces/BridgeAdminInterface.sol +44 -0
- package/contracts/insured-bridge/interfaces/BridgePoolInterface.sol +14 -0
- package/contracts/insured-bridge/interfaces/MessengerInterface.sol +18 -0
- package/contracts/insured-bridge/ovm/OVM_BridgeDepositBox.sol +135 -0
- package/contracts/insured-bridge/ovm/OVM_CrossDomainEnabled.sol +84 -0
- package/contracts/insured-bridge/ovm/OVM_OETH_BridgeDepositBox.sol +89 -0
- package/contracts/insured-bridge/ovm/Optimism_Messenger.sol +34 -0
- package/contracts/insured-bridge/ovm/Optimism_Wrapper.sol +59 -0
- package/contracts/insured-bridge/ovm/iOVM_CrossDomainMessenger.sol +41 -0
- package/contracts/insured-bridge/test/Arbitrum_InboxMock.sol +50 -0
- package/contracts/insured-bridge/test/BridgeDepositBoxMock.sol +113 -0
- package/contracts/insured-bridge/test/MessengerMock.sol +32 -0
- package/contracts/insured-bridge/test/OVM_L1CrossDomainMessengerMock.sol +16 -0
- package/contracts/oracle/implementation/Constants.sol +29 -0
- package/contracts/oracle/interfaces/FinderInterface.sol +22 -0
- package/contracts/oracle/interfaces/IdentifierWhitelistInterface.sol +28 -0
- package/contracts/oracle/interfaces/OptimisticOracleInterface.sol +263 -0
- package/contracts/oracle/interfaces/SkinnyOptimisticOracleInterface.sol +251 -0
- package/contracts/oracle/interfaces/StoreInterface.sol +46 -0
- package/package.json +60 -0
|
@@ -0,0 +1,3943 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "343b9221be36acd9ddaca3f3b83d2e75",
|
|
3
|
+
"_format": "hh-sol-build-info-1",
|
|
4
|
+
"solcVersion": "0.8.9",
|
|
5
|
+
"solcLongVersion": "0.8.9+commit.e5eed63a",
|
|
6
|
+
"input": {
|
|
7
|
+
"language": "Solidity",
|
|
8
|
+
"sources": {
|
|
9
|
+
"contracts/external/polygon/test/FxRootMock.sol": {
|
|
10
|
+
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IStateSender {\n function syncState(address receiver, bytes calldata data) external;\n}\n\ninterface IFxStateSender {\n function sendMessageToChild(address _receiver, bytes calldata _data) external;\n}\n\n/**\n * @title FxRoot root contract for fx-portal\n */\ncontract FxRootMock is IFxStateSender {\n IStateSender public stateSender;\n address public fxChild;\n\n constructor(address _stateSender) {\n stateSender = IStateSender(_stateSender);\n }\n\n function setFxChild(address _fxChild) public {\n require(fxChild == address(0x0));\n fxChild = _fxChild;\n }\n\n function sendMessageToChild(address _receiver, bytes calldata _data) public override {\n bytes memory data = abi.encode(msg.sender, _receiver, _data);\n stateSender.syncState(fxChild, data);\n }\n}\n"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"settings": {
|
|
14
|
+
"optimizer": {
|
|
15
|
+
"enabled": true,
|
|
16
|
+
"runs": 1000000
|
|
17
|
+
},
|
|
18
|
+
"outputSelection": {
|
|
19
|
+
"*": {
|
|
20
|
+
"*": [
|
|
21
|
+
"abi",
|
|
22
|
+
"evm.bytecode",
|
|
23
|
+
"evm.deployedBytecode",
|
|
24
|
+
"evm.methodIdentifiers",
|
|
25
|
+
"metadata",
|
|
26
|
+
"devdoc",
|
|
27
|
+
"userdoc",
|
|
28
|
+
"storageLayout",
|
|
29
|
+
"evm.gasEstimates"
|
|
30
|
+
],
|
|
31
|
+
"": [
|
|
32
|
+
"ast"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"metadata": {
|
|
37
|
+
"useLiteralContent": true
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"output": {
|
|
42
|
+
"contracts": {
|
|
43
|
+
"contracts/external/polygon/test/FxRootMock.sol": {
|
|
44
|
+
"FxRootMock": {
|
|
45
|
+
"abi": [
|
|
46
|
+
{
|
|
47
|
+
"inputs": [
|
|
48
|
+
{
|
|
49
|
+
"internalType": "address",
|
|
50
|
+
"name": "_stateSender",
|
|
51
|
+
"type": "address"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"stateMutability": "nonpayable",
|
|
55
|
+
"type": "constructor"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"inputs": [],
|
|
59
|
+
"name": "fxChild",
|
|
60
|
+
"outputs": [
|
|
61
|
+
{
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "",
|
|
64
|
+
"type": "address"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"stateMutability": "view",
|
|
68
|
+
"type": "function"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"inputs": [
|
|
72
|
+
{
|
|
73
|
+
"internalType": "address",
|
|
74
|
+
"name": "_receiver",
|
|
75
|
+
"type": "address"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"internalType": "bytes",
|
|
79
|
+
"name": "_data",
|
|
80
|
+
"type": "bytes"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"name": "sendMessageToChild",
|
|
84
|
+
"outputs": [],
|
|
85
|
+
"stateMutability": "nonpayable",
|
|
86
|
+
"type": "function"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"inputs": [
|
|
90
|
+
{
|
|
91
|
+
"internalType": "address",
|
|
92
|
+
"name": "_fxChild",
|
|
93
|
+
"type": "address"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"name": "setFxChild",
|
|
97
|
+
"outputs": [],
|
|
98
|
+
"stateMutability": "nonpayable",
|
|
99
|
+
"type": "function"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"inputs": [],
|
|
103
|
+
"name": "stateSender",
|
|
104
|
+
"outputs": [
|
|
105
|
+
{
|
|
106
|
+
"internalType": "contract IStateSender",
|
|
107
|
+
"name": "",
|
|
108
|
+
"type": "address"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"stateMutability": "view",
|
|
112
|
+
"type": "function"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"devdoc": {
|
|
116
|
+
"kind": "dev",
|
|
117
|
+
"methods": {},
|
|
118
|
+
"title": "FxRoot root contract for fx-portal",
|
|
119
|
+
"version": 1
|
|
120
|
+
},
|
|
121
|
+
"evm": {
|
|
122
|
+
"bytecode": {
|
|
123
|
+
"functionDebugData": {
|
|
124
|
+
"@_37": {
|
|
125
|
+
"entryPoint": null,
|
|
126
|
+
"id": 37,
|
|
127
|
+
"parameterSlots": 1,
|
|
128
|
+
"returnSlots": 0
|
|
129
|
+
},
|
|
130
|
+
"abi_decode_tuple_t_address_fromMemory": {
|
|
131
|
+
"entryPoint": 84,
|
|
132
|
+
"id": null,
|
|
133
|
+
"parameterSlots": 2,
|
|
134
|
+
"returnSlots": 1
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"generatedSources": [
|
|
138
|
+
{
|
|
139
|
+
"ast": {
|
|
140
|
+
"nodeType": "YulBlock",
|
|
141
|
+
"src": "0:306:1",
|
|
142
|
+
"statements": [
|
|
143
|
+
{
|
|
144
|
+
"nodeType": "YulBlock",
|
|
145
|
+
"src": "6:3:1",
|
|
146
|
+
"statements": []
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"body": {
|
|
150
|
+
"nodeType": "YulBlock",
|
|
151
|
+
"src": "95:209:1",
|
|
152
|
+
"statements": [
|
|
153
|
+
{
|
|
154
|
+
"body": {
|
|
155
|
+
"nodeType": "YulBlock",
|
|
156
|
+
"src": "141:16:1",
|
|
157
|
+
"statements": [
|
|
158
|
+
{
|
|
159
|
+
"expression": {
|
|
160
|
+
"arguments": [
|
|
161
|
+
{
|
|
162
|
+
"kind": "number",
|
|
163
|
+
"nodeType": "YulLiteral",
|
|
164
|
+
"src": "150:1:1",
|
|
165
|
+
"type": "",
|
|
166
|
+
"value": "0"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "number",
|
|
170
|
+
"nodeType": "YulLiteral",
|
|
171
|
+
"src": "153:1:1",
|
|
172
|
+
"type": "",
|
|
173
|
+
"value": "0"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"functionName": {
|
|
177
|
+
"name": "revert",
|
|
178
|
+
"nodeType": "YulIdentifier",
|
|
179
|
+
"src": "143:6:1"
|
|
180
|
+
},
|
|
181
|
+
"nodeType": "YulFunctionCall",
|
|
182
|
+
"src": "143:12:1"
|
|
183
|
+
},
|
|
184
|
+
"nodeType": "YulExpressionStatement",
|
|
185
|
+
"src": "143:12:1"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"condition": {
|
|
190
|
+
"arguments": [
|
|
191
|
+
{
|
|
192
|
+
"arguments": [
|
|
193
|
+
{
|
|
194
|
+
"name": "dataEnd",
|
|
195
|
+
"nodeType": "YulIdentifier",
|
|
196
|
+
"src": "116:7:1"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "headStart",
|
|
200
|
+
"nodeType": "YulIdentifier",
|
|
201
|
+
"src": "125:9:1"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"functionName": {
|
|
205
|
+
"name": "sub",
|
|
206
|
+
"nodeType": "YulIdentifier",
|
|
207
|
+
"src": "112:3:1"
|
|
208
|
+
},
|
|
209
|
+
"nodeType": "YulFunctionCall",
|
|
210
|
+
"src": "112:23:1"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"kind": "number",
|
|
214
|
+
"nodeType": "YulLiteral",
|
|
215
|
+
"src": "137:2:1",
|
|
216
|
+
"type": "",
|
|
217
|
+
"value": "32"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"functionName": {
|
|
221
|
+
"name": "slt",
|
|
222
|
+
"nodeType": "YulIdentifier",
|
|
223
|
+
"src": "108:3:1"
|
|
224
|
+
},
|
|
225
|
+
"nodeType": "YulFunctionCall",
|
|
226
|
+
"src": "108:32:1"
|
|
227
|
+
},
|
|
228
|
+
"nodeType": "YulIf",
|
|
229
|
+
"src": "105:52:1"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"nodeType": "YulVariableDeclaration",
|
|
233
|
+
"src": "166:29:1",
|
|
234
|
+
"value": {
|
|
235
|
+
"arguments": [
|
|
236
|
+
{
|
|
237
|
+
"name": "headStart",
|
|
238
|
+
"nodeType": "YulIdentifier",
|
|
239
|
+
"src": "185:9:1"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"functionName": {
|
|
243
|
+
"name": "mload",
|
|
244
|
+
"nodeType": "YulIdentifier",
|
|
245
|
+
"src": "179:5:1"
|
|
246
|
+
},
|
|
247
|
+
"nodeType": "YulFunctionCall",
|
|
248
|
+
"src": "179:16:1"
|
|
249
|
+
},
|
|
250
|
+
"variables": [
|
|
251
|
+
{
|
|
252
|
+
"name": "value",
|
|
253
|
+
"nodeType": "YulTypedName",
|
|
254
|
+
"src": "170:5:1",
|
|
255
|
+
"type": ""
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"body": {
|
|
261
|
+
"nodeType": "YulBlock",
|
|
262
|
+
"src": "258:16:1",
|
|
263
|
+
"statements": [
|
|
264
|
+
{
|
|
265
|
+
"expression": {
|
|
266
|
+
"arguments": [
|
|
267
|
+
{
|
|
268
|
+
"kind": "number",
|
|
269
|
+
"nodeType": "YulLiteral",
|
|
270
|
+
"src": "267:1:1",
|
|
271
|
+
"type": "",
|
|
272
|
+
"value": "0"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "number",
|
|
276
|
+
"nodeType": "YulLiteral",
|
|
277
|
+
"src": "270:1:1",
|
|
278
|
+
"type": "",
|
|
279
|
+
"value": "0"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"functionName": {
|
|
283
|
+
"name": "revert",
|
|
284
|
+
"nodeType": "YulIdentifier",
|
|
285
|
+
"src": "260:6:1"
|
|
286
|
+
},
|
|
287
|
+
"nodeType": "YulFunctionCall",
|
|
288
|
+
"src": "260:12:1"
|
|
289
|
+
},
|
|
290
|
+
"nodeType": "YulExpressionStatement",
|
|
291
|
+
"src": "260:12:1"
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
"condition": {
|
|
296
|
+
"arguments": [
|
|
297
|
+
{
|
|
298
|
+
"arguments": [
|
|
299
|
+
{
|
|
300
|
+
"name": "value",
|
|
301
|
+
"nodeType": "YulIdentifier",
|
|
302
|
+
"src": "217:5:1"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"arguments": [
|
|
306
|
+
{
|
|
307
|
+
"name": "value",
|
|
308
|
+
"nodeType": "YulIdentifier",
|
|
309
|
+
"src": "228:5:1"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"arguments": [
|
|
313
|
+
{
|
|
314
|
+
"arguments": [
|
|
315
|
+
{
|
|
316
|
+
"kind": "number",
|
|
317
|
+
"nodeType": "YulLiteral",
|
|
318
|
+
"src": "243:3:1",
|
|
319
|
+
"type": "",
|
|
320
|
+
"value": "160"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"kind": "number",
|
|
324
|
+
"nodeType": "YulLiteral",
|
|
325
|
+
"src": "248:1:1",
|
|
326
|
+
"type": "",
|
|
327
|
+
"value": "1"
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"functionName": {
|
|
331
|
+
"name": "shl",
|
|
332
|
+
"nodeType": "YulIdentifier",
|
|
333
|
+
"src": "239:3:1"
|
|
334
|
+
},
|
|
335
|
+
"nodeType": "YulFunctionCall",
|
|
336
|
+
"src": "239:11:1"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "number",
|
|
340
|
+
"nodeType": "YulLiteral",
|
|
341
|
+
"src": "252:1:1",
|
|
342
|
+
"type": "",
|
|
343
|
+
"value": "1"
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"functionName": {
|
|
347
|
+
"name": "sub",
|
|
348
|
+
"nodeType": "YulIdentifier",
|
|
349
|
+
"src": "235:3:1"
|
|
350
|
+
},
|
|
351
|
+
"nodeType": "YulFunctionCall",
|
|
352
|
+
"src": "235:19:1"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"functionName": {
|
|
356
|
+
"name": "and",
|
|
357
|
+
"nodeType": "YulIdentifier",
|
|
358
|
+
"src": "224:3:1"
|
|
359
|
+
},
|
|
360
|
+
"nodeType": "YulFunctionCall",
|
|
361
|
+
"src": "224:31:1"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"functionName": {
|
|
365
|
+
"name": "eq",
|
|
366
|
+
"nodeType": "YulIdentifier",
|
|
367
|
+
"src": "214:2:1"
|
|
368
|
+
},
|
|
369
|
+
"nodeType": "YulFunctionCall",
|
|
370
|
+
"src": "214:42:1"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"functionName": {
|
|
374
|
+
"name": "iszero",
|
|
375
|
+
"nodeType": "YulIdentifier",
|
|
376
|
+
"src": "207:6:1"
|
|
377
|
+
},
|
|
378
|
+
"nodeType": "YulFunctionCall",
|
|
379
|
+
"src": "207:50:1"
|
|
380
|
+
},
|
|
381
|
+
"nodeType": "YulIf",
|
|
382
|
+
"src": "204:70:1"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"nodeType": "YulAssignment",
|
|
386
|
+
"src": "283:15:1",
|
|
387
|
+
"value": {
|
|
388
|
+
"name": "value",
|
|
389
|
+
"nodeType": "YulIdentifier",
|
|
390
|
+
"src": "293:5:1"
|
|
391
|
+
},
|
|
392
|
+
"variableNames": [
|
|
393
|
+
{
|
|
394
|
+
"name": "value0",
|
|
395
|
+
"nodeType": "YulIdentifier",
|
|
396
|
+
"src": "283:6:1"
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
"name": "abi_decode_tuple_t_address_fromMemory",
|
|
403
|
+
"nodeType": "YulFunctionDefinition",
|
|
404
|
+
"parameters": [
|
|
405
|
+
{
|
|
406
|
+
"name": "headStart",
|
|
407
|
+
"nodeType": "YulTypedName",
|
|
408
|
+
"src": "61:9:1",
|
|
409
|
+
"type": ""
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "dataEnd",
|
|
413
|
+
"nodeType": "YulTypedName",
|
|
414
|
+
"src": "72:7:1",
|
|
415
|
+
"type": ""
|
|
416
|
+
}
|
|
417
|
+
],
|
|
418
|
+
"returnVariables": [
|
|
419
|
+
{
|
|
420
|
+
"name": "value0",
|
|
421
|
+
"nodeType": "YulTypedName",
|
|
422
|
+
"src": "84:6:1",
|
|
423
|
+
"type": ""
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"src": "14:290:1"
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
"contents": "{\n { }\n function abi_decode_tuple_t_address_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, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n}",
|
|
431
|
+
"id": 1,
|
|
432
|
+
"language": "Yul",
|
|
433
|
+
"name": "#utility.yul"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"linkReferences": {},
|
|
437
|
+
"object": "608060405234801561001057600080fd5b506040516104c73803806104c783398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610434806100936000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063450d11f014610051578063b47204771461009a578063b86cfdcf146100af578063cb10f94c146100c2575b600080fd5b6001546100719073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100ad6100a8366004610250565b6100e2565b005b6100ad6100bd3660046102d3565b6101bd565b6000546100719073ffffffffffffffffffffffffffffffffffffffff1681565b6000338484846040516020016100fb94939291906102f5565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526000546001547f16f1983100000000000000000000000000000000000000000000000000000000845291935073ffffffffffffffffffffffffffffffffffffffff908116926316f1983192610185921690859060040161036d565b600060405180830381600087803b15801561019f57600080fd5b505af11580156101b3573d6000803e3d6000fd5b5050505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16156101e057600080fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461024b57600080fd5b919050565b60008060006040848603121561026557600080fd5b61026e84610227565b9250602084013567ffffffffffffffff8082111561028b57600080fd5b818601915086601f83011261029f57600080fd5b8135818111156102ae57600080fd5b8760208285010111156102c057600080fd5b6020830194508093505050509250925092565b6000602082840312156102e557600080fd5b6102ee82610227565b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250606060408301528260608301528284608084013760006080848401015260807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f850116830101905095945050505050565b73ffffffffffffffffffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156103b75785810183015185820160600152820161039b565b818111156103c9576000606083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160600194935050505056fea26469706673582212200128c3ff87ef6a8f94dcd177cd46b9215560febe5894475fb5db2da106b4fa3964736f6c63430008090033",
|
|
438
|
+
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x4C7 CODESIZE SUB DUP1 PUSH2 0x4C7 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x54 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH2 0x84 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x66 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x7D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x434 DUP1 PUSH2 0x93 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x450D11F0 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0xB4720477 EQ PUSH2 0x9A JUMPI DUP1 PUSH4 0xB86CFDCF EQ PUSH2 0xAF JUMPI DUP1 PUSH4 0xCB10F94C EQ PUSH2 0xC2 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH2 0x71 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAD PUSH2 0xA8 CALLDATASIZE PUSH1 0x4 PUSH2 0x250 JUMP JUMPDEST PUSH2 0xE2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xAD PUSH2 0xBD CALLDATASIZE PUSH1 0x4 PUSH2 0x2D3 JUMP JUMPDEST PUSH2 0x1BD JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x71 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 CALLER DUP5 DUP5 DUP5 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xFB SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2F5 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH1 0x0 SLOAD PUSH1 0x1 SLOAD PUSH32 0x16F1983100000000000000000000000000000000000000000000000000000000 DUP5 MSTORE SWAP2 SWAP4 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP3 PUSH4 0x16F19831 SWAP3 PUSH2 0x185 SWAP3 AND SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x36D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x19F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1B3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND ISZERO PUSH2 0x1E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x24B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x40 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x265 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x26E DUP5 PUSH2 0x227 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x28B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP7 ADD SWAP2 POP DUP7 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x29F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x2AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x2C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP5 POP DUP1 SWAP4 POP POP POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2E5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2EE DUP3 PUSH2 0x227 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP8 AND DUP4 MSTORE DUP1 DUP7 AND PUSH1 0x20 DUP5 ADD MSTORE POP PUSH1 0x60 PUSH1 0x40 DUP4 ADD MSTORE DUP3 PUSH1 0x60 DUP4 ADD MSTORE DUP3 DUP5 PUSH1 0x80 DUP5 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x80 DUP5 DUP5 ADD ADD MSTORE PUSH1 0x80 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP6 ADD AND DUP4 ADD ADD SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND DUP2 MSTORE PUSH1 0x0 PUSH1 0x20 PUSH1 0x40 DUP2 DUP5 ADD MSTORE DUP4 MLOAD DUP1 PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x3B7 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x60 ADD MSTORE DUP3 ADD PUSH2 0x39B JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x3C9 JUMPI PUSH1 0x0 PUSH1 0x60 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x60 ADD SWAP5 SWAP4 POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 ADD 0x28 0xC3 SELFDESTRUCT DUP8 0xEF PUSH11 0x8F94DCD177CD46B9215560 INVALID 0xBE PC SWAP5 SELFBALANCE 0x5F 0xB5 0xDB 0x2D LOG1 MOD 0xB4 STATICCALL CODECOPY PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ",
|
|
439
|
+
"sourceMap": "323:545:0:-:0;;;433:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;477:11;:40;;-1:-1:-1;;;;;;477:40:0;-1:-1:-1;;;;;477:40:0;;;;;;;;;;323:545;;14:290:1;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:1;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:1:o;:::-;323:545:0;;;;;;"
|
|
440
|
+
},
|
|
441
|
+
"deployedBytecode": {
|
|
442
|
+
"functionDebugData": {
|
|
443
|
+
"@fxChild_25": {
|
|
444
|
+
"entryPoint": null,
|
|
445
|
+
"id": 25,
|
|
446
|
+
"parameterSlots": 0,
|
|
447
|
+
"returnSlots": 0
|
|
448
|
+
},
|
|
449
|
+
"@sendMessageToChild_82": {
|
|
450
|
+
"entryPoint": 226,
|
|
451
|
+
"id": 82,
|
|
452
|
+
"parameterSlots": 3,
|
|
453
|
+
"returnSlots": 0
|
|
454
|
+
},
|
|
455
|
+
"@setFxChild_56": {
|
|
456
|
+
"entryPoint": 445,
|
|
457
|
+
"id": 56,
|
|
458
|
+
"parameterSlots": 1,
|
|
459
|
+
"returnSlots": 0
|
|
460
|
+
},
|
|
461
|
+
"@stateSender_23": {
|
|
462
|
+
"entryPoint": null,
|
|
463
|
+
"id": 23,
|
|
464
|
+
"parameterSlots": 0,
|
|
465
|
+
"returnSlots": 0
|
|
466
|
+
},
|
|
467
|
+
"abi_decode_address": {
|
|
468
|
+
"entryPoint": 551,
|
|
469
|
+
"id": null,
|
|
470
|
+
"parameterSlots": 1,
|
|
471
|
+
"returnSlots": 1
|
|
472
|
+
},
|
|
473
|
+
"abi_decode_tuple_t_address": {
|
|
474
|
+
"entryPoint": 723,
|
|
475
|
+
"id": null,
|
|
476
|
+
"parameterSlots": 2,
|
|
477
|
+
"returnSlots": 1
|
|
478
|
+
},
|
|
479
|
+
"abi_decode_tuple_t_addresst_bytes_calldata_ptr": {
|
|
480
|
+
"entryPoint": 592,
|
|
481
|
+
"id": null,
|
|
482
|
+
"parameterSlots": 2,
|
|
483
|
+
"returnSlots": 3
|
|
484
|
+
},
|
|
485
|
+
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
|
|
486
|
+
"entryPoint": null,
|
|
487
|
+
"id": null,
|
|
488
|
+
"parameterSlots": 2,
|
|
489
|
+
"returnSlots": 1
|
|
490
|
+
},
|
|
491
|
+
"abi_encode_tuple_t_address_t_address_t_bytes_calldata_ptr__to_t_address_t_address_t_bytes_memory_ptr__fromStack_reversed": {
|
|
492
|
+
"entryPoint": 757,
|
|
493
|
+
"id": null,
|
|
494
|
+
"parameterSlots": 5,
|
|
495
|
+
"returnSlots": 1
|
|
496
|
+
},
|
|
497
|
+
"abi_encode_tuple_t_address_t_bytes_memory_ptr__to_t_address_t_bytes_memory_ptr__fromStack_reversed": {
|
|
498
|
+
"entryPoint": 877,
|
|
499
|
+
"id": null,
|
|
500
|
+
"parameterSlots": 3,
|
|
501
|
+
"returnSlots": 1
|
|
502
|
+
},
|
|
503
|
+
"abi_encode_tuple_t_contract$_IStateSender_$9__to_t_address__fromStack_reversed": {
|
|
504
|
+
"entryPoint": null,
|
|
505
|
+
"id": null,
|
|
506
|
+
"parameterSlots": 2,
|
|
507
|
+
"returnSlots": 1
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"generatedSources": [
|
|
511
|
+
{
|
|
512
|
+
"ast": {
|
|
513
|
+
"nodeType": "YulBlock",
|
|
514
|
+
"src": "0:3008:1",
|
|
515
|
+
"statements": [
|
|
516
|
+
{
|
|
517
|
+
"nodeType": "YulBlock",
|
|
518
|
+
"src": "6:3:1",
|
|
519
|
+
"statements": []
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"body": {
|
|
523
|
+
"nodeType": "YulBlock",
|
|
524
|
+
"src": "115:125:1",
|
|
525
|
+
"statements": [
|
|
526
|
+
{
|
|
527
|
+
"nodeType": "YulAssignment",
|
|
528
|
+
"src": "125:26:1",
|
|
529
|
+
"value": {
|
|
530
|
+
"arguments": [
|
|
531
|
+
{
|
|
532
|
+
"name": "headStart",
|
|
533
|
+
"nodeType": "YulIdentifier",
|
|
534
|
+
"src": "137:9:1"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"kind": "number",
|
|
538
|
+
"nodeType": "YulLiteral",
|
|
539
|
+
"src": "148:2:1",
|
|
540
|
+
"type": "",
|
|
541
|
+
"value": "32"
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"functionName": {
|
|
545
|
+
"name": "add",
|
|
546
|
+
"nodeType": "YulIdentifier",
|
|
547
|
+
"src": "133:3:1"
|
|
548
|
+
},
|
|
549
|
+
"nodeType": "YulFunctionCall",
|
|
550
|
+
"src": "133:18:1"
|
|
551
|
+
},
|
|
552
|
+
"variableNames": [
|
|
553
|
+
{
|
|
554
|
+
"name": "tail",
|
|
555
|
+
"nodeType": "YulIdentifier",
|
|
556
|
+
"src": "125:4:1"
|
|
557
|
+
}
|
|
558
|
+
]
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"expression": {
|
|
562
|
+
"arguments": [
|
|
563
|
+
{
|
|
564
|
+
"name": "headStart",
|
|
565
|
+
"nodeType": "YulIdentifier",
|
|
566
|
+
"src": "167:9:1"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"arguments": [
|
|
570
|
+
{
|
|
571
|
+
"name": "value0",
|
|
572
|
+
"nodeType": "YulIdentifier",
|
|
573
|
+
"src": "182:6:1"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"kind": "number",
|
|
577
|
+
"nodeType": "YulLiteral",
|
|
578
|
+
"src": "190:42:1",
|
|
579
|
+
"type": "",
|
|
580
|
+
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
581
|
+
}
|
|
582
|
+
],
|
|
583
|
+
"functionName": {
|
|
584
|
+
"name": "and",
|
|
585
|
+
"nodeType": "YulIdentifier",
|
|
586
|
+
"src": "178:3:1"
|
|
587
|
+
},
|
|
588
|
+
"nodeType": "YulFunctionCall",
|
|
589
|
+
"src": "178:55:1"
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"functionName": {
|
|
593
|
+
"name": "mstore",
|
|
594
|
+
"nodeType": "YulIdentifier",
|
|
595
|
+
"src": "160:6:1"
|
|
596
|
+
},
|
|
597
|
+
"nodeType": "YulFunctionCall",
|
|
598
|
+
"src": "160:74:1"
|
|
599
|
+
},
|
|
600
|
+
"nodeType": "YulExpressionStatement",
|
|
601
|
+
"src": "160:74:1"
|
|
602
|
+
}
|
|
603
|
+
]
|
|
604
|
+
},
|
|
605
|
+
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
|
|
606
|
+
"nodeType": "YulFunctionDefinition",
|
|
607
|
+
"parameters": [
|
|
608
|
+
{
|
|
609
|
+
"name": "headStart",
|
|
610
|
+
"nodeType": "YulTypedName",
|
|
611
|
+
"src": "84:9:1",
|
|
612
|
+
"type": ""
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"name": "value0",
|
|
616
|
+
"nodeType": "YulTypedName",
|
|
617
|
+
"src": "95:6:1",
|
|
618
|
+
"type": ""
|
|
619
|
+
}
|
|
620
|
+
],
|
|
621
|
+
"returnVariables": [
|
|
622
|
+
{
|
|
623
|
+
"name": "tail",
|
|
624
|
+
"nodeType": "YulTypedName",
|
|
625
|
+
"src": "106:4:1",
|
|
626
|
+
"type": ""
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
"src": "14:226:1"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"body": {
|
|
633
|
+
"nodeType": "YulBlock",
|
|
634
|
+
"src": "294:147:1",
|
|
635
|
+
"statements": [
|
|
636
|
+
{
|
|
637
|
+
"nodeType": "YulAssignment",
|
|
638
|
+
"src": "304:29:1",
|
|
639
|
+
"value": {
|
|
640
|
+
"arguments": [
|
|
641
|
+
{
|
|
642
|
+
"name": "offset",
|
|
643
|
+
"nodeType": "YulIdentifier",
|
|
644
|
+
"src": "326:6:1"
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"functionName": {
|
|
648
|
+
"name": "calldataload",
|
|
649
|
+
"nodeType": "YulIdentifier",
|
|
650
|
+
"src": "313:12:1"
|
|
651
|
+
},
|
|
652
|
+
"nodeType": "YulFunctionCall",
|
|
653
|
+
"src": "313:20:1"
|
|
654
|
+
},
|
|
655
|
+
"variableNames": [
|
|
656
|
+
{
|
|
657
|
+
"name": "value",
|
|
658
|
+
"nodeType": "YulIdentifier",
|
|
659
|
+
"src": "304:5:1"
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"body": {
|
|
665
|
+
"nodeType": "YulBlock",
|
|
666
|
+
"src": "419:16:1",
|
|
667
|
+
"statements": [
|
|
668
|
+
{
|
|
669
|
+
"expression": {
|
|
670
|
+
"arguments": [
|
|
671
|
+
{
|
|
672
|
+
"kind": "number",
|
|
673
|
+
"nodeType": "YulLiteral",
|
|
674
|
+
"src": "428:1:1",
|
|
675
|
+
"type": "",
|
|
676
|
+
"value": "0"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"kind": "number",
|
|
680
|
+
"nodeType": "YulLiteral",
|
|
681
|
+
"src": "431:1:1",
|
|
682
|
+
"type": "",
|
|
683
|
+
"value": "0"
|
|
684
|
+
}
|
|
685
|
+
],
|
|
686
|
+
"functionName": {
|
|
687
|
+
"name": "revert",
|
|
688
|
+
"nodeType": "YulIdentifier",
|
|
689
|
+
"src": "421:6:1"
|
|
690
|
+
},
|
|
691
|
+
"nodeType": "YulFunctionCall",
|
|
692
|
+
"src": "421:12:1"
|
|
693
|
+
},
|
|
694
|
+
"nodeType": "YulExpressionStatement",
|
|
695
|
+
"src": "421:12:1"
|
|
696
|
+
}
|
|
697
|
+
]
|
|
698
|
+
},
|
|
699
|
+
"condition": {
|
|
700
|
+
"arguments": [
|
|
701
|
+
{
|
|
702
|
+
"arguments": [
|
|
703
|
+
{
|
|
704
|
+
"name": "value",
|
|
705
|
+
"nodeType": "YulIdentifier",
|
|
706
|
+
"src": "355:5:1"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"arguments": [
|
|
710
|
+
{
|
|
711
|
+
"name": "value",
|
|
712
|
+
"nodeType": "YulIdentifier",
|
|
713
|
+
"src": "366:5:1"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"kind": "number",
|
|
717
|
+
"nodeType": "YulLiteral",
|
|
718
|
+
"src": "373:42:1",
|
|
719
|
+
"type": "",
|
|
720
|
+
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
721
|
+
}
|
|
722
|
+
],
|
|
723
|
+
"functionName": {
|
|
724
|
+
"name": "and",
|
|
725
|
+
"nodeType": "YulIdentifier",
|
|
726
|
+
"src": "362:3:1"
|
|
727
|
+
},
|
|
728
|
+
"nodeType": "YulFunctionCall",
|
|
729
|
+
"src": "362:54:1"
|
|
730
|
+
}
|
|
731
|
+
],
|
|
732
|
+
"functionName": {
|
|
733
|
+
"name": "eq",
|
|
734
|
+
"nodeType": "YulIdentifier",
|
|
735
|
+
"src": "352:2:1"
|
|
736
|
+
},
|
|
737
|
+
"nodeType": "YulFunctionCall",
|
|
738
|
+
"src": "352:65:1"
|
|
739
|
+
}
|
|
740
|
+
],
|
|
741
|
+
"functionName": {
|
|
742
|
+
"name": "iszero",
|
|
743
|
+
"nodeType": "YulIdentifier",
|
|
744
|
+
"src": "345:6:1"
|
|
745
|
+
},
|
|
746
|
+
"nodeType": "YulFunctionCall",
|
|
747
|
+
"src": "345:73:1"
|
|
748
|
+
},
|
|
749
|
+
"nodeType": "YulIf",
|
|
750
|
+
"src": "342:93:1"
|
|
751
|
+
}
|
|
752
|
+
]
|
|
753
|
+
},
|
|
754
|
+
"name": "abi_decode_address",
|
|
755
|
+
"nodeType": "YulFunctionDefinition",
|
|
756
|
+
"parameters": [
|
|
757
|
+
{
|
|
758
|
+
"name": "offset",
|
|
759
|
+
"nodeType": "YulTypedName",
|
|
760
|
+
"src": "273:6:1",
|
|
761
|
+
"type": ""
|
|
762
|
+
}
|
|
763
|
+
],
|
|
764
|
+
"returnVariables": [
|
|
765
|
+
{
|
|
766
|
+
"name": "value",
|
|
767
|
+
"nodeType": "YulTypedName",
|
|
768
|
+
"src": "284:5:1",
|
|
769
|
+
"type": ""
|
|
770
|
+
}
|
|
771
|
+
],
|
|
772
|
+
"src": "245:196:1"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"body": {
|
|
776
|
+
"nodeType": "YulBlock",
|
|
777
|
+
"src": "552:559:1",
|
|
778
|
+
"statements": [
|
|
779
|
+
{
|
|
780
|
+
"body": {
|
|
781
|
+
"nodeType": "YulBlock",
|
|
782
|
+
"src": "598:16:1",
|
|
783
|
+
"statements": [
|
|
784
|
+
{
|
|
785
|
+
"expression": {
|
|
786
|
+
"arguments": [
|
|
787
|
+
{
|
|
788
|
+
"kind": "number",
|
|
789
|
+
"nodeType": "YulLiteral",
|
|
790
|
+
"src": "607:1:1",
|
|
791
|
+
"type": "",
|
|
792
|
+
"value": "0"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"kind": "number",
|
|
796
|
+
"nodeType": "YulLiteral",
|
|
797
|
+
"src": "610:1:1",
|
|
798
|
+
"type": "",
|
|
799
|
+
"value": "0"
|
|
800
|
+
}
|
|
801
|
+
],
|
|
802
|
+
"functionName": {
|
|
803
|
+
"name": "revert",
|
|
804
|
+
"nodeType": "YulIdentifier",
|
|
805
|
+
"src": "600:6:1"
|
|
806
|
+
},
|
|
807
|
+
"nodeType": "YulFunctionCall",
|
|
808
|
+
"src": "600:12:1"
|
|
809
|
+
},
|
|
810
|
+
"nodeType": "YulExpressionStatement",
|
|
811
|
+
"src": "600:12:1"
|
|
812
|
+
}
|
|
813
|
+
]
|
|
814
|
+
},
|
|
815
|
+
"condition": {
|
|
816
|
+
"arguments": [
|
|
817
|
+
{
|
|
818
|
+
"arguments": [
|
|
819
|
+
{
|
|
820
|
+
"name": "dataEnd",
|
|
821
|
+
"nodeType": "YulIdentifier",
|
|
822
|
+
"src": "573:7:1"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"name": "headStart",
|
|
826
|
+
"nodeType": "YulIdentifier",
|
|
827
|
+
"src": "582:9:1"
|
|
828
|
+
}
|
|
829
|
+
],
|
|
830
|
+
"functionName": {
|
|
831
|
+
"name": "sub",
|
|
832
|
+
"nodeType": "YulIdentifier",
|
|
833
|
+
"src": "569:3:1"
|
|
834
|
+
},
|
|
835
|
+
"nodeType": "YulFunctionCall",
|
|
836
|
+
"src": "569:23:1"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"kind": "number",
|
|
840
|
+
"nodeType": "YulLiteral",
|
|
841
|
+
"src": "594:2:1",
|
|
842
|
+
"type": "",
|
|
843
|
+
"value": "64"
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"functionName": {
|
|
847
|
+
"name": "slt",
|
|
848
|
+
"nodeType": "YulIdentifier",
|
|
849
|
+
"src": "565:3:1"
|
|
850
|
+
},
|
|
851
|
+
"nodeType": "YulFunctionCall",
|
|
852
|
+
"src": "565:32:1"
|
|
853
|
+
},
|
|
854
|
+
"nodeType": "YulIf",
|
|
855
|
+
"src": "562:52:1"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"nodeType": "YulAssignment",
|
|
859
|
+
"src": "623:39:1",
|
|
860
|
+
"value": {
|
|
861
|
+
"arguments": [
|
|
862
|
+
{
|
|
863
|
+
"name": "headStart",
|
|
864
|
+
"nodeType": "YulIdentifier",
|
|
865
|
+
"src": "652:9:1"
|
|
866
|
+
}
|
|
867
|
+
],
|
|
868
|
+
"functionName": {
|
|
869
|
+
"name": "abi_decode_address",
|
|
870
|
+
"nodeType": "YulIdentifier",
|
|
871
|
+
"src": "633:18:1"
|
|
872
|
+
},
|
|
873
|
+
"nodeType": "YulFunctionCall",
|
|
874
|
+
"src": "633:29:1"
|
|
875
|
+
},
|
|
876
|
+
"variableNames": [
|
|
877
|
+
{
|
|
878
|
+
"name": "value0",
|
|
879
|
+
"nodeType": "YulIdentifier",
|
|
880
|
+
"src": "623:6:1"
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"nodeType": "YulVariableDeclaration",
|
|
886
|
+
"src": "671:46:1",
|
|
887
|
+
"value": {
|
|
888
|
+
"arguments": [
|
|
889
|
+
{
|
|
890
|
+
"arguments": [
|
|
891
|
+
{
|
|
892
|
+
"name": "headStart",
|
|
893
|
+
"nodeType": "YulIdentifier",
|
|
894
|
+
"src": "702:9:1"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"kind": "number",
|
|
898
|
+
"nodeType": "YulLiteral",
|
|
899
|
+
"src": "713:2:1",
|
|
900
|
+
"type": "",
|
|
901
|
+
"value": "32"
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
"functionName": {
|
|
905
|
+
"name": "add",
|
|
906
|
+
"nodeType": "YulIdentifier",
|
|
907
|
+
"src": "698:3:1"
|
|
908
|
+
},
|
|
909
|
+
"nodeType": "YulFunctionCall",
|
|
910
|
+
"src": "698:18:1"
|
|
911
|
+
}
|
|
912
|
+
],
|
|
913
|
+
"functionName": {
|
|
914
|
+
"name": "calldataload",
|
|
915
|
+
"nodeType": "YulIdentifier",
|
|
916
|
+
"src": "685:12:1"
|
|
917
|
+
},
|
|
918
|
+
"nodeType": "YulFunctionCall",
|
|
919
|
+
"src": "685:32:1"
|
|
920
|
+
},
|
|
921
|
+
"variables": [
|
|
922
|
+
{
|
|
923
|
+
"name": "offset",
|
|
924
|
+
"nodeType": "YulTypedName",
|
|
925
|
+
"src": "675:6:1",
|
|
926
|
+
"type": ""
|
|
927
|
+
}
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"nodeType": "YulVariableDeclaration",
|
|
932
|
+
"src": "726:28:1",
|
|
933
|
+
"value": {
|
|
934
|
+
"kind": "number",
|
|
935
|
+
"nodeType": "YulLiteral",
|
|
936
|
+
"src": "736:18:1",
|
|
937
|
+
"type": "",
|
|
938
|
+
"value": "0xffffffffffffffff"
|
|
939
|
+
},
|
|
940
|
+
"variables": [
|
|
941
|
+
{
|
|
942
|
+
"name": "_1",
|
|
943
|
+
"nodeType": "YulTypedName",
|
|
944
|
+
"src": "730:2:1",
|
|
945
|
+
"type": ""
|
|
946
|
+
}
|
|
947
|
+
]
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"body": {
|
|
951
|
+
"nodeType": "YulBlock",
|
|
952
|
+
"src": "781:16:1",
|
|
953
|
+
"statements": [
|
|
954
|
+
{
|
|
955
|
+
"expression": {
|
|
956
|
+
"arguments": [
|
|
957
|
+
{
|
|
958
|
+
"kind": "number",
|
|
959
|
+
"nodeType": "YulLiteral",
|
|
960
|
+
"src": "790:1:1",
|
|
961
|
+
"type": "",
|
|
962
|
+
"value": "0"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"kind": "number",
|
|
966
|
+
"nodeType": "YulLiteral",
|
|
967
|
+
"src": "793:1:1",
|
|
968
|
+
"type": "",
|
|
969
|
+
"value": "0"
|
|
970
|
+
}
|
|
971
|
+
],
|
|
972
|
+
"functionName": {
|
|
973
|
+
"name": "revert",
|
|
974
|
+
"nodeType": "YulIdentifier",
|
|
975
|
+
"src": "783:6:1"
|
|
976
|
+
},
|
|
977
|
+
"nodeType": "YulFunctionCall",
|
|
978
|
+
"src": "783:12:1"
|
|
979
|
+
},
|
|
980
|
+
"nodeType": "YulExpressionStatement",
|
|
981
|
+
"src": "783:12:1"
|
|
982
|
+
}
|
|
983
|
+
]
|
|
984
|
+
},
|
|
985
|
+
"condition": {
|
|
986
|
+
"arguments": [
|
|
987
|
+
{
|
|
988
|
+
"name": "offset",
|
|
989
|
+
"nodeType": "YulIdentifier",
|
|
990
|
+
"src": "769:6:1"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "_1",
|
|
994
|
+
"nodeType": "YulIdentifier",
|
|
995
|
+
"src": "777:2:1"
|
|
996
|
+
}
|
|
997
|
+
],
|
|
998
|
+
"functionName": {
|
|
999
|
+
"name": "gt",
|
|
1000
|
+
"nodeType": "YulIdentifier",
|
|
1001
|
+
"src": "766:2:1"
|
|
1002
|
+
},
|
|
1003
|
+
"nodeType": "YulFunctionCall",
|
|
1004
|
+
"src": "766:14:1"
|
|
1005
|
+
},
|
|
1006
|
+
"nodeType": "YulIf",
|
|
1007
|
+
"src": "763:34:1"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"nodeType": "YulVariableDeclaration",
|
|
1011
|
+
"src": "806:32:1",
|
|
1012
|
+
"value": {
|
|
1013
|
+
"arguments": [
|
|
1014
|
+
{
|
|
1015
|
+
"name": "headStart",
|
|
1016
|
+
"nodeType": "YulIdentifier",
|
|
1017
|
+
"src": "820:9:1"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "offset",
|
|
1021
|
+
"nodeType": "YulIdentifier",
|
|
1022
|
+
"src": "831:6:1"
|
|
1023
|
+
}
|
|
1024
|
+
],
|
|
1025
|
+
"functionName": {
|
|
1026
|
+
"name": "add",
|
|
1027
|
+
"nodeType": "YulIdentifier",
|
|
1028
|
+
"src": "816:3:1"
|
|
1029
|
+
},
|
|
1030
|
+
"nodeType": "YulFunctionCall",
|
|
1031
|
+
"src": "816:22:1"
|
|
1032
|
+
},
|
|
1033
|
+
"variables": [
|
|
1034
|
+
{
|
|
1035
|
+
"name": "_2",
|
|
1036
|
+
"nodeType": "YulTypedName",
|
|
1037
|
+
"src": "810:2:1",
|
|
1038
|
+
"type": ""
|
|
1039
|
+
}
|
|
1040
|
+
]
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"body": {
|
|
1044
|
+
"nodeType": "YulBlock",
|
|
1045
|
+
"src": "886:16:1",
|
|
1046
|
+
"statements": [
|
|
1047
|
+
{
|
|
1048
|
+
"expression": {
|
|
1049
|
+
"arguments": [
|
|
1050
|
+
{
|
|
1051
|
+
"kind": "number",
|
|
1052
|
+
"nodeType": "YulLiteral",
|
|
1053
|
+
"src": "895:1:1",
|
|
1054
|
+
"type": "",
|
|
1055
|
+
"value": "0"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"kind": "number",
|
|
1059
|
+
"nodeType": "YulLiteral",
|
|
1060
|
+
"src": "898:1:1",
|
|
1061
|
+
"type": "",
|
|
1062
|
+
"value": "0"
|
|
1063
|
+
}
|
|
1064
|
+
],
|
|
1065
|
+
"functionName": {
|
|
1066
|
+
"name": "revert",
|
|
1067
|
+
"nodeType": "YulIdentifier",
|
|
1068
|
+
"src": "888:6:1"
|
|
1069
|
+
},
|
|
1070
|
+
"nodeType": "YulFunctionCall",
|
|
1071
|
+
"src": "888:12:1"
|
|
1072
|
+
},
|
|
1073
|
+
"nodeType": "YulExpressionStatement",
|
|
1074
|
+
"src": "888:12:1"
|
|
1075
|
+
}
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
"condition": {
|
|
1079
|
+
"arguments": [
|
|
1080
|
+
{
|
|
1081
|
+
"arguments": [
|
|
1082
|
+
{
|
|
1083
|
+
"arguments": [
|
|
1084
|
+
{
|
|
1085
|
+
"name": "_2",
|
|
1086
|
+
"nodeType": "YulIdentifier",
|
|
1087
|
+
"src": "865:2:1"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"kind": "number",
|
|
1091
|
+
"nodeType": "YulLiteral",
|
|
1092
|
+
"src": "869:4:1",
|
|
1093
|
+
"type": "",
|
|
1094
|
+
"value": "0x1f"
|
|
1095
|
+
}
|
|
1096
|
+
],
|
|
1097
|
+
"functionName": {
|
|
1098
|
+
"name": "add",
|
|
1099
|
+
"nodeType": "YulIdentifier",
|
|
1100
|
+
"src": "861:3:1"
|
|
1101
|
+
},
|
|
1102
|
+
"nodeType": "YulFunctionCall",
|
|
1103
|
+
"src": "861:13:1"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "dataEnd",
|
|
1107
|
+
"nodeType": "YulIdentifier",
|
|
1108
|
+
"src": "876:7:1"
|
|
1109
|
+
}
|
|
1110
|
+
],
|
|
1111
|
+
"functionName": {
|
|
1112
|
+
"name": "slt",
|
|
1113
|
+
"nodeType": "YulIdentifier",
|
|
1114
|
+
"src": "857:3:1"
|
|
1115
|
+
},
|
|
1116
|
+
"nodeType": "YulFunctionCall",
|
|
1117
|
+
"src": "857:27:1"
|
|
1118
|
+
}
|
|
1119
|
+
],
|
|
1120
|
+
"functionName": {
|
|
1121
|
+
"name": "iszero",
|
|
1122
|
+
"nodeType": "YulIdentifier",
|
|
1123
|
+
"src": "850:6:1"
|
|
1124
|
+
},
|
|
1125
|
+
"nodeType": "YulFunctionCall",
|
|
1126
|
+
"src": "850:35:1"
|
|
1127
|
+
},
|
|
1128
|
+
"nodeType": "YulIf",
|
|
1129
|
+
"src": "847:55:1"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"nodeType": "YulVariableDeclaration",
|
|
1133
|
+
"src": "911:30:1",
|
|
1134
|
+
"value": {
|
|
1135
|
+
"arguments": [
|
|
1136
|
+
{
|
|
1137
|
+
"name": "_2",
|
|
1138
|
+
"nodeType": "YulIdentifier",
|
|
1139
|
+
"src": "938:2:1"
|
|
1140
|
+
}
|
|
1141
|
+
],
|
|
1142
|
+
"functionName": {
|
|
1143
|
+
"name": "calldataload",
|
|
1144
|
+
"nodeType": "YulIdentifier",
|
|
1145
|
+
"src": "925:12:1"
|
|
1146
|
+
},
|
|
1147
|
+
"nodeType": "YulFunctionCall",
|
|
1148
|
+
"src": "925:16:1"
|
|
1149
|
+
},
|
|
1150
|
+
"variables": [
|
|
1151
|
+
{
|
|
1152
|
+
"name": "length",
|
|
1153
|
+
"nodeType": "YulTypedName",
|
|
1154
|
+
"src": "915:6:1",
|
|
1155
|
+
"type": ""
|
|
1156
|
+
}
|
|
1157
|
+
]
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"body": {
|
|
1161
|
+
"nodeType": "YulBlock",
|
|
1162
|
+
"src": "968:16:1",
|
|
1163
|
+
"statements": [
|
|
1164
|
+
{
|
|
1165
|
+
"expression": {
|
|
1166
|
+
"arguments": [
|
|
1167
|
+
{
|
|
1168
|
+
"kind": "number",
|
|
1169
|
+
"nodeType": "YulLiteral",
|
|
1170
|
+
"src": "977:1:1",
|
|
1171
|
+
"type": "",
|
|
1172
|
+
"value": "0"
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"kind": "number",
|
|
1176
|
+
"nodeType": "YulLiteral",
|
|
1177
|
+
"src": "980:1:1",
|
|
1178
|
+
"type": "",
|
|
1179
|
+
"value": "0"
|
|
1180
|
+
}
|
|
1181
|
+
],
|
|
1182
|
+
"functionName": {
|
|
1183
|
+
"name": "revert",
|
|
1184
|
+
"nodeType": "YulIdentifier",
|
|
1185
|
+
"src": "970:6:1"
|
|
1186
|
+
},
|
|
1187
|
+
"nodeType": "YulFunctionCall",
|
|
1188
|
+
"src": "970:12:1"
|
|
1189
|
+
},
|
|
1190
|
+
"nodeType": "YulExpressionStatement",
|
|
1191
|
+
"src": "970:12:1"
|
|
1192
|
+
}
|
|
1193
|
+
]
|
|
1194
|
+
},
|
|
1195
|
+
"condition": {
|
|
1196
|
+
"arguments": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "length",
|
|
1199
|
+
"nodeType": "YulIdentifier",
|
|
1200
|
+
"src": "956:6:1"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "_1",
|
|
1204
|
+
"nodeType": "YulIdentifier",
|
|
1205
|
+
"src": "964:2:1"
|
|
1206
|
+
}
|
|
1207
|
+
],
|
|
1208
|
+
"functionName": {
|
|
1209
|
+
"name": "gt",
|
|
1210
|
+
"nodeType": "YulIdentifier",
|
|
1211
|
+
"src": "953:2:1"
|
|
1212
|
+
},
|
|
1213
|
+
"nodeType": "YulFunctionCall",
|
|
1214
|
+
"src": "953:14:1"
|
|
1215
|
+
},
|
|
1216
|
+
"nodeType": "YulIf",
|
|
1217
|
+
"src": "950:34:1"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"body": {
|
|
1221
|
+
"nodeType": "YulBlock",
|
|
1222
|
+
"src": "1034:16:1",
|
|
1223
|
+
"statements": [
|
|
1224
|
+
{
|
|
1225
|
+
"expression": {
|
|
1226
|
+
"arguments": [
|
|
1227
|
+
{
|
|
1228
|
+
"kind": "number",
|
|
1229
|
+
"nodeType": "YulLiteral",
|
|
1230
|
+
"src": "1043:1:1",
|
|
1231
|
+
"type": "",
|
|
1232
|
+
"value": "0"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"kind": "number",
|
|
1236
|
+
"nodeType": "YulLiteral",
|
|
1237
|
+
"src": "1046:1:1",
|
|
1238
|
+
"type": "",
|
|
1239
|
+
"value": "0"
|
|
1240
|
+
}
|
|
1241
|
+
],
|
|
1242
|
+
"functionName": {
|
|
1243
|
+
"name": "revert",
|
|
1244
|
+
"nodeType": "YulIdentifier",
|
|
1245
|
+
"src": "1036:6:1"
|
|
1246
|
+
},
|
|
1247
|
+
"nodeType": "YulFunctionCall",
|
|
1248
|
+
"src": "1036:12:1"
|
|
1249
|
+
},
|
|
1250
|
+
"nodeType": "YulExpressionStatement",
|
|
1251
|
+
"src": "1036:12:1"
|
|
1252
|
+
}
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1255
|
+
"condition": {
|
|
1256
|
+
"arguments": [
|
|
1257
|
+
{
|
|
1258
|
+
"arguments": [
|
|
1259
|
+
{
|
|
1260
|
+
"arguments": [
|
|
1261
|
+
{
|
|
1262
|
+
"name": "_2",
|
|
1263
|
+
"nodeType": "YulIdentifier",
|
|
1264
|
+
"src": "1007:2:1"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"name": "length",
|
|
1268
|
+
"nodeType": "YulIdentifier",
|
|
1269
|
+
"src": "1011:6:1"
|
|
1270
|
+
}
|
|
1271
|
+
],
|
|
1272
|
+
"functionName": {
|
|
1273
|
+
"name": "add",
|
|
1274
|
+
"nodeType": "YulIdentifier",
|
|
1275
|
+
"src": "1003:3:1"
|
|
1276
|
+
},
|
|
1277
|
+
"nodeType": "YulFunctionCall",
|
|
1278
|
+
"src": "1003:15:1"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "number",
|
|
1282
|
+
"nodeType": "YulLiteral",
|
|
1283
|
+
"src": "1020:2:1",
|
|
1284
|
+
"type": "",
|
|
1285
|
+
"value": "32"
|
|
1286
|
+
}
|
|
1287
|
+
],
|
|
1288
|
+
"functionName": {
|
|
1289
|
+
"name": "add",
|
|
1290
|
+
"nodeType": "YulIdentifier",
|
|
1291
|
+
"src": "999:3:1"
|
|
1292
|
+
},
|
|
1293
|
+
"nodeType": "YulFunctionCall",
|
|
1294
|
+
"src": "999:24:1"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"name": "dataEnd",
|
|
1298
|
+
"nodeType": "YulIdentifier",
|
|
1299
|
+
"src": "1025:7:1"
|
|
1300
|
+
}
|
|
1301
|
+
],
|
|
1302
|
+
"functionName": {
|
|
1303
|
+
"name": "gt",
|
|
1304
|
+
"nodeType": "YulIdentifier",
|
|
1305
|
+
"src": "996:2:1"
|
|
1306
|
+
},
|
|
1307
|
+
"nodeType": "YulFunctionCall",
|
|
1308
|
+
"src": "996:37:1"
|
|
1309
|
+
},
|
|
1310
|
+
"nodeType": "YulIf",
|
|
1311
|
+
"src": "993:57:1"
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"nodeType": "YulAssignment",
|
|
1315
|
+
"src": "1059:21:1",
|
|
1316
|
+
"value": {
|
|
1317
|
+
"arguments": [
|
|
1318
|
+
{
|
|
1319
|
+
"name": "_2",
|
|
1320
|
+
"nodeType": "YulIdentifier",
|
|
1321
|
+
"src": "1073:2:1"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"kind": "number",
|
|
1325
|
+
"nodeType": "YulLiteral",
|
|
1326
|
+
"src": "1077:2:1",
|
|
1327
|
+
"type": "",
|
|
1328
|
+
"value": "32"
|
|
1329
|
+
}
|
|
1330
|
+
],
|
|
1331
|
+
"functionName": {
|
|
1332
|
+
"name": "add",
|
|
1333
|
+
"nodeType": "YulIdentifier",
|
|
1334
|
+
"src": "1069:3:1"
|
|
1335
|
+
},
|
|
1336
|
+
"nodeType": "YulFunctionCall",
|
|
1337
|
+
"src": "1069:11:1"
|
|
1338
|
+
},
|
|
1339
|
+
"variableNames": [
|
|
1340
|
+
{
|
|
1341
|
+
"name": "value1",
|
|
1342
|
+
"nodeType": "YulIdentifier",
|
|
1343
|
+
"src": "1059:6:1"
|
|
1344
|
+
}
|
|
1345
|
+
]
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"nodeType": "YulAssignment",
|
|
1349
|
+
"src": "1089:16:1",
|
|
1350
|
+
"value": {
|
|
1351
|
+
"name": "length",
|
|
1352
|
+
"nodeType": "YulIdentifier",
|
|
1353
|
+
"src": "1099:6:1"
|
|
1354
|
+
},
|
|
1355
|
+
"variableNames": [
|
|
1356
|
+
{
|
|
1357
|
+
"name": "value2",
|
|
1358
|
+
"nodeType": "YulIdentifier",
|
|
1359
|
+
"src": "1089:6:1"
|
|
1360
|
+
}
|
|
1361
|
+
]
|
|
1362
|
+
}
|
|
1363
|
+
]
|
|
1364
|
+
},
|
|
1365
|
+
"name": "abi_decode_tuple_t_addresst_bytes_calldata_ptr",
|
|
1366
|
+
"nodeType": "YulFunctionDefinition",
|
|
1367
|
+
"parameters": [
|
|
1368
|
+
{
|
|
1369
|
+
"name": "headStart",
|
|
1370
|
+
"nodeType": "YulTypedName",
|
|
1371
|
+
"src": "502:9:1",
|
|
1372
|
+
"type": ""
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"name": "dataEnd",
|
|
1376
|
+
"nodeType": "YulTypedName",
|
|
1377
|
+
"src": "513:7:1",
|
|
1378
|
+
"type": ""
|
|
1379
|
+
}
|
|
1380
|
+
],
|
|
1381
|
+
"returnVariables": [
|
|
1382
|
+
{
|
|
1383
|
+
"name": "value0",
|
|
1384
|
+
"nodeType": "YulTypedName",
|
|
1385
|
+
"src": "525:6:1",
|
|
1386
|
+
"type": ""
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"name": "value1",
|
|
1390
|
+
"nodeType": "YulTypedName",
|
|
1391
|
+
"src": "533:6:1",
|
|
1392
|
+
"type": ""
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"name": "value2",
|
|
1396
|
+
"nodeType": "YulTypedName",
|
|
1397
|
+
"src": "541:6:1",
|
|
1398
|
+
"type": ""
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1401
|
+
"src": "446:665:1"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"body": {
|
|
1405
|
+
"nodeType": "YulBlock",
|
|
1406
|
+
"src": "1186:116:1",
|
|
1407
|
+
"statements": [
|
|
1408
|
+
{
|
|
1409
|
+
"body": {
|
|
1410
|
+
"nodeType": "YulBlock",
|
|
1411
|
+
"src": "1232:16:1",
|
|
1412
|
+
"statements": [
|
|
1413
|
+
{
|
|
1414
|
+
"expression": {
|
|
1415
|
+
"arguments": [
|
|
1416
|
+
{
|
|
1417
|
+
"kind": "number",
|
|
1418
|
+
"nodeType": "YulLiteral",
|
|
1419
|
+
"src": "1241:1:1",
|
|
1420
|
+
"type": "",
|
|
1421
|
+
"value": "0"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"kind": "number",
|
|
1425
|
+
"nodeType": "YulLiteral",
|
|
1426
|
+
"src": "1244:1:1",
|
|
1427
|
+
"type": "",
|
|
1428
|
+
"value": "0"
|
|
1429
|
+
}
|
|
1430
|
+
],
|
|
1431
|
+
"functionName": {
|
|
1432
|
+
"name": "revert",
|
|
1433
|
+
"nodeType": "YulIdentifier",
|
|
1434
|
+
"src": "1234:6:1"
|
|
1435
|
+
},
|
|
1436
|
+
"nodeType": "YulFunctionCall",
|
|
1437
|
+
"src": "1234:12:1"
|
|
1438
|
+
},
|
|
1439
|
+
"nodeType": "YulExpressionStatement",
|
|
1440
|
+
"src": "1234:12:1"
|
|
1441
|
+
}
|
|
1442
|
+
]
|
|
1443
|
+
},
|
|
1444
|
+
"condition": {
|
|
1445
|
+
"arguments": [
|
|
1446
|
+
{
|
|
1447
|
+
"arguments": [
|
|
1448
|
+
{
|
|
1449
|
+
"name": "dataEnd",
|
|
1450
|
+
"nodeType": "YulIdentifier",
|
|
1451
|
+
"src": "1207:7:1"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"name": "headStart",
|
|
1455
|
+
"nodeType": "YulIdentifier",
|
|
1456
|
+
"src": "1216:9:1"
|
|
1457
|
+
}
|
|
1458
|
+
],
|
|
1459
|
+
"functionName": {
|
|
1460
|
+
"name": "sub",
|
|
1461
|
+
"nodeType": "YulIdentifier",
|
|
1462
|
+
"src": "1203:3:1"
|
|
1463
|
+
},
|
|
1464
|
+
"nodeType": "YulFunctionCall",
|
|
1465
|
+
"src": "1203:23:1"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"kind": "number",
|
|
1469
|
+
"nodeType": "YulLiteral",
|
|
1470
|
+
"src": "1228:2:1",
|
|
1471
|
+
"type": "",
|
|
1472
|
+
"value": "32"
|
|
1473
|
+
}
|
|
1474
|
+
],
|
|
1475
|
+
"functionName": {
|
|
1476
|
+
"name": "slt",
|
|
1477
|
+
"nodeType": "YulIdentifier",
|
|
1478
|
+
"src": "1199:3:1"
|
|
1479
|
+
},
|
|
1480
|
+
"nodeType": "YulFunctionCall",
|
|
1481
|
+
"src": "1199:32:1"
|
|
1482
|
+
},
|
|
1483
|
+
"nodeType": "YulIf",
|
|
1484
|
+
"src": "1196:52:1"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"nodeType": "YulAssignment",
|
|
1488
|
+
"src": "1257:39:1",
|
|
1489
|
+
"value": {
|
|
1490
|
+
"arguments": [
|
|
1491
|
+
{
|
|
1492
|
+
"name": "headStart",
|
|
1493
|
+
"nodeType": "YulIdentifier",
|
|
1494
|
+
"src": "1286:9:1"
|
|
1495
|
+
}
|
|
1496
|
+
],
|
|
1497
|
+
"functionName": {
|
|
1498
|
+
"name": "abi_decode_address",
|
|
1499
|
+
"nodeType": "YulIdentifier",
|
|
1500
|
+
"src": "1267:18:1"
|
|
1501
|
+
},
|
|
1502
|
+
"nodeType": "YulFunctionCall",
|
|
1503
|
+
"src": "1267:29:1"
|
|
1504
|
+
},
|
|
1505
|
+
"variableNames": [
|
|
1506
|
+
{
|
|
1507
|
+
"name": "value0",
|
|
1508
|
+
"nodeType": "YulIdentifier",
|
|
1509
|
+
"src": "1257:6:1"
|
|
1510
|
+
}
|
|
1511
|
+
]
|
|
1512
|
+
}
|
|
1513
|
+
]
|
|
1514
|
+
},
|
|
1515
|
+
"name": "abi_decode_tuple_t_address",
|
|
1516
|
+
"nodeType": "YulFunctionDefinition",
|
|
1517
|
+
"parameters": [
|
|
1518
|
+
{
|
|
1519
|
+
"name": "headStart",
|
|
1520
|
+
"nodeType": "YulTypedName",
|
|
1521
|
+
"src": "1152:9:1",
|
|
1522
|
+
"type": ""
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "dataEnd",
|
|
1526
|
+
"nodeType": "YulTypedName",
|
|
1527
|
+
"src": "1163:7:1",
|
|
1528
|
+
"type": ""
|
|
1529
|
+
}
|
|
1530
|
+
],
|
|
1531
|
+
"returnVariables": [
|
|
1532
|
+
{
|
|
1533
|
+
"name": "value0",
|
|
1534
|
+
"nodeType": "YulTypedName",
|
|
1535
|
+
"src": "1175:6:1",
|
|
1536
|
+
"type": ""
|
|
1537
|
+
}
|
|
1538
|
+
],
|
|
1539
|
+
"src": "1116:186:1"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"body": {
|
|
1543
|
+
"nodeType": "YulBlock",
|
|
1544
|
+
"src": "1426:125:1",
|
|
1545
|
+
"statements": [
|
|
1546
|
+
{
|
|
1547
|
+
"nodeType": "YulAssignment",
|
|
1548
|
+
"src": "1436:26:1",
|
|
1549
|
+
"value": {
|
|
1550
|
+
"arguments": [
|
|
1551
|
+
{
|
|
1552
|
+
"name": "headStart",
|
|
1553
|
+
"nodeType": "YulIdentifier",
|
|
1554
|
+
"src": "1448:9:1"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"kind": "number",
|
|
1558
|
+
"nodeType": "YulLiteral",
|
|
1559
|
+
"src": "1459:2:1",
|
|
1560
|
+
"type": "",
|
|
1561
|
+
"value": "32"
|
|
1562
|
+
}
|
|
1563
|
+
],
|
|
1564
|
+
"functionName": {
|
|
1565
|
+
"name": "add",
|
|
1566
|
+
"nodeType": "YulIdentifier",
|
|
1567
|
+
"src": "1444:3:1"
|
|
1568
|
+
},
|
|
1569
|
+
"nodeType": "YulFunctionCall",
|
|
1570
|
+
"src": "1444:18:1"
|
|
1571
|
+
},
|
|
1572
|
+
"variableNames": [
|
|
1573
|
+
{
|
|
1574
|
+
"name": "tail",
|
|
1575
|
+
"nodeType": "YulIdentifier",
|
|
1576
|
+
"src": "1436:4:1"
|
|
1577
|
+
}
|
|
1578
|
+
]
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"expression": {
|
|
1582
|
+
"arguments": [
|
|
1583
|
+
{
|
|
1584
|
+
"name": "headStart",
|
|
1585
|
+
"nodeType": "YulIdentifier",
|
|
1586
|
+
"src": "1478:9:1"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"arguments": [
|
|
1590
|
+
{
|
|
1591
|
+
"name": "value0",
|
|
1592
|
+
"nodeType": "YulIdentifier",
|
|
1593
|
+
"src": "1493:6:1"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"kind": "number",
|
|
1597
|
+
"nodeType": "YulLiteral",
|
|
1598
|
+
"src": "1501:42:1",
|
|
1599
|
+
"type": "",
|
|
1600
|
+
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
1601
|
+
}
|
|
1602
|
+
],
|
|
1603
|
+
"functionName": {
|
|
1604
|
+
"name": "and",
|
|
1605
|
+
"nodeType": "YulIdentifier",
|
|
1606
|
+
"src": "1489:3:1"
|
|
1607
|
+
},
|
|
1608
|
+
"nodeType": "YulFunctionCall",
|
|
1609
|
+
"src": "1489:55:1"
|
|
1610
|
+
}
|
|
1611
|
+
],
|
|
1612
|
+
"functionName": {
|
|
1613
|
+
"name": "mstore",
|
|
1614
|
+
"nodeType": "YulIdentifier",
|
|
1615
|
+
"src": "1471:6:1"
|
|
1616
|
+
},
|
|
1617
|
+
"nodeType": "YulFunctionCall",
|
|
1618
|
+
"src": "1471:74:1"
|
|
1619
|
+
},
|
|
1620
|
+
"nodeType": "YulExpressionStatement",
|
|
1621
|
+
"src": "1471:74:1"
|
|
1622
|
+
}
|
|
1623
|
+
]
|
|
1624
|
+
},
|
|
1625
|
+
"name": "abi_encode_tuple_t_contract$_IStateSender_$9__to_t_address__fromStack_reversed",
|
|
1626
|
+
"nodeType": "YulFunctionDefinition",
|
|
1627
|
+
"parameters": [
|
|
1628
|
+
{
|
|
1629
|
+
"name": "headStart",
|
|
1630
|
+
"nodeType": "YulTypedName",
|
|
1631
|
+
"src": "1395:9:1",
|
|
1632
|
+
"type": ""
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"name": "value0",
|
|
1636
|
+
"nodeType": "YulTypedName",
|
|
1637
|
+
"src": "1406:6:1",
|
|
1638
|
+
"type": ""
|
|
1639
|
+
}
|
|
1640
|
+
],
|
|
1641
|
+
"returnVariables": [
|
|
1642
|
+
{
|
|
1643
|
+
"name": "tail",
|
|
1644
|
+
"nodeType": "YulTypedName",
|
|
1645
|
+
"src": "1417:4:1",
|
|
1646
|
+
"type": ""
|
|
1647
|
+
}
|
|
1648
|
+
],
|
|
1649
|
+
"src": "1307:244:1"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"body": {
|
|
1653
|
+
"nodeType": "YulBlock",
|
|
1654
|
+
"src": "1741:486:1",
|
|
1655
|
+
"statements": [
|
|
1656
|
+
{
|
|
1657
|
+
"nodeType": "YulVariableDeclaration",
|
|
1658
|
+
"src": "1751:52:1",
|
|
1659
|
+
"value": {
|
|
1660
|
+
"kind": "number",
|
|
1661
|
+
"nodeType": "YulLiteral",
|
|
1662
|
+
"src": "1761:42:1",
|
|
1663
|
+
"type": "",
|
|
1664
|
+
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
1665
|
+
},
|
|
1666
|
+
"variables": [
|
|
1667
|
+
{
|
|
1668
|
+
"name": "_1",
|
|
1669
|
+
"nodeType": "YulTypedName",
|
|
1670
|
+
"src": "1755:2:1",
|
|
1671
|
+
"type": ""
|
|
1672
|
+
}
|
|
1673
|
+
]
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"expression": {
|
|
1677
|
+
"arguments": [
|
|
1678
|
+
{
|
|
1679
|
+
"name": "headStart",
|
|
1680
|
+
"nodeType": "YulIdentifier",
|
|
1681
|
+
"src": "1819:9:1"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"arguments": [
|
|
1685
|
+
{
|
|
1686
|
+
"name": "value0",
|
|
1687
|
+
"nodeType": "YulIdentifier",
|
|
1688
|
+
"src": "1834:6:1"
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"name": "_1",
|
|
1692
|
+
"nodeType": "YulIdentifier",
|
|
1693
|
+
"src": "1842:2:1"
|
|
1694
|
+
}
|
|
1695
|
+
],
|
|
1696
|
+
"functionName": {
|
|
1697
|
+
"name": "and",
|
|
1698
|
+
"nodeType": "YulIdentifier",
|
|
1699
|
+
"src": "1830:3:1"
|
|
1700
|
+
},
|
|
1701
|
+
"nodeType": "YulFunctionCall",
|
|
1702
|
+
"src": "1830:15:1"
|
|
1703
|
+
}
|
|
1704
|
+
],
|
|
1705
|
+
"functionName": {
|
|
1706
|
+
"name": "mstore",
|
|
1707
|
+
"nodeType": "YulIdentifier",
|
|
1708
|
+
"src": "1812:6:1"
|
|
1709
|
+
},
|
|
1710
|
+
"nodeType": "YulFunctionCall",
|
|
1711
|
+
"src": "1812:34:1"
|
|
1712
|
+
},
|
|
1713
|
+
"nodeType": "YulExpressionStatement",
|
|
1714
|
+
"src": "1812:34:1"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"expression": {
|
|
1718
|
+
"arguments": [
|
|
1719
|
+
{
|
|
1720
|
+
"arguments": [
|
|
1721
|
+
{
|
|
1722
|
+
"name": "headStart",
|
|
1723
|
+
"nodeType": "YulIdentifier",
|
|
1724
|
+
"src": "1866:9:1"
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"kind": "number",
|
|
1728
|
+
"nodeType": "YulLiteral",
|
|
1729
|
+
"src": "1877:2:1",
|
|
1730
|
+
"type": "",
|
|
1731
|
+
"value": "32"
|
|
1732
|
+
}
|
|
1733
|
+
],
|
|
1734
|
+
"functionName": {
|
|
1735
|
+
"name": "add",
|
|
1736
|
+
"nodeType": "YulIdentifier",
|
|
1737
|
+
"src": "1862:3:1"
|
|
1738
|
+
},
|
|
1739
|
+
"nodeType": "YulFunctionCall",
|
|
1740
|
+
"src": "1862:18:1"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"arguments": [
|
|
1744
|
+
{
|
|
1745
|
+
"name": "value1",
|
|
1746
|
+
"nodeType": "YulIdentifier",
|
|
1747
|
+
"src": "1886:6:1"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"name": "_1",
|
|
1751
|
+
"nodeType": "YulIdentifier",
|
|
1752
|
+
"src": "1894:2:1"
|
|
1753
|
+
}
|
|
1754
|
+
],
|
|
1755
|
+
"functionName": {
|
|
1756
|
+
"name": "and",
|
|
1757
|
+
"nodeType": "YulIdentifier",
|
|
1758
|
+
"src": "1882:3:1"
|
|
1759
|
+
},
|
|
1760
|
+
"nodeType": "YulFunctionCall",
|
|
1761
|
+
"src": "1882:15:1"
|
|
1762
|
+
}
|
|
1763
|
+
],
|
|
1764
|
+
"functionName": {
|
|
1765
|
+
"name": "mstore",
|
|
1766
|
+
"nodeType": "YulIdentifier",
|
|
1767
|
+
"src": "1855:6:1"
|
|
1768
|
+
},
|
|
1769
|
+
"nodeType": "YulFunctionCall",
|
|
1770
|
+
"src": "1855:43:1"
|
|
1771
|
+
},
|
|
1772
|
+
"nodeType": "YulExpressionStatement",
|
|
1773
|
+
"src": "1855:43:1"
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"expression": {
|
|
1777
|
+
"arguments": [
|
|
1778
|
+
{
|
|
1779
|
+
"arguments": [
|
|
1780
|
+
{
|
|
1781
|
+
"name": "headStart",
|
|
1782
|
+
"nodeType": "YulIdentifier",
|
|
1783
|
+
"src": "1918:9:1"
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "number",
|
|
1787
|
+
"nodeType": "YulLiteral",
|
|
1788
|
+
"src": "1929:2:1",
|
|
1789
|
+
"type": "",
|
|
1790
|
+
"value": "64"
|
|
1791
|
+
}
|
|
1792
|
+
],
|
|
1793
|
+
"functionName": {
|
|
1794
|
+
"name": "add",
|
|
1795
|
+
"nodeType": "YulIdentifier",
|
|
1796
|
+
"src": "1914:3:1"
|
|
1797
|
+
},
|
|
1798
|
+
"nodeType": "YulFunctionCall",
|
|
1799
|
+
"src": "1914:18:1"
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"kind": "number",
|
|
1803
|
+
"nodeType": "YulLiteral",
|
|
1804
|
+
"src": "1934:2:1",
|
|
1805
|
+
"type": "",
|
|
1806
|
+
"value": "96"
|
|
1807
|
+
}
|
|
1808
|
+
],
|
|
1809
|
+
"functionName": {
|
|
1810
|
+
"name": "mstore",
|
|
1811
|
+
"nodeType": "YulIdentifier",
|
|
1812
|
+
"src": "1907:6:1"
|
|
1813
|
+
},
|
|
1814
|
+
"nodeType": "YulFunctionCall",
|
|
1815
|
+
"src": "1907:30:1"
|
|
1816
|
+
},
|
|
1817
|
+
"nodeType": "YulExpressionStatement",
|
|
1818
|
+
"src": "1907:30:1"
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"expression": {
|
|
1822
|
+
"arguments": [
|
|
1823
|
+
{
|
|
1824
|
+
"arguments": [
|
|
1825
|
+
{
|
|
1826
|
+
"name": "headStart",
|
|
1827
|
+
"nodeType": "YulIdentifier",
|
|
1828
|
+
"src": "1957:9:1"
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"kind": "number",
|
|
1832
|
+
"nodeType": "YulLiteral",
|
|
1833
|
+
"src": "1968:2:1",
|
|
1834
|
+
"type": "",
|
|
1835
|
+
"value": "96"
|
|
1836
|
+
}
|
|
1837
|
+
],
|
|
1838
|
+
"functionName": {
|
|
1839
|
+
"name": "add",
|
|
1840
|
+
"nodeType": "YulIdentifier",
|
|
1841
|
+
"src": "1953:3:1"
|
|
1842
|
+
},
|
|
1843
|
+
"nodeType": "YulFunctionCall",
|
|
1844
|
+
"src": "1953:18:1"
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"name": "value3",
|
|
1848
|
+
"nodeType": "YulIdentifier",
|
|
1849
|
+
"src": "1973:6:1"
|
|
1850
|
+
}
|
|
1851
|
+
],
|
|
1852
|
+
"functionName": {
|
|
1853
|
+
"name": "mstore",
|
|
1854
|
+
"nodeType": "YulIdentifier",
|
|
1855
|
+
"src": "1946:6:1"
|
|
1856
|
+
},
|
|
1857
|
+
"nodeType": "YulFunctionCall",
|
|
1858
|
+
"src": "1946:34:1"
|
|
1859
|
+
},
|
|
1860
|
+
"nodeType": "YulExpressionStatement",
|
|
1861
|
+
"src": "1946:34:1"
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
"expression": {
|
|
1865
|
+
"arguments": [
|
|
1866
|
+
{
|
|
1867
|
+
"arguments": [
|
|
1868
|
+
{
|
|
1869
|
+
"name": "headStart",
|
|
1870
|
+
"nodeType": "YulIdentifier",
|
|
1871
|
+
"src": "2006:9:1"
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"kind": "number",
|
|
1875
|
+
"nodeType": "YulLiteral",
|
|
1876
|
+
"src": "2017:3:1",
|
|
1877
|
+
"type": "",
|
|
1878
|
+
"value": "128"
|
|
1879
|
+
}
|
|
1880
|
+
],
|
|
1881
|
+
"functionName": {
|
|
1882
|
+
"name": "add",
|
|
1883
|
+
"nodeType": "YulIdentifier",
|
|
1884
|
+
"src": "2002:3:1"
|
|
1885
|
+
},
|
|
1886
|
+
"nodeType": "YulFunctionCall",
|
|
1887
|
+
"src": "2002:19:1"
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"name": "value2",
|
|
1891
|
+
"nodeType": "YulIdentifier",
|
|
1892
|
+
"src": "2023:6:1"
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "value3",
|
|
1896
|
+
"nodeType": "YulIdentifier",
|
|
1897
|
+
"src": "2031:6:1"
|
|
1898
|
+
}
|
|
1899
|
+
],
|
|
1900
|
+
"functionName": {
|
|
1901
|
+
"name": "calldatacopy",
|
|
1902
|
+
"nodeType": "YulIdentifier",
|
|
1903
|
+
"src": "1989:12:1"
|
|
1904
|
+
},
|
|
1905
|
+
"nodeType": "YulFunctionCall",
|
|
1906
|
+
"src": "1989:49:1"
|
|
1907
|
+
},
|
|
1908
|
+
"nodeType": "YulExpressionStatement",
|
|
1909
|
+
"src": "1989:49:1"
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"expression": {
|
|
1913
|
+
"arguments": [
|
|
1914
|
+
{
|
|
1915
|
+
"arguments": [
|
|
1916
|
+
{
|
|
1917
|
+
"arguments": [
|
|
1918
|
+
{
|
|
1919
|
+
"name": "headStart",
|
|
1920
|
+
"nodeType": "YulIdentifier",
|
|
1921
|
+
"src": "2062:9:1"
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"name": "value3",
|
|
1925
|
+
"nodeType": "YulIdentifier",
|
|
1926
|
+
"src": "2073:6:1"
|
|
1927
|
+
}
|
|
1928
|
+
],
|
|
1929
|
+
"functionName": {
|
|
1930
|
+
"name": "add",
|
|
1931
|
+
"nodeType": "YulIdentifier",
|
|
1932
|
+
"src": "2058:3:1"
|
|
1933
|
+
},
|
|
1934
|
+
"nodeType": "YulFunctionCall",
|
|
1935
|
+
"src": "2058:22:1"
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"kind": "number",
|
|
1939
|
+
"nodeType": "YulLiteral",
|
|
1940
|
+
"src": "2082:3:1",
|
|
1941
|
+
"type": "",
|
|
1942
|
+
"value": "128"
|
|
1943
|
+
}
|
|
1944
|
+
],
|
|
1945
|
+
"functionName": {
|
|
1946
|
+
"name": "add",
|
|
1947
|
+
"nodeType": "YulIdentifier",
|
|
1948
|
+
"src": "2054:3:1"
|
|
1949
|
+
},
|
|
1950
|
+
"nodeType": "YulFunctionCall",
|
|
1951
|
+
"src": "2054:32:1"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"kind": "number",
|
|
1955
|
+
"nodeType": "YulLiteral",
|
|
1956
|
+
"src": "2088:1:1",
|
|
1957
|
+
"type": "",
|
|
1958
|
+
"value": "0"
|
|
1959
|
+
}
|
|
1960
|
+
],
|
|
1961
|
+
"functionName": {
|
|
1962
|
+
"name": "mstore",
|
|
1963
|
+
"nodeType": "YulIdentifier",
|
|
1964
|
+
"src": "2047:6:1"
|
|
1965
|
+
},
|
|
1966
|
+
"nodeType": "YulFunctionCall",
|
|
1967
|
+
"src": "2047:43:1"
|
|
1968
|
+
},
|
|
1969
|
+
"nodeType": "YulExpressionStatement",
|
|
1970
|
+
"src": "2047:43:1"
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
"nodeType": "YulAssignment",
|
|
1974
|
+
"src": "2099:122:1",
|
|
1975
|
+
"value": {
|
|
1976
|
+
"arguments": [
|
|
1977
|
+
{
|
|
1978
|
+
"arguments": [
|
|
1979
|
+
{
|
|
1980
|
+
"name": "headStart",
|
|
1981
|
+
"nodeType": "YulIdentifier",
|
|
1982
|
+
"src": "2115:9:1"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"arguments": [
|
|
1986
|
+
{
|
|
1987
|
+
"arguments": [
|
|
1988
|
+
{
|
|
1989
|
+
"name": "value3",
|
|
1990
|
+
"nodeType": "YulIdentifier",
|
|
1991
|
+
"src": "2134:6:1"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"kind": "number",
|
|
1995
|
+
"nodeType": "YulLiteral",
|
|
1996
|
+
"src": "2142:2:1",
|
|
1997
|
+
"type": "",
|
|
1998
|
+
"value": "31"
|
|
1999
|
+
}
|
|
2000
|
+
],
|
|
2001
|
+
"functionName": {
|
|
2002
|
+
"name": "add",
|
|
2003
|
+
"nodeType": "YulIdentifier",
|
|
2004
|
+
"src": "2130:3:1"
|
|
2005
|
+
},
|
|
2006
|
+
"nodeType": "YulFunctionCall",
|
|
2007
|
+
"src": "2130:15:1"
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
"kind": "number",
|
|
2011
|
+
"nodeType": "YulLiteral",
|
|
2012
|
+
"src": "2147:66:1",
|
|
2013
|
+
"type": "",
|
|
2014
|
+
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"
|
|
2015
|
+
}
|
|
2016
|
+
],
|
|
2017
|
+
"functionName": {
|
|
2018
|
+
"name": "and",
|
|
2019
|
+
"nodeType": "YulIdentifier",
|
|
2020
|
+
"src": "2126:3:1"
|
|
2021
|
+
},
|
|
2022
|
+
"nodeType": "YulFunctionCall",
|
|
2023
|
+
"src": "2126:88:1"
|
|
2024
|
+
}
|
|
2025
|
+
],
|
|
2026
|
+
"functionName": {
|
|
2027
|
+
"name": "add",
|
|
2028
|
+
"nodeType": "YulIdentifier",
|
|
2029
|
+
"src": "2111:3:1"
|
|
2030
|
+
},
|
|
2031
|
+
"nodeType": "YulFunctionCall",
|
|
2032
|
+
"src": "2111:104:1"
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
"kind": "number",
|
|
2036
|
+
"nodeType": "YulLiteral",
|
|
2037
|
+
"src": "2217:3:1",
|
|
2038
|
+
"type": "",
|
|
2039
|
+
"value": "128"
|
|
2040
|
+
}
|
|
2041
|
+
],
|
|
2042
|
+
"functionName": {
|
|
2043
|
+
"name": "add",
|
|
2044
|
+
"nodeType": "YulIdentifier",
|
|
2045
|
+
"src": "2107:3:1"
|
|
2046
|
+
},
|
|
2047
|
+
"nodeType": "YulFunctionCall",
|
|
2048
|
+
"src": "2107:114:1"
|
|
2049
|
+
},
|
|
2050
|
+
"variableNames": [
|
|
2051
|
+
{
|
|
2052
|
+
"name": "tail",
|
|
2053
|
+
"nodeType": "YulIdentifier",
|
|
2054
|
+
"src": "2099:4:1"
|
|
2055
|
+
}
|
|
2056
|
+
]
|
|
2057
|
+
}
|
|
2058
|
+
]
|
|
2059
|
+
},
|
|
2060
|
+
"name": "abi_encode_tuple_t_address_t_address_t_bytes_calldata_ptr__to_t_address_t_address_t_bytes_memory_ptr__fromStack_reversed",
|
|
2061
|
+
"nodeType": "YulFunctionDefinition",
|
|
2062
|
+
"parameters": [
|
|
2063
|
+
{
|
|
2064
|
+
"name": "headStart",
|
|
2065
|
+
"nodeType": "YulTypedName",
|
|
2066
|
+
"src": "1686:9:1",
|
|
2067
|
+
"type": ""
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"name": "value3",
|
|
2071
|
+
"nodeType": "YulTypedName",
|
|
2072
|
+
"src": "1697:6:1",
|
|
2073
|
+
"type": ""
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"name": "value2",
|
|
2077
|
+
"nodeType": "YulTypedName",
|
|
2078
|
+
"src": "1705:6:1",
|
|
2079
|
+
"type": ""
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"name": "value1",
|
|
2083
|
+
"nodeType": "YulTypedName",
|
|
2084
|
+
"src": "1713:6:1",
|
|
2085
|
+
"type": ""
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "value0",
|
|
2089
|
+
"nodeType": "YulTypedName",
|
|
2090
|
+
"src": "1721:6:1",
|
|
2091
|
+
"type": ""
|
|
2092
|
+
}
|
|
2093
|
+
],
|
|
2094
|
+
"returnVariables": [
|
|
2095
|
+
{
|
|
2096
|
+
"name": "tail",
|
|
2097
|
+
"nodeType": "YulTypedName",
|
|
2098
|
+
"src": "1732:4:1",
|
|
2099
|
+
"type": ""
|
|
2100
|
+
}
|
|
2101
|
+
],
|
|
2102
|
+
"src": "1556:671:1"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"body": {
|
|
2106
|
+
"nodeType": "YulBlock",
|
|
2107
|
+
"src": "2379:627:1",
|
|
2108
|
+
"statements": [
|
|
2109
|
+
{
|
|
2110
|
+
"expression": {
|
|
2111
|
+
"arguments": [
|
|
2112
|
+
{
|
|
2113
|
+
"name": "headStart",
|
|
2114
|
+
"nodeType": "YulIdentifier",
|
|
2115
|
+
"src": "2396:9:1"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"arguments": [
|
|
2119
|
+
{
|
|
2120
|
+
"name": "value0",
|
|
2121
|
+
"nodeType": "YulIdentifier",
|
|
2122
|
+
"src": "2411:6:1"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"kind": "number",
|
|
2126
|
+
"nodeType": "YulLiteral",
|
|
2127
|
+
"src": "2419:42:1",
|
|
2128
|
+
"type": "",
|
|
2129
|
+
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
2130
|
+
}
|
|
2131
|
+
],
|
|
2132
|
+
"functionName": {
|
|
2133
|
+
"name": "and",
|
|
2134
|
+
"nodeType": "YulIdentifier",
|
|
2135
|
+
"src": "2407:3:1"
|
|
2136
|
+
},
|
|
2137
|
+
"nodeType": "YulFunctionCall",
|
|
2138
|
+
"src": "2407:55:1"
|
|
2139
|
+
}
|
|
2140
|
+
],
|
|
2141
|
+
"functionName": {
|
|
2142
|
+
"name": "mstore",
|
|
2143
|
+
"nodeType": "YulIdentifier",
|
|
2144
|
+
"src": "2389:6:1"
|
|
2145
|
+
},
|
|
2146
|
+
"nodeType": "YulFunctionCall",
|
|
2147
|
+
"src": "2389:74:1"
|
|
2148
|
+
},
|
|
2149
|
+
"nodeType": "YulExpressionStatement",
|
|
2150
|
+
"src": "2389:74:1"
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"nodeType": "YulVariableDeclaration",
|
|
2154
|
+
"src": "2472:12:1",
|
|
2155
|
+
"value": {
|
|
2156
|
+
"kind": "number",
|
|
2157
|
+
"nodeType": "YulLiteral",
|
|
2158
|
+
"src": "2482:2:1",
|
|
2159
|
+
"type": "",
|
|
2160
|
+
"value": "32"
|
|
2161
|
+
},
|
|
2162
|
+
"variables": [
|
|
2163
|
+
{
|
|
2164
|
+
"name": "_1",
|
|
2165
|
+
"nodeType": "YulTypedName",
|
|
2166
|
+
"src": "2476:2:1",
|
|
2167
|
+
"type": ""
|
|
2168
|
+
}
|
|
2169
|
+
]
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
"expression": {
|
|
2173
|
+
"arguments": [
|
|
2174
|
+
{
|
|
2175
|
+
"arguments": [
|
|
2176
|
+
{
|
|
2177
|
+
"name": "headStart",
|
|
2178
|
+
"nodeType": "YulIdentifier",
|
|
2179
|
+
"src": "2504:9:1"
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"name": "_1",
|
|
2183
|
+
"nodeType": "YulIdentifier",
|
|
2184
|
+
"src": "2515:2:1"
|
|
2185
|
+
}
|
|
2186
|
+
],
|
|
2187
|
+
"functionName": {
|
|
2188
|
+
"name": "add",
|
|
2189
|
+
"nodeType": "YulIdentifier",
|
|
2190
|
+
"src": "2500:3:1"
|
|
2191
|
+
},
|
|
2192
|
+
"nodeType": "YulFunctionCall",
|
|
2193
|
+
"src": "2500:18:1"
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"kind": "number",
|
|
2197
|
+
"nodeType": "YulLiteral",
|
|
2198
|
+
"src": "2520:2:1",
|
|
2199
|
+
"type": "",
|
|
2200
|
+
"value": "64"
|
|
2201
|
+
}
|
|
2202
|
+
],
|
|
2203
|
+
"functionName": {
|
|
2204
|
+
"name": "mstore",
|
|
2205
|
+
"nodeType": "YulIdentifier",
|
|
2206
|
+
"src": "2493:6:1"
|
|
2207
|
+
},
|
|
2208
|
+
"nodeType": "YulFunctionCall",
|
|
2209
|
+
"src": "2493:30:1"
|
|
2210
|
+
},
|
|
2211
|
+
"nodeType": "YulExpressionStatement",
|
|
2212
|
+
"src": "2493:30:1"
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"nodeType": "YulVariableDeclaration",
|
|
2216
|
+
"src": "2532:27:1",
|
|
2217
|
+
"value": {
|
|
2218
|
+
"arguments": [
|
|
2219
|
+
{
|
|
2220
|
+
"name": "value1",
|
|
2221
|
+
"nodeType": "YulIdentifier",
|
|
2222
|
+
"src": "2552:6:1"
|
|
2223
|
+
}
|
|
2224
|
+
],
|
|
2225
|
+
"functionName": {
|
|
2226
|
+
"name": "mload",
|
|
2227
|
+
"nodeType": "YulIdentifier",
|
|
2228
|
+
"src": "2546:5:1"
|
|
2229
|
+
},
|
|
2230
|
+
"nodeType": "YulFunctionCall",
|
|
2231
|
+
"src": "2546:13:1"
|
|
2232
|
+
},
|
|
2233
|
+
"variables": [
|
|
2234
|
+
{
|
|
2235
|
+
"name": "length",
|
|
2236
|
+
"nodeType": "YulTypedName",
|
|
2237
|
+
"src": "2536:6:1",
|
|
2238
|
+
"type": ""
|
|
2239
|
+
}
|
|
2240
|
+
]
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"expression": {
|
|
2244
|
+
"arguments": [
|
|
2245
|
+
{
|
|
2246
|
+
"arguments": [
|
|
2247
|
+
{
|
|
2248
|
+
"name": "headStart",
|
|
2249
|
+
"nodeType": "YulIdentifier",
|
|
2250
|
+
"src": "2579:9:1"
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"kind": "number",
|
|
2254
|
+
"nodeType": "YulLiteral",
|
|
2255
|
+
"src": "2590:2:1",
|
|
2256
|
+
"type": "",
|
|
2257
|
+
"value": "64"
|
|
2258
|
+
}
|
|
2259
|
+
],
|
|
2260
|
+
"functionName": {
|
|
2261
|
+
"name": "add",
|
|
2262
|
+
"nodeType": "YulIdentifier",
|
|
2263
|
+
"src": "2575:3:1"
|
|
2264
|
+
},
|
|
2265
|
+
"nodeType": "YulFunctionCall",
|
|
2266
|
+
"src": "2575:18:1"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"name": "length",
|
|
2270
|
+
"nodeType": "YulIdentifier",
|
|
2271
|
+
"src": "2595:6:1"
|
|
2272
|
+
}
|
|
2273
|
+
],
|
|
2274
|
+
"functionName": {
|
|
2275
|
+
"name": "mstore",
|
|
2276
|
+
"nodeType": "YulIdentifier",
|
|
2277
|
+
"src": "2568:6:1"
|
|
2278
|
+
},
|
|
2279
|
+
"nodeType": "YulFunctionCall",
|
|
2280
|
+
"src": "2568:34:1"
|
|
2281
|
+
},
|
|
2282
|
+
"nodeType": "YulExpressionStatement",
|
|
2283
|
+
"src": "2568:34:1"
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"nodeType": "YulVariableDeclaration",
|
|
2287
|
+
"src": "2611:10:1",
|
|
2288
|
+
"value": {
|
|
2289
|
+
"kind": "number",
|
|
2290
|
+
"nodeType": "YulLiteral",
|
|
2291
|
+
"src": "2620:1:1",
|
|
2292
|
+
"type": "",
|
|
2293
|
+
"value": "0"
|
|
2294
|
+
},
|
|
2295
|
+
"variables": [
|
|
2296
|
+
{
|
|
2297
|
+
"name": "i",
|
|
2298
|
+
"nodeType": "YulTypedName",
|
|
2299
|
+
"src": "2615:1:1",
|
|
2300
|
+
"type": ""
|
|
2301
|
+
}
|
|
2302
|
+
]
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"body": {
|
|
2306
|
+
"nodeType": "YulBlock",
|
|
2307
|
+
"src": "2680:90:1",
|
|
2308
|
+
"statements": [
|
|
2309
|
+
{
|
|
2310
|
+
"expression": {
|
|
2311
|
+
"arguments": [
|
|
2312
|
+
{
|
|
2313
|
+
"arguments": [
|
|
2314
|
+
{
|
|
2315
|
+
"arguments": [
|
|
2316
|
+
{
|
|
2317
|
+
"name": "headStart",
|
|
2318
|
+
"nodeType": "YulIdentifier",
|
|
2319
|
+
"src": "2709:9:1"
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"name": "i",
|
|
2323
|
+
"nodeType": "YulIdentifier",
|
|
2324
|
+
"src": "2720:1:1"
|
|
2325
|
+
}
|
|
2326
|
+
],
|
|
2327
|
+
"functionName": {
|
|
2328
|
+
"name": "add",
|
|
2329
|
+
"nodeType": "YulIdentifier",
|
|
2330
|
+
"src": "2705:3:1"
|
|
2331
|
+
},
|
|
2332
|
+
"nodeType": "YulFunctionCall",
|
|
2333
|
+
"src": "2705:17:1"
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
"kind": "number",
|
|
2337
|
+
"nodeType": "YulLiteral",
|
|
2338
|
+
"src": "2724:2:1",
|
|
2339
|
+
"type": "",
|
|
2340
|
+
"value": "96"
|
|
2341
|
+
}
|
|
2342
|
+
],
|
|
2343
|
+
"functionName": {
|
|
2344
|
+
"name": "add",
|
|
2345
|
+
"nodeType": "YulIdentifier",
|
|
2346
|
+
"src": "2701:3:1"
|
|
2347
|
+
},
|
|
2348
|
+
"nodeType": "YulFunctionCall",
|
|
2349
|
+
"src": "2701:26:1"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"arguments": [
|
|
2353
|
+
{
|
|
2354
|
+
"arguments": [
|
|
2355
|
+
{
|
|
2356
|
+
"arguments": [
|
|
2357
|
+
{
|
|
2358
|
+
"name": "value1",
|
|
2359
|
+
"nodeType": "YulIdentifier",
|
|
2360
|
+
"src": "2743:6:1"
|
|
2361
|
+
},
|
|
2362
|
+
{
|
|
2363
|
+
"name": "i",
|
|
2364
|
+
"nodeType": "YulIdentifier",
|
|
2365
|
+
"src": "2751:1:1"
|
|
2366
|
+
}
|
|
2367
|
+
],
|
|
2368
|
+
"functionName": {
|
|
2369
|
+
"name": "add",
|
|
2370
|
+
"nodeType": "YulIdentifier",
|
|
2371
|
+
"src": "2739:3:1"
|
|
2372
|
+
},
|
|
2373
|
+
"nodeType": "YulFunctionCall",
|
|
2374
|
+
"src": "2739:14:1"
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"name": "_1",
|
|
2378
|
+
"nodeType": "YulIdentifier",
|
|
2379
|
+
"src": "2755:2:1"
|
|
2380
|
+
}
|
|
2381
|
+
],
|
|
2382
|
+
"functionName": {
|
|
2383
|
+
"name": "add",
|
|
2384
|
+
"nodeType": "YulIdentifier",
|
|
2385
|
+
"src": "2735:3:1"
|
|
2386
|
+
},
|
|
2387
|
+
"nodeType": "YulFunctionCall",
|
|
2388
|
+
"src": "2735:23:1"
|
|
2389
|
+
}
|
|
2390
|
+
],
|
|
2391
|
+
"functionName": {
|
|
2392
|
+
"name": "mload",
|
|
2393
|
+
"nodeType": "YulIdentifier",
|
|
2394
|
+
"src": "2729:5:1"
|
|
2395
|
+
},
|
|
2396
|
+
"nodeType": "YulFunctionCall",
|
|
2397
|
+
"src": "2729:30:1"
|
|
2398
|
+
}
|
|
2399
|
+
],
|
|
2400
|
+
"functionName": {
|
|
2401
|
+
"name": "mstore",
|
|
2402
|
+
"nodeType": "YulIdentifier",
|
|
2403
|
+
"src": "2694:6:1"
|
|
2404
|
+
},
|
|
2405
|
+
"nodeType": "YulFunctionCall",
|
|
2406
|
+
"src": "2694:66:1"
|
|
2407
|
+
},
|
|
2408
|
+
"nodeType": "YulExpressionStatement",
|
|
2409
|
+
"src": "2694:66:1"
|
|
2410
|
+
}
|
|
2411
|
+
]
|
|
2412
|
+
},
|
|
2413
|
+
"condition": {
|
|
2414
|
+
"arguments": [
|
|
2415
|
+
{
|
|
2416
|
+
"name": "i",
|
|
2417
|
+
"nodeType": "YulIdentifier",
|
|
2418
|
+
"src": "2641:1:1"
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"name": "length",
|
|
2422
|
+
"nodeType": "YulIdentifier",
|
|
2423
|
+
"src": "2644:6:1"
|
|
2424
|
+
}
|
|
2425
|
+
],
|
|
2426
|
+
"functionName": {
|
|
2427
|
+
"name": "lt",
|
|
2428
|
+
"nodeType": "YulIdentifier",
|
|
2429
|
+
"src": "2638:2:1"
|
|
2430
|
+
},
|
|
2431
|
+
"nodeType": "YulFunctionCall",
|
|
2432
|
+
"src": "2638:13:1"
|
|
2433
|
+
},
|
|
2434
|
+
"nodeType": "YulForLoop",
|
|
2435
|
+
"post": {
|
|
2436
|
+
"nodeType": "YulBlock",
|
|
2437
|
+
"src": "2652:19:1",
|
|
2438
|
+
"statements": [
|
|
2439
|
+
{
|
|
2440
|
+
"nodeType": "YulAssignment",
|
|
2441
|
+
"src": "2654:15:1",
|
|
2442
|
+
"value": {
|
|
2443
|
+
"arguments": [
|
|
2444
|
+
{
|
|
2445
|
+
"name": "i",
|
|
2446
|
+
"nodeType": "YulIdentifier",
|
|
2447
|
+
"src": "2663:1:1"
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"name": "_1",
|
|
2451
|
+
"nodeType": "YulIdentifier",
|
|
2452
|
+
"src": "2666:2:1"
|
|
2453
|
+
}
|
|
2454
|
+
],
|
|
2455
|
+
"functionName": {
|
|
2456
|
+
"name": "add",
|
|
2457
|
+
"nodeType": "YulIdentifier",
|
|
2458
|
+
"src": "2659:3:1"
|
|
2459
|
+
},
|
|
2460
|
+
"nodeType": "YulFunctionCall",
|
|
2461
|
+
"src": "2659:10:1"
|
|
2462
|
+
},
|
|
2463
|
+
"variableNames": [
|
|
2464
|
+
{
|
|
2465
|
+
"name": "i",
|
|
2466
|
+
"nodeType": "YulIdentifier",
|
|
2467
|
+
"src": "2654:1:1"
|
|
2468
|
+
}
|
|
2469
|
+
]
|
|
2470
|
+
}
|
|
2471
|
+
]
|
|
2472
|
+
},
|
|
2473
|
+
"pre": {
|
|
2474
|
+
"nodeType": "YulBlock",
|
|
2475
|
+
"src": "2634:3:1",
|
|
2476
|
+
"statements": []
|
|
2477
|
+
},
|
|
2478
|
+
"src": "2630:140:1"
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"body": {
|
|
2482
|
+
"nodeType": "YulBlock",
|
|
2483
|
+
"src": "2804:66:1",
|
|
2484
|
+
"statements": [
|
|
2485
|
+
{
|
|
2486
|
+
"expression": {
|
|
2487
|
+
"arguments": [
|
|
2488
|
+
{
|
|
2489
|
+
"arguments": [
|
|
2490
|
+
{
|
|
2491
|
+
"arguments": [
|
|
2492
|
+
{
|
|
2493
|
+
"name": "headStart",
|
|
2494
|
+
"nodeType": "YulIdentifier",
|
|
2495
|
+
"src": "2833:9:1"
|
|
2496
|
+
},
|
|
2497
|
+
{
|
|
2498
|
+
"name": "length",
|
|
2499
|
+
"nodeType": "YulIdentifier",
|
|
2500
|
+
"src": "2844:6:1"
|
|
2501
|
+
}
|
|
2502
|
+
],
|
|
2503
|
+
"functionName": {
|
|
2504
|
+
"name": "add",
|
|
2505
|
+
"nodeType": "YulIdentifier",
|
|
2506
|
+
"src": "2829:3:1"
|
|
2507
|
+
},
|
|
2508
|
+
"nodeType": "YulFunctionCall",
|
|
2509
|
+
"src": "2829:22:1"
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"kind": "number",
|
|
2513
|
+
"nodeType": "YulLiteral",
|
|
2514
|
+
"src": "2853:2:1",
|
|
2515
|
+
"type": "",
|
|
2516
|
+
"value": "96"
|
|
2517
|
+
}
|
|
2518
|
+
],
|
|
2519
|
+
"functionName": {
|
|
2520
|
+
"name": "add",
|
|
2521
|
+
"nodeType": "YulIdentifier",
|
|
2522
|
+
"src": "2825:3:1"
|
|
2523
|
+
},
|
|
2524
|
+
"nodeType": "YulFunctionCall",
|
|
2525
|
+
"src": "2825:31:1"
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
"kind": "number",
|
|
2529
|
+
"nodeType": "YulLiteral",
|
|
2530
|
+
"src": "2858:1:1",
|
|
2531
|
+
"type": "",
|
|
2532
|
+
"value": "0"
|
|
2533
|
+
}
|
|
2534
|
+
],
|
|
2535
|
+
"functionName": {
|
|
2536
|
+
"name": "mstore",
|
|
2537
|
+
"nodeType": "YulIdentifier",
|
|
2538
|
+
"src": "2818:6:1"
|
|
2539
|
+
},
|
|
2540
|
+
"nodeType": "YulFunctionCall",
|
|
2541
|
+
"src": "2818:42:1"
|
|
2542
|
+
},
|
|
2543
|
+
"nodeType": "YulExpressionStatement",
|
|
2544
|
+
"src": "2818:42:1"
|
|
2545
|
+
}
|
|
2546
|
+
]
|
|
2547
|
+
},
|
|
2548
|
+
"condition": {
|
|
2549
|
+
"arguments": [
|
|
2550
|
+
{
|
|
2551
|
+
"name": "i",
|
|
2552
|
+
"nodeType": "YulIdentifier",
|
|
2553
|
+
"src": "2785:1:1"
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"name": "length",
|
|
2557
|
+
"nodeType": "YulIdentifier",
|
|
2558
|
+
"src": "2788:6:1"
|
|
2559
|
+
}
|
|
2560
|
+
],
|
|
2561
|
+
"functionName": {
|
|
2562
|
+
"name": "gt",
|
|
2563
|
+
"nodeType": "YulIdentifier",
|
|
2564
|
+
"src": "2782:2:1"
|
|
2565
|
+
},
|
|
2566
|
+
"nodeType": "YulFunctionCall",
|
|
2567
|
+
"src": "2782:13:1"
|
|
2568
|
+
},
|
|
2569
|
+
"nodeType": "YulIf",
|
|
2570
|
+
"src": "2779:91:1"
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
"nodeType": "YulAssignment",
|
|
2574
|
+
"src": "2879:121:1",
|
|
2575
|
+
"value": {
|
|
2576
|
+
"arguments": [
|
|
2577
|
+
{
|
|
2578
|
+
"arguments": [
|
|
2579
|
+
{
|
|
2580
|
+
"name": "headStart",
|
|
2581
|
+
"nodeType": "YulIdentifier",
|
|
2582
|
+
"src": "2895:9:1"
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"arguments": [
|
|
2586
|
+
{
|
|
2587
|
+
"arguments": [
|
|
2588
|
+
{
|
|
2589
|
+
"name": "length",
|
|
2590
|
+
"nodeType": "YulIdentifier",
|
|
2591
|
+
"src": "2914:6:1"
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"kind": "number",
|
|
2595
|
+
"nodeType": "YulLiteral",
|
|
2596
|
+
"src": "2922:2:1",
|
|
2597
|
+
"type": "",
|
|
2598
|
+
"value": "31"
|
|
2599
|
+
}
|
|
2600
|
+
],
|
|
2601
|
+
"functionName": {
|
|
2602
|
+
"name": "add",
|
|
2603
|
+
"nodeType": "YulIdentifier",
|
|
2604
|
+
"src": "2910:3:1"
|
|
2605
|
+
},
|
|
2606
|
+
"nodeType": "YulFunctionCall",
|
|
2607
|
+
"src": "2910:15:1"
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
"kind": "number",
|
|
2611
|
+
"nodeType": "YulLiteral",
|
|
2612
|
+
"src": "2927:66:1",
|
|
2613
|
+
"type": "",
|
|
2614
|
+
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"
|
|
2615
|
+
}
|
|
2616
|
+
],
|
|
2617
|
+
"functionName": {
|
|
2618
|
+
"name": "and",
|
|
2619
|
+
"nodeType": "YulIdentifier",
|
|
2620
|
+
"src": "2906:3:1"
|
|
2621
|
+
},
|
|
2622
|
+
"nodeType": "YulFunctionCall",
|
|
2623
|
+
"src": "2906:88:1"
|
|
2624
|
+
}
|
|
2625
|
+
],
|
|
2626
|
+
"functionName": {
|
|
2627
|
+
"name": "add",
|
|
2628
|
+
"nodeType": "YulIdentifier",
|
|
2629
|
+
"src": "2891:3:1"
|
|
2630
|
+
},
|
|
2631
|
+
"nodeType": "YulFunctionCall",
|
|
2632
|
+
"src": "2891:104:1"
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"kind": "number",
|
|
2636
|
+
"nodeType": "YulLiteral",
|
|
2637
|
+
"src": "2997:2:1",
|
|
2638
|
+
"type": "",
|
|
2639
|
+
"value": "96"
|
|
2640
|
+
}
|
|
2641
|
+
],
|
|
2642
|
+
"functionName": {
|
|
2643
|
+
"name": "add",
|
|
2644
|
+
"nodeType": "YulIdentifier",
|
|
2645
|
+
"src": "2887:3:1"
|
|
2646
|
+
},
|
|
2647
|
+
"nodeType": "YulFunctionCall",
|
|
2648
|
+
"src": "2887:113:1"
|
|
2649
|
+
},
|
|
2650
|
+
"variableNames": [
|
|
2651
|
+
{
|
|
2652
|
+
"name": "tail",
|
|
2653
|
+
"nodeType": "YulIdentifier",
|
|
2654
|
+
"src": "2879:4:1"
|
|
2655
|
+
}
|
|
2656
|
+
]
|
|
2657
|
+
}
|
|
2658
|
+
]
|
|
2659
|
+
},
|
|
2660
|
+
"name": "abi_encode_tuple_t_address_t_bytes_memory_ptr__to_t_address_t_bytes_memory_ptr__fromStack_reversed",
|
|
2661
|
+
"nodeType": "YulFunctionDefinition",
|
|
2662
|
+
"parameters": [
|
|
2663
|
+
{
|
|
2664
|
+
"name": "headStart",
|
|
2665
|
+
"nodeType": "YulTypedName",
|
|
2666
|
+
"src": "2340:9:1",
|
|
2667
|
+
"type": ""
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
"name": "value1",
|
|
2671
|
+
"nodeType": "YulTypedName",
|
|
2672
|
+
"src": "2351:6:1",
|
|
2673
|
+
"type": ""
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"name": "value0",
|
|
2677
|
+
"nodeType": "YulTypedName",
|
|
2678
|
+
"src": "2359:6:1",
|
|
2679
|
+
"type": ""
|
|
2680
|
+
}
|
|
2681
|
+
],
|
|
2682
|
+
"returnVariables": [
|
|
2683
|
+
{
|
|
2684
|
+
"name": "tail",
|
|
2685
|
+
"nodeType": "YulTypedName",
|
|
2686
|
+
"src": "2370:4:1",
|
|
2687
|
+
"type": ""
|
|
2688
|
+
}
|
|
2689
|
+
],
|
|
2690
|
+
"src": "2232:774:1"
|
|
2691
|
+
}
|
|
2692
|
+
]
|
|
2693
|
+
},
|
|
2694
|
+
"contents": "{\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_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n let offset := calldataload(add(headStart, 32))\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 value1 := add(_2, 32)\n value2 := length\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_encode_tuple_t_contract$_IStateSender_$9__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_encode_tuple_t_address_t_address_t_bytes_calldata_ptr__to_t_address_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, 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), 96)\n mstore(add(headStart, 96), value3)\n calldatacopy(add(headStart, 128), value2, value3)\n mstore(add(add(headStart, value3), 128), 0)\n tail := add(add(headStart, and(add(value3, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 128)\n }\n function abi_encode_tuple_t_address_t_bytes_memory_ptr__to_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value1, value0) -> tail\n {\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n let _1 := 32\n mstore(add(headStart, _1), 64)\n let length := mload(value1)\n mstore(add(headStart, 64), length)\n let i := 0\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 96), mload(add(add(value1, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 96), 0)\n }\n tail := add(add(headStart, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 96)\n }\n}",
|
|
2695
|
+
"id": 1,
|
|
2696
|
+
"language": "Yul",
|
|
2697
|
+
"name": "#utility.yul"
|
|
2698
|
+
}
|
|
2699
|
+
],
|
|
2700
|
+
"immutableReferences": {},
|
|
2701
|
+
"linkReferences": {},
|
|
2702
|
+
"object": "608060405234801561001057600080fd5b506004361061004c5760003560e01c8063450d11f014610051578063b47204771461009a578063b86cfdcf146100af578063cb10f94c146100c2575b600080fd5b6001546100719073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100ad6100a8366004610250565b6100e2565b005b6100ad6100bd3660046102d3565b6101bd565b6000546100719073ffffffffffffffffffffffffffffffffffffffff1681565b6000338484846040516020016100fb94939291906102f5565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526000546001547f16f1983100000000000000000000000000000000000000000000000000000000845291935073ffffffffffffffffffffffffffffffffffffffff908116926316f1983192610185921690859060040161036d565b600060405180830381600087803b15801561019f57600080fd5b505af11580156101b3573d6000803e3d6000fd5b5050505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16156101e057600080fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461024b57600080fd5b919050565b60008060006040848603121561026557600080fd5b61026e84610227565b9250602084013567ffffffffffffffff8082111561028b57600080fd5b818601915086601f83011261029f57600080fd5b8135818111156102ae57600080fd5b8760208285010111156102c057600080fd5b6020830194508093505050509250925092565b6000602082840312156102e557600080fd5b6102ee82610227565b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250606060408301528260608301528284608084013760006080848401015260807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f850116830101905095945050505050565b73ffffffffffffffffffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156103b75785810183015185820160600152820161039b565b818111156103c9576000606083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160600194935050505056fea26469706673582212200128c3ff87ef6a8f94dcd177cd46b9215560febe5894475fb5db2da106b4fa3964736f6c63430008090033",
|
|
2703
|
+
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x450D11F0 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0xB4720477 EQ PUSH2 0x9A JUMPI DUP1 PUSH4 0xB86CFDCF EQ PUSH2 0xAF JUMPI DUP1 PUSH4 0xCB10F94C EQ PUSH2 0xC2 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH2 0x71 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAD PUSH2 0xA8 CALLDATASIZE PUSH1 0x4 PUSH2 0x250 JUMP JUMPDEST PUSH2 0xE2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xAD PUSH2 0xBD CALLDATASIZE PUSH1 0x4 PUSH2 0x2D3 JUMP JUMPDEST PUSH2 0x1BD JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x71 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 CALLER DUP5 DUP5 DUP5 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xFB SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2F5 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH1 0x0 SLOAD PUSH1 0x1 SLOAD PUSH32 0x16F1983100000000000000000000000000000000000000000000000000000000 DUP5 MSTORE SWAP2 SWAP4 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP3 PUSH4 0x16F19831 SWAP3 PUSH2 0x185 SWAP3 AND SWAP1 DUP6 SWAP1 PUSH1 0x4 ADD PUSH2 0x36D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x19F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1B3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND ISZERO PUSH2 0x1E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x24B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x40 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x265 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x26E DUP5 PUSH2 0x227 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x28B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP7 ADD SWAP2 POP DUP7 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x29F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x2AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x2C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP5 POP DUP1 SWAP4 POP POP POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2E5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2EE DUP3 PUSH2 0x227 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP8 AND DUP4 MSTORE DUP1 DUP7 AND PUSH1 0x20 DUP5 ADD MSTORE POP PUSH1 0x60 PUSH1 0x40 DUP4 ADD MSTORE DUP3 PUSH1 0x60 DUP4 ADD MSTORE DUP3 DUP5 PUSH1 0x80 DUP5 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x80 DUP5 DUP5 ADD ADD MSTORE PUSH1 0x80 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP6 ADD AND DUP4 ADD ADD SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND DUP2 MSTORE PUSH1 0x0 PUSH1 0x20 PUSH1 0x40 DUP2 DUP5 ADD MSTORE DUP4 MLOAD DUP1 PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x3B7 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x60 ADD MSTORE DUP3 ADD PUSH2 0x39B JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x3C9 JUMPI PUSH1 0x0 PUSH1 0x60 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x60 ADD SWAP5 SWAP4 POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 ADD 0x28 0xC3 SELFDESTRUCT DUP8 0xEF PUSH11 0x8F94DCD177CD46B9215560 INVALID 0xBE PC SWAP5 SELFBALANCE 0x5F 0xB5 0xDB 0x2D LOG1 MOD 0xB4 STATICCALL CODECOPY PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ",
|
|
2704
|
+
"sourceMap": "323:545:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;404:22;;;;;;;;;;;;190:42:1;178:55;;;160:74;;148:2;133:18;404:22:0;;;;;;;658:208;;;;;;:::i;:::-;;:::i;:::-;;530:122;;;;;;:::i;:::-;;:::i;367:31::-;;;;;;;;;658:208;753:17;784:10;796:9;807:5;;773:40;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;823:11;;;845:7;823:36;;;773:40;;-1:-1:-1;823:11:0;;;;;:21;;:36;;845:7;;773:40;;823:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;743:123;658:208;;;:::o;530:122::-;593:7;;:23;:7;:23;585:32;;;;;;627:7;:18;;;;;;;;;;;;;;;530:122::o;245:196:1:-;313:20;;373:42;362:54;;352:65;;342:93;;431:1;428;421:12;342:93;245:196;;;:::o;446:665::-;525:6;533;541;594:2;582:9;573:7;569:23;565:32;562:52;;;610:1;607;600:12;562:52;633:29;652:9;633:29;:::i;:::-;623:39;;713:2;702:9;698:18;685:32;736:18;777:2;769:6;766:14;763:34;;;793:1;790;783:12;763:34;831:6;820:9;816:22;806:32;;876:7;869:4;865:2;861:13;857:27;847:55;;898:1;895;888:12;847:55;938:2;925:16;964:2;956:6;953:14;950:34;;;980:1;977;970:12;950:34;1025:7;1020:2;1011:6;1007:2;1003:15;999:24;996:37;993:57;;;1046:1;1043;1036:12;993:57;1077:2;1073;1069:11;1059:21;;1099:6;1089:16;;;;;446:665;;;;;:::o;1116:186::-;1175:6;1228:2;1216:9;1207:7;1203:23;1199:32;1196:52;;;1244:1;1241;1234:12;1196:52;1267:29;1286:9;1267:29;:::i;:::-;1257:39;1116:186;-1:-1:-1;;;1116:186:1:o;1556:671::-;1732:4;1761:42;1842:2;1834:6;1830:15;1819:9;1812:34;1894:2;1886:6;1882:15;1877:2;1866:9;1862:18;1855:43;;1934:2;1929;1918:9;1914:18;1907:30;1973:6;1968:2;1957:9;1953:18;1946:34;2031:6;2023;2017:3;2006:9;2002:19;1989:49;2088:1;2082:3;2073:6;2062:9;2058:22;2054:32;2047:43;2217:3;2147:66;2142:2;2134:6;2130:15;2126:88;2115:9;2111:104;2107:114;2099:122;;1556:671;;;;;;;:::o;2232:774::-;2419:42;2411:6;2407:55;2396:9;2389:74;2370:4;2482:2;2520;2515;2504:9;2500:18;2493:30;2552:6;2546:13;2595:6;2590:2;2579:9;2575:18;2568:34;2620:1;2630:140;2644:6;2641:1;2638:13;2630:140;;;2739:14;;;2735:23;;2729:30;2705:17;;;2724:2;2701:26;2694:66;2659:10;;2630:140;;;2788:6;2785:1;2782:13;2779:91;;;2858:1;2853:2;2844:6;2833:9;2829:22;2825:31;2818:42;2779:91;-1:-1:-1;2922:2:1;2910:15;2927:66;2906:88;2891:104;;;;2997:2;2887:113;;2232:774;-1:-1:-1;;;;2232:774:1:o"
|
|
2705
|
+
},
|
|
2706
|
+
"gasEstimates": {
|
|
2707
|
+
"creation": {
|
|
2708
|
+
"codeDepositCost": "215200",
|
|
2709
|
+
"executionCost": "infinite",
|
|
2710
|
+
"totalCost": "infinite"
|
|
2711
|
+
},
|
|
2712
|
+
"external": {
|
|
2713
|
+
"fxChild()": "2279",
|
|
2714
|
+
"sendMessageToChild(address,bytes)": "infinite",
|
|
2715
|
+
"setFxChild(address)": "26680",
|
|
2716
|
+
"stateSender()": "2345"
|
|
2717
|
+
}
|
|
2718
|
+
},
|
|
2719
|
+
"methodIdentifiers": {
|
|
2720
|
+
"fxChild()": "450d11f0",
|
|
2721
|
+
"sendMessageToChild(address,bytes)": "b4720477",
|
|
2722
|
+
"setFxChild(address)": "b86cfdcf",
|
|
2723
|
+
"stateSender()": "cb10f94c"
|
|
2724
|
+
}
|
|
2725
|
+
},
|
|
2726
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stateSender\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"fxChild\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"sendMessageToChild\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_fxChild\",\"type\":\"address\"}],\"name\":\"setFxChild\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stateSender\",\"outputs\":[{\"internalType\":\"contract IStateSender\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"FxRoot root contract for fx-portal\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/external/polygon/test/FxRootMock.sol\":\"FxRootMock\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/external/polygon/test/FxRootMock.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IStateSender {\\n function syncState(address receiver, bytes calldata data) external;\\n}\\n\\ninterface IFxStateSender {\\n function sendMessageToChild(address _receiver, bytes calldata _data) external;\\n}\\n\\n/**\\n * @title FxRoot root contract for fx-portal\\n */\\ncontract FxRootMock is IFxStateSender {\\n IStateSender public stateSender;\\n address public fxChild;\\n\\n constructor(address _stateSender) {\\n stateSender = IStateSender(_stateSender);\\n }\\n\\n function setFxChild(address _fxChild) public {\\n require(fxChild == address(0x0));\\n fxChild = _fxChild;\\n }\\n\\n function sendMessageToChild(address _receiver, bytes calldata _data) public override {\\n bytes memory data = abi.encode(msg.sender, _receiver, _data);\\n stateSender.syncState(fxChild, data);\\n }\\n}\\n\",\"keccak256\":\"0x7a7e8ac6a31c445383d7e75d68d27ae3337f273ee1b7f9fd677d5c1e7aa2af91\",\"license\":\"MIT\"}},\"version\":1}",
|
|
2727
|
+
"storageLayout": {
|
|
2728
|
+
"storage": [
|
|
2729
|
+
{
|
|
2730
|
+
"astId": 23,
|
|
2731
|
+
"contract": "contracts/external/polygon/test/FxRootMock.sol:FxRootMock",
|
|
2732
|
+
"label": "stateSender",
|
|
2733
|
+
"offset": 0,
|
|
2734
|
+
"slot": "0",
|
|
2735
|
+
"type": "t_contract(IStateSender)9"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"astId": 25,
|
|
2739
|
+
"contract": "contracts/external/polygon/test/FxRootMock.sol:FxRootMock",
|
|
2740
|
+
"label": "fxChild",
|
|
2741
|
+
"offset": 0,
|
|
2742
|
+
"slot": "1",
|
|
2743
|
+
"type": "t_address"
|
|
2744
|
+
}
|
|
2745
|
+
],
|
|
2746
|
+
"types": {
|
|
2747
|
+
"t_address": {
|
|
2748
|
+
"encoding": "inplace",
|
|
2749
|
+
"label": "address",
|
|
2750
|
+
"numberOfBytes": "20"
|
|
2751
|
+
},
|
|
2752
|
+
"t_contract(IStateSender)9": {
|
|
2753
|
+
"encoding": "inplace",
|
|
2754
|
+
"label": "contract IStateSender",
|
|
2755
|
+
"numberOfBytes": "20"
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
},
|
|
2759
|
+
"userdoc": {
|
|
2760
|
+
"kind": "user",
|
|
2761
|
+
"methods": {},
|
|
2762
|
+
"version": 1
|
|
2763
|
+
}
|
|
2764
|
+
},
|
|
2765
|
+
"IFxStateSender": {
|
|
2766
|
+
"abi": [
|
|
2767
|
+
{
|
|
2768
|
+
"inputs": [
|
|
2769
|
+
{
|
|
2770
|
+
"internalType": "address",
|
|
2771
|
+
"name": "_receiver",
|
|
2772
|
+
"type": "address"
|
|
2773
|
+
},
|
|
2774
|
+
{
|
|
2775
|
+
"internalType": "bytes",
|
|
2776
|
+
"name": "_data",
|
|
2777
|
+
"type": "bytes"
|
|
2778
|
+
}
|
|
2779
|
+
],
|
|
2780
|
+
"name": "sendMessageToChild",
|
|
2781
|
+
"outputs": [],
|
|
2782
|
+
"stateMutability": "nonpayable",
|
|
2783
|
+
"type": "function"
|
|
2784
|
+
}
|
|
2785
|
+
],
|
|
2786
|
+
"devdoc": {
|
|
2787
|
+
"kind": "dev",
|
|
2788
|
+
"methods": {},
|
|
2789
|
+
"version": 1
|
|
2790
|
+
},
|
|
2791
|
+
"evm": {
|
|
2792
|
+
"bytecode": {
|
|
2793
|
+
"functionDebugData": {},
|
|
2794
|
+
"generatedSources": [],
|
|
2795
|
+
"linkReferences": {},
|
|
2796
|
+
"object": "",
|
|
2797
|
+
"opcodes": "",
|
|
2798
|
+
"sourceMap": ""
|
|
2799
|
+
},
|
|
2800
|
+
"deployedBytecode": {
|
|
2801
|
+
"functionDebugData": {},
|
|
2802
|
+
"generatedSources": [],
|
|
2803
|
+
"immutableReferences": {},
|
|
2804
|
+
"linkReferences": {},
|
|
2805
|
+
"object": "",
|
|
2806
|
+
"opcodes": "",
|
|
2807
|
+
"sourceMap": ""
|
|
2808
|
+
},
|
|
2809
|
+
"gasEstimates": null,
|
|
2810
|
+
"methodIdentifiers": {
|
|
2811
|
+
"sendMessageToChild(address,bytes)": "b4720477"
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2814
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"sendMessageToChild\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/external/polygon/test/FxRootMock.sol\":\"IFxStateSender\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/external/polygon/test/FxRootMock.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IStateSender {\\n function syncState(address receiver, bytes calldata data) external;\\n}\\n\\ninterface IFxStateSender {\\n function sendMessageToChild(address _receiver, bytes calldata _data) external;\\n}\\n\\n/**\\n * @title FxRoot root contract for fx-portal\\n */\\ncontract FxRootMock is IFxStateSender {\\n IStateSender public stateSender;\\n address public fxChild;\\n\\n constructor(address _stateSender) {\\n stateSender = IStateSender(_stateSender);\\n }\\n\\n function setFxChild(address _fxChild) public {\\n require(fxChild == address(0x0));\\n fxChild = _fxChild;\\n }\\n\\n function sendMessageToChild(address _receiver, bytes calldata _data) public override {\\n bytes memory data = abi.encode(msg.sender, _receiver, _data);\\n stateSender.syncState(fxChild, data);\\n }\\n}\\n\",\"keccak256\":\"0x7a7e8ac6a31c445383d7e75d68d27ae3337f273ee1b7f9fd677d5c1e7aa2af91\",\"license\":\"MIT\"}},\"version\":1}",
|
|
2815
|
+
"storageLayout": {
|
|
2816
|
+
"storage": [],
|
|
2817
|
+
"types": null
|
|
2818
|
+
},
|
|
2819
|
+
"userdoc": {
|
|
2820
|
+
"kind": "user",
|
|
2821
|
+
"methods": {},
|
|
2822
|
+
"version": 1
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
"IStateSender": {
|
|
2826
|
+
"abi": [
|
|
2827
|
+
{
|
|
2828
|
+
"inputs": [
|
|
2829
|
+
{
|
|
2830
|
+
"internalType": "address",
|
|
2831
|
+
"name": "receiver",
|
|
2832
|
+
"type": "address"
|
|
2833
|
+
},
|
|
2834
|
+
{
|
|
2835
|
+
"internalType": "bytes",
|
|
2836
|
+
"name": "data",
|
|
2837
|
+
"type": "bytes"
|
|
2838
|
+
}
|
|
2839
|
+
],
|
|
2840
|
+
"name": "syncState",
|
|
2841
|
+
"outputs": [],
|
|
2842
|
+
"stateMutability": "nonpayable",
|
|
2843
|
+
"type": "function"
|
|
2844
|
+
}
|
|
2845
|
+
],
|
|
2846
|
+
"devdoc": {
|
|
2847
|
+
"kind": "dev",
|
|
2848
|
+
"methods": {},
|
|
2849
|
+
"version": 1
|
|
2850
|
+
},
|
|
2851
|
+
"evm": {
|
|
2852
|
+
"bytecode": {
|
|
2853
|
+
"functionDebugData": {},
|
|
2854
|
+
"generatedSources": [],
|
|
2855
|
+
"linkReferences": {},
|
|
2856
|
+
"object": "",
|
|
2857
|
+
"opcodes": "",
|
|
2858
|
+
"sourceMap": ""
|
|
2859
|
+
},
|
|
2860
|
+
"deployedBytecode": {
|
|
2861
|
+
"functionDebugData": {},
|
|
2862
|
+
"generatedSources": [],
|
|
2863
|
+
"immutableReferences": {},
|
|
2864
|
+
"linkReferences": {},
|
|
2865
|
+
"object": "",
|
|
2866
|
+
"opcodes": "",
|
|
2867
|
+
"sourceMap": ""
|
|
2868
|
+
},
|
|
2869
|
+
"gasEstimates": null,
|
|
2870
|
+
"methodIdentifiers": {
|
|
2871
|
+
"syncState(address,bytes)": "16f19831"
|
|
2872
|
+
}
|
|
2873
|
+
},
|
|
2874
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"syncState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/external/polygon/test/FxRootMock.sol\":\"IStateSender\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/external/polygon/test/FxRootMock.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IStateSender {\\n function syncState(address receiver, bytes calldata data) external;\\n}\\n\\ninterface IFxStateSender {\\n function sendMessageToChild(address _receiver, bytes calldata _data) external;\\n}\\n\\n/**\\n * @title FxRoot root contract for fx-portal\\n */\\ncontract FxRootMock is IFxStateSender {\\n IStateSender public stateSender;\\n address public fxChild;\\n\\n constructor(address _stateSender) {\\n stateSender = IStateSender(_stateSender);\\n }\\n\\n function setFxChild(address _fxChild) public {\\n require(fxChild == address(0x0));\\n fxChild = _fxChild;\\n }\\n\\n function sendMessageToChild(address _receiver, bytes calldata _data) public override {\\n bytes memory data = abi.encode(msg.sender, _receiver, _data);\\n stateSender.syncState(fxChild, data);\\n }\\n}\\n\",\"keccak256\":\"0x7a7e8ac6a31c445383d7e75d68d27ae3337f273ee1b7f9fd677d5c1e7aa2af91\",\"license\":\"MIT\"}},\"version\":1}",
|
|
2875
|
+
"storageLayout": {
|
|
2876
|
+
"storage": [],
|
|
2877
|
+
"types": null
|
|
2878
|
+
},
|
|
2879
|
+
"userdoc": {
|
|
2880
|
+
"kind": "user",
|
|
2881
|
+
"methods": {},
|
|
2882
|
+
"version": 1
|
|
2883
|
+
}
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
"sources": {
|
|
2888
|
+
"contracts/external/polygon/test/FxRootMock.sol": {
|
|
2889
|
+
"ast": {
|
|
2890
|
+
"absolutePath": "contracts/external/polygon/test/FxRootMock.sol",
|
|
2891
|
+
"exportedSymbols": {
|
|
2892
|
+
"FxRootMock": [
|
|
2893
|
+
83
|
|
2894
|
+
],
|
|
2895
|
+
"IFxStateSender": [
|
|
2896
|
+
17
|
|
2897
|
+
],
|
|
2898
|
+
"IStateSender": [
|
|
2899
|
+
9
|
|
2900
|
+
]
|
|
2901
|
+
},
|
|
2902
|
+
"id": 84,
|
|
2903
|
+
"license": "MIT",
|
|
2904
|
+
"nodeType": "SourceUnit",
|
|
2905
|
+
"nodes": [
|
|
2906
|
+
{
|
|
2907
|
+
"id": 1,
|
|
2908
|
+
"literals": [
|
|
2909
|
+
"solidity",
|
|
2910
|
+
"^",
|
|
2911
|
+
"0.8",
|
|
2912
|
+
".0"
|
|
2913
|
+
],
|
|
2914
|
+
"nodeType": "PragmaDirective",
|
|
2915
|
+
"src": "32:23:0"
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
"abstract": false,
|
|
2919
|
+
"baseContracts": [],
|
|
2920
|
+
"canonicalName": "IStateSender",
|
|
2921
|
+
"contractDependencies": [],
|
|
2922
|
+
"contractKind": "interface",
|
|
2923
|
+
"fullyImplemented": false,
|
|
2924
|
+
"id": 9,
|
|
2925
|
+
"linearizedBaseContracts": [
|
|
2926
|
+
9
|
|
2927
|
+
],
|
|
2928
|
+
"name": "IStateSender",
|
|
2929
|
+
"nameLocation": "67:12:0",
|
|
2930
|
+
"nodeType": "ContractDefinition",
|
|
2931
|
+
"nodes": [
|
|
2932
|
+
{
|
|
2933
|
+
"functionSelector": "16f19831",
|
|
2934
|
+
"id": 8,
|
|
2935
|
+
"implemented": false,
|
|
2936
|
+
"kind": "function",
|
|
2937
|
+
"modifiers": [],
|
|
2938
|
+
"name": "syncState",
|
|
2939
|
+
"nameLocation": "95:9:0",
|
|
2940
|
+
"nodeType": "FunctionDefinition",
|
|
2941
|
+
"parameters": {
|
|
2942
|
+
"id": 6,
|
|
2943
|
+
"nodeType": "ParameterList",
|
|
2944
|
+
"parameters": [
|
|
2945
|
+
{
|
|
2946
|
+
"constant": false,
|
|
2947
|
+
"id": 3,
|
|
2948
|
+
"mutability": "mutable",
|
|
2949
|
+
"name": "receiver",
|
|
2950
|
+
"nameLocation": "113:8:0",
|
|
2951
|
+
"nodeType": "VariableDeclaration",
|
|
2952
|
+
"scope": 8,
|
|
2953
|
+
"src": "105:16:0",
|
|
2954
|
+
"stateVariable": false,
|
|
2955
|
+
"storageLocation": "default",
|
|
2956
|
+
"typeDescriptions": {
|
|
2957
|
+
"typeIdentifier": "t_address",
|
|
2958
|
+
"typeString": "address"
|
|
2959
|
+
},
|
|
2960
|
+
"typeName": {
|
|
2961
|
+
"id": 2,
|
|
2962
|
+
"name": "address",
|
|
2963
|
+
"nodeType": "ElementaryTypeName",
|
|
2964
|
+
"src": "105:7:0",
|
|
2965
|
+
"stateMutability": "nonpayable",
|
|
2966
|
+
"typeDescriptions": {
|
|
2967
|
+
"typeIdentifier": "t_address",
|
|
2968
|
+
"typeString": "address"
|
|
2969
|
+
}
|
|
2970
|
+
},
|
|
2971
|
+
"visibility": "internal"
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"constant": false,
|
|
2975
|
+
"id": 5,
|
|
2976
|
+
"mutability": "mutable",
|
|
2977
|
+
"name": "data",
|
|
2978
|
+
"nameLocation": "138:4:0",
|
|
2979
|
+
"nodeType": "VariableDeclaration",
|
|
2980
|
+
"scope": 8,
|
|
2981
|
+
"src": "123:19:0",
|
|
2982
|
+
"stateVariable": false,
|
|
2983
|
+
"storageLocation": "calldata",
|
|
2984
|
+
"typeDescriptions": {
|
|
2985
|
+
"typeIdentifier": "t_bytes_calldata_ptr",
|
|
2986
|
+
"typeString": "bytes"
|
|
2987
|
+
},
|
|
2988
|
+
"typeName": {
|
|
2989
|
+
"id": 4,
|
|
2990
|
+
"name": "bytes",
|
|
2991
|
+
"nodeType": "ElementaryTypeName",
|
|
2992
|
+
"src": "123:5:0",
|
|
2993
|
+
"typeDescriptions": {
|
|
2994
|
+
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2995
|
+
"typeString": "bytes"
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
"visibility": "internal"
|
|
2999
|
+
}
|
|
3000
|
+
],
|
|
3001
|
+
"src": "104:39:0"
|
|
3002
|
+
},
|
|
3003
|
+
"returnParameters": {
|
|
3004
|
+
"id": 7,
|
|
3005
|
+
"nodeType": "ParameterList",
|
|
3006
|
+
"parameters": [],
|
|
3007
|
+
"src": "152:0:0"
|
|
3008
|
+
},
|
|
3009
|
+
"scope": 9,
|
|
3010
|
+
"src": "86:67:0",
|
|
3011
|
+
"stateMutability": "nonpayable",
|
|
3012
|
+
"virtual": false,
|
|
3013
|
+
"visibility": "external"
|
|
3014
|
+
}
|
|
3015
|
+
],
|
|
3016
|
+
"scope": 84,
|
|
3017
|
+
"src": "57:98:0",
|
|
3018
|
+
"usedErrors": []
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"abstract": false,
|
|
3022
|
+
"baseContracts": [],
|
|
3023
|
+
"canonicalName": "IFxStateSender",
|
|
3024
|
+
"contractDependencies": [],
|
|
3025
|
+
"contractKind": "interface",
|
|
3026
|
+
"fullyImplemented": false,
|
|
3027
|
+
"id": 17,
|
|
3028
|
+
"linearizedBaseContracts": [
|
|
3029
|
+
17
|
|
3030
|
+
],
|
|
3031
|
+
"name": "IFxStateSender",
|
|
3032
|
+
"nameLocation": "167:14:0",
|
|
3033
|
+
"nodeType": "ContractDefinition",
|
|
3034
|
+
"nodes": [
|
|
3035
|
+
{
|
|
3036
|
+
"functionSelector": "b4720477",
|
|
3037
|
+
"id": 16,
|
|
3038
|
+
"implemented": false,
|
|
3039
|
+
"kind": "function",
|
|
3040
|
+
"modifiers": [],
|
|
3041
|
+
"name": "sendMessageToChild",
|
|
3042
|
+
"nameLocation": "197:18:0",
|
|
3043
|
+
"nodeType": "FunctionDefinition",
|
|
3044
|
+
"parameters": {
|
|
3045
|
+
"id": 14,
|
|
3046
|
+
"nodeType": "ParameterList",
|
|
3047
|
+
"parameters": [
|
|
3048
|
+
{
|
|
3049
|
+
"constant": false,
|
|
3050
|
+
"id": 11,
|
|
3051
|
+
"mutability": "mutable",
|
|
3052
|
+
"name": "_receiver",
|
|
3053
|
+
"nameLocation": "224:9:0",
|
|
3054
|
+
"nodeType": "VariableDeclaration",
|
|
3055
|
+
"scope": 16,
|
|
3056
|
+
"src": "216:17:0",
|
|
3057
|
+
"stateVariable": false,
|
|
3058
|
+
"storageLocation": "default",
|
|
3059
|
+
"typeDescriptions": {
|
|
3060
|
+
"typeIdentifier": "t_address",
|
|
3061
|
+
"typeString": "address"
|
|
3062
|
+
},
|
|
3063
|
+
"typeName": {
|
|
3064
|
+
"id": 10,
|
|
3065
|
+
"name": "address",
|
|
3066
|
+
"nodeType": "ElementaryTypeName",
|
|
3067
|
+
"src": "216:7:0",
|
|
3068
|
+
"stateMutability": "nonpayable",
|
|
3069
|
+
"typeDescriptions": {
|
|
3070
|
+
"typeIdentifier": "t_address",
|
|
3071
|
+
"typeString": "address"
|
|
3072
|
+
}
|
|
3073
|
+
},
|
|
3074
|
+
"visibility": "internal"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"constant": false,
|
|
3078
|
+
"id": 13,
|
|
3079
|
+
"mutability": "mutable",
|
|
3080
|
+
"name": "_data",
|
|
3081
|
+
"nameLocation": "250:5:0",
|
|
3082
|
+
"nodeType": "VariableDeclaration",
|
|
3083
|
+
"scope": 16,
|
|
3084
|
+
"src": "235:20:0",
|
|
3085
|
+
"stateVariable": false,
|
|
3086
|
+
"storageLocation": "calldata",
|
|
3087
|
+
"typeDescriptions": {
|
|
3088
|
+
"typeIdentifier": "t_bytes_calldata_ptr",
|
|
3089
|
+
"typeString": "bytes"
|
|
3090
|
+
},
|
|
3091
|
+
"typeName": {
|
|
3092
|
+
"id": 12,
|
|
3093
|
+
"name": "bytes",
|
|
3094
|
+
"nodeType": "ElementaryTypeName",
|
|
3095
|
+
"src": "235:5:0",
|
|
3096
|
+
"typeDescriptions": {
|
|
3097
|
+
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3098
|
+
"typeString": "bytes"
|
|
3099
|
+
}
|
|
3100
|
+
},
|
|
3101
|
+
"visibility": "internal"
|
|
3102
|
+
}
|
|
3103
|
+
],
|
|
3104
|
+
"src": "215:41:0"
|
|
3105
|
+
},
|
|
3106
|
+
"returnParameters": {
|
|
3107
|
+
"id": 15,
|
|
3108
|
+
"nodeType": "ParameterList",
|
|
3109
|
+
"parameters": [],
|
|
3110
|
+
"src": "265:0:0"
|
|
3111
|
+
},
|
|
3112
|
+
"scope": 17,
|
|
3113
|
+
"src": "188:78:0",
|
|
3114
|
+
"stateMutability": "nonpayable",
|
|
3115
|
+
"virtual": false,
|
|
3116
|
+
"visibility": "external"
|
|
3117
|
+
}
|
|
3118
|
+
],
|
|
3119
|
+
"scope": 84,
|
|
3120
|
+
"src": "157:111:0",
|
|
3121
|
+
"usedErrors": []
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"abstract": false,
|
|
3125
|
+
"baseContracts": [
|
|
3126
|
+
{
|
|
3127
|
+
"baseName": {
|
|
3128
|
+
"id": 19,
|
|
3129
|
+
"name": "IFxStateSender",
|
|
3130
|
+
"nodeType": "IdentifierPath",
|
|
3131
|
+
"referencedDeclaration": 17,
|
|
3132
|
+
"src": "346:14:0"
|
|
3133
|
+
},
|
|
3134
|
+
"id": 20,
|
|
3135
|
+
"nodeType": "InheritanceSpecifier",
|
|
3136
|
+
"src": "346:14:0"
|
|
3137
|
+
}
|
|
3138
|
+
],
|
|
3139
|
+
"canonicalName": "FxRootMock",
|
|
3140
|
+
"contractDependencies": [],
|
|
3141
|
+
"contractKind": "contract",
|
|
3142
|
+
"documentation": {
|
|
3143
|
+
"id": 18,
|
|
3144
|
+
"nodeType": "StructuredDocumentation",
|
|
3145
|
+
"src": "270:52:0",
|
|
3146
|
+
"text": " @title FxRoot root contract for fx-portal"
|
|
3147
|
+
},
|
|
3148
|
+
"fullyImplemented": true,
|
|
3149
|
+
"id": 83,
|
|
3150
|
+
"linearizedBaseContracts": [
|
|
3151
|
+
83,
|
|
3152
|
+
17
|
|
3153
|
+
],
|
|
3154
|
+
"name": "FxRootMock",
|
|
3155
|
+
"nameLocation": "332:10:0",
|
|
3156
|
+
"nodeType": "ContractDefinition",
|
|
3157
|
+
"nodes": [
|
|
3158
|
+
{
|
|
3159
|
+
"constant": false,
|
|
3160
|
+
"functionSelector": "cb10f94c",
|
|
3161
|
+
"id": 23,
|
|
3162
|
+
"mutability": "mutable",
|
|
3163
|
+
"name": "stateSender",
|
|
3164
|
+
"nameLocation": "387:11:0",
|
|
3165
|
+
"nodeType": "VariableDeclaration",
|
|
3166
|
+
"scope": 83,
|
|
3167
|
+
"src": "367:31:0",
|
|
3168
|
+
"stateVariable": true,
|
|
3169
|
+
"storageLocation": "default",
|
|
3170
|
+
"typeDescriptions": {
|
|
3171
|
+
"typeIdentifier": "t_contract$_IStateSender_$9",
|
|
3172
|
+
"typeString": "contract IStateSender"
|
|
3173
|
+
},
|
|
3174
|
+
"typeName": {
|
|
3175
|
+
"id": 22,
|
|
3176
|
+
"nodeType": "UserDefinedTypeName",
|
|
3177
|
+
"pathNode": {
|
|
3178
|
+
"id": 21,
|
|
3179
|
+
"name": "IStateSender",
|
|
3180
|
+
"nodeType": "IdentifierPath",
|
|
3181
|
+
"referencedDeclaration": 9,
|
|
3182
|
+
"src": "367:12:0"
|
|
3183
|
+
},
|
|
3184
|
+
"referencedDeclaration": 9,
|
|
3185
|
+
"src": "367:12:0",
|
|
3186
|
+
"typeDescriptions": {
|
|
3187
|
+
"typeIdentifier": "t_contract$_IStateSender_$9",
|
|
3188
|
+
"typeString": "contract IStateSender"
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
"visibility": "public"
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"constant": false,
|
|
3195
|
+
"functionSelector": "450d11f0",
|
|
3196
|
+
"id": 25,
|
|
3197
|
+
"mutability": "mutable",
|
|
3198
|
+
"name": "fxChild",
|
|
3199
|
+
"nameLocation": "419:7:0",
|
|
3200
|
+
"nodeType": "VariableDeclaration",
|
|
3201
|
+
"scope": 83,
|
|
3202
|
+
"src": "404:22:0",
|
|
3203
|
+
"stateVariable": true,
|
|
3204
|
+
"storageLocation": "default",
|
|
3205
|
+
"typeDescriptions": {
|
|
3206
|
+
"typeIdentifier": "t_address",
|
|
3207
|
+
"typeString": "address"
|
|
3208
|
+
},
|
|
3209
|
+
"typeName": {
|
|
3210
|
+
"id": 24,
|
|
3211
|
+
"name": "address",
|
|
3212
|
+
"nodeType": "ElementaryTypeName",
|
|
3213
|
+
"src": "404:7:0",
|
|
3214
|
+
"stateMutability": "nonpayable",
|
|
3215
|
+
"typeDescriptions": {
|
|
3216
|
+
"typeIdentifier": "t_address",
|
|
3217
|
+
"typeString": "address"
|
|
3218
|
+
}
|
|
3219
|
+
},
|
|
3220
|
+
"visibility": "public"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"body": {
|
|
3224
|
+
"id": 36,
|
|
3225
|
+
"nodeType": "Block",
|
|
3226
|
+
"src": "467:57:0",
|
|
3227
|
+
"statements": [
|
|
3228
|
+
{
|
|
3229
|
+
"expression": {
|
|
3230
|
+
"id": 34,
|
|
3231
|
+
"isConstant": false,
|
|
3232
|
+
"isLValue": false,
|
|
3233
|
+
"isPure": false,
|
|
3234
|
+
"lValueRequested": false,
|
|
3235
|
+
"leftHandSide": {
|
|
3236
|
+
"id": 30,
|
|
3237
|
+
"name": "stateSender",
|
|
3238
|
+
"nodeType": "Identifier",
|
|
3239
|
+
"overloadedDeclarations": [],
|
|
3240
|
+
"referencedDeclaration": 23,
|
|
3241
|
+
"src": "477:11:0",
|
|
3242
|
+
"typeDescriptions": {
|
|
3243
|
+
"typeIdentifier": "t_contract$_IStateSender_$9",
|
|
3244
|
+
"typeString": "contract IStateSender"
|
|
3245
|
+
}
|
|
3246
|
+
},
|
|
3247
|
+
"nodeType": "Assignment",
|
|
3248
|
+
"operator": "=",
|
|
3249
|
+
"rightHandSide": {
|
|
3250
|
+
"arguments": [
|
|
3251
|
+
{
|
|
3252
|
+
"id": 32,
|
|
3253
|
+
"name": "_stateSender",
|
|
3254
|
+
"nodeType": "Identifier",
|
|
3255
|
+
"overloadedDeclarations": [],
|
|
3256
|
+
"referencedDeclaration": 27,
|
|
3257
|
+
"src": "504:12:0",
|
|
3258
|
+
"typeDescriptions": {
|
|
3259
|
+
"typeIdentifier": "t_address",
|
|
3260
|
+
"typeString": "address"
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3263
|
+
],
|
|
3264
|
+
"expression": {
|
|
3265
|
+
"argumentTypes": [
|
|
3266
|
+
{
|
|
3267
|
+
"typeIdentifier": "t_address",
|
|
3268
|
+
"typeString": "address"
|
|
3269
|
+
}
|
|
3270
|
+
],
|
|
3271
|
+
"id": 31,
|
|
3272
|
+
"name": "IStateSender",
|
|
3273
|
+
"nodeType": "Identifier",
|
|
3274
|
+
"overloadedDeclarations": [],
|
|
3275
|
+
"referencedDeclaration": 9,
|
|
3276
|
+
"src": "491:12:0",
|
|
3277
|
+
"typeDescriptions": {
|
|
3278
|
+
"typeIdentifier": "t_type$_t_contract$_IStateSender_$9_$",
|
|
3279
|
+
"typeString": "type(contract IStateSender)"
|
|
3280
|
+
}
|
|
3281
|
+
},
|
|
3282
|
+
"id": 33,
|
|
3283
|
+
"isConstant": false,
|
|
3284
|
+
"isLValue": false,
|
|
3285
|
+
"isPure": false,
|
|
3286
|
+
"kind": "typeConversion",
|
|
3287
|
+
"lValueRequested": false,
|
|
3288
|
+
"names": [],
|
|
3289
|
+
"nodeType": "FunctionCall",
|
|
3290
|
+
"src": "491:26:0",
|
|
3291
|
+
"tryCall": false,
|
|
3292
|
+
"typeDescriptions": {
|
|
3293
|
+
"typeIdentifier": "t_contract$_IStateSender_$9",
|
|
3294
|
+
"typeString": "contract IStateSender"
|
|
3295
|
+
}
|
|
3296
|
+
},
|
|
3297
|
+
"src": "477:40:0",
|
|
3298
|
+
"typeDescriptions": {
|
|
3299
|
+
"typeIdentifier": "t_contract$_IStateSender_$9",
|
|
3300
|
+
"typeString": "contract IStateSender"
|
|
3301
|
+
}
|
|
3302
|
+
},
|
|
3303
|
+
"id": 35,
|
|
3304
|
+
"nodeType": "ExpressionStatement",
|
|
3305
|
+
"src": "477:40:0"
|
|
3306
|
+
}
|
|
3307
|
+
]
|
|
3308
|
+
},
|
|
3309
|
+
"id": 37,
|
|
3310
|
+
"implemented": true,
|
|
3311
|
+
"kind": "constructor",
|
|
3312
|
+
"modifiers": [],
|
|
3313
|
+
"name": "",
|
|
3314
|
+
"nameLocation": "-1:-1:-1",
|
|
3315
|
+
"nodeType": "FunctionDefinition",
|
|
3316
|
+
"parameters": {
|
|
3317
|
+
"id": 28,
|
|
3318
|
+
"nodeType": "ParameterList",
|
|
3319
|
+
"parameters": [
|
|
3320
|
+
{
|
|
3321
|
+
"constant": false,
|
|
3322
|
+
"id": 27,
|
|
3323
|
+
"mutability": "mutable",
|
|
3324
|
+
"name": "_stateSender",
|
|
3325
|
+
"nameLocation": "453:12:0",
|
|
3326
|
+
"nodeType": "VariableDeclaration",
|
|
3327
|
+
"scope": 37,
|
|
3328
|
+
"src": "445:20:0",
|
|
3329
|
+
"stateVariable": false,
|
|
3330
|
+
"storageLocation": "default",
|
|
3331
|
+
"typeDescriptions": {
|
|
3332
|
+
"typeIdentifier": "t_address",
|
|
3333
|
+
"typeString": "address"
|
|
3334
|
+
},
|
|
3335
|
+
"typeName": {
|
|
3336
|
+
"id": 26,
|
|
3337
|
+
"name": "address",
|
|
3338
|
+
"nodeType": "ElementaryTypeName",
|
|
3339
|
+
"src": "445:7:0",
|
|
3340
|
+
"stateMutability": "nonpayable",
|
|
3341
|
+
"typeDescriptions": {
|
|
3342
|
+
"typeIdentifier": "t_address",
|
|
3343
|
+
"typeString": "address"
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
"visibility": "internal"
|
|
3347
|
+
}
|
|
3348
|
+
],
|
|
3349
|
+
"src": "444:22:0"
|
|
3350
|
+
},
|
|
3351
|
+
"returnParameters": {
|
|
3352
|
+
"id": 29,
|
|
3353
|
+
"nodeType": "ParameterList",
|
|
3354
|
+
"parameters": [],
|
|
3355
|
+
"src": "467:0:0"
|
|
3356
|
+
},
|
|
3357
|
+
"scope": 83,
|
|
3358
|
+
"src": "433:91:0",
|
|
3359
|
+
"stateMutability": "nonpayable",
|
|
3360
|
+
"virtual": false,
|
|
3361
|
+
"visibility": "public"
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"body": {
|
|
3365
|
+
"id": 55,
|
|
3366
|
+
"nodeType": "Block",
|
|
3367
|
+
"src": "575:77:0",
|
|
3368
|
+
"statements": [
|
|
3369
|
+
{
|
|
3370
|
+
"expression": {
|
|
3371
|
+
"arguments": [
|
|
3372
|
+
{
|
|
3373
|
+
"commonType": {
|
|
3374
|
+
"typeIdentifier": "t_address",
|
|
3375
|
+
"typeString": "address"
|
|
3376
|
+
},
|
|
3377
|
+
"id": 48,
|
|
3378
|
+
"isConstant": false,
|
|
3379
|
+
"isLValue": false,
|
|
3380
|
+
"isPure": false,
|
|
3381
|
+
"lValueRequested": false,
|
|
3382
|
+
"leftExpression": {
|
|
3383
|
+
"id": 43,
|
|
3384
|
+
"name": "fxChild",
|
|
3385
|
+
"nodeType": "Identifier",
|
|
3386
|
+
"overloadedDeclarations": [],
|
|
3387
|
+
"referencedDeclaration": 25,
|
|
3388
|
+
"src": "593:7:0",
|
|
3389
|
+
"typeDescriptions": {
|
|
3390
|
+
"typeIdentifier": "t_address",
|
|
3391
|
+
"typeString": "address"
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
"nodeType": "BinaryOperation",
|
|
3395
|
+
"operator": "==",
|
|
3396
|
+
"rightExpression": {
|
|
3397
|
+
"arguments": [
|
|
3398
|
+
{
|
|
3399
|
+
"hexValue": "307830",
|
|
3400
|
+
"id": 46,
|
|
3401
|
+
"isConstant": false,
|
|
3402
|
+
"isLValue": false,
|
|
3403
|
+
"isPure": true,
|
|
3404
|
+
"kind": "number",
|
|
3405
|
+
"lValueRequested": false,
|
|
3406
|
+
"nodeType": "Literal",
|
|
3407
|
+
"src": "612:3:0",
|
|
3408
|
+
"typeDescriptions": {
|
|
3409
|
+
"typeIdentifier": "t_rational_0_by_1",
|
|
3410
|
+
"typeString": "int_const 0"
|
|
3411
|
+
},
|
|
3412
|
+
"value": "0x0"
|
|
3413
|
+
}
|
|
3414
|
+
],
|
|
3415
|
+
"expression": {
|
|
3416
|
+
"argumentTypes": [
|
|
3417
|
+
{
|
|
3418
|
+
"typeIdentifier": "t_rational_0_by_1",
|
|
3419
|
+
"typeString": "int_const 0"
|
|
3420
|
+
}
|
|
3421
|
+
],
|
|
3422
|
+
"id": 45,
|
|
3423
|
+
"isConstant": false,
|
|
3424
|
+
"isLValue": false,
|
|
3425
|
+
"isPure": true,
|
|
3426
|
+
"lValueRequested": false,
|
|
3427
|
+
"nodeType": "ElementaryTypeNameExpression",
|
|
3428
|
+
"src": "604:7:0",
|
|
3429
|
+
"typeDescriptions": {
|
|
3430
|
+
"typeIdentifier": "t_type$_t_address_$",
|
|
3431
|
+
"typeString": "type(address)"
|
|
3432
|
+
},
|
|
3433
|
+
"typeName": {
|
|
3434
|
+
"id": 44,
|
|
3435
|
+
"name": "address",
|
|
3436
|
+
"nodeType": "ElementaryTypeName",
|
|
3437
|
+
"src": "604:7:0",
|
|
3438
|
+
"typeDescriptions": {}
|
|
3439
|
+
}
|
|
3440
|
+
},
|
|
3441
|
+
"id": 47,
|
|
3442
|
+
"isConstant": false,
|
|
3443
|
+
"isLValue": false,
|
|
3444
|
+
"isPure": true,
|
|
3445
|
+
"kind": "typeConversion",
|
|
3446
|
+
"lValueRequested": false,
|
|
3447
|
+
"names": [],
|
|
3448
|
+
"nodeType": "FunctionCall",
|
|
3449
|
+
"src": "604:12:0",
|
|
3450
|
+
"tryCall": false,
|
|
3451
|
+
"typeDescriptions": {
|
|
3452
|
+
"typeIdentifier": "t_address",
|
|
3453
|
+
"typeString": "address"
|
|
3454
|
+
}
|
|
3455
|
+
},
|
|
3456
|
+
"src": "593:23:0",
|
|
3457
|
+
"typeDescriptions": {
|
|
3458
|
+
"typeIdentifier": "t_bool",
|
|
3459
|
+
"typeString": "bool"
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
],
|
|
3463
|
+
"expression": {
|
|
3464
|
+
"argumentTypes": [
|
|
3465
|
+
{
|
|
3466
|
+
"typeIdentifier": "t_bool",
|
|
3467
|
+
"typeString": "bool"
|
|
3468
|
+
}
|
|
3469
|
+
],
|
|
3470
|
+
"id": 42,
|
|
3471
|
+
"name": "require",
|
|
3472
|
+
"nodeType": "Identifier",
|
|
3473
|
+
"overloadedDeclarations": [
|
|
3474
|
+
-18,
|
|
3475
|
+
-18
|
|
3476
|
+
],
|
|
3477
|
+
"referencedDeclaration": -18,
|
|
3478
|
+
"src": "585:7:0",
|
|
3479
|
+
"typeDescriptions": {
|
|
3480
|
+
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
|
3481
|
+
"typeString": "function (bool) pure"
|
|
3482
|
+
}
|
|
3483
|
+
},
|
|
3484
|
+
"id": 49,
|
|
3485
|
+
"isConstant": false,
|
|
3486
|
+
"isLValue": false,
|
|
3487
|
+
"isPure": false,
|
|
3488
|
+
"kind": "functionCall",
|
|
3489
|
+
"lValueRequested": false,
|
|
3490
|
+
"names": [],
|
|
3491
|
+
"nodeType": "FunctionCall",
|
|
3492
|
+
"src": "585:32:0",
|
|
3493
|
+
"tryCall": false,
|
|
3494
|
+
"typeDescriptions": {
|
|
3495
|
+
"typeIdentifier": "t_tuple$__$",
|
|
3496
|
+
"typeString": "tuple()"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
"id": 50,
|
|
3500
|
+
"nodeType": "ExpressionStatement",
|
|
3501
|
+
"src": "585:32:0"
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
"expression": {
|
|
3505
|
+
"id": 53,
|
|
3506
|
+
"isConstant": false,
|
|
3507
|
+
"isLValue": false,
|
|
3508
|
+
"isPure": false,
|
|
3509
|
+
"lValueRequested": false,
|
|
3510
|
+
"leftHandSide": {
|
|
3511
|
+
"id": 51,
|
|
3512
|
+
"name": "fxChild",
|
|
3513
|
+
"nodeType": "Identifier",
|
|
3514
|
+
"overloadedDeclarations": [],
|
|
3515
|
+
"referencedDeclaration": 25,
|
|
3516
|
+
"src": "627:7:0",
|
|
3517
|
+
"typeDescriptions": {
|
|
3518
|
+
"typeIdentifier": "t_address",
|
|
3519
|
+
"typeString": "address"
|
|
3520
|
+
}
|
|
3521
|
+
},
|
|
3522
|
+
"nodeType": "Assignment",
|
|
3523
|
+
"operator": "=",
|
|
3524
|
+
"rightHandSide": {
|
|
3525
|
+
"id": 52,
|
|
3526
|
+
"name": "_fxChild",
|
|
3527
|
+
"nodeType": "Identifier",
|
|
3528
|
+
"overloadedDeclarations": [],
|
|
3529
|
+
"referencedDeclaration": 39,
|
|
3530
|
+
"src": "637:8:0",
|
|
3531
|
+
"typeDescriptions": {
|
|
3532
|
+
"typeIdentifier": "t_address",
|
|
3533
|
+
"typeString": "address"
|
|
3534
|
+
}
|
|
3535
|
+
},
|
|
3536
|
+
"src": "627:18:0",
|
|
3537
|
+
"typeDescriptions": {
|
|
3538
|
+
"typeIdentifier": "t_address",
|
|
3539
|
+
"typeString": "address"
|
|
3540
|
+
}
|
|
3541
|
+
},
|
|
3542
|
+
"id": 54,
|
|
3543
|
+
"nodeType": "ExpressionStatement",
|
|
3544
|
+
"src": "627:18:0"
|
|
3545
|
+
}
|
|
3546
|
+
]
|
|
3547
|
+
},
|
|
3548
|
+
"functionSelector": "b86cfdcf",
|
|
3549
|
+
"id": 56,
|
|
3550
|
+
"implemented": true,
|
|
3551
|
+
"kind": "function",
|
|
3552
|
+
"modifiers": [],
|
|
3553
|
+
"name": "setFxChild",
|
|
3554
|
+
"nameLocation": "539:10:0",
|
|
3555
|
+
"nodeType": "FunctionDefinition",
|
|
3556
|
+
"parameters": {
|
|
3557
|
+
"id": 40,
|
|
3558
|
+
"nodeType": "ParameterList",
|
|
3559
|
+
"parameters": [
|
|
3560
|
+
{
|
|
3561
|
+
"constant": false,
|
|
3562
|
+
"id": 39,
|
|
3563
|
+
"mutability": "mutable",
|
|
3564
|
+
"name": "_fxChild",
|
|
3565
|
+
"nameLocation": "558:8:0",
|
|
3566
|
+
"nodeType": "VariableDeclaration",
|
|
3567
|
+
"scope": 56,
|
|
3568
|
+
"src": "550:16:0",
|
|
3569
|
+
"stateVariable": false,
|
|
3570
|
+
"storageLocation": "default",
|
|
3571
|
+
"typeDescriptions": {
|
|
3572
|
+
"typeIdentifier": "t_address",
|
|
3573
|
+
"typeString": "address"
|
|
3574
|
+
},
|
|
3575
|
+
"typeName": {
|
|
3576
|
+
"id": 38,
|
|
3577
|
+
"name": "address",
|
|
3578
|
+
"nodeType": "ElementaryTypeName",
|
|
3579
|
+
"src": "550:7:0",
|
|
3580
|
+
"stateMutability": "nonpayable",
|
|
3581
|
+
"typeDescriptions": {
|
|
3582
|
+
"typeIdentifier": "t_address",
|
|
3583
|
+
"typeString": "address"
|
|
3584
|
+
}
|
|
3585
|
+
},
|
|
3586
|
+
"visibility": "internal"
|
|
3587
|
+
}
|
|
3588
|
+
],
|
|
3589
|
+
"src": "549:18:0"
|
|
3590
|
+
},
|
|
3591
|
+
"returnParameters": {
|
|
3592
|
+
"id": 41,
|
|
3593
|
+
"nodeType": "ParameterList",
|
|
3594
|
+
"parameters": [],
|
|
3595
|
+
"src": "575:0:0"
|
|
3596
|
+
},
|
|
3597
|
+
"scope": 83,
|
|
3598
|
+
"src": "530:122:0",
|
|
3599
|
+
"stateMutability": "nonpayable",
|
|
3600
|
+
"virtual": false,
|
|
3601
|
+
"visibility": "public"
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
"baseFunctions": [
|
|
3605
|
+
16
|
|
3606
|
+
],
|
|
3607
|
+
"body": {
|
|
3608
|
+
"id": 81,
|
|
3609
|
+
"nodeType": "Block",
|
|
3610
|
+
"src": "743:123:0",
|
|
3611
|
+
"statements": [
|
|
3612
|
+
{
|
|
3613
|
+
"assignments": [
|
|
3614
|
+
65
|
|
3615
|
+
],
|
|
3616
|
+
"declarations": [
|
|
3617
|
+
{
|
|
3618
|
+
"constant": false,
|
|
3619
|
+
"id": 65,
|
|
3620
|
+
"mutability": "mutable",
|
|
3621
|
+
"name": "data",
|
|
3622
|
+
"nameLocation": "766:4:0",
|
|
3623
|
+
"nodeType": "VariableDeclaration",
|
|
3624
|
+
"scope": 81,
|
|
3625
|
+
"src": "753:17:0",
|
|
3626
|
+
"stateVariable": false,
|
|
3627
|
+
"storageLocation": "memory",
|
|
3628
|
+
"typeDescriptions": {
|
|
3629
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
|
3630
|
+
"typeString": "bytes"
|
|
3631
|
+
},
|
|
3632
|
+
"typeName": {
|
|
3633
|
+
"id": 64,
|
|
3634
|
+
"name": "bytes",
|
|
3635
|
+
"nodeType": "ElementaryTypeName",
|
|
3636
|
+
"src": "753:5:0",
|
|
3637
|
+
"typeDescriptions": {
|
|
3638
|
+
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3639
|
+
"typeString": "bytes"
|
|
3640
|
+
}
|
|
3641
|
+
},
|
|
3642
|
+
"visibility": "internal"
|
|
3643
|
+
}
|
|
3644
|
+
],
|
|
3645
|
+
"id": 73,
|
|
3646
|
+
"initialValue": {
|
|
3647
|
+
"arguments": [
|
|
3648
|
+
{
|
|
3649
|
+
"expression": {
|
|
3650
|
+
"id": 68,
|
|
3651
|
+
"name": "msg",
|
|
3652
|
+
"nodeType": "Identifier",
|
|
3653
|
+
"overloadedDeclarations": [],
|
|
3654
|
+
"referencedDeclaration": -15,
|
|
3655
|
+
"src": "784:3:0",
|
|
3656
|
+
"typeDescriptions": {
|
|
3657
|
+
"typeIdentifier": "t_magic_message",
|
|
3658
|
+
"typeString": "msg"
|
|
3659
|
+
}
|
|
3660
|
+
},
|
|
3661
|
+
"id": 69,
|
|
3662
|
+
"isConstant": false,
|
|
3663
|
+
"isLValue": false,
|
|
3664
|
+
"isPure": false,
|
|
3665
|
+
"lValueRequested": false,
|
|
3666
|
+
"memberName": "sender",
|
|
3667
|
+
"nodeType": "MemberAccess",
|
|
3668
|
+
"src": "784:10:0",
|
|
3669
|
+
"typeDescriptions": {
|
|
3670
|
+
"typeIdentifier": "t_address",
|
|
3671
|
+
"typeString": "address"
|
|
3672
|
+
}
|
|
3673
|
+
},
|
|
3674
|
+
{
|
|
3675
|
+
"id": 70,
|
|
3676
|
+
"name": "_receiver",
|
|
3677
|
+
"nodeType": "Identifier",
|
|
3678
|
+
"overloadedDeclarations": [],
|
|
3679
|
+
"referencedDeclaration": 58,
|
|
3680
|
+
"src": "796:9:0",
|
|
3681
|
+
"typeDescriptions": {
|
|
3682
|
+
"typeIdentifier": "t_address",
|
|
3683
|
+
"typeString": "address"
|
|
3684
|
+
}
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"id": 71,
|
|
3688
|
+
"name": "_data",
|
|
3689
|
+
"nodeType": "Identifier",
|
|
3690
|
+
"overloadedDeclarations": [],
|
|
3691
|
+
"referencedDeclaration": 60,
|
|
3692
|
+
"src": "807:5:0",
|
|
3693
|
+
"typeDescriptions": {
|
|
3694
|
+
"typeIdentifier": "t_bytes_calldata_ptr",
|
|
3695
|
+
"typeString": "bytes calldata"
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
],
|
|
3699
|
+
"expression": {
|
|
3700
|
+
"argumentTypes": [
|
|
3701
|
+
{
|
|
3702
|
+
"typeIdentifier": "t_address",
|
|
3703
|
+
"typeString": "address"
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
"typeIdentifier": "t_address",
|
|
3707
|
+
"typeString": "address"
|
|
3708
|
+
},
|
|
3709
|
+
{
|
|
3710
|
+
"typeIdentifier": "t_bytes_calldata_ptr",
|
|
3711
|
+
"typeString": "bytes calldata"
|
|
3712
|
+
}
|
|
3713
|
+
],
|
|
3714
|
+
"expression": {
|
|
3715
|
+
"id": 66,
|
|
3716
|
+
"name": "abi",
|
|
3717
|
+
"nodeType": "Identifier",
|
|
3718
|
+
"overloadedDeclarations": [],
|
|
3719
|
+
"referencedDeclaration": -1,
|
|
3720
|
+
"src": "773:3:0",
|
|
3721
|
+
"typeDescriptions": {
|
|
3722
|
+
"typeIdentifier": "t_magic_abi",
|
|
3723
|
+
"typeString": "abi"
|
|
3724
|
+
}
|
|
3725
|
+
},
|
|
3726
|
+
"id": 67,
|
|
3727
|
+
"isConstant": false,
|
|
3728
|
+
"isLValue": false,
|
|
3729
|
+
"isPure": true,
|
|
3730
|
+
"lValueRequested": false,
|
|
3731
|
+
"memberName": "encode",
|
|
3732
|
+
"nodeType": "MemberAccess",
|
|
3733
|
+
"src": "773:10:0",
|
|
3734
|
+
"typeDescriptions": {
|
|
3735
|
+
"typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",
|
|
3736
|
+
"typeString": "function () pure returns (bytes memory)"
|
|
3737
|
+
}
|
|
3738
|
+
},
|
|
3739
|
+
"id": 72,
|
|
3740
|
+
"isConstant": false,
|
|
3741
|
+
"isLValue": false,
|
|
3742
|
+
"isPure": false,
|
|
3743
|
+
"kind": "functionCall",
|
|
3744
|
+
"lValueRequested": false,
|
|
3745
|
+
"names": [],
|
|
3746
|
+
"nodeType": "FunctionCall",
|
|
3747
|
+
"src": "773:40:0",
|
|
3748
|
+
"tryCall": false,
|
|
3749
|
+
"typeDescriptions": {
|
|
3750
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
|
3751
|
+
"typeString": "bytes memory"
|
|
3752
|
+
}
|
|
3753
|
+
},
|
|
3754
|
+
"nodeType": "VariableDeclarationStatement",
|
|
3755
|
+
"src": "753:60:0"
|
|
3756
|
+
},
|
|
3757
|
+
{
|
|
3758
|
+
"expression": {
|
|
3759
|
+
"arguments": [
|
|
3760
|
+
{
|
|
3761
|
+
"id": 77,
|
|
3762
|
+
"name": "fxChild",
|
|
3763
|
+
"nodeType": "Identifier",
|
|
3764
|
+
"overloadedDeclarations": [],
|
|
3765
|
+
"referencedDeclaration": 25,
|
|
3766
|
+
"src": "845:7:0",
|
|
3767
|
+
"typeDescriptions": {
|
|
3768
|
+
"typeIdentifier": "t_address",
|
|
3769
|
+
"typeString": "address"
|
|
3770
|
+
}
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"id": 78,
|
|
3774
|
+
"name": "data",
|
|
3775
|
+
"nodeType": "Identifier",
|
|
3776
|
+
"overloadedDeclarations": [],
|
|
3777
|
+
"referencedDeclaration": 65,
|
|
3778
|
+
"src": "854:4:0",
|
|
3779
|
+
"typeDescriptions": {
|
|
3780
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
|
3781
|
+
"typeString": "bytes memory"
|
|
3782
|
+
}
|
|
3783
|
+
}
|
|
3784
|
+
],
|
|
3785
|
+
"expression": {
|
|
3786
|
+
"argumentTypes": [
|
|
3787
|
+
{
|
|
3788
|
+
"typeIdentifier": "t_address",
|
|
3789
|
+
"typeString": "address"
|
|
3790
|
+
},
|
|
3791
|
+
{
|
|
3792
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
|
3793
|
+
"typeString": "bytes memory"
|
|
3794
|
+
}
|
|
3795
|
+
],
|
|
3796
|
+
"expression": {
|
|
3797
|
+
"id": 74,
|
|
3798
|
+
"name": "stateSender",
|
|
3799
|
+
"nodeType": "Identifier",
|
|
3800
|
+
"overloadedDeclarations": [],
|
|
3801
|
+
"referencedDeclaration": 23,
|
|
3802
|
+
"src": "823:11:0",
|
|
3803
|
+
"typeDescriptions": {
|
|
3804
|
+
"typeIdentifier": "t_contract$_IStateSender_$9",
|
|
3805
|
+
"typeString": "contract IStateSender"
|
|
3806
|
+
}
|
|
3807
|
+
},
|
|
3808
|
+
"id": 76,
|
|
3809
|
+
"isConstant": false,
|
|
3810
|
+
"isLValue": false,
|
|
3811
|
+
"isPure": false,
|
|
3812
|
+
"lValueRequested": false,
|
|
3813
|
+
"memberName": "syncState",
|
|
3814
|
+
"nodeType": "MemberAccess",
|
|
3815
|
+
"referencedDeclaration": 8,
|
|
3816
|
+
"src": "823:21:0",
|
|
3817
|
+
"typeDescriptions": {
|
|
3818
|
+
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$",
|
|
3819
|
+
"typeString": "function (address,bytes memory) external"
|
|
3820
|
+
}
|
|
3821
|
+
},
|
|
3822
|
+
"id": 79,
|
|
3823
|
+
"isConstant": false,
|
|
3824
|
+
"isLValue": false,
|
|
3825
|
+
"isPure": false,
|
|
3826
|
+
"kind": "functionCall",
|
|
3827
|
+
"lValueRequested": false,
|
|
3828
|
+
"names": [],
|
|
3829
|
+
"nodeType": "FunctionCall",
|
|
3830
|
+
"src": "823:36:0",
|
|
3831
|
+
"tryCall": false,
|
|
3832
|
+
"typeDescriptions": {
|
|
3833
|
+
"typeIdentifier": "t_tuple$__$",
|
|
3834
|
+
"typeString": "tuple()"
|
|
3835
|
+
}
|
|
3836
|
+
},
|
|
3837
|
+
"id": 80,
|
|
3838
|
+
"nodeType": "ExpressionStatement",
|
|
3839
|
+
"src": "823:36:0"
|
|
3840
|
+
}
|
|
3841
|
+
]
|
|
3842
|
+
},
|
|
3843
|
+
"functionSelector": "b4720477",
|
|
3844
|
+
"id": 82,
|
|
3845
|
+
"implemented": true,
|
|
3846
|
+
"kind": "function",
|
|
3847
|
+
"modifiers": [],
|
|
3848
|
+
"name": "sendMessageToChild",
|
|
3849
|
+
"nameLocation": "667:18:0",
|
|
3850
|
+
"nodeType": "FunctionDefinition",
|
|
3851
|
+
"overrides": {
|
|
3852
|
+
"id": 62,
|
|
3853
|
+
"nodeType": "OverrideSpecifier",
|
|
3854
|
+
"overrides": [],
|
|
3855
|
+
"src": "734:8:0"
|
|
3856
|
+
},
|
|
3857
|
+
"parameters": {
|
|
3858
|
+
"id": 61,
|
|
3859
|
+
"nodeType": "ParameterList",
|
|
3860
|
+
"parameters": [
|
|
3861
|
+
{
|
|
3862
|
+
"constant": false,
|
|
3863
|
+
"id": 58,
|
|
3864
|
+
"mutability": "mutable",
|
|
3865
|
+
"name": "_receiver",
|
|
3866
|
+
"nameLocation": "694:9:0",
|
|
3867
|
+
"nodeType": "VariableDeclaration",
|
|
3868
|
+
"scope": 82,
|
|
3869
|
+
"src": "686:17:0",
|
|
3870
|
+
"stateVariable": false,
|
|
3871
|
+
"storageLocation": "default",
|
|
3872
|
+
"typeDescriptions": {
|
|
3873
|
+
"typeIdentifier": "t_address",
|
|
3874
|
+
"typeString": "address"
|
|
3875
|
+
},
|
|
3876
|
+
"typeName": {
|
|
3877
|
+
"id": 57,
|
|
3878
|
+
"name": "address",
|
|
3879
|
+
"nodeType": "ElementaryTypeName",
|
|
3880
|
+
"src": "686:7:0",
|
|
3881
|
+
"stateMutability": "nonpayable",
|
|
3882
|
+
"typeDescriptions": {
|
|
3883
|
+
"typeIdentifier": "t_address",
|
|
3884
|
+
"typeString": "address"
|
|
3885
|
+
}
|
|
3886
|
+
},
|
|
3887
|
+
"visibility": "internal"
|
|
3888
|
+
},
|
|
3889
|
+
{
|
|
3890
|
+
"constant": false,
|
|
3891
|
+
"id": 60,
|
|
3892
|
+
"mutability": "mutable",
|
|
3893
|
+
"name": "_data",
|
|
3894
|
+
"nameLocation": "720:5:0",
|
|
3895
|
+
"nodeType": "VariableDeclaration",
|
|
3896
|
+
"scope": 82,
|
|
3897
|
+
"src": "705:20:0",
|
|
3898
|
+
"stateVariable": false,
|
|
3899
|
+
"storageLocation": "calldata",
|
|
3900
|
+
"typeDescriptions": {
|
|
3901
|
+
"typeIdentifier": "t_bytes_calldata_ptr",
|
|
3902
|
+
"typeString": "bytes"
|
|
3903
|
+
},
|
|
3904
|
+
"typeName": {
|
|
3905
|
+
"id": 59,
|
|
3906
|
+
"name": "bytes",
|
|
3907
|
+
"nodeType": "ElementaryTypeName",
|
|
3908
|
+
"src": "705:5:0",
|
|
3909
|
+
"typeDescriptions": {
|
|
3910
|
+
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3911
|
+
"typeString": "bytes"
|
|
3912
|
+
}
|
|
3913
|
+
},
|
|
3914
|
+
"visibility": "internal"
|
|
3915
|
+
}
|
|
3916
|
+
],
|
|
3917
|
+
"src": "685:41:0"
|
|
3918
|
+
},
|
|
3919
|
+
"returnParameters": {
|
|
3920
|
+
"id": 63,
|
|
3921
|
+
"nodeType": "ParameterList",
|
|
3922
|
+
"parameters": [],
|
|
3923
|
+
"src": "743:0:0"
|
|
3924
|
+
},
|
|
3925
|
+
"scope": 83,
|
|
3926
|
+
"src": "658:208:0",
|
|
3927
|
+
"stateMutability": "nonpayable",
|
|
3928
|
+
"virtual": false,
|
|
3929
|
+
"visibility": "public"
|
|
3930
|
+
}
|
|
3931
|
+
],
|
|
3932
|
+
"scope": 84,
|
|
3933
|
+
"src": "323:545:0",
|
|
3934
|
+
"usedErrors": []
|
|
3935
|
+
}
|
|
3936
|
+
],
|
|
3937
|
+
"src": "32:837:0"
|
|
3938
|
+
},
|
|
3939
|
+
"id": 0
|
|
3940
|
+
}
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
}
|