@etherisc/gif-next 0.0.2-fe77319 → 0.0.2-ff1bf36-818

Sign up to get free protection for your applications and to get access to all the features.
Files changed (562) hide show
  1. package/README.md +406 -9
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/access → authorization}/IAccess.sol/IAccess.json +1 -1
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1489 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1159 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1502 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +842 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +906 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +914 -0
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +295 -535
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +757 -0
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +486 -591
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1693 -0
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1160 -0
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3469 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  69. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IBundle.sol/IBundle.json} +2 -2
  70. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  71. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
  72. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  73. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  74. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  75. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  76. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.json +10 -0
  78. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  79. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  80. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1126 -0
  82. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  84. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  86. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  88. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  90. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1018 -0
  92. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  93. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  94. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  96. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  97. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1395 -0
  98. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  100. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  101. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1466 -0
  102. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +818 -0
  104. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +907 -0
  106. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  107. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +909 -0
  108. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1218 -0
  110. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  111. package/artifacts/contracts/pool/Pool.sol/Pool.json +1181 -0
  112. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  113. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
  114. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +758 -0
  116. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  117. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +852 -0
  118. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  119. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  120. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  121. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1243 -0
  122. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  123. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  124. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  125. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1331 -0
  126. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  128. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  129. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +517 -0
  130. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  131. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +788 -0
  132. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  133. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +800 -0
  134. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  135. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +549 -0
  136. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  137. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +948 -0
  138. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  139. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +400 -0
  140. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1263 -0
  142. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
  144. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  145. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1017 -0
  146. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  148. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  149. package/artifacts/contracts/product/Product.sol/Product.json +1201 -0
  150. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  151. package/artifacts/contracts/product/RiskService.sol/RiskService.json +695 -0
  152. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +702 -0
  154. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  155. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +784 -0
  156. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  157. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +743 -104
  158. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  159. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +940 -0
  160. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  161. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  162. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  163. package/artifacts/contracts/registry/Registry.sol/Registry.json +1083 -114
  164. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  165. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
  166. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  167. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1452 -0
  168. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  169. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +721 -0
  170. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  171. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  172. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  173. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  174. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  175. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  176. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  177. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  178. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  179. package/artifacts/contracts/shared/Component.sol/Component.json +832 -0
  180. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  181. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1680 -0
  182. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +804 -0
  184. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +539 -0
  186. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +605 -0
  188. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  189. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  190. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  191. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  192. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  193. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +474 -0
  194. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  195. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +110 -0
  196. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  197. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +131 -0
  198. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  199. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  200. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  201. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +181 -0
  202. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  203. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  204. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  205. package/artifacts/contracts/shared/IService.sol/IService.json +346 -0
  206. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  208. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  209. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
  210. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  211. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +940 -0
  212. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  213. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  214. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  216. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  217. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  218. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  219. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +244 -0
  220. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  221. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  222. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  223. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +353 -0
  224. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  225. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  226. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  227. package/artifacts/contracts/shared/Service.sol/Service.json +507 -0
  228. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  229. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +469 -0
  230. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  231. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  232. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  233. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1412 -0
  234. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  235. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  236. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +387 -0
  238. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  239. package/artifacts/contracts/staking/Staking.sol/Staking.json +1941 -0
  240. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  242. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  244. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  246. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  248. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  250. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  252. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  253. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +576 -0
  254. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  255. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  256. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  258. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  260. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  262. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  264. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  266. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  267. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  268. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  270. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  271. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  272. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  274. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  276. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  278. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  280. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  282. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  284. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +222 -0
  286. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  288. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  290. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +92 -0
  292. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  294. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  296. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  298. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  300. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  302. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  304. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  305. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  306. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  307. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  308. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  309. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  310. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  311. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  312. package/contracts/authorization/AccessAdmin.sol +591 -0
  313. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  314. package/contracts/authorization/Authorization.sol +217 -0
  315. package/contracts/authorization/IAccess.sol +48 -0
  316. package/contracts/authorization/IAccessAdmin.sol +136 -0
  317. package/contracts/authorization/IAuthorization.sol +54 -0
  318. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  319. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  320. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  321. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  322. package/contracts/distribution/BasicDistribution.sol +138 -0
  323. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  324. package/contracts/distribution/Distribution.sol +295 -0
  325. package/contracts/distribution/DistributionService.sol +322 -0
  326. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  327. package/contracts/distribution/IDistributionComponent.sol +52 -0
  328. package/contracts/distribution/IDistributionService.sol +95 -0
  329. package/contracts/instance/BundleSet.sol +126 -0
  330. package/contracts/instance/IInstance.sol +58 -15
  331. package/contracts/instance/IInstanceService.sol +92 -0
  332. package/contracts/instance/Instance.sol +211 -45
  333. package/contracts/instance/InstanceAdmin.sol +285 -0
  334. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  335. package/contracts/instance/InstanceReader.sol +408 -0
  336. package/contracts/instance/InstanceService.sol +467 -0
  337. package/contracts/instance/InstanceServiceManager.sol +40 -0
  338. package/contracts/instance/InstanceStore.sol +277 -0
  339. package/contracts/instance/base/BalanceStore.sol +123 -0
  340. package/contracts/instance/base/Cloneable.sol +28 -0
  341. package/contracts/instance/base/ObjectCounter.sol +21 -0
  342. package/contracts/instance/base/ObjectLifecycle.sol +105 -0
  343. package/contracts/instance/base/ObjectSet.sol +79 -0
  344. package/contracts/instance/module/IAccess.sol +46 -0
  345. package/contracts/instance/module/IBundle.sol +20 -0
  346. package/contracts/instance/module/IComponents.sol +46 -0
  347. package/contracts/instance/module/IDistribution.sol +41 -0
  348. package/contracts/instance/module/IPolicy.sol +84 -0
  349. package/contracts/instance/module/IRisk.sol +11 -0
  350. package/contracts/mock/Dip.sol +26 -0
  351. package/contracts/oracle/BasicOracle.sol +48 -0
  352. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  353. package/contracts/oracle/IOracle.sol +36 -0
  354. package/contracts/oracle/IOracleComponent.sol +33 -0
  355. package/contracts/oracle/IOracleService.sol +65 -0
  356. package/contracts/oracle/Oracle.sol +166 -0
  357. package/contracts/oracle/OracleService.sol +278 -0
  358. package/contracts/oracle/OracleServiceManager.sol +39 -0
  359. package/contracts/pool/BasicPool.sol +166 -0
  360. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  361. package/contracts/pool/BundleService.sol +436 -0
  362. package/contracts/pool/BundleServiceManager.sol +39 -0
  363. package/contracts/pool/IBundleService.sol +134 -0
  364. package/contracts/pool/IPoolComponent.sol +58 -0
  365. package/contracts/pool/IPoolService.sol +163 -0
  366. package/contracts/pool/Pool.sol +328 -0
  367. package/contracts/pool/PoolService.sol +541 -0
  368. package/contracts/pool/PoolServiceManager.sol +39 -0
  369. package/contracts/product/ApplicationService.sol +250 -0
  370. package/contracts/product/ApplicationServiceManager.sol +38 -0
  371. package/contracts/product/BasicProduct.sol +52 -0
  372. package/contracts/product/BasicProductAuthorization.sol +43 -0
  373. package/contracts/product/ClaimService.sol +416 -0
  374. package/contracts/product/ClaimServiceManager.sol +38 -0
  375. package/contracts/product/IApplicationService.sol +63 -0
  376. package/contracts/product/IClaimService.sol +100 -0
  377. package/contracts/product/IPolicyService.sol +84 -0
  378. package/contracts/product/IPricingService.sol +39 -0
  379. package/contracts/product/IProductComponent.sol +40 -0
  380. package/contracts/product/IRiskService.sol +33 -0
  381. package/contracts/product/PolicyService.sol +584 -0
  382. package/contracts/product/PolicyServiceManager.sol +39 -0
  383. package/contracts/product/PricingService.sol +304 -0
  384. package/contracts/product/PricingServiceManager.sol +39 -0
  385. package/contracts/product/Product.sol +410 -0
  386. package/contracts/product/RiskService.sol +97 -0
  387. package/contracts/product/RiskServiceManager.sol +39 -0
  388. package/contracts/registry/ChainNft.sol +217 -0
  389. package/contracts/registry/IRegistry.sol +120 -52
  390. package/contracts/registry/IRegistryService.sol +69 -0
  391. package/contracts/registry/ITransferInterceptor.sol +7 -0
  392. package/contracts/registry/Registry.sol +504 -125
  393. package/contracts/registry/RegistryAdmin.sol +374 -0
  394. package/contracts/registry/RegistryService.sol +252 -0
  395. package/contracts/registry/RegistryServiceManager.sol +53 -0
  396. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  397. package/contracts/registry/ReleaseRegistry.sol +485 -0
  398. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  399. package/contracts/registry/TokenRegistry.sol +315 -0
  400. package/contracts/shared/Component.sol +268 -0
  401. package/contracts/shared/ComponentService.sol +641 -0
  402. package/contracts/shared/ComponentServiceManager.sol +35 -0
  403. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  404. package/contracts/shared/IComponent.sol +70 -0
  405. package/contracts/shared/IComponentService.sol +108 -0
  406. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  407. package/contracts/shared/IKeyValueStore.sol +54 -0
  408. package/contracts/shared/ILifecycle.sol +29 -0
  409. package/contracts/shared/INftOwnable.sol +23 -0
  410. package/contracts/shared/IPolicyHolder.sol +45 -0
  411. package/contracts/shared/IRegisterable.sol +15 -0
  412. package/contracts/shared/IRegistryLinked.sol +11 -0
  413. package/contracts/shared/IService.sol +25 -0
  414. package/contracts/shared/InitializableCustom.sol +177 -0
  415. package/contracts/shared/InitializableERC165.sol +27 -0
  416. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  417. package/contracts/shared/KeyValueStore.sol +131 -0
  418. package/contracts/shared/Lifecycle.sol +77 -0
  419. package/contracts/shared/NftIdSet.sol +65 -0
  420. package/contracts/shared/NftOwnable.sol +107 -0
  421. package/contracts/shared/PolicyHolder.sol +99 -0
  422. package/contracts/shared/Registerable.sol +75 -0
  423. package/contracts/shared/RegistryLinked.sol +43 -0
  424. package/contracts/shared/Service.sol +82 -0
  425. package/contracts/shared/TokenHandler.sol +139 -0
  426. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  427. package/contracts/staking/IStaking.sol +167 -0
  428. package/contracts/staking/IStakingService.sol +160 -0
  429. package/contracts/staking/StakeManagerLib.sol +206 -0
  430. package/contracts/staking/Staking.sol +497 -0
  431. package/contracts/staking/StakingLifecycle.sol +23 -0
  432. package/contracts/staking/StakingManager.sol +50 -0
  433. package/contracts/staking/StakingReader.sol +183 -0
  434. package/contracts/staking/StakingService.sol +407 -0
  435. package/contracts/staking/StakingServiceManager.sol +44 -0
  436. package/contracts/staking/StakingStore.sol +605 -0
  437. package/contracts/staking/TargetManagerLib.sol +207 -0
  438. package/contracts/type/AddressSet.sol +58 -0
  439. package/contracts/type/Amount.sol +135 -0
  440. package/contracts/type/Blocknumber.sol +142 -0
  441. package/contracts/type/ClaimId.sol +75 -0
  442. package/contracts/type/DistributorType.sol +55 -0
  443. package/contracts/type/Fee.sol +66 -0
  444. package/contracts/type/Key32.sol +50 -0
  445. package/contracts/type/NftId.sol +78 -0
  446. package/contracts/type/NftIdSet.sol +62 -0
  447. package/contracts/type/ObjectType.sol +271 -0
  448. package/contracts/type/PayoutId.sol +82 -0
  449. package/contracts/type/Referral.sol +90 -0
  450. package/contracts/type/RequestId.sol +75 -0
  451. package/contracts/type/RiskId.sol +43 -0
  452. package/contracts/type/RoleId.sol +174 -0
  453. package/contracts/type/Seconds.sol +93 -0
  454. package/contracts/type/Selector.sol +102 -0
  455. package/contracts/type/StateId.sol +135 -0
  456. package/contracts/type/String.sol +53 -0
  457. package/contracts/type/Timestamp.sol +146 -0
  458. package/contracts/type/UFixed.sol +351 -0
  459. package/contracts/type/Version.sol +110 -0
  460. package/contracts/upgradeability/IVersionable.sol +53 -0
  461. package/contracts/upgradeability/ProxyManager.sol +198 -0
  462. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  463. package/contracts/upgradeability/Versionable.sol +59 -0
  464. package/package.json +25 -7
  465. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  466. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  467. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  468. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  469. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  470. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  471. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  472. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  473. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  474. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -195
  475. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  476. package/artifacts/contracts/components/Product.sol/Product.json +0 -213
  477. package/artifacts/contracts/experiment/A.sol/A.dbg.json +0 -4
  478. package/artifacts/contracts/experiment/A.sol/A.json +0 -128
  479. package/artifacts/contracts/experiment/A.sol/AShared.dbg.json +0 -4
  480. package/artifacts/contracts/experiment/A.sol/AShared.json +0 -42
  481. package/artifacts/contracts/experiment/B.sol/B.dbg.json +0 -4
  482. package/artifacts/contracts/experiment/B.sol/B.json +0 -76
  483. package/artifacts/contracts/experiment/C.sol/C.dbg.json +0 -4
  484. package/artifacts/contracts/experiment/C.sol/C.json +0 -89
  485. package/artifacts/contracts/experiment/IA.sol/IA.dbg.json +0 -4
  486. package/artifacts/contracts/experiment/IA.sol/IA.json +0 -128
  487. package/artifacts/contracts/experiment/IA.sol/ISharedA.dbg.json +0 -4
  488. package/artifacts/contracts/experiment/IA.sol/ISharedA.json +0 -37
  489. package/artifacts/contracts/experiment/IB.sol/IB.dbg.json +0 -4
  490. package/artifacts/contracts/experiment/IB.sol/IB.json +0 -50
  491. package/artifacts/contracts/experiment/IC.sol/IC.dbg.json +0 -4
  492. package/artifacts/contracts/experiment/IC.sol/IC.json +0 -63
  493. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  494. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  495. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  496. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  497. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  498. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  499. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  500. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  501. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  502. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  503. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
  505. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  506. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  507. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  508. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  509. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  510. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  511. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  512. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  513. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  514. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  515. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  516. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  517. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  518. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  519. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  520. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  521. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  522. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  523. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
  524. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  525. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  526. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  527. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  528. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  529. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  530. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  531. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
  532. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  533. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  534. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  535. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  536. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  537. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  538. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  539. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  540. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  541. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  542. package/contracts/components/Component.sol +0 -62
  543. package/contracts/components/IPool.sol +0 -9
  544. package/contracts/components/IProduct.sol +0 -11
  545. package/contracts/components/Pool.sol +0 -29
  546. package/contracts/components/Product.sol +0 -65
  547. package/contracts/experiment/A.sol +0 -56
  548. package/contracts/experiment/B.sol +0 -23
  549. package/contracts/experiment/C.sol +0 -28
  550. package/contracts/experiment/IA.sol +0 -18
  551. package/contracts/experiment/IB.sol +0 -9
  552. package/contracts/experiment/IC.sol +0 -11
  553. package/contracts/instance/access/Access.sol +0 -218
  554. package/contracts/instance/access/IAccess.sol +0 -83
  555. package/contracts/instance/component/ComponentModule.sol +0 -259
  556. package/contracts/instance/component/IComponent.sol +0 -94
  557. package/contracts/instance/policy/IPolicy.sol +0 -66
  558. package/contracts/instance/policy/PolicyModule.sol +0 -106
  559. package/contracts/instance/pool/IPoolModule.sol +0 -40
  560. package/contracts/instance/pool/PoolModule.sol +0 -83
  561. package/contracts/instance/product/IProductService.sol +0 -45
  562. package/contracts/instance/product/ProductService.sol +0 -105
@@ -0,0 +1,1452 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RegistryService",
4
+ "sourceName": "contracts/registry/RegistryService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "nftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorNftOwnableAlreadyLinked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "contractAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableContractNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "account",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorNftOwnableNotOwner",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "registryAddress",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "ErrorNotRegistry",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "registerableAddress",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "ErrorRegistryServiceInvalidAddress",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "initialOwner",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "ErrorRegistryServiceInvalidInitialOwner",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [
117
+ {
118
+ "internalType": "address",
119
+ "name": "notComponent",
120
+ "type": "address"
121
+ }
122
+ ],
123
+ "name": "ErrorRegistryServiceNotComponent",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "notDistribution",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorRegistryServiceNotDistribution",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [
139
+ {
140
+ "internalType": "address",
141
+ "name": "notInstance",
142
+ "type": "address"
143
+ }
144
+ ],
145
+ "name": "ErrorRegistryServiceNotInstance",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "notPool",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "ErrorRegistryServiceNotPool",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "address",
163
+ "name": "notProduct",
164
+ "type": "address"
165
+ }
166
+ ],
167
+ "name": "ErrorRegistryServiceNotProduct",
168
+ "type": "error"
169
+ },
170
+ {
171
+ "inputs": [],
172
+ "name": "ErrorRegistryServiceNotRegistryOwner",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [
177
+ {
178
+ "internalType": "address",
179
+ "name": "notService",
180
+ "type": "address"
181
+ }
182
+ ],
183
+ "name": "ErrorRegistryServiceNotService",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "objectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorRegistryServiceObjectAddressNotZero",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "ObjectType",
201
+ "name": "objectType",
202
+ "type": "uint8"
203
+ },
204
+ {
205
+ "internalType": "address",
206
+ "name": "owner",
207
+ "type": "address"
208
+ }
209
+ ],
210
+ "name": "ErrorRegistryServiceObjectOwnerRegistered",
211
+ "type": "error"
212
+ },
213
+ {
214
+ "inputs": [
215
+ {
216
+ "internalType": "ObjectType",
217
+ "name": "objectType",
218
+ "type": "uint8"
219
+ }
220
+ ],
221
+ "name": "ErrorRegistryServiceObjectOwnerZero",
222
+ "type": "error"
223
+ },
224
+ {
225
+ "inputs": [
226
+ {
227
+ "internalType": "ObjectType",
228
+ "name": "expected",
229
+ "type": "uint8"
230
+ },
231
+ {
232
+ "internalType": "ObjectType",
233
+ "name": "found",
234
+ "type": "uint8"
235
+ }
236
+ ],
237
+ "name": "ErrorRegistryServiceObjectTypeInvalid",
238
+ "type": "error"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "contract IRegisterable",
244
+ "name": "registerable",
245
+ "type": "address"
246
+ },
247
+ {
248
+ "internalType": "address",
249
+ "name": "found",
250
+ "type": "address"
251
+ }
252
+ ],
253
+ "name": "ErrorRegistryServiceRegisterableAddressInvalid",
254
+ "type": "error"
255
+ },
256
+ {
257
+ "inputs": [
258
+ {
259
+ "internalType": "contract IRegisterable",
260
+ "name": "registerable",
261
+ "type": "address"
262
+ },
263
+ {
264
+ "internalType": "address",
265
+ "name": "expected",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "internalType": "address",
270
+ "name": "found",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "name": "ErrorRegistryServiceRegisterableOwnerInvalid",
275
+ "type": "error"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "contract IRegisterable",
281
+ "name": "registerable",
282
+ "type": "address"
283
+ },
284
+ {
285
+ "internalType": "address",
286
+ "name": "owner",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "ErrorRegistryServiceRegisterableOwnerRegistered",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "inputs": [
295
+ {
296
+ "internalType": "contract IRegisterable",
297
+ "name": "registerable",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "ErrorRegistryServiceRegisterableOwnerZero",
302
+ "type": "error"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "contract IRegisterable",
308
+ "name": "registerable",
309
+ "type": "address"
310
+ }
311
+ ],
312
+ "name": "ErrorRegistryServiceRegisterableSelfRegistration",
313
+ "type": "error"
314
+ },
315
+ {
316
+ "inputs": [
317
+ {
318
+ "internalType": "contract IRegisterable",
319
+ "name": "registerable",
320
+ "type": "address"
321
+ },
322
+ {
323
+ "internalType": "ObjectType",
324
+ "name": "expected",
325
+ "type": "uint8"
326
+ },
327
+ {
328
+ "internalType": "ObjectType",
329
+ "name": "found",
330
+ "type": "uint8"
331
+ }
332
+ ],
333
+ "name": "ErrorRegistryServiceRegisterableTypeInvalid",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [],
338
+ "name": "ErrorServiceNotImplemented",
339
+ "type": "error"
340
+ },
341
+ {
342
+ "inputs": [],
343
+ "name": "InvalidInitialization",
344
+ "type": "error"
345
+ },
346
+ {
347
+ "inputs": [],
348
+ "name": "NotInitializing",
349
+ "type": "error"
350
+ },
351
+ {
352
+ "anonymous": false,
353
+ "inputs": [
354
+ {
355
+ "indexed": false,
356
+ "internalType": "address",
357
+ "name": "authority",
358
+ "type": "address"
359
+ }
360
+ ],
361
+ "name": "AuthorityUpdated",
362
+ "type": "event"
363
+ },
364
+ {
365
+ "anonymous": false,
366
+ "inputs": [
367
+ {
368
+ "indexed": false,
369
+ "internalType": "uint64",
370
+ "name": "version",
371
+ "type": "uint64"
372
+ }
373
+ ],
374
+ "name": "Initialized",
375
+ "type": "event"
376
+ },
377
+ {
378
+ "inputs": [],
379
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
380
+ "outputs": [
381
+ {
382
+ "internalType": "bytes32",
383
+ "name": "",
384
+ "type": "bytes32"
385
+ }
386
+ ],
387
+ "stateMutability": "view",
388
+ "type": "function"
389
+ },
390
+ {
391
+ "inputs": [],
392
+ "name": "REGISTERABLE_LOCATION_V1",
393
+ "outputs": [
394
+ {
395
+ "internalType": "bytes32",
396
+ "name": "",
397
+ "type": "bytes32"
398
+ }
399
+ ],
400
+ "stateMutability": "view",
401
+ "type": "function"
402
+ },
403
+ {
404
+ "inputs": [],
405
+ "name": "REGISTRY_CREATION_CODE_HASH",
406
+ "outputs": [
407
+ {
408
+ "internalType": "bytes32",
409
+ "name": "",
410
+ "type": "bytes32"
411
+ }
412
+ ],
413
+ "stateMutability": "view",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [],
418
+ "name": "authority",
419
+ "outputs": [
420
+ {
421
+ "internalType": "address",
422
+ "name": "",
423
+ "type": "address"
424
+ }
425
+ ],
426
+ "stateMutability": "view",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [],
431
+ "name": "getDomain",
432
+ "outputs": [
433
+ {
434
+ "internalType": "ObjectType",
435
+ "name": "serviceDomain",
436
+ "type": "uint8"
437
+ }
438
+ ],
439
+ "stateMutability": "pure",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [],
444
+ "name": "getInitialInfo",
445
+ "outputs": [
446
+ {
447
+ "components": [
448
+ {
449
+ "internalType": "NftId",
450
+ "name": "nftId",
451
+ "type": "uint96"
452
+ },
453
+ {
454
+ "internalType": "NftId",
455
+ "name": "parentNftId",
456
+ "type": "uint96"
457
+ },
458
+ {
459
+ "internalType": "ObjectType",
460
+ "name": "objectType",
461
+ "type": "uint8"
462
+ },
463
+ {
464
+ "internalType": "bool",
465
+ "name": "isInterceptor",
466
+ "type": "bool"
467
+ },
468
+ {
469
+ "internalType": "address",
470
+ "name": "objectAddress",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "internalType": "address",
475
+ "name": "initialOwner",
476
+ "type": "address"
477
+ },
478
+ {
479
+ "internalType": "bytes",
480
+ "name": "data",
481
+ "type": "bytes"
482
+ }
483
+ ],
484
+ "internalType": "struct IRegistry.ObjectInfo",
485
+ "name": "info",
486
+ "type": "tuple"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [],
494
+ "name": "getNftId",
495
+ "outputs": [
496
+ {
497
+ "internalType": "NftId",
498
+ "name": "",
499
+ "type": "uint96"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "getOwner",
508
+ "outputs": [
509
+ {
510
+ "internalType": "address",
511
+ "name": "",
512
+ "type": "address"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [],
520
+ "name": "getRegistry",
521
+ "outputs": [
522
+ {
523
+ "internalType": "contract IRegistry",
524
+ "name": "",
525
+ "type": "address"
526
+ }
527
+ ],
528
+ "stateMutability": "view",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "getRoleId",
534
+ "outputs": [
535
+ {
536
+ "internalType": "RoleId",
537
+ "name": "serviceRoleId",
538
+ "type": "uint64"
539
+ }
540
+ ],
541
+ "stateMutability": "pure",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [],
546
+ "name": "getVersion",
547
+ "outputs": [
548
+ {
549
+ "internalType": "Version",
550
+ "name": "",
551
+ "type": "uint24"
552
+ }
553
+ ],
554
+ "stateMutability": "pure",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "initializeERC165",
560
+ "outputs": [],
561
+ "stateMutability": "nonpayable",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [
566
+ {
567
+ "internalType": "address",
568
+ "name": "initialOwner",
569
+ "type": "address"
570
+ },
571
+ {
572
+ "internalType": "address",
573
+ "name": "registryAddress",
574
+ "type": "address"
575
+ }
576
+ ],
577
+ "name": "initializeNftOwnable",
578
+ "outputs": [],
579
+ "stateMutability": "nonpayable",
580
+ "type": "function"
581
+ },
582
+ {
583
+ "inputs": [
584
+ {
585
+ "internalType": "address",
586
+ "name": "registryAddress",
587
+ "type": "address"
588
+ },
589
+ {
590
+ "internalType": "NftId",
591
+ "name": "parentNftId",
592
+ "type": "uint96"
593
+ },
594
+ {
595
+ "internalType": "ObjectType",
596
+ "name": "objectType",
597
+ "type": "uint8"
598
+ },
599
+ {
600
+ "internalType": "bool",
601
+ "name": "isInterceptor",
602
+ "type": "bool"
603
+ },
604
+ {
605
+ "internalType": "address",
606
+ "name": "initialOwner",
607
+ "type": "address"
608
+ },
609
+ {
610
+ "internalType": "bytes",
611
+ "name": "registryData",
612
+ "type": "bytes"
613
+ }
614
+ ],
615
+ "name": "initializeRegisterable",
616
+ "outputs": [],
617
+ "stateMutability": "nonpayable",
618
+ "type": "function"
619
+ },
620
+ {
621
+ "inputs": [
622
+ {
623
+ "internalType": "address",
624
+ "name": "registryAddress",
625
+ "type": "address"
626
+ }
627
+ ],
628
+ "name": "initializeRegistryLinked",
629
+ "outputs": [],
630
+ "stateMutability": "nonpayable",
631
+ "type": "function"
632
+ },
633
+ {
634
+ "inputs": [
635
+ {
636
+ "internalType": "address",
637
+ "name": "registry",
638
+ "type": "address"
639
+ },
640
+ {
641
+ "internalType": "address",
642
+ "name": "authority",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "internalType": "address",
647
+ "name": "initialOwner",
648
+ "type": "address"
649
+ }
650
+ ],
651
+ "name": "initializeService",
652
+ "outputs": [],
653
+ "stateMutability": "nonpayable",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [
658
+ {
659
+ "internalType": "address",
660
+ "name": "activatedBy",
661
+ "type": "address"
662
+ },
663
+ {
664
+ "internalType": "bytes",
665
+ "name": "data",
666
+ "type": "bytes"
667
+ }
668
+ ],
669
+ "name": "initializeVersionable",
670
+ "outputs": [],
671
+ "stateMutability": "nonpayable",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [],
676
+ "name": "isConsumingScheduledOp",
677
+ "outputs": [
678
+ {
679
+ "internalType": "bytes4",
680
+ "name": "",
681
+ "type": "bytes4"
682
+ }
683
+ ],
684
+ "stateMutability": "view",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [],
689
+ "name": "linkToRegisteredNftId",
690
+ "outputs": [
691
+ {
692
+ "internalType": "NftId",
693
+ "name": "nftId",
694
+ "type": "uint96"
695
+ }
696
+ ],
697
+ "stateMutability": "nonpayable",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [
702
+ {
703
+ "components": [
704
+ {
705
+ "internalType": "NftId",
706
+ "name": "nftId",
707
+ "type": "uint96"
708
+ },
709
+ {
710
+ "internalType": "NftId",
711
+ "name": "parentNftId",
712
+ "type": "uint96"
713
+ },
714
+ {
715
+ "internalType": "ObjectType",
716
+ "name": "objectType",
717
+ "type": "uint8"
718
+ },
719
+ {
720
+ "internalType": "bool",
721
+ "name": "isInterceptor",
722
+ "type": "bool"
723
+ },
724
+ {
725
+ "internalType": "address",
726
+ "name": "objectAddress",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "internalType": "address",
731
+ "name": "initialOwner",
732
+ "type": "address"
733
+ },
734
+ {
735
+ "internalType": "bytes",
736
+ "name": "data",
737
+ "type": "bytes"
738
+ }
739
+ ],
740
+ "internalType": "struct IRegistry.ObjectInfo",
741
+ "name": "info",
742
+ "type": "tuple"
743
+ }
744
+ ],
745
+ "name": "registerBundle",
746
+ "outputs": [
747
+ {
748
+ "internalType": "NftId",
749
+ "name": "nftId",
750
+ "type": "uint96"
751
+ }
752
+ ],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [
758
+ {
759
+ "internalType": "contract IComponent",
760
+ "name": "component",
761
+ "type": "address"
762
+ },
763
+ {
764
+ "internalType": "ObjectType",
765
+ "name": "objectType",
766
+ "type": "uint8"
767
+ },
768
+ {
769
+ "internalType": "address",
770
+ "name": "initialOwner",
771
+ "type": "address"
772
+ }
773
+ ],
774
+ "name": "registerComponent",
775
+ "outputs": [
776
+ {
777
+ "components": [
778
+ {
779
+ "internalType": "NftId",
780
+ "name": "nftId",
781
+ "type": "uint96"
782
+ },
783
+ {
784
+ "internalType": "NftId",
785
+ "name": "parentNftId",
786
+ "type": "uint96"
787
+ },
788
+ {
789
+ "internalType": "ObjectType",
790
+ "name": "objectType",
791
+ "type": "uint8"
792
+ },
793
+ {
794
+ "internalType": "bool",
795
+ "name": "isInterceptor",
796
+ "type": "bool"
797
+ },
798
+ {
799
+ "internalType": "address",
800
+ "name": "objectAddress",
801
+ "type": "address"
802
+ },
803
+ {
804
+ "internalType": "address",
805
+ "name": "initialOwner",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "internalType": "bytes",
810
+ "name": "data",
811
+ "type": "bytes"
812
+ }
813
+ ],
814
+ "internalType": "struct IRegistry.ObjectInfo",
815
+ "name": "info",
816
+ "type": "tuple"
817
+ }
818
+ ],
819
+ "stateMutability": "nonpayable",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [
824
+ {
825
+ "internalType": "contract IComponent",
826
+ "name": "distribution",
827
+ "type": "address"
828
+ },
829
+ {
830
+ "internalType": "address",
831
+ "name": "owner",
832
+ "type": "address"
833
+ }
834
+ ],
835
+ "name": "registerDistribution",
836
+ "outputs": [
837
+ {
838
+ "components": [
839
+ {
840
+ "internalType": "NftId",
841
+ "name": "nftId",
842
+ "type": "uint96"
843
+ },
844
+ {
845
+ "internalType": "NftId",
846
+ "name": "parentNftId",
847
+ "type": "uint96"
848
+ },
849
+ {
850
+ "internalType": "ObjectType",
851
+ "name": "objectType",
852
+ "type": "uint8"
853
+ },
854
+ {
855
+ "internalType": "bool",
856
+ "name": "isInterceptor",
857
+ "type": "bool"
858
+ },
859
+ {
860
+ "internalType": "address",
861
+ "name": "objectAddress",
862
+ "type": "address"
863
+ },
864
+ {
865
+ "internalType": "address",
866
+ "name": "initialOwner",
867
+ "type": "address"
868
+ },
869
+ {
870
+ "internalType": "bytes",
871
+ "name": "data",
872
+ "type": "bytes"
873
+ }
874
+ ],
875
+ "internalType": "struct IRegistry.ObjectInfo",
876
+ "name": "info",
877
+ "type": "tuple"
878
+ }
879
+ ],
880
+ "stateMutability": "nonpayable",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [
885
+ {
886
+ "components": [
887
+ {
888
+ "internalType": "NftId",
889
+ "name": "nftId",
890
+ "type": "uint96"
891
+ },
892
+ {
893
+ "internalType": "NftId",
894
+ "name": "parentNftId",
895
+ "type": "uint96"
896
+ },
897
+ {
898
+ "internalType": "ObjectType",
899
+ "name": "objectType",
900
+ "type": "uint8"
901
+ },
902
+ {
903
+ "internalType": "bool",
904
+ "name": "isInterceptor",
905
+ "type": "bool"
906
+ },
907
+ {
908
+ "internalType": "address",
909
+ "name": "objectAddress",
910
+ "type": "address"
911
+ },
912
+ {
913
+ "internalType": "address",
914
+ "name": "initialOwner",
915
+ "type": "address"
916
+ },
917
+ {
918
+ "internalType": "bytes",
919
+ "name": "data",
920
+ "type": "bytes"
921
+ }
922
+ ],
923
+ "internalType": "struct IRegistry.ObjectInfo",
924
+ "name": "info",
925
+ "type": "tuple"
926
+ }
927
+ ],
928
+ "name": "registerDistributor",
929
+ "outputs": [
930
+ {
931
+ "internalType": "NftId",
932
+ "name": "nftId",
933
+ "type": "uint96"
934
+ }
935
+ ],
936
+ "stateMutability": "nonpayable",
937
+ "type": "function"
938
+ },
939
+ {
940
+ "inputs": [
941
+ {
942
+ "internalType": "contract IRegisterable",
943
+ "name": "instance",
944
+ "type": "address"
945
+ },
946
+ {
947
+ "internalType": "address",
948
+ "name": "owner",
949
+ "type": "address"
950
+ }
951
+ ],
952
+ "name": "registerInstance",
953
+ "outputs": [
954
+ {
955
+ "components": [
956
+ {
957
+ "internalType": "NftId",
958
+ "name": "nftId",
959
+ "type": "uint96"
960
+ },
961
+ {
962
+ "internalType": "NftId",
963
+ "name": "parentNftId",
964
+ "type": "uint96"
965
+ },
966
+ {
967
+ "internalType": "ObjectType",
968
+ "name": "objectType",
969
+ "type": "uint8"
970
+ },
971
+ {
972
+ "internalType": "bool",
973
+ "name": "isInterceptor",
974
+ "type": "bool"
975
+ },
976
+ {
977
+ "internalType": "address",
978
+ "name": "objectAddress",
979
+ "type": "address"
980
+ },
981
+ {
982
+ "internalType": "address",
983
+ "name": "initialOwner",
984
+ "type": "address"
985
+ },
986
+ {
987
+ "internalType": "bytes",
988
+ "name": "data",
989
+ "type": "bytes"
990
+ }
991
+ ],
992
+ "internalType": "struct IRegistry.ObjectInfo",
993
+ "name": "info",
994
+ "type": "tuple"
995
+ }
996
+ ],
997
+ "stateMutability": "nonpayable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "bytes4",
1004
+ "name": "interfaceId",
1005
+ "type": "bytes4"
1006
+ }
1007
+ ],
1008
+ "name": "registerInterface",
1009
+ "outputs": [],
1010
+ "stateMutability": "nonpayable",
1011
+ "type": "function"
1012
+ },
1013
+ {
1014
+ "inputs": [
1015
+ {
1016
+ "components": [
1017
+ {
1018
+ "internalType": "NftId",
1019
+ "name": "nftId",
1020
+ "type": "uint96"
1021
+ },
1022
+ {
1023
+ "internalType": "NftId",
1024
+ "name": "parentNftId",
1025
+ "type": "uint96"
1026
+ },
1027
+ {
1028
+ "internalType": "ObjectType",
1029
+ "name": "objectType",
1030
+ "type": "uint8"
1031
+ },
1032
+ {
1033
+ "internalType": "bool",
1034
+ "name": "isInterceptor",
1035
+ "type": "bool"
1036
+ },
1037
+ {
1038
+ "internalType": "address",
1039
+ "name": "objectAddress",
1040
+ "type": "address"
1041
+ },
1042
+ {
1043
+ "internalType": "address",
1044
+ "name": "initialOwner",
1045
+ "type": "address"
1046
+ },
1047
+ {
1048
+ "internalType": "bytes",
1049
+ "name": "data",
1050
+ "type": "bytes"
1051
+ }
1052
+ ],
1053
+ "internalType": "struct IRegistry.ObjectInfo",
1054
+ "name": "info",
1055
+ "type": "tuple"
1056
+ }
1057
+ ],
1058
+ "name": "registerPolicy",
1059
+ "outputs": [
1060
+ {
1061
+ "internalType": "NftId",
1062
+ "name": "nftId",
1063
+ "type": "uint96"
1064
+ }
1065
+ ],
1066
+ "stateMutability": "nonpayable",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [
1071
+ {
1072
+ "internalType": "contract IComponent",
1073
+ "name": "pool",
1074
+ "type": "address"
1075
+ },
1076
+ {
1077
+ "internalType": "address",
1078
+ "name": "owner",
1079
+ "type": "address"
1080
+ }
1081
+ ],
1082
+ "name": "registerPool",
1083
+ "outputs": [
1084
+ {
1085
+ "components": [
1086
+ {
1087
+ "internalType": "NftId",
1088
+ "name": "nftId",
1089
+ "type": "uint96"
1090
+ },
1091
+ {
1092
+ "internalType": "NftId",
1093
+ "name": "parentNftId",
1094
+ "type": "uint96"
1095
+ },
1096
+ {
1097
+ "internalType": "ObjectType",
1098
+ "name": "objectType",
1099
+ "type": "uint8"
1100
+ },
1101
+ {
1102
+ "internalType": "bool",
1103
+ "name": "isInterceptor",
1104
+ "type": "bool"
1105
+ },
1106
+ {
1107
+ "internalType": "address",
1108
+ "name": "objectAddress",
1109
+ "type": "address"
1110
+ },
1111
+ {
1112
+ "internalType": "address",
1113
+ "name": "initialOwner",
1114
+ "type": "address"
1115
+ },
1116
+ {
1117
+ "internalType": "bytes",
1118
+ "name": "data",
1119
+ "type": "bytes"
1120
+ }
1121
+ ],
1122
+ "internalType": "struct IRegistry.ObjectInfo",
1123
+ "name": "info",
1124
+ "type": "tuple"
1125
+ }
1126
+ ],
1127
+ "stateMutability": "nonpayable",
1128
+ "type": "function"
1129
+ },
1130
+ {
1131
+ "inputs": [
1132
+ {
1133
+ "internalType": "contract IComponent",
1134
+ "name": "product",
1135
+ "type": "address"
1136
+ },
1137
+ {
1138
+ "internalType": "address",
1139
+ "name": "owner",
1140
+ "type": "address"
1141
+ }
1142
+ ],
1143
+ "name": "registerProduct",
1144
+ "outputs": [
1145
+ {
1146
+ "components": [
1147
+ {
1148
+ "internalType": "NftId",
1149
+ "name": "nftId",
1150
+ "type": "uint96"
1151
+ },
1152
+ {
1153
+ "internalType": "NftId",
1154
+ "name": "parentNftId",
1155
+ "type": "uint96"
1156
+ },
1157
+ {
1158
+ "internalType": "ObjectType",
1159
+ "name": "objectType",
1160
+ "type": "uint8"
1161
+ },
1162
+ {
1163
+ "internalType": "bool",
1164
+ "name": "isInterceptor",
1165
+ "type": "bool"
1166
+ },
1167
+ {
1168
+ "internalType": "address",
1169
+ "name": "objectAddress",
1170
+ "type": "address"
1171
+ },
1172
+ {
1173
+ "internalType": "address",
1174
+ "name": "initialOwner",
1175
+ "type": "address"
1176
+ },
1177
+ {
1178
+ "internalType": "bytes",
1179
+ "name": "data",
1180
+ "type": "bytes"
1181
+ }
1182
+ ],
1183
+ "internalType": "struct IRegistry.ObjectInfo",
1184
+ "name": "info",
1185
+ "type": "tuple"
1186
+ }
1187
+ ],
1188
+ "stateMutability": "nonpayable",
1189
+ "type": "function"
1190
+ },
1191
+ {
1192
+ "inputs": [
1193
+ {
1194
+ "components": [
1195
+ {
1196
+ "internalType": "NftId",
1197
+ "name": "nftId",
1198
+ "type": "uint96"
1199
+ },
1200
+ {
1201
+ "internalType": "NftId",
1202
+ "name": "parentNftId",
1203
+ "type": "uint96"
1204
+ },
1205
+ {
1206
+ "internalType": "ObjectType",
1207
+ "name": "objectType",
1208
+ "type": "uint8"
1209
+ },
1210
+ {
1211
+ "internalType": "bool",
1212
+ "name": "isInterceptor",
1213
+ "type": "bool"
1214
+ },
1215
+ {
1216
+ "internalType": "address",
1217
+ "name": "objectAddress",
1218
+ "type": "address"
1219
+ },
1220
+ {
1221
+ "internalType": "address",
1222
+ "name": "initialOwner",
1223
+ "type": "address"
1224
+ },
1225
+ {
1226
+ "internalType": "bytes",
1227
+ "name": "data",
1228
+ "type": "bytes"
1229
+ }
1230
+ ],
1231
+ "internalType": "struct IRegistry.ObjectInfo",
1232
+ "name": "info",
1233
+ "type": "tuple"
1234
+ }
1235
+ ],
1236
+ "name": "registerStake",
1237
+ "outputs": [
1238
+ {
1239
+ "internalType": "NftId",
1240
+ "name": "nftId",
1241
+ "type": "uint96"
1242
+ }
1243
+ ],
1244
+ "stateMutability": "nonpayable",
1245
+ "type": "function"
1246
+ },
1247
+ {
1248
+ "inputs": [
1249
+ {
1250
+ "internalType": "contract IRegisterable",
1251
+ "name": "staking",
1252
+ "type": "address"
1253
+ },
1254
+ {
1255
+ "internalType": "address",
1256
+ "name": "owner",
1257
+ "type": "address"
1258
+ }
1259
+ ],
1260
+ "name": "registerStaking",
1261
+ "outputs": [
1262
+ {
1263
+ "components": [
1264
+ {
1265
+ "internalType": "NftId",
1266
+ "name": "nftId",
1267
+ "type": "uint96"
1268
+ },
1269
+ {
1270
+ "internalType": "NftId",
1271
+ "name": "parentNftId",
1272
+ "type": "uint96"
1273
+ },
1274
+ {
1275
+ "internalType": "ObjectType",
1276
+ "name": "objectType",
1277
+ "type": "uint8"
1278
+ },
1279
+ {
1280
+ "internalType": "bool",
1281
+ "name": "isInterceptor",
1282
+ "type": "bool"
1283
+ },
1284
+ {
1285
+ "internalType": "address",
1286
+ "name": "objectAddress",
1287
+ "type": "address"
1288
+ },
1289
+ {
1290
+ "internalType": "address",
1291
+ "name": "initialOwner",
1292
+ "type": "address"
1293
+ },
1294
+ {
1295
+ "internalType": "bytes",
1296
+ "name": "data",
1297
+ "type": "bytes"
1298
+ }
1299
+ ],
1300
+ "internalType": "struct IRegistry.ObjectInfo",
1301
+ "name": "info",
1302
+ "type": "tuple"
1303
+ }
1304
+ ],
1305
+ "stateMutability": "nonpayable",
1306
+ "type": "function"
1307
+ },
1308
+ {
1309
+ "inputs": [
1310
+ {
1311
+ "internalType": "address",
1312
+ "name": "newAuthority",
1313
+ "type": "address"
1314
+ }
1315
+ ],
1316
+ "name": "setAuthority",
1317
+ "outputs": [],
1318
+ "stateMutability": "nonpayable",
1319
+ "type": "function"
1320
+ },
1321
+ {
1322
+ "inputs": [
1323
+ {
1324
+ "internalType": "bytes4",
1325
+ "name": "interfaceId",
1326
+ "type": "bytes4"
1327
+ }
1328
+ ],
1329
+ "name": "supportsInterface",
1330
+ "outputs": [
1331
+ {
1332
+ "internalType": "bool",
1333
+ "name": "",
1334
+ "type": "bool"
1335
+ }
1336
+ ],
1337
+ "stateMutability": "view",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "inputs": [
1342
+ {
1343
+ "internalType": "bytes",
1344
+ "name": "data",
1345
+ "type": "bytes"
1346
+ }
1347
+ ],
1348
+ "name": "upgradeVersionable",
1349
+ "outputs": [],
1350
+ "stateMutability": "nonpayable",
1351
+ "type": "function"
1352
+ }
1353
+ ],
1354
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612b63806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632b1cb34b60e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906318788cbb60e11b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190636ec6c77160e11b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60085f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611421906301a39f4760e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b6393a3e0eb60e01b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220edded31d57b17df74aefaa45800882ae1f30c6cef11c502e9c55a97a75331b0b64736f6c634300081a0033",
1355
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632b1cb34b60e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906318788cbb60e11b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190636ec6c77160e11b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60085f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611421906301a39f4760e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b6393a3e0eb60e01b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220edded31d57b17df74aefaa45800882ae1f30c6cef11c502e9c55a97a75331b0b64736f6c634300081a0033",
1356
+ "linkReferences": {
1357
+ "contracts/type/NftId.sol": {
1358
+ "NftIdLib": [
1359
+ {
1360
+ "length": 20,
1361
+ "start": 2076
1362
+ },
1363
+ {
1364
+ "length": 20,
1365
+ "start": 4676
1366
+ },
1367
+ {
1368
+ "length": 20,
1369
+ "start": 6933
1370
+ }
1371
+ ]
1372
+ },
1373
+ "contracts/type/RoleId.sol": {
1374
+ "RoleIdLib": [
1375
+ {
1376
+ "length": 20,
1377
+ "start": 4048
1378
+ }
1379
+ ]
1380
+ },
1381
+ "contracts/type/Version.sol": {
1382
+ "VersionLib": [
1383
+ {
1384
+ "length": 20,
1385
+ "start": 1922
1386
+ },
1387
+ {
1388
+ "length": 20,
1389
+ "start": 2636
1390
+ }
1391
+ ],
1392
+ "VersionPartLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 4096
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 8253
1400
+ }
1401
+ ]
1402
+ }
1403
+ },
1404
+ "deployedLinkReferences": {
1405
+ "contracts/type/NftId.sol": {
1406
+ "NftIdLib": [
1407
+ {
1408
+ "length": 20,
1409
+ "start": 1862
1410
+ },
1411
+ {
1412
+ "length": 20,
1413
+ "start": 4462
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 6719
1418
+ }
1419
+ ]
1420
+ },
1421
+ "contracts/type/RoleId.sol": {
1422
+ "RoleIdLib": [
1423
+ {
1424
+ "length": 20,
1425
+ "start": 3834
1426
+ }
1427
+ ]
1428
+ },
1429
+ "contracts/type/Version.sol": {
1430
+ "VersionLib": [
1431
+ {
1432
+ "length": 20,
1433
+ "start": 1708
1434
+ },
1435
+ {
1436
+ "length": 20,
1437
+ "start": 2422
1438
+ }
1439
+ ],
1440
+ "VersionPartLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 3882
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 8039
1448
+ }
1449
+ ]
1450
+ }
1451
+ }
1452
+ }