@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,2291 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceReader",
4
+ "sourceName": "contracts/instance/InstanceReader.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "poolNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "activeBundles",
25
+ "outputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "productNftId",
40
+ "type": "uint96"
41
+ }
42
+ ],
43
+ "name": "activeRisks",
44
+ "outputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "poolNftId",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "bundles",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "bundleCount",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [
75
+ {
76
+ "internalType": "NftId",
77
+ "name": "policyNftId",
78
+ "type": "uint96"
79
+ }
80
+ ],
81
+ "name": "claims",
82
+ "outputs": [
83
+ {
84
+ "internalType": "uint16",
85
+ "name": "claimCount",
86
+ "type": "uint16"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "NftId",
96
+ "name": "poolNftId",
97
+ "type": "uint96"
98
+ },
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "idx",
102
+ "type": "uint256"
103
+ }
104
+ ],
105
+ "name": "getActiveBundleNftId",
106
+ "outputs": [
107
+ {
108
+ "internalType": "NftId",
109
+ "name": "bundleNftId",
110
+ "type": "uint96"
111
+ }
112
+ ],
113
+ "stateMutability": "view",
114
+ "type": "function"
115
+ },
116
+ {
117
+ "inputs": [
118
+ {
119
+ "internalType": "NftId",
120
+ "name": "productNftId",
121
+ "type": "uint96"
122
+ },
123
+ {
124
+ "internalType": "uint256",
125
+ "name": "idx",
126
+ "type": "uint256"
127
+ }
128
+ ],
129
+ "name": "getActiveRiskId",
130
+ "outputs": [
131
+ {
132
+ "internalType": "RiskId",
133
+ "name": "riskId",
134
+ "type": "bytes8"
135
+ }
136
+ ],
137
+ "stateMutability": "view",
138
+ "type": "function"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "NftId",
144
+ "name": "targetNftId",
145
+ "type": "uint96"
146
+ }
147
+ ],
148
+ "name": "getBalanceAmount",
149
+ "outputs": [
150
+ {
151
+ "internalType": "Amount",
152
+ "name": "",
153
+ "type": "uint96"
154
+ }
155
+ ],
156
+ "stateMutability": "view",
157
+ "type": "function"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "NftId",
163
+ "name": "bundleNftId",
164
+ "type": "uint96"
165
+ }
166
+ ],
167
+ "name": "getBundleInfo",
168
+ "outputs": [
169
+ {
170
+ "components": [
171
+ {
172
+ "internalType": "NftId",
173
+ "name": "poolNftId",
174
+ "type": "uint96"
175
+ },
176
+ {
177
+ "components": [
178
+ {
179
+ "internalType": "UFixed",
180
+ "name": "fractionalFee",
181
+ "type": "uint256"
182
+ },
183
+ {
184
+ "internalType": "uint256",
185
+ "name": "fixedFee",
186
+ "type": "uint256"
187
+ }
188
+ ],
189
+ "internalType": "struct Fee",
190
+ "name": "fee",
191
+ "type": "tuple"
192
+ },
193
+ {
194
+ "internalType": "bytes",
195
+ "name": "filter",
196
+ "type": "bytes"
197
+ },
198
+ {
199
+ "internalType": "Timestamp",
200
+ "name": "activatedAt",
201
+ "type": "uint40"
202
+ },
203
+ {
204
+ "internalType": "Timestamp",
205
+ "name": "expiredAt",
206
+ "type": "uint40"
207
+ },
208
+ {
209
+ "internalType": "Timestamp",
210
+ "name": "closedAt",
211
+ "type": "uint40"
212
+ }
213
+ ],
214
+ "internalType": "struct IBundle.BundleInfo",
215
+ "name": "info",
216
+ "type": "tuple"
217
+ }
218
+ ],
219
+ "stateMutability": "view",
220
+ "type": "function"
221
+ },
222
+ {
223
+ "inputs": [
224
+ {
225
+ "internalType": "NftId",
226
+ "name": "poolNftId",
227
+ "type": "uint96"
228
+ },
229
+ {
230
+ "internalType": "uint256",
231
+ "name": "idx",
232
+ "type": "uint256"
233
+ }
234
+ ],
235
+ "name": "getBundleNftId",
236
+ "outputs": [
237
+ {
238
+ "internalType": "NftId",
239
+ "name": "bundleNftId",
240
+ "type": "uint96"
241
+ }
242
+ ],
243
+ "stateMutability": "view",
244
+ "type": "function"
245
+ },
246
+ {
247
+ "inputs": [],
248
+ "name": "getBundleSet",
249
+ "outputs": [
250
+ {
251
+ "internalType": "contract BundleSet",
252
+ "name": "bundleSet",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "NftId",
263
+ "name": "bundleNftId",
264
+ "type": "uint96"
265
+ }
266
+ ],
267
+ "name": "getBundleState",
268
+ "outputs": [
269
+ {
270
+ "internalType": "StateId",
271
+ "name": "state",
272
+ "type": "uint8"
273
+ }
274
+ ],
275
+ "stateMutability": "view",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "idx",
283
+ "type": "uint256"
284
+ }
285
+ ],
286
+ "name": "getClaimId",
287
+ "outputs": [
288
+ {
289
+ "internalType": "ClaimId",
290
+ "name": "claimId",
291
+ "type": "uint16"
292
+ }
293
+ ],
294
+ "stateMutability": "view",
295
+ "type": "function"
296
+ },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "NftId",
301
+ "name": "policyNftId",
302
+ "type": "uint96"
303
+ },
304
+ {
305
+ "internalType": "ClaimId",
306
+ "name": "claimId",
307
+ "type": "uint16"
308
+ }
309
+ ],
310
+ "name": "getClaimInfo",
311
+ "outputs": [
312
+ {
313
+ "components": [
314
+ {
315
+ "internalType": "Amount",
316
+ "name": "claimAmount",
317
+ "type": "uint96"
318
+ },
319
+ {
320
+ "internalType": "Amount",
321
+ "name": "paidAmount",
322
+ "type": "uint96"
323
+ },
324
+ {
325
+ "internalType": "uint24",
326
+ "name": "payoutsCount",
327
+ "type": "uint24"
328
+ },
329
+ {
330
+ "internalType": "uint24",
331
+ "name": "openPayoutsCount",
332
+ "type": "uint24"
333
+ },
334
+ {
335
+ "internalType": "bytes",
336
+ "name": "submissionData",
337
+ "type": "bytes"
338
+ },
339
+ {
340
+ "internalType": "bytes",
341
+ "name": "processData",
342
+ "type": "bytes"
343
+ },
344
+ {
345
+ "internalType": "Timestamp",
346
+ "name": "closedAt",
347
+ "type": "uint40"
348
+ }
349
+ ],
350
+ "internalType": "struct IPolicy.ClaimInfo",
351
+ "name": "info",
352
+ "type": "tuple"
353
+ }
354
+ ],
355
+ "stateMutability": "view",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "inputs": [
360
+ {
361
+ "internalType": "NftId",
362
+ "name": "policyNftId",
363
+ "type": "uint96"
364
+ },
365
+ {
366
+ "internalType": "ClaimId",
367
+ "name": "claimId",
368
+ "type": "uint16"
369
+ }
370
+ ],
371
+ "name": "getClaimState",
372
+ "outputs": [
373
+ {
374
+ "internalType": "StateId",
375
+ "name": "state",
376
+ "type": "uint8"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "NftId",
386
+ "name": "componentNftId",
387
+ "type": "uint96"
388
+ }
389
+ ],
390
+ "name": "getComponentInfo",
391
+ "outputs": [
392
+ {
393
+ "components": [
394
+ {
395
+ "internalType": "string",
396
+ "name": "name",
397
+ "type": "string"
398
+ },
399
+ {
400
+ "internalType": "contract IERC20Metadata",
401
+ "name": "token",
402
+ "type": "address"
403
+ },
404
+ {
405
+ "internalType": "contract TokenHandler",
406
+ "name": "tokenHandler",
407
+ "type": "address"
408
+ },
409
+ {
410
+ "internalType": "bytes",
411
+ "name": "data",
412
+ "type": "bytes"
413
+ }
414
+ ],
415
+ "internalType": "struct IComponents.ComponentInfo",
416
+ "name": "info",
417
+ "type": "tuple"
418
+ }
419
+ ],
420
+ "stateMutability": "view",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "inputs": [
425
+ {
426
+ "internalType": "ReferralId",
427
+ "name": "referralId",
428
+ "type": "bytes8"
429
+ }
430
+ ],
431
+ "name": "getDiscountPercentage",
432
+ "outputs": [
433
+ {
434
+ "internalType": "UFixed",
435
+ "name": "discountPercentage",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "internalType": "ReferralStatus",
440
+ "name": "status",
441
+ "type": "uint8"
442
+ }
443
+ ],
444
+ "stateMutability": "view",
445
+ "type": "function"
446
+ },
447
+ {
448
+ "inputs": [
449
+ {
450
+ "internalType": "NftId",
451
+ "name": "distributorNftId",
452
+ "type": "uint96"
453
+ }
454
+ ],
455
+ "name": "getDistributorInfo",
456
+ "outputs": [
457
+ {
458
+ "components": [
459
+ {
460
+ "internalType": "DistributorType",
461
+ "name": "distributorType",
462
+ "type": "bytes8"
463
+ },
464
+ {
465
+ "internalType": "bool",
466
+ "name": "active",
467
+ "type": "bool"
468
+ },
469
+ {
470
+ "internalType": "bytes",
471
+ "name": "data",
472
+ "type": "bytes"
473
+ },
474
+ {
475
+ "internalType": "uint32",
476
+ "name": "numPoliciesSold",
477
+ "type": "uint32"
478
+ }
479
+ ],
480
+ "internalType": "struct IDistribution.DistributorInfo",
481
+ "name": "info",
482
+ "type": "tuple"
483
+ }
484
+ ],
485
+ "stateMutability": "view",
486
+ "type": "function"
487
+ },
488
+ {
489
+ "inputs": [
490
+ {
491
+ "internalType": "DistributorType",
492
+ "name": "distributorType",
493
+ "type": "bytes8"
494
+ }
495
+ ],
496
+ "name": "getDistributorTypeInfo",
497
+ "outputs": [
498
+ {
499
+ "components": [
500
+ {
501
+ "internalType": "string",
502
+ "name": "name",
503
+ "type": "string"
504
+ },
505
+ {
506
+ "internalType": "UFixed",
507
+ "name": "minDiscountPercentage",
508
+ "type": "uint256"
509
+ },
510
+ {
511
+ "internalType": "UFixed",
512
+ "name": "maxDiscountPercentage",
513
+ "type": "uint256"
514
+ },
515
+ {
516
+ "internalType": "UFixed",
517
+ "name": "commissionPercentage",
518
+ "type": "uint256"
519
+ },
520
+ {
521
+ "internalType": "uint32",
522
+ "name": "maxReferralCount",
523
+ "type": "uint32"
524
+ },
525
+ {
526
+ "internalType": "uint32",
527
+ "name": "maxReferralLifetime",
528
+ "type": "uint32"
529
+ },
530
+ {
531
+ "internalType": "bool",
532
+ "name": "allowSelfReferrals",
533
+ "type": "bool"
534
+ },
535
+ {
536
+ "internalType": "bool",
537
+ "name": "allowRenewals",
538
+ "type": "bool"
539
+ },
540
+ {
541
+ "internalType": "bytes",
542
+ "name": "data",
543
+ "type": "bytes"
544
+ }
545
+ ],
546
+ "internalType": "struct IDistribution.DistributorTypeInfo",
547
+ "name": "info",
548
+ "type": "tuple"
549
+ }
550
+ ],
551
+ "stateMutability": "view",
552
+ "type": "function"
553
+ },
554
+ {
555
+ "inputs": [
556
+ {
557
+ "internalType": "NftId",
558
+ "name": "targetNftId",
559
+ "type": "uint96"
560
+ }
561
+ ],
562
+ "name": "getFeeAmount",
563
+ "outputs": [
564
+ {
565
+ "internalType": "Amount",
566
+ "name": "",
567
+ "type": "uint96"
568
+ }
569
+ ],
570
+ "stateMutability": "view",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [],
575
+ "name": "getInstance",
576
+ "outputs": [
577
+ {
578
+ "internalType": "contract IInstance",
579
+ "name": "instance",
580
+ "type": "address"
581
+ }
582
+ ],
583
+ "stateMutability": "view",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [],
588
+ "name": "getInstanceStore",
589
+ "outputs": [
590
+ {
591
+ "internalType": "contract IKeyValueStore",
592
+ "name": "store",
593
+ "type": "address"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "NftId",
603
+ "name": "targetNftId",
604
+ "type": "uint96"
605
+ }
606
+ ],
607
+ "name": "getLockedAmount",
608
+ "outputs": [
609
+ {
610
+ "internalType": "Amount",
611
+ "name": "",
612
+ "type": "uint96"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "Key32",
622
+ "name": "key",
623
+ "type": "bytes32"
624
+ }
625
+ ],
626
+ "name": "getMetadata",
627
+ "outputs": [
628
+ {
629
+ "components": [
630
+ {
631
+ "internalType": "ObjectType",
632
+ "name": "objectType",
633
+ "type": "uint8"
634
+ },
635
+ {
636
+ "internalType": "StateId",
637
+ "name": "state",
638
+ "type": "uint8"
639
+ },
640
+ {
641
+ "internalType": "Blocknumber",
642
+ "name": "updatedIn",
643
+ "type": "uint32"
644
+ },
645
+ {
646
+ "internalType": "Blocknumber",
647
+ "name": "createdIn",
648
+ "type": "uint32"
649
+ }
650
+ ],
651
+ "internalType": "struct IKeyValueStore.Metadata",
652
+ "name": "metadata",
653
+ "type": "tuple"
654
+ }
655
+ ],
656
+ "stateMutability": "view",
657
+ "type": "function"
658
+ },
659
+ {
660
+ "inputs": [
661
+ {
662
+ "internalType": "ClaimId",
663
+ "name": "claimId",
664
+ "type": "uint16"
665
+ },
666
+ {
667
+ "internalType": "uint24",
668
+ "name": "idx",
669
+ "type": "uint24"
670
+ }
671
+ ],
672
+ "name": "getPayoutId",
673
+ "outputs": [
674
+ {
675
+ "internalType": "PayoutId",
676
+ "name": "payoutId",
677
+ "type": "uint40"
678
+ }
679
+ ],
680
+ "stateMutability": "view",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "NftId",
687
+ "name": "policyNftId",
688
+ "type": "uint96"
689
+ },
690
+ {
691
+ "internalType": "PayoutId",
692
+ "name": "payoutId",
693
+ "type": "uint40"
694
+ }
695
+ ],
696
+ "name": "getPayoutInfo",
697
+ "outputs": [
698
+ {
699
+ "components": [
700
+ {
701
+ "internalType": "ClaimId",
702
+ "name": "claimId",
703
+ "type": "uint16"
704
+ },
705
+ {
706
+ "internalType": "Amount",
707
+ "name": "amount",
708
+ "type": "uint96"
709
+ },
710
+ {
711
+ "internalType": "address",
712
+ "name": "beneficiary",
713
+ "type": "address"
714
+ },
715
+ {
716
+ "internalType": "bytes",
717
+ "name": "data",
718
+ "type": "bytes"
719
+ },
720
+ {
721
+ "internalType": "Timestamp",
722
+ "name": "paidAt",
723
+ "type": "uint40"
724
+ }
725
+ ],
726
+ "internalType": "struct IPolicy.PayoutInfo",
727
+ "name": "info",
728
+ "type": "tuple"
729
+ }
730
+ ],
731
+ "stateMutability": "view",
732
+ "type": "function"
733
+ },
734
+ {
735
+ "inputs": [
736
+ {
737
+ "internalType": "NftId",
738
+ "name": "policyNftId",
739
+ "type": "uint96"
740
+ },
741
+ {
742
+ "internalType": "PayoutId",
743
+ "name": "payoutId",
744
+ "type": "uint40"
745
+ }
746
+ ],
747
+ "name": "getPayoutState",
748
+ "outputs": [
749
+ {
750
+ "internalType": "StateId",
751
+ "name": "state",
752
+ "type": "uint8"
753
+ }
754
+ ],
755
+ "stateMutability": "view",
756
+ "type": "function"
757
+ },
758
+ {
759
+ "inputs": [
760
+ {
761
+ "internalType": "NftId",
762
+ "name": "policyNftId",
763
+ "type": "uint96"
764
+ }
765
+ ],
766
+ "name": "getPolicyInfo",
767
+ "outputs": [
768
+ {
769
+ "components": [
770
+ {
771
+ "internalType": "NftId",
772
+ "name": "productNftId",
773
+ "type": "uint96"
774
+ },
775
+ {
776
+ "internalType": "NftId",
777
+ "name": "bundleNftId",
778
+ "type": "uint96"
779
+ },
780
+ {
781
+ "internalType": "ReferralId",
782
+ "name": "referralId",
783
+ "type": "bytes8"
784
+ },
785
+ {
786
+ "internalType": "RiskId",
787
+ "name": "riskId",
788
+ "type": "bytes8"
789
+ },
790
+ {
791
+ "internalType": "Amount",
792
+ "name": "sumInsuredAmount",
793
+ "type": "uint96"
794
+ },
795
+ {
796
+ "internalType": "Amount",
797
+ "name": "premiumAmount",
798
+ "type": "uint96"
799
+ },
800
+ {
801
+ "internalType": "Seconds",
802
+ "name": "lifetime",
803
+ "type": "uint40"
804
+ },
805
+ {
806
+ "internalType": "bytes",
807
+ "name": "applicationData",
808
+ "type": "bytes"
809
+ },
810
+ {
811
+ "internalType": "bytes",
812
+ "name": "processData",
813
+ "type": "bytes"
814
+ },
815
+ {
816
+ "internalType": "uint16",
817
+ "name": "claimsCount",
818
+ "type": "uint16"
819
+ },
820
+ {
821
+ "internalType": "uint16",
822
+ "name": "openClaimsCount",
823
+ "type": "uint16"
824
+ },
825
+ {
826
+ "internalType": "Amount",
827
+ "name": "claimAmount",
828
+ "type": "uint96"
829
+ },
830
+ {
831
+ "internalType": "Amount",
832
+ "name": "payoutAmount",
833
+ "type": "uint96"
834
+ },
835
+ {
836
+ "internalType": "Timestamp",
837
+ "name": "activatedAt",
838
+ "type": "uint40"
839
+ },
840
+ {
841
+ "internalType": "Timestamp",
842
+ "name": "expiredAt",
843
+ "type": "uint40"
844
+ },
845
+ {
846
+ "internalType": "Timestamp",
847
+ "name": "closedAt",
848
+ "type": "uint40"
849
+ }
850
+ ],
851
+ "internalType": "struct IPolicy.PolicyInfo",
852
+ "name": "info",
853
+ "type": "tuple"
854
+ }
855
+ ],
856
+ "stateMutability": "view",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [
861
+ {
862
+ "internalType": "RiskId",
863
+ "name": "riskId",
864
+ "type": "bytes8"
865
+ },
866
+ {
867
+ "internalType": "uint256",
868
+ "name": "idx",
869
+ "type": "uint256"
870
+ }
871
+ ],
872
+ "name": "getPolicyNftIdForRisk",
873
+ "outputs": [
874
+ {
875
+ "internalType": "NftId",
876
+ "name": "linkedPolicyNftId",
877
+ "type": "uint96"
878
+ }
879
+ ],
880
+ "stateMutability": "view",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [
885
+ {
886
+ "internalType": "NftId",
887
+ "name": "policyNftId",
888
+ "type": "uint96"
889
+ }
890
+ ],
891
+ "name": "getPolicyState",
892
+ "outputs": [
893
+ {
894
+ "internalType": "StateId",
895
+ "name": "state",
896
+ "type": "uint8"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "NftId",
906
+ "name": "poolNftId",
907
+ "type": "uint96"
908
+ }
909
+ ],
910
+ "name": "getPoolInfo",
911
+ "outputs": [
912
+ {
913
+ "components": [
914
+ {
915
+ "internalType": "Amount",
916
+ "name": "maxBalanceAmount",
917
+ "type": "uint96"
918
+ },
919
+ {
920
+ "internalType": "bool",
921
+ "name": "isInterceptingBundleTransfers",
922
+ "type": "bool"
923
+ },
924
+ {
925
+ "internalType": "bool",
926
+ "name": "isProcessingConfirmedClaims",
927
+ "type": "bool"
928
+ },
929
+ {
930
+ "internalType": "bool",
931
+ "name": "isExternallyManaged",
932
+ "type": "bool"
933
+ },
934
+ {
935
+ "internalType": "bool",
936
+ "name": "isVerifyingApplications",
937
+ "type": "bool"
938
+ },
939
+ {
940
+ "internalType": "UFixed",
941
+ "name": "collateralizationLevel",
942
+ "type": "uint256"
943
+ },
944
+ {
945
+ "internalType": "UFixed",
946
+ "name": "retentionLevel",
947
+ "type": "uint256"
948
+ }
949
+ ],
950
+ "internalType": "struct IComponents.PoolInfo",
951
+ "name": "info",
952
+ "type": "tuple"
953
+ }
954
+ ],
955
+ "stateMutability": "view",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [
960
+ {
961
+ "internalType": "NftId",
962
+ "name": "policyNftId",
963
+ "type": "uint96"
964
+ }
965
+ ],
966
+ "name": "getPremiumInfo",
967
+ "outputs": [
968
+ {
969
+ "components": [
970
+ {
971
+ "internalType": "Amount",
972
+ "name": "productFeeAmount",
973
+ "type": "uint96"
974
+ },
975
+ {
976
+ "internalType": "Amount",
977
+ "name": "distributionFeeAndCommissionAmount",
978
+ "type": "uint96"
979
+ },
980
+ {
981
+ "internalType": "Amount",
982
+ "name": "poolPremiumAndFeeAmount",
983
+ "type": "uint96"
984
+ },
985
+ {
986
+ "internalType": "Amount",
987
+ "name": "netPremiumAmount",
988
+ "type": "uint96"
989
+ },
990
+ {
991
+ "internalType": "Amount",
992
+ "name": "fullPremiumAmount",
993
+ "type": "uint96"
994
+ },
995
+ {
996
+ "internalType": "Amount",
997
+ "name": "premiumAmount",
998
+ "type": "uint96"
999
+ },
1000
+ {
1001
+ "internalType": "Amount",
1002
+ "name": "productFeeFixAmount",
1003
+ "type": "uint96"
1004
+ },
1005
+ {
1006
+ "internalType": "Amount",
1007
+ "name": "poolFeeFixAmount",
1008
+ "type": "uint96"
1009
+ },
1010
+ {
1011
+ "internalType": "Amount",
1012
+ "name": "bundleFeeFixAmount",
1013
+ "type": "uint96"
1014
+ },
1015
+ {
1016
+ "internalType": "Amount",
1017
+ "name": "distributionFeeFixAmount",
1018
+ "type": "uint96"
1019
+ },
1020
+ {
1021
+ "internalType": "Amount",
1022
+ "name": "productFeeVarAmount",
1023
+ "type": "uint96"
1024
+ },
1025
+ {
1026
+ "internalType": "Amount",
1027
+ "name": "poolFeeVarAmount",
1028
+ "type": "uint96"
1029
+ },
1030
+ {
1031
+ "internalType": "Amount",
1032
+ "name": "bundleFeeVarAmount",
1033
+ "type": "uint96"
1034
+ },
1035
+ {
1036
+ "internalType": "Amount",
1037
+ "name": "distributionFeeVarAmount",
1038
+ "type": "uint96"
1039
+ },
1040
+ {
1041
+ "internalType": "Amount",
1042
+ "name": "distributionOwnerFeeFixAmount",
1043
+ "type": "uint96"
1044
+ },
1045
+ {
1046
+ "internalType": "Amount",
1047
+ "name": "distributionOwnerFeeVarAmount",
1048
+ "type": "uint96"
1049
+ },
1050
+ {
1051
+ "internalType": "Amount",
1052
+ "name": "commissionAmount",
1053
+ "type": "uint96"
1054
+ },
1055
+ {
1056
+ "internalType": "Amount",
1057
+ "name": "discountAmount",
1058
+ "type": "uint96"
1059
+ }
1060
+ ],
1061
+ "internalType": "struct IPolicy.PremiumInfo",
1062
+ "name": "info",
1063
+ "type": "tuple"
1064
+ }
1065
+ ],
1066
+ "stateMutability": "view",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [
1071
+ {
1072
+ "internalType": "NftId",
1073
+ "name": "policyNftId",
1074
+ "type": "uint96"
1075
+ }
1076
+ ],
1077
+ "name": "getPremiumInfoState",
1078
+ "outputs": [
1079
+ {
1080
+ "internalType": "StateId",
1081
+ "name": "state",
1082
+ "type": "uint8"
1083
+ }
1084
+ ],
1085
+ "stateMutability": "view",
1086
+ "type": "function"
1087
+ },
1088
+ {
1089
+ "inputs": [
1090
+ {
1091
+ "internalType": "NftId",
1092
+ "name": "productNftId",
1093
+ "type": "uint96"
1094
+ }
1095
+ ],
1096
+ "name": "getProductInfo",
1097
+ "outputs": [
1098
+ {
1099
+ "components": [
1100
+ {
1101
+ "internalType": "bool",
1102
+ "name": "isProcessingFundedClaims",
1103
+ "type": "bool"
1104
+ },
1105
+ {
1106
+ "internalType": "bool",
1107
+ "name": "isInterceptingPolicyTransfers",
1108
+ "type": "bool"
1109
+ },
1110
+ {
1111
+ "internalType": "bool",
1112
+ "name": "hasDistribution",
1113
+ "type": "bool"
1114
+ },
1115
+ {
1116
+ "internalType": "uint8",
1117
+ "name": "expectedNumberOfOracles",
1118
+ "type": "uint8"
1119
+ },
1120
+ {
1121
+ "internalType": "uint8",
1122
+ "name": "numberOfOracles",
1123
+ "type": "uint8"
1124
+ },
1125
+ {
1126
+ "internalType": "NftId",
1127
+ "name": "poolNftId",
1128
+ "type": "uint96"
1129
+ },
1130
+ {
1131
+ "internalType": "NftId",
1132
+ "name": "distributionNftId",
1133
+ "type": "uint96"
1134
+ },
1135
+ {
1136
+ "internalType": "NftId[]",
1137
+ "name": "oracleNftId",
1138
+ "type": "uint96[]"
1139
+ },
1140
+ {
1141
+ "components": [
1142
+ {
1143
+ "internalType": "UFixed",
1144
+ "name": "fractionalFee",
1145
+ "type": "uint256"
1146
+ },
1147
+ {
1148
+ "internalType": "uint256",
1149
+ "name": "fixedFee",
1150
+ "type": "uint256"
1151
+ }
1152
+ ],
1153
+ "internalType": "struct Fee",
1154
+ "name": "productFee",
1155
+ "type": "tuple"
1156
+ },
1157
+ {
1158
+ "components": [
1159
+ {
1160
+ "internalType": "UFixed",
1161
+ "name": "fractionalFee",
1162
+ "type": "uint256"
1163
+ },
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "fixedFee",
1167
+ "type": "uint256"
1168
+ }
1169
+ ],
1170
+ "internalType": "struct Fee",
1171
+ "name": "processingFee",
1172
+ "type": "tuple"
1173
+ },
1174
+ {
1175
+ "components": [
1176
+ {
1177
+ "internalType": "UFixed",
1178
+ "name": "fractionalFee",
1179
+ "type": "uint256"
1180
+ },
1181
+ {
1182
+ "internalType": "uint256",
1183
+ "name": "fixedFee",
1184
+ "type": "uint256"
1185
+ }
1186
+ ],
1187
+ "internalType": "struct Fee",
1188
+ "name": "distributionFee",
1189
+ "type": "tuple"
1190
+ },
1191
+ {
1192
+ "components": [
1193
+ {
1194
+ "internalType": "UFixed",
1195
+ "name": "fractionalFee",
1196
+ "type": "uint256"
1197
+ },
1198
+ {
1199
+ "internalType": "uint256",
1200
+ "name": "fixedFee",
1201
+ "type": "uint256"
1202
+ }
1203
+ ],
1204
+ "internalType": "struct Fee",
1205
+ "name": "minDistributionOwnerFee",
1206
+ "type": "tuple"
1207
+ },
1208
+ {
1209
+ "components": [
1210
+ {
1211
+ "internalType": "UFixed",
1212
+ "name": "fractionalFee",
1213
+ "type": "uint256"
1214
+ },
1215
+ {
1216
+ "internalType": "uint256",
1217
+ "name": "fixedFee",
1218
+ "type": "uint256"
1219
+ }
1220
+ ],
1221
+ "internalType": "struct Fee",
1222
+ "name": "poolFee",
1223
+ "type": "tuple"
1224
+ },
1225
+ {
1226
+ "components": [
1227
+ {
1228
+ "internalType": "UFixed",
1229
+ "name": "fractionalFee",
1230
+ "type": "uint256"
1231
+ },
1232
+ {
1233
+ "internalType": "uint256",
1234
+ "name": "fixedFee",
1235
+ "type": "uint256"
1236
+ }
1237
+ ],
1238
+ "internalType": "struct Fee",
1239
+ "name": "stakingFee",
1240
+ "type": "tuple"
1241
+ },
1242
+ {
1243
+ "components": [
1244
+ {
1245
+ "internalType": "UFixed",
1246
+ "name": "fractionalFee",
1247
+ "type": "uint256"
1248
+ },
1249
+ {
1250
+ "internalType": "uint256",
1251
+ "name": "fixedFee",
1252
+ "type": "uint256"
1253
+ }
1254
+ ],
1255
+ "internalType": "struct Fee",
1256
+ "name": "performanceFee",
1257
+ "type": "tuple"
1258
+ }
1259
+ ],
1260
+ "internalType": "struct IComponents.ProductInfo",
1261
+ "name": "info",
1262
+ "type": "tuple"
1263
+ }
1264
+ ],
1265
+ "stateMutability": "view",
1266
+ "type": "function"
1267
+ },
1268
+ {
1269
+ "inputs": [
1270
+ {
1271
+ "internalType": "ReferralId",
1272
+ "name": "referralId",
1273
+ "type": "bytes8"
1274
+ }
1275
+ ],
1276
+ "name": "getReferralInfo",
1277
+ "outputs": [
1278
+ {
1279
+ "components": [
1280
+ {
1281
+ "internalType": "NftId",
1282
+ "name": "distributorNftId",
1283
+ "type": "uint96"
1284
+ },
1285
+ {
1286
+ "internalType": "string",
1287
+ "name": "referralCode",
1288
+ "type": "string"
1289
+ },
1290
+ {
1291
+ "internalType": "UFixed",
1292
+ "name": "discountPercentage",
1293
+ "type": "uint256"
1294
+ },
1295
+ {
1296
+ "internalType": "uint32",
1297
+ "name": "maxReferrals",
1298
+ "type": "uint32"
1299
+ },
1300
+ {
1301
+ "internalType": "uint32",
1302
+ "name": "usedReferrals",
1303
+ "type": "uint32"
1304
+ },
1305
+ {
1306
+ "internalType": "Timestamp",
1307
+ "name": "expiryAt",
1308
+ "type": "uint40"
1309
+ },
1310
+ {
1311
+ "internalType": "bytes",
1312
+ "name": "data",
1313
+ "type": "bytes"
1314
+ }
1315
+ ],
1316
+ "internalType": "struct IDistribution.ReferralInfo",
1317
+ "name": "info",
1318
+ "type": "tuple"
1319
+ }
1320
+ ],
1321
+ "stateMutability": "view",
1322
+ "type": "function"
1323
+ },
1324
+ {
1325
+ "inputs": [
1326
+ {
1327
+ "internalType": "NftId",
1328
+ "name": "policyNftId",
1329
+ "type": "uint96"
1330
+ }
1331
+ ],
1332
+ "name": "getRemainingClaimableAmount",
1333
+ "outputs": [
1334
+ {
1335
+ "internalType": "Amount",
1336
+ "name": "remainingClaimableAmount",
1337
+ "type": "uint96"
1338
+ }
1339
+ ],
1340
+ "stateMutability": "view",
1341
+ "type": "function"
1342
+ },
1343
+ {
1344
+ "inputs": [
1345
+ {
1346
+ "internalType": "RequestId",
1347
+ "name": "requestId",
1348
+ "type": "uint64"
1349
+ }
1350
+ ],
1351
+ "name": "getRequestInfo",
1352
+ "outputs": [
1353
+ {
1354
+ "components": [
1355
+ {
1356
+ "internalType": "NftId",
1357
+ "name": "requesterNftId",
1358
+ "type": "uint96"
1359
+ },
1360
+ {
1361
+ "internalType": "string",
1362
+ "name": "callbackMethodName",
1363
+ "type": "string"
1364
+ },
1365
+ {
1366
+ "internalType": "NftId",
1367
+ "name": "oracleNftId",
1368
+ "type": "uint96"
1369
+ },
1370
+ {
1371
+ "internalType": "bytes",
1372
+ "name": "requestData",
1373
+ "type": "bytes"
1374
+ },
1375
+ {
1376
+ "internalType": "bytes",
1377
+ "name": "responseData",
1378
+ "type": "bytes"
1379
+ },
1380
+ {
1381
+ "internalType": "Timestamp",
1382
+ "name": "respondedAt",
1383
+ "type": "uint40"
1384
+ },
1385
+ {
1386
+ "internalType": "Timestamp",
1387
+ "name": "expiredAt",
1388
+ "type": "uint40"
1389
+ },
1390
+ {
1391
+ "internalType": "bool",
1392
+ "name": "isCancelled",
1393
+ "type": "bool"
1394
+ }
1395
+ ],
1396
+ "internalType": "struct IOracle.RequestInfo",
1397
+ "name": "requestInfo",
1398
+ "type": "tuple"
1399
+ }
1400
+ ],
1401
+ "stateMutability": "view",
1402
+ "type": "function"
1403
+ },
1404
+ {
1405
+ "inputs": [
1406
+ {
1407
+ "internalType": "NftId",
1408
+ "name": "productNftId",
1409
+ "type": "uint96"
1410
+ },
1411
+ {
1412
+ "internalType": "uint256",
1413
+ "name": "idx",
1414
+ "type": "uint256"
1415
+ }
1416
+ ],
1417
+ "name": "getRiskId",
1418
+ "outputs": [
1419
+ {
1420
+ "internalType": "RiskId",
1421
+ "name": "riskId",
1422
+ "type": "bytes8"
1423
+ }
1424
+ ],
1425
+ "stateMutability": "view",
1426
+ "type": "function"
1427
+ },
1428
+ {
1429
+ "inputs": [
1430
+ {
1431
+ "internalType": "RiskId",
1432
+ "name": "riskId",
1433
+ "type": "bytes8"
1434
+ }
1435
+ ],
1436
+ "name": "getRiskInfo",
1437
+ "outputs": [
1438
+ {
1439
+ "components": [
1440
+ {
1441
+ "internalType": "NftId",
1442
+ "name": "productNftId",
1443
+ "type": "uint96"
1444
+ },
1445
+ {
1446
+ "internalType": "Timestamp",
1447
+ "name": "createdAt",
1448
+ "type": "uint40"
1449
+ },
1450
+ {
1451
+ "internalType": "bytes",
1452
+ "name": "data",
1453
+ "type": "bytes"
1454
+ }
1455
+ ],
1456
+ "internalType": "struct IRisk.RiskInfo",
1457
+ "name": "info",
1458
+ "type": "tuple"
1459
+ }
1460
+ ],
1461
+ "stateMutability": "view",
1462
+ "type": "function"
1463
+ },
1464
+ {
1465
+ "inputs": [],
1466
+ "name": "getRiskSet",
1467
+ "outputs": [
1468
+ {
1469
+ "internalType": "contract RiskSet",
1470
+ "name": "riskSet",
1471
+ "type": "address"
1472
+ }
1473
+ ],
1474
+ "stateMutability": "view",
1475
+ "type": "function"
1476
+ },
1477
+ {
1478
+ "inputs": [
1479
+ {
1480
+ "internalType": "RiskId",
1481
+ "name": "riskId",
1482
+ "type": "bytes8"
1483
+ }
1484
+ ],
1485
+ "name": "getRiskState",
1486
+ "outputs": [
1487
+ {
1488
+ "internalType": "StateId",
1489
+ "name": "stateId",
1490
+ "type": "uint8"
1491
+ }
1492
+ ],
1493
+ "stateMutability": "view",
1494
+ "type": "function"
1495
+ },
1496
+ {
1497
+ "inputs": [
1498
+ {
1499
+ "internalType": "Key32",
1500
+ "name": "key",
1501
+ "type": "bytes32"
1502
+ }
1503
+ ],
1504
+ "name": "getState",
1505
+ "outputs": [
1506
+ {
1507
+ "internalType": "StateId",
1508
+ "name": "state",
1509
+ "type": "uint8"
1510
+ }
1511
+ ],
1512
+ "stateMutability": "view",
1513
+ "type": "function"
1514
+ },
1515
+ {
1516
+ "inputs": [
1517
+ {
1518
+ "internalType": "NftId",
1519
+ "name": "componentNftId",
1520
+ "type": "uint96"
1521
+ }
1522
+ ],
1523
+ "name": "getTokenHandler",
1524
+ "outputs": [
1525
+ {
1526
+ "internalType": "address",
1527
+ "name": "tokenHandler",
1528
+ "type": "address"
1529
+ }
1530
+ ],
1531
+ "stateMutability": "view",
1532
+ "type": "function"
1533
+ },
1534
+ {
1535
+ "inputs": [
1536
+ {
1537
+ "internalType": "NftId",
1538
+ "name": "componentNftId",
1539
+ "type": "uint96"
1540
+ }
1541
+ ],
1542
+ "name": "getWallet",
1543
+ "outputs": [
1544
+ {
1545
+ "internalType": "address",
1546
+ "name": "tokenHandler",
1547
+ "type": "address"
1548
+ }
1549
+ ],
1550
+ "stateMutability": "view",
1551
+ "type": "function"
1552
+ },
1553
+ {
1554
+ "inputs": [
1555
+ {
1556
+ "internalType": "address",
1557
+ "name": "account",
1558
+ "type": "address"
1559
+ },
1560
+ {
1561
+ "internalType": "RoleId",
1562
+ "name": "roleId",
1563
+ "type": "uint64"
1564
+ }
1565
+ ],
1566
+ "name": "hasAdminRole",
1567
+ "outputs": [
1568
+ {
1569
+ "internalType": "bool",
1570
+ "name": "isMember",
1571
+ "type": "bool"
1572
+ }
1573
+ ],
1574
+ "stateMutability": "view",
1575
+ "type": "function"
1576
+ },
1577
+ {
1578
+ "inputs": [
1579
+ {
1580
+ "internalType": "address",
1581
+ "name": "account",
1582
+ "type": "address"
1583
+ },
1584
+ {
1585
+ "internalType": "RoleId",
1586
+ "name": "roleId",
1587
+ "type": "uint64"
1588
+ }
1589
+ ],
1590
+ "name": "hasRole",
1591
+ "outputs": [
1592
+ {
1593
+ "internalType": "bool",
1594
+ "name": "isMember",
1595
+ "type": "bool"
1596
+ }
1597
+ ],
1598
+ "stateMutability": "view",
1599
+ "type": "function"
1600
+ },
1601
+ {
1602
+ "inputs": [],
1603
+ "name": "initialize",
1604
+ "outputs": [],
1605
+ "stateMutability": "nonpayable",
1606
+ "type": "function"
1607
+ },
1608
+ {
1609
+ "inputs": [
1610
+ {
1611
+ "internalType": "address",
1612
+ "name": "instanceAddress",
1613
+ "type": "address"
1614
+ }
1615
+ ],
1616
+ "name": "initializeWithInstance",
1617
+ "outputs": [],
1618
+ "stateMutability": "nonpayable",
1619
+ "type": "function"
1620
+ },
1621
+ {
1622
+ "inputs": [
1623
+ {
1624
+ "internalType": "address",
1625
+ "name": "target",
1626
+ "type": "address"
1627
+ }
1628
+ ],
1629
+ "name": "isLocked",
1630
+ "outputs": [
1631
+ {
1632
+ "internalType": "bool",
1633
+ "name": "",
1634
+ "type": "bool"
1635
+ }
1636
+ ],
1637
+ "stateMutability": "view",
1638
+ "type": "function"
1639
+ },
1640
+ {
1641
+ "inputs": [
1642
+ {
1643
+ "internalType": "NftId",
1644
+ "name": "policyNftId",
1645
+ "type": "uint96"
1646
+ },
1647
+ {
1648
+ "internalType": "ClaimId",
1649
+ "name": "claimId",
1650
+ "type": "uint16"
1651
+ }
1652
+ ],
1653
+ "name": "payouts",
1654
+ "outputs": [
1655
+ {
1656
+ "internalType": "uint24",
1657
+ "name": "payoutCount",
1658
+ "type": "uint24"
1659
+ }
1660
+ ],
1661
+ "stateMutability": "view",
1662
+ "type": "function"
1663
+ },
1664
+ {
1665
+ "inputs": [
1666
+ {
1667
+ "internalType": "RiskId",
1668
+ "name": "riskId",
1669
+ "type": "bytes8"
1670
+ }
1671
+ ],
1672
+ "name": "policiesForRisk",
1673
+ "outputs": [
1674
+ {
1675
+ "internalType": "uint256",
1676
+ "name": "linkedPolicies",
1677
+ "type": "uint256"
1678
+ }
1679
+ ],
1680
+ "stateMutability": "view",
1681
+ "type": "function"
1682
+ },
1683
+ {
1684
+ "inputs": [
1685
+ {
1686
+ "internalType": "NftId",
1687
+ "name": "policyNftId",
1688
+ "type": "uint96"
1689
+ }
1690
+ ],
1691
+ "name": "policyIsActive",
1692
+ "outputs": [
1693
+ {
1694
+ "internalType": "bool",
1695
+ "name": "isCloseable",
1696
+ "type": "bool"
1697
+ }
1698
+ ],
1699
+ "stateMutability": "view",
1700
+ "type": "function"
1701
+ },
1702
+ {
1703
+ "inputs": [
1704
+ {
1705
+ "internalType": "NftId",
1706
+ "name": "productNftId",
1707
+ "type": "uint96"
1708
+ }
1709
+ ],
1710
+ "name": "risks",
1711
+ "outputs": [
1712
+ {
1713
+ "internalType": "uint256",
1714
+ "name": "riskCount",
1715
+ "type": "uint256"
1716
+ }
1717
+ ],
1718
+ "stateMutability": "view",
1719
+ "type": "function"
1720
+ },
1721
+ {
1722
+ "inputs": [
1723
+ {
1724
+ "internalType": "NftId",
1725
+ "name": "poolNftId",
1726
+ "type": "uint96"
1727
+ }
1728
+ ],
1729
+ "name": "toBundleKey",
1730
+ "outputs": [
1731
+ {
1732
+ "internalType": "Key32",
1733
+ "name": "",
1734
+ "type": "bytes32"
1735
+ }
1736
+ ],
1737
+ "stateMutability": "pure",
1738
+ "type": "function"
1739
+ },
1740
+ {
1741
+ "inputs": [
1742
+ {
1743
+ "internalType": "NftId",
1744
+ "name": "componentNftId",
1745
+ "type": "uint96"
1746
+ }
1747
+ ],
1748
+ "name": "toComponentKey",
1749
+ "outputs": [
1750
+ {
1751
+ "internalType": "Key32",
1752
+ "name": "",
1753
+ "type": "bytes32"
1754
+ }
1755
+ ],
1756
+ "stateMutability": "pure",
1757
+ "type": "function"
1758
+ },
1759
+ {
1760
+ "inputs": [
1761
+ {
1762
+ "internalType": "NftId",
1763
+ "name": "distributionNftId",
1764
+ "type": "uint96"
1765
+ }
1766
+ ],
1767
+ "name": "toDistributionKey",
1768
+ "outputs": [
1769
+ {
1770
+ "internalType": "Key32",
1771
+ "name": "",
1772
+ "type": "bytes32"
1773
+ }
1774
+ ],
1775
+ "stateMutability": "pure",
1776
+ "type": "function"
1777
+ },
1778
+ {
1779
+ "inputs": [
1780
+ {
1781
+ "internalType": "NftId",
1782
+ "name": "distributorNftId",
1783
+ "type": "uint96"
1784
+ }
1785
+ ],
1786
+ "name": "toDistributorKey",
1787
+ "outputs": [
1788
+ {
1789
+ "internalType": "Key32",
1790
+ "name": "",
1791
+ "type": "bytes32"
1792
+ }
1793
+ ],
1794
+ "stateMutability": "pure",
1795
+ "type": "function"
1796
+ },
1797
+ {
1798
+ "inputs": [
1799
+ {
1800
+ "internalType": "UFixed",
1801
+ "name": "value",
1802
+ "type": "uint256"
1803
+ }
1804
+ ],
1805
+ "name": "toInt",
1806
+ "outputs": [
1807
+ {
1808
+ "internalType": "uint256",
1809
+ "name": "",
1810
+ "type": "uint256"
1811
+ }
1812
+ ],
1813
+ "stateMutability": "pure",
1814
+ "type": "function"
1815
+ },
1816
+ {
1817
+ "inputs": [
1818
+ {
1819
+ "internalType": "NftId",
1820
+ "name": "policyNftId",
1821
+ "type": "uint96"
1822
+ }
1823
+ ],
1824
+ "name": "toPolicyKey",
1825
+ "outputs": [
1826
+ {
1827
+ "internalType": "Key32",
1828
+ "name": "",
1829
+ "type": "bytes32"
1830
+ }
1831
+ ],
1832
+ "stateMutability": "pure",
1833
+ "type": "function"
1834
+ },
1835
+ {
1836
+ "inputs": [
1837
+ {
1838
+ "internalType": "NftId",
1839
+ "name": "poolNftId",
1840
+ "type": "uint96"
1841
+ }
1842
+ ],
1843
+ "name": "toPoolKey",
1844
+ "outputs": [
1845
+ {
1846
+ "internalType": "Key32",
1847
+ "name": "",
1848
+ "type": "bytes32"
1849
+ }
1850
+ ],
1851
+ "stateMutability": "pure",
1852
+ "type": "function"
1853
+ },
1854
+ {
1855
+ "inputs": [
1856
+ {
1857
+ "internalType": "NftId",
1858
+ "name": "policyNftId",
1859
+ "type": "uint96"
1860
+ }
1861
+ ],
1862
+ "name": "toPremiumKey",
1863
+ "outputs": [
1864
+ {
1865
+ "internalType": "Key32",
1866
+ "name": "",
1867
+ "type": "bytes32"
1868
+ }
1869
+ ],
1870
+ "stateMutability": "pure",
1871
+ "type": "function"
1872
+ },
1873
+ {
1874
+ "inputs": [
1875
+ {
1876
+ "internalType": "NftId",
1877
+ "name": "productNftId",
1878
+ "type": "uint96"
1879
+ }
1880
+ ],
1881
+ "name": "toProductKey",
1882
+ "outputs": [
1883
+ {
1884
+ "internalType": "Key32",
1885
+ "name": "",
1886
+ "type": "bytes32"
1887
+ }
1888
+ ],
1889
+ "stateMutability": "pure",
1890
+ "type": "function"
1891
+ },
1892
+ {
1893
+ "inputs": [
1894
+ {
1895
+ "internalType": "NftId",
1896
+ "name": "distributionNftId",
1897
+ "type": "uint96"
1898
+ },
1899
+ {
1900
+ "internalType": "string",
1901
+ "name": "referralCode",
1902
+ "type": "string"
1903
+ }
1904
+ ],
1905
+ "name": "toReferralId",
1906
+ "outputs": [
1907
+ {
1908
+ "internalType": "ReferralId",
1909
+ "name": "referralId",
1910
+ "type": "bytes8"
1911
+ }
1912
+ ],
1913
+ "stateMutability": "pure",
1914
+ "type": "function"
1915
+ },
1916
+ {
1917
+ "inputs": [
1918
+ {
1919
+ "internalType": "uint256",
1920
+ "name": "value",
1921
+ "type": "uint256"
1922
+ },
1923
+ {
1924
+ "internalType": "int8",
1925
+ "name": "exp",
1926
+ "type": "int8"
1927
+ }
1928
+ ],
1929
+ "name": "toUFixed",
1930
+ "outputs": [
1931
+ {
1932
+ "internalType": "UFixed",
1933
+ "name": "",
1934
+ "type": "uint256"
1935
+ }
1936
+ ],
1937
+ "stateMutability": "pure",
1938
+ "type": "function"
1939
+ }
1940
+ ],
1941
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50614f68806100255f395ff3fe608060405234801561000f575f80fd5b50600436106103b4575f3560e01c80636ebed908116101f5578063cd55e51b11610114578063f0ea17c3116100a9578063fad77c3b11610079578063fad77c3b146109ff578063fcad2c4b14610a12578063fd80249214610a25578063febe92af14610a45575f80fd5b8063f0ea17c3146109a6578063f3ed9919146109c6578063f4809edd146109d9578063f7f318d3146109ec575f80fd5b8063dd26287a116100e4578063dd26287a14610935578063de7b5d1414610948578063e444c3df1461095d578063e98413ff1461097d575f80fd5b8063cd55e51b146108de578063d06458c6146108f1578063d4cda0d814610911578063db70354c14610922575f80fd5b80639096a1f31161018a578063a7ef3d211161015a578063a7ef3d2114610861578063b82d7ef514610881578063ba579bdc146108ab578063bd7d9d85146108be575f80fd5b80639096a1f3146107cc57806394b9929b146107df578063a310e2a3146107f2578063a5961b4c14610805575f80fd5b80637e54602a116101c55780637e54602a1461077e5780638129fc1c14610791578063887b1fa9146107995780638eb9000d146107b9575f80fd5b80636ebed9081461073257806378ae9350146107455780637bfd3217146107585780637d8f1e811461076b575f80fd5b806334bd5be3116102e15780634d21a63d1161027657806364fc31421161024657806364fc3142146106e65780636553994c146106f95780636791f7ab1461070c5780636dddada414610721575f80fd5b80634d21a63d146106345780634fb784f51461064757806357f80bbf1461065a57806364eb3a9b146106d3575f80fd5b80633f093cd6116102b15780633f093cd6146105cb57806344aa6836146105de5780634793b4ab146105f15780634a4fbeec14610611575f80fd5b806334bd5be31461056c57806335898f5d1461057f578063380bd950146105925780633b046f09146105a5575f80fd5b806313ab148d1161035757806327b1d7921161032757806327b1d792146105135780632c0cd060146105335780632f458a111461054657806333fc7dee14610559575f80fd5b806313ab148d146104ac5780631488c845146104cd5780631d3be477146104e0578063228e42ec14610500575f80fd5b80630b5d931c116103925780630b5d931c146104205780630e0c586d1461044057806310bf267b14610465578063128817d41461048c575f80fd5b80630232ca49146103b857806309648a9d146103e857806309c5844f1461040d575b5f80fd5b6103cb6103c636600461314a565b610a65565b6040516001600160601b0390911681526020015b60405180910390f35b6103fb6103f6366004613165565b610adf565b60405160ff90911681526020016103df565b6103fb61041b36600461314a565b610b54565b61043361042e36600461314a565b610bcd565b6040516103df91906131bf565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016103df565b610478610473366004613329565b610d51565b60405162ffffff90911681526020016103df565b61049f61049a366004613360565b610d67565b6040516103df919061338a565b6104bf6104ba36600461314a565b610de2565b6040519081526020016103df565b6104bf6104db36600461339f565b610e56565b6104f36104ee3660046133dc565b610ed2565b6040516103df9190613425565b6103cb61050e36600461314a565b61101b565b61052661052136600461314a565b611054565b6040516103df91906134bf565b6103cb61054136600461314a565b611111565b6104bf61055436600461314a565b611131565b6104bf61056736600461314a565b61116a565b6104bf61057a36600461314a565b6111a3565b6104bf61058d36600461314a565b611216565b6103cb6105a0366004613518565b611242565b6105b86105b336600461314a565b6112be565b60405161ffff90911681526020016103df565b61049f6105d93660046136db565b6112d3565b6104bf6105ec366004613165565b611329565b6106046105ff36600461314a565b611363565b6040516103df9190613767565b61062461061f366004613806565b611404565b60405190151581526020016103df565b61044d61064236600461314a565b6114e2565b6104bf61065536600461314a565b6115ec565b61066d61066836600461314a565b611618565b6040516103df91905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b6104bf6106e136600461314a565b6116e9565b6106246106f4366004613835565b611715565b6104bf6107073660046133dc565b611804565b61071f61071a366004613806565b611834565b005b6002546001600160a01b031661044d565b6103cb610740366004613360565b611a0f565b6103fb610753366004613329565b611a4f565b6104bf61076636600461314a565b611b46565b6103fb61077936600461314a565b611b72565b6104bf61078c36600461314a565b611b8e565b61071f611bba565b6107ac6107a73660046133dc565b611be8565b6040516103df9190613861565b6103cb6107c736600461314a565b611d15565b6103fb6107da36600461314a565b611d4e565b6104bf6107ed36600461314a565b611d6a565b61044d61080036600461314a565b611da3565b610818610813366004613165565b611e4b565b6040516103df91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61087461086f366004613329565b611ed5565b6040516103df919061389f565b61089461088f3660046133dc565b612031565b6040805192835260ff9091166020830152016103df565b6106246108b936600461314a565b6122cd565b6108d16108cc36600461314a565b61251b565b6040516103df9190613941565b6106246108ec366004613835565b612633565b6109046108ff3660046133dc565b6126e7565b6040516103df9190613ab9565b6001546001600160a01b031661044d565b6103cb610930366004613360565b612851565b6104bf61094336600461314a565b612891565b5f5461010090046001600160a01b031661044d565b61097061096b36600461314a565b6128bd565b6040516103df9190613b5a565b61099061098b366004613d5a565b6129e6565b60405164ffffffffff90911681526020016103df565b6109b96109b436600461314a565b612a78565b6040516103df9190613d86565b6103fb6109d4366004613df5565b612b4c565b61049f6109e7366004613360565b612bae565b6104bf6109fa36600461314a565b612bee565b6105b8610a0d366004613165565b612c1a565b6103fb610a203660046133dc565b612c9d565b610a38610a33366004613df5565b612dec565b6040516103df9190613e21565b610a58610a53366004613e8c565b612f2e565b6040516103df9190613ea7565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610ab5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad99190613f85565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610b26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a9190613fd5565b6020015192915050565b6001545f906001600160a01b03166309648a9d610b70846111a3565b6040518263ffffffff1660e01b8152600401610b8e91815260200190565b602060405180830381865afa158015610ba9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad9919061403c565b610cab604080516101e0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e08401528351808501855282815280820183905261010084015283518085018552828152808201839052610120840152835180850185528281528082018390526101408401528351808501855282815280820183905261016084015283518085018552828152808201839052610180840152835180850185528281528082018390526101a08401528351808501909452818452830152906101c082015290565b6001545f906001600160a01b03166354f6127f610cc785611b46565b6040518263ffffffff1660e01b8152600401610ce591815260200190565b5f60405180830381865afa158015610cff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d2691908101906140a6565b805190915015610d4b5780806020019051810190610d4491906141ba565b9392505050565b50919050565b5f610d5c8383611ed5565b604001519392505050565b6003546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d449190614333565b6002546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad9919061434e565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610eae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d44919061434e565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610f5f906001600160c01b031989169060040161338a565b602060405180830381865af4158015610f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9e919061434e565b6040518263ffffffff1660e01b8152600401610fbc91815260200190565b5f60405180830381865afa158015610fd6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ffd91908101906140a6565b805190915015610d4b5780806020019051810190610d449190614370565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610a9a565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f61109485611b8e565b6040518263ffffffff1660e01b81526004016110b291815260200190565b5f60405180830381865afa1580156110cc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110f391908101906140a6565b805190915015610d4b5780806020019051810190610d449190614452565b5f8061111c8361251b565b9050610d44816080015182610160015161307c565b600354604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610e17565b6003546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610e17565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e32573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e6111cb565b6003546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa15801561129a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d449190613f85565b5f6112c88261251b565b610120015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061130e90869086906004016144f7565b602060405180830381865af4158015610dbe573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa6836906024016111fb565b61136b6130dc565b6001545f906001600160a01b03166354f6127f61138785612bee565b6040518263ffffffff1660e01b81526004016113a591815260200190565b5f60405180830381865afa1580156113bf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e691908101906140a6565b805190915015610d4b5780806020019051810190610d449190614518565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611455573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061147991906145dc565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa1580156114be573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad991906145f7565b6001545f9081906001600160a01b03166354f6127f611500856115ec565b6040518263ffffffff1660e01b815260040161151e91815260200190565b5f60405180830381865afa158015611538573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261155f91908101906140a6565b805190915015610d4b575f8180602001905181019061157e9190614610565b905080604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e491906145dc565b949350505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b6111cb565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61166c85612891565b6040518263ffffffff1660e01b815260040161168a91815260200190565b5f60405180830381865afa1580156116a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116cb91908101906140a6565b805190915015610d4b5780806020019051810190610d4491906146ca565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660156111cb565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611766573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178a91906145dc565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117e0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4491906145f7565b60035460405163380d295960e21b81525f916001600160a01b03169063e034a56490610e1790859060040161338a565b5f5460ff16156118575760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156118c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e491906145dc565b600180546001600160a01b0319166001600160a01b039283161790555f5460408051631b776b6960e21b8152905161010090920490921691636dddada49160048083019260209291908290030181865afa158015611944573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196891906145dc565b600280546001600160a01b0319166001600160a01b039283161790555f5460408051630e0c586d60e01b8152905161010090920490921691630e0c586d9160048083019260209291908290030181865afa1580156119c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ec91906145dc565b600380546001600160a01b0319166001600160a01b039290921691909117905550565b600254604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed9089060440161127f565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae9919061434e565b6040518263ffffffff1660e01b8152600401611b0791815260200190565b602060405180830381865afa158015611b22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d44919061403c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c6111cb565b6001545f906001600160a01b03166309648a9d610b7084612bee565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d6111cb565b5f5460ff1615611bdd5760405163ae9eff1b60e01b815260040160405180910390fd5b611be633611834565b565b60408051606080820183525f8083526020830152918101919091526001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611c59906001600160c01b031989169060040161338a565b602060405180830381865af4158015611c74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c98919061434e565b6040518263ffffffff1660e01b8152600401611cb691815260200190565b5f60405180830381865afa158015611cd0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611cf791908101906140a6565b805190915015610d4b5780806020019051810190610d449190614752565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610a9a565b6001545f906001600160a01b03166309648a9d610b70846116e9565b6002546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e17565b6001545f9081906001600160a01b03166354f6127f611dc1856115ec565b6040518263ffffffff1660e01b8152600401611ddf91815260200190565b5f60405180830381865afa158015611df9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e2091908101906140a6565b805190915015610d4b575f81806020019051810190611e3f9190614610565b60400151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611eb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad99190613fd5565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611f81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa5919061434e565b6040518263ffffffff1660e01b8152600401611fc391815260200190565b5f60405180830381865afa158015611fdd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261200491908101906140a6565b80519091501561202a5780806020019051810190612022919061480a565b915050610ad9565b5092915050565b5f805f61203d84610ed2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561209a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120be91906145f7565b1561213b5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561210a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212e919061434e565b60645b9250925050915091565b6121bd8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561218a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ae91906148f3565b64ffffffffff90811691161090565b156122345773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612209573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061222d919061434e565b606e612131565b806060015163ffffffff16816080015163ffffffff16106122c15773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612296573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ba919061434e565b6078612131565b6040810151600a612131565b5f806122d88361251b565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612334573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235891906145f7565b1561236557505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156123c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123e491906145f7565b156123f157505f92915050565b612474816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612441573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061246591906148f3565b64ffffffffff90811691161190565b1561248157505f92915050565b612505816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156124d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f591906148f3565b64ffffffffff9081169116111590565b1561251257505f92915050565b50600192915050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f6125b6856116e9565b6040518263ffffffff1660e01b81526004016125d491815260200190565b5f60405180830381865afa1580156125ee573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261261591908101906140a6565b805190915015610d4b5780806020019051810190610d449190614919565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612684573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126a891906145dc565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016117c5565b61273f604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612795906001600160c01b031989169060040161338a565b602060405180830381865af41580156127b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127d4919061434e565b6040518263ffffffff1660e01b81526004016127f291815260200190565b5f60405180830381865afa15801561280c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261283391908101906140a6565b805190915015610d4b5780806020019051810190610d449190614aac565b6002546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c9060440161127f565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f6111cb565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f612969856111a3565b6040518263ffffffff1660e01b815260040161298791815260200190565b5f60405180830381865afa1580156129a1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129c891908101906140a6565b805190915015610d4b5780806020019051810190610d449190614ba5565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612a0d856001614d1b565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612a54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4491906148f3565b612ab36040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6001545f906001600160a01b03166354f6127f612acf856115ec565b6040518263ffffffff1660e01b8152600401612aed91815260200190565b5f60405180830381865afa158015612b07573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b2e91908101906140a6565b805190915015610d4b5780806020019051810190610d449190614610565b600154604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611aaa565b60035460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610da3565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f6111cb565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612c40846001614d36565b6040518263ffffffff1660e01b8152600401612c5e91815260200190565b602060405180830381865af4158015612c79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad99190614d49565b6001546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590612cf7906001600160c01b031989169060040161338a565b602060405180830381865af4158015612d12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d36919061434e565b6040518263ffffffff1660e01b8152600401612d5491815260200190565b5f60405180830381865afa158015612d6e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d9591908101906140a6565b6001546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611aaa906001600160c01b031989169060040161338a565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015612e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eb1919061434e565b6040518263ffffffff1660e01b8152600401612ecf91815260200190565b5f60405180830381865afa158015612ee9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f1091908101906140a6565b80519091501561202a57808060200190518101906120229190614d64565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612fdb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fff919061434e565b6040518263ffffffff1660e01b815260040161301d91815260200190565b5f60405180830381865afa158015613037573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261305e91908101906140a6565b805190915015610d4b5780806020019051810190610d449190614e1e565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af415801561129a573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161311160405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114613147575f80fd5b50565b5f6020828403121561315a575f80fd5b8135610d4481613133565b5f60208284031215613175575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156131b55781516001600160601b031686526020958601959091019060010161318e565b5093949350505050565b602081526131d260208201835115159052565b5f60208301516131e6604084018215159052565b506040830151801515606084015250606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516102c06101008401526132596102e084018261317c565b6101008501518051610120860152602081015161014086015290915050610120840151805161016085015260208101516101808501525061014084015180516101a085015260208101516101c08501525061016084015180516101e085015260208101516102008501525061018084015180516102208501526020810151610240850152506101a084015180516102608501526020810151610280850152506101c084015180516102a085015260208101516102c08501525b509392505050565b61ffff81168114613147575f80fd5b5f806040838503121561333a575f80fd5b823561334581613133565b915060208301356133558161331a565b809150509250929050565b5f8060408385031215613371575f80fd5b823561337c81613133565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f80604083850312156133b0575f80fd5b8235915060208301355f81900b8114613355575f80fd5b6001600160c01b031981168114613147575f80fd5b5f602082840312156133ec575f80fd5b8135610d44816133c7565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526134546101008401826133f7565b90506040840151606084015263ffffffff6060850151166080840152608084015161348760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526134b682826133f7565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526134fc60a08401826133f7565b905063ffffffff60608501511660808401528091505092915050565b5f8060408385031215613529575f80fd5b823561337c816133c7565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561356a5761356a613534565b60405290565b6040516101e081016001600160401b038111828210171561356a5761356a613534565b60405160e081016001600160401b038111828210171561356a5761356a613534565b60405160c081016001600160401b038111828210171561356a5761356a613534565b60405161020081016001600160401b038111828210171561356a5761356a613534565b60405161012081016001600160401b038111828210171561356a5761356a613534565b60405161024081016001600160401b038111828210171561356a5761356a613534565b60405160a081016001600160401b038111828210171561356a5761356a613534565b60405161010081016001600160401b038111828210171561356a5761356a613534565b604051601f8201601f191681016001600160401b03811182821017156136ad576136ad613534565b604052919050565b5f6001600160401b038211156136cd576136cd613534565b50601f01601f191660200190565b5f80604083850312156136ec575f80fd5b82356136f781613133565b915060208301356001600160401b03811115613711575f80fd5b8301601f81018513613721575f80fd5b803561373461372f826136b5565b613685565b818152866020838501011115613748575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613798604084018280518252602090810151910152565b50604083015160e060808401526137b36101008401826133f7565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b0381168114613147575f80fd5b5f60208284031215613816575f80fd5b8135610d44816137f2565b6001600160401b0381168114613147575f80fd5b5f8060408385031215613846575f80fd5b8235613851816137f2565b9150602083013561335581613821565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526115e460808401826133f7565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516138dd606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a08401526139096101008401826133f7565b905060a0840151601f198483030160c085015261392682826133f7565b91505060c084015161331260e085018264ffffffffff169052565b6020815261395b6020820183516001600160601b03169052565b5f602083015161397660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e08301516102006101008401526139fc6102208401826133f7565b9050610100840151601f1984830301610120850152613a1b82826133f7565b915050610120840151613a3561014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613312565b602081525f82516101206020840152613ad66101408401826133f7565b90506020840151604084015260408401516060840152606084015160808401526080840151613b0d60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526134b682826133f7565b81516001600160601b0316815261024081016020830151613b8660208401826001600160601b03169052565b506040830151613ba160408401826001600160601b03169052565b506060830151613bbc60608401826001600160601b03169052565b506080830151613bd760808401826001600160601b03169052565b5060a0830151613bf260a08401826001600160601b03169052565b5060c0830151613c0d60c08401826001600160601b03169052565b5060e0830151613c2860e08401826001600160601b03169052565b50610100830151613c456101008401826001600160601b03169052565b50610120830151613c626101208401826001600160601b03169052565b50610140830151613c7f6101408401826001600160601b03169052565b50610160830151613c9c6101608401826001600160601b03169052565b50610180830151613cb96101808401826001600160601b03169052565b506101a0830151613cd66101a08401826001600160601b03169052565b506101c0830151613cf36101c08401826001600160601b03169052565b506101e0830151613d106101e08401826001600160601b03169052565b50610200830151613d2d6102008401826001600160601b03169052565b5061022083015161202a6102208401826001600160601b03169052565b62ffffff81168114613147575f80fd5b5f8060408385031215613d6b575f80fd5b8235613d768161331a565b9150602083013561335581613d4a565b602081525f825160806020840152613da160a08401826133f7565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506134b682826133f7565b64ffffffffff81168114613147575f80fd5b5f8060408385031215613e06575f80fd5b8235613e1181613133565b9150602083013561335581613de3565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a06080840152613e6f60c08401826133f7565b905064ffffffffff60808501511660a08401528091505092915050565b5f60208284031215613e9c575f80fd5b8135610d4481613821565b60208152613ec16020820183516001600160601b03169052565b5f60208301516101006040840152613edd6101208401826133f7565b90506040840151613ef960608501826001600160601b03169052565b506060840151838203601f19016080850152613f1582826133f7565b9150506080840151601f198483030160a0850152613f3382826133f7565b91505060a0840151613f4e60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613312565b8051613f8081613133565b919050565b5f60208284031215613f95575f80fd5b8151610d4481613133565b60ff81168114613147575f80fd5b8051613f8081613fa0565b63ffffffff81168114613147575f80fd5b8051613f8081613fb9565b5f6080828403128015613fe6575f80fd5b50613fef613548565b8251613ffa81613fa0565b8152602083015161400a81613fa0565b6020820152604083015161401d81613fb9565b6040820152606083015161403081613fb9565b60608201529392505050565b5f6020828403121561404c575f80fd5b8151610d4481613fa0565b5f82601f830112614066575f80fd5b8151602083015f61407961372f846136b5565b905082815285838301111561408c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156140b6575f80fd5b81516001600160401b038111156140cb575f80fd5b6115e484828501614057565b80518015158114613f80575f80fd5b5f82601f8301126140f5575f80fd5b81516001600160401b0381111561410e5761410e613534565b8060051b61411e60208201613685565b91825260208185018101929081019086841115614139575f80fd5b6020860192505b8383101561416457825161415381613133565b825260209283019290910190614140565b9695505050505050565b5f6040828403121561417e575f80fd5b604080519081016001600160401b03811182821017156141a0576141a0613534565b604052825181526020928301519281019290925250919050565b5f602082840312156141ca575f80fd5b81516001600160401b038111156141df575f80fd5b82016102c081850312156141f1575f80fd5b6141f9613570565b614202826140d7565b8152614210602083016140d7565b6020820152614221604083016140d7565b604082015261423260608301613fae565b606082015261424360808301613fae565b608082015261425460a08301613f75565b60a082015261426560c08301613f75565b60c082015260e08201516001600160401b03811115614282575f80fd5b61428e868285016140e6565b60e0830152506142a285610100840161416e565b6101008201526142b685610140840161416e565b6101208201526142ca85610180840161416e565b6101408201526142de856101c0840161416e565b6101608201526142f285610200840161416e565b61018082015261430685610240840161416e565b6101a082015261431a85610280840161416e565b6101c0820152949350505050565b8051613f80816133c7565b5f60208284031215614343575f80fd5b8151610d44816133c7565b5f6020828403121561435e575f80fd5b5051919050565b8051613f8081613de3565b5f60208284031215614380575f80fd5b81516001600160401b03811115614395575f80fd5b820160e081850312156143a6575f80fd5b6143ae613593565b6143b782613f75565b815260208201516001600160401b038111156143d1575f80fd5b6143dd86828501614057565b602083015250604082810151908201526143f960608301613fca565b606082015261440a60808301613fca565b608082015261441b60a08301614365565b60a082015260c08201516001600160401b03811115614438575f80fd5b61444486828501614057565b60c083015250949350505050565b5f60208284031215614462575f80fd5b81516001600160401b03811115614477575f80fd5b820160808185031215614488575f80fd5b614490613548565b815161449b816133c7565b81526144a9602083016140d7565b602082015260408201516001600160401b038111156144c6575f80fd5b6144d286828501614057565b604083015250606082015191506144e882613fb9565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6115e460408301846133f7565b5f60208284031215614528575f80fd5b81516001600160401b0381111561453d575f80fd5b820160e0818503121561454e575f80fd5b6145566135b5565b815161456181613133565b8152614570856020840161416e565b602082015260608201516001600160401b0381111561458d575f80fd5b61459986828501614057565b60408301525060808201516145ad81613de3565b60608201526145be60a08301614365565b60808201526145cf60c08301614365565b60a0820152949350505050565b5f602082840312156145ec575f80fd5b8151610d44816137f2565b5f60208284031215614607575f80fd5b610d44826140d7565b5f60208284031215614620575f80fd5b81516001600160401b03811115614635575f80fd5b820160808185031215614646575f80fd5b61464e613548565b81516001600160401b03811115614663575f80fd5b61466f86828501614057565b8252506020820151614680816137f2565b60208201526040820151614693816137f2565b604082015260608201516001600160401b038111156146b0575f80fd5b6146bc86828501614057565b606083015250949350505050565b5f60e08284031280156146db575f80fd5b506146e4613593565b82516146ef81613133565b81526146fd602084016140d7565b602082015261470e604084016140d7565b604082015261471f606084016140d7565b6060820152614730608084016140d7565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215614762575f80fd5b81516001600160401b03811115614777575f80fd5b820160608185031215614788575f80fd5b604051606081016001600160401b03811182821017156147aa576147aa613534565b60405281516147b881613133565b815260208201516147c881613de3565b602082015260408201516001600160401b038111156147e5575f80fd5b6147f186828501614057565b604083015250949350505050565b8051613f8081613d4a565b5f6020828403121561481a575f80fd5b81516001600160401b0381111561482f575f80fd5b820160e08185031215614840575f80fd5b614848613593565b61485182613f75565b815261485f60208301613f75565b6020820152614870604083016147ff565b6040820152614881606083016147ff565b606082015260808201516001600160401b0381111561489e575f80fd5b6148aa86828501614057565b60808301525060a08201516001600160401b038111156148c8575f80fd5b6148d486828501614057565b60a0830152506148e660c08301614365565b60c0820152949350505050565b5f60208284031215614903575f80fd5b8151610d4481613de3565b8051613f808161331a565b5f60208284031215614929575f80fd5b81516001600160401b0381111561493e575f80fd5b82016102008185031215614950575f80fd5b6149586135d7565b61496182613f75565b815261496f60208301613f75565b602082015261498060408301614328565b604082015261499160608301614328565b60608201526149a260808301613f75565b60808201526149b360a08301613f75565b60a08201526149c460c08301614365565b60c082015260e08201516001600160401b038111156149e1575f80fd5b6149ed86828501614057565b60e0830152506101008201516001600160401b03811115614a0c575f80fd5b614a1886828501614057565b61010083015250614a2c610120830161490e565b610120820152614a3f610140830161490e565b610140820152614a526101608301613f75565b610160820152614a656101808301613f75565b610180820152614a786101a08301614365565b6101a0820152614a8b6101c08301614365565b6101c0820152614a9e6101e08301614365565b6101e0820152949350505050565b5f60208284031215614abc575f80fd5b81516001600160401b03811115614ad1575f80fd5b82016101208185031215614ae3575f80fd5b614aeb6135fa565b81516001600160401b03811115614b00575f80fd5b614b0c86828501614057565b825250602082810151908201526040808301519082015260608083015190820152614b3960808301613fca565b6080820152614b4a60a08301613fca565b60a0820152614b5b60c083016140d7565b60c0820152614b6c60e083016140d7565b60e08201526101008201516001600160401b03811115614b8a575f80fd5b614b9686828501614057565b61010083015250949350505050565b5f610240828403128015614bb7575f80fd5b50614bc061361d565b614bc983613f75565b8152614bd760208401613f75565b6020820152614be860408401613f75565b6040820152614bf960608401613f75565b6060820152614c0a60808401613f75565b6080820152614c1b60a08401613f75565b60a0820152614c2c60c08401613f75565b60c0820152614c3d60e08401613f75565b60e0820152614c4f6101008401613f75565b610100820152614c626101208401613f75565b610120820152614c756101408401613f75565b610140820152614c886101608401613f75565b610160820152614c9b6101808401613f75565b610180820152614cae6101a08401613f75565b6101a0820152614cc16101c08401613f75565b6101c0820152614cd46101e08401613f75565b6101e0820152614ce76102008401613f75565b610200820152614cfa6102208401613f75565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610ad957610ad9614d07565b80820180821115610ad957610ad9614d07565b5f60208284031215614d59575f80fd5b8151610d448161331a565b5f60208284031215614d74575f80fd5b81516001600160401b03811115614d89575f80fd5b820160a08185031215614d9a575f80fd5b614da2613640565b8151614dad8161331a565b81526020820151614dbd81613133565b60208201526040820151614dd0816137f2565b604082015260608201516001600160401b03811115614ded575f80fd5b614df986828501614057565b60608301525060808201519150614e0f82613de3565b60808101919091529392505050565b5f60208284031215614e2e575f80fd5b81516001600160401b03811115614e43575f80fd5b82016101008185031215614e55575f80fd5b614e5d613662565b614e6682613f75565b815260208201516001600160401b03811115614e80575f80fd5b614e8c86828501614057565b602083015250614e9e60408301613f75565b604082015260608201516001600160401b03811115614ebb575f80fd5b614ec786828501614057565b60608301525060808201516001600160401b03811115614ee5575f80fd5b614ef186828501614057565b608083015250614f0360a08301614365565b60a0820152614f1460c08301614365565b60c0820152614f2560e083016140d7565b60e082015294935050505056fea2646970667358221220793a3932b7beeee266a40d59951421f878284672a9a4d02ca123663c7717cd2a64736f6c634300081a0033",
1942
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103b4575f3560e01c80636ebed908116101f5578063cd55e51b11610114578063f0ea17c3116100a9578063fad77c3b11610079578063fad77c3b146109ff578063fcad2c4b14610a12578063fd80249214610a25578063febe92af14610a45575f80fd5b8063f0ea17c3146109a6578063f3ed9919146109c6578063f4809edd146109d9578063f7f318d3146109ec575f80fd5b8063dd26287a116100e4578063dd26287a14610935578063de7b5d1414610948578063e444c3df1461095d578063e98413ff1461097d575f80fd5b8063cd55e51b146108de578063d06458c6146108f1578063d4cda0d814610911578063db70354c14610922575f80fd5b80639096a1f31161018a578063a7ef3d211161015a578063a7ef3d2114610861578063b82d7ef514610881578063ba579bdc146108ab578063bd7d9d85146108be575f80fd5b80639096a1f3146107cc57806394b9929b146107df578063a310e2a3146107f2578063a5961b4c14610805575f80fd5b80637e54602a116101c55780637e54602a1461077e5780638129fc1c14610791578063887b1fa9146107995780638eb9000d146107b9575f80fd5b80636ebed9081461073257806378ae9350146107455780637bfd3217146107585780637d8f1e811461076b575f80fd5b806334bd5be3116102e15780634d21a63d1161027657806364fc31421161024657806364fc3142146106e65780636553994c146106f95780636791f7ab1461070c5780636dddada414610721575f80fd5b80634d21a63d146106345780634fb784f51461064757806357f80bbf1461065a57806364eb3a9b146106d3575f80fd5b80633f093cd6116102b15780633f093cd6146105cb57806344aa6836146105de5780634793b4ab146105f15780634a4fbeec14610611575f80fd5b806334bd5be31461056c57806335898f5d1461057f578063380bd950146105925780633b046f09146105a5575f80fd5b806313ab148d1161035757806327b1d7921161032757806327b1d792146105135780632c0cd060146105335780632f458a111461054657806333fc7dee14610559575f80fd5b806313ab148d146104ac5780631488c845146104cd5780631d3be477146104e0578063228e42ec14610500575f80fd5b80630b5d931c116103925780630b5d931c146104205780630e0c586d1461044057806310bf267b14610465578063128817d41461048c575f80fd5b80630232ca49146103b857806309648a9d146103e857806309c5844f1461040d575b5f80fd5b6103cb6103c636600461314a565b610a65565b6040516001600160601b0390911681526020015b60405180910390f35b6103fb6103f6366004613165565b610adf565b60405160ff90911681526020016103df565b6103fb61041b36600461314a565b610b54565b61043361042e36600461314a565b610bcd565b6040516103df91906131bf565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016103df565b610478610473366004613329565b610d51565b60405162ffffff90911681526020016103df565b61049f61049a366004613360565b610d67565b6040516103df919061338a565b6104bf6104ba36600461314a565b610de2565b6040519081526020016103df565b6104bf6104db36600461339f565b610e56565b6104f36104ee3660046133dc565b610ed2565b6040516103df9190613425565b6103cb61050e36600461314a565b61101b565b61052661052136600461314a565b611054565b6040516103df91906134bf565b6103cb61054136600461314a565b611111565b6104bf61055436600461314a565b611131565b6104bf61056736600461314a565b61116a565b6104bf61057a36600461314a565b6111a3565b6104bf61058d36600461314a565b611216565b6103cb6105a0366004613518565b611242565b6105b86105b336600461314a565b6112be565b60405161ffff90911681526020016103df565b61049f6105d93660046136db565b6112d3565b6104bf6105ec366004613165565b611329565b6106046105ff36600461314a565b611363565b6040516103df9190613767565b61062461061f366004613806565b611404565b60405190151581526020016103df565b61044d61064236600461314a565b6114e2565b6104bf61065536600461314a565b6115ec565b61066d61066836600461314a565b611618565b6040516103df91905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b6104bf6106e136600461314a565b6116e9565b6106246106f4366004613835565b611715565b6104bf6107073660046133dc565b611804565b61071f61071a366004613806565b611834565b005b6002546001600160a01b031661044d565b6103cb610740366004613360565b611a0f565b6103fb610753366004613329565b611a4f565b6104bf61076636600461314a565b611b46565b6103fb61077936600461314a565b611b72565b6104bf61078c36600461314a565b611b8e565b61071f611bba565b6107ac6107a73660046133dc565b611be8565b6040516103df9190613861565b6103cb6107c736600461314a565b611d15565b6103fb6107da36600461314a565b611d4e565b6104bf6107ed36600461314a565b611d6a565b61044d61080036600461314a565b611da3565b610818610813366004613165565b611e4b565b6040516103df91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61087461086f366004613329565b611ed5565b6040516103df919061389f565b61089461088f3660046133dc565b612031565b6040805192835260ff9091166020830152016103df565b6106246108b936600461314a565b6122cd565b6108d16108cc36600461314a565b61251b565b6040516103df9190613941565b6106246108ec366004613835565b612633565b6109046108ff3660046133dc565b6126e7565b6040516103df9190613ab9565b6001546001600160a01b031661044d565b6103cb610930366004613360565b612851565b6104bf61094336600461314a565b612891565b5f5461010090046001600160a01b031661044d565b61097061096b36600461314a565b6128bd565b6040516103df9190613b5a565b61099061098b366004613d5a565b6129e6565b60405164ffffffffff90911681526020016103df565b6109b96109b436600461314a565b612a78565b6040516103df9190613d86565b6103fb6109d4366004613df5565b612b4c565b61049f6109e7366004613360565b612bae565b6104bf6109fa36600461314a565b612bee565b6105b8610a0d366004613165565b612c1a565b6103fb610a203660046133dc565b612c9d565b610a38610a33366004613df5565b612dec565b6040516103df9190613e21565b610a58610a53366004613e8c565b612f2e565b6040516103df9190613ea7565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610ab5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad99190613f85565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610b26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a9190613fd5565b6020015192915050565b6001545f906001600160a01b03166309648a9d610b70846111a3565b6040518263ffffffff1660e01b8152600401610b8e91815260200190565b602060405180830381865afa158015610ba9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad9919061403c565b610cab604080516101e0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e08401528351808501855282815280820183905261010084015283518085018552828152808201839052610120840152835180850185528281528082018390526101408401528351808501855282815280820183905261016084015283518085018552828152808201839052610180840152835180850185528281528082018390526101a08401528351808501909452818452830152906101c082015290565b6001545f906001600160a01b03166354f6127f610cc785611b46565b6040518263ffffffff1660e01b8152600401610ce591815260200190565b5f60405180830381865afa158015610cff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d2691908101906140a6565b805190915015610d4b5780806020019051810190610d4491906141ba565b9392505050565b50919050565b5f610d5c8383611ed5565b604001519392505050565b6003546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d449190614333565b6002546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad9919061434e565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610eae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d44919061434e565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610f5f906001600160c01b031989169060040161338a565b602060405180830381865af4158015610f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9e919061434e565b6040518263ffffffff1660e01b8152600401610fbc91815260200190565b5f60405180830381865afa158015610fd6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ffd91908101906140a6565b805190915015610d4b5780806020019051810190610d449190614370565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610a9a565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f61109485611b8e565b6040518263ffffffff1660e01b81526004016110b291815260200190565b5f60405180830381865afa1580156110cc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110f391908101906140a6565b805190915015610d4b5780806020019051810190610d449190614452565b5f8061111c8361251b565b9050610d44816080015182610160015161307c565b600354604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610e17565b6003546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610e17565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e32573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e6111cb565b6003546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa15801561129a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d449190613f85565b5f6112c88261251b565b610120015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061130e90869086906004016144f7565b602060405180830381865af4158015610dbe573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa6836906024016111fb565b61136b6130dc565b6001545f906001600160a01b03166354f6127f61138785612bee565b6040518263ffffffff1660e01b81526004016113a591815260200190565b5f60405180830381865afa1580156113bf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e691908101906140a6565b805190915015610d4b5780806020019051810190610d449190614518565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611455573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061147991906145dc565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa1580156114be573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad991906145f7565b6001545f9081906001600160a01b03166354f6127f611500856115ec565b6040518263ffffffff1660e01b815260040161151e91815260200190565b5f60405180830381865afa158015611538573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261155f91908101906140a6565b805190915015610d4b575f8180602001905181019061157e9190614610565b905080604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e491906145dc565b949350505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b6111cb565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61166c85612891565b6040518263ffffffff1660e01b815260040161168a91815260200190565b5f60405180830381865afa1580156116a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116cb91908101906140a6565b805190915015610d4b5780806020019051810190610d4491906146ca565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660156111cb565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611766573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178a91906145dc565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117e0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4491906145f7565b60035460405163380d295960e21b81525f916001600160a01b03169063e034a56490610e1790859060040161338a565b5f5460ff16156118575760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156118c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e491906145dc565b600180546001600160a01b0319166001600160a01b039283161790555f5460408051631b776b6960e21b8152905161010090920490921691636dddada49160048083019260209291908290030181865afa158015611944573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196891906145dc565b600280546001600160a01b0319166001600160a01b039283161790555f5460408051630e0c586d60e01b8152905161010090920490921691630e0c586d9160048083019260209291908290030181865afa1580156119c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ec91906145dc565b600380546001600160a01b0319166001600160a01b039290921691909117905550565b600254604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed9089060440161127f565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae9919061434e565b6040518263ffffffff1660e01b8152600401611b0791815260200190565b602060405180830381865afa158015611b22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d44919061403c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c6111cb565b6001545f906001600160a01b03166309648a9d610b7084612bee565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d6111cb565b5f5460ff1615611bdd5760405163ae9eff1b60e01b815260040160405180910390fd5b611be633611834565b565b60408051606080820183525f8083526020830152918101919091526001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611c59906001600160c01b031989169060040161338a565b602060405180830381865af4158015611c74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c98919061434e565b6040518263ffffffff1660e01b8152600401611cb691815260200190565b5f60405180830381865afa158015611cd0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611cf791908101906140a6565b805190915015610d4b5780806020019051810190610d449190614752565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610a9a565b6001545f906001600160a01b03166309648a9d610b70846116e9565b6002546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e17565b6001545f9081906001600160a01b03166354f6127f611dc1856115ec565b6040518263ffffffff1660e01b8152600401611ddf91815260200190565b5f60405180830381865afa158015611df9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e2091908101906140a6565b805190915015610d4b575f81806020019051810190611e3f9190614610565b60400151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611eb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad99190613fd5565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611f81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa5919061434e565b6040518263ffffffff1660e01b8152600401611fc391815260200190565b5f60405180830381865afa158015611fdd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261200491908101906140a6565b80519091501561202a5780806020019051810190612022919061480a565b915050610ad9565b5092915050565b5f805f61203d84610ed2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561209a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120be91906145f7565b1561213b5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561210a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212e919061434e565b60645b9250925050915091565b6121bd8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561218a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ae91906148f3565b64ffffffffff90811691161090565b156122345773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612209573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061222d919061434e565b606e612131565b806060015163ffffffff16816080015163ffffffff16106122c15773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612296573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ba919061434e565b6078612131565b6040810151600a612131565b5f806122d88361251b565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612334573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235891906145f7565b1561236557505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156123c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123e491906145f7565b156123f157505f92915050565b612474816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612441573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061246591906148f3565b64ffffffffff90811691161190565b1561248157505f92915050565b612505816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156124d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f591906148f3565b64ffffffffff9081169116111590565b1561251257505f92915050565b50600192915050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f6125b6856116e9565b6040518263ffffffff1660e01b81526004016125d491815260200190565b5f60405180830381865afa1580156125ee573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261261591908101906140a6565b805190915015610d4b5780806020019051810190610d449190614919565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612684573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126a891906145dc565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016117c5565b61273f604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612795906001600160c01b031989169060040161338a565b602060405180830381865af41580156127b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127d4919061434e565b6040518263ffffffff1660e01b81526004016127f291815260200190565b5f60405180830381865afa15801561280c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261283391908101906140a6565b805190915015610d4b5780806020019051810190610d449190614aac565b6002546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c9060440161127f565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f6111cb565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f612969856111a3565b6040518263ffffffff1660e01b815260040161298791815260200190565b5f60405180830381865afa1580156129a1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129c891908101906140a6565b805190915015610d4b5780806020019051810190610d449190614ba5565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612a0d856001614d1b565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612a54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4491906148f3565b612ab36040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6001545f906001600160a01b03166354f6127f612acf856115ec565b6040518263ffffffff1660e01b8152600401612aed91815260200190565b5f60405180830381865afa158015612b07573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b2e91908101906140a6565b805190915015610d4b5780806020019051810190610d449190614610565b600154604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611aaa565b60035460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610da3565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f6111cb565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612c40846001614d36565b6040518263ffffffff1660e01b8152600401612c5e91815260200190565b602060405180830381865af4158015612c79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad99190614d49565b6001546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590612cf7906001600160c01b031989169060040161338a565b602060405180830381865af4158015612d12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d36919061434e565b6040518263ffffffff1660e01b8152600401612d5491815260200190565b5f60405180830381865afa158015612d6e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d9591908101906140a6565b6001546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611aaa906001600160c01b031989169060040161338a565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015612e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eb1919061434e565b6040518263ffffffff1660e01b8152600401612ecf91815260200190565b5f60405180830381865afa158015612ee9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f1091908101906140a6565b80519091501561202a57808060200190518101906120229190614d64565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612fdb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fff919061434e565b6040518263ffffffff1660e01b815260040161301d91815260200190565b5f60405180830381865afa158015613037573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261305e91908101906140a6565b805190915015610d4b5780806020019051810190610d449190614e1e565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af415801561129a573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161311160405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114613147575f80fd5b50565b5f6020828403121561315a575f80fd5b8135610d4481613133565b5f60208284031215613175575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156131b55781516001600160601b031686526020958601959091019060010161318e565b5093949350505050565b602081526131d260208201835115159052565b5f60208301516131e6604084018215159052565b506040830151801515606084015250606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516102c06101008401526132596102e084018261317c565b6101008501518051610120860152602081015161014086015290915050610120840151805161016085015260208101516101808501525061014084015180516101a085015260208101516101c08501525061016084015180516101e085015260208101516102008501525061018084015180516102208501526020810151610240850152506101a084015180516102608501526020810151610280850152506101c084015180516102a085015260208101516102c08501525b509392505050565b61ffff81168114613147575f80fd5b5f806040838503121561333a575f80fd5b823561334581613133565b915060208301356133558161331a565b809150509250929050565b5f8060408385031215613371575f80fd5b823561337c81613133565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f80604083850312156133b0575f80fd5b8235915060208301355f81900b8114613355575f80fd5b6001600160c01b031981168114613147575f80fd5b5f602082840312156133ec575f80fd5b8135610d44816133c7565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526134546101008401826133f7565b90506040840151606084015263ffffffff6060850151166080840152608084015161348760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526134b682826133f7565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526134fc60a08401826133f7565b905063ffffffff60608501511660808401528091505092915050565b5f8060408385031215613529575f80fd5b823561337c816133c7565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561356a5761356a613534565b60405290565b6040516101e081016001600160401b038111828210171561356a5761356a613534565b60405160e081016001600160401b038111828210171561356a5761356a613534565b60405160c081016001600160401b038111828210171561356a5761356a613534565b60405161020081016001600160401b038111828210171561356a5761356a613534565b60405161012081016001600160401b038111828210171561356a5761356a613534565b60405161024081016001600160401b038111828210171561356a5761356a613534565b60405160a081016001600160401b038111828210171561356a5761356a613534565b60405161010081016001600160401b038111828210171561356a5761356a613534565b604051601f8201601f191681016001600160401b03811182821017156136ad576136ad613534565b604052919050565b5f6001600160401b038211156136cd576136cd613534565b50601f01601f191660200190565b5f80604083850312156136ec575f80fd5b82356136f781613133565b915060208301356001600160401b03811115613711575f80fd5b8301601f81018513613721575f80fd5b803561373461372f826136b5565b613685565b818152866020838501011115613748575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613798604084018280518252602090810151910152565b50604083015160e060808401526137b36101008401826133f7565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b0381168114613147575f80fd5b5f60208284031215613816575f80fd5b8135610d44816137f2565b6001600160401b0381168114613147575f80fd5b5f8060408385031215613846575f80fd5b8235613851816137f2565b9150602083013561335581613821565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526115e460808401826133f7565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516138dd606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a08401526139096101008401826133f7565b905060a0840151601f198483030160c085015261392682826133f7565b91505060c084015161331260e085018264ffffffffff169052565b6020815261395b6020820183516001600160601b03169052565b5f602083015161397660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e08301516102006101008401526139fc6102208401826133f7565b9050610100840151601f1984830301610120850152613a1b82826133f7565b915050610120840151613a3561014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613312565b602081525f82516101206020840152613ad66101408401826133f7565b90506020840151604084015260408401516060840152606084015160808401526080840151613b0d60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526134b682826133f7565b81516001600160601b0316815261024081016020830151613b8660208401826001600160601b03169052565b506040830151613ba160408401826001600160601b03169052565b506060830151613bbc60608401826001600160601b03169052565b506080830151613bd760808401826001600160601b03169052565b5060a0830151613bf260a08401826001600160601b03169052565b5060c0830151613c0d60c08401826001600160601b03169052565b5060e0830151613c2860e08401826001600160601b03169052565b50610100830151613c456101008401826001600160601b03169052565b50610120830151613c626101208401826001600160601b03169052565b50610140830151613c7f6101408401826001600160601b03169052565b50610160830151613c9c6101608401826001600160601b03169052565b50610180830151613cb96101808401826001600160601b03169052565b506101a0830151613cd66101a08401826001600160601b03169052565b506101c0830151613cf36101c08401826001600160601b03169052565b506101e0830151613d106101e08401826001600160601b03169052565b50610200830151613d2d6102008401826001600160601b03169052565b5061022083015161202a6102208401826001600160601b03169052565b62ffffff81168114613147575f80fd5b5f8060408385031215613d6b575f80fd5b8235613d768161331a565b9150602083013561335581613d4a565b602081525f825160806020840152613da160a08401826133f7565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506134b682826133f7565b64ffffffffff81168114613147575f80fd5b5f8060408385031215613e06575f80fd5b8235613e1181613133565b9150602083013561335581613de3565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a06080840152613e6f60c08401826133f7565b905064ffffffffff60808501511660a08401528091505092915050565b5f60208284031215613e9c575f80fd5b8135610d4481613821565b60208152613ec16020820183516001600160601b03169052565b5f60208301516101006040840152613edd6101208401826133f7565b90506040840151613ef960608501826001600160601b03169052565b506060840151838203601f19016080850152613f1582826133f7565b9150506080840151601f198483030160a0850152613f3382826133f7565b91505060a0840151613f4e60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613312565b8051613f8081613133565b919050565b5f60208284031215613f95575f80fd5b8151610d4481613133565b60ff81168114613147575f80fd5b8051613f8081613fa0565b63ffffffff81168114613147575f80fd5b8051613f8081613fb9565b5f6080828403128015613fe6575f80fd5b50613fef613548565b8251613ffa81613fa0565b8152602083015161400a81613fa0565b6020820152604083015161401d81613fb9565b6040820152606083015161403081613fb9565b60608201529392505050565b5f6020828403121561404c575f80fd5b8151610d4481613fa0565b5f82601f830112614066575f80fd5b8151602083015f61407961372f846136b5565b905082815285838301111561408c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156140b6575f80fd5b81516001600160401b038111156140cb575f80fd5b6115e484828501614057565b80518015158114613f80575f80fd5b5f82601f8301126140f5575f80fd5b81516001600160401b0381111561410e5761410e613534565b8060051b61411e60208201613685565b91825260208185018101929081019086841115614139575f80fd5b6020860192505b8383101561416457825161415381613133565b825260209283019290910190614140565b9695505050505050565b5f6040828403121561417e575f80fd5b604080519081016001600160401b03811182821017156141a0576141a0613534565b604052825181526020928301519281019290925250919050565b5f602082840312156141ca575f80fd5b81516001600160401b038111156141df575f80fd5b82016102c081850312156141f1575f80fd5b6141f9613570565b614202826140d7565b8152614210602083016140d7565b6020820152614221604083016140d7565b604082015261423260608301613fae565b606082015261424360808301613fae565b608082015261425460a08301613f75565b60a082015261426560c08301613f75565b60c082015260e08201516001600160401b03811115614282575f80fd5b61428e868285016140e6565b60e0830152506142a285610100840161416e565b6101008201526142b685610140840161416e565b6101208201526142ca85610180840161416e565b6101408201526142de856101c0840161416e565b6101608201526142f285610200840161416e565b61018082015261430685610240840161416e565b6101a082015261431a85610280840161416e565b6101c0820152949350505050565b8051613f80816133c7565b5f60208284031215614343575f80fd5b8151610d44816133c7565b5f6020828403121561435e575f80fd5b5051919050565b8051613f8081613de3565b5f60208284031215614380575f80fd5b81516001600160401b03811115614395575f80fd5b820160e081850312156143a6575f80fd5b6143ae613593565b6143b782613f75565b815260208201516001600160401b038111156143d1575f80fd5b6143dd86828501614057565b602083015250604082810151908201526143f960608301613fca565b606082015261440a60808301613fca565b608082015261441b60a08301614365565b60a082015260c08201516001600160401b03811115614438575f80fd5b61444486828501614057565b60c083015250949350505050565b5f60208284031215614462575f80fd5b81516001600160401b03811115614477575f80fd5b820160808185031215614488575f80fd5b614490613548565b815161449b816133c7565b81526144a9602083016140d7565b602082015260408201516001600160401b038111156144c6575f80fd5b6144d286828501614057565b604083015250606082015191506144e882613fb9565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6115e460408301846133f7565b5f60208284031215614528575f80fd5b81516001600160401b0381111561453d575f80fd5b820160e0818503121561454e575f80fd5b6145566135b5565b815161456181613133565b8152614570856020840161416e565b602082015260608201516001600160401b0381111561458d575f80fd5b61459986828501614057565b60408301525060808201516145ad81613de3565b60608201526145be60a08301614365565b60808201526145cf60c08301614365565b60a0820152949350505050565b5f602082840312156145ec575f80fd5b8151610d44816137f2565b5f60208284031215614607575f80fd5b610d44826140d7565b5f60208284031215614620575f80fd5b81516001600160401b03811115614635575f80fd5b820160808185031215614646575f80fd5b61464e613548565b81516001600160401b03811115614663575f80fd5b61466f86828501614057565b8252506020820151614680816137f2565b60208201526040820151614693816137f2565b604082015260608201516001600160401b038111156146b0575f80fd5b6146bc86828501614057565b606083015250949350505050565b5f60e08284031280156146db575f80fd5b506146e4613593565b82516146ef81613133565b81526146fd602084016140d7565b602082015261470e604084016140d7565b604082015261471f606084016140d7565b6060820152614730608084016140d7565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215614762575f80fd5b81516001600160401b03811115614777575f80fd5b820160608185031215614788575f80fd5b604051606081016001600160401b03811182821017156147aa576147aa613534565b60405281516147b881613133565b815260208201516147c881613de3565b602082015260408201516001600160401b038111156147e5575f80fd5b6147f186828501614057565b604083015250949350505050565b8051613f8081613d4a565b5f6020828403121561481a575f80fd5b81516001600160401b0381111561482f575f80fd5b820160e08185031215614840575f80fd5b614848613593565b61485182613f75565b815261485f60208301613f75565b6020820152614870604083016147ff565b6040820152614881606083016147ff565b606082015260808201516001600160401b0381111561489e575f80fd5b6148aa86828501614057565b60808301525060a08201516001600160401b038111156148c8575f80fd5b6148d486828501614057565b60a0830152506148e660c08301614365565b60c0820152949350505050565b5f60208284031215614903575f80fd5b8151610d4481613de3565b8051613f808161331a565b5f60208284031215614929575f80fd5b81516001600160401b0381111561493e575f80fd5b82016102008185031215614950575f80fd5b6149586135d7565b61496182613f75565b815261496f60208301613f75565b602082015261498060408301614328565b604082015261499160608301614328565b60608201526149a260808301613f75565b60808201526149b360a08301613f75565b60a08201526149c460c08301614365565b60c082015260e08201516001600160401b038111156149e1575f80fd5b6149ed86828501614057565b60e0830152506101008201516001600160401b03811115614a0c575f80fd5b614a1886828501614057565b61010083015250614a2c610120830161490e565b610120820152614a3f610140830161490e565b610140820152614a526101608301613f75565b610160820152614a656101808301613f75565b610180820152614a786101a08301614365565b6101a0820152614a8b6101c08301614365565b6101c0820152614a9e6101e08301614365565b6101e0820152949350505050565b5f60208284031215614abc575f80fd5b81516001600160401b03811115614ad1575f80fd5b82016101208185031215614ae3575f80fd5b614aeb6135fa565b81516001600160401b03811115614b00575f80fd5b614b0c86828501614057565b825250602082810151908201526040808301519082015260608083015190820152614b3960808301613fca565b6080820152614b4a60a08301613fca565b60a0820152614b5b60c083016140d7565b60c0820152614b6c60e083016140d7565b60e08201526101008201516001600160401b03811115614b8a575f80fd5b614b9686828501614057565b61010083015250949350505050565b5f610240828403128015614bb7575f80fd5b50614bc061361d565b614bc983613f75565b8152614bd760208401613f75565b6020820152614be860408401613f75565b6040820152614bf960608401613f75565b6060820152614c0a60808401613f75565b6080820152614c1b60a08401613f75565b60a0820152614c2c60c08401613f75565b60c0820152614c3d60e08401613f75565b60e0820152614c4f6101008401613f75565b610100820152614c626101208401613f75565b610120820152614c756101408401613f75565b610140820152614c886101608401613f75565b610160820152614c9b6101808401613f75565b610180820152614cae6101a08401613f75565b6101a0820152614cc16101c08401613f75565b6101c0820152614cd46101e08401613f75565b6101e0820152614ce76102008401613f75565b610200820152614cfa6102208401613f75565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610ad957610ad9614d07565b80820180821115610ad957610ad9614d07565b5f60208284031215614d59575f80fd5b8151610d448161331a565b5f60208284031215614d74575f80fd5b81516001600160401b03811115614d89575f80fd5b820160a08185031215614d9a575f80fd5b614da2613640565b8151614dad8161331a565b81526020820151614dbd81613133565b60208201526040820151614dd0816137f2565b604082015260608201516001600160401b03811115614ded575f80fd5b614df986828501614057565b60608301525060808201519150614e0f82613de3565b60808101919091529392505050565b5f60208284031215614e2e575f80fd5b81516001600160401b03811115614e43575f80fd5b82016101008185031215614e55575f80fd5b614e5d613662565b614e6682613f75565b815260208201516001600160401b03811115614e80575f80fd5b614e8c86828501614057565b602083015250614e9e60408301613f75565b604082015260608201516001600160401b03811115614ebb575f80fd5b614ec786828501614057565b60608301525060808201516001600160401b03811115614ee5575f80fd5b614ef186828501614057565b608083015250614f0360a08301614365565b60a0820152614f1460c08301614365565b60c0820152614f2560e083016140d7565b60e082015294935050505056fea2646970667358221220793a3932b7beeee266a40d59951421f878284672a9a4d02ca123663c7717cd2a64736f6c634300081a0033",
1943
+ "linkReferences": {
1944
+ "contracts/type/Amount.sol": {
1945
+ "AmountLib": [
1946
+ {
1947
+ "length": 20,
1948
+ "start": 12489
1949
+ }
1950
+ ]
1951
+ },
1952
+ "contracts/type/ClaimId.sol": {
1953
+ "ClaimIdLib": [
1954
+ {
1955
+ "length": 20,
1956
+ "start": 6833
1957
+ },
1958
+ {
1959
+ "length": 20,
1960
+ "start": 8046
1961
+ },
1962
+ {
1963
+ "length": 20,
1964
+ "start": 11330
1965
+ }
1966
+ ]
1967
+ },
1968
+ "contracts/type/DistributorType.sol": {
1969
+ "DistributorTypeLib": [
1970
+ {
1971
+ "length": 20,
1972
+ "start": 10120
1973
+ }
1974
+ ]
1975
+ },
1976
+ "contracts/type/NftId.sol": {
1977
+ "NftIdLib": [
1978
+ {
1979
+ "length": 20,
1980
+ "start": 4555
1981
+ },
1982
+ {
1983
+ "length": 20,
1984
+ "start": 4670
1985
+ },
1986
+ {
1987
+ "length": 20,
1988
+ "start": 5652
1989
+ },
1990
+ {
1991
+ "length": 20,
1992
+ "start": 5905
1993
+ },
1994
+ {
1995
+ "length": 20,
1996
+ "start": 7022
1997
+ },
1998
+ {
1999
+ "length": 20,
2000
+ "start": 7094
2001
+ },
2002
+ {
2003
+ "length": 20,
2004
+ "start": 8993
2005
+ },
2006
+ {
2007
+ "length": 20,
2008
+ "start": 10425
2009
+ },
2010
+ {
2011
+ "length": 20,
2012
+ "start": 11286
2013
+ }
2014
+ ]
2015
+ },
2016
+ "contracts/type/PayoutId.sol": {
2017
+ "PayoutIdLib": [
2018
+ {
2019
+ "length": 20,
2020
+ "start": 10766
2021
+ },
2022
+ {
2023
+ "length": 20,
2024
+ "start": 11185
2025
+ },
2026
+ {
2027
+ "length": 20,
2028
+ "start": 11898
2029
+ }
2030
+ ]
2031
+ },
2032
+ "contracts/type/Referral.sol": {
2033
+ "ReferralLib": [
2034
+ {
2035
+ "length": 20,
2036
+ "start": 3922
2037
+ },
2038
+ {
2039
+ "length": 20,
2040
+ "start": 4873
2041
+ }
2042
+ ]
2043
+ },
2044
+ "contracts/type/RequestId.sol": {
2045
+ "RequestIdLib": [
2046
+ {
2047
+ "length": 20,
2048
+ "start": 12232
2049
+ }
2050
+ ]
2051
+ },
2052
+ "contracts/type/RiskId.sol": {
2053
+ "RiskIdLib": [
2054
+ {
2055
+ "length": 20,
2056
+ "start": 7244
2057
+ },
2058
+ {
2059
+ "length": 20,
2060
+ "start": 11498
2061
+ },
2062
+ {
2063
+ "length": 20,
2064
+ "start": 11743
2065
+ }
2066
+ ]
2067
+ },
2068
+ "contracts/type/Timestamp.sol": {
2069
+ "TimestampLib": [
2070
+ {
2071
+ "length": 20,
2072
+ "start": 8327
2073
+ },
2074
+ {
2075
+ "length": 20,
2076
+ "start": 8554
2077
+ },
2078
+ {
2079
+ "length": 20,
2080
+ "start": 9133
2081
+ },
2082
+ {
2083
+ "length": 20,
2084
+ "start": 9249
2085
+ },
2086
+ {
2087
+ "length": 20,
2088
+ "start": 9393
2089
+ }
2090
+ ]
2091
+ },
2092
+ "contracts/type/UFixed.sol": {
2093
+ "UFixedLib": [
2094
+ {
2095
+ "length": 20,
2096
+ "start": 3739
2097
+ },
2098
+ {
2099
+ "length": 20,
2100
+ "start": 4966
2101
+ },
2102
+ {
2103
+ "length": 20,
2104
+ "start": 8426
2105
+ },
2106
+ {
2107
+ "length": 20,
2108
+ "start": 8681
2109
+ },
2110
+ {
2111
+ "length": 20,
2112
+ "start": 8822
2113
+ }
2114
+ ]
2115
+ }
2116
+ },
2117
+ "deployedLinkReferences": {
2118
+ "contracts/type/Amount.sol": {
2119
+ "AmountLib": [
2120
+ {
2121
+ "length": 20,
2122
+ "start": 12452
2123
+ }
2124
+ ]
2125
+ },
2126
+ "contracts/type/ClaimId.sol": {
2127
+ "ClaimIdLib": [
2128
+ {
2129
+ "length": 20,
2130
+ "start": 6796
2131
+ },
2132
+ {
2133
+ "length": 20,
2134
+ "start": 8009
2135
+ },
2136
+ {
2137
+ "length": 20,
2138
+ "start": 11293
2139
+ }
2140
+ ]
2141
+ },
2142
+ "contracts/type/DistributorType.sol": {
2143
+ "DistributorTypeLib": [
2144
+ {
2145
+ "length": 20,
2146
+ "start": 10083
2147
+ }
2148
+ ]
2149
+ },
2150
+ "contracts/type/NftId.sol": {
2151
+ "NftIdLib": [
2152
+ {
2153
+ "length": 20,
2154
+ "start": 4518
2155
+ },
2156
+ {
2157
+ "length": 20,
2158
+ "start": 4633
2159
+ },
2160
+ {
2161
+ "length": 20,
2162
+ "start": 5615
2163
+ },
2164
+ {
2165
+ "length": 20,
2166
+ "start": 5868
2167
+ },
2168
+ {
2169
+ "length": 20,
2170
+ "start": 6985
2171
+ },
2172
+ {
2173
+ "length": 20,
2174
+ "start": 7057
2175
+ },
2176
+ {
2177
+ "length": 20,
2178
+ "start": 8956
2179
+ },
2180
+ {
2181
+ "length": 20,
2182
+ "start": 10388
2183
+ },
2184
+ {
2185
+ "length": 20,
2186
+ "start": 11249
2187
+ }
2188
+ ]
2189
+ },
2190
+ "contracts/type/PayoutId.sol": {
2191
+ "PayoutIdLib": [
2192
+ {
2193
+ "length": 20,
2194
+ "start": 10729
2195
+ },
2196
+ {
2197
+ "length": 20,
2198
+ "start": 11148
2199
+ },
2200
+ {
2201
+ "length": 20,
2202
+ "start": 11861
2203
+ }
2204
+ ]
2205
+ },
2206
+ "contracts/type/Referral.sol": {
2207
+ "ReferralLib": [
2208
+ {
2209
+ "length": 20,
2210
+ "start": 3885
2211
+ },
2212
+ {
2213
+ "length": 20,
2214
+ "start": 4836
2215
+ }
2216
+ ]
2217
+ },
2218
+ "contracts/type/RequestId.sol": {
2219
+ "RequestIdLib": [
2220
+ {
2221
+ "length": 20,
2222
+ "start": 12195
2223
+ }
2224
+ ]
2225
+ },
2226
+ "contracts/type/RiskId.sol": {
2227
+ "RiskIdLib": [
2228
+ {
2229
+ "length": 20,
2230
+ "start": 7207
2231
+ },
2232
+ {
2233
+ "length": 20,
2234
+ "start": 11461
2235
+ },
2236
+ {
2237
+ "length": 20,
2238
+ "start": 11706
2239
+ }
2240
+ ]
2241
+ },
2242
+ "contracts/type/Timestamp.sol": {
2243
+ "TimestampLib": [
2244
+ {
2245
+ "length": 20,
2246
+ "start": 8290
2247
+ },
2248
+ {
2249
+ "length": 20,
2250
+ "start": 8517
2251
+ },
2252
+ {
2253
+ "length": 20,
2254
+ "start": 9096
2255
+ },
2256
+ {
2257
+ "length": 20,
2258
+ "start": 9212
2259
+ },
2260
+ {
2261
+ "length": 20,
2262
+ "start": 9356
2263
+ }
2264
+ ]
2265
+ },
2266
+ "contracts/type/UFixed.sol": {
2267
+ "UFixedLib": [
2268
+ {
2269
+ "length": 20,
2270
+ "start": 3702
2271
+ },
2272
+ {
2273
+ "length": 20,
2274
+ "start": 4929
2275
+ },
2276
+ {
2277
+ "length": 20,
2278
+ "start": 8389
2279
+ },
2280
+ {
2281
+ "length": 20,
2282
+ "start": 8644
2283
+ },
2284
+ {
2285
+ "length": 20,
2286
+ "start": 8785
2287
+ }
2288
+ ]
2289
+ }
2290
+ }
2291
+ }