@etherisc/gif-next 0.0.2-ed4dd55 → 0.0.2-edc2c3a-751

Sign up to get free protection for your applications and to get access to all the features.
Files changed (622) hide show
  1. package/README.md +427 -9
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
  4. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  5. package/artifacts/contracts/{registry/IRegistry.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  6. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  8. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  10. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/access → authorization}/IAccess.sol/IAccess.json +1 -1
  12. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  14. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  18. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1292 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +986 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1494 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +862 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +885 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +984 -0
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1441 -0
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1991 -0
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1429 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1145 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2293 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  62. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
  64. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +342 -514
  66. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +709 -0
  68. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/Instance.sol/Instance.json +475 -580
  70. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1684 -0
  72. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  74. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2286 -0
  76. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1018 -0
  78. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +746 -0
  80. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3668 -0
  82. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  84. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  86. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  87. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  94. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  95. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  96. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IBundle.sol/IBundle.json} +2 -2
  98. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  102. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.json +10 -0
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +929 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +744 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +845 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +990 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +766 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1222 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1360 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +922 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +877 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1285 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +997 -0
  140. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1619 -0
  142. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +794 -0
  144. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +806 -0
  146. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  148. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1116 -0
  150. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  152. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1439 -0
  154. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +858 -0
  156. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +573 -0
  158. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  160. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +944 -0
  162. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
  164. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +973 -0
  166. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +429 -0
  168. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1313 -0
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +810 -0
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  173. package/artifacts/contracts/product/PricingService.sol/PricingService.json +923 -0
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  176. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  177. package/artifacts/contracts/product/Product.sol/Product.json +1074 -0
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  179. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  183. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +295 -2
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  185. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1030 -123
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  187. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1019 -0
  188. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  190. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/Registry.sol/Registry.json +1535 -161
  192. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  193. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1899 -0
  194. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  195. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1262 -0
  196. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  197. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +737 -0
  198. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  199. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  200. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  201. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  202. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  203. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  204. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  205. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  206. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  207. package/artifacts/contracts/shared/Component.sol/Component.json +677 -0
  208. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  209. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1908 -0
  210. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  211. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +850 -0
  212. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  213. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +474 -0
  214. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  215. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  216. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  217. package/artifacts/contracts/{instance/component/IComponent.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  218. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  219. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/ContractLib.sol/ITargetHelper.json} +4 -9
  220. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  221. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +602 -0
  222. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1467 -0
  224. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  225. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +679 -0
  226. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  227. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +510 -0
  228. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +146 -0
  230. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  231. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +147 -0
  232. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  234. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +210 -0
  236. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  237. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +5 -19
  238. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IService.sol/IService.json +375 -0
  240. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  241. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  242. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  243. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +767 -0
  244. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  245. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  246. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  247. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  248. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  249. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  250. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  251. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  252. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  253. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  254. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  255. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +322 -0
  256. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  257. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  258. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  259. package/artifacts/contracts/shared/Service.sol/Service.json +442 -0
  260. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  261. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +822 -0
  262. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  263. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  264. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  265. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  266. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  267. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1417 -0
  268. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  269. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  270. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  271. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  272. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  273. package/artifacts/contracts/staking/Staking.sol/Staking.json +1816 -0
  274. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  275. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  276. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  277. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +780 -0
  278. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  279. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  280. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1265 -0
  282. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +734 -0
  284. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  286. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  287. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  288. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  289. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  290. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  292. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  294. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  296. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  298. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  300. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  302. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  303. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  304. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  306. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  307. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  308. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  310. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  312. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  314. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  316. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +180 -0
  318. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  320. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  322. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  324. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  326. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  328. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  330. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  332. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  334. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  336. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  338. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  339. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  340. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  341. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  342. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  343. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  344. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  345. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  346. package/contracts/authorization/AccessAdmin.sol +615 -0
  347. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  348. package/contracts/authorization/Authorization.sol +289 -0
  349. package/contracts/authorization/IAccess.sol +49 -0
  350. package/contracts/authorization/IAccessAdmin.sol +137 -0
  351. package/contracts/authorization/IAuthorization.sol +60 -0
  352. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  353. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  354. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  355. package/contracts/distribution/BasicDistribution.sol +139 -0
  356. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  357. package/contracts/distribution/Distribution.sol +287 -0
  358. package/contracts/distribution/DistributionService.sol +354 -0
  359. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  360. package/contracts/distribution/IDistributionComponent.sol +52 -0
  361. package/contracts/distribution/IDistributionService.sol +100 -0
  362. package/contracts/examples/fire/DamageLevel.sol +59 -0
  363. package/contracts/examples/fire/FirePool.sol +90 -0
  364. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  365. package/contracts/examples/fire/FireProduct.sol +436 -0
  366. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  367. package/contracts/examples/fire/FireUSD.sol +26 -0
  368. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  369. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  370. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  371. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  372. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  373. package/contracts/examples/unpermissioned/SimpleProduct.sol +352 -0
  374. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  375. package/contracts/instance/BundleSet.sol +130 -0
  376. package/contracts/instance/IInstance.sol +66 -15
  377. package/contracts/instance/IInstanceService.sol +70 -0
  378. package/contracts/instance/Instance.sol +221 -45
  379. package/contracts/instance/InstanceAdmin.sol +288 -0
  380. package/contracts/instance/InstanceAuthorizationV3.sol +218 -0
  381. package/contracts/instance/InstanceReader.sol +581 -0
  382. package/contracts/instance/InstanceService.sol +392 -0
  383. package/contracts/instance/InstanceServiceManager.sol +39 -0
  384. package/contracts/instance/InstanceStore.sol +287 -0
  385. package/contracts/instance/RiskSet.sol +119 -0
  386. package/contracts/instance/base/BalanceStore.sol +123 -0
  387. package/contracts/instance/base/Cloneable.sol +28 -0
  388. package/contracts/instance/base/ObjectCounter.sol +20 -0
  389. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  390. package/contracts/instance/base/ObjectSet.sol +78 -0
  391. package/contracts/instance/module/IAccess.sol +46 -0
  392. package/contracts/instance/module/IBundle.sol +20 -0
  393. package/contracts/instance/module/IComponents.sol +50 -0
  394. package/contracts/instance/module/IDistribution.sol +41 -0
  395. package/contracts/instance/module/IPolicy.sol +85 -0
  396. package/contracts/instance/module/IRisk.sol +12 -0
  397. package/contracts/mock/Dip.sol +26 -0
  398. package/contracts/oracle/BasicOracle.sol +47 -0
  399. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  400. package/contracts/oracle/IOracle.sol +36 -0
  401. package/contracts/oracle/IOracleComponent.sol +33 -0
  402. package/contracts/oracle/IOracleService.sol +66 -0
  403. package/contracts/oracle/Oracle.sol +156 -0
  404. package/contracts/oracle/OracleService.sol +309 -0
  405. package/contracts/oracle/OracleServiceManager.sol +39 -0
  406. package/contracts/pool/BasicPool.sol +175 -0
  407. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  408. package/contracts/pool/BundleService.sol +423 -0
  409. package/contracts/pool/BundleServiceManager.sol +39 -0
  410. package/contracts/pool/IBundleService.sol +122 -0
  411. package/contracts/pool/IPoolComponent.sol +62 -0
  412. package/contracts/pool/IPoolService.sol +153 -0
  413. package/contracts/pool/Pool.sol +345 -0
  414. package/contracts/pool/PoolService.sol +612 -0
  415. package/contracts/pool/PoolServiceManager.sol +39 -0
  416. package/contracts/product/ApplicationService.sol +259 -0
  417. package/contracts/product/ApplicationServiceManager.sol +38 -0
  418. package/contracts/product/BasicProduct.sol +49 -0
  419. package/contracts/product/BasicProductAuthorization.sol +41 -0
  420. package/contracts/product/ClaimService.sol +614 -0
  421. package/contracts/product/ClaimServiceManager.sol +38 -0
  422. package/contracts/product/IApplicationService.sol +66 -0
  423. package/contracts/product/IClaimService.sol +123 -0
  424. package/contracts/product/IPolicyService.sol +90 -0
  425. package/contracts/product/IPricingService.sol +39 -0
  426. package/contracts/product/IProductComponent.sol +59 -0
  427. package/contracts/product/IRiskService.sol +33 -0
  428. package/contracts/product/PolicyService.sol +733 -0
  429. package/contracts/product/PolicyServiceManager.sol +39 -0
  430. package/contracts/product/PricingService.sol +300 -0
  431. package/contracts/product/PricingServiceManager.sol +39 -0
  432. package/contracts/product/Product.sol +427 -0
  433. package/contracts/product/RiskService.sol +107 -0
  434. package/contracts/product/RiskServiceManager.sol +39 -0
  435. package/contracts/registry/ChainNft.sol +176 -100
  436. package/contracts/registry/IRegistry.sol +156 -51
  437. package/contracts/registry/IRegistryService.sol +62 -0
  438. package/contracts/registry/ITransferInterceptor.sol +6 -0
  439. package/contracts/registry/Registry.sol +660 -111
  440. package/contracts/registry/RegistryAdmin.sol +457 -0
  441. package/contracts/registry/RegistryService.sol +241 -0
  442. package/contracts/registry/RegistryServiceManager.sol +53 -0
  443. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  444. package/contracts/registry/ReleaseRegistry.sol +486 -0
  445. package/contracts/registry/ServiceAuthorizationV3.sol +176 -0
  446. package/contracts/registry/TokenRegistry.sol +315 -0
  447. package/contracts/shared/Component.sol +219 -0
  448. package/contracts/shared/ComponentService.sol +869 -0
  449. package/contracts/shared/ComponentServiceManager.sol +38 -0
  450. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  451. package/contracts/shared/ContractLib.sol +224 -0
  452. package/contracts/shared/IComponent.sol +62 -0
  453. package/contracts/shared/IComponentService.sol +134 -0
  454. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  455. package/contracts/shared/IKeyValueStore.sol +54 -0
  456. package/contracts/shared/ILifecycle.sol +31 -0
  457. package/contracts/shared/INftOwnable.sol +25 -0
  458. package/contracts/shared/IPolicyHolder.sol +35 -0
  459. package/contracts/shared/IRegisterable.sol +26 -0
  460. package/contracts/shared/IRegistryLinked.sol +11 -0
  461. package/contracts/shared/IService.sol +25 -0
  462. package/contracts/shared/InitializableERC165.sol +27 -0
  463. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  464. package/contracts/shared/KeyValueStore.sol +131 -0
  465. package/contracts/shared/Lifecycle.sol +88 -0
  466. package/contracts/shared/NftIdSet.sol +65 -0
  467. package/contracts/shared/NftOwnable.sol +127 -0
  468. package/contracts/shared/PolicyHolder.sol +62 -0
  469. package/contracts/shared/Registerable.sol +83 -0
  470. package/contracts/shared/RegistryLinked.sol +38 -0
  471. package/contracts/shared/Service.sol +84 -0
  472. package/contracts/shared/TokenHandler.sol +389 -0
  473. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  474. package/contracts/staking/IStaking.sol +173 -0
  475. package/contracts/staking/IStakingService.sol +157 -0
  476. package/contracts/staking/StakeManagerLib.sol +224 -0
  477. package/contracts/staking/Staking.sol +515 -0
  478. package/contracts/staking/StakingLifecycle.sol +23 -0
  479. package/contracts/staking/StakingManager.sol +52 -0
  480. package/contracts/staking/StakingReader.sol +190 -0
  481. package/contracts/staking/StakingService.sol +440 -0
  482. package/contracts/staking/StakingServiceManager.sol +44 -0
  483. package/contracts/staking/StakingStore.sol +605 -0
  484. package/contracts/staking/TargetManagerLib.sol +211 -0
  485. package/contracts/type/AddressSet.sol +58 -0
  486. package/contracts/type/Amount.sol +150 -0
  487. package/contracts/type/Blocknumber.sol +142 -0
  488. package/contracts/type/ClaimId.sol +80 -0
  489. package/contracts/type/DistributorType.sol +55 -0
  490. package/contracts/type/Fee.sol +66 -0
  491. package/contracts/type/Key32.sol +50 -0
  492. package/contracts/type/Key32Set.sol +62 -0
  493. package/contracts/type/NftId.sol +85 -0
  494. package/contracts/type/NftIdSet.sol +62 -0
  495. package/contracts/type/ObjectType.sol +278 -0
  496. package/contracts/type/PayoutId.sol +82 -0
  497. package/contracts/type/Referral.sol +90 -0
  498. package/contracts/type/RequestId.sol +75 -0
  499. package/contracts/type/RiskId.sol +69 -0
  500. package/contracts/type/RoleId.sol +162 -0
  501. package/contracts/type/Seconds.sol +101 -0
  502. package/contracts/type/Selector.sol +102 -0
  503. package/contracts/type/StateId.sol +149 -0
  504. package/contracts/type/String.sol +53 -0
  505. package/contracts/type/Timestamp.sol +146 -0
  506. package/contracts/type/UFixed.sol +245 -0
  507. package/contracts/type/Version.sol +110 -0
  508. package/contracts/upgradeability/IVersionable.sol +53 -0
  509. package/contracts/upgradeability/ProxyManager.sol +232 -0
  510. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  511. package/contracts/upgradeability/Versionable.sol +59 -0
  512. package/package.json +26 -7
  513. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  514. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  515. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  516. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  517. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  518. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  519. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  520. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  521. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  522. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -195
  523. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  524. package/artifacts/contracts/components/Product.sol/Product.json +0 -213
  525. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  526. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  527. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  528. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  529. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  530. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  531. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  532. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  533. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  534. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  535. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  536. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  537. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  538. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  539. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  540. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  541. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  542. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  543. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  544. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  545. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  546. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  547. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  548. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  549. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  550. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  551. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  552. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  553. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  554. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  555. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  556. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
  557. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  558. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  559. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  560. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  561. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  562. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  563. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  564. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  565. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  566. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  567. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  568. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  569. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  570. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  571. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  572. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  573. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  574. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
  575. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  576. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  577. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  578. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  579. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  580. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  581. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  582. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
  583. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  584. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  585. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  586. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  587. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  588. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  589. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  590. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  591. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  592. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  593. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  594. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  595. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  596. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -10
  597. package/contracts/components/Component.sol +0 -62
  598. package/contracts/components/IPool.sol +0 -9
  599. package/contracts/components/IProduct.sol +0 -11
  600. package/contracts/components/Pool.sol +0 -29
  601. package/contracts/components/Product.sol +0 -65
  602. package/contracts/experiment/inheritance/A.sol +0 -56
  603. package/contracts/experiment/inheritance/B.sol +0 -23
  604. package/contracts/experiment/inheritance/C.sol +0 -28
  605. package/contracts/experiment/inheritance/IA.sol +0 -18
  606. package/contracts/experiment/inheritance/IB.sol +0 -9
  607. package/contracts/experiment/inheritance/IC.sol +0 -11
  608. package/contracts/experiment/types/TypeA.sol +0 -42
  609. package/contracts/experiment/types/TypeB.sol +0 -24
  610. package/contracts/instance/access/Access.sol +0 -218
  611. package/contracts/instance/access/IAccess.sol +0 -83
  612. package/contracts/instance/component/ComponentModule.sol +0 -259
  613. package/contracts/instance/component/IComponent.sol +0 -94
  614. package/contracts/instance/policy/IPolicy.sol +0 -66
  615. package/contracts/instance/policy/PolicyModule.sol +0 -106
  616. package/contracts/instance/pool/IPoolModule.sol +0 -40
  617. package/contracts/instance/pool/PoolModule.sol +0 -83
  618. package/contracts/instance/product/IProductService.sol +0 -45
  619. package/contracts/instance/product/ProductService.sol +0 -105
  620. package/contracts/registry/IChainNft.sol +0 -18
  621. package/contracts/types/ChainId.sol +0 -24
  622. package/contracts/types/NftId.sol +0 -25
@@ -0,0 +1,1292 @@
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
+ "name": "ErrorComponentNameLengthZero",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorComponentNotChainNft",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorComponentProductNftIdNonzero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorComponentProductNftIdZero",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorComponentTokenAddressNonzero",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorComponentTokenAddressZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "ErrorComponentWalletAddressZero",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "ErrorComponentWalletNotComponent",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "address",
99
+ "name": "distributor",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "internalType": "NftId",
104
+ "name": "distributorNftId",
105
+ "type": "uint96"
106
+ }
107
+ ],
108
+ "name": "ErrorDistributionAlreadyDistributor",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "address",
115
+ "name": "distributor",
116
+ "type": "address"
117
+ }
118
+ ],
119
+ "name": "ErrorDistributionNotDistributor",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "nftId",
127
+ "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
+ }
150
+ ],
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ }
161
+ ],
162
+ "name": "ErrorNftOwnableAlreadyLinked",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "inputs": [
167
+ {
168
+ "internalType": "address",
169
+ "name": "contractAddress",
170
+ "type": "address"
171
+ }
172
+ ],
173
+ "name": "ErrorNftOwnableContractNotRegistered",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "ErrorNftOwnableInitialOwnerZero",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "account",
202
+ "type": "address"
203
+ }
204
+ ],
205
+ "name": "ErrorNftOwnableNotOwner",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "registryAddress",
213
+ "type": "address"
214
+ }
215
+ ],
216
+ "name": "ErrorNotRegistry",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [],
221
+ "name": "InvalidInitialization",
222
+ "type": "error"
223
+ },
224
+ {
225
+ "inputs": [],
226
+ "name": "NotInitializing",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "anonymous": false,
231
+ "inputs": [
232
+ {
233
+ "indexed": false,
234
+ "internalType": "address",
235
+ "name": "authority",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "AuthorityUpdated",
240
+ "type": "event"
241
+ },
242
+ {
243
+ "anonymous": false,
244
+ "inputs": [
245
+ {
246
+ "indexed": false,
247
+ "internalType": "uint64",
248
+ "name": "version",
249
+ "type": "uint64"
250
+ }
251
+ ],
252
+ "name": "Initialized",
253
+ "type": "event"
254
+ },
255
+ {
256
+ "anonymous": false,
257
+ "inputs": [
258
+ {
259
+ "indexed": false,
260
+ "internalType": "address",
261
+ "name": "tokenHandler",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "indexed": false,
266
+ "internalType": "address",
267
+ "name": "token",
268
+ "type": "address"
269
+ },
270
+ {
271
+ "indexed": false,
272
+ "internalType": "Amount",
273
+ "name": "limit",
274
+ "type": "uint96"
275
+ },
276
+ {
277
+ "indexed": false,
278
+ "internalType": "bool",
279
+ "name": "isMaxAmount",
280
+ "type": "bool"
281
+ }
282
+ ],
283
+ "name": "LogComponentTokenHandlerApproved",
284
+ "type": "event"
285
+ },
286
+ {
287
+ "anonymous": false,
288
+ "inputs": [
289
+ {
290
+ "indexed": false,
291
+ "internalType": "address",
292
+ "name": "oldWallet",
293
+ "type": "address"
294
+ },
295
+ {
296
+ "indexed": false,
297
+ "internalType": "address",
298
+ "name": "newWallet",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "name": "LogComponentWalletAddressChanged",
303
+ "type": "event"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": false,
310
+ "internalType": "address",
311
+ "name": "from",
312
+ "type": "address"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "address",
317
+ "name": "to",
318
+ "type": "address"
319
+ },
320
+ {
321
+ "indexed": false,
322
+ "internalType": "uint256",
323
+ "name": "amount",
324
+ "type": "uint256"
325
+ }
326
+ ],
327
+ "name": "LogComponentWalletTokensTransferred",
328
+ "type": "event"
329
+ },
330
+ {
331
+ "anonymous": false,
332
+ "inputs": [
333
+ {
334
+ "indexed": false,
335
+ "internalType": "address",
336
+ "name": "to",
337
+ "type": "address"
338
+ },
339
+ {
340
+ "indexed": false,
341
+ "internalType": "address",
342
+ "name": "operator",
343
+ "type": "address"
344
+ }
345
+ ],
346
+ "name": "LogDistributorUpdated",
347
+ "type": "event"
348
+ },
349
+ {
350
+ "inputs": [],
351
+ "name": "COMPONENT_LOCATION_V1",
352
+ "outputs": [
353
+ {
354
+ "internalType": "bytes32",
355
+ "name": "",
356
+ "type": "bytes32"
357
+ }
358
+ ],
359
+ "stateMutability": "view",
360
+ "type": "function"
361
+ },
362
+ {
363
+ "inputs": [],
364
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
365
+ "outputs": [
366
+ {
367
+ "internalType": "bytes32",
368
+ "name": "",
369
+ "type": "bytes32"
370
+ }
371
+ ],
372
+ "stateMutability": "view",
373
+ "type": "function"
374
+ },
375
+ {
376
+ "inputs": [],
377
+ "name": "GIF_RELEASE",
378
+ "outputs": [
379
+ {
380
+ "internalType": "uint256",
381
+ "name": "",
382
+ "type": "uint256"
383
+ }
384
+ ],
385
+ "stateMutability": "view",
386
+ "type": "function"
387
+ },
388
+ {
389
+ "inputs": [],
390
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
391
+ "outputs": [
392
+ {
393
+ "internalType": "bytes32",
394
+ "name": "",
395
+ "type": "bytes32"
396
+ }
397
+ ],
398
+ "stateMutability": "view",
399
+ "type": "function"
400
+ },
401
+ {
402
+ "inputs": [],
403
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
404
+ "outputs": [
405
+ {
406
+ "internalType": "bytes32",
407
+ "name": "",
408
+ "type": "bytes32"
409
+ }
410
+ ],
411
+ "stateMutability": "view",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "inputs": [],
416
+ "name": "REGISTERABLE_LOCATION_V1",
417
+ "outputs": [
418
+ {
419
+ "internalType": "bytes32",
420
+ "name": "",
421
+ "type": "bytes32"
422
+ }
423
+ ],
424
+ "stateMutability": "view",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "inputs": [],
429
+ "name": "authority",
430
+ "outputs": [
431
+ {
432
+ "internalType": "address",
433
+ "name": "",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "stateMutability": "view",
438
+ "type": "function"
439
+ },
440
+ {
441
+ "inputs": [
442
+ {
443
+ "internalType": "ReferralId",
444
+ "name": "referralId",
445
+ "type": "bytes8"
446
+ },
447
+ {
448
+ "internalType": "uint256",
449
+ "name": "netPremiumAmount",
450
+ "type": "uint256"
451
+ }
452
+ ],
453
+ "name": "calculateRenewalFeeAmount",
454
+ "outputs": [
455
+ {
456
+ "internalType": "uint256",
457
+ "name": "feeAmount",
458
+ "type": "uint256"
459
+ }
460
+ ],
461
+ "stateMutability": "view",
462
+ "type": "function"
463
+ },
464
+ {
465
+ "inputs": [
466
+ {
467
+ "internalType": "NftId",
468
+ "name": "distributorNftId",
469
+ "type": "uint96"
470
+ },
471
+ {
472
+ "internalType": "DistributorType",
473
+ "name": "distributorType",
474
+ "type": "bytes8"
475
+ },
476
+ {
477
+ "internalType": "bytes",
478
+ "name": "data",
479
+ "type": "bytes"
480
+ }
481
+ ],
482
+ "name": "changeDistributorType",
483
+ "outputs": [],
484
+ "stateMutability": "nonpayable",
485
+ "type": "function"
486
+ },
487
+ {
488
+ "inputs": [
489
+ {
490
+ "internalType": "address",
491
+ "name": "distributor",
492
+ "type": "address"
493
+ },
494
+ {
495
+ "internalType": "DistributorType",
496
+ "name": "distributorType",
497
+ "type": "bytes8"
498
+ },
499
+ {
500
+ "internalType": "bytes",
501
+ "name": "data",
502
+ "type": "bytes"
503
+ }
504
+ ],
505
+ "name": "createDistributor",
506
+ "outputs": [
507
+ {
508
+ "internalType": "NftId",
509
+ "name": "distributorNftId",
510
+ "type": "uint96"
511
+ }
512
+ ],
513
+ "stateMutability": "nonpayable",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [
518
+ {
519
+ "internalType": "string",
520
+ "name": "name",
521
+ "type": "string"
522
+ },
523
+ {
524
+ "internalType": "UFixed",
525
+ "name": "minDiscountPercentage",
526
+ "type": "uint256"
527
+ },
528
+ {
529
+ "internalType": "UFixed",
530
+ "name": "maxDiscountPercentage",
531
+ "type": "uint256"
532
+ },
533
+ {
534
+ "internalType": "UFixed",
535
+ "name": "commissionPercentage",
536
+ "type": "uint256"
537
+ },
538
+ {
539
+ "internalType": "uint32",
540
+ "name": "maxReferralCount",
541
+ "type": "uint32"
542
+ },
543
+ {
544
+ "internalType": "uint32",
545
+ "name": "maxReferralLifetime",
546
+ "type": "uint32"
547
+ },
548
+ {
549
+ "internalType": "bool",
550
+ "name": "allowSelfReferrals",
551
+ "type": "bool"
552
+ },
553
+ {
554
+ "internalType": "bool",
555
+ "name": "allowRenewals",
556
+ "type": "bool"
557
+ },
558
+ {
559
+ "internalType": "bytes",
560
+ "name": "data",
561
+ "type": "bytes"
562
+ }
563
+ ],
564
+ "name": "createDistributorType",
565
+ "outputs": [
566
+ {
567
+ "internalType": "DistributorType",
568
+ "name": "distributorType",
569
+ "type": "bytes8"
570
+ }
571
+ ],
572
+ "stateMutability": "nonpayable",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "internalType": "string",
579
+ "name": "code",
580
+ "type": "string"
581
+ },
582
+ {
583
+ "internalType": "UFixed",
584
+ "name": "discountPercentage",
585
+ "type": "uint256"
586
+ },
587
+ {
588
+ "internalType": "uint32",
589
+ "name": "maxReferrals",
590
+ "type": "uint32"
591
+ },
592
+ {
593
+ "internalType": "Timestamp",
594
+ "name": "expiryAt",
595
+ "type": "uint40"
596
+ },
597
+ {
598
+ "internalType": "bytes",
599
+ "name": "data",
600
+ "type": "bytes"
601
+ }
602
+ ],
603
+ "name": "createReferral",
604
+ "outputs": [
605
+ {
606
+ "internalType": "ReferralId",
607
+ "name": "referralId",
608
+ "type": "bytes8"
609
+ }
610
+ ],
611
+ "stateMutability": "nonpayable",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [],
616
+ "name": "getAuthorization",
617
+ "outputs": [
618
+ {
619
+ "internalType": "contract IAuthorization",
620
+ "name": "authorization",
621
+ "type": "address"
622
+ }
623
+ ],
624
+ "stateMutability": "view",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [],
629
+ "name": "getComponentInfo",
630
+ "outputs": [
631
+ {
632
+ "components": [
633
+ {
634
+ "internalType": "string",
635
+ "name": "name",
636
+ "type": "string"
637
+ },
638
+ {
639
+ "internalType": "contract IERC20Metadata",
640
+ "name": "token",
641
+ "type": "address"
642
+ },
643
+ {
644
+ "internalType": "contract TokenHandler",
645
+ "name": "tokenHandler",
646
+ "type": "address"
647
+ },
648
+ {
649
+ "internalType": "bytes",
650
+ "name": "data",
651
+ "type": "bytes"
652
+ }
653
+ ],
654
+ "internalType": "struct IComponents.ComponentInfo",
655
+ "name": "info",
656
+ "type": "tuple"
657
+ }
658
+ ],
659
+ "stateMutability": "view",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [
664
+ {
665
+ "internalType": "string",
666
+ "name": "referralCode",
667
+ "type": "string"
668
+ }
669
+ ],
670
+ "name": "getDiscountPercentage",
671
+ "outputs": [
672
+ {
673
+ "internalType": "UFixed",
674
+ "name": "discountPercentage",
675
+ "type": "uint256"
676
+ },
677
+ {
678
+ "internalType": "ReferralStatus",
679
+ "name": "status",
680
+ "type": "uint8"
681
+ }
682
+ ],
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "inputs": [
688
+ {
689
+ "internalType": "address",
690
+ "name": "distributor",
691
+ "type": "address"
692
+ }
693
+ ],
694
+ "name": "getDistributorNftId",
695
+ "outputs": [
696
+ {
697
+ "internalType": "NftId",
698
+ "name": "distributorNftId",
699
+ "type": "uint96"
700
+ }
701
+ ],
702
+ "stateMutability": "view",
703
+ "type": "function"
704
+ },
705
+ {
706
+ "inputs": [],
707
+ "name": "getInitialComponentInfo",
708
+ "outputs": [
709
+ {
710
+ "components": [
711
+ {
712
+ "internalType": "string",
713
+ "name": "name",
714
+ "type": "string"
715
+ },
716
+ {
717
+ "internalType": "contract IERC20Metadata",
718
+ "name": "token",
719
+ "type": "address"
720
+ },
721
+ {
722
+ "internalType": "contract TokenHandler",
723
+ "name": "tokenHandler",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "bytes",
728
+ "name": "data",
729
+ "type": "bytes"
730
+ }
731
+ ],
732
+ "internalType": "struct IComponents.ComponentInfo",
733
+ "name": "info",
734
+ "type": "tuple"
735
+ }
736
+ ],
737
+ "stateMutability": "view",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [],
742
+ "name": "getInitialInfo",
743
+ "outputs": [
744
+ {
745
+ "components": [
746
+ {
747
+ "internalType": "NftId",
748
+ "name": "nftId",
749
+ "type": "uint96"
750
+ },
751
+ {
752
+ "internalType": "NftId",
753
+ "name": "parentNftId",
754
+ "type": "uint96"
755
+ },
756
+ {
757
+ "internalType": "ObjectType",
758
+ "name": "objectType",
759
+ "type": "uint8"
760
+ },
761
+ {
762
+ "internalType": "bool",
763
+ "name": "isInterceptor",
764
+ "type": "bool"
765
+ },
766
+ {
767
+ "internalType": "address",
768
+ "name": "objectAddress",
769
+ "type": "address"
770
+ },
771
+ {
772
+ "internalType": "address",
773
+ "name": "initialOwner",
774
+ "type": "address"
775
+ },
776
+ {
777
+ "internalType": "bytes",
778
+ "name": "data",
779
+ "type": "bytes"
780
+ }
781
+ ],
782
+ "internalType": "struct IRegistry.ObjectInfo",
783
+ "name": "info",
784
+ "type": "tuple"
785
+ }
786
+ ],
787
+ "stateMutability": "view",
788
+ "type": "function"
789
+ },
790
+ {
791
+ "inputs": [],
792
+ "name": "getInstance",
793
+ "outputs": [
794
+ {
795
+ "internalType": "contract IInstance",
796
+ "name": "instance",
797
+ "type": "address"
798
+ }
799
+ ],
800
+ "stateMutability": "view",
801
+ "type": "function"
802
+ },
803
+ {
804
+ "inputs": [],
805
+ "name": "getName",
806
+ "outputs": [
807
+ {
808
+ "internalType": "string",
809
+ "name": "name",
810
+ "type": "string"
811
+ }
812
+ ],
813
+ "stateMutability": "view",
814
+ "type": "function"
815
+ },
816
+ {
817
+ "inputs": [],
818
+ "name": "getNftId",
819
+ "outputs": [
820
+ {
821
+ "internalType": "NftId",
822
+ "name": "",
823
+ "type": "uint96"
824
+ }
825
+ ],
826
+ "stateMutability": "view",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [],
831
+ "name": "getOwner",
832
+ "outputs": [
833
+ {
834
+ "internalType": "address",
835
+ "name": "",
836
+ "type": "address"
837
+ }
838
+ ],
839
+ "stateMutability": "view",
840
+ "type": "function"
841
+ },
842
+ {
843
+ "inputs": [
844
+ {
845
+ "internalType": "string",
846
+ "name": "referralCode",
847
+ "type": "string"
848
+ }
849
+ ],
850
+ "name": "getReferralId",
851
+ "outputs": [
852
+ {
853
+ "internalType": "ReferralId",
854
+ "name": "referralId",
855
+ "type": "bytes8"
856
+ }
857
+ ],
858
+ "stateMutability": "view",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [],
863
+ "name": "getRegistry",
864
+ "outputs": [
865
+ {
866
+ "internalType": "contract IRegistry",
867
+ "name": "",
868
+ "type": "address"
869
+ }
870
+ ],
871
+ "stateMutability": "view",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [],
876
+ "name": "getRelease",
877
+ "outputs": [
878
+ {
879
+ "internalType": "VersionPart",
880
+ "name": "release",
881
+ "type": "uint8"
882
+ }
883
+ ],
884
+ "stateMutability": "pure",
885
+ "type": "function"
886
+ },
887
+ {
888
+ "inputs": [],
889
+ "name": "getToken",
890
+ "outputs": [
891
+ {
892
+ "internalType": "contract IERC20Metadata",
893
+ "name": "token",
894
+ "type": "address"
895
+ }
896
+ ],
897
+ "stateMutability": "view",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [],
902
+ "name": "getTokenHandler",
903
+ "outputs": [
904
+ {
905
+ "internalType": "contract TokenHandler",
906
+ "name": "tokenHandler",
907
+ "type": "address"
908
+ }
909
+ ],
910
+ "stateMutability": "view",
911
+ "type": "function"
912
+ },
913
+ {
914
+ "inputs": [],
915
+ "name": "getWallet",
916
+ "outputs": [
917
+ {
918
+ "internalType": "address",
919
+ "name": "walletAddress",
920
+ "type": "address"
921
+ }
922
+ ],
923
+ "stateMutability": "view",
924
+ "type": "function"
925
+ },
926
+ {
927
+ "inputs": [],
928
+ "name": "isConsumingScheduledOp",
929
+ "outputs": [
930
+ {
931
+ "internalType": "bytes4",
932
+ "name": "",
933
+ "type": "bytes4"
934
+ }
935
+ ],
936
+ "stateMutability": "view",
937
+ "type": "function"
938
+ },
939
+ {
940
+ "inputs": [
941
+ {
942
+ "internalType": "address",
943
+ "name": "candidate",
944
+ "type": "address"
945
+ }
946
+ ],
947
+ "name": "isDistributor",
948
+ "outputs": [
949
+ {
950
+ "internalType": "bool",
951
+ "name": "",
952
+ "type": "bool"
953
+ }
954
+ ],
955
+ "stateMutability": "view",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [],
960
+ "name": "isNftInterceptor",
961
+ "outputs": [
962
+ {
963
+ "internalType": "bool",
964
+ "name": "isInterceptor",
965
+ "type": "bool"
966
+ }
967
+ ],
968
+ "stateMutability": "view",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [],
973
+ "name": "isRegistered",
974
+ "outputs": [
975
+ {
976
+ "internalType": "bool",
977
+ "name": "",
978
+ "type": "bool"
979
+ }
980
+ ],
981
+ "stateMutability": "view",
982
+ "type": "function"
983
+ },
984
+ {
985
+ "inputs": [],
986
+ "name": "isVerifying",
987
+ "outputs": [
988
+ {
989
+ "internalType": "bool",
990
+ "name": "verifying",
991
+ "type": "bool"
992
+ }
993
+ ],
994
+ "stateMutability": "pure",
995
+ "type": "function"
996
+ },
997
+ {
998
+ "inputs": [],
999
+ "name": "linkToRegisteredNftId",
1000
+ "outputs": [
1001
+ {
1002
+ "internalType": "NftId",
1003
+ "name": "nftId",
1004
+ "type": "uint96"
1005
+ }
1006
+ ],
1007
+ "stateMutability": "nonpayable",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "address",
1014
+ "name": "from",
1015
+ "type": "address"
1016
+ },
1017
+ {
1018
+ "internalType": "address",
1019
+ "name": "to",
1020
+ "type": "address"
1021
+ },
1022
+ {
1023
+ "internalType": "uint256",
1024
+ "name": "tokenId",
1025
+ "type": "uint256"
1026
+ },
1027
+ {
1028
+ "internalType": "address",
1029
+ "name": "operator",
1030
+ "type": "address"
1031
+ }
1032
+ ],
1033
+ "name": "nftTransferFrom",
1034
+ "outputs": [],
1035
+ "stateMutability": "nonpayable",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "ReferralId",
1042
+ "name": "referralId",
1043
+ "type": "bytes8"
1044
+ },
1045
+ {
1046
+ "internalType": "uint256",
1047
+ "name": "feeAmount",
1048
+ "type": "uint256"
1049
+ }
1050
+ ],
1051
+ "name": "processRenewal",
1052
+ "outputs": [],
1053
+ "stateMutability": "nonpayable",
1054
+ "type": "function"
1055
+ },
1056
+ {
1057
+ "inputs": [
1058
+ {
1059
+ "internalType": "address",
1060
+ "name": "newAuthority",
1061
+ "type": "address"
1062
+ }
1063
+ ],
1064
+ "name": "setAuthority",
1065
+ "outputs": [],
1066
+ "stateMutability": "nonpayable",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [
1071
+ {
1072
+ "components": [
1073
+ {
1074
+ "internalType": "UFixed",
1075
+ "name": "fractionalFee",
1076
+ "type": "uint256"
1077
+ },
1078
+ {
1079
+ "internalType": "uint256",
1080
+ "name": "fixedFee",
1081
+ "type": "uint256"
1082
+ }
1083
+ ],
1084
+ "internalType": "struct Fee",
1085
+ "name": "distributionFee",
1086
+ "type": "tuple"
1087
+ },
1088
+ {
1089
+ "components": [
1090
+ {
1091
+ "internalType": "UFixed",
1092
+ "name": "fractionalFee",
1093
+ "type": "uint256"
1094
+ },
1095
+ {
1096
+ "internalType": "uint256",
1097
+ "name": "fixedFee",
1098
+ "type": "uint256"
1099
+ }
1100
+ ],
1101
+ "internalType": "struct Fee",
1102
+ "name": "minDistributionOwnerFee",
1103
+ "type": "tuple"
1104
+ }
1105
+ ],
1106
+ "name": "setFees",
1107
+ "outputs": [],
1108
+ "stateMutability": "nonpayable",
1109
+ "type": "function"
1110
+ },
1111
+ {
1112
+ "inputs": [
1113
+ {
1114
+ "internalType": "bytes4",
1115
+ "name": "interfaceId",
1116
+ "type": "bytes4"
1117
+ }
1118
+ ],
1119
+ "name": "supportsInterface",
1120
+ "outputs": [
1121
+ {
1122
+ "internalType": "bool",
1123
+ "name": "",
1124
+ "type": "bool"
1125
+ }
1126
+ ],
1127
+ "stateMutability": "view",
1128
+ "type": "function"
1129
+ },
1130
+ {
1131
+ "inputs": [
1132
+ {
1133
+ "internalType": "NftId",
1134
+ "name": "distributorNftId",
1135
+ "type": "uint96"
1136
+ },
1137
+ {
1138
+ "internalType": "Amount",
1139
+ "name": "amount",
1140
+ "type": "uint96"
1141
+ }
1142
+ ],
1143
+ "name": "withdrawCommission",
1144
+ "outputs": [
1145
+ {
1146
+ "internalType": "Amount",
1147
+ "name": "withdrawnAmount",
1148
+ "type": "uint96"
1149
+ }
1150
+ ],
1151
+ "stateMutability": "nonpayable",
1152
+ "type": "function"
1153
+ },
1154
+ {
1155
+ "inputs": [
1156
+ {
1157
+ "internalType": "Amount",
1158
+ "name": "amount",
1159
+ "type": "uint96"
1160
+ }
1161
+ ],
1162
+ "name": "withdrawFees",
1163
+ "outputs": [
1164
+ {
1165
+ "internalType": "Amount",
1166
+ "name": "withdrawnAmount",
1167
+ "type": "uint96"
1168
+ }
1169
+ ],
1170
+ "stateMutability": "nonpayable",
1171
+ "type": "function"
1172
+ }
1173
+ ],
1174
+ "bytecode": "0x6080604052348015600e575f80fd5b50612e808061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061024a575f3560e01c806376b707b711610140578063ada9652e116100bf578063d16d0fe811610084578063d16d0fe814610548578063de7b5d141461055b578063e145d46c1461058b578063ea15869f146105b5578063f5860e1a146105dc578063f80e2072146105f0575f80fd5b8063ada9652e146104fe578063b2a6b42d14610512578063b423086c14610525578063b6b412ba1461052d578063bf7e214f14610540575f80fd5b80638f0c86fa116101055780638f0c86fa1461048f5780638fb36037146104a257806390edbd35146104c3578063ab3fc75f146104d8578063ad12ad60146104eb575f80fd5b806376b707b7146104495780637a9e5e4b1461046357806387ef9ba0146104785780638899278a1461047f578063893d20e814610487575f80fd5b80632b5198b1116101cc5780635ab1bd53116101915780635ab1bd53146103da5780635dcb3bae146103eb578063644c45e0146103fe5780636bd1c0eb146104065780637427d7a814610436575f80fd5b80632b5198b1146103645780632eb3e6f41461039057806343d752d3146103b75780635741e5e9146103bf57806359660bea146103c7575f80fd5b806317d7de7c1161021257806317d7de7c146102f75780631c6b21901461030c5780631eff4b221461031f57806321df0da714610354578063223668441461035c575f80fd5b806301ffc9a71461024e57806307e71a6e1461028f5780630fec111c146102ba57806313299604146102cf578063138461e0146102ef575b5f80fd5b61027a61025c366004612218565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102a261029d366004612256565b610603565b6040516001600160601b039091168152602001610286565b6102c2610707565b60405161028691906122bb565b6102d76108c5565b6040516001600160a01b039091168152602001610286565b6102a2610932565b6102ff61093c565b604051610286919061234f565b6102a261031a366004612361565b61094c565b6103467f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102d76109a2565b61027a6109b4565b6103776103723660046124b8565b610aaa565b6040516001600160c01b03199091168152602001610286565b6103467fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102d7610b0e565b61027a610b20565b6103776103d5366004612579565b610bdd565b6001546001600160a01b03166102d7565b6102a26103f936600461263b565b610c34565b6102a2610c8e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102d7565b610377610444366004612698565b610ca9565b610451610d29565b60405160ff9091168152602001610286565b6104766104713660046126c9565b610d9d565b005b600161027a565b610346600381565b6102d7610e23565b61027a61049d3660046126c9565b610f54565b6104aa611019565b6040516001600160e01b03199091168152602001610286565b6104cb61104e565b60405161028691906126e4565b6104766104e636600461274a565b611073565b6104766104f9366004612767565b6110d6565b6103465f80516020612deb83398151915281565b6102a26105203660046126c9565b611185565b6104cb6111c7565b61047661053b366004612803565b6111d7565b6102d7611225565b610346610556366004612836565b611240565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102d7565b61059e610599366004612698565b611254565b6040805192835260ff909116602083015201610286565b6103467fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103465f80516020612e2b83398151915281565b6104766105fe366004612836565b61130e565b5f610610335b5f36611317565b61061933610f54565b61063d5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d61064a8282611415565b8461065d6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d4919061286b565b6106f35760405163086391f760e31b8152336004820152602401610634565b6106fd86866114cc565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107db9190612891565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610823610e23565b6001600160a01b03168152602001826001018054610840906128ac565b80601f016020809104026020016040519081016040528092919081815260200182805461086c906128ac565b80156108b75780601f1061088e576101008083540402835291602001916108b7565b820191905f5260205f20905b81548152906001019060200180831161089a57829003601f168201915b505050505081525091505090565b5f6108ce610b0e565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610909573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092d91906128ef565b905090565b5f61092d30611558565b606061094661104e565b51919050565b5f61095633610609565b61095e610e23565b6001600160a01b0316336001600160a01b0316146109915760405163086391f760e31b8152336004820152602401610634565b61099a8261174c565b90505b919050565b5f6109ab61104e565b60200151905090565b5f6109c76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2f9190612891565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a86573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092d919061286b565b5f610ab433610609565b610abc610e23565b6001600160a01b0316336001600160a01b031614610aef5760405163086391f760e31b8152336004820152602401610634565b610b008a8a8a8a8a8a8a8a8a6117e3565b9a9950505050505050505050565b5f610b1761104e565b60400151905090565b5f610b296109b4565b15610bad576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610b7d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ba49190810190612977565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610be733610609565b610bf033610f54565b610c0f5760405163637c41bb60e01b8152336004820152602401610634565b5f610c1933611185565b9050610c298188888888886118a2565b979650505050505050565b5f610c3e33610609565b610c46610e23565b6001600160a01b0316336001600160a01b031614610c795760405163086391f760e31b8152336004820152602401610634565b610c84848484611958565b90505b9392505050565b5f80516020612deb833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610ccc610c8e565b846040518363ffffffff1660e01b8152600401610cea929190612a47565b602060405180830381865af4158015610d05573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190612a68565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610d79573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092d9190612a83565b33610da6611225565b6001600160a01b0316816001600160a01b031614610de15760405162d1953b60e31b81526001600160a01b0382166004820152602401610634565b816001600160a01b03163b5f03610e16576040516361798f2f60e11b81526001600160a01b0383166004820152602401610634565b610e1f82611b1c565b5050565b5f805f80516020612deb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb3919061286b565b15610f3e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3891906128ef565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612e2b8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015610ff5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c87919061286b565b5f80516020612e0b83398151915280545f9190600160a01b900460ff16611040575f610f38565b638fb3603760e01b91505090565b6110566121e0565b61105e6109b4565b1561106b5761092d611b7c565b61092d6111c7565b61107c33610609565b611084610e23565b6001600160a01b0316336001600160a01b0316146110b75760405163086391f760e31b8152336004820152602401610634565b82601d6110c48282611415565b6110cf858585611d43565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561111d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061114191906128ef565b6001600160a01b0316336001600160a01b0316146111735760405162f0630960e01b8152336004820152602401610634565b61117f84848484611dd6565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6111cf6121e0565b61092d611b7c565b6111df610e23565b6001600160a01b0316336001600160a01b0316146112125760405163086391f760e31b8152336004820152602401610634565b61121b33610609565b610e1f8282611f7f565b5f80516020612e0b833981519152546001600160a01b031690565b5f61124b8282612a9e565b90505b92915050565b5f805f61126084610ca9565b90506112937fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113049190612ac1565b9250925050915091565b610e1f33610609565b5f80516020612e0b8339815191525f8061134f611332611225565b873061134160045f8a8c612ae4565b61134a91612b0b565b611fe6565b915091508161140d5763ffffffff8116156113ea57825460ff60a01b1916600160a01b17835561137d611225565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113ac93929190612b43565b5f604051808303815f87803b1580156113c3575f80fd5b505af11580156113d5573d5f803e3d5ffd5b5050845460ff60a01b191685555061140d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610634565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061149b919061286b565b610e1f5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610634565b5f5f80516020612e2b833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611534573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124b9190612891565b5f805f80516020612deb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156115c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e8919061286b565b156116145780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610634565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611666573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168a919061286b565b6116b25760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610634565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611704573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117289190612891565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156117bf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190612891565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020612e2b833981519152916001600160a01b0390911690632b5198b190611853908e908e908e908e908e908e908e908e908e90600401612b82565b6020604051808303815f875af115801561186f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118939190612a68565b9b9a5050505050505050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020612e2b833981519152916001600160a01b0390911690638dd2b7819061190c908b908b908b908b908b908b90600401612bf3565b6020604051808303815f875af1158015611928573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061194c9190612a68565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612e2b8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156119f9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a1d919061286b565b15611a68576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610634565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611a9e90889088908890600401612c52565b6020604051808303815f875af1158015611aba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ade9190612891565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020612e0b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611b846121e0565b5f611b976001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611bdb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bff9190612891565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7c919061286b565b15611d3b577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611cb9610c8e565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611cfa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d219190810190612c85565b60408101519092506001600160a01b031615611d3b575090565b610f386120ee565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020612e2b833981519152916001600160a01b03169063ab3fc75f90611da390879087908790600401612d4e565b5f604051808303815f87803b158015611dba575f80fd5b505af1158015611dcc573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020612e2b833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e959190612891565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015611f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3f9190612891565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020612e2b83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee90611fbd9085908590600401612d81565b5f604051808303815f87803b158015611fd4575f80fd5b505af115801561140d573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120549190612da7565b5f60405180830381855afa9150503d805f811461208c576040519150601f19603f3d011682016040523d82523d5f602084013e612091565b606091505b509150915081156120e35760408151106120c357808060200190518101906120b99190612dbd565b90945092506120e3565b60208151106120e357808060200190518101906120e0919061286b565b93505b505094509492505050565b6120f66121e0565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f018054612133906128ac565b80601f016020809104026020016040519081016040528092919081815260200182805461215f906128ac565b80156121aa5780601f10612181576101008083540402835291602001916121aa565b820191905f5260205f20905b81548152906001019060200180831161218d57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f6040820152600283018054606090920191610840906128ac565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612228575f80fd5b81356001600160e01b031981168114610c87575f80fd5b6001600160601b0381168114612253575f80fd5b50565b5f8060408385031215612267575f80fd5b82356122728161223f565b915060208301356122828161223f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612303608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261234761010084018261228d565b949350505050565b602081525f61124b602083018461228d565b5f60208284031215612371575f80fd5b8135610c878161223f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123b2576123b261237c565b60405290565b604051608081016001600160401b03811182821017156123b2576123b261237c565b604051601f8201601f191681016001600160401b03811182821017156124025761240261237c565b604052919050565b5f6001600160401b038211156124225761242261237c565b50601f01601f191660200190565b5f82601f83011261243f575f80fd5b8135602083015f6124576124528461240a565b6123da565b905082815285838301111561246a575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114612253575f80fd5b803561099d81612484565b8015158114612253575f80fd5b803561099d816124a0565b5f805f805f805f805f6101208a8c0312156124d1575f80fd5b89356001600160401b038111156124e6575f80fd5b6124f28c828d01612430565b99505060208a0135975060408a0135965060608a0135955060808a013561251881612484565b945061252660a08b01612495565b935061253460c08b016124ad565b925061254260e08b016124ad565b91506101008a01356001600160401b0381111561255d575f80fd5b6125698c828d01612430565b9150509295985092959850929598565b5f805f805f60a0868803121561258d575f80fd5b85356001600160401b038111156125a2575f80fd5b6125ae88828901612430565b9550506020860135935060408601356125c681612484565b9250606086013564ffffffffff811681146125df575f80fd5b915060808601356001600160401b038111156125f9575f80fd5b61260588828901612430565b9150509295509295909350565b6001600160a01b0381168114612253575f80fd5b6001600160c01b031981168114612253575f80fd5b5f805f6060848603121561264d575f80fd5b833561265881612612565b9250602084013561266881612626565b915060408401356001600160401b03811115612682575f80fd5b61268e86828701612430565b9150509250925092565b5f602082840312156126a8575f80fd5b81356001600160401b038111156126bd575f80fd5b61234784828501612430565b5f602082840312156126d9575f80fd5b8135610c8781612612565b602081525f8251608060208401526126ff60a084018261228d565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f19016080860152909150612741828261228d565b95945050505050565b5f805f6060848603121561275c575f80fd5b83356126588161223f565b5f805f806080858703121561277a575f80fd5b843561278581612612565b9350602085013561279581612612565b92506040850135915060608501356127ac81612612565b939692955090935050565b5f604082840312156127c7575f80fd5b604080519081016001600160401b03811182821017156127e9576127e961237c565b604052823581526020928301359281019290925250919050565b5f8060808385031215612814575f80fd5b61281e84846127b7565b915061282d84604085016127b7565b90509250929050565b5f8060408385031215612847575f80fd5b823561285281612626565b946020939093013593505050565b805161099d816124a0565b5f6020828403121561287b575f80fd5b8151610c87816124a0565b805161099d8161223f565b5f602082840312156128a1575f80fd5b8151610c878161223f565b600181811c908216806128c057607f821691505b6020821081036128de57634e487b7160e01b5f52602260045260245ffd5b50919050565b805161099d81612612565b5f602082840312156128ff575f80fd5b8151610c8781612612565b60ff81168114612253575f80fd5b805161099d8161290a565b5f6129306124528461240a565b9050828152838383011115612943575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612968575f80fd5b61124b83835160208501612923565b5f60208284031215612987575f80fd5b81516001600160401b0381111561299c575f80fd5b820160e081850312156129ad575f80fd5b6129b5612390565b6129be82612886565b81526129cc60208301612886565b60208201526129dd60408301612918565b60408201526129ee60608301612860565b60608201526129ff608083016128e4565b6080820152612a1060a083016128e4565b60a082015260c08201516001600160401b03811115612a2d575f80fd5b612a3986828501612959565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610c84604083018461228d565b5f60208284031215612a78575f80fd5b8151610c8781612626565b5f60208284031215612a93575f80fd5b8151610c878161290a565b808202811582820484141761124e57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612ad2575f80fd5b8251915060208301516122828161290a565b5f8085851115612af2575f80fd5b83861115612afe575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b3c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612b9661012083018c61228d565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152612be3818561228d565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612c1460c083018861228d565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612c45818561228d565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906127419083018461228d565b5f60208284031215612c95575f80fd5b81516001600160401b03811115612caa575f80fd5b820160808185031215612cbb575f80fd5b612cc36123b8565b81516001600160401b03811115612cd8575f80fd5b8201601f81018613612ce8575f80fd5b612cf786825160208401612923565b825250612d06602083016128e4565b6020820152612d17604083016128e4565b604082015260608201516001600160401b03811115612d34575f80fd5b612d4086828501612959565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f612741606083018461228d565b825181526020808401518183015282516040830152820151606082015260808101610c87565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612dce575f80fd5b8251612dd9816124a0565b60208401519092506122828161248456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a2646970667358221220870f5c6d6f7d4979701fa94ac41897de78a50e768135371867ea82c7fef3522664736f6c634300081a0033",
1175
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061024a575f3560e01c806376b707b711610140578063ada9652e116100bf578063d16d0fe811610084578063d16d0fe814610548578063de7b5d141461055b578063e145d46c1461058b578063ea15869f146105b5578063f5860e1a146105dc578063f80e2072146105f0575f80fd5b8063ada9652e146104fe578063b2a6b42d14610512578063b423086c14610525578063b6b412ba1461052d578063bf7e214f14610540575f80fd5b80638f0c86fa116101055780638f0c86fa1461048f5780638fb36037146104a257806390edbd35146104c3578063ab3fc75f146104d8578063ad12ad60146104eb575f80fd5b806376b707b7146104495780637a9e5e4b1461046357806387ef9ba0146104785780638899278a1461047f578063893d20e814610487575f80fd5b80632b5198b1116101cc5780635ab1bd53116101915780635ab1bd53146103da5780635dcb3bae146103eb578063644c45e0146103fe5780636bd1c0eb146104065780637427d7a814610436575f80fd5b80632b5198b1146103645780632eb3e6f41461039057806343d752d3146103b75780635741e5e9146103bf57806359660bea146103c7575f80fd5b806317d7de7c1161021257806317d7de7c146102f75780631c6b21901461030c5780631eff4b221461031f57806321df0da714610354578063223668441461035c575f80fd5b806301ffc9a71461024e57806307e71a6e1461028f5780630fec111c146102ba57806313299604146102cf578063138461e0146102ef575b5f80fd5b61027a61025c366004612218565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102a261029d366004612256565b610603565b6040516001600160601b039091168152602001610286565b6102c2610707565b60405161028691906122bb565b6102d76108c5565b6040516001600160a01b039091168152602001610286565b6102a2610932565b6102ff61093c565b604051610286919061234f565b6102a261031a366004612361565b61094c565b6103467f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102d76109a2565b61027a6109b4565b6103776103723660046124b8565b610aaa565b6040516001600160c01b03199091168152602001610286565b6103467fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102d7610b0e565b61027a610b20565b6103776103d5366004612579565b610bdd565b6001546001600160a01b03166102d7565b6102a26103f936600461263b565b610c34565b6102a2610c8e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102d7565b610377610444366004612698565b610ca9565b610451610d29565b60405160ff9091168152602001610286565b6104766104713660046126c9565b610d9d565b005b600161027a565b610346600381565b6102d7610e23565b61027a61049d3660046126c9565b610f54565b6104aa611019565b6040516001600160e01b03199091168152602001610286565b6104cb61104e565b60405161028691906126e4565b6104766104e636600461274a565b611073565b6104766104f9366004612767565b6110d6565b6103465f80516020612deb83398151915281565b6102a26105203660046126c9565b611185565b6104cb6111c7565b61047661053b366004612803565b6111d7565b6102d7611225565b610346610556366004612836565b611240565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102d7565b61059e610599366004612698565b611254565b6040805192835260ff909116602083015201610286565b6103467fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103465f80516020612e2b83398151915281565b6104766105fe366004612836565b61130e565b5f610610335b5f36611317565b61061933610f54565b61063d5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d61064a8282611415565b8461065d6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d4919061286b565b6106f35760405163086391f760e31b8152336004820152602401610634565b6106fd86866114cc565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107db9190612891565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610823610e23565b6001600160a01b03168152602001826001018054610840906128ac565b80601f016020809104026020016040519081016040528092919081815260200182805461086c906128ac565b80156108b75780601f1061088e576101008083540402835291602001916108b7565b820191905f5260205f20905b81548152906001019060200180831161089a57829003601f168201915b505050505081525091505090565b5f6108ce610b0e565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610909573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092d91906128ef565b905090565b5f61092d30611558565b606061094661104e565b51919050565b5f61095633610609565b61095e610e23565b6001600160a01b0316336001600160a01b0316146109915760405163086391f760e31b8152336004820152602401610634565b61099a8261174c565b90505b919050565b5f6109ab61104e565b60200151905090565b5f6109c76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2f9190612891565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a86573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092d919061286b565b5f610ab433610609565b610abc610e23565b6001600160a01b0316336001600160a01b031614610aef5760405163086391f760e31b8152336004820152602401610634565b610b008a8a8a8a8a8a8a8a8a6117e3565b9a9950505050505050505050565b5f610b1761104e565b60400151905090565b5f610b296109b4565b15610bad576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610b7d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ba49190810190612977565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610be733610609565b610bf033610f54565b610c0f5760405163637c41bb60e01b8152336004820152602401610634565b5f610c1933611185565b9050610c298188888888886118a2565b979650505050505050565b5f610c3e33610609565b610c46610e23565b6001600160a01b0316336001600160a01b031614610c795760405163086391f760e31b8152336004820152602401610634565b610c84848484611958565b90505b9392505050565b5f80516020612deb833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610ccc610c8e565b846040518363ffffffff1660e01b8152600401610cea929190612a47565b602060405180830381865af4158015610d05573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190612a68565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610d79573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092d9190612a83565b33610da6611225565b6001600160a01b0316816001600160a01b031614610de15760405162d1953b60e31b81526001600160a01b0382166004820152602401610634565b816001600160a01b03163b5f03610e16576040516361798f2f60e11b81526001600160a01b0383166004820152602401610634565b610e1f82611b1c565b5050565b5f805f80516020612deb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb3919061286b565b15610f3e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3891906128ef565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612e2b8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015610ff5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c87919061286b565b5f80516020612e0b83398151915280545f9190600160a01b900460ff16611040575f610f38565b638fb3603760e01b91505090565b6110566121e0565b61105e6109b4565b1561106b5761092d611b7c565b61092d6111c7565b61107c33610609565b611084610e23565b6001600160a01b0316336001600160a01b0316146110b75760405163086391f760e31b8152336004820152602401610634565b82601d6110c48282611415565b6110cf858585611d43565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561111d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061114191906128ef565b6001600160a01b0316336001600160a01b0316146111735760405162f0630960e01b8152336004820152602401610634565b61117f84848484611dd6565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6111cf6121e0565b61092d611b7c565b6111df610e23565b6001600160a01b0316336001600160a01b0316146112125760405163086391f760e31b8152336004820152602401610634565b61121b33610609565b610e1f8282611f7f565b5f80516020612e0b833981519152546001600160a01b031690565b5f61124b8282612a9e565b90505b92915050565b5f805f61126084610ca9565b90506112937fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113049190612ac1565b9250925050915091565b610e1f33610609565b5f80516020612e0b8339815191525f8061134f611332611225565b873061134160045f8a8c612ae4565b61134a91612b0b565b611fe6565b915091508161140d5763ffffffff8116156113ea57825460ff60a01b1916600160a01b17835561137d611225565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113ac93929190612b43565b5f604051808303815f87803b1580156113c3575f80fd5b505af11580156113d5573d5f803e3d5ffd5b5050845460ff60a01b191685555061140d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610634565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061149b919061286b565b610e1f5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610634565b5f5f80516020612e2b833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611534573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124b9190612891565b5f805f80516020612deb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156115c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e8919061286b565b156116145780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610634565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611666573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168a919061286b565b6116b25760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610634565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611704573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117289190612891565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156117bf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190612891565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020612e2b833981519152916001600160a01b0390911690632b5198b190611853908e908e908e908e908e908e908e908e908e90600401612b82565b6020604051808303815f875af115801561186f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118939190612a68565b9b9a5050505050505050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020612e2b833981519152916001600160a01b0390911690638dd2b7819061190c908b908b908b908b908b908b90600401612bf3565b6020604051808303815f875af1158015611928573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061194c9190612a68565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020612e2b8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156119f9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a1d919061286b565b15611a68576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610634565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611a9e90889088908890600401612c52565b6020604051808303815f875af1158015611aba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ade9190612891565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020612e0b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611b846121e0565b5f611b976001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611bdb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bff9190612891565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7c919061286b565b15611d3b577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611cb9610c8e565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611cfa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d219190810190612c85565b60408101519092506001600160a01b031615611d3b575090565b610f386120ee565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020612e2b833981519152916001600160a01b03169063ab3fc75f90611da390879087908790600401612d4e565b5f604051808303815f87803b158015611dba575f80fd5b505af1158015611dcc573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020612e2b833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e959190612891565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015611f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3f9190612891565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020612e2b83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee90611fbd9085908590600401612d81565b5f604051808303815f87803b158015611fd4575f80fd5b505af115801561140d573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120549190612da7565b5f60405180830381855afa9150503d805f811461208c576040519150601f19603f3d011682016040523d82523d5f602084013e612091565b606091505b509150915081156120e35760408151106120c357808060200190518101906120b99190612dbd565b90945092506120e3565b60208151106120e357808060200190518101906120e0919061286b565b93505b505094509492505050565b6120f66121e0565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f018054612133906128ac565b80601f016020809104026020016040519081016040528092919081815260200182805461215f906128ac565b80156121aa5780601f10612181576101008083540402835291602001916121aa565b820191905f5260205f20905b81548152906001019060200180831161218d57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f6040820152600283018054606090920191610840906128ac565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612228575f80fd5b81356001600160e01b031981168114610c87575f80fd5b6001600160601b0381168114612253575f80fd5b50565b5f8060408385031215612267575f80fd5b82356122728161223f565b915060208301356122828161223f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612303608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261234761010084018261228d565b949350505050565b602081525f61124b602083018461228d565b5f60208284031215612371575f80fd5b8135610c878161223f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123b2576123b261237c565b60405290565b604051608081016001600160401b03811182821017156123b2576123b261237c565b604051601f8201601f191681016001600160401b03811182821017156124025761240261237c565b604052919050565b5f6001600160401b038211156124225761242261237c565b50601f01601f191660200190565b5f82601f83011261243f575f80fd5b8135602083015f6124576124528461240a565b6123da565b905082815285838301111561246a575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114612253575f80fd5b803561099d81612484565b8015158114612253575f80fd5b803561099d816124a0565b5f805f805f805f805f6101208a8c0312156124d1575f80fd5b89356001600160401b038111156124e6575f80fd5b6124f28c828d01612430565b99505060208a0135975060408a0135965060608a0135955060808a013561251881612484565b945061252660a08b01612495565b935061253460c08b016124ad565b925061254260e08b016124ad565b91506101008a01356001600160401b0381111561255d575f80fd5b6125698c828d01612430565b9150509295985092959850929598565b5f805f805f60a0868803121561258d575f80fd5b85356001600160401b038111156125a2575f80fd5b6125ae88828901612430565b9550506020860135935060408601356125c681612484565b9250606086013564ffffffffff811681146125df575f80fd5b915060808601356001600160401b038111156125f9575f80fd5b61260588828901612430565b9150509295509295909350565b6001600160a01b0381168114612253575f80fd5b6001600160c01b031981168114612253575f80fd5b5f805f6060848603121561264d575f80fd5b833561265881612612565b9250602084013561266881612626565b915060408401356001600160401b03811115612682575f80fd5b61268e86828701612430565b9150509250925092565b5f602082840312156126a8575f80fd5b81356001600160401b038111156126bd575f80fd5b61234784828501612430565b5f602082840312156126d9575f80fd5b8135610c8781612612565b602081525f8251608060208401526126ff60a084018261228d565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f19016080860152909150612741828261228d565b95945050505050565b5f805f6060848603121561275c575f80fd5b83356126588161223f565b5f805f806080858703121561277a575f80fd5b843561278581612612565b9350602085013561279581612612565b92506040850135915060608501356127ac81612612565b939692955090935050565b5f604082840312156127c7575f80fd5b604080519081016001600160401b03811182821017156127e9576127e961237c565b604052823581526020928301359281019290925250919050565b5f8060808385031215612814575f80fd5b61281e84846127b7565b915061282d84604085016127b7565b90509250929050565b5f8060408385031215612847575f80fd5b823561285281612626565b946020939093013593505050565b805161099d816124a0565b5f6020828403121561287b575f80fd5b8151610c87816124a0565b805161099d8161223f565b5f602082840312156128a1575f80fd5b8151610c878161223f565b600181811c908216806128c057607f821691505b6020821081036128de57634e487b7160e01b5f52602260045260245ffd5b50919050565b805161099d81612612565b5f602082840312156128ff575f80fd5b8151610c8781612612565b60ff81168114612253575f80fd5b805161099d8161290a565b5f6129306124528461240a565b9050828152838383011115612943575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612968575f80fd5b61124b83835160208501612923565b5f60208284031215612987575f80fd5b81516001600160401b0381111561299c575f80fd5b820160e081850312156129ad575f80fd5b6129b5612390565b6129be82612886565b81526129cc60208301612886565b60208201526129dd60408301612918565b60408201526129ee60608301612860565b60608201526129ff608083016128e4565b6080820152612a1060a083016128e4565b60a082015260c08201516001600160401b03811115612a2d575f80fd5b612a3986828501612959565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610c84604083018461228d565b5f60208284031215612a78575f80fd5b8151610c8781612626565b5f60208284031215612a93575f80fd5b8151610c878161290a565b808202811582820484141761124e57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215612ad2575f80fd5b8251915060208301516122828161290a565b5f8085851115612af2575f80fd5b83861115612afe575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b3c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f612b9661012083018c61228d565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152612be3818561228d565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f612c1460c083018861228d565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612c45818561228d565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906127419083018461228d565b5f60208284031215612c95575f80fd5b81516001600160401b03811115612caa575f80fd5b820160808185031215612cbb575f80fd5b612cc36123b8565b81516001600160401b03811115612cd8575f80fd5b8201601f81018613612ce8575f80fd5b612cf786825160208401612923565b825250612d06602083016128e4565b6020820152612d17604083016128e4565b604082015260608201516001600160401b03811115612d34575f80fd5b612d4086828501612959565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f612741606083018461228d565b825181526020808401518183015282516040830152820151606082015260808101610c87565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612dce575f80fd5b8251612dd9816124a0565b60208401519092506122828161248456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a2646970667358221220870f5c6d6f7d4979701fa94ac41897de78a50e768135371867ea82c7fef3522664736f6c634300081a0033",
1176
+ "linkReferences": {
1177
+ "contracts/type/NftId.sol": {
1178
+ "NftIdLib": [
1179
+ {
1180
+ "length": 20,
1181
+ "start": 1934
1182
+ },
1183
+ {
1184
+ "length": 20,
1185
+ "start": 2666
1186
+ },
1187
+ {
1188
+ "length": 20,
1189
+ "start": 3699
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 4057
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 5544
1198
+ },
1199
+ {
1200
+ "length": 20,
1201
+ "start": 6621
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 7228
1206
+ },
1207
+ {
1208
+ "length": 20,
1209
+ "start": 7752
1210
+ },
1211
+ {
1212
+ "length": 20,
1213
+ "start": 7935
1214
+ }
1215
+ ]
1216
+ },
1217
+ "contracts/type/Referral.sol": {
1218
+ "ReferralLib": [
1219
+ {
1220
+ "length": 20,
1221
+ "start": 3272
1222
+ }
1223
+ ]
1224
+ },
1225
+ "contracts/type/Version.sol": {
1226
+ "VersionPartLib": [
1227
+ {
1228
+ "length": 20,
1229
+ "start": 3421
1230
+ }
1231
+ ]
1232
+ }
1233
+ },
1234
+ "deployedLinkReferences": {
1235
+ "contracts/type/NftId.sol": {
1236
+ "NftIdLib": [
1237
+ {
1238
+ "length": 20,
1239
+ "start": 1906
1240
+ },
1241
+ {
1242
+ "length": 20,
1243
+ "start": 2638
1244
+ },
1245
+ {
1246
+ "length": 20,
1247
+ "start": 3671
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 4029
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 5516
1256
+ },
1257
+ {
1258
+ "length": 20,
1259
+ "start": 6593
1260
+ },
1261
+ {
1262
+ "length": 20,
1263
+ "start": 7200
1264
+ },
1265
+ {
1266
+ "length": 20,
1267
+ "start": 7724
1268
+ },
1269
+ {
1270
+ "length": 20,
1271
+ "start": 7907
1272
+ }
1273
+ ]
1274
+ },
1275
+ "contracts/type/Referral.sol": {
1276
+ "ReferralLib": [
1277
+ {
1278
+ "length": 20,
1279
+ "start": 3244
1280
+ }
1281
+ ]
1282
+ },
1283
+ "contracts/type/Version.sol": {
1284
+ "VersionPartLib": [
1285
+ {
1286
+ "length": 20,
1287
+ "start": 3393
1288
+ }
1289
+ ]
1290
+ }
1291
+ }
1292
+ }