@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce8fb44-591

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