@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d43ca2d-657

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