@etherisc/gif-next 0.0.2-d911522 → 0.0.2-d96b9e1-825

Sign up to get free protection for your applications and to get access to all the features.
Files changed (339) hide show
  1. package/README.md +109 -0
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/components/{Component.sol/Component.json → BaseComponent.sol/BaseComponent.json} +48 -53
  4. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  5. package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +48 -53
  6. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +356 -0
  8. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/{IProduct.sol → IProductComponent.sol}/IProductComponent.json +139 -52
  10. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  11. package/artifacts/contracts/components/Pool.sol/Pool.json +218 -44
  12. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  13. package/artifacts/contracts/components/Product.sol/Product.json +144 -70
  14. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  16. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  32. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  34. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  36. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  38. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  40. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1194 -220
  44. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
  46. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/Instance.sol/Instance.json +1443 -354
  48. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +300 -0
  50. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{product/ProductService.sol/ProductModule.json → base/IInstanceBase.sol/IInstanceBase.json} +18 -30
  52. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  53. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -0
  54. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  55. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  56. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/IService.sol/IService.json +300 -0
  58. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/InstanceBase.sol/InstanceBase.json} +137 -138
  60. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
  62. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  64. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
  66. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{component/IComponent.sol/IComponentContract.json → base/ServiceBase.sol/ServiceBase.json} +148 -27
  68. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
  69. package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
  70. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
  71. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
  72. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
  74. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +296 -0
  76. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
  78. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +296 -0
  80. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
  82. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
  84. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -0
  86. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  87. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +188 -0
  88. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
  90. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponentModule.json +40 -97
  92. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
  94. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +142 -112
  96. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +142 -112
  98. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
  100. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
  101. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +57 -57
  102. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +50 -63
  104. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
  106. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +10 -0
  108. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +10 -0
  110. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +10 -0
  112. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  113. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +533 -0
  114. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  115. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
  116. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  117. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +533 -0
  118. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  119. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +491 -0
  120. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +364 -0
  122. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +376 -0
  124. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +477 -0
  126. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +471 -0
  128. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +673 -0
  130. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  131. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
  132. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  133. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  134. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +103 -77
  135. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  136. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
  137. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  138. package/artifacts/contracts/registry/Registry.sol/Registry.json +194 -69
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  141. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  142. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  143. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  144. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +18 -63
  145. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  146. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  148. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +18 -63
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  150. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +164 -0
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  152. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  153. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  154. package/artifacts/contracts/test/TestPool.sol/TestPool.json +387 -0
  155. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  156. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +393 -0
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  158. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -0
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  160. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +82 -0
  161. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  162. package/artifacts/contracts/test/TestService.sol/TestService.json +379 -0
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  164. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  166. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  168. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +206 -0
  169. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  173. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  185. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  187. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +64 -2
  189. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +68 -55
  191. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/Version.sol/VersionLib.json +139 -0
  193. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  194. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  195. package/contracts/components/BaseComponent.sol +88 -0
  196. package/contracts/components/IBaseComponent.sol +19 -0
  197. package/contracts/components/IPoolComponent.sol +57 -0
  198. package/contracts/components/IProductComponent.sol +19 -0
  199. package/contracts/components/Pool.sol +161 -16
  200. package/contracts/components/Product.sol +77 -26
  201. package/contracts/experiment/errors/Require.sol +10 -5
  202. package/contracts/experiment/errors/Revert.sol +13 -8
  203. package/contracts/experiment/inheritance/A.sol +8 -11
  204. package/contracts/experiment/inheritance/B.sol +10 -5
  205. package/contracts/experiment/inheritance/C.sol +11 -5
  206. package/contracts/experiment/inheritance/IA.sol +2 -7
  207. package/contracts/experiment/inheritance/IB.sol +3 -2
  208. package/contracts/experiment/inheritance/IC.sol +4 -3
  209. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  210. package/contracts/experiment/statemachine/ISM.sol +25 -0
  211. package/contracts/experiment/statemachine/README.md +112 -0
  212. package/contracts/experiment/statemachine/SM.sol +57 -0
  213. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  214. package/contracts/experiment/types/TypeA.sol +14 -9
  215. package/contracts/experiment/types/TypeB.sol +14 -9
  216. package/contracts/instance/IInstance.sol +40 -8
  217. package/contracts/instance/IInstanceLinked.sol +8 -0
  218. package/contracts/instance/Instance.sol +47 -43
  219. package/contracts/instance/base/ComponentServiceBase.sol +42 -0
  220. package/contracts/instance/base/IInstanceBase.sol +14 -0
  221. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  222. package/contracts/instance/base/ILifecycle.sol +30 -0
  223. package/contracts/instance/base/IService.sol +15 -0
  224. package/contracts/instance/base/InstanceBase.sol +80 -0
  225. package/contracts/instance/base/KeyValueStore.sol +147 -0
  226. package/contracts/instance/base/Lifecycle.sol +95 -0
  227. package/contracts/instance/base/ModuleBase.sol +52 -0
  228. package/contracts/instance/base/ServiceBase.sol +37 -0
  229. package/contracts/instance/module/access/Access.sol +149 -0
  230. package/contracts/instance/module/access/IAccess.sol +53 -0
  231. package/contracts/instance/module/bundle/BundleModule.sol +136 -0
  232. package/contracts/instance/module/bundle/IBundle.sol +58 -0
  233. package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
  234. package/contracts/instance/module/compensation/ICompensation.sol +10 -0
  235. package/contracts/instance/module/component/ComponentModule.sol +95 -0
  236. package/contracts/instance/module/component/IComponent.sol +53 -0
  237. package/contracts/instance/module/policy/IPolicy.sol +60 -0
  238. package/contracts/instance/module/policy/PolicyModule.sol +76 -0
  239. package/contracts/instance/module/pool/IPoolModule.sol +41 -0
  240. package/contracts/instance/module/pool/PoolModule.sol +87 -0
  241. package/contracts/instance/module/risk/IRisk.sol +10 -0
  242. package/contracts/instance/module/risk/RiskModule.sol +8 -0
  243. package/contracts/instance/module/treasury/ITreasury.sol +103 -0
  244. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  245. package/contracts/instance/module/treasury/TreasuryModule.sol +152 -0
  246. package/contracts/instance/service/ComponentOwnerService.sol +170 -0
  247. package/contracts/instance/service/IComponentOwnerService.sol +22 -0
  248. package/contracts/instance/service/IPoolService.sol +30 -0
  249. package/contracts/instance/service/IProductService.sol +58 -0
  250. package/contracts/instance/service/PoolService.sol +123 -0
  251. package/contracts/instance/service/ProductService.sol +354 -0
  252. package/contracts/registry/ChainNft.sol +80 -94
  253. package/contracts/registry/IChainNft.sol +10 -7
  254. package/contracts/registry/IRegistry.sol +38 -51
  255. package/contracts/registry/IRegistryLinked.sol +8 -0
  256. package/contracts/registry/Registry.sol +310 -111
  257. package/contracts/shared/ERC165.sol +21 -0
  258. package/contracts/shared/IOwnable.sol +6 -0
  259. package/contracts/shared/IRegisterable.sol +24 -0
  260. package/contracts/shared/IVersionable.sol +52 -0
  261. package/contracts/shared/Registerable.sol +86 -0
  262. package/contracts/shared/Versionable.sol +89 -0
  263. package/contracts/test/TestFee.sol +25 -0
  264. package/contracts/test/TestPool.sol +22 -0
  265. package/contracts/test/TestProduct.sol +44 -0
  266. package/contracts/test/TestRegisterable.sol +19 -0
  267. package/contracts/test/TestRoleId.sol +14 -0
  268. package/contracts/test/TestService.sol +32 -0
  269. package/contracts/test/TestToken.sol +26 -0
  270. package/contracts/test/TestVersion.sol +44 -0
  271. package/contracts/test/TestVersionable.sol +17 -0
  272. package/contracts/types/AddressSet.sol +58 -0
  273. package/contracts/types/Blocknumber.sol +76 -18
  274. package/contracts/types/ChainId.sol +18 -10
  275. package/contracts/types/Fee.sol +51 -0
  276. package/contracts/types/Key32.sol +45 -0
  277. package/contracts/types/NftId.sol +48 -11
  278. package/contracts/types/NftIdSet.sol +60 -0
  279. package/contracts/types/ObjectType.sol +115 -0
  280. package/contracts/types/RoleId.sol +36 -0
  281. package/contracts/types/StateId.sol +101 -0
  282. package/contracts/types/Timestamp.sol +85 -17
  283. package/contracts/types/UFixed.sol +71 -72
  284. package/contracts/types/Version.sol +95 -0
  285. package/package.json +15 -4
  286. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  287. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  288. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  289. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  290. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  291. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  292. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  293. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  294. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  295. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  296. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  297. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  298. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  299. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  300. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  301. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  302. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  303. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  304. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  305. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  306. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  307. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  308. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  309. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  310. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  311. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  312. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  314. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  315. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  316. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  317. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  318. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  319. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  320. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  321. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  322. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  323. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  324. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  325. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  326. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  327. package/contracts/components/Component.sol +0 -62
  328. package/contracts/components/IPool.sol +0 -9
  329. package/contracts/components/IProduct.sol +0 -12
  330. package/contracts/instance/access/Access.sol +0 -218
  331. package/contracts/instance/access/IAccess.sol +0 -83
  332. package/contracts/instance/component/ComponentModule.sol +0 -248
  333. package/contracts/instance/component/IComponent.sol +0 -95
  334. package/contracts/instance/policy/IPolicy.sol +0 -66
  335. package/contracts/instance/policy/PolicyModule.sol +0 -107
  336. package/contracts/instance/pool/IPoolModule.sol +0 -41
  337. package/contracts/instance/pool/PoolModule.sol +0 -86
  338. package/contracts/instance/product/IProductService.sol +0 -46
  339. package/contracts/instance/product/ProductService.sol +0 -108
@@ -0,0 +1,111 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "Key32Lib",
4
+ "sourceName": "contracts/types/Key32.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ID_MASK",
9
+ "outputs": [
10
+ {
11
+ "internalType": "bytes32",
12
+ "name": "",
13
+ "type": "bytes32"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "inputs": [],
21
+ "name": "ID_SHIFT",
22
+ "outputs": [
23
+ {
24
+ "internalType": "uint8",
25
+ "name": "",
26
+ "type": "uint8"
27
+ }
28
+ ],
29
+ "stateMutability": "view",
30
+ "type": "function"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "TYPE_MASK",
35
+ "outputs": [
36
+ {
37
+ "internalType": "bytes32",
38
+ "name": "",
39
+ "type": "bytes32"
40
+ }
41
+ ],
42
+ "stateMutability": "view",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [],
47
+ "name": "TYPE_SHIFT",
48
+ "outputs": [
49
+ {
50
+ "internalType": "uint8",
51
+ "name": "",
52
+ "type": "uint8"
53
+ }
54
+ ],
55
+ "stateMutability": "view",
56
+ "type": "function"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "Key32",
62
+ "name": "key",
63
+ "type": "bytes32"
64
+ }
65
+ ],
66
+ "name": "toKey",
67
+ "outputs": [
68
+ {
69
+ "internalType": "ObjectType",
70
+ "name": "objectType",
71
+ "type": "uint8"
72
+ },
73
+ {
74
+ "internalType": "KeyId",
75
+ "name": "id",
76
+ "type": "bytes31"
77
+ }
78
+ ],
79
+ "stateMutability": "pure",
80
+ "type": "function"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "ObjectType",
86
+ "name": "objectType",
87
+ "type": "uint8"
88
+ },
89
+ {
90
+ "internalType": "KeyId",
91
+ "name": "id",
92
+ "type": "bytes31"
93
+ }
94
+ ],
95
+ "name": "toKey32",
96
+ "outputs": [
97
+ {
98
+ "internalType": "Key32",
99
+ "name": "",
100
+ "type": "bytes32"
101
+ }
102
+ ],
103
+ "stateMutability": "pure",
104
+ "type": "function"
105
+ }
106
+ ],
107
+ "bytecode": "0x6105cc610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c80630f94cc501461007157806329e9b2261461008f578063a4dc7d86146100ad578063d92bb60d146100de578063da3fe412146100fc578063f48016ce1461011a575b600080fd5b61007961014a565b60405161008691906102b0565b60405180910390f35b610097610174565b6040516100a491906102e7565b60405180910390f35b6100c760048036038101906100c29190610333565b610179565b6040516100d59291906103e8565b60405180910390f35b6100e66101ff565b6040516100f391906102b0565b60405180910390f35b61010461022a565b60405161011191906102e7565b60405180910390f35b610134600480360381019061012f9190610469565b61023f565b60405161014191906104ca565b60405180910390f35b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681565b60f881565b600080600083905060f860ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916821660001c901c925060f860ff166101006101c89190610522565b60ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916198216901b915050915091565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161981565b60f860ff1661010061023c9190610522565b81565b6000808360ff16905060008360081c7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff16905060008160f860ff1684901b6102869190610562565b90508060001b935050505092915050565b6000819050919050565b6102aa81610297565b82525050565b60006020820190506102c560008301846102a1565b92915050565b600060ff82169050919050565b6102e1816102cb565b82525050565b60006020820190506102fc60008301846102d8565b92915050565b600080fd5b61031081610297565b811461031b57600080fd5b50565b60008135905061032d81610307565b92915050565b60006020828403121561034957610348610302565b5b60006103578482850161031e565b91505092915050565b6000819050919050565b600061038561038061037b846102cb565b610360565b6102cb565b9050919050565b6103958161036a565b82525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b60006103d28261039b565b9050919050565b6103e2816103c7565b82525050565b60006040820190506103fd600083018561038c565b61040a60208301846103d9565b9392505050565b61041a816102cb565b811461042557600080fd5b50565b60008135905061043781610411565b92915050565b6104468161039b565b811461045157600080fd5b50565b6000813590506104638161043d565b92915050565b600080604083850312156104805761047f610302565b5b600061048e85828601610428565b925050602061049f85828601610454565b9150509250929050565b60006104b482610297565b9050919050565b6104c4816104a9565b82525050565b60006020820190506104df60008301846104bb565b92915050565b600061ffff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061052d826104e5565b9150610538836104e5565b9250828203905061ffff811115610552576105516104f3565b5b92915050565b6000819050919050565b600061056d82610558565b915061057883610558565b92508282019050808211156105905761058f6104f3565b5b9291505056fea264697066735822122015c089ac91547935a32ea5c13920c6c01e4ab99450eb5a453e3d3ffbb1297e3b64736f6c63430008140033",
108
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c80630f94cc501461007157806329e9b2261461008f578063a4dc7d86146100ad578063d92bb60d146100de578063da3fe412146100fc578063f48016ce1461011a575b600080fd5b61007961014a565b60405161008691906102b0565b60405180910390f35b610097610174565b6040516100a491906102e7565b60405180910390f35b6100c760048036038101906100c29190610333565b610179565b6040516100d59291906103e8565b60405180910390f35b6100e66101ff565b6040516100f391906102b0565b60405180910390f35b61010461022a565b60405161011191906102e7565b60405180910390f35b610134600480360381019061012f9190610469565b61023f565b60405161014191906104ca565b60405180910390f35b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681565b60f881565b600080600083905060f860ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916821660001c901c925060f860ff166101006101c89190610522565b60ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916198216901b915050915091565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161981565b60f860ff1661010061023c9190610522565b81565b6000808360ff16905060008360081c7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff16905060008160f860ff1684901b6102869190610562565b90508060001b935050505092915050565b6000819050919050565b6102aa81610297565b82525050565b60006020820190506102c560008301846102a1565b92915050565b600060ff82169050919050565b6102e1816102cb565b82525050565b60006020820190506102fc60008301846102d8565b92915050565b600080fd5b61031081610297565b811461031b57600080fd5b50565b60008135905061032d81610307565b92915050565b60006020828403121561034957610348610302565b5b60006103578482850161031e565b91505092915050565b6000819050919050565b600061038561038061037b846102cb565b610360565b6102cb565b9050919050565b6103958161036a565b82525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b60006103d28261039b565b9050919050565b6103e2816103c7565b82525050565b60006040820190506103fd600083018561038c565b61040a60208301846103d9565b9392505050565b61041a816102cb565b811461042557600080fd5b50565b60008135905061043781610411565b92915050565b6104468161039b565b811461045157600080fd5b50565b6000813590506104638161043d565b92915050565b600080604083850312156104805761047f610302565b5b600061048e85828601610428565b925050602061049f85828601610454565b9150509250929050565b60006104b482610297565b9050919050565b6104c4816104a9565b82525050565b60006020820190506104df60008301846104bb565b92915050565b600061ffff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061052d826104e5565b9150610538836104e5565b9250828203905061ffff811115610552576105516104f3565b5b92915050565b6000819050919050565b600061056d82610558565b915061057883610558565b92508282019050808211156105905761058f6104f3565b5b9291505056fea264697066735822122015c089ac91547935a32ea5c13920c6c01e4ab99450eb5a453e3d3ffbb1297e3b64736f6c63430008140033",
109
+ "linkReferences": {},
110
+ "deployedLinkReferences": {}
111
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5d58518916abd285d6742c7724f5c203.json"
3
+ "buildInfo": "../../../build-info/746f2ad7b0d888e05db828a61f6d5e10.json"
4
4
  }
@@ -83,10 +83,71 @@
83
83
  ],
84
84
  "stateMutability": "pure",
85
85
  "type": "function"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "NftId",
91
+ "name": "id",
92
+ "type": "uint96"
93
+ },
94
+ {
95
+ "internalType": "ObjectType",
96
+ "name": "objectType",
97
+ "type": "uint8"
98
+ }
99
+ ],
100
+ "name": "toKey32",
101
+ "outputs": [
102
+ {
103
+ "internalType": "Key32",
104
+ "name": "key",
105
+ "type": "bytes32"
106
+ }
107
+ ],
108
+ "stateMutability": "pure",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "NftId",
115
+ "name": "id",
116
+ "type": "uint96"
117
+ }
118
+ ],
119
+ "name": "toKeyId",
120
+ "outputs": [
121
+ {
122
+ "internalType": "KeyId",
123
+ "name": "keyId",
124
+ "type": "bytes31"
125
+ }
126
+ ],
127
+ "stateMutability": "pure",
128
+ "type": "function"
86
129
  }
87
130
  ],
88
- "bytecode": "0x6102e2610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c806308dc895e1461005b57806330b8415f1461008b57806352694ee8146100bb578063c4cade9d146100eb575b600080fd5b610075600480360381019061007091906101df565b61011b565b604051610082919061021b565b60405180910390f35b6100a560048036038101906100a091906101df565b610125565b6040516100b29190610251565b60405180910390f35b6100d560048036038101906100d091906101df565b61013f565b6040516100e29190610251565b60405180910390f35b6101056004803603810190610100919061026c565b610159565b6040516101129190610251565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610165838361016d565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6101bc8161019b565b81146101c757600080fd5b50565b6000813590506101d9816101b3565b92915050565b6000602082840312156101f5576101f4610196565b5b6000610203848285016101ca565b91505092915050565b6102158161019b565b82525050565b6000602082019050610230600083018461020c565b92915050565b60008115159050919050565b61024b81610236565b82525050565b60006020820190506102666000830184610242565b92915050565b6000806040838503121561028357610282610196565b5b6000610291858286016101ca565b92505060206102a2858286016101ca565b915050925092905056fea264697066735822122055c506374fbe6d33aafb031778f35f7d28d6e6f8afcfb93598673c7f2a4e119a64736f6c63430008140033",
89
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c806308dc895e1461005b57806330b8415f1461008b57806352694ee8146100bb578063c4cade9d146100eb575b600080fd5b610075600480360381019061007091906101df565b61011b565b604051610082919061021b565b60405180910390f35b6100a560048036038101906100a091906101df565b610125565b6040516100b29190610251565b60405180910390f35b6100d560048036038101906100d091906101df565b61013f565b6040516100e29190610251565b60405180910390f35b6101056004803603810190610100919061026c565b610159565b6040516101129190610251565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610165838361016d565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6101bc8161019b565b81146101c757600080fd5b50565b6000813590506101d9816101b3565b92915050565b6000602082840312156101f5576101f4610196565b5b6000610203848285016101ca565b91505092915050565b6102158161019b565b82525050565b6000602082019050610230600083018461020c565b92915050565b60008115159050919050565b61024b81610236565b82525050565b60006020820190506102666000830184610242565b92915050565b6000806040838503121561028357610282610196565b5b6000610291858286016101ca565b92505060206102a2858286016101ca565b915050925092905056fea264697066735822122055c506374fbe6d33aafb031778f35f7d28d6e6f8afcfb93598673c7f2a4e119a64736f6c63430008140033",
90
- "linkReferences": {},
91
- "deployedLinkReferences": {}
131
+ "bytecode": "0x6105e3610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806308dc895e1461007157806330b8415f146100a15780633889a4c8146100d157806340a8cd9e1461010157806352694ee814610131578063c4cade9d14610161575b600080fd5b61008b600480360381019061008691906102fc565b610191565b6040516100989190610338565b60405180910390f35b6100bb60048036038101906100b691906102fc565b61019b565b6040516100c8919061036e565b60405180910390f35b6100eb60048036038101906100e691906103c2565b6101b5565b6040516100f8919061042d565b60405180910390f35b61011b600480360381019061011691906102fc565b610241565b6040516101289190610495565b60405180910390f35b61014b600480360381019061014691906102fc565b61025c565b604051610158919061036e565b60405180910390f35b61017b600480360381019061017691906104b0565b610276565b604051610188919061036e565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce836101db86610241565b6040518363ffffffff1660e01b81526004016101f892919061052b565b602060405180830381865af4158015610215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102399190610580565b905092915050565b6000816bffffffffffffffffffffffff1660081b9050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610282838361028a565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6102d9816102b8565b81146102e457600080fd5b50565b6000813590506102f6816102d0565b92915050565b600060208284031215610312576103116102b3565b5b6000610320848285016102e7565b91505092915050565b610332816102b8565b82525050565b600060208201905061034d6000830184610329565b92915050565b60008115159050919050565b61036881610353565b82525050565b6000602082019050610383600083018461035f565b92915050565b600060ff82169050919050565b61039f81610389565b81146103aa57600080fd5b50565b6000813590506103bc81610396565b92915050565b600080604083850312156103d9576103d86102b3565b5b60006103e7858286016102e7565b92505060206103f8858286016103ad565b9150509250929050565b6000819050919050565b600061041782610402565b9050919050565b6104278161040c565b82525050565b6000602082019050610442600083018461041e565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b600061047f82610448565b9050919050565b61048f81610474565b82525050565b60006020820190506104aa6000830184610486565b92915050565b600080604083850312156104c7576104c66102b3565b5b60006104d5858286016102e7565b92505060206104e6858286016102e7565b9150509250929050565b6000819050919050565b600061051561051061050b84610389565b6104f0565b610389565b9050919050565b610525816104fa565b82525050565b6000604082019050610540600083018561051c565b61054d6020830184610486565b9392505050565b61055d81610402565b811461056857600080fd5b50565b60008151905061057a81610554565b92915050565b600060208284031215610596576105956102b3565b5b60006105a48482850161056b565b9150509291505056fea26469706673582212207d716f98f6a7f53a1e3b3b9186369103d05a2c3783045946ebebf5361ea67d0564736f6c63430008140033",
132
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806308dc895e1461007157806330b8415f146100a15780633889a4c8146100d157806340a8cd9e1461010157806352694ee814610131578063c4cade9d14610161575b600080fd5b61008b600480360381019061008691906102fc565b610191565b6040516100989190610338565b60405180910390f35b6100bb60048036038101906100b691906102fc565b61019b565b6040516100c8919061036e565b60405180910390f35b6100eb60048036038101906100e691906103c2565b6101b5565b6040516100f8919061042d565b60405180910390f35b61011b600480360381019061011691906102fc565b610241565b6040516101289190610495565b60405180910390f35b61014b600480360381019061014691906102fc565b61025c565b604051610158919061036e565b60405180910390f35b61017b600480360381019061017691906104b0565b610276565b604051610188919061036e565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce836101db86610241565b6040518363ffffffff1660e01b81526004016101f892919061052b565b602060405180830381865af4158015610215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102399190610580565b905092915050565b6000816bffffffffffffffffffffffff1660081b9050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610282838361028a565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6102d9816102b8565b81146102e457600080fd5b50565b6000813590506102f6816102d0565b92915050565b600060208284031215610312576103116102b3565b5b6000610320848285016102e7565b91505092915050565b610332816102b8565b82525050565b600060208201905061034d6000830184610329565b92915050565b60008115159050919050565b61036881610353565b82525050565b6000602082019050610383600083018461035f565b92915050565b600060ff82169050919050565b61039f81610389565b81146103aa57600080fd5b50565b6000813590506103bc81610396565b92915050565b600080604083850312156103d9576103d86102b3565b5b60006103e7858286016102e7565b92505060206103f8858286016103ad565b9150509250929050565b6000819050919050565b600061041782610402565b9050919050565b6104278161040c565b82525050565b6000602082019050610442600083018461041e565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b600061047f82610448565b9050919050565b61048f81610474565b82525050565b60006020820190506104aa6000830184610486565b92915050565b600080604083850312156104c7576104c66102b3565b5b60006104d5858286016102e7565b92505060206104e6858286016102e7565b9150509250929050565b6000819050919050565b600061051561051061050b84610389565b6104f0565b610389565b9050919050565b610525816104fa565b82525050565b6000604082019050610540600083018561051c565b61054d6020830184610486565b9392505050565b61055d81610402565b811461056857600080fd5b50565b60008151905061057a81610554565b92915050565b600060208284031215610596576105956102b3565b5b60006105a48482850161056b565b9150509291505056fea26469706673582212207d716f98f6a7f53a1e3b3b9186369103d05a2c3783045946ebebf5361ea67d0564736f6c63430008140033",
133
+ "linkReferences": {
134
+ "contracts/types/Key32.sol": {
135
+ "Key32Lib": [
136
+ {
137
+ "length": 20,
138
+ "start": 524
139
+ }
140
+ ]
141
+ }
142
+ },
143
+ "deployedLinkReferences": {
144
+ "contracts/types/Key32.sol": {
145
+ "Key32Lib": [
146
+ {
147
+ "length": 20,
148
+ "start": 441
149
+ }
150
+ ]
151
+ }
152
+ }
92
153
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/746f2ad7b0d888e05db828a61f6d5e10.json"
4
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "LibNftIdSet",
4
+ "sourceName": "contracts/types/NftIdSet.sol",
5
+ "abi": [],
6
+ "bytecode": "0x610838610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c80632bfdd6b91461007157806331a97de2146100a1578063a3082a18146100d1578063a73d57561461010e578063d2fa1e361461014b578063e797d8991461017b575b600080fd5b61008b600480360381019061008691906105a8565b6101ab565b6040516100989190610603565b60405180910390f35b6100bb60048036038101906100b6919061061e565b6101e9565b6040516100c89190610603565b60405180910390f35b8180156100dd57600080fd5b506100f860048036038101906100f391906105a8565b6101fc565b6040516101059190610603565b60405180910390f35b81801561011a57600080fd5b50610135600480360381019061013091906105a8565b6102e7565b6040516101429190610603565b60405180910390f35b6101656004803603810190610160919061061e565b6104ca565b6040516101729190610664565b60405180910390f35b610195600480360381019061019091906106ab565b6104db565b6040516101a29190610726565b60405180910390f35b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000205411905092915050565b6000808260000180549050149050919050565b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002054036102dc5782600001829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055508260000180549050836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002081905550600190506102e1565b600090505b92915050565b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002054905060008111156104be5760006001826103369190610770565b905060006001866000018054905061034e9190610770565b905081811461043157600086600001828154811061036f5761036e6107a4565b5b9060005260206000209060029182820401919006600c029054906101000a90046bffffffffffffffffffffffff169050808760000184815481106103b6576103b56107a4565b5b9060005260206000209060029182820401919006600c026101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555083876001016000836bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002081905550505b85600001805480610445576104446107d3565b5b6001900381819060005260206000209060029182820401919006600c026101000a8154906bffffffffffffffffffffffff02191690559055856001016000866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060009055600193505050506104c4565b60009150505b92915050565b600081600001805490509050919050565b60008260000182815481106104f3576104f26107a4565b5b9060005260206000209060029182820401919006600c029054906101000a90046bffffffffffffffffffffffff16905092915050565b600080fd5b6000819050919050565b6105418161052e565b811461054c57600080fd5b50565b60008135905061055e81610538565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61058581610564565b811461059057600080fd5b50565b6000813590506105a28161057c565b92915050565b600080604083850312156105bf576105be610529565b5b60006105cd8582860161054f565b92505060206105de85828601610593565b9150509250929050565b60008115159050919050565b6105fd816105e8565b82525050565b600060208201905061061860008301846105f4565b92915050565b60006020828403121561063457610633610529565b5b60006106428482850161054f565b91505092915050565b6000819050919050565b61065e8161064b565b82525050565b60006020820190506106796000830184610655565b92915050565b6106888161064b565b811461069357600080fd5b50565b6000813590506106a58161067f565b92915050565b600080604083850312156106c2576106c1610529565b5b60006106d08582860161054f565b92505060206106e185828601610696565b9150509250929050565b6000819050919050565b600061071061070b61070684610564565b6106eb565b610564565b9050919050565b610720816106f5565b82525050565b600060208201905061073b6000830184610717565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061077b8261064b565b91506107868361064b565b925082820390508181111561079e5761079d610741565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220b9807fed6dad0bfe1b1e1c6ca92c60c83c9238d756782f500fcc32d3bffd456d64736f6c63430008140033",
7
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c80632bfdd6b91461007157806331a97de2146100a1578063a3082a18146100d1578063a73d57561461010e578063d2fa1e361461014b578063e797d8991461017b575b600080fd5b61008b600480360381019061008691906105a8565b6101ab565b6040516100989190610603565b60405180910390f35b6100bb60048036038101906100b6919061061e565b6101e9565b6040516100c89190610603565b60405180910390f35b8180156100dd57600080fd5b506100f860048036038101906100f391906105a8565b6101fc565b6040516101059190610603565b60405180910390f35b81801561011a57600080fd5b50610135600480360381019061013091906105a8565b6102e7565b6040516101429190610603565b60405180910390f35b6101656004803603810190610160919061061e565b6104ca565b6040516101729190610664565b60405180910390f35b610195600480360381019061019091906106ab565b6104db565b6040516101a29190610726565b60405180910390f35b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000205411905092915050565b6000808260000180549050149050919050565b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002054036102dc5782600001829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055508260000180549050836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002081905550600190506102e1565b600090505b92915050565b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002054905060008111156104be5760006001826103369190610770565b905060006001866000018054905061034e9190610770565b905081811461043157600086600001828154811061036f5761036e6107a4565b5b9060005260206000209060029182820401919006600c029054906101000a90046bffffffffffffffffffffffff169050808760000184815481106103b6576103b56107a4565b5b9060005260206000209060029182820401919006600c026101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555083876001016000836bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002081905550505b85600001805480610445576104446107d3565b5b6001900381819060005260206000209060029182820401919006600c026101000a8154906bffffffffffffffffffffffff02191690559055856001016000866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060009055600193505050506104c4565b60009150505b92915050565b600081600001805490509050919050565b60008260000182815481106104f3576104f26107a4565b5b9060005260206000209060029182820401919006600c029054906101000a90046bffffffffffffffffffffffff16905092915050565b600080fd5b6000819050919050565b6105418161052e565b811461054c57600080fd5b50565b60008135905061055e81610538565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61058581610564565b811461059057600080fd5b50565b6000813590506105a28161057c565b92915050565b600080604083850312156105bf576105be610529565b5b60006105cd8582860161054f565b92505060206105de85828601610593565b9150509250929050565b60008115159050919050565b6105fd816105e8565b82525050565b600060208201905061061860008301846105f4565b92915050565b60006020828403121561063457610633610529565b5b60006106428482850161054f565b91505092915050565b6000819050919050565b61065e8161064b565b82525050565b60006020820190506106796000830184610655565b92915050565b6106888161064b565b811461069357600080fd5b50565b6000813590506106a58161067f565b92915050565b600080604083850312156106c2576106c1610529565b5b60006106d08582860161054f565b92505060206106e185828601610696565b9150509250929050565b6000819050919050565b600061071061070b61070684610564565b6106eb565b610564565b9050919050565b610720816106f5565b82525050565b600060208201905061073b6000830184610717565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061077b8261064b565b91506107868361064b565b925082820390508181111561079e5761079d610741565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220b9807fed6dad0bfe1b1e1c6ca92c60c83c9238d756782f500fcc32d3bffd456d64736f6c63430008140033",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/746f2ad7b0d888e05db828a61f6d5e10.json"
4
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ObjectTypeLib",
4
+ "sourceName": "contracts/types/ObjectType.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "ObjectType",
10
+ "name": "a",
11
+ "type": "uint8"
12
+ },
13
+ {
14
+ "internalType": "ObjectType",
15
+ "name": "b",
16
+ "type": "uint8"
17
+ }
18
+ ],
19
+ "name": "eq",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bool",
23
+ "name": "isSame",
24
+ "type": "bool"
25
+ }
26
+ ],
27
+ "stateMutability": "pure",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "ObjectType",
34
+ "name": "a",
35
+ "type": "uint8"
36
+ }
37
+ ],
38
+ "name": "eqz",
39
+ "outputs": [
40
+ {
41
+ "internalType": "bool",
42
+ "name": "",
43
+ "type": "bool"
44
+ }
45
+ ],
46
+ "stateMutability": "pure",
47
+ "type": "function"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "ObjectType",
53
+ "name": "a",
54
+ "type": "uint8"
55
+ }
56
+ ],
57
+ "name": "gtz",
58
+ "outputs": [
59
+ {
60
+ "internalType": "bool",
61
+ "name": "",
62
+ "type": "bool"
63
+ }
64
+ ],
65
+ "stateMutability": "pure",
66
+ "type": "function"
67
+ },
68
+ {
69
+ "inputs": [
70
+ {
71
+ "internalType": "ObjectType",
72
+ "name": "objectType",
73
+ "type": "uint8"
74
+ }
75
+ ],
76
+ "name": "toInt",
77
+ "outputs": [
78
+ {
79
+ "internalType": "uint96",
80
+ "name": "",
81
+ "type": "uint96"
82
+ }
83
+ ],
84
+ "stateMutability": "pure",
85
+ "type": "function"
86
+ }
87
+ ],
88
+ "bytecode": "0x6102c6610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea264697066735822122052cc6ad67bf4a6cb971b7b44f7561859da74722168fa5d78f849d4135189e83d64736f6c63430008140033",
89
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea264697066735822122052cc6ad67bf4a6cb971b7b44f7561859da74722168fa5d78f849d4135189e83d64736f6c63430008140033",
90
+ "linkReferences": {},
91
+ "deployedLinkReferences": {}
92
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/746f2ad7b0d888e05db828a61f6d5e10.json"
4
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "StateIdLib",
4
+ "sourceName": "contracts/types/StateId.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "StateId",
10
+ "name": "a",
11
+ "type": "uint8"
12
+ },
13
+ {
14
+ "internalType": "StateId",
15
+ "name": "b",
16
+ "type": "uint8"
17
+ }
18
+ ],
19
+ "name": "eq",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bool",
23
+ "name": "isSame",
24
+ "type": "bool"
25
+ }
26
+ ],
27
+ "stateMutability": "pure",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "StateId",
34
+ "name": "a",
35
+ "type": "uint8"
36
+ }
37
+ ],
38
+ "name": "eqz",
39
+ "outputs": [
40
+ {
41
+ "internalType": "bool",
42
+ "name": "",
43
+ "type": "bool"
44
+ }
45
+ ],
46
+ "stateMutability": "pure",
47
+ "type": "function"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "StateId",
53
+ "name": "a",
54
+ "type": "uint8"
55
+ }
56
+ ],
57
+ "name": "gtz",
58
+ "outputs": [
59
+ {
60
+ "internalType": "bool",
61
+ "name": "",
62
+ "type": "bool"
63
+ }
64
+ ],
65
+ "stateMutability": "pure",
66
+ "type": "function"
67
+ },
68
+ {
69
+ "inputs": [
70
+ {
71
+ "internalType": "StateId",
72
+ "name": "stateId",
73
+ "type": "uint8"
74
+ }
75
+ ],
76
+ "name": "toInt",
77
+ "outputs": [
78
+ {
79
+ "internalType": "uint96",
80
+ "name": "",
81
+ "type": "uint96"
82
+ }
83
+ ],
84
+ "stateMutability": "pure",
85
+ "type": "function"
86
+ }
87
+ ],
88
+ "bytecode": "0x6102c6610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea26469706673582212202d010a9f19ce99c696fbc98cbcbd9006dae1fd1468643e2c9eba71c179cafce064736f6c63430008140033",
89
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea26469706673582212202d010a9f19ce99c696fbc98cbcbd9006dae1fd1468643e2c9eba71c179cafce064736f6c63430008140033",
90
+ "linkReferences": {},
91
+ "deployedLinkReferences": {}
92
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5d58518916abd285d6742c7724f5c203.json"
3
+ "buildInfo": "../../../build-info/746f2ad7b0d888e05db828a61f6d5e10.json"
4
4
  }
@@ -3,6 +3,30 @@
3
3
  "contractName": "TimestampLib",
4
4
  "sourceName": "contracts/types/Timestamp.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "Timestamp",
10
+ "name": "timestamp",
11
+ "type": "uint40"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "timeDelta",
16
+ "type": "uint256"
17
+ }
18
+ ],
19
+ "name": "addSeconds",
20
+ "outputs": [
21
+ {
22
+ "internalType": "Timestamp",
23
+ "name": "",
24
+ "type": "uint40"
25
+ }
26
+ ],
27
+ "stateMutability": "pure",
28
+ "type": "function"
29
+ },
6
30
  {
7
31
  "inputs": [
8
32
  {
@@ -27,6 +51,25 @@
27
51
  "stateMutability": "pure",
28
52
  "type": "function"
29
53
  },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "Timestamp",
58
+ "name": "timestamp",
59
+ "type": "uint40"
60
+ }
61
+ ],
62
+ "name": "eqz",
63
+ "outputs": [
64
+ {
65
+ "internalType": "bool",
66
+ "name": "",
67
+ "type": "bool"
68
+ }
69
+ ],
70
+ "stateMutability": "pure",
71
+ "type": "function"
72
+ },
30
73
  {
31
74
  "inputs": [
32
75
  {
@@ -75,6 +118,25 @@
75
118
  "stateMutability": "pure",
76
119
  "type": "function"
77
120
  },
121
+ {
122
+ "inputs": [
123
+ {
124
+ "internalType": "Timestamp",
125
+ "name": "timestamp",
126
+ "type": "uint40"
127
+ }
128
+ ],
129
+ "name": "gtz",
130
+ "outputs": [
131
+ {
132
+ "internalType": "bool",
133
+ "name": "",
134
+ "type": "bool"
135
+ }
136
+ ],
137
+ "stateMutability": "pure",
138
+ "type": "function"
139
+ },
78
140
  {
79
141
  "inputs": [
80
142
  {
@@ -167,8 +229,8 @@
167
229
  "type": "function"
168
230
  }
169
231
  ],
170
- "bytecode": "0x610459610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c8063add9ce9911610065578063add9ce991461011c578063c24922ce1461014c578063da09d4841461017c578063ddf3d631146101ac57610087565b806383ffcdef1461008c57806394335b1a146100bc5780639df87639146100ec575b600080fd5b6100a660048036038101906100a1919061034c565b6101dc565b6040516100b391906103a7565b60405180910390f35b6100d660048036038101906100d1919061034c565b6101f0565b6040516100e391906103a7565b60405180910390f35b6101066004803603810190610101919061034c565b610204565b60405161011391906103a7565b60405180910390f35b6101366004803603810190610131919061034c565b610218565b60405161014391906103a7565b60405180910390f35b6101666004803603810190610161919061034c565b61022c565b60405161017391906103a7565b60405180910390f35b610196600480360381019061019191906103c2565b610240565b6040516101a39190610408565b60405180910390f35b6101c660048036038101906101c1919061034c565b610251565b6040516101d391906103a7565b60405180910390f35b60006101e88383610265565b905092915050565b60006101fc8383610280565b905092915050565b6000610210838361029c565b905092915050565b600061022483836102b7565b905092915050565b600061023883836102d2565b905092915050565b60008164ffffffffff169050919050565b600061025d83836102ee565b905092915050565b60008164ffffffffff168364ffffffffff1611905092915050565b60008164ffffffffff168364ffffffffff161115905092915050565b60008164ffffffffff168364ffffffffff1614905092915050565b60008164ffffffffff168364ffffffffff1610905092915050565b60008164ffffffffff168364ffffffffff161015905092915050565b60008164ffffffffff168364ffffffffff161415905092915050565b600080fd5b600064ffffffffff82169050919050565b6103298161030f565b811461033457600080fd5b50565b60008135905061034681610320565b92915050565b600080604083850312156103635761036261030a565b5b600061037185828601610337565b925050602061038285828601610337565b9150509250929050565b60008115159050919050565b6103a18161038c565b82525050565b60006020820190506103bc6000830184610398565b92915050565b6000602082840312156103d8576103d761030a565b5b60006103e684828501610337565b91505092915050565b6000819050919050565b610402816103ef565b82525050565b600060208201905061041d60008301846103f9565b9291505056fea264697066735822122048c2371eab33467f3c6be4635fa8f7e413187dc1dcdc45d51411cb1ef4238d1964736f6c63430008140033",
171
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c8063add9ce9911610065578063add9ce991461011c578063c24922ce1461014c578063da09d4841461017c578063ddf3d631146101ac57610087565b806383ffcdef1461008c57806394335b1a146100bc5780639df87639146100ec575b600080fd5b6100a660048036038101906100a1919061034c565b6101dc565b6040516100b391906103a7565b60405180910390f35b6100d660048036038101906100d1919061034c565b6101f0565b6040516100e391906103a7565b60405180910390f35b6101066004803603810190610101919061034c565b610204565b60405161011391906103a7565b60405180910390f35b6101366004803603810190610131919061034c565b610218565b60405161014391906103a7565b60405180910390f35b6101666004803603810190610161919061034c565b61022c565b60405161017391906103a7565b60405180910390f35b610196600480360381019061019191906103c2565b610240565b6040516101a39190610408565b60405180910390f35b6101c660048036038101906101c1919061034c565b610251565b6040516101d391906103a7565b60405180910390f35b60006101e88383610265565b905092915050565b60006101fc8383610280565b905092915050565b6000610210838361029c565b905092915050565b600061022483836102b7565b905092915050565b600061023883836102d2565b905092915050565b60008164ffffffffff169050919050565b600061025d83836102ee565b905092915050565b60008164ffffffffff168364ffffffffff1611905092915050565b60008164ffffffffff168364ffffffffff161115905092915050565b60008164ffffffffff168364ffffffffff1614905092915050565b60008164ffffffffff168364ffffffffff1610905092915050565b60008164ffffffffff168364ffffffffff161015905092915050565b60008164ffffffffff168364ffffffffff161415905092915050565b600080fd5b600064ffffffffff82169050919050565b6103298161030f565b811461033457600080fd5b50565b60008135905061034681610320565b92915050565b600080604083850312156103635761036261030a565b5b600061037185828601610337565b925050602061038285828601610337565b9150509250929050565b60008115159050919050565b6103a18161038c565b82525050565b60006020820190506103bc6000830184610398565b92915050565b6000602082840312156103d8576103d761030a565b5b60006103e684828501610337565b91505092915050565b6000819050919050565b610402816103ef565b82525050565b600060208201905061041d60008301846103f9565b9291505056fea264697066735822122048c2371eab33467f3c6be4635fa8f7e413187dc1dcdc45d51411cb1ef4238d1964736f6c63430008140033",
232
+ "bytecode": "0x610689610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100a85760003560e01c8063add9ce9911610070578063add9ce991461019d578063c24922ce146101cd578063da09d484146101fd578063ddf3d6311461022d578063ef6c0d781461025d576100a8565b8063790a38ad146100ad57806383ffcdef146100dd5780638d38cd4b1461010d57806394335b1a1461013d5780639df876391461016d575b600080fd5b6100c760048036038101906100c29190610452565b61028d565b6040516100d4919061049a565b60405180910390f35b6100f760048036038101906100f291906104b5565b6102a0565b604051610104919061049a565b60405180910390f35b61012760048036038101906101229190610452565b6102b4565b604051610134919061049a565b60405180910390f35b610157600480360381019061015291906104b5565b6102c7565b604051610164919061049a565b60405180910390f35b610187600480360381019061018291906104b5565b6102db565b604051610194919061049a565b60405180910390f35b6101b760048036038101906101b291906104b5565b6102ef565b6040516101c4919061049a565b60405180910390f35b6101e760048036038101906101e291906104b5565b610303565b6040516101f4919061049a565b60405180910390f35b61021760048036038101906102129190610452565b610317565b604051610224919061050e565b60405180910390f35b610247600480360381019061024291906104b5565b610328565b604051610254919061049a565b60405180910390f35b61027760048036038101906102729190610555565b61033c565b60405161028491906105d0565b60405180910390f35b6000808264ffffffffff16149050919050565b60006102ac8383610361565b905092915050565b6000808264ffffffffff16119050919050565b60006102d3838361037c565b905092915050565b60006102e78383610398565b905092915050565b60006102fb83836103b3565b905092915050565b600061030f83836103ce565b905092915050565b60008164ffffffffff169050919050565b600061033483836103ea565b905092915050565b6000610359828461034d919061061a565b64ffffffffff16610406565b905092915050565b60008164ffffffffff168364ffffffffff1611905092915050565b60008164ffffffffff168364ffffffffff161115905092915050565b60008164ffffffffff168364ffffffffff1614905092915050565b60008164ffffffffff168364ffffffffff1610905092915050565b60008164ffffffffff168364ffffffffff161015905092915050565b60008164ffffffffff168364ffffffffff161415905092915050565b6000819050919050565b600080fd5b600064ffffffffff82169050919050565b61042f81610415565b811461043a57600080fd5b50565b60008135905061044c81610426565b92915050565b60006020828403121561046857610467610410565b5b60006104768482850161043d565b91505092915050565b60008115159050919050565b6104948161047f565b82525050565b60006020820190506104af600083018461048b565b92915050565b600080604083850312156104cc576104cb610410565b5b60006104da8582860161043d565b92505060206104eb8582860161043d565b9150509250929050565b6000819050919050565b610508816104f5565b82525050565b600060208201905061052360008301846104ff565b92915050565b610532816104f5565b811461053d57600080fd5b50565b60008135905061054f81610529565b92915050565b6000806040838503121561056c5761056b610410565b5b600061057a8582860161043d565b925050602061058b85828601610540565b9150509250929050565b6000819050919050565b60006105ba6105b56105b084610415565b610595565b610415565b9050919050565b6105ca8161059f565b82525050565b60006020820190506105e560008301846105c1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061062582610415565b915061063083610415565b9250828201905064ffffffffff81111561064d5761064c6105eb565b5b9291505056fea264697066735822122020e016c69cc0f8c1f54710eb33c019cf57aa46ee749ba0f3aa6b4e9a820037c664736f6c63430008140033",
233
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100a85760003560e01c8063add9ce9911610070578063add9ce991461019d578063c24922ce146101cd578063da09d484146101fd578063ddf3d6311461022d578063ef6c0d781461025d576100a8565b8063790a38ad146100ad57806383ffcdef146100dd5780638d38cd4b1461010d57806394335b1a1461013d5780639df876391461016d575b600080fd5b6100c760048036038101906100c29190610452565b61028d565b6040516100d4919061049a565b60405180910390f35b6100f760048036038101906100f291906104b5565b6102a0565b604051610104919061049a565b60405180910390f35b61012760048036038101906101229190610452565b6102b4565b604051610134919061049a565b60405180910390f35b610157600480360381019061015291906104b5565b6102c7565b604051610164919061049a565b60405180910390f35b610187600480360381019061018291906104b5565b6102db565b604051610194919061049a565b60405180910390f35b6101b760048036038101906101b291906104b5565b6102ef565b6040516101c4919061049a565b60405180910390f35b6101e760048036038101906101e291906104b5565b610303565b6040516101f4919061049a565b60405180910390f35b61021760048036038101906102129190610452565b610317565b604051610224919061050e565b60405180910390f35b610247600480360381019061024291906104b5565b610328565b604051610254919061049a565b60405180910390f35b61027760048036038101906102729190610555565b61033c565b60405161028491906105d0565b60405180910390f35b6000808264ffffffffff16149050919050565b60006102ac8383610361565b905092915050565b6000808264ffffffffff16119050919050565b60006102d3838361037c565b905092915050565b60006102e78383610398565b905092915050565b60006102fb83836103b3565b905092915050565b600061030f83836103ce565b905092915050565b60008164ffffffffff169050919050565b600061033483836103ea565b905092915050565b6000610359828461034d919061061a565b64ffffffffff16610406565b905092915050565b60008164ffffffffff168364ffffffffff1611905092915050565b60008164ffffffffff168364ffffffffff161115905092915050565b60008164ffffffffff168364ffffffffff1614905092915050565b60008164ffffffffff168364ffffffffff1610905092915050565b60008164ffffffffff168364ffffffffff161015905092915050565b60008164ffffffffff168364ffffffffff161415905092915050565b6000819050919050565b600080fd5b600064ffffffffff82169050919050565b61042f81610415565b811461043a57600080fd5b50565b60008135905061044c81610426565b92915050565b60006020828403121561046857610467610410565b5b60006104768482850161043d565b91505092915050565b60008115159050919050565b6104948161047f565b82525050565b60006020820190506104af600083018461048b565b92915050565b600080604083850312156104cc576104cb610410565b5b60006104da8582860161043d565b92505060206104eb8582860161043d565b9150509250929050565b6000819050919050565b610508816104f5565b82525050565b600060208201905061052360008301846104ff565b92915050565b610532816104f5565b811461053d57600080fd5b50565b60008135905061054f81610529565b92915050565b6000806040838503121561056c5761056b610410565b5b600061057a8582860161043d565b925050602061058b85828601610540565b9150509250929050565b6000819050919050565b60006105ba6105b56105b084610415565b610595565b610415565b9050919050565b6105ca8161059f565b82525050565b60006020820190506105e560008301846105c1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061062582610415565b915061063083610415565b9250828201905064ffffffffff81111561064d5761064c6105eb565b5b9291505056fea264697066735822122020e016c69cc0f8c1f54710eb33c019cf57aa46ee749ba0f3aa6b4e9a820037c664736f6c63430008140033",
172
234
  "linkReferences": {},
173
235
  "deployedLinkReferences": {}
174
236
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5d58518916abd285d6742c7724f5c203.json"
3
+ "buildInfo": "../../../build-info/746f2ad7b0d888e05db828a61f6d5e10.json"
4
4
  }