@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-dd8c542-531

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. package/README.md +242 -11
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +302 -23
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +744 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +217 -23
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +90 -171
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +55 -177
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +615 -63
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +620 -70
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  46. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  47. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +788 -0
  48. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  49. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  50. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  52. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +928 -1226
  54. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  55. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +496 -0
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +2469 -1188
  60. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +940 -0
  62. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +572 -122
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1066 -0
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +560 -0
  70. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
  72. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +521 -0
  74. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  76. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  78. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  79. package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  80. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  82. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  87. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  88. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  89. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  90. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  92. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IRisk.sol/IRisk.json} +2 -2
  94. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  95. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → ISetup.sol/ISetup.json} +2 -2
  96. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  97. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  98. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +923 -0
  100. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +440 -0
  102. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +392 -97
  104. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +671 -0
  106. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -0
  108. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +669 -0
  110. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  111. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +190 -88
  112. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/{ComponentServiceBase.sol/ComponentServiceBase.json → IDistributionService.sol/IDistributionService.json} +217 -71
  114. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +664 -0
  116. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  117. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +205 -82
  118. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  119. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +214 -155
  120. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +971 -0
  122. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +464 -0
  124. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  125. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +324 -118
  126. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +428 -0
  128. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  129. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +315 -245
  130. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +420 -0
  132. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  133. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  134. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  135. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +309 -41
  136. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  137. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +886 -0
  138. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  139. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  140. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  141. package/artifacts/contracts/registry/Registry.sol/Registry.json +385 -129
  142. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  143. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1195 -0
  144. package/artifacts/contracts/registry/RegistryServiceAccessManager.sol/RegistryServiceAccessManager.dbg.json +4 -0
  145. package/artifacts/contracts/registry/RegistryServiceAccessManager.sol/RegistryServiceAccessManager.json +275 -0
  146. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +451 -0
  148. package/artifacts/contracts/registry/RegistryServiceReleaseManager.sol/RegistryServiceReleaseManager.dbg.json +4 -0
  149. package/artifacts/contracts/registry/RegistryServiceReleaseManager.sol/RegistryServiceReleaseManager.json +521 -0
  150. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  151. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +397 -0
  152. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  153. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  154. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  155. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  156. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  157. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  158. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  160. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  161. package/artifacts/contracts/{instance/service → shared}/IService.sol/IService.json +188 -67
  162. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +60 -19
  164. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  165. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  170. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/service/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +229 -61
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +83 -19
  180. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  181. package/artifacts/contracts/test/TestFee.sol/TestFee.json +30 -6
  182. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  183. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  184. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  185. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  186. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  187. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -90
  188. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  189. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  190. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  191. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +14 -18
  192. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  193. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +106 -50
  194. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  195. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  196. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  197. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  201. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  202. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  203. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  204. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  205. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  206. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  207. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  208. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  209. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  210. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  211. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  213. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  214. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  215. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  216. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  217. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  218. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  219. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  220. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  221. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  222. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  223. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  224. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  225. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  226. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  227. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  228. package/artifacts/contracts/types/Version.sol/VersionLib.json +101 -2
  229. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  230. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  231. package/contracts/components/BaseComponent.sol +75 -32
  232. package/contracts/components/Distribution.sol +163 -0
  233. package/contracts/components/IBaseComponent.sol +15 -3
  234. package/contracts/components/IDistributionComponent.sol +44 -0
  235. package/contracts/components/IPoolComponent.sol +19 -10
  236. package/contracts/components/IProductComponent.sol +25 -9
  237. package/contracts/components/Pool.sol +132 -35
  238. package/contracts/components/Product.sol +211 -36
  239. package/contracts/experiment/cloning/Cloner.sol +47 -0
  240. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  241. package/contracts/instance/BundleManager.sol +129 -0
  242. package/contracts/instance/Cloneable.sol +46 -0
  243. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  244. package/contracts/instance/IInstance.sol +53 -43
  245. package/contracts/instance/IInstanceBase.sol +26 -0
  246. package/contracts/instance/IInstanceService.sol +34 -0
  247. package/contracts/instance/Instance.sol +447 -45
  248. package/contracts/instance/InstanceAccessManager.sol +288 -0
  249. package/contracts/instance/InstanceBase.sol +33 -66
  250. package/contracts/instance/InstanceReader.sol +315 -0
  251. package/contracts/instance/InstanceService.sol +299 -0
  252. package/contracts/instance/InstanceServiceManager.sol +58 -0
  253. package/contracts/instance/ObjectManager.sol +101 -0
  254. package/contracts/instance/base/ComponentServiceBase.sol +72 -0
  255. package/contracts/instance/base/IInstanceBase.sol +23 -0
  256. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  257. package/contracts/instance/base/ILifecycle.sol +30 -0
  258. package/contracts/instance/base/KeyValueStore.sol +172 -0
  259. package/contracts/instance/{module/lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +51 -40
  260. package/contracts/instance/module/IAccess.sol +38 -0
  261. package/contracts/instance/module/IBundle.sol +20 -0
  262. package/contracts/instance/module/IDistribution.sol +39 -0
  263. package/contracts/instance/module/IPolicy.sol +45 -0
  264. package/contracts/instance/module/IRisk.sol +11 -0
  265. package/contracts/instance/module/ISetup.sol +46 -0
  266. package/contracts/instance/module/ITreasury.sol +23 -0
  267. package/contracts/instance/service/BundleService.sol +260 -0
  268. package/contracts/instance/service/BundleServiceManager.sol +55 -0
  269. package/contracts/instance/service/ComponentOwnerService.sol +246 -105
  270. package/contracts/instance/service/DistributionService.sol +114 -0
  271. package/contracts/instance/service/DistributionServiceManager.sol +55 -0
  272. package/contracts/instance/service/IBundleService.sol +45 -0
  273. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  274. package/contracts/instance/service/IDistributionService.sol +12 -0
  275. package/contracts/instance/service/IPolicyService.sol +87 -0
  276. package/contracts/instance/service/IPoolService.sol +8 -18
  277. package/contracts/instance/service/IProductService.sol +21 -39
  278. package/contracts/instance/service/PolicyService.sol +503 -0
  279. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  280. package/contracts/instance/service/PoolService.sol +90 -66
  281. package/contracts/instance/service/PoolServiceManager.sol +55 -0
  282. package/contracts/instance/service/ProductService.sol +109 -299
  283. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  284. package/contracts/registry/ChainNft.sol +79 -36
  285. package/contracts/registry/IRegistry.sol +45 -25
  286. package/contracts/registry/IRegistryService.sol +54 -0
  287. package/contracts/registry/ITransferInterceptor.sol +6 -0
  288. package/contracts/registry/Registry.sol +292 -288
  289. package/contracts/registry/RegistryService.sol +330 -0
  290. package/contracts/registry/RegistryServiceAccessManager.sol +210 -0
  291. package/contracts/registry/RegistryServiceManager.sol +60 -0
  292. package/contracts/registry/RegistryServiceReleaseManager.sol +366 -0
  293. package/contracts/registry/TokenRegistry.sol +110 -0
  294. package/contracts/shared/ContractDeployerLib.sol +72 -0
  295. package/contracts/shared/ERC165.sol +6 -2
  296. package/contracts/shared/INftOwnable.sol +22 -0
  297. package/contracts/shared/IRegisterable.sol +8 -15
  298. package/contracts/shared/IService.sol +16 -0
  299. package/contracts/shared/IVersionable.sol +56 -12
  300. package/contracts/shared/NftOwnable.sol +134 -0
  301. package/contracts/shared/ProxyManager.sol +94 -0
  302. package/contracts/shared/Registerable.sol +63 -59
  303. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  304. package/contracts/shared/Service.sol +58 -0
  305. package/contracts/shared/TokenHandler.sol +27 -0
  306. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  307. package/contracts/shared/Versionable.sol +112 -57
  308. package/contracts/test/TestFee.sol +4 -4
  309. package/contracts/test/TestRegisterable.sol +5 -6
  310. package/contracts/test/TestRoleId.sol +2 -2
  311. package/contracts/test/TestService.sol +8 -18
  312. package/contracts/test/TestVersion.sol +4 -7
  313. package/contracts/test/TestVersionable.sol +2 -5
  314. package/contracts/test/Usdc.sol +26 -0
  315. package/contracts/types/DistributorType.sol +55 -0
  316. package/contracts/types/Fee.sol +44 -20
  317. package/contracts/types/Key32.sol +50 -0
  318. package/contracts/types/NftId.sol +16 -1
  319. package/contracts/types/NftIdSet.sol +26 -24
  320. package/contracts/types/NumberId.sol +52 -0
  321. package/contracts/types/ObjectType.sol +51 -14
  322. package/contracts/types/Referral.sol +85 -0
  323. package/contracts/types/RiskId.sol +43 -0
  324. package/contracts/types/RoleId.sol +66 -11
  325. package/contracts/types/StateId.sol +12 -2
  326. package/contracts/types/Timestamp.sol +7 -3
  327. package/contracts/types/UFixed.sol +144 -25
  328. package/contracts/types/Version.sol +42 -26
  329. package/package.json +4 -3
  330. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  331. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  332. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  333. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
  334. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  336. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  338. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  339. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
  341. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
  344. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  345. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  348. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  350. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  352. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  355. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  358. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  360. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  363. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  365. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.json +0 -10
  367. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.json +0 -10
  369. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -538
  372. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  373. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  374. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -538
  376. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  377. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  379. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  380. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  381. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  382. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  383. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  384. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  385. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  386. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  387. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  388. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  389. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  390. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  391. package/contracts/experiment/statemachine/README.md +0 -112
  392. package/contracts/instance/IInstanceLinked.sol +0 -8
  393. package/contracts/instance/IServiceLinked.sol +0 -12
  394. package/contracts/instance/module/access/Access.sol +0 -149
  395. package/contracts/instance/module/access/IAccess.sol +0 -53
  396. package/contracts/instance/module/bundle/BundleModule.sol +0 -228
  397. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  398. package/contracts/instance/module/component/ComponentModule.sol +0 -104
  399. package/contracts/instance/module/component/IComponent.sol +0 -53
  400. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  401. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  402. package/contracts/instance/module/policy/PolicyModule.sol +0 -84
  403. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  404. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  405. package/contracts/instance/module/product/IProductModule.sol +0 -6
  406. package/contracts/instance/module/product/ProductModule.sol +0 -8
  407. package/contracts/instance/module/treasury/ITreasury.sol +0 -104
  408. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  409. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -148
  410. package/contracts/instance/service/ComponentServiceBase.sol +0 -41
  411. package/contracts/instance/service/IService.sol +0 -15
  412. package/contracts/instance/service/ServiceBase.sol +0 -39
  413. package/contracts/registry/IChainNft.sol +0 -21
  414. package/contracts/registry/IRegistryLinked.sol +0 -8
  415. package/contracts/shared/IOwnable.sol +0 -6
  416. package/contracts/test/TestPool.sol +0 -22
  417. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,521 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RegistryServiceReleaseManager",
4
+ "sourceName": "contracts/registry/RegistryServiceReleaseManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "contract RegistryServiceAccessManager",
10
+ "name": "accessManager",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "VersionPart",
15
+ "name": "initialVersion",
16
+ "type": "uint8"
17
+ }
18
+ ],
19
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "authority",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "AccessManagedInvalidAuthority",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "uint32",
42
+ "name": "delay",
43
+ "type": "uint32"
44
+ }
45
+ ],
46
+ "name": "AccessManagedRequiredDelay",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "AccessManagedUnauthorized",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ConfigMissing",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "VersionPart",
69
+ "name": "serviceVersion",
70
+ "type": "uint8"
71
+ },
72
+ {
73
+ "internalType": "ObjectType",
74
+ "name": "serviceDomain",
75
+ "type": "uint8"
76
+ }
77
+ ],
78
+ "name": "ConfigSelectorAlreadyExists",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ConfigSelectorMissing",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ConfigSelectorZero",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ConfigServiceTypeInvalid",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "address",
100
+ "name": "expectedOwner",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "NotRegisterableOwner",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "RegisterableOwnerIsRegistered",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "SelfRegistration",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "address",
121
+ "name": "service",
122
+ "type": "address"
123
+ }
124
+ ],
125
+ "name": "ServiceAlreadyRegistered",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "inputs": [
130
+ {
131
+ "internalType": "contract IService",
132
+ "name": "service",
133
+ "type": "address"
134
+ },
135
+ {
136
+ "internalType": "ObjectType",
137
+ "name": "serviceDomain",
138
+ "type": "uint8"
139
+ }
140
+ ],
141
+ "name": "ServiceNotInRelease",
142
+ "type": "error"
143
+ },
144
+ {
145
+ "inputs": [
146
+ {
147
+ "internalType": "ObjectType",
148
+ "name": "expected",
149
+ "type": "uint8"
150
+ },
151
+ {
152
+ "internalType": "ObjectType",
153
+ "name": "found",
154
+ "type": "uint8"
155
+ }
156
+ ],
157
+ "name": "UnexpectedRegisterableType",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "inputs": [
162
+ {
163
+ "internalType": "ObjectType",
164
+ "name": "expected",
165
+ "type": "uint8"
166
+ },
167
+ {
168
+ "internalType": "ObjectType",
169
+ "name": "found",
170
+ "type": "uint8"
171
+ }
172
+ ],
173
+ "name": "UnexpectedServiceDomain",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "VersionPart",
180
+ "name": "expected",
181
+ "type": "uint8"
182
+ },
183
+ {
184
+ "internalType": "VersionPart",
185
+ "name": "found",
186
+ "type": "uint8"
187
+ }
188
+ ],
189
+ "name": "UnexpectedServiceVersion",
190
+ "type": "error"
191
+ },
192
+ {
193
+ "anonymous": false,
194
+ "inputs": [
195
+ {
196
+ "indexed": false,
197
+ "internalType": "address",
198
+ "name": "authority",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "AuthorityUpdated",
203
+ "type": "event"
204
+ },
205
+ {
206
+ "anonymous": false,
207
+ "inputs": [
208
+ {
209
+ "indexed": false,
210
+ "internalType": "VersionPart",
211
+ "name": "version",
212
+ "type": "uint8"
213
+ }
214
+ ],
215
+ "name": "LogReleaseActivation",
216
+ "type": "event"
217
+ },
218
+ {
219
+ "anonymous": false,
220
+ "inputs": [
221
+ {
222
+ "indexed": false,
223
+ "internalType": "VersionPart",
224
+ "name": "version",
225
+ "type": "uint8"
226
+ },
227
+ {
228
+ "indexed": false,
229
+ "internalType": "contract IService",
230
+ "name": "registryService",
231
+ "type": "address"
232
+ }
233
+ ],
234
+ "name": "LogReleaseCreation",
235
+ "type": "event"
236
+ },
237
+ {
238
+ "anonymous": false,
239
+ "inputs": [
240
+ {
241
+ "indexed": false,
242
+ "internalType": "VersionPart",
243
+ "name": "majorVersion",
244
+ "type": "uint8"
245
+ },
246
+ {
247
+ "indexed": false,
248
+ "internalType": "ObjectType",
249
+ "name": "serviceDomain",
250
+ "type": "uint8"
251
+ }
252
+ ],
253
+ "name": "LogServiceRegistration",
254
+ "type": "event"
255
+ },
256
+ {
257
+ "inputs": [],
258
+ "name": "authority",
259
+ "outputs": [
260
+ {
261
+ "internalType": "address",
262
+ "name": "",
263
+ "type": "address"
264
+ }
265
+ ],
266
+ "stateMutability": "view",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "contract IService",
273
+ "name": "registryService",
274
+ "type": "address"
275
+ }
276
+ ],
277
+ "name": "createNextRelease",
278
+ "outputs": [
279
+ {
280
+ "internalType": "NftId",
281
+ "name": "nftId",
282
+ "type": "uint96"
283
+ }
284
+ ],
285
+ "stateMutability": "nonpayable",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [],
290
+ "name": "getInitialVersion",
291
+ "outputs": [
292
+ {
293
+ "internalType": "VersionPart",
294
+ "name": "",
295
+ "type": "uint8"
296
+ }
297
+ ],
298
+ "stateMutability": "view",
299
+ "type": "function"
300
+ },
301
+ {
302
+ "inputs": [],
303
+ "name": "getLatestVersion",
304
+ "outputs": [
305
+ {
306
+ "internalType": "VersionPart",
307
+ "name": "",
308
+ "type": "uint8"
309
+ }
310
+ ],
311
+ "stateMutability": "view",
312
+ "type": "function"
313
+ },
314
+ {
315
+ "inputs": [],
316
+ "name": "getNextVersion",
317
+ "outputs": [
318
+ {
319
+ "internalType": "VersionPart",
320
+ "name": "",
321
+ "type": "uint8"
322
+ }
323
+ ],
324
+ "stateMutability": "view",
325
+ "type": "function"
326
+ },
327
+ {
328
+ "inputs": [],
329
+ "name": "getRegistry",
330
+ "outputs": [
331
+ {
332
+ "internalType": "address",
333
+ "name": "",
334
+ "type": "address"
335
+ }
336
+ ],
337
+ "stateMutability": "view",
338
+ "type": "function"
339
+ },
340
+ {
341
+ "inputs": [
342
+ {
343
+ "internalType": "VersionPart",
344
+ "name": "releaseVersion",
345
+ "type": "uint8"
346
+ }
347
+ ],
348
+ "name": "getReleaseInfo",
349
+ "outputs": [
350
+ {
351
+ "components": [
352
+ {
353
+ "internalType": "ObjectType[]",
354
+ "name": "types",
355
+ "type": "uint8[]"
356
+ }
357
+ ],
358
+ "internalType": "struct RegistryServiceReleaseManager.ReleaseInfo",
359
+ "name": "",
360
+ "type": "tuple"
361
+ }
362
+ ],
363
+ "stateMutability": "view",
364
+ "type": "function"
365
+ },
366
+ {
367
+ "inputs": [
368
+ {
369
+ "internalType": "VersionPart",
370
+ "name": "serviceVersion",
371
+ "type": "uint8"
372
+ },
373
+ {
374
+ "internalType": "ObjectType",
375
+ "name": "serviceDomain",
376
+ "type": "uint8"
377
+ }
378
+ ],
379
+ "name": "getService",
380
+ "outputs": [
381
+ {
382
+ "internalType": "address",
383
+ "name": "",
384
+ "type": "address"
385
+ }
386
+ ],
387
+ "stateMutability": "view",
388
+ "type": "function"
389
+ },
390
+ {
391
+ "inputs": [
392
+ {
393
+ "internalType": "address",
394
+ "name": "service",
395
+ "type": "address"
396
+ }
397
+ ],
398
+ "name": "isActiveRegistryService",
399
+ "outputs": [
400
+ {
401
+ "internalType": "bool",
402
+ "name": "",
403
+ "type": "bool"
404
+ }
405
+ ],
406
+ "stateMutability": "view",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [],
411
+ "name": "isConsumingScheduledOp",
412
+ "outputs": [
413
+ {
414
+ "internalType": "bytes4",
415
+ "name": "",
416
+ "type": "bytes4"
417
+ }
418
+ ],
419
+ "stateMutability": "view",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [
424
+ {
425
+ "internalType": "contract IService",
426
+ "name": "service",
427
+ "type": "address"
428
+ }
429
+ ],
430
+ "name": "registerService",
431
+ "outputs": [
432
+ {
433
+ "internalType": "NftId",
434
+ "name": "nftId",
435
+ "type": "uint96"
436
+ }
437
+ ],
438
+ "stateMutability": "nonpayable",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [
443
+ {
444
+ "internalType": "address",
445
+ "name": "newAuthority",
446
+ "type": "address"
447
+ }
448
+ ],
449
+ "name": "setAuthority",
450
+ "outputs": [],
451
+ "stateMutability": "nonpayable",
452
+ "type": "function"
453
+ }
454
+ ],
455
+ "bytecode": "0x60e06040523480156200001157600080fd5b506040516200630638038062006306833981016040819052620000349162000191565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000073573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000999190620001d5565b620000a48162000116565b506001600160a01b03821660805260ff811660c05260405130908290620000cb906200016a565b6001600160a01b03909216825260ff166020820152604001604051809103906000f08015801562000100573d6000803e3d6000fd5b506001600160a01b031660a05250620001fc9050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6144d18062001e3583390190565b6001600160a01b03811681146200018e57600080fd5b50565b60008060408385031215620001a557600080fd5b8251620001b28162000178565b602084015190925060ff81168114620001ca57600080fd5b809150509250929050565b600060208284031215620001e857600080fd5b8151620001f58162000178565b9392505050565b60805160a05160c051611be76200024e6000396000818160bb01526106100152600081816101060152818161034501528181610777015281816109920152610d460152600061080e0152611be76000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80639ef6ddc9116100715780639ef6ddc91461019f578063bf7e214f146101db578063d2213b5b146101ec578063f40d7c301461020c578063f4f6761514610214578063fdd9ec7d1461022757600080fd5b80630e41142e146100b95780630e6d1de9146100f25780635ab1bd53146101045780637a9e5e4b1461013e5780638fb36037146101535780639d1e940414610174575b600080fd5b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff90911681526020015b60405180910390f35b600054600160a81b900460ff166100db565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100e9565b61015161014c36600461138e565b61023a565b005b61015b6102b9565b6040516001600160e01b031990911681526020016100e9565b61018761018236600461138e565b6102dd565b6040516001600160601b0390911681526020016100e9565b6101cb6101ad36600461138e565b6001600160a01b031660009081526005602052604090205460ff1690565b60405190151581526020016100e9565b6000546001600160a01b0316610126565b6101ff6101fa3660046113c1565b61045f565b6040516100e991906113de565b6100db6104fa565b610126610222366004611431565b610636565b61018761023536600461138e565b610666565b60005433906001600160a01b031681146102765760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b6000036102ac576040516361798f2f60e11b81526001600160a01b038316600482015260240161026d565b6102b582610a6a565b5050565b60008054600160a01b900460ff166102d15750600090565b50638fb3603760e01b90565b60006102ec335b600036610abe565b6000806102fc84603c5b33610bbe565b91509150600061030a6104fa565b90506103188382603c610dd8565b5061032282610e72565b61032e8582603c6110e0565b60405163a976b93f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a976b93f9061037a9086906004016114ba565b6020604051808303816000875af1158015610399573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bd9190611561565b9350846001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156103fa57600080fd5b505af115801561040e573d6000803e3d6000fd5b50506040805160ff851681526001600160a01b03891660208201527ff7d028a430f2a37026667fd5444515ac5d8be80a482ec6478f24b6561e91ad20935001905060405180910390a1505050919050565b60408051602080820183526060825260ff8416600090815260018252839020835181548084028201860186529281018381529394909391928492918491908401828280156104ea57602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116104bb5790505b5050505050815250509050919050565b60008054604051632b10f60d60e21b8152600160a81b90910460ff166004820152819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610559573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057d919061157c565b9050801561060e5773__$9dab98ad7ae1a426029e5739f922230a41$__638e4ad86c6105aa8360016115ab565b6040518263ffffffff1660e01b81526004016105c891815260200190565b602060405180830381865af41580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060991906115c9565b610630565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b60ff8083166000908152600360209081526040808320938516835292905220546001600160a01b03165b92915050565b6000610671336102e4565b600061067e83603c6102f6565b509050600061068b6104fa565b9050600061069a838383610dd8565b60ff80841660009081526002602090815260408083209385168352928152828220805484518184028101840190955280855294955091939083018282801561072e57602002820191906000526020600020906000905b82829054906101000a900460e01b6001600160e01b031916815260200190600401906020826003010492830192600103820291508084116106f05790505b50505050509050805160000361076b5760405163810fe06160e01b81526001600160a01b038716600482015260ff8316602482015260440161026d565b60006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043603c6040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa1580156107e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080891906115f1565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361bc3b418984866040518463ffffffff1660e01b815260040161085c9392919061160e565b6020604051808303816000875af115801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f919061167a565b60ff86811660009081526002602090815260408083209389168352929052908120600101805467ffffffffffffffff191667ffffffffffffffff841617905560048054929350906108ef836116a4565b9190505550600454600003610970576000805460ff60a81b1916600160a81b60ff88169081029190911782556001600160a01b038416825260056020908152604092839020805460ff1916600117905591519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15b61097b8886866110e0565b60405163a976b93f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a976b93f906109c79089906004016114ba565b6020604051808303816000875af11580156109e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0a9190611561565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a4757600080fd5b505af1158015610a5b573d6000803e3d6000fd5b50505050505050505050919050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080610af4610ad66000546001600160a01b031690565b8630610ae660046000898b6116bb565b610aef916116e5565b6111a9565b9150915081610bb75763ffffffff811615610b94576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90610b4f90889088908890600401611715565b600060405180830381600087803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b50506000805460ff60a01b1916905550610bb79050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161026d565b5050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610c39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c61919081019061185c565b6001600160a01b0387166080830152600060608301526040820151919350915060ff858116911614610cb9576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161026d565b60a08201516001600160a01b0380821690851614610cf55760405163dfc430cb60e01b81526001600160a01b038516600482015260240161026d565b856001600160a01b0316816001600160a01b031603610d27576040516317faf4db60e11b815260040160405180910390fd5b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015610d8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db19190611955565b15610dcf57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008060008560c00151806020019051810190610df59190611970565b909250905060ff80821690861614610e2d57604051632ac811e560e01b815260ff80871660048301528216602482015260440161026d565b60ff841615610e695760ff80831690851614610e695760405163344254bf60e11b815260ff80861660048301528316602482015260440161026d565b50949350505050565b6000610e7c6104fa565b9050600082806020019051810190610e9491906119c3565b90508051600003610eb85760405163b3327ef160e01b815260040160405180910390fd5b60ff82811660009081526001602081815260408320805492830181558352808320908204018054603c601f9093166101000a9283029290940219909316179091555b81518110156110d7576000828281518110610f1757610f17611b31565b60200260200101516000015190506000838381518110610f3957610f39611b31565b6020026020010151602001519050610f5e82610f53603c90565b60ff90811691161490565b15610f7c5760405163029fd1c360e41b815260040160405180910390fd5b8051600003610f9e5760405163be7f9a6960e01b815260040160405180910390fd5b60005b815181101561100357818181518110610fbc57610fbc611b31565b60200260200101516001600160e01b031916600060e01b03610ff15760405163041dbc8b60e11b815260040160405180910390fd5b80610ffb81611b47565b915050610fa1565b5060ff8086166000908152600260209081526040808320938616835292905220541561104f5760405163f71532d960e01b815260ff80871660048301528316602482015260440161026d565b60ff80861660009081526002602090815260408083209386168352928152919020825161107e928401906112b5565b505060ff84811660009081526001602081815260408320805492830181558352918290209181049091018054601f9092166101000a808402199092169390921602919091179055806110cf81611b47565b915050610efa565b50516004555050565b60ff8083166000908152600360209081526040808320938516835292905220546001600160a01b031615611132576040516353752f3960e11b81526001600160a01b038416600482015260240161026d565b60ff82811660008181526003602090815260408083209486168084529482529182902080546001600160a01b0319166001600160a01b03891617905581519283528201929092527fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a1505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516112189190611b60565b600060405180830381855afa9150503d8060008114611253576040519150601f19603f3d011682016040523d82523d6000602084013e611258565b606091505b509150915081156112aa57604081511061128a57808060200190518101906112809190611b7c565b90945092506112aa565b60208151106112aa57808060200190518101906112a79190611955565b93505b505094509492505050565b828054828255906000526020600020906007016008900481019282156113515791602002820160005b8382111561131f57835183826101000a81548163ffffffff021916908360e01c021790555092602001926004016020816003010492830192600103026112de565b801561134f5782816101000a81549063ffffffff021916905560040160208160030104928301926001030261131f565b505b5061135d929150611361565b5090565b5b8082111561135d5760008155600101611362565b6001600160a01b038116811461138b57600080fd5b50565b6000602082840312156113a057600080fd5b81356113ab81611376565b9392505050565b60ff8116811461138b57600080fd5b6000602082840312156113d357600080fd5b81356113ab816113b2565b6020808252825182820182905280516040840181905260009291820190839060608601905b8083101561142657835160ff168252928401926001929092019190840190611403565b509695505050505050565b6000806040838503121561144457600080fd5b823561144f816113b2565b9150602083013561145f816113b2565b809150509250929050565b60005b8381101561148557818101518382015260200161146d565b50506000910152565b600081518084526114a681602086016020860161146a565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161152360c08401826001600160a01b03169052565b5060c083015160e08084015261153d61010084018261148e565b949350505050565b80516001600160601b038116811461155c57600080fd5b919050565b60006020828403121561157357600080fd5b6113ab82611545565b60006020828403121561158e57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561066057610660611595565b805161155c816113b2565b6000602082840312156115db57600080fd5b81516113ab816113b2565b805161155c81611376565b60006020828403121561160357600080fd5b81516113ab81611376565b6001600160a01b0384811682528316602080830191909152606060408301819052835190830181905260009184810191608085019190845b8181101561166c5784516001600160e01b03191684529382019392820192600101611646565b509198975050505050505050565b60006020828403121561168c57600080fd5b815167ffffffffffffffff811681146113ab57600080fd5b6000816116b3576116b3611595565b506000190190565b600080858511156116cb57600080fd5b838611156116d857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561170d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561178e5761178e611755565b60405290565b6040805190810167ffffffffffffffff8111828210171561178e5761178e611755565b604051601f8201601f1916810167ffffffffffffffff811182821017156117e0576117e0611755565b604052919050565b8051801515811461155c57600080fd5b600082601f83011261180957600080fd5b815167ffffffffffffffff81111561182357611823611755565b611836601f8201601f19166020016117b7565b81815284602083860101111561184b57600080fd5b61153d82602083016020870161146a565b6000806040838503121561186f57600080fd5b825167ffffffffffffffff8082111561188757600080fd5b9084019060e0828703121561189b57600080fd5b6118a361176b565b6118ac83611545565b81526118ba60208401611545565b60208201526118cb604084016115be565b60408201526118dc606084016117e8565b60608201526118ed608084016115e6565b60808201526118fe60a084016115e6565b60a082015260c08301518281111561191557600080fd5b611921888286016117f8565b60c083015250602086015190945091508082111561193e57600080fd5b5061194b858286016117f8565b9150509250929050565b60006020828403121561196757600080fd5b6113ab826117e8565b6000806040838503121561198357600080fd5b825161198e816113b2565b602084015190925061145f816113b2565b600067ffffffffffffffff8211156119b9576119b9611755565b5060051b60200190565b600060208083850312156119d657600080fd5b825167ffffffffffffffff808211156119ee57600080fd5b818501915085601f830112611a0257600080fd5b8151611a15611a108261199f565b6117b7565b81815260059190911b83018401908481019088831115611a3457600080fd5b8585015b83811015611b2457805185811115611a505760008081fd5b86016040818c03601f1901811315611a685760008081fd5b611a70611794565b89830151611a7d816113b2565b81528282015188811115611a915760008081fd5b8084019350508c603f840112611aa75760008081fd5b89830151611ab7611a108261199f565b81815260059190911b84018301908b8101908f831115611ad75760008081fd5b948401945b82861015611b0f57855194506001600160e01b031985168514611aff5760008081fd5b848252948c0194908c0190611adc565b838d0152505085525050918601918601611a38565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b600060018201611b5957611b59611595565b5060010190565b60008251611b7281846020870161146a565b9190910192915050565b60008060408385031215611b8f57600080fd5b611b98836117e8565b9150602083015163ffffffff8116811461145f57600080fdfea264697066735822122034322dcdacf0cf681383482359d1bb08be2872fb00c50eefeb8be2eee84e77b364736f6c6343000814003360806040523480156200001157600080fd5b50604051620044d1380380620044d1833981016040819052620000349162000ceb565b620000766301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6001600160a01b038216620000d25760405162461bcd60e51b815260206004820152601e60248201527f52656769737472793a2072656c65617365206d616e616765722069732030000060448201526064015b60405180910390fd5b604051632b10f60d60e21b815260ff8216600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562000128573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014e919062000d3a565b116200019d5760405162461bcd60e51b815260206004820152601e60248201527f52656769737472793a20696e697469616c2076657273696f6e206973203000006044820152606401620000c9565b600680546001600160a01b0319166001600160a01b0384161790556040513090620001c89062000cdd565b6001600160a01b039091168152602001604051809103906000f080158015620001f5573d6000803e3d6000fd5b50600580546001600160a01b03929092166c01000000000000000000000000026001600160601b039092169190911790556200023062000288565b6200023a620004aa565b6200024462000867565b63cc7f293160e01b60009081526020527f43fac92d2add75e1fe07fb9df4f43b9f47a9e04ef117a98bf664fc7af3ac07e0805460ff19166001179055505062000ec1565b60006005600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000304919062000d3a565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c082015160038201906200042d908262000df5565b50506005546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200048d57600080fd5b505af1158015620004a2573d6000803e3d6000fd5b505050505050565b600554604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa15801562000505573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200052b919062000d3a565b9050600081905060006005600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000588573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005ae919062000d3a565b83146200064857620005bf62000bc1565b620006406005600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000617573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200063d919062000d3a565b90565b9050620006a3565b620006a06005600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000617573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529581905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b03199182161790915592516002820180549190961693169290921790935591519091906003820190620007b1908262000df5565b5050306000908152600260205260409081902080546001600160601b0386166001600160601b03199182168117909255600580549091169091179081905590516340c10f1960e01b815260016004820152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200084957600080fd5b505af11580156200085e573d6000803e3d6000fd5b50505050505050565b7fc66b05661be3ccc8286cde4b1783293d6e467bae4aa5e14840f70650a69d4916805460ff19166001908117909155603c600090815260036020527f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6590620008cd602890565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060039062000901604690565b60ff1660ff16815260200190815260200160002060006200092762000cc960201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200095b606e90565b60ff1660ff16815260200190815260200160002060006200098162000cce60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620009b5607890565b60ff1660ff1681526020019081526020016000206000620009db62000cce60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060039062000a0f608290565b60ff1660ff168152602001908152602001600020600062000a3562000cce60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060039062000a69608c90565b60ff1660ff168152602001908152602001600020600062000a8f62000cce60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000ac360d290565b60ff1660ff168152602001908152602001600020600062000ae962000cd360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000b1d60dc90565b60ff1660ff168152602001908152602001600020600062000b4362000cd860201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000b77605090565b60ff1660ff168152602001908152602001600020600062000b9d62000cd860201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60006005600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c17573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c3d919062000d3a565b905060008190506040518060e00160405280826001600160601b0316815260200162000cb66005600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000617573d6000803e3d6000fd5b6001600160601b031681526020016200032c5b602890565b604690565b606e90565b608c90565b611e3d806200269483390190565b6000806040838503121562000cff57600080fd5b82516001600160a01b038116811462000d1757600080fd5b602084015190925060ff8116811462000d2f57600080fd5b809150509250929050565b60006020828403121562000d4d57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000d7f57607f821691505b60208210810362000da057634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000df057600081815260208120601f850160051c8101602086101562000dcf5750805b601f850160051c820191505b81811015620004a25782815560010162000ddb565b505050565b81516001600160401b0381111562000e115762000e1162000d54565b62000e298162000e22845462000d6a565b8462000da6565b602080601f83116001811462000e61576000841562000e485750858301515b600019600386901b1c1916600185901b178555620004a2565b600085815260208120601f198616915b8281101562000e925788860151825594840194600190910190840162000e71565b508582101562000eb15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6117c38062000ed16000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063a48f42e0116100c3578063cde749f41161007c578063cde749f41461030c578063d272ac1e14610314578063d39e604314610346578063dd32047b1461019f578063e285c9c414610359578063e74d052f1461036157600080fd5b8063a48f42e0146102a0578063a5df9e4e146102b3578063a976b93f146102c6578063ae8dfb79146102d9578063bc36dc91146102e1578063c3c5a547146102f957600080fd5b806338e19a751161011557806338e19a751461020e5780633fe9300e14610228578063644c45e01461024b5780637374162b14610270578063893d20e8146102785780638b09a5f01461028057600080fd5b806301ffc9a71461015d5780630dab67c51461019f57806314afd79e146101b55780631a848cfb146101e05780632b91e0a9146101e857806338bb429a146101fb575b600080fd5b61018a61016b3660046111ef565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a7600381565b604051908152602001610196565b6101c86101c3366004611241565b610374565b6040516001600160a01b039091168152602001610196565b6101a7610490565b61018a6101f6366004611241565b61050e565b6101c861020936600461127e565b6105fb565b610216610658565b60405160ff9091168152602001610196565b61023e6040518060200160405280600081525081565b60405161019691906112e1565b6005546001600160601b03165b6040516001600160601b039091168152602001610196565b6102166106c6565b6101c8610710565b61029361028e366004611241565b61071b565b60405161019691906112f4565b6102936102ae36600461127e565b610882565b6102586102c1366004611476565b610954565b6102586102d4366004611476565b610a15565b6101a7600281565b600554600160601b90046001600160a01b03166101c8565b61018a610307366004611241565b610a43565b610216610ada565b610258610322366004611241565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101c8610354366004611549565b610b24565b6101c8600181565b61018a61036f36600461127e565b610ba3565b6005546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156103fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104229190611582565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610466573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048a919061159f565b92915050565b60006005600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050991906115bc565b905090565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a491906115d5565b801561048a57506001600160a01b0382166000908152600260209081526040808320546001600160601b03168352600190915290205461048a90600160c01b900460ff166105f0603c90565b60ff90811691161490565b60055460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103e1565b600654604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050991906115f2565b60065460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156106a2573d6000803e3d6000fd5b600061050930610374565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906107f99061160f565b80601f01602080910402602001604051908101604052809291908181526020018280546108259061160f565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906107f99061160f565b600654604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa15801561099d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c191906115d5565b6109de57604051638fe695a360e01b815260040160405180910390fd5b6109ee82604001516105f0603c90565b15610a0c5760405163b4a7fc9360e01b815260040160405180910390fd5b61048a82610bfd565b6006546000906001600160a01b03163314610a0c576040516347435e4760e11b815260040160405180910390fd5b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610ab6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048a91906115d5565b60065460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156106a2573d6000803e3d6000fd5b60065460405163f4f6761560e01b815260ff8084166004830152841660248201526000916001600160a01b03169063f4f6761590604401602060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9c919061159f565b9392505050565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610a99565b6040808201516020808401516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c0840191610c9f9061160f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ccb9061160f565b8015610d185780601f10610ced57610100808354040283529160200191610d18565b820191906000526020600020905b815481529060010190602001808311610cfb57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610d575760405163b0014c0760e01b815260040160405180910390fd5b6000610d71886060015189608001518660600151856111b1565b60055460a08a01516040805160208101825260008082529151631109bad360e11b81529495509093600160601b9093046001600160a01b03169263221375a692610dc2929091879190600401611649565b6020604051808303816000875af1158015610de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0591906115bc565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610f5891906116cd565b50505060808901516001600160a01b0316156110c45760ff8088166000908152600360209081526040808320888516845290915281205490911615159003610fc557604051638880f20760e01b815260ff8089166004830152851660248201526044015b60405180910390fd5b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106191906115d5565b1561108a5760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610fbc565b6001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038a16179055611116565b60ff808816600090815260046020908152604080832088851684529091528120549091161515900361111657604051638880f20760e01b815260ff808916600483015285166024820152604401610fbc565b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a0015160405161119d969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a150505050505050919050565b60006001600160a01b0384166111d65782156111ce5750806111e7565b5060006111e7565b84156111e35750826111e7565b5060005b949350505050565b60006020828403121561120157600080fd5b81356001600160e01b031981168114610b9c57600080fd5b6001600160a01b038116811461122e57600080fd5b50565b803561123c81611219565b919050565b60006020828403121561125357600080fd5b8135610b9c81611219565b6001600160601b038116811461122e57600080fd5b803561123c8161125e565b60006020828403121561129057600080fd5b8135610b9c8161125e565b6000815180845260005b818110156112c1576020818501810151868301820152016112a5565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b9c602083018461129b565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161135d60c08401826001600160a01b03169052565b5060c083015160e0808401526111e761010084018261129b565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156113b0576113b0611377565b60405290565b60ff8116811461122e57600080fd5b803561123c816113b6565b801515811461122e57600080fd5b803561123c816113d0565b600082601f8301126113fa57600080fd5b813567ffffffffffffffff8082111561141557611415611377565b604051601f8301601f19908116603f0116810190828211818310171561143d5761143d611377565b8160405283815286602085880101111561145657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561148857600080fd5b813567ffffffffffffffff808211156114a057600080fd5b9083019060e082860312156114b457600080fd5b6114bc61138d565b6114c583611273565b81526114d360208401611273565b60208201526114e4604084016113c5565b60408201526114f5606084016113de565b606082015261150660808401611231565b608082015261151760a08401611231565b60a082015260c08301358281111561152e57600080fd5b61153a878286016113e9565b60c08301525095945050505050565b6000806040838503121561155c57600080fd5b8235611567816113b6565b91506020830135611577816113b6565b809150509250929050565b60006020828403121561159457600080fd5b8151610b9c8161125e565b6000602082840312156115b157600080fd5b8151610b9c81611219565b6000602082840312156115ce57600080fd5b5051919050565b6000602082840312156115e757600080fd5b8151610b9c816113d0565b60006020828403121561160457600080fd5b8151610b9c816113b6565b600181811c9082168061162357607f821691505b60208210810361164357634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b038481168252831660208201526060604082018190526000906116759083018461129b565b95945050505050565b601f8211156116c857600081815260208120601f850160051c810160208610156116a55750805b601f850160051c820191505b818110156116c4578281556001016116b1565b5050505b505050565b815167ffffffffffffffff8111156116e7576116e7611377565b6116fb816116f5845461160f565b8461167e565b602080601f83116001811461173057600084156117185750858301515b600019600386901b1c1916600185901b1785556116c4565b600085815260208120601f198616915b8281101561175f57888601518255948401946001909101908401611740565b508582101561177d5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea264697066735822122033d977d2ecbdb08a5c02df1d0d00345d9a7c64d4024703ef3db1226d5251e44a64736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220ea83661feb8d07247ba4fc77cce2760aa9afb7f2f6a802089397d027ee33b3bd64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
456
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80639ef6ddc9116100715780639ef6ddc91461019f578063bf7e214f146101db578063d2213b5b146101ec578063f40d7c301461020c578063f4f6761514610214578063fdd9ec7d1461022757600080fd5b80630e41142e146100b95780630e6d1de9146100f25780635ab1bd53146101045780637a9e5e4b1461013e5780638fb36037146101535780639d1e940414610174575b600080fd5b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff90911681526020015b60405180910390f35b600054600160a81b900460ff166100db565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100e9565b61015161014c36600461138e565b61023a565b005b61015b6102b9565b6040516001600160e01b031990911681526020016100e9565b61018761018236600461138e565b6102dd565b6040516001600160601b0390911681526020016100e9565b6101cb6101ad36600461138e565b6001600160a01b031660009081526005602052604090205460ff1690565b60405190151581526020016100e9565b6000546001600160a01b0316610126565b6101ff6101fa3660046113c1565b61045f565b6040516100e991906113de565b6100db6104fa565b610126610222366004611431565b610636565b61018761023536600461138e565b610666565b60005433906001600160a01b031681146102765760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b6000036102ac576040516361798f2f60e11b81526001600160a01b038316600482015260240161026d565b6102b582610a6a565b5050565b60008054600160a01b900460ff166102d15750600090565b50638fb3603760e01b90565b60006102ec335b600036610abe565b6000806102fc84603c5b33610bbe565b91509150600061030a6104fa565b90506103188382603c610dd8565b5061032282610e72565b61032e8582603c6110e0565b60405163a976b93f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a976b93f9061037a9086906004016114ba565b6020604051808303816000875af1158015610399573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bd9190611561565b9350846001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156103fa57600080fd5b505af115801561040e573d6000803e3d6000fd5b50506040805160ff851681526001600160a01b03891660208201527ff7d028a430f2a37026667fd5444515ac5d8be80a482ec6478f24b6561e91ad20935001905060405180910390a1505050919050565b60408051602080820183526060825260ff8416600090815260018252839020835181548084028201860186529281018381529394909391928492918491908401828280156104ea57602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116104bb5790505b5050505050815250509050919050565b60008054604051632b10f60d60e21b8152600160a81b90910460ff166004820152819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610559573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057d919061157c565b9050801561060e5773__$9dab98ad7ae1a426029e5739f922230a41$__638e4ad86c6105aa8360016115ab565b6040518263ffffffff1660e01b81526004016105c891815260200190565b602060405180830381865af41580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060991906115c9565b610630565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b60ff8083166000908152600360209081526040808320938516835292905220546001600160a01b03165b92915050565b6000610671336102e4565b600061067e83603c6102f6565b509050600061068b6104fa565b9050600061069a838383610dd8565b60ff80841660009081526002602090815260408083209385168352928152828220805484518184028101840190955280855294955091939083018282801561072e57602002820191906000526020600020906000905b82829054906101000a900460e01b6001600160e01b031916815260200190600401906020826003010492830192600103820291508084116106f05790505b50505050509050805160000361076b5760405163810fe06160e01b81526001600160a01b038716600482015260ff8316602482015260440161026d565b60006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043603c6040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa1580156107e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080891906115f1565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166361bc3b418984866040518463ffffffff1660e01b815260040161085c9392919061160e565b6020604051808303816000875af115801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f919061167a565b60ff86811660009081526002602090815260408083209389168352929052908120600101805467ffffffffffffffff191667ffffffffffffffff841617905560048054929350906108ef836116a4565b9190505550600454600003610970576000805460ff60a81b1916600160a81b60ff88169081029190911782556001600160a01b038416825260056020908152604092839020805460ff1916600117905591519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15b61097b8886866110e0565b60405163a976b93f60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a976b93f906109c79089906004016114ba565b6020604051808303816000875af11580156109e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0a9190611561565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a4757600080fd5b505af1158015610a5b573d6000803e3d6000fd5b50505050505050505050919050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080610af4610ad66000546001600160a01b031690565b8630610ae660046000898b6116bb565b610aef916116e5565b6111a9565b9150915081610bb75763ffffffff811615610b94576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90610b4f90889088908890600401611715565b600060405180830381600087803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b50506000805460ff60a01b1916905550610bb79050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161026d565b5050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610c39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c61919081019061185c565b6001600160a01b0387166080830152600060608301526040820151919350915060ff858116911614610cb9576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161026d565b60a08201516001600160a01b0380821690851614610cf55760405163dfc430cb60e01b81526001600160a01b038516600482015260240161026d565b856001600160a01b0316816001600160a01b031603610d27576040516317faf4db60e11b815260040160405180910390fd5b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015610d8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db19190611955565b15610dcf57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008060008560c00151806020019051810190610df59190611970565b909250905060ff80821690861614610e2d57604051632ac811e560e01b815260ff80871660048301528216602482015260440161026d565b60ff841615610e695760ff80831690851614610e695760405163344254bf60e11b815260ff80861660048301528316602482015260440161026d565b50949350505050565b6000610e7c6104fa565b9050600082806020019051810190610e9491906119c3565b90508051600003610eb85760405163b3327ef160e01b815260040160405180910390fd5b60ff82811660009081526001602081815260408320805492830181558352808320908204018054603c601f9093166101000a9283029290940219909316179091555b81518110156110d7576000828281518110610f1757610f17611b31565b60200260200101516000015190506000838381518110610f3957610f39611b31565b6020026020010151602001519050610f5e82610f53603c90565b60ff90811691161490565b15610f7c5760405163029fd1c360e41b815260040160405180910390fd5b8051600003610f9e5760405163be7f9a6960e01b815260040160405180910390fd5b60005b815181101561100357818181518110610fbc57610fbc611b31565b60200260200101516001600160e01b031916600060e01b03610ff15760405163041dbc8b60e11b815260040160405180910390fd5b80610ffb81611b47565b915050610fa1565b5060ff8086166000908152600260209081526040808320938616835292905220541561104f5760405163f71532d960e01b815260ff80871660048301528316602482015260440161026d565b60ff80861660009081526002602090815260408083209386168352928152919020825161107e928401906112b5565b505060ff84811660009081526001602081815260408320805492830181558352918290209181049091018054601f9092166101000a808402199092169390921602919091179055806110cf81611b47565b915050610efa565b50516004555050565b60ff8083166000908152600360209081526040808320938516835292905220546001600160a01b031615611132576040516353752f3960e11b81526001600160a01b038416600482015260240161026d565b60ff82811660008181526003602090815260408083209486168084529482529182902080546001600160a01b0319166001600160a01b03891617905581519283528201929092527fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a1505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516112189190611b60565b600060405180830381855afa9150503d8060008114611253576040519150601f19603f3d011682016040523d82523d6000602084013e611258565b606091505b509150915081156112aa57604081511061128a57808060200190518101906112809190611b7c565b90945092506112aa565b60208151106112aa57808060200190518101906112a79190611955565b93505b505094509492505050565b828054828255906000526020600020906007016008900481019282156113515791602002820160005b8382111561131f57835183826101000a81548163ffffffff021916908360e01c021790555092602001926004016020816003010492830192600103026112de565b801561134f5782816101000a81549063ffffffff021916905560040160208160030104928301926001030261131f565b505b5061135d929150611361565b5090565b5b8082111561135d5760008155600101611362565b6001600160a01b038116811461138b57600080fd5b50565b6000602082840312156113a057600080fd5b81356113ab81611376565b9392505050565b60ff8116811461138b57600080fd5b6000602082840312156113d357600080fd5b81356113ab816113b2565b6020808252825182820182905280516040840181905260009291820190839060608601905b8083101561142657835160ff168252928401926001929092019190840190611403565b509695505050505050565b6000806040838503121561144457600080fd5b823561144f816113b2565b9150602083013561145f816113b2565b809150509250929050565b60005b8381101561148557818101518382015260200161146d565b50506000910152565b600081518084526114a681602086016020860161146a565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161152360c08401826001600160a01b03169052565b5060c083015160e08084015261153d61010084018261148e565b949350505050565b80516001600160601b038116811461155c57600080fd5b919050565b60006020828403121561157357600080fd5b6113ab82611545565b60006020828403121561158e57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561066057610660611595565b805161155c816113b2565b6000602082840312156115db57600080fd5b81516113ab816113b2565b805161155c81611376565b60006020828403121561160357600080fd5b81516113ab81611376565b6001600160a01b0384811682528316602080830191909152606060408301819052835190830181905260009184810191608085019190845b8181101561166c5784516001600160e01b03191684529382019392820192600101611646565b509198975050505050505050565b60006020828403121561168c57600080fd5b815167ffffffffffffffff811681146113ab57600080fd5b6000816116b3576116b3611595565b506000190190565b600080858511156116cb57600080fd5b838611156116d857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561170d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561178e5761178e611755565b60405290565b6040805190810167ffffffffffffffff8111828210171561178e5761178e611755565b604051601f8201601f1916810167ffffffffffffffff811182821017156117e0576117e0611755565b604052919050565b8051801515811461155c57600080fd5b600082601f83011261180957600080fd5b815167ffffffffffffffff81111561182357611823611755565b611836601f8201601f19166020016117b7565b81815284602083860101111561184b57600080fd5b61153d82602083016020870161146a565b6000806040838503121561186f57600080fd5b825167ffffffffffffffff8082111561188757600080fd5b9084019060e0828703121561189b57600080fd5b6118a361176b565b6118ac83611545565b81526118ba60208401611545565b60208201526118cb604084016115be565b60408201526118dc606084016117e8565b60608201526118ed608084016115e6565b60808201526118fe60a084016115e6565b60a082015260c08301518281111561191557600080fd5b611921888286016117f8565b60c083015250602086015190945091508082111561193e57600080fd5b5061194b858286016117f8565b9150509250929050565b60006020828403121561196757600080fd5b6113ab826117e8565b6000806040838503121561198357600080fd5b825161198e816113b2565b602084015190925061145f816113b2565b600067ffffffffffffffff8211156119b9576119b9611755565b5060051b60200190565b600060208083850312156119d657600080fd5b825167ffffffffffffffff808211156119ee57600080fd5b818501915085601f830112611a0257600080fd5b8151611a15611a108261199f565b6117b7565b81815260059190911b83018401908481019088831115611a3457600080fd5b8585015b83811015611b2457805185811115611a505760008081fd5b86016040818c03601f1901811315611a685760008081fd5b611a70611794565b89830151611a7d816113b2565b81528282015188811115611a915760008081fd5b8084019350508c603f840112611aa75760008081fd5b89830151611ab7611a108261199f565b81815260059190911b84018301908b8101908f831115611ad75760008081fd5b948401945b82861015611b0f57855194506001600160e01b031985168514611aff5760008081fd5b848252948c0194908c0190611adc565b838d0152505085525050918601918601611a38565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b600060018201611b5957611b59611595565b5060010190565b60008251611b7281846020870161146a565b9190910192915050565b60008060408385031215611b8f57600080fd5b611b98836117e8565b9150602083015163ffffffff8116811461145f57600080fdfea264697066735822122034322dcdacf0cf681383482359d1bb08be2872fb00c50eefeb8be2eee84e77b364736f6c63430008140033",
457
+ "linkReferences": {
458
+ "contracts/types/NftId.sol": {
459
+ "NftIdLib": [
460
+ {
461
+ "length": 20,
462
+ "start": 12489
463
+ },
464
+ {
465
+ "length": 20,
466
+ "start": 12876
467
+ },
468
+ {
469
+ "length": 20,
470
+ "start": 13116
471
+ },
472
+ {
473
+ "length": 20,
474
+ "start": 14209
475
+ },
476
+ {
477
+ "length": 20,
478
+ "start": 15625
479
+ }
480
+ ]
481
+ },
482
+ "contracts/types/ObjectType.sol": {
483
+ "ObjectTypeLib": [
484
+ {
485
+ "length": 20,
486
+ "start": 14561
487
+ }
488
+ ]
489
+ },
490
+ "contracts/types/Version.sol": {
491
+ "VersionPartLib": [
492
+ {
493
+ "length": 20,
494
+ "start": 1901
495
+ },
496
+ {
497
+ "length": 20,
498
+ "start": 2005
499
+ },
500
+ {
501
+ "length": 20,
502
+ "start": 7970
503
+ }
504
+ ]
505
+ }
506
+ },
507
+ "deployedLinkReferences": {
508
+ "contracts/types/Version.sol": {
509
+ "VersionPartLib": [
510
+ {
511
+ "length": 20,
512
+ "start": 1311
513
+ },
514
+ {
515
+ "length": 20,
516
+ "start": 1415
517
+ }
518
+ ]
519
+ }
520
+ }
521
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/9912773e3edab3bafff2001def18b5b3.json"
4
+ }