@arbitrum/nitro-contracts 1.0.3-beta.0 → 1.0.3-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +4 -0
  2. package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +63 -0
  3. package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +4 -0
  4. package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.json +24 -0
  5. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +4 -0
  6. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +80 -0
  7. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +4 -0
  8. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.json +56 -0
  9. package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +4 -0
  10. package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.json +19 -0
  11. package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +4 -0
  12. package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.json +24 -0
  13. package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +4 -0
  14. package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json +113 -0
  15. package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +4 -0
  16. package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +160 -0
  17. package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +4 -0
  18. package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +155 -0
  19. package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +4 -0
  20. package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.json +100 -0
  21. package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +4 -0
  22. package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.json +10 -0
  23. package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +4 -0
  24. package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.json +10 -0
  25. package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +4 -0
  26. package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +10 -0
  27. package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +4 -0
  28. package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +63 -0
  29. package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +4 -0
  30. package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +10 -0
  31. package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +4 -0
  32. package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +50 -0
  33. package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +4 -0
  34. package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.json +194 -0
  35. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +4 -0
  36. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +10 -0
  37. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +4 -0
  38. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +10 -0
  39. package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +4 -0
  40. package/build/contracts/src/bridge/Bridge.sol/Bridge.json +650 -0
  41. package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +4 -0
  42. package/build/contracts/src/bridge/IBridge.sol/IBridge.json +538 -0
  43. package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +4 -0
  44. package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.json +43 -0
  45. package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +4 -0
  46. package/build/contracts/src/bridge/IInbox.sol/IInbox.json +575 -0
  47. package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +4 -0
  48. package/build/contracts/src/bridge/IOutbox.sol/IOutbox.json +419 -0
  49. package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +4 -0
  50. package/build/contracts/src/bridge/IOwnable.sol/IOwnable.json +24 -0
  51. package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +4 -0
  52. package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +651 -0
  53. package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +4 -0
  54. package/build/contracts/src/bridge/Inbox.sol/Inbox.json +954 -0
  55. package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +4 -0
  56. package/build/contracts/src/bridge/Messages.sol/Messages.json +10 -0
  57. package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +4 -0
  58. package/build/contracts/src/bridge/Outbox.sol/Outbox.json +546 -0
  59. package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +4 -0
  60. package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +814 -0
  61. package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +4 -0
  62. package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.json +10 -0
  63. package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +4 -0
  64. package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +669 -0
  65. package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +4 -0
  66. package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.json +386 -0
  67. package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +4 -0
  68. package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.json +34 -0
  69. package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +4 -0
  70. package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.json +10 -0
  71. package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +4 -0
  72. package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.json +77 -0
  73. package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +4 -0
  74. package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.json +69 -0
  75. package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +4 -0
  76. package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.json +10 -0
  77. package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +4 -0
  78. package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.json +10 -0
  79. package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +4 -0
  80. package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.json +10 -0
  81. package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +4 -0
  82. package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.json +144 -0
  83. package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.dbg.json +4 -0
  84. package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.json +10 -0
  85. package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +4 -0
  86. package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.json +40 -0
  87. package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +4 -0
  88. package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +10 -0
  89. package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +4 -0
  90. package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.json +82 -0
  91. package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +4 -0
  92. package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +561 -0
  93. package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +4 -0
  94. package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +655 -0
  95. package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +4 -0
  96. package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +588 -0
  97. package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +4 -0
  98. package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +188 -0
  99. package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +4 -0
  100. package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.json +160 -0
  101. package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +4 -0
  102. package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +870 -0
  103. package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +4 -0
  104. package/build/contracts/src/mocks/Simple.sol/Simple.json +242 -0
  105. package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +4 -0
  106. package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.json +30 -0
  107. package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +4 -0
  108. package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +720 -0
  109. package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +4 -0
  110. package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +669 -0
  111. package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +4 -0
  112. package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.json +286 -0
  113. package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +4 -0
  114. package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.json +67 -0
  115. package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +4 -0
  116. package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.json +165 -0
  117. package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +4 -0
  118. package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.json +57 -0
  119. package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +4 -0
  120. package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +10 -0
  121. package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +4 -0
  122. package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.json +477 -0
  123. package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +4 -0
  124. package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +135 -0
  125. package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +4 -0
  126. package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +477 -0
  127. package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +4 -0
  128. package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +477 -0
  129. package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +4 -0
  130. package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +477 -0
  131. package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +4 -0
  132. package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +477 -0
  133. package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +4 -0
  134. package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.json +148 -0
  135. package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +4 -0
  136. package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.json +148 -0
  137. package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +4 -0
  138. package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.json +10 -0
  139. package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +4 -0
  140. package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.json +193 -0
  141. package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +4 -0
  142. package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.json +77 -0
  143. package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +4 -0
  144. package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.json +350 -0
  145. package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +4 -0
  146. package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.json +49 -0
  147. package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +4 -0
  148. package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.json +378 -0
  149. package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +4 -0
  150. package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.json +95 -0
  151. package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +4 -0
  152. package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.json +306 -0
  153. package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +4 -0
  154. package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.json +49 -0
  155. package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +4 -0
  156. package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.json +380 -0
  157. package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +4 -0
  158. package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.json +77 -0
  159. package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +4 -0
  160. package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.json +24 -0
  161. package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +4 -0
  162. package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +243 -0
  163. package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +4 -0
  164. package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +128 -0
  165. package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +4 -0
  166. package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.json +544 -0
  167. package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +4 -0
  168. package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.json +889 -0
  169. package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +4 -0
  170. package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.json +68 -0
  171. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +4 -0
  172. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.json +1428 -0
  173. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +4 -0
  174. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.json +1309 -0
  175. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +4 -0
  176. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.json +1443 -0
  177. package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +4 -0
  178. package/build/contracts/src/rollup/Node.sol/NodeLib.json +10 -0
  179. package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +4 -0
  180. package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +1808 -0
  181. package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +4 -0
  182. package/build/contracts/src/rollup/RollupCore.sol/RollupCore.json +1051 -0
  183. package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +4 -0
  184. package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +383 -0
  185. package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +4 -0
  186. package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +110 -0
  187. package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +4 -0
  188. package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +10 -0
  189. package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +4 -0
  190. package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +226 -0
  191. package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +4 -0
  192. package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.json +1578 -0
  193. package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +4 -0
  194. package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +1712 -0
  195. package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +4 -0
  196. package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +1697 -0
  197. package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +4 -0
  198. package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +379 -0
  199. package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +4 -0
  200. package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +435 -0
  201. package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +4 -0
  202. package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +150 -0
  203. package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +4 -0
  204. package/build/contracts/src/state/Deserialize.sol/Deserialize.json +10 -0
  205. package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +4 -0
  206. package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.json +10 -0
  207. package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +4 -0
  208. package/build/contracts/src/state/Instructions.sol/Instructions.json +10 -0
  209. package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +4 -0
  210. package/build/contracts/src/state/Machine.sol/MachineLib.json +10 -0
  211. package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +4 -0
  212. package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.json +10 -0
  213. package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +4 -0
  214. package/build/contracts/src/state/Module.sol/ModuleLib.json +10 -0
  215. package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +4 -0
  216. package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.json +10 -0
  217. package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +4 -0
  218. package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.json +10 -0
  219. package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +4 -0
  220. package/build/contracts/src/state/PcArray.sol/PcArrayLib.json +10 -0
  221. package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +4 -0
  222. package/build/contracts/src/state/StackFrame.sol/StackFrameLib.json +10 -0
  223. package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +4 -0
  224. package/build/contracts/src/state/Value.sol/ValueLib.json +10 -0
  225. package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +4 -0
  226. package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.json +10 -0
  227. package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +4 -0
  228. package/build/contracts/src/state/ValueStack.sol/ValueStackLib.json +10 -0
  229. package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +4 -0
  230. package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +603 -0
  231. package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +4 -0
  232. package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.json +54 -0
  233. package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +4 -0
  234. package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.json +84 -0
  235. package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +4 -0
  236. package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +520 -0
  237. package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +4 -0
  238. package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.json +49 -0
  239. package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +4 -0
  240. package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.json +18 -0
  241. package/package.json +4 -2
@@ -0,0 +1,520 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "OutboxWithoutOptTester",
4
+ "sourceName": "src/test-helpers/OutboxWithoutOptTester.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "AlreadyInit",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "index",
16
+ "type": "uint256"
17
+ }
18
+ ],
19
+ "name": "AlreadySpent",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "BridgeCallFailed",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "uint256",
31
+ "name": "actualLength",
32
+ "type": "uint256"
33
+ },
34
+ {
35
+ "internalType": "uint256",
36
+ "name": "maxProofLength",
37
+ "type": "uint256"
38
+ }
39
+ ],
40
+ "name": "MerkleProofTooLong",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "index",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "maxIndex",
53
+ "type": "uint256"
54
+ }
55
+ ],
56
+ "name": "PathNotMinimal",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "uint256",
63
+ "name": "proofLength",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "ProofTooLong",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "bytes32",
74
+ "name": "root",
75
+ "type": "bytes32"
76
+ }
77
+ ],
78
+ "name": "UnknownRoot",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "anonymous": false,
83
+ "inputs": [
84
+ {
85
+ "indexed": true,
86
+ "internalType": "address",
87
+ "name": "to",
88
+ "type": "address"
89
+ },
90
+ {
91
+ "indexed": true,
92
+ "internalType": "address",
93
+ "name": "l2Sender",
94
+ "type": "address"
95
+ },
96
+ {
97
+ "indexed": true,
98
+ "internalType": "uint256",
99
+ "name": "zero",
100
+ "type": "uint256"
101
+ },
102
+ {
103
+ "indexed": false,
104
+ "internalType": "uint256",
105
+ "name": "transactionIndex",
106
+ "type": "uint256"
107
+ }
108
+ ],
109
+ "name": "OutBoxTransactionExecuted",
110
+ "type": "event"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": true,
117
+ "internalType": "bytes32",
118
+ "name": "outputRoot",
119
+ "type": "bytes32"
120
+ },
121
+ {
122
+ "indexed": true,
123
+ "internalType": "bytes32",
124
+ "name": "l2BlockHash",
125
+ "type": "bytes32"
126
+ }
127
+ ],
128
+ "name": "SendRootUpdated",
129
+ "type": "event"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "OUTBOX_VERSION",
134
+ "outputs": [
135
+ {
136
+ "internalType": "uint128",
137
+ "name": "",
138
+ "type": "uint128"
139
+ }
140
+ ],
141
+ "stateMutability": "view",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "bridge",
147
+ "outputs": [
148
+ {
149
+ "internalType": "contract IBridge",
150
+ "name": "",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "stateMutability": "view",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "address",
161
+ "name": "l2Sender",
162
+ "type": "address"
163
+ },
164
+ {
165
+ "internalType": "address",
166
+ "name": "to",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "l2Block",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "internalType": "uint256",
176
+ "name": "l1Block",
177
+ "type": "uint256"
178
+ },
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "l2Timestamp",
182
+ "type": "uint256"
183
+ },
184
+ {
185
+ "internalType": "uint256",
186
+ "name": "value",
187
+ "type": "uint256"
188
+ },
189
+ {
190
+ "internalType": "bytes",
191
+ "name": "data",
192
+ "type": "bytes"
193
+ }
194
+ ],
195
+ "name": "calculateItemHash",
196
+ "outputs": [
197
+ {
198
+ "internalType": "bytes32",
199
+ "name": "",
200
+ "type": "bytes32"
201
+ }
202
+ ],
203
+ "stateMutability": "pure",
204
+ "type": "function"
205
+ },
206
+ {
207
+ "inputs": [
208
+ {
209
+ "internalType": "bytes32[]",
210
+ "name": "proof",
211
+ "type": "bytes32[]"
212
+ },
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "path",
216
+ "type": "uint256"
217
+ },
218
+ {
219
+ "internalType": "bytes32",
220
+ "name": "item",
221
+ "type": "bytes32"
222
+ }
223
+ ],
224
+ "name": "calculateMerkleRoot",
225
+ "outputs": [
226
+ {
227
+ "internalType": "bytes32",
228
+ "name": "",
229
+ "type": "bytes32"
230
+ }
231
+ ],
232
+ "stateMutability": "pure",
233
+ "type": "function"
234
+ },
235
+ {
236
+ "inputs": [
237
+ {
238
+ "internalType": "bytes32[]",
239
+ "name": "proof",
240
+ "type": "bytes32[]"
241
+ },
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "index",
245
+ "type": "uint256"
246
+ },
247
+ {
248
+ "internalType": "address",
249
+ "name": "l2Sender",
250
+ "type": "address"
251
+ },
252
+ {
253
+ "internalType": "address",
254
+ "name": "to",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "internalType": "uint256",
259
+ "name": "l2Block",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "internalType": "uint256",
264
+ "name": "l1Block",
265
+ "type": "uint256"
266
+ },
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "l2Timestamp",
270
+ "type": "uint256"
271
+ },
272
+ {
273
+ "internalType": "uint256",
274
+ "name": "value",
275
+ "type": "uint256"
276
+ },
277
+ {
278
+ "internalType": "bytes",
279
+ "name": "data",
280
+ "type": "bytes"
281
+ }
282
+ ],
283
+ "name": "executeTransaction",
284
+ "outputs": [],
285
+ "stateMutability": "nonpayable",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [
290
+ {
291
+ "internalType": "uint256",
292
+ "name": "",
293
+ "type": "uint256"
294
+ },
295
+ {
296
+ "internalType": "address",
297
+ "name": "",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "internalType": "address",
302
+ "name": "",
303
+ "type": "address"
304
+ },
305
+ {
306
+ "internalType": "uint256",
307
+ "name": "",
308
+ "type": "uint256"
309
+ },
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "",
313
+ "type": "uint256"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "",
318
+ "type": "uint256"
319
+ },
320
+ {
321
+ "internalType": "uint256",
322
+ "name": "",
323
+ "type": "uint256"
324
+ },
325
+ {
326
+ "internalType": "bytes",
327
+ "name": "",
328
+ "type": "bytes"
329
+ }
330
+ ],
331
+ "name": "executeTransactionSimulation",
332
+ "outputs": [],
333
+ "stateMutability": "pure",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "contract IBridge",
340
+ "name": "_bridge",
341
+ "type": "address"
342
+ }
343
+ ],
344
+ "name": "initialize",
345
+ "outputs": [],
346
+ "stateMutability": "nonpayable",
347
+ "type": "function"
348
+ },
349
+ {
350
+ "inputs": [
351
+ {
352
+ "internalType": "uint256",
353
+ "name": "",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "name": "isSpent",
358
+ "outputs": [
359
+ {
360
+ "internalType": "bool",
361
+ "name": "",
362
+ "type": "bool"
363
+ }
364
+ ],
365
+ "stateMutability": "view",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [],
370
+ "name": "l2ToL1BatchNum",
371
+ "outputs": [
372
+ {
373
+ "internalType": "uint256",
374
+ "name": "",
375
+ "type": "uint256"
376
+ }
377
+ ],
378
+ "stateMutability": "pure",
379
+ "type": "function"
380
+ },
381
+ {
382
+ "inputs": [],
383
+ "name": "l2ToL1Block",
384
+ "outputs": [
385
+ {
386
+ "internalType": "uint256",
387
+ "name": "",
388
+ "type": "uint256"
389
+ }
390
+ ],
391
+ "stateMutability": "view",
392
+ "type": "function"
393
+ },
394
+ {
395
+ "inputs": [],
396
+ "name": "l2ToL1EthBlock",
397
+ "outputs": [
398
+ {
399
+ "internalType": "uint256",
400
+ "name": "",
401
+ "type": "uint256"
402
+ }
403
+ ],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [],
409
+ "name": "l2ToL1OutputId",
410
+ "outputs": [
411
+ {
412
+ "internalType": "bytes32",
413
+ "name": "",
414
+ "type": "bytes32"
415
+ }
416
+ ],
417
+ "stateMutability": "view",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [],
422
+ "name": "l2ToL1Sender",
423
+ "outputs": [
424
+ {
425
+ "internalType": "address",
426
+ "name": "",
427
+ "type": "address"
428
+ }
429
+ ],
430
+ "stateMutability": "view",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [],
435
+ "name": "l2ToL1Timestamp",
436
+ "outputs": [
437
+ {
438
+ "internalType": "uint256",
439
+ "name": "",
440
+ "type": "uint256"
441
+ }
442
+ ],
443
+ "stateMutability": "view",
444
+ "type": "function"
445
+ },
446
+ {
447
+ "inputs": [],
448
+ "name": "rollup",
449
+ "outputs": [
450
+ {
451
+ "internalType": "address",
452
+ "name": "",
453
+ "type": "address"
454
+ }
455
+ ],
456
+ "stateMutability": "view",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [
461
+ {
462
+ "internalType": "bytes32",
463
+ "name": "",
464
+ "type": "bytes32"
465
+ }
466
+ ],
467
+ "name": "roots",
468
+ "outputs": [
469
+ {
470
+ "internalType": "bytes32",
471
+ "name": "",
472
+ "type": "bytes32"
473
+ }
474
+ ],
475
+ "stateMutability": "view",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "inputs": [
480
+ {
481
+ "internalType": "uint256",
482
+ "name": "",
483
+ "type": "uint256"
484
+ }
485
+ ],
486
+ "name": "spent",
487
+ "outputs": [
488
+ {
489
+ "internalType": "bytes32",
490
+ "name": "",
491
+ "type": "bytes32"
492
+ }
493
+ ],
494
+ "stateMutability": "pure",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [
499
+ {
500
+ "internalType": "bytes32",
501
+ "name": "root",
502
+ "type": "bytes32"
503
+ },
504
+ {
505
+ "internalType": "bytes32",
506
+ "name": "l2BlockHash",
507
+ "type": "bytes32"
508
+ }
509
+ ],
510
+ "name": "updateSendRoot",
511
+ "outputs": [],
512
+ "stateMutability": "nonpayable",
513
+ "type": "function"
514
+ }
515
+ ],
516
+ "bytecode": "0x60a06040523060805234801561001457600080fd5b5060805161113861002d600039600050506111386000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80639f0c04bf116100925780639f0c04bf146101d8578063a04cee60146101eb578063ae6dead7146101fe578063b0f305371461021e578063c4d66de81461022f578063c75184df14610242578063cb23bcb514610262578063d5b5cc2314610275578063e78cea921461028857600080fd5b80627436d3146100fa57806308635a95146101205780631198527114610135578063288e5b101461013c578063465477901461014f5780635a129efe1461016057806372f2a8c71461019357806380648b021461019b5780638515bc6a146101c0575b600080fd5b61010d610108366004610aa6565b61029b565b6040519081526020015b60405180910390f35b61013361012e366004610bcb565b6102d8565b005b600061010d565b61013361014a366004610cbf565b61061a565b6004546001600160801b031661010d565b61018361016e366004610d5a565b60026020526000908152604090205460ff1681565b6040519015158152602001610117565b60065461010d565b6007546001600160a01b03165b6040516001600160a01b039091168152602001610117565b600454600160801b90046001600160801b031661010d565b61010d6101e6366004610d73565b610659565b6101336101f9366004610e01565b61069e565b61010d61020c366004610d5a565b60036020526000908152604090205481565b6005546001600160801b031661010d565b61013361023d366004610e23565b6106dd565b61024a600281565b6040516001600160801b039091168152602001610117565b6000546101a8906001600160a01b031681565b61010d610283366004610d5a565b6107b6565b6001546101a8906001600160a01b031681565b60006102d08484846040516020016102b591815260200190565b604051602081830303815290604052805190602001206107f2565b949350505050565b6000806102eb8a8a8a8a8a8a8a8a610659565b905061032d8d8d808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508f92508591506108959050565b915060008a6001600160a01b03168a6001600160a01b03167f20af7f3bbfe38132b8900ae295cd9c8d1914be7052d061a511f3f728dab189648e60405161037691815260200190565b60405180910390a450600060046040518060a00160405290816000820160009054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016000820160109054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016001820160009054906101000a90046001600160801b03166001600160801b03166001600160801b03168152602001600282015481526020016003820160009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b03168152505090506040518060a00160405280896001600160801b03168152602001886001600160801b03168152602001876001600160801b031681526020018381526020018b6001600160a01b0316815250600460008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b0316021790555060408201518160010160006101000a8154816001600160801b0302191690836001600160801b031602179055506060820151816002015560808201518160030160006101000a8154816001600160a01b0302191690836001600160a01b031602179055509050506105a5898686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061099892505050565b805160208201516001600160801b03918216600160801b91831691909102176004556040820151600580546001600160801b03191691909216179055606081015160065560800151600780546001600160a01b0319166001600160a01b03909216919091179055505050505050505050505050565b60405162461bcd60e51b815260206004820152600f60248201526e139bdd081a5b5c1b195b595b9d1959608a1b60448201526064015b60405180910390fd5b6000888888888888888860405160200161067a989796959493929190610e47565b60405160208183030381529060405280519060200120905098975050505050505050565b60008281526003602052604080822083905551829184917fb4df3847300f076a369cd76d2314b470a1194d9e8a6bb97f1860aee88a5f67489190a35050565b6001546001600160a01b03161561070757604051633bcd329760e21b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040805163cb23bcb560e01b8152905163cb23bcb591600480820192602092909190829003018186803b15801561075b57600080fd5b505afa15801561076f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107939190610ea0565b600080546001600160a01b0319166001600160a01b039290921691909117905550565b60405162461bcd60e51b815260206004820152600e60248201526d1393d517d253541311535155115160921b6044820152600090606401610650565b825160009061010081111561082557604051637ed6198f60e11b8152600481018290526101006024820152604401610650565b8260005b8281101561088b57600087828151811061084557610845610ebd565b60200260200101519050816001901b87166000141561087257826000528060205260406000209250610882565b8060005282602052604060002092505b50600101610829565b5095945050505050565b60006101008451106108bf57835160405163ab6a068360e01b815260040161065091815260200190565b83516108cc906002610fcf565b83106109035782845160026108e19190610fcf565b604051630b8a724b60e01b815260048101929092526024820152604401610650565b600061091085858561029b565b600081815260036020526040902054909150610942576040516310e61af960e31b815260048101829052602401610650565b60008481526002602052604090205460ff161561097557604051639715b8d360e01b815260048101859052602401610650565b50506000828152600260205260409020805460ff19166001179055819392505050565b600154604051639e5d4c4960e01b815260009182916001600160a01b0390911690639e5d4c49906109d19088908890889060040161100b565b600060405180830381600087803b1580156109eb57600080fd5b505af11580156109ff573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a279190810190611054565b9150915081610a5957805115610a405780518082602001fd5b604051631bb7daad60e11b815260040160405180910390fd5b5050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610a9e57610a9e610a60565b604052919050565b600080600060608486031215610abb57600080fd5b83356001600160401b0380821115610ad257600080fd5b818601915086601f830112610ae657600080fd5b8135602082821115610afa57610afa610a60565b8160051b9250610b0b818401610a76565b828152928401810192818101908a851115610b2557600080fd5b948201945b84861015610b4357853582529482019490820190610b2a565b9a918901359950506040909701359695505050505050565b6001600160a01b0381168114610b7057600080fd5b50565b8035610b7e81610b5b565b919050565b60008083601f840112610b9557600080fd5b5081356001600160401b03811115610bac57600080fd5b602083019150836020828501011115610bc457600080fd5b9250929050565b60008060008060008060008060008060006101208c8e031215610bed57600080fd5b8b356001600160401b0380821115610c0457600080fd5b818e0191508e601f830112610c1857600080fd5b813581811115610c2757600080fd5b8f60208260051b8501011115610c3c57600080fd5b60208381019e50909c508e01359a50610c5760408f01610b73565b9950610c6560608f01610b73565b985060808e0135975060a08e0135965060c08e0135955060e08e013594506101008e0135915080821115610c9857600080fd5b50610ca58e828f01610b83565b915080935050809150509295989b509295989b9093969950565b60008060008060008060008060006101008a8c031215610cde57600080fd5b8935985060208a0135610cf081610b5b565b975060408a0135610d0081610b5b565b965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a01356001600160401b03811115610d3757600080fd5b610d438c828d01610b83565b915080935050809150509295985092959850929598565b600060208284031215610d6c57600080fd5b5035919050565b60008060008060008060008060e0898b031215610d8f57600080fd5b8835610d9a81610b5b565b97506020890135610daa81610b5b565b965060408901359550606089013594506080890135935060a0890135925060c08901356001600160401b03811115610de157600080fd5b610ded8b828c01610b83565b999c989b5096995094979396929594505050565b60008060408385031215610e1457600080fd5b50508035926020909101359150565b600060208284031215610e3557600080fd5b8135610e4081610b5b565b9392505050565b60006bffffffffffffffffffffffff19808b60601b168352808a60601b16601484015250876028830152866048830152856068830152846088830152828460a8840137506000910160a801908152979650505050505050565b600060208284031215610eb257600080fd5b8151610e4081610b5b565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115610f24578160001904821115610f0a57610f0a610ed3565b80851615610f1757918102915b93841c9390800290610eee565b509250929050565b600082610f3b57506001610fc9565b81610f4857506000610fc9565b8160018114610f5e5760028114610f6857610f84565b6001915050610fc9565b60ff841115610f7957610f79610ed3565b50506001821b610fc9565b5060208310610133831016604e8410600b8410161715610fa7575081810a610fc9565b610fb18383610ee9565b8060001904821115610fc557610fc5610ed3565b0290505b92915050565b6000610e408383610f2c565b60005b83811015610ff6578181015183820152602001610fde565b83811115611005576000848401525b50505050565b60018060a01b0384168152826020820152606060408201526000825180606084015261103e816080850160208701610fdb565b601f01601f191691909101608001949350505050565b6000806040838503121561106757600080fd5b8251801515811461107757600080fd5b60208401519092506001600160401b038082111561109457600080fd5b818501915085601f8301126110a857600080fd5b8151818111156110ba576110ba610a60565b6110cd601f8201601f1916602001610a76565b91508082528660208285010111156110e457600080fd5b6110f5816020840160208601610fdb565b508092505050925092905056fea2646970667358221220f5673b00ce0d655128c759ad4c880b41ae4d461b21d2925db7d1f0f13d99dfaf64736f6c63430008090033",
517
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80639f0c04bf116100925780639f0c04bf146101d8578063a04cee60146101eb578063ae6dead7146101fe578063b0f305371461021e578063c4d66de81461022f578063c75184df14610242578063cb23bcb514610262578063d5b5cc2314610275578063e78cea921461028857600080fd5b80627436d3146100fa57806308635a95146101205780631198527114610135578063288e5b101461013c578063465477901461014f5780635a129efe1461016057806372f2a8c71461019357806380648b021461019b5780638515bc6a146101c0575b600080fd5b61010d610108366004610aa6565b61029b565b6040519081526020015b60405180910390f35b61013361012e366004610bcb565b6102d8565b005b600061010d565b61013361014a366004610cbf565b61061a565b6004546001600160801b031661010d565b61018361016e366004610d5a565b60026020526000908152604090205460ff1681565b6040519015158152602001610117565b60065461010d565b6007546001600160a01b03165b6040516001600160a01b039091168152602001610117565b600454600160801b90046001600160801b031661010d565b61010d6101e6366004610d73565b610659565b6101336101f9366004610e01565b61069e565b61010d61020c366004610d5a565b60036020526000908152604090205481565b6005546001600160801b031661010d565b61013361023d366004610e23565b6106dd565b61024a600281565b6040516001600160801b039091168152602001610117565b6000546101a8906001600160a01b031681565b61010d610283366004610d5a565b6107b6565b6001546101a8906001600160a01b031681565b60006102d08484846040516020016102b591815260200190565b604051602081830303815290604052805190602001206107f2565b949350505050565b6000806102eb8a8a8a8a8a8a8a8a610659565b905061032d8d8d808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508f92508591506108959050565b915060008a6001600160a01b03168a6001600160a01b03167f20af7f3bbfe38132b8900ae295cd9c8d1914be7052d061a511f3f728dab189648e60405161037691815260200190565b60405180910390a450600060046040518060a00160405290816000820160009054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016000820160109054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016001820160009054906101000a90046001600160801b03166001600160801b03166001600160801b03168152602001600282015481526020016003820160009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b03168152505090506040518060a00160405280896001600160801b03168152602001886001600160801b03168152602001876001600160801b031681526020018381526020018b6001600160a01b0316815250600460008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b0316021790555060408201518160010160006101000a8154816001600160801b0302191690836001600160801b031602179055506060820151816002015560808201518160030160006101000a8154816001600160a01b0302191690836001600160a01b031602179055509050506105a5898686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061099892505050565b805160208201516001600160801b03918216600160801b91831691909102176004556040820151600580546001600160801b03191691909216179055606081015160065560800151600780546001600160a01b0319166001600160a01b03909216919091179055505050505050505050505050565b60405162461bcd60e51b815260206004820152600f60248201526e139bdd081a5b5c1b195b595b9d1959608a1b60448201526064015b60405180910390fd5b6000888888888888888860405160200161067a989796959493929190610e47565b60405160208183030381529060405280519060200120905098975050505050505050565b60008281526003602052604080822083905551829184917fb4df3847300f076a369cd76d2314b470a1194d9e8a6bb97f1860aee88a5f67489190a35050565b6001546001600160a01b03161561070757604051633bcd329760e21b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040805163cb23bcb560e01b8152905163cb23bcb591600480820192602092909190829003018186803b15801561075b57600080fd5b505afa15801561076f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107939190610ea0565b600080546001600160a01b0319166001600160a01b039290921691909117905550565b60405162461bcd60e51b815260206004820152600e60248201526d1393d517d253541311535155115160921b6044820152600090606401610650565b825160009061010081111561082557604051637ed6198f60e11b8152600481018290526101006024820152604401610650565b8260005b8281101561088b57600087828151811061084557610845610ebd565b60200260200101519050816001901b87166000141561087257826000528060205260406000209250610882565b8060005282602052604060002092505b50600101610829565b5095945050505050565b60006101008451106108bf57835160405163ab6a068360e01b815260040161065091815260200190565b83516108cc906002610fcf565b83106109035782845160026108e19190610fcf565b604051630b8a724b60e01b815260048101929092526024820152604401610650565b600061091085858561029b565b600081815260036020526040902054909150610942576040516310e61af960e31b815260048101829052602401610650565b60008481526002602052604090205460ff161561097557604051639715b8d360e01b815260048101859052602401610650565b50506000828152600260205260409020805460ff19166001179055819392505050565b600154604051639e5d4c4960e01b815260009182916001600160a01b0390911690639e5d4c49906109d19088908890889060040161100b565b600060405180830381600087803b1580156109eb57600080fd5b505af11580156109ff573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a279190810190611054565b9150915081610a5957805115610a405780518082602001fd5b604051631bb7daad60e11b815260040160405180910390fd5b5050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610a9e57610a9e610a60565b604052919050565b600080600060608486031215610abb57600080fd5b83356001600160401b0380821115610ad257600080fd5b818601915086601f830112610ae657600080fd5b8135602082821115610afa57610afa610a60565b8160051b9250610b0b818401610a76565b828152928401810192818101908a851115610b2557600080fd5b948201945b84861015610b4357853582529482019490820190610b2a565b9a918901359950506040909701359695505050505050565b6001600160a01b0381168114610b7057600080fd5b50565b8035610b7e81610b5b565b919050565b60008083601f840112610b9557600080fd5b5081356001600160401b03811115610bac57600080fd5b602083019150836020828501011115610bc457600080fd5b9250929050565b60008060008060008060008060008060006101208c8e031215610bed57600080fd5b8b356001600160401b0380821115610c0457600080fd5b818e0191508e601f830112610c1857600080fd5b813581811115610c2757600080fd5b8f60208260051b8501011115610c3c57600080fd5b60208381019e50909c508e01359a50610c5760408f01610b73565b9950610c6560608f01610b73565b985060808e0135975060a08e0135965060c08e0135955060e08e013594506101008e0135915080821115610c9857600080fd5b50610ca58e828f01610b83565b915080935050809150509295989b509295989b9093969950565b60008060008060008060008060006101008a8c031215610cde57600080fd5b8935985060208a0135610cf081610b5b565b975060408a0135610d0081610b5b565b965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a01356001600160401b03811115610d3757600080fd5b610d438c828d01610b83565b915080935050809150509295985092959850929598565b600060208284031215610d6c57600080fd5b5035919050565b60008060008060008060008060e0898b031215610d8f57600080fd5b8835610d9a81610b5b565b97506020890135610daa81610b5b565b965060408901359550606089013594506080890135935060a0890135925060c08901356001600160401b03811115610de157600080fd5b610ded8b828c01610b83565b999c989b5096995094979396929594505050565b60008060408385031215610e1457600080fd5b50508035926020909101359150565b600060208284031215610e3557600080fd5b8135610e4081610b5b565b9392505050565b60006bffffffffffffffffffffffff19808b60601b168352808a60601b16601484015250876028830152866048830152856068830152846088830152828460a8840137506000910160a801908152979650505050505050565b600060208284031215610eb257600080fd5b8151610e4081610b5b565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115610f24578160001904821115610f0a57610f0a610ed3565b80851615610f1757918102915b93841c9390800290610eee565b509250929050565b600082610f3b57506001610fc9565b81610f4857506000610fc9565b8160018114610f5e5760028114610f6857610f84565b6001915050610fc9565b60ff841115610f7957610f79610ed3565b50506001821b610fc9565b5060208310610133831016604e8410600b8410161715610fa7575081810a610fc9565b610fb18383610ee9565b8060001904821115610fc557610fc5610ed3565b0290505b92915050565b6000610e408383610f2c565b60005b83811015610ff6578181015183820152602001610fde565b83811115611005576000848401525b50505050565b60018060a01b0384168152826020820152606060408201526000825180606084015261103e816080850160208701610fdb565b601f01601f191691909101608001949350505050565b6000806040838503121561106757600080fd5b8251801515811461107757600080fd5b60208401519092506001600160401b038082111561109457600080fd5b818501915085601f8301126110a857600080fd5b8151818111156110ba576110ba610a60565b6110cd601f8201601f1916602001610a76565b91508082528660208285010111156110e457600080fd5b6110f5816020840160208601610fdb565b508092505050925092905056fea2646970667358221220f5673b00ce0d655128c759ad4c880b41ae4d461b21d2925db7d1f0f13d99dfaf64736f6c63430008090033",
518
+ "linkReferences": {},
519
+ "deployedLinkReferences": {}
520
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/97cf99d8d8c074541fa3471fd72ae177.json"
4
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RollupMock",
4
+ "sourceName": "src/test-helpers/RollupMock.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [],
9
+ "name": "WithdrawTriggered",
10
+ "type": "event"
11
+ },
12
+ {
13
+ "anonymous": false,
14
+ "inputs": [],
15
+ "name": "ZombieTriggered",
16
+ "type": "event"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "uint256",
22
+ "name": "",
23
+ "type": "uint256"
24
+ }
25
+ ],
26
+ "name": "removeOldZombies",
27
+ "outputs": [],
28
+ "stateMutability": "nonpayable",
29
+ "type": "function"
30
+ },
31
+ {
32
+ "inputs": [],
33
+ "name": "withdrawStakerFunds",
34
+ "outputs": [
35
+ {
36
+ "internalType": "uint256",
37
+ "name": "",
38
+ "type": "uint256"
39
+ }
40
+ ],
41
+ "stateMutability": "nonpayable",
42
+ "type": "function"
43
+ }
44
+ ],
45
+ "bytecode": "0x608060405234801561001057600080fd5b5061010b806100206000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806361373919146037578063edfd03ed14604f575b600080fd5b603d6060565b60405190815260200160405180910390f35b605e605a36600460bd565b6091565b005b6040516000907f1c09fbbf7cfd024f5e4e5472dd87afd5d67ee5db6a0ca715bf508d96abce309f908290a150600090565b6040517fb774f793432a37585a7638b9afe49e91c478887a2c0fef32877508bf2f76429d90600090a150565b60006020828403121560ce57600080fd5b503591905056fea2646970667358221220fd575fa37982e7cfe5e98f729329b318da15dae18c9c116159eb824e148203db64736f6c63430008090033",
46
+ "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c806361373919146037578063edfd03ed14604f575b600080fd5b603d6060565b60405190815260200160405180910390f35b605e605a36600460bd565b6091565b005b6040516000907f1c09fbbf7cfd024f5e4e5472dd87afd5d67ee5db6a0ca715bf508d96abce309f908290a150600090565b6040517fb774f793432a37585a7638b9afe49e91c478887a2c0fef32877508bf2f76429d90600090a150565b60006020828403121560ce57600080fd5b503591905056fea2646970667358221220fd575fa37982e7cfe5e98f729329b318da15dae18c9c116159eb824e148203db64736f6c63430008090033",
47
+ "linkReferences": {},
48
+ "deployedLinkReferences": {}
49
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/419b36ebbd1e491d550576571e91ba6c.json"
4
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ValueArrayTester",
4
+ "sourceName": "src/test-helpers/ValueArrayTester.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "test",
9
+ "outputs": [],
10
+ "stateMutability": "pure",
11
+ "type": "function"
12
+ }
13
+ ],
14
+ "bytecode": "0x608060405234801561001057600080fd5b50610731806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f8a8fd6d14610030575b600080fd5b61003861003a565b005b6040805160026020820181815260808301845260009383929083015b604080518082019091526000808252602082015281526020019060019003908161005657505090528051519091506002146100c45760405162461bcd60e51b815260206004820152600960248201526829aa20a92a2fa622a760b91b60448201526064015b60405180910390fd5b6100db60006100d360016103c2565b8391906103f5565b6100ea60016100d360026103c2565b6100fe6100f760036103c2565b829061041c565b80515160031461013b5760405162461bcd60e51b8152602060048201526008602482015267282aa9a42fa622a760c11b60448201526064016100bb565b60005b81515181101561020c5760006101548383610510565b905060008151600681111561016b5761016b61066f565b146101a85760405162461bcd60e51b815260206004820152600d60248201526c505553485f56414c5f5459504560981b60448201526064016100bb565b6101b382600161069b565b8160200151146101f95760405162461bcd60e51b8152602060048201526011602482015270505553485f56414c5f434f4e54454e545360781b60448201526064016100bb565b5080610204816106b3565b91505061013e565b50600061021882610548565b905060008151600681111561022f5761022f61066f565b1461026b5760405162461bcd60e51b815260206004820152600c60248201526b504f505f5245545f5459504560a01b60448201526064016100bb565b80602001516003146102b25760405162461bcd60e51b815260206004820152601060248201526f504f505f5245545f434f4e54454e545360801b60448201526064016100bb565b8151516002146102ee5760405162461bcd60e51b81526020600482015260076024820152662827a82fa622a760c91b60448201526064016100bb565b60005b8251518110156103bd5760006103078483610510565b905060008151600681111561031e5761031e61066f565b1461035a5760405162461bcd60e51b815260206004820152600c60248201526b504f505f56414c5f5459504560a01b60448201526064016100bb565b61036582600161069b565b8160200151146103aa5760405162461bcd60e51b815260206004820152601060248201526f504f505f56414c5f434f4e54454e545360801b60448201526064016100bb565b50806103b5816106b3565b9150506102f1565b505050565b604080518082019091526000808252602082015250604080518082019091526000815263ffffffff909116602082015290565b808360000151838151811061040c5761040c6106ce565b6020026020010181905250505050565b81515160009061042d90600161069b565b67ffffffffffffffff81111561044557610445610659565b60405190808252806020026020018201604052801561048a57816020015b60408051808201909152600080825260208201528152602001906001900390816104635790505b50905060005b8351518110156104e65783518051829081106104ae576104ae6106ce565b60200260200101518282815181106104c8576104c86106ce565b602002602001018190525080806104de906106b3565b915050610490565b508181846000015151815181106104ff576104ff6106ce565b602090810291909101015290915250565b60408051808201909152600080825260208201528251805183908110610538576105386106ce565b6020026020010151905092915050565b60408051808201909152600080825260208201528151805161056c906001906106e4565b8151811061057c5761057c6106ce565b602002602001015190506000600183600001515161059a91906106e4565b67ffffffffffffffff8111156105b2576105b2610659565b6040519080825280602002602001820160405280156105f757816020015b60408051808201909152600080825260208201528152602001906001900390816105d05790505b50905060005b815181101561065257835180518290811061061a5761061a6106ce565b6020026020010151828281518110610634576106346106ce565b6020026020010181905250808061064a906106b3565b9150506105fd565b5090915290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156106ae576106ae610685565b500190565b60006000198214156106c7576106c7610685565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000828210156106f6576106f6610685565b50039056fea2646970667358221220c6cfafe3f53469c58029948da334b995e9132932255ddf0f651a5c6105cbb6aa64736f6c63430008090033",
15
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f8a8fd6d14610030575b600080fd5b61003861003a565b005b6040805160026020820181815260808301845260009383929083015b604080518082019091526000808252602082015281526020019060019003908161005657505090528051519091506002146100c45760405162461bcd60e51b815260206004820152600960248201526829aa20a92a2fa622a760b91b60448201526064015b60405180910390fd5b6100db60006100d360016103c2565b8391906103f5565b6100ea60016100d360026103c2565b6100fe6100f760036103c2565b829061041c565b80515160031461013b5760405162461bcd60e51b8152602060048201526008602482015267282aa9a42fa622a760c11b60448201526064016100bb565b60005b81515181101561020c5760006101548383610510565b905060008151600681111561016b5761016b61066f565b146101a85760405162461bcd60e51b815260206004820152600d60248201526c505553485f56414c5f5459504560981b60448201526064016100bb565b6101b382600161069b565b8160200151146101f95760405162461bcd60e51b8152602060048201526011602482015270505553485f56414c5f434f4e54454e545360781b60448201526064016100bb565b5080610204816106b3565b91505061013e565b50600061021882610548565b905060008151600681111561022f5761022f61066f565b1461026b5760405162461bcd60e51b815260206004820152600c60248201526b504f505f5245545f5459504560a01b60448201526064016100bb565b80602001516003146102b25760405162461bcd60e51b815260206004820152601060248201526f504f505f5245545f434f4e54454e545360801b60448201526064016100bb565b8151516002146102ee5760405162461bcd60e51b81526020600482015260076024820152662827a82fa622a760c91b60448201526064016100bb565b60005b8251518110156103bd5760006103078483610510565b905060008151600681111561031e5761031e61066f565b1461035a5760405162461bcd60e51b815260206004820152600c60248201526b504f505f56414c5f5459504560a01b60448201526064016100bb565b61036582600161069b565b8160200151146103aa5760405162461bcd60e51b815260206004820152601060248201526f504f505f56414c5f434f4e54454e545360801b60448201526064016100bb565b50806103b5816106b3565b9150506102f1565b505050565b604080518082019091526000808252602082015250604080518082019091526000815263ffffffff909116602082015290565b808360000151838151811061040c5761040c6106ce565b6020026020010181905250505050565b81515160009061042d90600161069b565b67ffffffffffffffff81111561044557610445610659565b60405190808252806020026020018201604052801561048a57816020015b60408051808201909152600080825260208201528152602001906001900390816104635790505b50905060005b8351518110156104e65783518051829081106104ae576104ae6106ce565b60200260200101518282815181106104c8576104c86106ce565b602002602001018190525080806104de906106b3565b915050610490565b508181846000015151815181106104ff576104ff6106ce565b602090810291909101015290915250565b60408051808201909152600080825260208201528251805183908110610538576105386106ce565b6020026020010151905092915050565b60408051808201909152600080825260208201528151805161056c906001906106e4565b8151811061057c5761057c6106ce565b602002602001015190506000600183600001515161059a91906106e4565b67ffffffffffffffff8111156105b2576105b2610659565b6040519080825280602002602001820160405280156105f757816020015b60408051808201909152600080825260208201528152602001906001900390816105d05790505b50905060005b815181101561065257835180518290811061061a5761061a6106ce565b6020026020010151828281518110610634576106346106ce565b6020026020010181905250808061064a906106b3565b9150506105fd565b5090915290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156106ae576106ae610685565b500190565b60006000198214156106c7576106c7610685565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000828210156106f6576106f6610685565b50039056fea2646970667358221220c6cfafe3f53469c58029948da334b995e9132932255ddf0f651a5c6105cbb6aa64736f6c63430008090033",
16
+ "linkReferences": {},
17
+ "deployedLinkReferences": {}
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbitrum/nitro-contracts",
3
- "version": "1.0.3-beta.0",
3
+ "version": "1.0.3-beta.1",
4
4
  "description": "Layer 2 precompiles and rollup for Arbitrum Nitro",
5
5
  "author": "Offchain Labs, Inc.",
6
6
  "license": "BUSL-1.1",
@@ -9,7 +9,9 @@
9
9
  "url": "git+https://github.com/offchainlabs/nitro-contracts.git"
10
10
  },
11
11
  "files": [
12
- "src/"
12
+ "src/",
13
+ "build/contracts/src",
14
+ "build/contracts/@openzeppelin"
13
15
  ],
14
16
  "bugs": {
15
17
  "url": "https://github.com/offchainlabs/nitro-contracts/issues"