@etherisc/gif-next 0.0.2-bdd64e2-180 → 0.0.2-be78639-672

Sign up to get free protection for your applications and to get access to all the features.
Files changed (763) hide show
  1. package/README.md +187 -284
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1735 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +817 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1400 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +465 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +407 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +652 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1234 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +844 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +939 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +950 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +838 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -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 +1474 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -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 +1429 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +87 -184
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +957 -535
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +760 -138
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +614 -2806
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2400 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +872 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1821 -683
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +780 -323
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +404 -104
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3039 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  108. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  109. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  111. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +947 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +849 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +762 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +863 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +830 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1232 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +844 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +886 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +895 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +1015 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +886 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +810 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1149 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  159. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +844 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +906 -0
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +404 -351
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  171. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1006 -0
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IRiskService.sol/IRiskService.json} +353 -249
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +874 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +834 -0
  186. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  187. package/artifacts/contracts/product/Product.sol/Product.json +1107 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +794 -0
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +641 -173
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +419 -200
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  199. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  202. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/Registry.sol/Registry.json +969 -202
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2255 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  209. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +370 -309
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +389 -121
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1401 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +705 -0
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  221. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +391 -80
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/shared/Component.sol/Component.json +695 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +882 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +300 -166
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +697 -0
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IService.sol/IService.json +161 -154
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +785 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  259. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  261. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  265. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  269. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  270. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Service.sol/Service.json +177 -163
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2747 -0
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  282. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  283. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/Staking.sol/Staking.json +3175 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +867 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +786 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  298. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  303. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +270 -0
  308. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  354. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +672 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  360. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  362. package/contracts/accounting/AccountingService.sol +274 -0
  363. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  364. package/contracts/accounting/IAccountingService.sol +47 -0
  365. package/contracts/authorization/AccessAdmin.sol +679 -0
  366. package/contracts/authorization/AccessAdminLib.sol +678 -0
  367. package/contracts/authorization/AccessManagerCloneable.sol +140 -0
  368. package/contracts/authorization/Authorization.sol +190 -0
  369. package/contracts/authorization/IAccess.sol +66 -0
  370. package/contracts/authorization/IAccessAdmin.sol +142 -0
  371. package/contracts/authorization/IAuthorization.sol +26 -0
  372. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  373. package/contracts/authorization/ServiceAuthorization.sol +300 -0
  374. package/contracts/distribution/BasicDistribution.sol +140 -0
  375. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  376. package/contracts/distribution/Distribution.sol +245 -0
  377. package/contracts/distribution/DistributionService.sol +448 -0
  378. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  379. package/contracts/distribution/IDistributionComponent.sol +45 -0
  380. package/contracts/distribution/IDistributionService.sol +115 -0
  381. package/contracts/examples/fire/DamageLevel.sol +59 -0
  382. package/contracts/examples/fire/FirePool.sol +86 -0
  383. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  384. package/contracts/examples/fire/FireProduct.sol +433 -0
  385. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  386. package/contracts/examples/fire/FireUSD.sol +26 -0
  387. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  388. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  390. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  391. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  392. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  393. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  394. package/contracts/instance/BaseStore.sol +93 -0
  395. package/contracts/instance/BundleSet.sol +130 -0
  396. package/contracts/instance/IBaseStore.sol +37 -0
  397. package/contracts/instance/IInstance.sol +141 -24
  398. package/contracts/instance/IInstanceService.sol +106 -17
  399. package/contracts/instance/Instance.sol +249 -341
  400. package/contracts/instance/InstanceAdmin.sol +307 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  402. package/contracts/instance/InstanceReader.sol +502 -202
  403. package/contracts/instance/InstanceService.sol +462 -130
  404. package/contracts/instance/InstanceServiceManager.sol +14 -31
  405. package/contracts/instance/InstanceStore.sol +323 -0
  406. package/contracts/instance/ProductStore.sol +290 -0
  407. package/contracts/instance/RiskSet.sol +126 -0
  408. package/contracts/instance/TargetNames.sol +10 -0
  409. package/contracts/instance/base/BalanceStore.sol +121 -0
  410. package/contracts/instance/base/Cloneable.sol +28 -0
  411. package/contracts/instance/base/ObjectCounter.sol +20 -0
  412. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  413. package/contracts/instance/base/ObjectSet.sol +77 -0
  414. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  415. package/contracts/instance/module/IBundle.sol +10 -9
  416. package/contracts/instance/module/IComponents.sol +60 -0
  417. package/contracts/instance/module/IDistribution.sol +25 -10
  418. package/contracts/instance/module/IPolicy.sol +81 -21
  419. package/contracts/instance/module/IRisk.sol +6 -1
  420. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  421. package/contracts/oracle/BasicOracle.sol +44 -0
  422. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  423. package/contracts/oracle/IOracle.sol +41 -0
  424. package/contracts/oracle/IOracleComponent.sol +33 -0
  425. package/contracts/oracle/IOracleService.sol +66 -0
  426. package/contracts/oracle/Oracle.sol +152 -0
  427. package/contracts/oracle/OracleService.sol +310 -0
  428. package/contracts/oracle/OracleServiceManager.sol +39 -0
  429. package/contracts/pool/BasicPool.sol +161 -0
  430. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  431. package/contracts/pool/BundleService.sol +386 -0
  432. package/contracts/pool/BundleServiceManager.sol +39 -0
  433. package/contracts/pool/IBundleService.sol +116 -0
  434. package/contracts/pool/IPoolComponent.sol +62 -0
  435. package/contracts/pool/IPoolService.sol +170 -0
  436. package/contracts/pool/Pool.sol +331 -0
  437. package/contracts/pool/PoolLib.sol +341 -0
  438. package/contracts/pool/PoolService.sol +614 -0
  439. package/contracts/pool/PoolServiceManager.sol +39 -0
  440. package/contracts/product/ApplicationService.sol +327 -0
  441. package/contracts/product/ApplicationServiceManager.sol +38 -0
  442. package/contracts/product/BasicProduct.sol +48 -0
  443. package/contracts/product/BasicProductAuthorization.sol +63 -0
  444. package/contracts/product/ClaimService.sol +626 -0
  445. package/contracts/product/ClaimServiceManager.sol +38 -0
  446. package/contracts/product/IApplicationService.sol +88 -0
  447. package/contracts/product/IClaimService.sol +136 -0
  448. package/contracts/product/IPolicyService.sol +102 -0
  449. package/contracts/product/IPricingService.sol +40 -0
  450. package/contracts/product/IProductComponent.sol +62 -0
  451. package/contracts/product/IRiskService.sol +48 -0
  452. package/contracts/product/PolicyService.sol +645 -0
  453. package/contracts/product/PolicyServiceLib.sol +139 -0
  454. package/contracts/product/PolicyServiceManager.sol +39 -0
  455. package/contracts/product/PricingService.sol +306 -0
  456. package/contracts/product/PricingServiceManager.sol +39 -0
  457. package/contracts/product/Product.sol +491 -0
  458. package/contracts/product/RiskService.sol +189 -0
  459. package/contracts/product/RiskServiceManager.sol +39 -0
  460. package/contracts/registry/ChainNft.sol +82 -35
  461. package/contracts/registry/IRegistry.sol +128 -50
  462. package/contracts/registry/IRegistryService.sol +45 -16
  463. package/contracts/registry/IRelease.sol +29 -0
  464. package/contracts/registry/ITransferInterceptor.sol +1 -1
  465. package/contracts/registry/Registry.sol +551 -304
  466. package/contracts/registry/RegistryAdmin.sol +173 -0
  467. package/contracts/registry/RegistryAuthorization.sol +337 -0
  468. package/contracts/registry/RegistryService.sol +126 -284
  469. package/contracts/registry/RegistryServiceManager.sol +26 -53
  470. package/contracts/registry/ReleaseAdmin.sol +199 -0
  471. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  472. package/contracts/registry/ReleaseRegistry.sol +525 -0
  473. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  474. package/contracts/registry/TokenRegistry.sol +265 -59
  475. package/contracts/shared/Component.sol +210 -0
  476. package/contracts/shared/ComponentService.sol +691 -0
  477. package/contracts/shared/ComponentServiceManager.sol +38 -0
  478. package/contracts/shared/ContractLib.sol +312 -0
  479. package/contracts/shared/IComponent.sol +58 -0
  480. package/contracts/shared/IComponentService.sol +111 -0
  481. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  482. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  483. package/contracts/shared/INftOwnable.sol +17 -12
  484. package/contracts/shared/IPolicyHolder.sol +35 -0
  485. package/contracts/shared/IRegisterable.sol +24 -5
  486. package/contracts/shared/IRegistryLinked.sol +11 -0
  487. package/contracts/shared/IService.sol +13 -5
  488. package/contracts/shared/InitializableERC165.sol +35 -0
  489. package/contracts/shared/InstanceLinkedComponent.sol +192 -0
  490. package/contracts/shared/Lifecycle.sol +88 -0
  491. package/contracts/shared/NftIdSet.sol +65 -0
  492. package/contracts/shared/NftOwnable.sol +77 -84
  493. package/contracts/shared/PolicyHolder.sol +63 -0
  494. package/contracts/shared/Registerable.sol +54 -38
  495. package/contracts/shared/RegistryLinked.sol +38 -0
  496. package/contracts/shared/Service.sol +46 -33
  497. package/contracts/shared/TokenHandler.sol +327 -12
  498. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  499. package/contracts/staking/IStaking.sol +366 -0
  500. package/contracts/staking/IStakingService.sol +127 -0
  501. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  502. package/contracts/staking/Staking.sol +797 -0
  503. package/contracts/staking/StakingLib.sol +195 -0
  504. package/contracts/staking/StakingManager.sol +53 -0
  505. package/contracts/staking/StakingReader.sol +171 -0
  506. package/contracts/staking/StakingService.sol +321 -0
  507. package/contracts/staking/StakingServiceManager.sol +46 -0
  508. package/contracts/staking/StakingStore.sol +1368 -0
  509. package/contracts/staking/TargetHandler.sol +132 -0
  510. package/contracts/staking/TargetManagerLib.sol +234 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +154 -0
  513. package/contracts/{types → type}/Blocknumber.sol +38 -19
  514. package/contracts/type/ChainId.sol +101 -0
  515. package/contracts/type/ClaimId.sol +80 -0
  516. package/contracts/{types → type}/DistributorType.sol +2 -2
  517. package/contracts/type/Fee.sol +66 -0
  518. package/contracts/{types → type}/Key32.sol +2 -2
  519. package/contracts/type/Key32Set.sol +62 -0
  520. package/contracts/{types → type}/NftId.sol +28 -15
  521. package/contracts/type/NftIdSet.sol +62 -0
  522. package/contracts/type/ObjectType.sol +307 -0
  523. package/contracts/type/PayoutId.sol +82 -0
  524. package/contracts/{types → type}/Referral.sol +6 -1
  525. package/contracts/type/RequestId.sol +75 -0
  526. package/contracts/type/RiskId.sol +75 -0
  527. package/contracts/type/RoleId.sol +180 -0
  528. package/contracts/type/Seconds.sol +120 -0
  529. package/contracts/type/Selector.sol +107 -0
  530. package/contracts/{types → type}/StateId.sol +48 -4
  531. package/contracts/type/String.sol +65 -0
  532. package/contracts/{types → type}/Timestamp.sol +36 -20
  533. package/contracts/type/UFixed.sol +263 -0
  534. package/contracts/{types → type}/Version.sol +59 -7
  535. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  536. package/contracts/upgradeability/ProxyManager.sol +246 -0
  537. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  538. package/contracts/upgradeability/Versionable.sol +62 -0
  539. package/package.json +12 -8
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  542. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  543. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
  544. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  546. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
  548. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  549. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  550. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  551. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  552. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  553. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -873
  554. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  555. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  556. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  558. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  560. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  562. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  564. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  566. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  568. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  570. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  572. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  574. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  576. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  579. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  581. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  583. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  585. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  587. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  589. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  590. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  591. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  592. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  593. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  594. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  595. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  596. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  597. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  598. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  599. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  600. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  601. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  602. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  605. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  607. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  608. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  609. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  611. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  613. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  615. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  617. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -657
  619. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -436
  621. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  623. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  624. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  625. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  626. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -796
  629. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  631. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  632. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  633. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  634. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  635. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  636. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  637. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  638. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  639. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  640. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  641. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  642. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  643. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  644. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  645. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  646. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  647. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  648. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  649. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  650. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  651. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  652. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  653. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  654. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  655. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  656. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  657. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  658. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  659. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  660. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  661. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  662. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  663. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  665. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  667. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  669. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  671. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  672. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  673. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  675. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  676. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  677. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  679. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  681. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  683. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  685. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  687. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  689. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  691. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  693. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  695. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  697. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  699. package/contracts/components/BaseComponent.sol +0 -91
  700. package/contracts/components/Distribution.sol +0 -166
  701. package/contracts/components/IBaseComponent.sol +0 -25
  702. package/contracts/components/IDistributionComponent.sol +0 -46
  703. package/contracts/components/IPoolComponent.sol +0 -62
  704. package/contracts/components/IProductComponent.sol +0 -35
  705. package/contracts/components/Pool.sol +0 -247
  706. package/contracts/components/Product.sol +0 -297
  707. package/contracts/experiment/cloning/Cloner.sol +0 -47
  708. package/contracts/experiment/errors/Require.sol +0 -38
  709. package/contracts/experiment/errors/Revert.sol +0 -44
  710. package/contracts/experiment/inheritance/A.sol +0 -53
  711. package/contracts/experiment/inheritance/B.sol +0 -28
  712. package/contracts/experiment/inheritance/C.sol +0 -34
  713. package/contracts/experiment/inheritance/IA.sol +0 -13
  714. package/contracts/experiment/inheritance/IB.sol +0 -10
  715. package/contracts/experiment/inheritance/IC.sol +0 -12
  716. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  717. package/contracts/experiment/statemachine/ISM.sol +0 -25
  718. package/contracts/experiment/statemachine/SM.sol +0 -57
  719. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  720. package/contracts/experiment/types/TypeA.sol +0 -47
  721. package/contracts/experiment/types/TypeB.sol +0 -29
  722. package/contracts/instance/AccessManagedSimple.sol +0 -115
  723. package/contracts/instance/AccessManagerSimple.sol +0 -692
  724. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  725. package/contracts/instance/InstanceAccessManager.sol +0 -288
  726. package/contracts/instance/base/ComponentServiceBase.sol +0 -41
  727. package/contracts/instance/base/IInstanceBase.sol +0 -23
  728. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  729. package/contracts/instance/base/KeyValueStore.sol +0 -172
  730. package/contracts/instance/base/Lifecycle.sol +0 -100
  731. package/contracts/instance/module/IAccess.sol +0 -38
  732. package/contracts/instance/module/ISetup.sol +0 -44
  733. package/contracts/instance/module/ITreasury.sol +0 -23
  734. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  735. package/contracts/instance/service/DistributionService.sol +0 -105
  736. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  737. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  738. package/contracts/instance/service/IDistributionService.sol +0 -12
  739. package/contracts/instance/service/IPoolService.sol +0 -37
  740. package/contracts/instance/service/IProductService.sol +0 -107
  741. package/contracts/instance/service/PoolService.sol +0 -211
  742. package/contracts/instance/service/PoolServiceManager.sol +0 -53
  743. package/contracts/shared/ContractDeployerLib.sol +0 -72
  744. package/contracts/shared/ERC165.sol +0 -25
  745. package/contracts/shared/ProxyManager.sol +0 -94
  746. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  747. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  748. package/contracts/shared/Versionable.sol +0 -147
  749. package/contracts/test/TestFee.sol +0 -25
  750. package/contracts/test/TestRegisterable.sol +0 -18
  751. package/contracts/test/TestRoleId.sol +0 -14
  752. package/contracts/test/TestService.sol +0 -24
  753. package/contracts/test/TestToken.sol +0 -26
  754. package/contracts/test/TestVersion.sol +0 -44
  755. package/contracts/test/TestVersionable.sol +0 -17
  756. package/contracts/types/ChainId.sol +0 -38
  757. package/contracts/types/Fee.sol +0 -56
  758. package/contracts/types/NftIdSet.sol +0 -60
  759. package/contracts/types/NumberId.sol +0 -52
  760. package/contracts/types/ObjectType.sol +0 -152
  761. package/contracts/types/RiskId.sol +0 -43
  762. package/contracts/types/RoleId.sol +0 -89
  763. package/contracts/types/UFixed.sol +0 -325
@@ -3,95 +3,205 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
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
+ },
6
54
  {
7
55
  "inputs": [
8
56
  {
9
57
  "internalType": "address",
10
- "name": "registry",
58
+ "name": "target",
11
59
  "type": "address"
12
- },
60
+ }
61
+ ],
62
+ "name": "authorizedFunctions",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "numberOfFunctions",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [
13
75
  {
14
76
  "internalType": "NftId",
15
- "name": "instanceNftId",
77
+ "name": "poolNftId",
16
78
  "type": "uint96"
17
79
  }
18
80
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
81
+ "name": "bundles",
82
+ "outputs": [
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "bundleCount",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "NftId",
96
+ "name": "policyNftId",
97
+ "type": "uint96"
98
+ }
99
+ ],
100
+ "name": "claims",
101
+ "outputs": [
102
+ {
103
+ "internalType": "uint16",
104
+ "name": "claimCount",
105
+ "type": "uint16"
106
+ }
107
+ ],
108
+ "stateMutability": "view",
109
+ "type": "function"
21
110
  },
22
111
  {
23
112
  "inputs": [
113
+ {
114
+ "internalType": "NftId",
115
+ "name": "poolNftId",
116
+ "type": "uint96"
117
+ },
118
+ {
119
+ "internalType": "uint256",
120
+ "name": "idx",
121
+ "type": "uint256"
122
+ }
123
+ ],
124
+ "name": "getActiveBundleNftId",
125
+ "outputs": [
24
126
  {
25
127
  "internalType": "NftId",
26
128
  "name": "bundleNftId",
27
129
  "type": "uint96"
28
130
  }
29
131
  ],
30
- "name": "getBundleInfo",
132
+ "stateMutability": "view",
133
+ "type": "function"
134
+ },
135
+ {
136
+ "inputs": [
137
+ {
138
+ "internalType": "NftId",
139
+ "name": "productNftId",
140
+ "type": "uint96"
141
+ },
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "idx",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "name": "getActiveRiskId",
149
+ "outputs": [
150
+ {
151
+ "internalType": "RiskId",
152
+ "name": "riskId",
153
+ "type": "bytes8"
154
+ }
155
+ ],
156
+ "stateMutability": "view",
157
+ "type": "function"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "address",
163
+ "name": "target",
164
+ "type": "address"
165
+ },
166
+ {
167
+ "internalType": "uint256",
168
+ "name": "idx",
169
+ "type": "uint256"
170
+ }
171
+ ],
172
+ "name": "getAuthorizedFunction",
31
173
  "outputs": [
32
174
  {
33
175
  "components": [
34
176
  {
35
- "internalType": "NftId",
36
- "name": "poolNftId",
37
- "type": "uint96"
38
- },
39
- {
40
- "components": [
41
- {
42
- "internalType": "UFixed",
43
- "name": "fractionalFee",
44
- "type": "uint256"
45
- },
46
- {
47
- "internalType": "uint256",
48
- "name": "fixedFee",
49
- "type": "uint256"
50
- }
51
- ],
52
- "internalType": "struct Fee",
53
- "name": "fee",
54
- "type": "tuple"
55
- },
56
- {
57
- "internalType": "bytes",
58
- "name": "filter",
59
- "type": "bytes"
60
- },
61
- {
62
- "internalType": "uint256",
63
- "name": "capitalAmount",
64
- "type": "uint256"
65
- },
66
- {
67
- "internalType": "uint256",
68
- "name": "lockedAmount",
69
- "type": "uint256"
70
- },
71
- {
72
- "internalType": "uint256",
73
- "name": "balanceAmount",
74
- "type": "uint256"
177
+ "internalType": "Str",
178
+ "name": "name",
179
+ "type": "bytes32"
75
180
  },
76
181
  {
77
- "internalType": "uint256",
78
- "name": "lifetime",
79
- "type": "uint256"
182
+ "internalType": "Selector",
183
+ "name": "selector",
184
+ "type": "bytes4"
80
185
  },
81
186
  {
82
187
  "internalType": "Timestamp",
83
- "name": "expiredAt",
188
+ "name": "createdAt",
84
189
  "type": "uint40"
85
190
  },
86
191
  {
87
- "internalType": "Timestamp",
88
- "name": "closedAt",
192
+ "internalType": "Blocknumber",
193
+ "name": "lastUpdateIn",
89
194
  "type": "uint40"
90
195
  }
91
196
  ],
92
- "internalType": "struct IBundle.BundleInfo",
93
- "name": "info",
197
+ "internalType": "struct IAccess.FunctionInfo",
198
+ "name": "func",
94
199
  "type": "tuple"
200
+ },
201
+ {
202
+ "internalType": "RoleId",
203
+ "name": "roleId",
204
+ "type": "uint64"
95
205
  }
96
206
  ],
97
207
  "stateMutability": "view",
@@ -100,22 +210,17 @@
100
210
  {
101
211
  "inputs": [
102
212
  {
103
- "internalType": "ReferralId",
104
- "name": "referralId",
105
- "type": "bytes8"
213
+ "internalType": "NftId",
214
+ "name": "targetNftId",
215
+ "type": "uint96"
106
216
  }
107
217
  ],
108
- "name": "getDiscountPercentage",
218
+ "name": "getBalanceAmount",
109
219
  "outputs": [
110
220
  {
111
- "internalType": "UFixed",
112
- "name": "discountPercentage",
113
- "type": "uint256"
114
- },
115
- {
116
- "internalType": "ReferralStatus",
117
- "name": "status",
118
- "type": "uint8"
221
+ "internalType": "Amount",
222
+ "name": "",
223
+ "type": "uint96"
119
224
  }
120
225
  ],
121
226
  "stateMutability": "view",
@@ -125,53 +230,58 @@
125
230
  "inputs": [
126
231
  {
127
232
  "internalType": "NftId",
128
- "name": "distributionNftId",
233
+ "name": "bundleNftId",
129
234
  "type": "uint96"
130
235
  }
131
236
  ],
132
- "name": "getDistributionSetupInfo",
237
+ "name": "getBundleInfo",
133
238
  "outputs": [
134
239
  {
135
240
  "components": [
136
241
  {
137
- "internalType": "NftId",
138
- "name": "productNftId",
139
- "type": "uint96"
242
+ "internalType": "Timestamp",
243
+ "name": "activatedAt",
244
+ "type": "uint40"
140
245
  },
141
246
  {
142
- "internalType": "contract TokenHandler",
143
- "name": "tokenHandler",
144
- "type": "address"
247
+ "internalType": "Timestamp",
248
+ "name": "expiredAt",
249
+ "type": "uint40"
250
+ },
251
+ {
252
+ "internalType": "Timestamp",
253
+ "name": "closedAt",
254
+ "type": "uint40"
255
+ },
256
+ {
257
+ "internalType": "NftId",
258
+ "name": "poolNftId",
259
+ "type": "uint96"
145
260
  },
146
261
  {
147
262
  "components": [
148
263
  {
149
264
  "internalType": "UFixed",
150
265
  "name": "fractionalFee",
151
- "type": "uint256"
266
+ "type": "uint160"
152
267
  },
153
268
  {
154
- "internalType": "uint256",
269
+ "internalType": "Amount",
155
270
  "name": "fixedFee",
156
- "type": "uint256"
271
+ "type": "uint96"
157
272
  }
158
273
  ],
159
274
  "internalType": "struct Fee",
160
- "name": "distributionFee",
275
+ "name": "fee",
161
276
  "type": "tuple"
162
277
  },
163
278
  {
164
- "internalType": "bool",
165
- "name": "isIntercepting",
166
- "type": "bool"
167
- },
168
- {
169
- "internalType": "address",
170
- "name": "wallet",
171
- "type": "address"
279
+ "internalType": "bytes",
280
+ "name": "filter",
281
+ "type": "bytes"
172
282
  }
173
283
  ],
174
- "internalType": "struct ISetup.DistributionSetupInfo",
284
+ "internalType": "struct IBundle.BundleInfo",
175
285
  "name": "info",
176
286
  "type": "tuple"
177
287
  }
@@ -183,97 +293,131 @@
183
293
  "inputs": [
184
294
  {
185
295
  "internalType": "NftId",
186
- "name": "distributorNftId",
296
+ "name": "poolNftId",
187
297
  "type": "uint96"
298
+ },
299
+ {
300
+ "internalType": "uint256",
301
+ "name": "idx",
302
+ "type": "uint256"
188
303
  }
189
304
  ],
190
- "name": "getDistributorInfo",
305
+ "name": "getBundleNftId",
191
306
  "outputs": [
192
307
  {
193
- "components": [
194
- {
195
- "internalType": "DistributorType",
196
- "name": "distributorType",
197
- "type": "bytes8"
198
- },
199
- {
200
- "internalType": "bool",
201
- "name": "active",
202
- "type": "bool"
203
- },
204
- {
205
- "internalType": "bytes",
206
- "name": "data",
207
- "type": "bytes"
208
- }
209
- ],
210
- "internalType": "struct IDistribution.DistributorInfo",
211
- "name": "info",
212
- "type": "tuple"
308
+ "internalType": "NftId",
309
+ "name": "bundleNftId",
310
+ "type": "uint96"
213
311
  }
214
312
  ],
215
313
  "stateMutability": "view",
216
314
  "type": "function"
217
315
  },
218
316
  {
219
- "inputs": [
317
+ "inputs": [],
318
+ "name": "getBundleSet",
319
+ "outputs": [
220
320
  {
221
- "internalType": "DistributorType",
222
- "name": "distributorType",
223
- "type": "bytes8"
321
+ "internalType": "contract BundleSet",
322
+ "name": "bundleSet",
323
+ "type": "address"
224
324
  }
225
325
  ],
226
- "name": "getDistributorTypeInfo",
326
+ "stateMutability": "view",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [
331
+ {
332
+ "internalType": "NftId",
333
+ "name": "bundleNftId",
334
+ "type": "uint96"
335
+ }
336
+ ],
337
+ "name": "getBundleState",
338
+ "outputs": [
339
+ {
340
+ "internalType": "StateId",
341
+ "name": "state",
342
+ "type": "uint8"
343
+ }
344
+ ],
345
+ "stateMutability": "view",
346
+ "type": "function"
347
+ },
348
+ {
349
+ "inputs": [
350
+ {
351
+ "internalType": "uint256",
352
+ "name": "idx",
353
+ "type": "uint256"
354
+ }
355
+ ],
356
+ "name": "getClaimId",
357
+ "outputs": [
358
+ {
359
+ "internalType": "ClaimId",
360
+ "name": "claimId",
361
+ "type": "uint16"
362
+ }
363
+ ],
364
+ "stateMutability": "pure",
365
+ "type": "function"
366
+ },
367
+ {
368
+ "inputs": [
369
+ {
370
+ "internalType": "NftId",
371
+ "name": "policyNftId",
372
+ "type": "uint96"
373
+ },
374
+ {
375
+ "internalType": "ClaimId",
376
+ "name": "claimId",
377
+ "type": "uint16"
378
+ }
379
+ ],
380
+ "name": "getClaimInfo",
227
381
  "outputs": [
228
382
  {
229
383
  "components": [
230
384
  {
231
- "internalType": "string",
232
- "name": "name",
233
- "type": "string"
234
- },
235
- {
236
- "internalType": "UFixed",
237
- "name": "minDiscountPercentage",
238
- "type": "uint256"
239
- },
240
- {
241
- "internalType": "UFixed",
242
- "name": "maxDiscountPercentage",
243
- "type": "uint256"
385
+ "internalType": "Amount",
386
+ "name": "claimAmount",
387
+ "type": "uint96"
244
388
  },
245
389
  {
246
- "internalType": "UFixed",
247
- "name": "commissionPercentage",
248
- "type": "uint256"
390
+ "internalType": "Amount",
391
+ "name": "paidAmount",
392
+ "type": "uint96"
249
393
  },
250
394
  {
251
- "internalType": "uint32",
252
- "name": "maxReferralCount",
253
- "type": "uint32"
395
+ "internalType": "Timestamp",
396
+ "name": "closedAt",
397
+ "type": "uint40"
254
398
  },
255
399
  {
256
- "internalType": "uint32",
257
- "name": "maxReferralLifetime",
258
- "type": "uint32"
400
+ "internalType": "uint24",
401
+ "name": "payoutsCount",
402
+ "type": "uint24"
259
403
  },
260
404
  {
261
- "internalType": "bool",
262
- "name": "allowSelfReferrals",
263
- "type": "bool"
405
+ "internalType": "uint24",
406
+ "name": "openPayoutsCount",
407
+ "type": "uint24"
264
408
  },
265
409
  {
266
- "internalType": "bool",
267
- "name": "allowRenewals",
268
- "type": "bool"
410
+ "internalType": "bytes",
411
+ "name": "submissionData",
412
+ "type": "bytes"
269
413
  },
270
414
  {
271
415
  "internalType": "bytes",
272
- "name": "data",
416
+ "name": "processData",
273
417
  "type": "bytes"
274
418
  }
275
419
  ],
276
- "internalType": "struct IDistribution.DistributorTypeInfo",
420
+ "internalType": "struct IPolicy.ClaimInfo",
277
421
  "name": "info",
278
422
  "type": "tuple"
279
423
  }
@@ -282,39 +426,79 @@
282
426
  "type": "function"
283
427
  },
284
428
  {
285
- "inputs": [],
286
- "name": "getInstance",
429
+ "inputs": [
430
+ {
431
+ "internalType": "NftId",
432
+ "name": "policyNftId",
433
+ "type": "uint96"
434
+ },
435
+ {
436
+ "internalType": "ClaimId",
437
+ "name": "claimId",
438
+ "type": "uint16"
439
+ }
440
+ ],
441
+ "name": "getClaimState",
287
442
  "outputs": [
288
443
  {
289
- "internalType": "contract IInstance",
290
- "name": "instance",
291
- "type": "address"
444
+ "internalType": "StateId",
445
+ "name": "state",
446
+ "type": "uint8"
292
447
  }
293
448
  ],
294
449
  "stateMutability": "view",
295
450
  "type": "function"
296
451
  },
297
452
  {
298
- "inputs": [],
299
- "name": "getInstanceNftId",
300
- "outputs": [
453
+ "inputs": [
301
454
  {
302
455
  "internalType": "NftId",
303
- "name": "nftId",
456
+ "name": "componentNftId",
304
457
  "type": "uint96"
305
458
  }
306
459
  ],
460
+ "name": "getComponentInfo",
461
+ "outputs": [
462
+ {
463
+ "components": [
464
+ {
465
+ "internalType": "string",
466
+ "name": "name",
467
+ "type": "string"
468
+ },
469
+ {
470
+ "internalType": "contract TokenHandler",
471
+ "name": "tokenHandler",
472
+ "type": "address"
473
+ }
474
+ ],
475
+ "internalType": "struct IComponents.ComponentInfo",
476
+ "name": "info",
477
+ "type": "tuple"
478
+ }
479
+ ],
307
480
  "stateMutability": "view",
308
481
  "type": "function"
309
482
  },
310
483
  {
311
- "inputs": [],
312
- "name": "getInstanceStore",
484
+ "inputs": [
485
+ {
486
+ "internalType": "ReferralId",
487
+ "name": "referralId",
488
+ "type": "bytes8"
489
+ }
490
+ ],
491
+ "name": "getDiscountPercentage",
313
492
  "outputs": [
314
493
  {
315
- "internalType": "contract IKeyValueStore",
316
- "name": "store",
317
- "type": "address"
494
+ "internalType": "UFixed",
495
+ "name": "discountPercentage",
496
+ "type": "uint160"
497
+ },
498
+ {
499
+ "internalType": "ReferralStatus",
500
+ "name": "status",
501
+ "type": "uint8"
318
502
  }
319
503
  ],
320
504
  "stateMutability": "view",
@@ -323,43 +507,38 @@
323
507
  {
324
508
  "inputs": [
325
509
  {
326
- "internalType": "Key32",
327
- "name": "key",
328
- "type": "bytes32"
510
+ "internalType": "NftId",
511
+ "name": "distributorNftId",
512
+ "type": "uint96"
329
513
  }
330
514
  ],
331
- "name": "getMetadata",
515
+ "name": "getDistributorInfo",
332
516
  "outputs": [
333
517
  {
334
518
  "components": [
335
519
  {
336
- "internalType": "ObjectType",
337
- "name": "objectType",
338
- "type": "uint8"
339
- },
340
- {
341
- "internalType": "StateId",
342
- "name": "state",
343
- "type": "uint8"
520
+ "internalType": "DistributorType",
521
+ "name": "distributorType",
522
+ "type": "bytes8"
344
523
  },
345
524
  {
346
- "internalType": "address",
347
- "name": "updatedBy",
348
- "type": "address"
525
+ "internalType": "bool",
526
+ "name": "active",
527
+ "type": "bool"
349
528
  },
350
529
  {
351
- "internalType": "Blocknumber",
352
- "name": "updatedIn",
530
+ "internalType": "uint32",
531
+ "name": "numPoliciesSold",
353
532
  "type": "uint32"
354
533
  },
355
534
  {
356
- "internalType": "Blocknumber",
357
- "name": "createdIn",
358
- "type": "uint32"
535
+ "internalType": "bytes",
536
+ "name": "data",
537
+ "type": "bytes"
359
538
  }
360
539
  ],
361
- "internalType": "struct IKeyValueStore.Metadata",
362
- "name": "metadata",
540
+ "internalType": "struct IDistribution.DistributorInfo",
541
+ "name": "info",
363
542
  "type": "tuple"
364
543
  }
365
544
  ],
@@ -369,97 +548,67 @@
369
548
  {
370
549
  "inputs": [
371
550
  {
372
- "internalType": "NftId",
373
- "name": "policyNftId",
374
- "type": "uint96"
551
+ "internalType": "DistributorType",
552
+ "name": "distributorType",
553
+ "type": "bytes8"
375
554
  }
376
555
  ],
377
- "name": "getPolicyInfo",
556
+ "name": "getDistributorTypeInfo",
378
557
  "outputs": [
379
558
  {
380
559
  "components": [
381
560
  {
382
- "internalType": "NftId",
383
- "name": "productNftId",
384
- "type": "uint96"
561
+ "internalType": "UFixed",
562
+ "name": "minDiscountPercentage",
563
+ "type": "uint160"
385
564
  },
386
565
  {
387
566
  "internalType": "NftId",
388
- "name": "bundleNftId",
567
+ "name": "distributionNftId",
389
568
  "type": "uint96"
390
569
  },
391
570
  {
392
- "internalType": "ReferralId",
393
- "name": "referralId",
394
- "type": "bytes8"
571
+ "internalType": "UFixed",
572
+ "name": "maxDiscountPercentage",
573
+ "type": "uint160"
395
574
  },
396
575
  {
397
- "internalType": "RiskId",
398
- "name": "riskId",
399
- "type": "bytes8"
576
+ "internalType": "uint32",
577
+ "name": "maxReferralCount",
578
+ "type": "uint32"
400
579
  },
401
580
  {
402
- "internalType": "uint256",
403
- "name": "sumInsuredAmount",
404
- "type": "uint256"
581
+ "internalType": "Seconds",
582
+ "name": "maxReferralLifetime",
583
+ "type": "uint40"
405
584
  },
406
585
  {
407
- "internalType": "uint256",
408
- "name": "premiumAmount",
409
- "type": "uint256"
586
+ "internalType": "bool",
587
+ "name": "allowSelfReferrals",
588
+ "type": "bool"
410
589
  },
411
590
  {
412
- "internalType": "uint256",
413
- "name": "premiumPaidAmount",
414
- "type": "uint256"
591
+ "internalType": "bool",
592
+ "name": "allowRenewals",
593
+ "type": "bool"
415
594
  },
416
595
  {
417
- "internalType": "uint256",
418
- "name": "lifetime",
419
- "type": "uint256"
596
+ "internalType": "UFixed",
597
+ "name": "commissionPercentage",
598
+ "type": "uint160"
420
599
  },
421
600
  {
422
- "internalType": "bytes",
423
- "name": "applicationData",
424
- "type": "bytes"
601
+ "internalType": "string",
602
+ "name": "name",
603
+ "type": "string"
425
604
  },
426
605
  {
427
606
  "internalType": "bytes",
428
- "name": "policyData",
607
+ "name": "data",
429
608
  "type": "bytes"
430
- },
431
- {
432
- "internalType": "uint16",
433
- "name": "claimsCount",
434
- "type": "uint16"
435
- },
436
- {
437
- "internalType": "uint16",
438
- "name": "openClaimsCount",
439
- "type": "uint16"
440
- },
441
- {
442
- "internalType": "uint256",
443
- "name": "payoutAmount",
444
- "type": "uint256"
445
- },
446
- {
447
- "internalType": "Timestamp",
448
- "name": "activatedAt",
449
- "type": "uint40"
450
- },
451
- {
452
- "internalType": "Timestamp",
453
- "name": "expiredAt",
454
- "type": "uint40"
455
- },
456
- {
457
- "internalType": "Timestamp",
458
- "name": "closedAt",
459
- "type": "uint40"
460
609
  }
461
610
  ],
462
- "internalType": "struct IPolicy.PolicyInfo",
611
+ "internalType": "struct IDistribution.DistributorTypeInfo",
463
612
  "name": "info",
464
613
  "type": "tuple"
465
614
  }
@@ -471,94 +620,16 @@
471
620
  "inputs": [
472
621
  {
473
622
  "internalType": "NftId",
474
- "name": "poolNftId",
623
+ "name": "targetNftId",
475
624
  "type": "uint96"
476
625
  }
477
626
  ],
478
- "name": "getPoolSetupInfo",
627
+ "name": "getFeeAmount",
479
628
  "outputs": [
480
629
  {
481
- "components": [
482
- {
483
- "internalType": "NftId",
484
- "name": "productNftId",
485
- "type": "uint96"
486
- },
487
- {
488
- "internalType": "contract TokenHandler",
489
- "name": "tokenHandler",
490
- "type": "address"
491
- },
492
- {
493
- "internalType": "UFixed",
494
- "name": "collateralizationLevel",
495
- "type": "uint256"
496
- },
497
- {
498
- "components": [
499
- {
500
- "internalType": "UFixed",
501
- "name": "fractionalFee",
502
- "type": "uint256"
503
- },
504
- {
505
- "internalType": "uint256",
506
- "name": "fixedFee",
507
- "type": "uint256"
508
- }
509
- ],
510
- "internalType": "struct Fee",
511
- "name": "poolFee",
512
- "type": "tuple"
513
- },
514
- {
515
- "components": [
516
- {
517
- "internalType": "UFixed",
518
- "name": "fractionalFee",
519
- "type": "uint256"
520
- },
521
- {
522
- "internalType": "uint256",
523
- "name": "fixedFee",
524
- "type": "uint256"
525
- }
526
- ],
527
- "internalType": "struct Fee",
528
- "name": "stakingFee",
529
- "type": "tuple"
530
- },
531
- {
532
- "components": [
533
- {
534
- "internalType": "UFixed",
535
- "name": "fractionalFee",
536
- "type": "uint256"
537
- },
538
- {
539
- "internalType": "uint256",
540
- "name": "fixedFee",
541
- "type": "uint256"
542
- }
543
- ],
544
- "internalType": "struct Fee",
545
- "name": "performanceFee",
546
- "type": "tuple"
547
- },
548
- {
549
- "internalType": "bool",
550
- "name": "isIntercepting",
551
- "type": "bool"
552
- },
553
- {
554
- "internalType": "address",
555
- "name": "wallet",
556
- "type": "address"
557
- }
558
- ],
559
- "internalType": "struct ISetup.PoolSetupInfo",
560
- "name": "info",
561
- "type": "tuple"
630
+ "internalType": "Amount",
631
+ "name": "",
632
+ "type": "uint96"
562
633
  }
563
634
  ],
564
635
  "stateMutability": "view",
@@ -572,45 +643,42 @@
572
643
  "type": "uint96"
573
644
  }
574
645
  ],
575
- "name": "getProductSetupInfo",
646
+ "name": "getFeeInfo",
576
647
  "outputs": [
577
648
  {
578
649
  "components": [
579
650
  {
580
- "internalType": "contract IERC20Metadata",
581
- "name": "token",
582
- "type": "address"
583
- },
584
- {
585
- "internalType": "contract TokenHandler",
586
- "name": "tokenHandler",
587
- "type": "address"
588
- },
589
- {
590
- "internalType": "NftId",
591
- "name": "distributionNftId",
592
- "type": "uint96"
593
- },
594
- {
595
- "internalType": "NftId",
596
- "name": "poolNftId",
597
- "type": "uint96"
651
+ "components": [
652
+ {
653
+ "internalType": "UFixed",
654
+ "name": "fractionalFee",
655
+ "type": "uint160"
656
+ },
657
+ {
658
+ "internalType": "Amount",
659
+ "name": "fixedFee",
660
+ "type": "uint96"
661
+ }
662
+ ],
663
+ "internalType": "struct Fee",
664
+ "name": "productFee",
665
+ "type": "tuple"
598
666
  },
599
667
  {
600
668
  "components": [
601
669
  {
602
670
  "internalType": "UFixed",
603
671
  "name": "fractionalFee",
604
- "type": "uint256"
672
+ "type": "uint160"
605
673
  },
606
674
  {
607
- "internalType": "uint256",
675
+ "internalType": "Amount",
608
676
  "name": "fixedFee",
609
- "type": "uint256"
677
+ "type": "uint96"
610
678
  }
611
679
  ],
612
680
  "internalType": "struct Fee",
613
- "name": "distributionFee",
681
+ "name": "processingFee",
614
682
  "type": "tuple"
615
683
  },
616
684
  {
@@ -618,16 +686,16 @@
618
686
  {
619
687
  "internalType": "UFixed",
620
688
  "name": "fractionalFee",
621
- "type": "uint256"
689
+ "type": "uint160"
622
690
  },
623
691
  {
624
- "internalType": "uint256",
692
+ "internalType": "Amount",
625
693
  "name": "fixedFee",
626
- "type": "uint256"
694
+ "type": "uint96"
627
695
  }
628
696
  ],
629
697
  "internalType": "struct Fee",
630
- "name": "productFee",
698
+ "name": "distributionFee",
631
699
  "type": "tuple"
632
700
  },
633
701
  {
@@ -635,16 +703,16 @@
635
703
  {
636
704
  "internalType": "UFixed",
637
705
  "name": "fractionalFee",
638
- "type": "uint256"
706
+ "type": "uint160"
639
707
  },
640
708
  {
641
- "internalType": "uint256",
709
+ "internalType": "Amount",
642
710
  "name": "fixedFee",
643
- "type": "uint256"
711
+ "type": "uint96"
644
712
  }
645
713
  ],
646
714
  "internalType": "struct Fee",
647
- "name": "processingFee",
715
+ "name": "minDistributionOwnerFee",
648
716
  "type": "tuple"
649
717
  },
650
718
  {
@@ -652,12 +720,12 @@
652
720
  {
653
721
  "internalType": "UFixed",
654
722
  "name": "fractionalFee",
655
- "type": "uint256"
723
+ "type": "uint160"
656
724
  },
657
725
  {
658
- "internalType": "uint256",
726
+ "internalType": "Amount",
659
727
  "name": "fixedFee",
660
- "type": "uint256"
728
+ "type": "uint96"
661
729
  }
662
730
  ],
663
731
  "internalType": "struct Fee",
@@ -669,12 +737,12 @@
669
737
  {
670
738
  "internalType": "UFixed",
671
739
  "name": "fractionalFee",
672
- "type": "uint256"
740
+ "type": "uint160"
673
741
  },
674
742
  {
675
- "internalType": "uint256",
743
+ "internalType": "Amount",
676
744
  "name": "fixedFee",
677
- "type": "uint256"
745
+ "type": "uint96"
678
746
  }
679
747
  ],
680
748
  "internalType": "struct Fee",
@@ -686,12 +754,12 @@
686
754
  {
687
755
  "internalType": "UFixed",
688
756
  "name": "fractionalFee",
689
- "type": "uint256"
757
+ "type": "uint160"
690
758
  },
691
759
  {
692
- "internalType": "uint256",
760
+ "internalType": "Amount",
693
761
  "name": "fixedFee",
694
- "type": "uint256"
762
+ "type": "uint96"
695
763
  }
696
764
  ],
697
765
  "internalType": "struct Fee",
@@ -699,64 +767,115 @@
699
767
  "type": "tuple"
700
768
  }
701
769
  ],
702
- "internalType": "struct ISetup.ProductSetupInfo",
703
- "name": "info",
770
+ "internalType": "struct IComponents.FeeInfo",
771
+ "name": "feeInfo",
704
772
  "type": "tuple"
705
773
  }
706
774
  ],
707
775
  "stateMutability": "view",
708
776
  "type": "function"
709
777
  },
778
+ {
779
+ "inputs": [],
780
+ "name": "getInstance",
781
+ "outputs": [
782
+ {
783
+ "internalType": "contract IInstance",
784
+ "name": "instance",
785
+ "type": "address"
786
+ }
787
+ ],
788
+ "stateMutability": "view",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [],
793
+ "name": "getInstanceAdmin",
794
+ "outputs": [
795
+ {
796
+ "internalType": "contract InstanceAdmin",
797
+ "name": "instanceAdmin",
798
+ "type": "address"
799
+ }
800
+ ],
801
+ "stateMutability": "view",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [],
806
+ "name": "getInstanceNftId",
807
+ "outputs": [
808
+ {
809
+ "internalType": "NftId",
810
+ "name": "instanceNftid",
811
+ "type": "uint96"
812
+ }
813
+ ],
814
+ "stateMutability": "view",
815
+ "type": "function"
816
+ },
817
+ {
818
+ "inputs": [],
819
+ "name": "getInstanceOwnerRole",
820
+ "outputs": [
821
+ {
822
+ "internalType": "RoleId",
823
+ "name": "roleId",
824
+ "type": "uint64"
825
+ }
826
+ ],
827
+ "stateMutability": "pure",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [
832
+ {
833
+ "internalType": "NftId",
834
+ "name": "targetNftId",
835
+ "type": "uint96"
836
+ }
837
+ ],
838
+ "name": "getLockedAmount",
839
+ "outputs": [
840
+ {
841
+ "internalType": "Amount",
842
+ "name": "",
843
+ "type": "uint96"
844
+ }
845
+ ],
846
+ "stateMutability": "view",
847
+ "type": "function"
848
+ },
710
849
  {
711
850
  "inputs": [
712
851
  {
713
- "internalType": "ReferralId",
714
- "name": "referralId",
715
- "type": "bytes8"
852
+ "internalType": "Key32",
853
+ "name": "key",
854
+ "type": "bytes32"
716
855
  }
717
856
  ],
718
- "name": "getReferralInfo",
857
+ "name": "getMetadata",
719
858
  "outputs": [
720
859
  {
721
860
  "components": [
722
861
  {
723
- "internalType": "NftId",
724
- "name": "distributorNftId",
725
- "type": "uint96"
726
- },
727
- {
728
- "internalType": "string",
729
- "name": "referralCode",
730
- "type": "string"
731
- },
732
- {
733
- "internalType": "UFixed",
734
- "name": "discountPercentage",
735
- "type": "uint256"
736
- },
737
- {
738
- "internalType": "uint32",
739
- "name": "maxReferrals",
740
- "type": "uint32"
862
+ "internalType": "ObjectType",
863
+ "name": "objectType",
864
+ "type": "uint8"
741
865
  },
742
866
  {
743
- "internalType": "uint32",
744
- "name": "usedReferrals",
745
- "type": "uint32"
867
+ "internalType": "StateId",
868
+ "name": "state",
869
+ "type": "uint8"
746
870
  },
747
871
  {
748
- "internalType": "Timestamp",
749
- "name": "expiryAt",
872
+ "internalType": "Blocknumber",
873
+ "name": "updatedIn",
750
874
  "type": "uint40"
751
- },
752
- {
753
- "internalType": "bytes",
754
- "name": "data",
755
- "type": "bytes"
756
875
  }
757
876
  ],
758
- "internalType": "struct IDistribution.ReferralInfo",
759
- "name": "info",
877
+ "internalType": "struct IBaseStore.Metadata",
878
+ "name": "metadata",
760
879
  "type": "tuple"
761
880
  }
762
881
  ],
@@ -766,27 +885,71 @@
766
885
  {
767
886
  "inputs": [
768
887
  {
769
- "internalType": "RiskId",
770
- "name": "riskId",
771
- "type": "bytes8"
888
+ "internalType": "ClaimId",
889
+ "name": "claimId",
890
+ "type": "uint16"
891
+ },
892
+ {
893
+ "internalType": "uint24",
894
+ "name": "idx",
895
+ "type": "uint24"
772
896
  }
773
897
  ],
774
- "name": "getRiskInfo",
898
+ "name": "getPayoutId",
899
+ "outputs": [
900
+ {
901
+ "internalType": "PayoutId",
902
+ "name": "payoutId",
903
+ "type": "uint40"
904
+ }
905
+ ],
906
+ "stateMutability": "pure",
907
+ "type": "function"
908
+ },
909
+ {
910
+ "inputs": [
911
+ {
912
+ "internalType": "NftId",
913
+ "name": "policyNftId",
914
+ "type": "uint96"
915
+ },
916
+ {
917
+ "internalType": "PayoutId",
918
+ "name": "payoutId",
919
+ "type": "uint40"
920
+ }
921
+ ],
922
+ "name": "getPayoutInfo",
775
923
  "outputs": [
776
924
  {
777
925
  "components": [
778
926
  {
779
- "internalType": "NftId",
780
- "name": "productNftId",
927
+ "internalType": "ClaimId",
928
+ "name": "claimId",
929
+ "type": "uint16"
930
+ },
931
+ {
932
+ "internalType": "Amount",
933
+ "name": "amount",
781
934
  "type": "uint96"
782
935
  },
936
+ {
937
+ "internalType": "Timestamp",
938
+ "name": "paidAt",
939
+ "type": "uint40"
940
+ },
941
+ {
942
+ "internalType": "address",
943
+ "name": "beneficiary",
944
+ "type": "address"
945
+ },
783
946
  {
784
947
  "internalType": "bytes",
785
948
  "name": "data",
786
949
  "type": "bytes"
787
950
  }
788
951
  ],
789
- "internalType": "struct IRisk.RiskInfo",
952
+ "internalType": "struct IPolicy.PayoutInfo",
790
953
  "name": "info",
791
954
  "type": "tuple"
792
955
  }
@@ -798,16 +961,21 @@
798
961
  "inputs": [
799
962
  {
800
963
  "internalType": "NftId",
801
- "name": "productNftId",
964
+ "name": "policyNftId",
802
965
  "type": "uint96"
966
+ },
967
+ {
968
+ "internalType": "PayoutId",
969
+ "name": "payoutId",
970
+ "type": "uint40"
803
971
  }
804
972
  ],
805
- "name": "getTokenHandler",
973
+ "name": "getPayoutState",
806
974
  "outputs": [
807
975
  {
808
- "internalType": "address",
809
- "name": "tokenHandler",
810
- "type": "address"
976
+ "internalType": "StateId",
977
+ "name": "state",
978
+ "type": "uint8"
811
979
  }
812
980
  ],
813
981
  "stateMutability": "view",
@@ -817,138 +985,195 @@
817
985
  "inputs": [
818
986
  {
819
987
  "internalType": "NftId",
820
- "name": "productNftId",
988
+ "name": "policyNftId",
821
989
  "type": "uint96"
822
990
  }
823
991
  ],
824
- "name": "getTreasuryInfo",
992
+ "name": "getPolicyInfo",
825
993
  "outputs": [
826
994
  {
827
995
  "components": [
828
996
  {
829
- "internalType": "contract IERC20Metadata",
830
- "name": "token",
831
- "type": "address"
832
- },
833
- {
834
- "internalType": "contract TokenHandler",
835
- "name": "tokenHandler",
836
- "type": "address"
997
+ "internalType": "NftId",
998
+ "name": "productNftId",
999
+ "type": "uint96"
837
1000
  },
838
1001
  {
839
1002
  "internalType": "NftId",
840
- "name": "distributionNftId",
1003
+ "name": "bundleNftId",
841
1004
  "type": "uint96"
842
1005
  },
843
1006
  {
844
- "internalType": "NftId",
845
- "name": "poolNftId",
1007
+ "internalType": "RiskId",
1008
+ "name": "riskId",
1009
+ "type": "bytes8"
1010
+ },
1011
+ {
1012
+ "internalType": "Amount",
1013
+ "name": "sumInsuredAmount",
846
1014
  "type": "uint96"
847
1015
  },
848
1016
  {
849
- "components": [
850
- {
851
- "internalType": "UFixed",
852
- "name": "fractionalFee",
853
- "type": "uint256"
854
- },
855
- {
856
- "internalType": "uint256",
857
- "name": "fixedFee",
858
- "type": "uint256"
859
- }
860
- ],
861
- "internalType": "struct Fee",
862
- "name": "distributionFee",
863
- "type": "tuple"
1017
+ "internalType": "Amount",
1018
+ "name": "premiumAmount",
1019
+ "type": "uint96"
864
1020
  },
865
1021
  {
866
- "components": [
867
- {
868
- "internalType": "UFixed",
869
- "name": "fractionalFee",
870
- "type": "uint256"
871
- },
872
- {
873
- "internalType": "uint256",
874
- "name": "fixedFee",
875
- "type": "uint256"
876
- }
877
- ],
878
- "internalType": "struct Fee",
879
- "name": "productFee",
880
- "type": "tuple"
1022
+ "internalType": "ReferralId",
1023
+ "name": "referralId",
1024
+ "type": "bytes8"
881
1025
  },
882
1026
  {
883
- "components": [
884
- {
885
- "internalType": "UFixed",
886
- "name": "fractionalFee",
887
- "type": "uint256"
888
- },
889
- {
890
- "internalType": "uint256",
891
- "name": "fixedFee",
892
- "type": "uint256"
893
- }
894
- ],
895
- "internalType": "struct Fee",
896
- "name": "processingFee",
897
- "type": "tuple"
1027
+ "internalType": "uint16",
1028
+ "name": "claimsCount",
1029
+ "type": "uint16"
898
1030
  },
899
1031
  {
900
- "components": [
901
- {
902
- "internalType": "UFixed",
903
- "name": "fractionalFee",
904
- "type": "uint256"
905
- },
906
- {
907
- "internalType": "uint256",
908
- "name": "fixedFee",
909
- "type": "uint256"
910
- }
911
- ],
912
- "internalType": "struct Fee",
913
- "name": "poolFee",
914
- "type": "tuple"
1032
+ "internalType": "uint16",
1033
+ "name": "openClaimsCount",
1034
+ "type": "uint16"
915
1035
  },
916
1036
  {
917
- "components": [
918
- {
919
- "internalType": "UFixed",
920
- "name": "fractionalFee",
921
- "type": "uint256"
922
- },
923
- {
924
- "internalType": "uint256",
925
- "name": "fixedFee",
926
- "type": "uint256"
927
- }
928
- ],
929
- "internalType": "struct Fee",
930
- "name": "stakingFee",
931
- "type": "tuple"
1037
+ "internalType": "Amount",
1038
+ "name": "claimAmount",
1039
+ "type": "uint96"
932
1040
  },
933
1041
  {
934
- "components": [
935
- {
936
- "internalType": "UFixed",
937
- "name": "fractionalFee",
938
- "type": "uint256"
939
- },
940
- {
941
- "internalType": "uint256",
942
- "name": "fixedFee",
943
- "type": "uint256"
944
- }
945
- ],
946
- "internalType": "struct Fee",
947
- "name": "performanceFee",
948
- "type": "tuple"
1042
+ "internalType": "Amount",
1043
+ "name": "payoutAmount",
1044
+ "type": "uint96"
1045
+ },
1046
+ {
1047
+ "internalType": "Timestamp",
1048
+ "name": "activatedAt",
1049
+ "type": "uint40"
1050
+ },
1051
+ {
1052
+ "internalType": "Seconds",
1053
+ "name": "lifetime",
1054
+ "type": "uint40"
1055
+ },
1056
+ {
1057
+ "internalType": "Timestamp",
1058
+ "name": "expiredAt",
1059
+ "type": "uint40"
1060
+ },
1061
+ {
1062
+ "internalType": "Timestamp",
1063
+ "name": "closedAt",
1064
+ "type": "uint40"
1065
+ },
1066
+ {
1067
+ "internalType": "bytes",
1068
+ "name": "applicationData",
1069
+ "type": "bytes"
1070
+ },
1071
+ {
1072
+ "internalType": "bytes",
1073
+ "name": "processData",
1074
+ "type": "bytes"
1075
+ }
1076
+ ],
1077
+ "internalType": "struct IPolicy.PolicyInfo",
1078
+ "name": "info",
1079
+ "type": "tuple"
1080
+ }
1081
+ ],
1082
+ "stateMutability": "view",
1083
+ "type": "function"
1084
+ },
1085
+ {
1086
+ "inputs": [
1087
+ {
1088
+ "internalType": "RiskId",
1089
+ "name": "riskId",
1090
+ "type": "bytes8"
1091
+ },
1092
+ {
1093
+ "internalType": "uint256",
1094
+ "name": "idx",
1095
+ "type": "uint256"
1096
+ }
1097
+ ],
1098
+ "name": "getPolicyNftIdForRisk",
1099
+ "outputs": [
1100
+ {
1101
+ "internalType": "NftId",
1102
+ "name": "linkedPolicyNftId",
1103
+ "type": "uint96"
1104
+ }
1105
+ ],
1106
+ "stateMutability": "view",
1107
+ "type": "function"
1108
+ },
1109
+ {
1110
+ "inputs": [
1111
+ {
1112
+ "internalType": "NftId",
1113
+ "name": "policyNftId",
1114
+ "type": "uint96"
1115
+ }
1116
+ ],
1117
+ "name": "getPolicyState",
1118
+ "outputs": [
1119
+ {
1120
+ "internalType": "StateId",
1121
+ "name": "state",
1122
+ "type": "uint8"
1123
+ }
1124
+ ],
1125
+ "stateMutability": "view",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "inputs": [
1130
+ {
1131
+ "internalType": "NftId",
1132
+ "name": "poolNftId",
1133
+ "type": "uint96"
1134
+ }
1135
+ ],
1136
+ "name": "getPoolInfo",
1137
+ "outputs": [
1138
+ {
1139
+ "components": [
1140
+ {
1141
+ "internalType": "Amount",
1142
+ "name": "maxBalanceAmount",
1143
+ "type": "uint96"
1144
+ },
1145
+ {
1146
+ "internalType": "UFixed",
1147
+ "name": "collateralizationLevel",
1148
+ "type": "uint160"
1149
+ },
1150
+ {
1151
+ "internalType": "UFixed",
1152
+ "name": "retentionLevel",
1153
+ "type": "uint160"
1154
+ },
1155
+ {
1156
+ "internalType": "bool",
1157
+ "name": "isInterceptingBundleTransfers",
1158
+ "type": "bool"
1159
+ },
1160
+ {
1161
+ "internalType": "bool",
1162
+ "name": "isProcessingConfirmedClaims",
1163
+ "type": "bool"
1164
+ },
1165
+ {
1166
+ "internalType": "bool",
1167
+ "name": "isExternallyManaged",
1168
+ "type": "bool"
1169
+ },
1170
+ {
1171
+ "internalType": "bool",
1172
+ "name": "isVerifyingApplications",
1173
+ "type": "bool"
949
1174
  }
950
1175
  ],
951
- "internalType": "struct ITreasury.TreasuryInfo",
1176
+ "internalType": "struct IComponents.PoolInfo",
952
1177
  "name": "info",
953
1178
  "type": "tuple"
954
1179
  }
@@ -958,174 +1183,1086 @@
958
1183
  },
959
1184
  {
960
1185
  "inputs": [
1186
+ {
1187
+ "internalType": "NftId",
1188
+ "name": "policyNftId",
1189
+ "type": "uint96"
1190
+ }
1191
+ ],
1192
+ "name": "getPremiumInfo",
1193
+ "outputs": [
1194
+ {
1195
+ "components": [
1196
+ {
1197
+ "internalType": "Amount",
1198
+ "name": "productFeeAmount",
1199
+ "type": "uint96"
1200
+ },
1201
+ {
1202
+ "internalType": "Amount",
1203
+ "name": "distributionFeeAndCommissionAmount",
1204
+ "type": "uint96"
1205
+ },
1206
+ {
1207
+ "internalType": "Amount",
1208
+ "name": "poolPremiumAndFeeAmount",
1209
+ "type": "uint96"
1210
+ },
1211
+ {
1212
+ "internalType": "Amount",
1213
+ "name": "netPremiumAmount",
1214
+ "type": "uint96"
1215
+ },
1216
+ {
1217
+ "internalType": "Amount",
1218
+ "name": "fullPremiumAmount",
1219
+ "type": "uint96"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "premiumAmount",
1224
+ "type": "uint96"
1225
+ },
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "productFeeFixAmount",
1229
+ "type": "uint96"
1230
+ },
1231
+ {
1232
+ "internalType": "Amount",
1233
+ "name": "poolFeeFixAmount",
1234
+ "type": "uint96"
1235
+ },
1236
+ {
1237
+ "internalType": "Amount",
1238
+ "name": "bundleFeeFixAmount",
1239
+ "type": "uint96"
1240
+ },
1241
+ {
1242
+ "internalType": "Amount",
1243
+ "name": "distributionFeeFixAmount",
1244
+ "type": "uint96"
1245
+ },
1246
+ {
1247
+ "internalType": "Amount",
1248
+ "name": "productFeeVarAmount",
1249
+ "type": "uint96"
1250
+ },
1251
+ {
1252
+ "internalType": "Amount",
1253
+ "name": "poolFeeVarAmount",
1254
+ "type": "uint96"
1255
+ },
1256
+ {
1257
+ "internalType": "Amount",
1258
+ "name": "bundleFeeVarAmount",
1259
+ "type": "uint96"
1260
+ },
1261
+ {
1262
+ "internalType": "Amount",
1263
+ "name": "distributionFeeVarAmount",
1264
+ "type": "uint96"
1265
+ },
1266
+ {
1267
+ "internalType": "Amount",
1268
+ "name": "distributionOwnerFeeFixAmount",
1269
+ "type": "uint96"
1270
+ },
1271
+ {
1272
+ "internalType": "Amount",
1273
+ "name": "distributionOwnerFeeVarAmount",
1274
+ "type": "uint96"
1275
+ },
1276
+ {
1277
+ "internalType": "Amount",
1278
+ "name": "commissionAmount",
1279
+ "type": "uint96"
1280
+ },
1281
+ {
1282
+ "internalType": "Amount",
1283
+ "name": "discountAmount",
1284
+ "type": "uint96"
1285
+ }
1286
+ ],
1287
+ "internalType": "struct IPolicy.PremiumInfo",
1288
+ "name": "info",
1289
+ "type": "tuple"
1290
+ }
1291
+ ],
1292
+ "stateMutability": "view",
1293
+ "type": "function"
1294
+ },
1295
+ {
1296
+ "inputs": [
1297
+ {
1298
+ "internalType": "NftId",
1299
+ "name": "policyNftId",
1300
+ "type": "uint96"
1301
+ }
1302
+ ],
1303
+ "name": "getPremiumState",
1304
+ "outputs": [
1305
+ {
1306
+ "internalType": "StateId",
1307
+ "name": "state",
1308
+ "type": "uint8"
1309
+ }
1310
+ ],
1311
+ "stateMutability": "view",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "inputs": [
1316
+ {
1317
+ "internalType": "NftId",
1318
+ "name": "productNftId",
1319
+ "type": "uint96"
1320
+ }
1321
+ ],
1322
+ "name": "getProductInfo",
1323
+ "outputs": [
1324
+ {
1325
+ "components": [
1326
+ {
1327
+ "internalType": "bool",
1328
+ "name": "isProcessingFundedClaims",
1329
+ "type": "bool"
1330
+ },
1331
+ {
1332
+ "internalType": "bool",
1333
+ "name": "isInterceptingPolicyTransfers",
1334
+ "type": "bool"
1335
+ },
1336
+ {
1337
+ "internalType": "bool",
1338
+ "name": "hasDistribution",
1339
+ "type": "bool"
1340
+ },
1341
+ {
1342
+ "internalType": "uint8",
1343
+ "name": "expectedNumberOfOracles",
1344
+ "type": "uint8"
1345
+ },
1346
+ {
1347
+ "internalType": "uint8",
1348
+ "name": "numberOfOracles",
1349
+ "type": "uint8"
1350
+ },
1351
+ {
1352
+ "internalType": "NftId",
1353
+ "name": "poolNftId",
1354
+ "type": "uint96"
1355
+ },
1356
+ {
1357
+ "internalType": "NftId",
1358
+ "name": "distributionNftId",
1359
+ "type": "uint96"
1360
+ },
1361
+ {
1362
+ "internalType": "NftId[]",
1363
+ "name": "oracleNftId",
1364
+ "type": "uint96[]"
1365
+ }
1366
+ ],
1367
+ "internalType": "struct IComponents.ProductInfo",
1368
+ "name": "info",
1369
+ "type": "tuple"
1370
+ }
1371
+ ],
1372
+ "stateMutability": "view",
1373
+ "type": "function"
1374
+ },
1375
+ {
1376
+ "inputs": [
1377
+ {
1378
+ "internalType": "uint256",
1379
+ "name": "idx",
1380
+ "type": "uint256"
1381
+ }
1382
+ ],
1383
+ "name": "getProductNftId",
1384
+ "outputs": [
1385
+ {
1386
+ "internalType": "NftId",
1387
+ "name": "productNftId",
1388
+ "type": "uint96"
1389
+ }
1390
+ ],
1391
+ "stateMutability": "view",
1392
+ "type": "function"
1393
+ },
1394
+ {
1395
+ "inputs": [
1396
+ {
1397
+ "internalType": "ReferralId",
1398
+ "name": "referralId",
1399
+ "type": "bytes8"
1400
+ }
1401
+ ],
1402
+ "name": "getReferralInfo",
1403
+ "outputs": [
1404
+ {
1405
+ "components": [
1406
+ {
1407
+ "internalType": "NftId",
1408
+ "name": "distributionNftId",
1409
+ "type": "uint96"
1410
+ },
1411
+ {
1412
+ "internalType": "NftId",
1413
+ "name": "distributorNftId",
1414
+ "type": "uint96"
1415
+ },
1416
+ {
1417
+ "internalType": "uint32",
1418
+ "name": "maxReferrals",
1419
+ "type": "uint32"
1420
+ },
1421
+ {
1422
+ "internalType": "uint32",
1423
+ "name": "usedReferrals",
1424
+ "type": "uint32"
1425
+ },
1426
+ {
1427
+ "internalType": "UFixed",
1428
+ "name": "discountPercentage",
1429
+ "type": "uint160"
1430
+ },
1431
+ {
1432
+ "internalType": "Timestamp",
1433
+ "name": "expiryAt",
1434
+ "type": "uint40"
1435
+ },
1436
+ {
1437
+ "internalType": "string",
1438
+ "name": "referralCode",
1439
+ "type": "string"
1440
+ },
1441
+ {
1442
+ "internalType": "bytes",
1443
+ "name": "data",
1444
+ "type": "bytes"
1445
+ }
1446
+ ],
1447
+ "internalType": "struct IDistribution.ReferralInfo",
1448
+ "name": "info",
1449
+ "type": "tuple"
1450
+ }
1451
+ ],
1452
+ "stateMutability": "view",
1453
+ "type": "function"
1454
+ },
1455
+ {
1456
+ "inputs": [],
1457
+ "name": "getRegistry",
1458
+ "outputs": [
1459
+ {
1460
+ "internalType": "contract IRegistry",
1461
+ "name": "registry",
1462
+ "type": "address"
1463
+ }
1464
+ ],
1465
+ "stateMutability": "view",
1466
+ "type": "function"
1467
+ },
1468
+ {
1469
+ "inputs": [
1470
+ {
1471
+ "internalType": "NftId",
1472
+ "name": "policyNftId",
1473
+ "type": "uint96"
1474
+ }
1475
+ ],
1476
+ "name": "getRemainingClaimableAmount",
1477
+ "outputs": [
1478
+ {
1479
+ "internalType": "Amount",
1480
+ "name": "remainingClaimableAmount",
1481
+ "type": "uint96"
1482
+ }
1483
+ ],
1484
+ "stateMutability": "view",
1485
+ "type": "function"
1486
+ },
1487
+ {
1488
+ "inputs": [
1489
+ {
1490
+ "internalType": "RequestId",
1491
+ "name": "requestId",
1492
+ "type": "uint64"
1493
+ }
1494
+ ],
1495
+ "name": "getRequestInfo",
1496
+ "outputs": [
1497
+ {
1498
+ "components": [
1499
+ {
1500
+ "internalType": "NftId",
1501
+ "name": "requesterNftId",
1502
+ "type": "uint96"
1503
+ },
1504
+ {
1505
+ "internalType": "NftId",
1506
+ "name": "oracleNftId",
1507
+ "type": "uint96"
1508
+ },
1509
+ {
1510
+ "internalType": "bool",
1511
+ "name": "isCancelled",
1512
+ "type": "bool"
1513
+ },
1514
+ {
1515
+ "internalType": "Timestamp",
1516
+ "name": "respondedAt",
1517
+ "type": "uint40"
1518
+ },
1519
+ {
1520
+ "internalType": "Timestamp",
1521
+ "name": "expiredAt",
1522
+ "type": "uint40"
1523
+ },
1524
+ {
1525
+ "internalType": "string",
1526
+ "name": "callbackMethodName",
1527
+ "type": "string"
1528
+ },
1529
+ {
1530
+ "internalType": "bytes",
1531
+ "name": "requestData",
1532
+ "type": "bytes"
1533
+ },
1534
+ {
1535
+ "internalType": "bytes",
1536
+ "name": "responseData",
1537
+ "type": "bytes"
1538
+ }
1539
+ ],
1540
+ "internalType": "struct IOracle.RequestInfo",
1541
+ "name": "requestInfo",
1542
+ "type": "tuple"
1543
+ }
1544
+ ],
1545
+ "stateMutability": "view",
1546
+ "type": "function"
1547
+ },
1548
+ {
1549
+ "inputs": [
1550
+ {
1551
+ "internalType": "NftId",
1552
+ "name": "productNftId",
1553
+ "type": "uint96"
1554
+ },
1555
+ {
1556
+ "internalType": "uint256",
1557
+ "name": "idx",
1558
+ "type": "uint256"
1559
+ }
1560
+ ],
1561
+ "name": "getRiskId",
1562
+ "outputs": [
1563
+ {
1564
+ "internalType": "RiskId",
1565
+ "name": "riskId",
1566
+ "type": "bytes8"
1567
+ }
1568
+ ],
1569
+ "stateMutability": "view",
1570
+ "type": "function"
1571
+ },
1572
+ {
1573
+ "inputs": [
1574
+ {
1575
+ "internalType": "RiskId",
1576
+ "name": "riskId",
1577
+ "type": "bytes8"
1578
+ }
1579
+ ],
1580
+ "name": "getRiskInfo",
1581
+ "outputs": [
1582
+ {
1583
+ "components": [
1584
+ {
1585
+ "internalType": "NftId",
1586
+ "name": "productNftId",
1587
+ "type": "uint96"
1588
+ },
1589
+ {
1590
+ "internalType": "Timestamp",
1591
+ "name": "createdAt",
1592
+ "type": "uint40"
1593
+ },
1594
+ {
1595
+ "internalType": "bytes",
1596
+ "name": "data",
1597
+ "type": "bytes"
1598
+ }
1599
+ ],
1600
+ "internalType": "struct IRisk.RiskInfo",
1601
+ "name": "info",
1602
+ "type": "tuple"
1603
+ }
1604
+ ],
1605
+ "stateMutability": "view",
1606
+ "type": "function"
1607
+ },
1608
+ {
1609
+ "inputs": [],
1610
+ "name": "getRiskSet",
1611
+ "outputs": [
1612
+ {
1613
+ "internalType": "contract RiskSet",
1614
+ "name": "riskSet",
1615
+ "type": "address"
1616
+ }
1617
+ ],
1618
+ "stateMutability": "view",
1619
+ "type": "function"
1620
+ },
1621
+ {
1622
+ "inputs": [
1623
+ {
1624
+ "internalType": "RiskId",
1625
+ "name": "riskId",
1626
+ "type": "bytes8"
1627
+ }
1628
+ ],
1629
+ "name": "getRiskState",
1630
+ "outputs": [
1631
+ {
1632
+ "internalType": "StateId",
1633
+ "name": "stateId",
1634
+ "type": "uint8"
1635
+ }
1636
+ ],
1637
+ "stateMutability": "view",
1638
+ "type": "function"
1639
+ },
1640
+ {
1641
+ "inputs": [
1642
+ {
1643
+ "internalType": "uint256",
1644
+ "name": "idx",
1645
+ "type": "uint256"
1646
+ }
1647
+ ],
1648
+ "name": "getRoleId",
1649
+ "outputs": [
1650
+ {
1651
+ "internalType": "RoleId",
1652
+ "name": "roleId",
1653
+ "type": "uint64"
1654
+ }
1655
+ ],
1656
+ "stateMutability": "view",
1657
+ "type": "function"
1658
+ },
1659
+ {
1660
+ "inputs": [
1661
+ {
1662
+ "internalType": "RoleId",
1663
+ "name": "roleId",
1664
+ "type": "uint64"
1665
+ }
1666
+ ],
1667
+ "name": "getRoleInfo",
1668
+ "outputs": [
1669
+ {
1670
+ "components": [
1671
+ {
1672
+ "internalType": "RoleId",
1673
+ "name": "adminRoleId",
1674
+ "type": "uint64"
1675
+ },
1676
+ {
1677
+ "internalType": "enum IAccess.TargetType",
1678
+ "name": "targetType",
1679
+ "type": "uint8"
1680
+ },
1681
+ {
1682
+ "internalType": "uint32",
1683
+ "name": "maxMemberCount",
1684
+ "type": "uint32"
1685
+ },
1686
+ {
1687
+ "internalType": "Timestamp",
1688
+ "name": "createdAt",
1689
+ "type": "uint40"
1690
+ },
1691
+ {
1692
+ "internalType": "Timestamp",
1693
+ "name": "pausedAt",
1694
+ "type": "uint40"
1695
+ },
1696
+ {
1697
+ "internalType": "Blocknumber",
1698
+ "name": "lastUpdateIn",
1699
+ "type": "uint40"
1700
+ },
1701
+ {
1702
+ "internalType": "Str",
1703
+ "name": "name",
1704
+ "type": "bytes32"
1705
+ }
1706
+ ],
1707
+ "internalType": "struct IAccess.RoleInfo",
1708
+ "name": "roleInfo",
1709
+ "type": "tuple"
1710
+ }
1711
+ ],
1712
+ "stateMutability": "view",
1713
+ "type": "function"
1714
+ },
1715
+ {
1716
+ "inputs": [
1717
+ {
1718
+ "internalType": "RoleId",
1719
+ "name": "roleId",
1720
+ "type": "uint64"
1721
+ },
1722
+ {
1723
+ "internalType": "uint256",
1724
+ "name": "idx",
1725
+ "type": "uint256"
1726
+ }
1727
+ ],
1728
+ "name": "getRoleMember",
1729
+ "outputs": [
1730
+ {
1731
+ "internalType": "address",
1732
+ "name": "account",
1733
+ "type": "address"
1734
+ }
1735
+ ],
1736
+ "stateMutability": "view",
1737
+ "type": "function"
1738
+ },
1739
+ {
1740
+ "inputs": [
1741
+ {
1742
+ "internalType": "Key32",
1743
+ "name": "key",
1744
+ "type": "bytes32"
1745
+ }
1746
+ ],
1747
+ "name": "getState",
1748
+ "outputs": [
1749
+ {
1750
+ "internalType": "StateId",
1751
+ "name": "state",
1752
+ "type": "uint8"
1753
+ }
1754
+ ],
1755
+ "stateMutability": "view",
1756
+ "type": "function"
1757
+ },
1758
+ {
1759
+ "inputs": [
1760
+ {
1761
+ "internalType": "uint256",
1762
+ "name": "idx",
1763
+ "type": "uint256"
1764
+ }
1765
+ ],
1766
+ "name": "getTargetAddress",
1767
+ "outputs": [
1768
+ {
1769
+ "internalType": "address",
1770
+ "name": "target",
1771
+ "type": "address"
1772
+ }
1773
+ ],
1774
+ "stateMutability": "view",
1775
+ "type": "function"
1776
+ },
1777
+ {
1778
+ "inputs": [
1779
+ {
1780
+ "internalType": "address",
1781
+ "name": "target",
1782
+ "type": "address"
1783
+ }
1784
+ ],
1785
+ "name": "getTargetInfo",
1786
+ "outputs": [
1787
+ {
1788
+ "components": [
1789
+ {
1790
+ "internalType": "Str",
1791
+ "name": "name",
1792
+ "type": "bytes32"
1793
+ },
1794
+ {
1795
+ "internalType": "enum IAccess.TargetType",
1796
+ "name": "targetType",
1797
+ "type": "uint8"
1798
+ },
1799
+ {
1800
+ "internalType": "RoleId",
1801
+ "name": "roleId",
1802
+ "type": "uint64"
1803
+ },
1804
+ {
1805
+ "internalType": "Timestamp",
1806
+ "name": "createdAt",
1807
+ "type": "uint40"
1808
+ },
1809
+ {
1810
+ "internalType": "Blocknumber",
1811
+ "name": "lastUpdateIn",
1812
+ "type": "uint40"
1813
+ }
1814
+ ],
1815
+ "internalType": "struct IAccess.TargetInfo",
1816
+ "name": "targetInfo",
1817
+ "type": "tuple"
1818
+ }
1819
+ ],
1820
+ "stateMutability": "view",
1821
+ "type": "function"
1822
+ },
1823
+ {
1824
+ "inputs": [
1825
+ {
1826
+ "internalType": "NftId",
1827
+ "name": "componentNftId",
1828
+ "type": "uint96"
1829
+ }
1830
+ ],
1831
+ "name": "getToken",
1832
+ "outputs": [
1833
+ {
1834
+ "internalType": "contract IERC20Metadata",
1835
+ "name": "token",
1836
+ "type": "address"
1837
+ }
1838
+ ],
1839
+ "stateMutability": "view",
1840
+ "type": "function"
1841
+ },
1842
+ {
1843
+ "inputs": [
1844
+ {
1845
+ "internalType": "NftId",
1846
+ "name": "componentNftId",
1847
+ "type": "uint96"
1848
+ }
1849
+ ],
1850
+ "name": "getTokenHandler",
1851
+ "outputs": [
1852
+ {
1853
+ "internalType": "contract TokenHandler",
1854
+ "name": "tokenHandler",
1855
+ "type": "address"
1856
+ }
1857
+ ],
1858
+ "stateMutability": "view",
1859
+ "type": "function"
1860
+ },
1861
+ {
1862
+ "inputs": [
1863
+ {
1864
+ "internalType": "NftId",
1865
+ "name": "componentNftId",
1866
+ "type": "uint96"
1867
+ }
1868
+ ],
1869
+ "name": "getWallet",
1870
+ "outputs": [
1871
+ {
1872
+ "internalType": "address",
1873
+ "name": "wallet",
1874
+ "type": "address"
1875
+ }
1876
+ ],
1877
+ "stateMutability": "view",
1878
+ "type": "function"
1879
+ },
1880
+ {
1881
+ "inputs": [],
1882
+ "name": "initialize",
1883
+ "outputs": [],
1884
+ "stateMutability": "nonpayable",
1885
+ "type": "function"
1886
+ },
1887
+ {
1888
+ "inputs": [
1889
+ {
1890
+ "internalType": "address",
1891
+ "name": "instanceAddress",
1892
+ "type": "address"
1893
+ }
1894
+ ],
1895
+ "name": "initializeWithInstance",
1896
+ "outputs": [],
1897
+ "stateMutability": "nonpayable",
1898
+ "type": "function"
1899
+ },
1900
+ {
1901
+ "inputs": [
1902
+ {
1903
+ "internalType": "address",
1904
+ "name": "target",
1905
+ "type": "address"
1906
+ }
1907
+ ],
1908
+ "name": "isLocked",
1909
+ "outputs": [
1910
+ {
1911
+ "internalType": "bool",
1912
+ "name": "",
1913
+ "type": "bool"
1914
+ }
1915
+ ],
1916
+ "stateMutability": "view",
1917
+ "type": "function"
1918
+ },
1919
+ {
1920
+ "inputs": [
1921
+ {
1922
+ "internalType": "NftId",
1923
+ "name": "distributionNftId",
1924
+ "type": "uint96"
1925
+ },
1926
+ {
1927
+ "internalType": "ReferralId",
1928
+ "name": "referralId",
1929
+ "type": "bytes8"
1930
+ }
1931
+ ],
1932
+ "name": "isReferralValid",
1933
+ "outputs": [
1934
+ {
1935
+ "internalType": "bool",
1936
+ "name": "isValid",
1937
+ "type": "bool"
1938
+ }
1939
+ ],
1940
+ "stateMutability": "view",
1941
+ "type": "function"
1942
+ },
1943
+ {
1944
+ "inputs": [
1945
+ {
1946
+ "internalType": "RoleId",
1947
+ "name": "roleId",
1948
+ "type": "uint64"
1949
+ }
1950
+ ],
1951
+ "name": "isRoleActive",
1952
+ "outputs": [
1953
+ {
1954
+ "internalType": "bool",
1955
+ "name": "isActive",
1956
+ "type": "bool"
1957
+ }
1958
+ ],
1959
+ "stateMutability": "view",
1960
+ "type": "function"
1961
+ },
1962
+ {
1963
+ "inputs": [
1964
+ {
1965
+ "internalType": "RoleId",
1966
+ "name": "roleId",
1967
+ "type": "uint64"
1968
+ },
1969
+ {
1970
+ "internalType": "address",
1971
+ "name": "account",
1972
+ "type": "address"
1973
+ }
1974
+ ],
1975
+ "name": "isRoleAdmin",
1976
+ "outputs": [
1977
+ {
1978
+ "internalType": "bool",
1979
+ "name": "isMember",
1980
+ "type": "bool"
1981
+ }
1982
+ ],
1983
+ "stateMutability": "view",
1984
+ "type": "function"
1985
+ },
1986
+ {
1987
+ "inputs": [
1988
+ {
1989
+ "internalType": "RoleId",
1990
+ "name": "roleId",
1991
+ "type": "uint64"
1992
+ }
1993
+ ],
1994
+ "name": "isRoleCustom",
1995
+ "outputs": [
1996
+ {
1997
+ "internalType": "bool",
1998
+ "name": "isCustom",
1999
+ "type": "bool"
2000
+ }
2001
+ ],
2002
+ "stateMutability": "view",
2003
+ "type": "function"
2004
+ },
2005
+ {
2006
+ "inputs": [
2007
+ {
2008
+ "internalType": "RoleId",
2009
+ "name": "roleId",
2010
+ "type": "uint64"
2011
+ },
961
2012
  {
962
2013
  "internalType": "address",
963
- "name": "registry",
2014
+ "name": "account",
964
2015
  "type": "address"
965
- },
2016
+ }
2017
+ ],
2018
+ "name": "isRoleMember",
2019
+ "outputs": [
966
2020
  {
967
- "internalType": "NftId",
968
- "name": "instanceNftId",
969
- "type": "uint96"
2021
+ "internalType": "bool",
2022
+ "name": "isMember",
2023
+ "type": "bool"
970
2024
  }
971
2025
  ],
972
- "name": "initialize",
973
- "outputs": [],
974
- "stateMutability": "nonpayable",
2026
+ "stateMutability": "view",
975
2027
  "type": "function"
976
2028
  },
977
2029
  {
978
2030
  "inputs": [
979
2031
  {
980
2032
  "internalType": "NftId",
981
- "name": "poolNftId",
2033
+ "name": "policyNftId",
982
2034
  "type": "uint96"
2035
+ },
2036
+ {
2037
+ "internalType": "ClaimId",
2038
+ "name": "claimId",
2039
+ "type": "uint16"
983
2040
  }
984
2041
  ],
985
- "name": "toBundleKey",
2042
+ "name": "payouts",
986
2043
  "outputs": [
987
2044
  {
988
- "internalType": "Key32",
989
- "name": "",
990
- "type": "bytes32"
2045
+ "internalType": "uint24",
2046
+ "name": "payoutCount",
2047
+ "type": "uint24"
991
2048
  }
992
2049
  ],
993
- "stateMutability": "pure",
2050
+ "stateMutability": "view",
994
2051
  "type": "function"
995
2052
  },
996
2053
  {
997
2054
  "inputs": [
998
2055
  {
999
- "internalType": "NftId",
1000
- "name": "distributionNftId",
1001
- "type": "uint96"
2056
+ "internalType": "RiskId",
2057
+ "name": "riskId",
2058
+ "type": "bytes8"
1002
2059
  }
1003
2060
  ],
1004
- "name": "toDistributionKey",
2061
+ "name": "policiesForRisk",
1005
2062
  "outputs": [
1006
2063
  {
1007
- "internalType": "Key32",
1008
- "name": "",
1009
- "type": "bytes32"
2064
+ "internalType": "uint256",
2065
+ "name": "linkedPolicies",
2066
+ "type": "uint256"
1010
2067
  }
1011
2068
  ],
1012
- "stateMutability": "pure",
2069
+ "stateMutability": "view",
1013
2070
  "type": "function"
1014
2071
  },
1015
2072
  {
1016
2073
  "inputs": [
1017
2074
  {
1018
2075
  "internalType": "NftId",
1019
- "name": "distributorNftId",
2076
+ "name": "policyNftId",
1020
2077
  "type": "uint96"
1021
2078
  }
1022
2079
  ],
1023
- "name": "toDistributorKey",
2080
+ "name": "policyIsActive",
1024
2081
  "outputs": [
1025
2082
  {
1026
- "internalType": "Key32",
1027
- "name": "",
1028
- "type": "bytes32"
2083
+ "internalType": "bool",
2084
+ "name": "isCloseable",
2085
+ "type": "bool"
1029
2086
  }
1030
2087
  ],
1031
- "stateMutability": "pure",
2088
+ "stateMutability": "view",
1032
2089
  "type": "function"
1033
2090
  },
1034
2091
  {
1035
- "inputs": [
2092
+ "inputs": [],
2093
+ "name": "products",
2094
+ "outputs": [
1036
2095
  {
1037
- "internalType": "UFixed",
1038
- "name": "value",
2096
+ "internalType": "uint256",
2097
+ "name": "productCount",
1039
2098
  "type": "uint256"
1040
2099
  }
1041
2100
  ],
1042
- "name": "toInt",
2101
+ "stateMutability": "view",
2102
+ "type": "function"
2103
+ },
2104
+ {
2105
+ "inputs": [
2106
+ {
2107
+ "internalType": "NftId",
2108
+ "name": "productNftId",
2109
+ "type": "uint96"
2110
+ }
2111
+ ],
2112
+ "name": "risks",
1043
2113
  "outputs": [
1044
2114
  {
1045
2115
  "internalType": "uint256",
1046
- "name": "",
2116
+ "name": "riskCount",
1047
2117
  "type": "uint256"
1048
2118
  }
1049
2119
  ],
1050
- "stateMutability": "pure",
2120
+ "stateMutability": "view",
1051
2121
  "type": "function"
1052
2122
  },
1053
2123
  {
1054
2124
  "inputs": [
1055
2125
  {
1056
- "internalType": "NftId",
1057
- "name": "policyNftId",
1058
- "type": "uint96"
2126
+ "internalType": "RoleId",
2127
+ "name": "roleId",
2128
+ "type": "uint64"
1059
2129
  }
1060
2130
  ],
1061
- "name": "toPolicyKey",
2131
+ "name": "roleExists",
1062
2132
  "outputs": [
1063
2133
  {
1064
- "internalType": "Key32",
1065
- "name": "",
1066
- "type": "bytes32"
2134
+ "internalType": "bool",
2135
+ "name": "exists",
2136
+ "type": "bool"
1067
2137
  }
1068
2138
  ],
1069
- "stateMutability": "pure",
2139
+ "stateMutability": "view",
1070
2140
  "type": "function"
1071
2141
  },
1072
2142
  {
1073
2143
  "inputs": [
1074
2144
  {
1075
- "internalType": "NftId",
1076
- "name": "poolNftId",
1077
- "type": "uint96"
2145
+ "internalType": "RoleId",
2146
+ "name": "roleId",
2147
+ "type": "uint64"
1078
2148
  }
1079
2149
  ],
1080
- "name": "toPoolKey",
2150
+ "name": "roleMembers",
1081
2151
  "outputs": [
1082
2152
  {
1083
- "internalType": "Key32",
2153
+ "internalType": "uint256",
2154
+ "name": "numberOfMembers",
2155
+ "type": "uint256"
2156
+ }
2157
+ ],
2158
+ "stateMutability": "view",
2159
+ "type": "function"
2160
+ },
2161
+ {
2162
+ "inputs": [],
2163
+ "name": "roles",
2164
+ "outputs": [
2165
+ {
2166
+ "internalType": "uint256",
1084
2167
  "name": "",
1085
- "type": "bytes32"
2168
+ "type": "uint256"
1086
2169
  }
1087
2170
  ],
1088
- "stateMutability": "pure",
2171
+ "stateMutability": "view",
1089
2172
  "type": "function"
1090
2173
  },
1091
2174
  {
1092
2175
  "inputs": [
1093
2176
  {
1094
- "internalType": "NftId",
1095
- "name": "productNftId",
1096
- "type": "uint96"
2177
+ "internalType": "address",
2178
+ "name": "target",
2179
+ "type": "address"
1097
2180
  }
1098
2181
  ],
1099
- "name": "toProductKey",
2182
+ "name": "targetExists",
1100
2183
  "outputs": [
1101
2184
  {
1102
- "internalType": "Key32",
1103
- "name": "",
1104
- "type": "bytes32"
2185
+ "internalType": "bool",
2186
+ "name": "exists",
2187
+ "type": "bool"
1105
2188
  }
1106
2189
  ],
1107
- "stateMutability": "pure",
2190
+ "stateMutability": "view",
2191
+ "type": "function"
2192
+ },
2193
+ {
2194
+ "inputs": [],
2195
+ "name": "targets",
2196
+ "outputs": [
2197
+ {
2198
+ "internalType": "uint256",
2199
+ "name": "targetCount",
2200
+ "type": "uint256"
2201
+ }
2202
+ ],
2203
+ "stateMutability": "view",
1108
2204
  "type": "function"
1109
2205
  },
1110
2206
  {
1111
2207
  "inputs": [
1112
2208
  {
1113
- "internalType": "NftId",
1114
- "name": "distributionNftId",
1115
- "type": "uint96"
2209
+ "internalType": "bytes4",
2210
+ "name": "signature",
2211
+ "type": "bytes4"
1116
2212
  },
1117
2213
  {
1118
2214
  "internalType": "string",
1119
- "name": "referralCode",
2215
+ "name": "name",
1120
2216
  "type": "string"
1121
2217
  }
1122
2218
  ],
1123
- "name": "toReferralId",
2219
+ "name": "toFunction",
1124
2220
  "outputs": [
1125
2221
  {
1126
- "internalType": "ReferralId",
1127
- "name": "referralId",
1128
- "type": "bytes8"
2222
+ "components": [
2223
+ {
2224
+ "internalType": "Str",
2225
+ "name": "name",
2226
+ "type": "bytes32"
2227
+ },
2228
+ {
2229
+ "internalType": "Selector",
2230
+ "name": "selector",
2231
+ "type": "bytes4"
2232
+ },
2233
+ {
2234
+ "internalType": "Timestamp",
2235
+ "name": "createdAt",
2236
+ "type": "uint40"
2237
+ },
2238
+ {
2239
+ "internalType": "Blocknumber",
2240
+ "name": "lastUpdateIn",
2241
+ "type": "uint40"
2242
+ }
2243
+ ],
2244
+ "internalType": "struct IAccess.FunctionInfo",
2245
+ "name": "",
2246
+ "type": "tuple"
2247
+ }
2248
+ ],
2249
+ "stateMutability": "view",
2250
+ "type": "function"
2251
+ },
2252
+ {
2253
+ "inputs": [
2254
+ {
2255
+ "internalType": "UFixed",
2256
+ "name": "value",
2257
+ "type": "uint160"
2258
+ }
2259
+ ],
2260
+ "name": "toInt",
2261
+ "outputs": [
2262
+ {
2263
+ "internalType": "uint256",
2264
+ "name": "",
2265
+ "type": "uint256"
1129
2266
  }
1130
2267
  ],
1131
2268
  "stateMutability": "pure",
@@ -1135,16 +2272,21 @@
1135
2272
  "inputs": [
1136
2273
  {
1137
2274
  "internalType": "NftId",
1138
- "name": "productNftId",
2275
+ "name": "distributionNftId",
1139
2276
  "type": "uint96"
2277
+ },
2278
+ {
2279
+ "internalType": "string",
2280
+ "name": "referralCode",
2281
+ "type": "string"
1140
2282
  }
1141
2283
  ],
1142
- "name": "toTreasuryKey",
2284
+ "name": "toReferralId",
1143
2285
  "outputs": [
1144
2286
  {
1145
- "internalType": "Key32",
1146
- "name": "",
1147
- "type": "bytes32"
2287
+ "internalType": "ReferralId",
2288
+ "name": "referralId",
2289
+ "type": "bytes8"
1148
2290
  }
1149
2291
  ],
1150
2292
  "stateMutability": "pure",
@@ -1168,219 +2310,215 @@
1168
2310
  {
1169
2311
  "internalType": "UFixed",
1170
2312
  "name": "",
1171
- "type": "uint256"
2313
+ "type": "uint160"
1172
2314
  }
1173
2315
  ],
1174
2316
  "stateMutability": "pure",
1175
2317
  "type": "function"
1176
2318
  }
1177
2319
  ],
1178
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620032643803806200326483398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b612c5f80620006056000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea264697066735822122023eb925b574efc1062371b8a4c567556b6c71f049264413c1e3bc32a9f47595f64736f6c63430008140033",
1179
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea264697066735822122023eb925b574efc1062371b8a4c567556b6c71f049264413c1e3bc32a9f47595f64736f6c63430008140033",
2320
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b506153e6806100255f395ff3fe608060405234801561000f575f80fd5b5060043610610459575f3560e01c80636dddada411610242578063c6a0017911610140578063e444c3df116100bf578063f4809edd11610084578063f4809edd14610b68578063fad77c3b14610b7b578063fcad2c4b14610b8e578063fd80249214610ba1578063febe92af14610bc1575f80fd5b8063e444c3df14610ad9578063e98413ff14610af9578063f0b1d21014610b22578063f0ea17c314610b35578063f3ed991914610b55575f80fd5b8063d78a83b111610105578063d78a83b114610a7c578063db70354c14610a8f578063de7b5d1414610aa2578063dfbf164014610ab3578063e2eb023b14610ac6575f80fd5b8063c6a0017914610a26578063c71e261f14610a39578063c88105e614610a41578063d06458c614610a54578063d299bf6214610a74575f80fd5b8063887b1fa9116101cc578063a5961b4c11610191578063a5961b4c1461095b578063a7ef3d211461099f578063b82d7ef5146109bf578063ba579bdc146109f3578063bd7d9d8514610a06575f80fd5b8063887b1fa9146108ef5780638eb9000d1461090f5780639096a1f31461092257806394b9929b14610935578063a310e2a314610948575f80fd5b80637d8f1e81116102125780637d8f1e81146108a65780637e798669146108b95780637f0cf947146108c15780638129fc1c146108d457806387c73e5a146108dc575f80fd5b80636dddada41461085c5780636ebed9081461086d578063728a61a81461088057806378ae935014610893575f80fd5b8063311adb681161035a5780634a4fbeec116102d9578063605aa10a1161029e578063605aa10a146107ee5780636553994c1461080157806366c3bc95146108145780636791f7ab146108275780636a05a4131461083c575f80fd5b80634a4fbeec146107735780634d21a63d1461078657806357f80bbf146107995780635ab1bd53146107b95780635bfa5027146107ce575f80fd5b80633b046f091161031f5780633b046f09146106cc5780633f093cd6146106f25780633fd85561146107055780634793b4ab14610730578063480cebd114610750575f80fd5b8063311adb681461067a57806333fc7dee1461068b57806335471f801461069e578063380bd950146106b1578063392f5f64146106c4575f80fd5b80631488c845116103e657806324913ce6116103ab57806324913ce61461060b57806326d60fb41461062c57806327b1d792146106345780632c0cd060146106545780632f458a1114610667575f80fd5b80631488c8451461059257806315b74532146105a557806315fb0abb146105b85780631d3be477146105d8578063228e42ec146105f8575f80fd5b80630e0c586d1161042c5780630e0c586d146104f357806310bf267b14610518578063128817d41461053f57806312e1ebc51461055f57806313ab148d1461057f575f80fd5b80630232ca491461045d578063030149741461048d57806309648a9d146104ae5780630b5d931c146104d3575b5f80fd5b61047061046b36600461319d565b610be1565b6040516001600160601b0390911681526020015b60405180910390f35b6104a061049b3660046131cc565b610c5b565b604051908152602001610484565b6104c16104bc3660046131e7565b610cce565b60405160ff9091168152602001610484565b6104e66104e136600461319d565b610d3a565b6040516104849190613241565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610484565b61052b6105263660046132e8565b610df0565b60405162ffffff9091168152602001610484565b61055261054d36600461331f565b610e06565b6040516104849190613349565b61057261056d366004613372565b610e88565b60405161048491906133ad565b6104a061058d36600461319d565b610f1e565b6105006105a0366004613404565b610f57565b6104706105b33660046131e7565b610fd3565b6105cb6105c636600461365b565b611004565b60405161048491906136a7565b6105eb6105e6366004613702565b61109b565b604051610484919061374b565b61047061060636600461319d565b61114a565b61061e610619366004613809565b611183565b604051610484929190613825565b6104a0611224565b61064761064236600461319d565b611294565b6040516104849190613881565b61047061066236600461319d565b611327565b6104a061067536600461319d565b611347565b6002546001600160a01b0316610500565b6104a061069936600461319d565b611380565b6104a06106ac366004613372565b6113b9565b6104706106bf3660046138cd565b6113ea565b6104a0611466565b6106df6106da36600461319d565b6114ad565b60405161ffff9091168152602001610484565b6105526107003660046138e9565b6114c1565b6107186107133660046131e7565b611517565b6040516001600160401b039091168152602001610484565b61074361073e36600461319d565b61158a565b6040516104849190613926565b61076361075e36600461399a565b611646565b6040519015158152602001610484565b610763610781366004613372565b6116c2565b61050061079436600461319d565b61172e565b6107ac6107a736600461319d565b611795565b60405161048491906139c6565b5f5461010090046001600160a01b0316610500565b6107e16107dc3660046131cc565b61183c565b6040516104849190613a4c565b6107636107fc366004613372565b6118e7565b6104a061080f366004613702565b611919565b6107636108223660046131cc565b611949565b61083a610835366004613372565b611982565b005b61084f61084a36600461319d565b611dda565b6040516104849190613aca565b6005546001600160a01b0316610500565b61047061087b36600461331f565b611e57565b61050061088e3660046131e7565b611e97565b6104c16108a13660046132e8565b611f02565b6104c16108b436600461319d565b611ffe565b61047061200b565b6107636108cf36600461399a565b61207e565b61083a6120bf565b6107636108ea3660046131cc565b6120ed565b6109026108fd366004613702565b612126565b6040516104849190613b51565b61047061091d36600461319d565b6121ad565b6104c161093036600461319d565b6121e6565b6104a061094336600461319d565b612220565b61050061095636600461319d565b612259565b61096e6109693660046131e7565b6122f2565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff1690820152606001610484565b6109b26109ad3660046132e8565b612375565b6040516104849190613b8f565b6109d26109cd366004613702565b61242d565b604080516001600160a01b03909316835260ff909116602083015201610484565b610763610a0136600461319d565b6125a2565b610a19610a1436600461319d565b612600565b6040516104849190613c29565b610763610a343660046131cc565b6126f6565b6104a061272f565b6104c1610a4f36600461319d565b612776565b610a67610a62366004613702565b612792565b6040516104849190613d94565b610718612851565b610500610a8a366004613e72565b61285a565b610470610a9d36600461331f565b6128b0565b6001546001600160a01b0316610500565b610500610ac136600461319d565b6128f0565b6104a0610ad4366004613372565b612948565b610aec610ae736600461319d565b6129a1565b6040516104849190613e8e565b610b0c610b0736600461408e565b612aa4565b60405164ffffffffff9091168152602001610484565b610763610b303660046140ba565b612b36565b610b48610b4336600461319d565b612b7f565b60405161048491906140e6565b6104c1610b63366004614134565b612c06565b610552610b7636600461331f565b612c6d565b6106df610b893660046131e7565b612cad565b6104c1610b9c366004613702565b612d30565b610bb4610baf366004614134565b612dc6565b6040516104849190614160565b610bd4610bcf3660046131cc565b612e73565b60405161048491906141be565b600354604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610c31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c55919061428f565b92915050565b60025460405162c0525d60e21b81526001600160401b03831660048201525f916001600160a01b0316906303014974906024015b602060405180830381865afa158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5591906142aa565b6003546040516309648a9d60e01b8152600481018390525f916001600160a01b0316906309648a9d906024015b602060405180830381865afa158015610d16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5591906142da565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083019190915260e08201526004805492516302d764c760e21b81526001600160601b0385169181019190915290916001600160a01b031690630b5d931c906024015f60405180830381865afa158015610dc9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c55919081019061438c565b5f610dfb8383612375565b606001519392505050565b6006546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610e5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e819190614479565b9392505050565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526002546040516312e1ebc560e01b81526001600160a01b038481166004830152909116906312e1ebc59060240160a060405180830381865afa158015610efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5591906144ad565b6005546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d90602401610c8f565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610faf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e819190614527565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610c16565b604080516080810182525f80825260208201819052818301819052606082015290516315fb0abb60e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__906315fb0abb9061105c9086908690600401614542565b608060405180830381865af4158015611077573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8191906145c1565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a083019190915260c0820181905260e08201526003549151631d3be47760e01b815290916001600160a01b031690631d3be47790611109908590600401613349565b5f60405180830381865afa158015611123573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c55919081019061463d565b6003546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610c16565b604080516080810182525f8082526020820181905291810182905260608101919091526002546040516312489e7360e11b81526001600160a01b038581166004830152602482018590525f9216906324913ce69060440160a060405180830381865afa1580156111f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611219919061472a565b915091509250929050565b600254604080516309b583ed60e21b815290515f926001600160a01b0316916326d60fb49160048083019260209291908290030181865afa15801561126b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128f91906142aa565b905090565b604080516080810182525f808252602082018190528183015260608082015260035491516313d8ebc960e11b81526001600160601b038416600482015290916001600160a01b0316906327b1d792906024015f60405180830381865afa158015611300573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614755565b5f8061133283612600565b9050610e818160600151826101000151612f26565b600654604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610c8f565b6006546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610c8f565b600254604051626a8e3f60e71b81526001600160a01b0383811660048301525f9216906335471f8090602401610c8f565b6006546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa158015611442573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e81919061428f565b60025460408051630e4bd7d960e21b815290515f926001600160a01b03169163392f5f649160048083019260209291908290030181865afa15801561126b573d5f803e3d5ffd5b5f6114b782612600565b60c0015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906114fc90869086906004016147f4565b602060405180830381865af4158015610e5d573d5f803e3d5ffd5b600254604051633fd8556160e01b81526001600160401b03831660048201525f916001600160a01b031690633fd8556190602401602060405180830381865afa158015611566573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614815565b6115d16040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b600354604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b0390911690634793b4ab906024015f60405180830381865afa15801561161f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614870565b60025460405163480cebd160e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f92169063480cebd1906044015b602060405180830381865afa15801561169e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e819190614934565b600254604051629b7b3560e61b81526001600160a01b0383811660048301525f9216906326decd40906024015b602060405180830381865afa15801561170a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614934565b5f8061173983612b7f565b60208101519091506001600160a01b03161561178f5780602001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610faf573d5f803e3d5ffd5b50919050565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c082015260035491516357f80bbf60e01b81526001600160601b038416600482015290916001600160a01b0316906357f80bbf9060240160e060405180830381865afa158015611818573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c55919061494d565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152600254604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b0390911690635bfa50279060240160e060405180830381865afa1580156118c3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5591906149e5565b60025460405163302d508560e11b81526001600160a01b0383811660048301525f92169063605aa10a906024016116ef565b60065460405163380d295960e21b81525f916001600160a01b03169063e034a56490610c8f908590600401613349565b6002546040516366c3bc9560e01b81526001600160401b03831660048201525f916001600160a01b0316906366c3bc95906024016116ef565b5f5460ff16156119a55760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b03199091168117909155604080516306235b6d60e31b8152905163311adb68916004808201926020929091908290030181865afa158015611a0a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2e9190614527565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051635ab1bd5360e01b815290519190921691635ab1bd539160048083019260209291908290030181865afa158015611a8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aae9190614527565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611b0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b329190614527565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051635bd8162760e11b81529051919092169163b7b02c4e9160048083019260209291908290030181865afa158015611b8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb29190614527565b600480546001600160a01b0319166001600160a01b0392831617815560015460408051631b776b6960e21b815290519190931692636dddada492818101926020929091908290030181865afa158015611c0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c319190614527565b600580546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611c8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cb19190614527565b600680546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5091906142da565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db79190614527565b600780546001600160a01b0319166001600160a01b039290921691909117905550565b611de26130ae565b60048054604051636a05a41360e01b81526001600160601b038516928101929092526001600160a01b031690636a05a413906024016101c060405180830381865afa158015611e33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614a7a565b600554604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401611427565b600254604051630e514c3560e31b8152600481018390525f916001600160a01b03169063728a61a890602401602060405180830381865afa158015611ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614527565b60048054604051637d56159160e11b815261ffff8416928101929092526001600160601b03841660248301525f916001600160a01b03909116906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611f7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa191906142aa565b6040518263ffffffff1660e01b8152600401611fbf91815260200190565b602060405180830381865afa158015611fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8191906142da565b5f610c556104bc83612f86565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa15801561205a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128f919061428f565b600254604051637f0cf94760e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f921690637f0cf94790604401611683565b5f5460ff16156120e25760405163ae9eff1b60e01b815260040160405180910390fd5b6120eb33611982565b565b6002546040516343e39f2d60e11b81526001600160401b03831660048201525f916001600160a01b0316906387c73e5a906024016116ef565b60408051606080820183525f80835260208301528183015260048054925163887b1fa960e01b815291926001600160a01b03169163887b1fa99161216c91869101613349565b5f60405180830381865afa158015612186573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614b0b565b600354604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610c16565b6004545f906001600160a01b03166309648a9d61220284612fe2565b6040518263ffffffff1660e01b8152600401610cfb91815260200190565b6005546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610c8f565b60035460405163f0ea17c360e01b81526001600160601b03831660048201525f9182916001600160a01b039091169063f0ea17c3906024015f60405180830381865afa1580156122ab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122d29190810190614b9b565b60208101519091506001600160a01b03161561178f576020015192915050565b604080516060810182525f8082526020820181905281830152600354915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401606060405180830381865afa158015612351573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614c1c565b6040805160e0810182525f808252602082018190528183018190526060808301829052608083019190915260a0820181905260c082015260048054925163a7ef3d2160e01b81526001600160601b0386169181019190915261ffff8416602482015290916001600160a01b03169063a7ef3d21906044015f60405180830381865afa158015612406573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e819190810190614c7b565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612497573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124bb91906142da565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156124fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125229190614527565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa158015612575573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125999190614d64565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af415801561170a573d5f803e3d5ffd5b60408051610200810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830182905261012083018290526101408301829052610160830182905261018083018290526101a08301919091526101c082018190526101e082015260048054925163bd7d9d8560e01b81526001600160601b0385169181019190915290916001600160a01b03169063bd7d9d85906024015f60405180830381865afa1580156126cf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614d9c565b60025460405163c6a0017960e01b81526001600160401b03831660048201525f916001600160a01b03169063c6a00179906024016116ef565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561126b573d5f803e3d5ffd5b6004545f906001600160a01b03166309648a9d6122028461300e565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e0830191909152610100820181905261012082015260035491516368322c6360e11b815290916001600160a01b03169063d06458c690612810908590600401613349565b5f60405180830381865afa15801561282a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614f2f565b5f61128f61303a565b60025460405163d78a83b160e01b81526001600160401b0384166004820152602481018390525f916001600160a01b03169063d78a83b190604401602060405180830381865afa158015610faf573d5f803e3d5ffd5b6005546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c90604401611427565b5f806128fb83612259565b90506001600160a01b0381161561178f57806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610faf573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b906024015b602060405180830381865af4158015610caa573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820181905260e08201819052610100820181905261012082018190526101408201819052610160820181905261018082018190526101a082018190526101c082018190526101e08201819052610200820181905261022082015260048054925163e444c3df60e01b81526001600160601b0385169181019190915290916001600160a01b03169063e444c3df9060240161024060405180830381865afa158015612a80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190615050565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612acb8560016151c6565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612b12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8191906151e1565b6007546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611683565b604080518082018252606081525f6020820152600354915163f0ea17c360e01b81526001600160601b038416600482015290916001600160a01b03169063f0ea17c3906024015f60405180830381865afa158015612bdf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614b9b565b60048054604051632867b75960e21b815264ffffffffff8416928101929092526001600160601b03841660248301525f916001600160a01b03909116906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611f62565b60065460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610e42565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612cd38460016151fc565b6040518263ffffffff1660e01b8152600401612cf191815260200190565b602060405180830381865af4158015612d0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c55919061520f565b600480546040516355ee627560e01b81525f926001600160a01b03909216916309648a9d9173__$32e9ecefef68cb354d118e0496fdd3f4bc$__916355ee627591612d87916001600160c01b031989169101613349565b602060405180830381865af4158015612da2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220291906142aa565b6040805160a0810182525f808252602082018190528183018190526060808301919091526080820152600480549251637ec0124960e11b81526001600160601b0386169181019190915264ffffffffff8416602482015290916001600160a01b03169063fd802492906044015f60405180830381865afa158015612e4c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e81919081019061522a565b60408051610100810182525f808252602082018190528183018190526060808301829052608083019190915260a0820181905260c0820181905260e0820152600354915163febe92af60e01b81526001600160401b038416600482015290916001600160a01b03169063febe92af906024015f60405180830381865afa158015612eff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c5591908101906152e0565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611442573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401612986565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015612fae565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b612fae565b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af415801561308a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128f9190614815565b6040805161012081019091525f60e08201818152610100830191909152819081526020016130eb604080518082019091525f808252602082015290565b8152602001613109604080518082019091525f808252602082015290565b8152602001613127604080518082019091525f808252602082015290565b8152602001613145604080518082019091525f808252602082015290565b8152602001613163604080518082019091525f808252602082015290565b8152602001613181604080518082019091525f808252602082015290565b905290565b6001600160601b038116811461319a575f80fd5b50565b5f602082840312156131ad575f80fd5b8135610e8181613186565b6001600160401b038116811461319a575f80fd5b5f602082840312156131dc575f80fd5b8135610e81816131b8565b5f602082840312156131f7575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156132375781516001600160601b0316865260209586019590910190600101613210565b5093949350505050565b602081528151151560208201526020820151151560408201525f604083015161326e606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526132d16101208401826131fe565b949350505050565b61ffff8116811461319a575f80fd5b5f80604083850312156132f9575f80fd5b823561330481613186565b91506020830135613314816132d9565b809150509250929050565b5f8060408385031215613330575f80fd5b823561333b81613186565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b038116811461319a575f80fd5b5f60208284031215613382575f80fd5b8135610e818161335e565b600881106133a957634e487b7160e01b5f52602160045260245ffd5b9052565b8151815260208083015160a08301916133c89084018261338d565b506001600160401b03604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015292915050565b5f8060408385031215613415575f80fd5b8235915060208301355f81900b8114613314575f80fd5b6001600160e01b03198116811461319a575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171561347857613478613441565b60405290565b60405160a081016001600160401b038111828210171561347857613478613441565b604051608081016001600160401b038111828210171561347857613478613441565b604080519081016001600160401b038111828210171561347857613478613441565b60405160c081016001600160401b038111828210171561347857613478613441565b60405160e081016001600160401b038111828210171561347857613478613441565b604051606081016001600160401b038111828210171561347857613478613441565b60405161020081016001600160401b038111828210171561347857613478613441565b60405161014081016001600160401b038111828210171561347857613478613441565b60405161024081016001600160401b038111828210171561347857613478613441565b604051601f8201601f191681016001600160401b03811182821017156135db576135db613441565b604052919050565b5f6001600160401b038211156135fb576135fb613441565b50601f01601f191660200190565b5f82601f830112613618575f80fd5b813561362b613626826135e3565b6135b3565b81815284602083860101111561363f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f806040838503121561366c575f80fd5b82356136778161342c565b915060208301356001600160401b03811115613691575f80fd5b61369d85828601613609565b9150509250929050565b60808101610c5582848051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b6001600160c01b03198116811461319a575f80fd5b5f60208284031215613712575f80fd5b8135610e81816136ed565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161377a60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526137e261012084018261371d565b905060e0840151601f1984830301610100850152613800828261371d565b95945050505050565b5f806040838503121561381a575f80fd5b823561333b8161335e565b60a0810161386b82858051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b6001600160401b03831660808301529392505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f60608301516080808401526132d160a084018261371d565b5f80604083850312156138de575f80fd5b823561333b816136ed565b5f80604083850312156138fa575f80fd5b823561367781613186565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161398060a0840182613905565b5060a083015160e0808401526132d161010084018261371d565b5f80604083850312156139ab575f80fd5b82356139b6816131b8565b915060208301356133148161335e565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151613a1d608084018215159052565b5060a0830151613a3160a084018215159052565b5060c0830151613a4560c084018215159052565b5092915050565b81516001600160401b0316815260208083015160e0830191613a709084018261338d565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a0830151613abb60a084018264ffffffffff169052565b5060c092830151919092015290565b5f6101c082019050613add828451613905565b6020830151613aef6040840182613905565b506040830151613b026080840182613905565b506060830151613b1560c0840182613905565b506080830151613b29610100840182613905565b5060a0830151613b3d610140840182613905565b5060c0830151613a45610180840182613905565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526132d1608084018261371d565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613bcf606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613c0c61010084018261371d565b905060c0840151601f198483030160e0850152613800828261371d565b60208152613c436020820183516001600160601b03169052565b5f6020830151613c5e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613d7561022084018261371d565b90506101e0840151601f1984830301610200850152613800828261371d565b60208152613dae6020820183516001600160a01b03169052565b5f6020830151613dc960408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613e5361016084018261371d565b9050610120840151601f1984830301610140850152613800828261371d565b5f8060408385031215613e83575f80fd5b823561333b816131b8565b81516001600160601b0316815261024081016020830151613eba60208401826001600160601b03169052565b506040830151613ed560408401826001600160601b03169052565b506060830151613ef060608401826001600160601b03169052565b506080830151613f0b60808401826001600160601b03169052565b5060a0830151613f2660a08401826001600160601b03169052565b5060c0830151613f4160c08401826001600160601b03169052565b5060e0830151613f5c60e08401826001600160601b03169052565b50610100830151613f796101008401826001600160601b03169052565b50610120830151613f966101208401826001600160601b03169052565b50610140830151613fb36101408401826001600160601b03169052565b50610160830151613fd06101608401826001600160601b03169052565b50610180830151613fed6101808401826001600160601b03169052565b506101a083015161400a6101a08401826001600160601b03169052565b506101c08301516140276101c08401826001600160601b03169052565b506101e08301516140446101e08401826001600160601b03169052565b506102008301516140616102008401826001600160601b03169052565b50610220830151613a456102208401826001600160601b03169052565b62ffffff8116811461319a575f80fd5b5f806040838503121561409f575f80fd5b82356140aa816132d9565b915060208301356133148161407e565b5f80604083850312156140cb575f80fd5b82356140d681613186565b91506020830135613314816136ed565b602081525f825160406020840152614101606084018261371d565b602094909401516001600160a01b0316604093909301929092525090919050565b64ffffffffff8116811461319a575f80fd5b5f8060408385031215614145575f80fd5b823561415081613186565b9150602083013561331481614122565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a0808401526132d160c084018261371d565b602081526141d86020820183516001600160601b03169052565b5f60208301516141f360408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c084015261424361012084018261371d565b905060c0840151601f198483030160e0850152614260828261371d565b91505060e0840151601f1984830301610100850152613800828261371d565b805161428a81613186565b919050565b5f6020828403121561429f575f80fd5b8151610e8181613186565b5f602082840312156142ba575f80fd5b5051919050565b60ff8116811461319a575f80fd5b805161428a816142c1565b5f602082840312156142ea575f80fd5b8151610e81816142c1565b8051801515811461428a575f80fd5b5f82601f830112614313575f80fd5b81516001600160401b0381111561432c5761432c613441565b8060051b61433c602082016135b3565b91825260208185018101929081019086841115614357575f80fd5b6020860192505b8383101561438257825161437181613186565b82526020928301929091019061435e565b9695505050505050565b5f6020828403121561439c575f80fd5b81516001600160401b038111156143b1575f80fd5b820161010081850312156143c3575f80fd5b6143cb613455565b6143d4826142f5565b81526143e2602083016142f5565b60208201526143f3604083016142f5565b6040820152614404606083016142cf565b6060820152614415608083016142cf565b608082015261442660a0830161427f565b60a082015261443760c0830161427f565b60c082015260e08201516001600160401b03811115614454575f80fd5b61446086828501614304565b60e083015250949350505050565b805161428a816136ed565b5f60208284031215614489575f80fd5b8151610e81816136ed565b80516008811061428a575f80fd5b805161428a81614122565b5f60a08284031280156144be575f80fd5b506144c761347e565b825181526144d760208401614494565b602082015260408301516144ea816131b8565b604082015260608301516144fd81614122565b6060820152608083015161451081614122565b60808201529392505050565b805161428a8161335e565b5f60208284031215614537575f80fd5b8151610e818161335e565b63ffffffff60e01b83168152604060208201525f6132d1604083018461371d565b5f60808284031215614573575f80fd5b61457b6134a0565b8251815260208301519091506145908161342c565b602082015260408201516145a381614122565b604082015260608201516145b681614122565b606082015292915050565b5f608082840312156145d1575f80fd5b610e818383614563565b805163ffffffff8116811461428a575f80fd5b5f82601f8301126145fd575f80fd5b8151602083015f614610613626846135e3565b9050828152858383011115614623575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561464d575f80fd5b81516001600160401b03811115614662575f80fd5b82016101008185031215614674575f80fd5b61467c613455565b6146858261427f565b81526146936020830161427f565b60208201526146a4604083016145db565b60408201526146b5606083016145db565b60608201526146c66080830161451c565b60808201526146d760a083016144a2565b60a082015260c08201516001600160401b038111156146f4575f80fd5b614700868285016145ee565b60c08301525060e08201516001600160401b0381111561471e575f80fd5b614460868285016145ee565b5f8060a0838503121561473b575f80fd5b6147458484614563565b91506080830151613314816131b8565b5f60208284031215614765575f80fd5b81516001600160401b0381111561477a575f80fd5b82016080818503121561478b575f80fd5b6147936134a0565b815161479e816136ed565b81526147ac602083016142f5565b60208201526147bd604083016145db565b604082015260608201516001600160401b038111156147da575f80fd5b6147e6868285016145ee565b606083015250949350505050565b6001600160601b0383168152604060208201525f6132d1604083018461371d565b5f60208284031215614825575f80fd5b8151610e81816131b8565b5f60408284031215614840575f80fd5b6148486134c2565b905081516148558161335e565b8152602082015161486581613186565b602082015292915050565b5f60208284031215614880575f80fd5b81516001600160401b03811115614895575f80fd5b820160e081850312156148a6575f80fd5b6148ae6134e4565b81516148b981614122565b815260208201516148c981614122565b60208201526148da604083016144a2565b60408201526148eb6060830161427f565b60608201526148fd8560808401614830565b608082015260c08201516001600160401b0381111561491a575f80fd5b614926868285016145ee565b60a083015250949350505050565b5f60208284031215614944575f80fd5b610e81826142f5565b5f60e082840312801561495e575f80fd5b50614967613506565b825161497281613186565b815260208301516149828161335e565b602082015260408301516149958161335e565b60408201526149a6606084016142f5565b60608201526149b7608084016142f5565b60808201526149c860a084016142f5565b60a08201526149d960c084016142f5565b60c08201529392505050565b5f60e08284031280156149f6575f80fd5b506149ff613506565b8251614a0a816131b8565b8152614a1860208401614494565b6020820152614a29604084016145db565b60408201526060830151614a3c81614122565b60608201526080830151614a4f81614122565b608082015260a0830151614a6281614122565b60a082015260c0928301519281019290925250919050565b5f6101c0828403128015614a8c575f80fd5b50614a95613506565b614a9f8484614830565b8152614aae8460408501614830565b6020820152614ac08460808501614830565b6040820152614ad28460c08501614830565b6060820152614ae5846101008501614830565b6080820152614af8846101408501614830565b60a08201526149d9846101808501614830565b5f60208284031215614b1b575f80fd5b81516001600160401b03811115614b30575f80fd5b820160608185031215614b41575f80fd5b614b49613528565b8151614b5481613186565b81526020820151614b6481614122565b602082015260408201516001600160401b03811115614b81575f80fd5b614b8d868285016145ee565b604083015250949350505050565b5f60208284031215614bab575f80fd5b81516001600160401b03811115614bc0575f80fd5b820160408185031215614bd1575f80fd5b614bd96134c2565b81516001600160401b03811115614bee575f80fd5b614bfa868285016145ee565b82525060208201519150614c0d8261335e565b60208101919091529392505050565b5f6060828403128015614c2d575f80fd5b50614c36613528565b8251614c41816142c1565b81526020830151614c51816142c1565b60208201526040830151614c6481614122565b60408201529392505050565b805161428a8161407e565b5f60208284031215614c8b575f80fd5b81516001600160401b03811115614ca0575f80fd5b820160e08185031215614cb1575f80fd5b614cb9613506565b614cc28261427f565b8152614cd06020830161427f565b6020820152614ce1604083016144a2565b6040820152614cf260608301614c70565b6060820152614d0360808301614c70565b608082015260a08201516001600160401b03811115614d20575f80fd5b614d2c868285016145ee565b60a08301525060c08201516001600160401b03811115614d4a575f80fd5b614d56868285016145ee565b60c083015250949350505050565b5f8060408385031215614d75575f80fd5b8251614d808161335e565b6020840151909250613314816142c1565b805161428a816132d9565b5f60208284031215614dac575f80fd5b81516001600160401b03811115614dc1575f80fd5b82016102008185031215614dd3575f80fd5b614ddb61354a565b614de48261427f565b8152614df26020830161427f565b6020820152614e036040830161446e565b6040820152614e146060830161427f565b6060820152614e256080830161427f565b6080820152614e3660a0830161446e565b60a0820152614e4760c08301614d91565b60c0820152614e5860e08301614d91565b60e0820152614e6a610100830161427f565b610100820152614e7d610120830161427f565b610120820152614e9061014083016144a2565b610140820152614ea361016083016144a2565b610160820152614eb661018083016144a2565b610180820152614ec96101a083016144a2565b6101a08201526101c08201516001600160401b03811115614ee8575f80fd5b614ef4868285016145ee565b6101c0830152506101e08201516001600160401b03811115614f14575f80fd5b614f20868285016145ee565b6101e083015250949350505050565b5f60208284031215614f3f575f80fd5b81516001600160401b03811115614f54575f80fd5b82016101408185031215614f66575f80fd5b614f6e61356d565b614f778261451c565b8152614f856020830161427f565b6020820152614f966040830161451c565b6040820152614fa7606083016145db565b6060820152614fb8608083016144a2565b6080820152614fc960a083016142f5565b60a0820152614fda60c083016142f5565b60c0820152614feb60e0830161451c565b60e08201526101008201516001600160401b03811115615009575f80fd5b615015868285016145ee565b610100830152506101208201516001600160401b03811115615035575f80fd5b615041868285016145ee565b61012083015250949350505050565b5f610240828403128015615062575f80fd5b5061506b613590565b6150748361427f565b81526150826020840161427f565b60208201526150936040840161427f565b60408201526150a46060840161427f565b60608201526150b56080840161427f565b60808201526150c660a0840161427f565b60a08201526150d760c0840161427f565b60c08201526150e860e0840161427f565b60e08201526150fa610100840161427f565b61010082015261510d610120840161427f565b610120820152615120610140840161427f565b610140820152615133610160840161427f565b610160820152615146610180840161427f565b6101808201526151596101a0840161427f565b6101a082015261516c6101c0840161427f565b6101c082015261517f6101e0840161427f565b6101e0820152615192610200840161427f565b6102008201526151a5610220840161427f565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610c5557610c556151b2565b5f602082840312156151f1575f80fd5b8151610e8181614122565b80820180821115610c5557610c556151b2565b5f6020828403121561521f575f80fd5b8151610e81816132d9565b5f6020828403121561523a575f80fd5b81516001600160401b0381111561524f575f80fd5b820160a08185031215615260575f80fd5b61526861347e565b8151615273816132d9565b8152602082015161528381613186565b6020820152604082015161529681614122565b604082015260608201516152a98161335e565b606082015260808201516001600160401b038111156152c6575f80fd5b6152d2868285016145ee565b608083015250949350505050565b5f602082840312156152f0575f80fd5b81516001600160401b03811115615305575f80fd5b82016101008185031215615317575f80fd5b61531f613455565b6153288261427f565b81526153366020830161427f565b6020820152615347604083016142f5565b6040820152615358606083016144a2565b6060820152615369608083016144a2565b608082015260a08201516001600160401b03811115615386575f80fd5b615392868285016145ee565b60a08301525060c08201516001600160401b038111156146f4575f80fdfea264697066735822122091a3534b091ee78bcb172a3b6b9992d4b683215717388e60690f770755bcd8bf64736f6c634300081a0033",
2321
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610459575f3560e01c80636dddada411610242578063c6a0017911610140578063e444c3df116100bf578063f4809edd11610084578063f4809edd14610b68578063fad77c3b14610b7b578063fcad2c4b14610b8e578063fd80249214610ba1578063febe92af14610bc1575f80fd5b8063e444c3df14610ad9578063e98413ff14610af9578063f0b1d21014610b22578063f0ea17c314610b35578063f3ed991914610b55575f80fd5b8063d78a83b111610105578063d78a83b114610a7c578063db70354c14610a8f578063de7b5d1414610aa2578063dfbf164014610ab3578063e2eb023b14610ac6575f80fd5b8063c6a0017914610a26578063c71e261f14610a39578063c88105e614610a41578063d06458c614610a54578063d299bf6214610a74575f80fd5b8063887b1fa9116101cc578063a5961b4c11610191578063a5961b4c1461095b578063a7ef3d211461099f578063b82d7ef5146109bf578063ba579bdc146109f3578063bd7d9d8514610a06575f80fd5b8063887b1fa9146108ef5780638eb9000d1461090f5780639096a1f31461092257806394b9929b14610935578063a310e2a314610948575f80fd5b80637d8f1e81116102125780637d8f1e81146108a65780637e798669146108b95780637f0cf947146108c15780638129fc1c146108d457806387c73e5a146108dc575f80fd5b80636dddada41461085c5780636ebed9081461086d578063728a61a81461088057806378ae935014610893575f80fd5b8063311adb681161035a5780634a4fbeec116102d9578063605aa10a1161029e578063605aa10a146107ee5780636553994c1461080157806366c3bc95146108145780636791f7ab146108275780636a05a4131461083c575f80fd5b80634a4fbeec146107735780634d21a63d1461078657806357f80bbf146107995780635ab1bd53146107b95780635bfa5027146107ce575f80fd5b80633b046f091161031f5780633b046f09146106cc5780633f093cd6146106f25780633fd85561146107055780634793b4ab14610730578063480cebd114610750575f80fd5b8063311adb681461067a57806333fc7dee1461068b57806335471f801461069e578063380bd950146106b1578063392f5f64146106c4575f80fd5b80631488c845116103e657806324913ce6116103ab57806324913ce61461060b57806326d60fb41461062c57806327b1d792146106345780632c0cd060146106545780632f458a1114610667575f80fd5b80631488c8451461059257806315b74532146105a557806315fb0abb146105b85780631d3be477146105d8578063228e42ec146105f8575f80fd5b80630e0c586d1161042c5780630e0c586d146104f357806310bf267b14610518578063128817d41461053f57806312e1ebc51461055f57806313ab148d1461057f575f80fd5b80630232ca491461045d578063030149741461048d57806309648a9d146104ae5780630b5d931c146104d3575b5f80fd5b61047061046b36600461319d565b610be1565b6040516001600160601b0390911681526020015b60405180910390f35b6104a061049b3660046131cc565b610c5b565b604051908152602001610484565b6104c16104bc3660046131e7565b610cce565b60405160ff9091168152602001610484565b6104e66104e136600461319d565b610d3a565b6040516104849190613241565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610484565b61052b6105263660046132e8565b610df0565b60405162ffffff9091168152602001610484565b61055261054d36600461331f565b610e06565b6040516104849190613349565b61057261056d366004613372565b610e88565b60405161048491906133ad565b6104a061058d36600461319d565b610f1e565b6105006105a0366004613404565b610f57565b6104706105b33660046131e7565b610fd3565b6105cb6105c636600461365b565b611004565b60405161048491906136a7565b6105eb6105e6366004613702565b61109b565b604051610484919061374b565b61047061060636600461319d565b61114a565b61061e610619366004613809565b611183565b604051610484929190613825565b6104a0611224565b61064761064236600461319d565b611294565b6040516104849190613881565b61047061066236600461319d565b611327565b6104a061067536600461319d565b611347565b6002546001600160a01b0316610500565b6104a061069936600461319d565b611380565b6104a06106ac366004613372565b6113b9565b6104706106bf3660046138cd565b6113ea565b6104a0611466565b6106df6106da36600461319d565b6114ad565b60405161ffff9091168152602001610484565b6105526107003660046138e9565b6114c1565b6107186107133660046131e7565b611517565b6040516001600160401b039091168152602001610484565b61074361073e36600461319d565b61158a565b6040516104849190613926565b61076361075e36600461399a565b611646565b6040519015158152602001610484565b610763610781366004613372565b6116c2565b61050061079436600461319d565b61172e565b6107ac6107a736600461319d565b611795565b60405161048491906139c6565b5f5461010090046001600160a01b0316610500565b6107e16107dc3660046131cc565b61183c565b6040516104849190613a4c565b6107636107fc366004613372565b6118e7565b6104a061080f366004613702565b611919565b6107636108223660046131cc565b611949565b61083a610835366004613372565b611982565b005b61084f61084a36600461319d565b611dda565b6040516104849190613aca565b6005546001600160a01b0316610500565b61047061087b36600461331f565b611e57565b61050061088e3660046131e7565b611e97565b6104c16108a13660046132e8565b611f02565b6104c16108b436600461319d565b611ffe565b61047061200b565b6107636108cf36600461399a565b61207e565b61083a6120bf565b6107636108ea3660046131cc565b6120ed565b6109026108fd366004613702565b612126565b6040516104849190613b51565b61047061091d36600461319d565b6121ad565b6104c161093036600461319d565b6121e6565b6104a061094336600461319d565b612220565b61050061095636600461319d565b612259565b61096e6109693660046131e7565b6122f2565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff1690820152606001610484565b6109b26109ad3660046132e8565b612375565b6040516104849190613b8f565b6109d26109cd366004613702565b61242d565b604080516001600160a01b03909316835260ff909116602083015201610484565b610763610a0136600461319d565b6125a2565b610a19610a1436600461319d565b612600565b6040516104849190613c29565b610763610a343660046131cc565b6126f6565b6104a061272f565b6104c1610a4f36600461319d565b612776565b610a67610a62366004613702565b612792565b6040516104849190613d94565b610718612851565b610500610a8a366004613e72565b61285a565b610470610a9d36600461331f565b6128b0565b6001546001600160a01b0316610500565b610500610ac136600461319d565b6128f0565b6104a0610ad4366004613372565b612948565b610aec610ae736600461319d565b6129a1565b6040516104849190613e8e565b610b0c610b0736600461408e565b612aa4565b60405164ffffffffff9091168152602001610484565b610763610b303660046140ba565b612b36565b610b48610b4336600461319d565b612b7f565b60405161048491906140e6565b6104c1610b63366004614134565b612c06565b610552610b7636600461331f565b612c6d565b6106df610b893660046131e7565b612cad565b6104c1610b9c366004613702565b612d30565b610bb4610baf366004614134565b612dc6565b6040516104849190614160565b610bd4610bcf3660046131cc565b612e73565b60405161048491906141be565b600354604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610c31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c55919061428f565b92915050565b60025460405162c0525d60e21b81526001600160401b03831660048201525f916001600160a01b0316906303014974906024015b602060405180830381865afa158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5591906142aa565b6003546040516309648a9d60e01b8152600481018390525f916001600160a01b0316906309648a9d906024015b602060405180830381865afa158015610d16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5591906142da565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083019190915260e08201526004805492516302d764c760e21b81526001600160601b0385169181019190915290916001600160a01b031690630b5d931c906024015f60405180830381865afa158015610dc9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c55919081019061438c565b5f610dfb8383612375565b606001519392505050565b6006546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610e5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e819190614479565b9392505050565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526002546040516312e1ebc560e01b81526001600160a01b038481166004830152909116906312e1ebc59060240160a060405180830381865afa158015610efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5591906144ad565b6005546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d90602401610c8f565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610faf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e819190614527565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610c16565b604080516080810182525f80825260208201819052818301819052606082015290516315fb0abb60e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__906315fb0abb9061105c9086908690600401614542565b608060405180830381865af4158015611077573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8191906145c1565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a083019190915260c0820181905260e08201526003549151631d3be47760e01b815290916001600160a01b031690631d3be47790611109908590600401613349565b5f60405180830381865afa158015611123573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c55919081019061463d565b6003546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610c16565b604080516080810182525f8082526020820181905291810182905260608101919091526002546040516312489e7360e11b81526001600160a01b038581166004830152602482018590525f9216906324913ce69060440160a060405180830381865afa1580156111f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611219919061472a565b915091509250929050565b600254604080516309b583ed60e21b815290515f926001600160a01b0316916326d60fb49160048083019260209291908290030181865afa15801561126b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128f91906142aa565b905090565b604080516080810182525f808252602082018190528183015260608082015260035491516313d8ebc960e11b81526001600160601b038416600482015290916001600160a01b0316906327b1d792906024015f60405180830381865afa158015611300573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614755565b5f8061133283612600565b9050610e818160600151826101000151612f26565b600654604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610c8f565b6006546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610c8f565b600254604051626a8e3f60e71b81526001600160a01b0383811660048301525f9216906335471f8090602401610c8f565b6006546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa158015611442573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e81919061428f565b60025460408051630e4bd7d960e21b815290515f926001600160a01b03169163392f5f649160048083019260209291908290030181865afa15801561126b573d5f803e3d5ffd5b5f6114b782612600565b60c0015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906114fc90869086906004016147f4565b602060405180830381865af4158015610e5d573d5f803e3d5ffd5b600254604051633fd8556160e01b81526001600160401b03831660048201525f916001600160a01b031690633fd8556190602401602060405180830381865afa158015611566573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614815565b6115d16040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b600354604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b0390911690634793b4ab906024015f60405180830381865afa15801561161f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614870565b60025460405163480cebd160e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f92169063480cebd1906044015b602060405180830381865afa15801561169e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e819190614934565b600254604051629b7b3560e61b81526001600160a01b0383811660048301525f9216906326decd40906024015b602060405180830381865afa15801561170a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614934565b5f8061173983612b7f565b60208101519091506001600160a01b03161561178f5780602001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610faf573d5f803e3d5ffd5b50919050565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c082015260035491516357f80bbf60e01b81526001600160601b038416600482015290916001600160a01b0316906357f80bbf9060240160e060405180830381865afa158015611818573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c55919061494d565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152600254604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b0390911690635bfa50279060240160e060405180830381865afa1580156118c3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5591906149e5565b60025460405163302d508560e11b81526001600160a01b0383811660048301525f92169063605aa10a906024016116ef565b60065460405163380d295960e21b81525f916001600160a01b03169063e034a56490610c8f908590600401613349565b6002546040516366c3bc9560e01b81526001600160401b03831660048201525f916001600160a01b0316906366c3bc95906024016116ef565b5f5460ff16156119a55760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b03199091168117909155604080516306235b6d60e31b8152905163311adb68916004808201926020929091908290030181865afa158015611a0a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2e9190614527565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051635ab1bd5360e01b815290519190921691635ab1bd539160048083019260209291908290030181865afa158015611a8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aae9190614527565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611b0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b329190614527565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051635bd8162760e11b81529051919092169163b7b02c4e9160048083019260209291908290030181865afa158015611b8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb29190614527565b600480546001600160a01b0319166001600160a01b0392831617815560015460408051631b776b6960e21b815290519190931692636dddada492818101926020929091908290030181865afa158015611c0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c319190614527565b600580546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611c8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cb19190614527565b600680546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5091906142da565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db79190614527565b600780546001600160a01b0319166001600160a01b039290921691909117905550565b611de26130ae565b60048054604051636a05a41360e01b81526001600160601b038516928101929092526001600160a01b031690636a05a413906024016101c060405180830381865afa158015611e33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614a7a565b600554604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401611427565b600254604051630e514c3560e31b8152600481018390525f916001600160a01b03169063728a61a890602401602060405180830381865afa158015611ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614527565b60048054604051637d56159160e11b815261ffff8416928101929092526001600160601b03841660248301525f916001600160a01b03909116906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611f7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa191906142aa565b6040518263ffffffff1660e01b8152600401611fbf91815260200190565b602060405180830381865afa158015611fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8191906142da565b5f610c556104bc83612f86565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa15801561205a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128f919061428f565b600254604051637f0cf94760e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f921690637f0cf94790604401611683565b5f5460ff16156120e25760405163ae9eff1b60e01b815260040160405180910390fd5b6120eb33611982565b565b6002546040516343e39f2d60e11b81526001600160401b03831660048201525f916001600160a01b0316906387c73e5a906024016116ef565b60408051606080820183525f80835260208301528183015260048054925163887b1fa960e01b815291926001600160a01b03169163887b1fa99161216c91869101613349565b5f60405180830381865afa158015612186573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614b0b565b600354604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610c16565b6004545f906001600160a01b03166309648a9d61220284612fe2565b6040518263ffffffff1660e01b8152600401610cfb91815260200190565b6005546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610c8f565b60035460405163f0ea17c360e01b81526001600160601b03831660048201525f9182916001600160a01b039091169063f0ea17c3906024015f60405180830381865afa1580156122ab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122d29190810190614b9b565b60208101519091506001600160a01b03161561178f576020015192915050565b604080516060810182525f8082526020820181905281830152600354915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401606060405180830381865afa158015612351573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190614c1c565b6040805160e0810182525f808252602082018190528183018190526060808301829052608083019190915260a0820181905260c082015260048054925163a7ef3d2160e01b81526001600160601b0386169181019190915261ffff8416602482015290916001600160a01b03169063a7ef3d21906044015f60405180830381865afa158015612406573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e819190810190614c7b565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612497573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124bb91906142da565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156124fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125229190614527565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa158015612575573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125999190614d64565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af415801561170a573d5f803e3d5ffd5b60408051610200810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830182905261012083018290526101408301829052610160830182905261018083018290526101a08301919091526101c082018190526101e082015260048054925163bd7d9d8560e01b81526001600160601b0385169181019190915290916001600160a01b03169063bd7d9d85906024015f60405180830381865afa1580156126cf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614d9c565b60025460405163c6a0017960e01b81526001600160401b03831660048201525f916001600160a01b03169063c6a00179906024016116ef565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561126b573d5f803e3d5ffd5b6004545f906001600160a01b03166309648a9d6122028461300e565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e0830191909152610100820181905261012082015260035491516368322c6360e11b815290916001600160a01b03169063d06458c690612810908590600401613349565b5f60405180830381865afa15801561282a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614f2f565b5f61128f61303a565b60025460405163d78a83b160e01b81526001600160401b0384166004820152602481018390525f916001600160a01b03169063d78a83b190604401602060405180830381865afa158015610faf573d5f803e3d5ffd5b6005546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c90604401611427565b5f806128fb83612259565b90506001600160a01b0381161561178f57806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610faf573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b906024015b602060405180830381865af4158015610caa573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820181905260e08201819052610100820181905261012082018190526101408201819052610160820181905261018082018190526101a082018190526101c082018190526101e08201819052610200820181905261022082015260048054925163e444c3df60e01b81526001600160601b0385169181019190915290916001600160a01b03169063e444c3df9060240161024060405180830381865afa158015612a80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c559190615050565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612acb8560016151c6565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612b12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8191906151e1565b6007546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611683565b604080518082018252606081525f6020820152600354915163f0ea17c360e01b81526001600160601b038416600482015290916001600160a01b03169063f0ea17c3906024015f60405180830381865afa158015612bdf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c559190810190614b9b565b60048054604051632867b75960e21b815264ffffffffff8416928101929092526001600160601b03841660248301525f916001600160a01b03909116906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611f62565b60065460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610e42565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612cd38460016151fc565b6040518263ffffffff1660e01b8152600401612cf191815260200190565b602060405180830381865af4158015612d0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c55919061520f565b600480546040516355ee627560e01b81525f926001600160a01b03909216916309648a9d9173__$32e9ecefef68cb354d118e0496fdd3f4bc$__916355ee627591612d87916001600160c01b031989169101613349565b602060405180830381865af4158015612da2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220291906142aa565b6040805160a0810182525f808252602082018190528183018190526060808301919091526080820152600480549251637ec0124960e11b81526001600160601b0386169181019190915264ffffffffff8416602482015290916001600160a01b03169063fd802492906044015f60405180830381865afa158015612e4c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e81919081019061522a565b60408051610100810182525f808252602082018190528183018190526060808301829052608083019190915260a0820181905260c0820181905260e0820152600354915163febe92af60e01b81526001600160401b038416600482015290916001600160a01b03169063febe92af906024015f60405180830381865afa158015612eff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c5591908101906152e0565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611442573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401612986565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015612fae565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b612fae565b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af415801561308a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128f9190614815565b6040805161012081019091525f60e08201818152610100830191909152819081526020016130eb604080518082019091525f808252602082015290565b8152602001613109604080518082019091525f808252602082015290565b8152602001613127604080518082019091525f808252602082015290565b8152602001613145604080518082019091525f808252602082015290565b8152602001613163604080518082019091525f808252602082015290565b8152602001613181604080518082019091525f808252602082015290565b905290565b6001600160601b038116811461319a575f80fd5b50565b5f602082840312156131ad575f80fd5b8135610e8181613186565b6001600160401b038116811461319a575f80fd5b5f602082840312156131dc575f80fd5b8135610e81816131b8565b5f602082840312156131f7575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156132375781516001600160601b0316865260209586019590910190600101613210565b5093949350505050565b602081528151151560208201526020820151151560408201525f604083015161326e606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526132d16101208401826131fe565b949350505050565b61ffff8116811461319a575f80fd5b5f80604083850312156132f9575f80fd5b823561330481613186565b91506020830135613314816132d9565b809150509250929050565b5f8060408385031215613330575f80fd5b823561333b81613186565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b038116811461319a575f80fd5b5f60208284031215613382575f80fd5b8135610e818161335e565b600881106133a957634e487b7160e01b5f52602160045260245ffd5b9052565b8151815260208083015160a08301916133c89084018261338d565b506001600160401b03604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015292915050565b5f8060408385031215613415575f80fd5b8235915060208301355f81900b8114613314575f80fd5b6001600160e01b03198116811461319a575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171561347857613478613441565b60405290565b60405160a081016001600160401b038111828210171561347857613478613441565b604051608081016001600160401b038111828210171561347857613478613441565b604080519081016001600160401b038111828210171561347857613478613441565b60405160c081016001600160401b038111828210171561347857613478613441565b60405160e081016001600160401b038111828210171561347857613478613441565b604051606081016001600160401b038111828210171561347857613478613441565b60405161020081016001600160401b038111828210171561347857613478613441565b60405161014081016001600160401b038111828210171561347857613478613441565b60405161024081016001600160401b038111828210171561347857613478613441565b604051601f8201601f191681016001600160401b03811182821017156135db576135db613441565b604052919050565b5f6001600160401b038211156135fb576135fb613441565b50601f01601f191660200190565b5f82601f830112613618575f80fd5b813561362b613626826135e3565b6135b3565b81815284602083860101111561363f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f806040838503121561366c575f80fd5b82356136778161342c565b915060208301356001600160401b03811115613691575f80fd5b61369d85828601613609565b9150509250929050565b60808101610c5582848051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b6001600160c01b03198116811461319a575f80fd5b5f60208284031215613712575f80fd5b8135610e81816136ed565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161377a60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526137e261012084018261371d565b905060e0840151601f1984830301610100850152613800828261371d565b95945050505050565b5f806040838503121561381a575f80fd5b823561333b8161335e565b60a0810161386b82858051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b6001600160401b03831660808301529392505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f60608301516080808401526132d160a084018261371d565b5f80604083850312156138de575f80fd5b823561333b816136ed565b5f80604083850312156138fa575f80fd5b823561367781613186565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161398060a0840182613905565b5060a083015160e0808401526132d161010084018261371d565b5f80604083850312156139ab575f80fd5b82356139b6816131b8565b915060208301356133148161335e565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151613a1d608084018215159052565b5060a0830151613a3160a084018215159052565b5060c0830151613a4560c084018215159052565b5092915050565b81516001600160401b0316815260208083015160e0830191613a709084018261338d565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a0830151613abb60a084018264ffffffffff169052565b5060c092830151919092015290565b5f6101c082019050613add828451613905565b6020830151613aef6040840182613905565b506040830151613b026080840182613905565b506060830151613b1560c0840182613905565b506080830151613b29610100840182613905565b5060a0830151613b3d610140840182613905565b5060c0830151613a45610180840182613905565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526132d1608084018261371d565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613bcf606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613c0c61010084018261371d565b905060c0840151601f198483030160e0850152613800828261371d565b60208152613c436020820183516001600160601b03169052565b5f6020830151613c5e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613d7561022084018261371d565b90506101e0840151601f1984830301610200850152613800828261371d565b60208152613dae6020820183516001600160a01b03169052565b5f6020830151613dc960408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613e5361016084018261371d565b9050610120840151601f1984830301610140850152613800828261371d565b5f8060408385031215613e83575f80fd5b823561333b816131b8565b81516001600160601b0316815261024081016020830151613eba60208401826001600160601b03169052565b506040830151613ed560408401826001600160601b03169052565b506060830151613ef060608401826001600160601b03169052565b506080830151613f0b60808401826001600160601b03169052565b5060a0830151613f2660a08401826001600160601b03169052565b5060c0830151613f4160c08401826001600160601b03169052565b5060e0830151613f5c60e08401826001600160601b03169052565b50610100830151613f796101008401826001600160601b03169052565b50610120830151613f966101208401826001600160601b03169052565b50610140830151613fb36101408401826001600160601b03169052565b50610160830151613fd06101608401826001600160601b03169052565b50610180830151613fed6101808401826001600160601b03169052565b506101a083015161400a6101a08401826001600160601b03169052565b506101c08301516140276101c08401826001600160601b03169052565b506101e08301516140446101e08401826001600160601b03169052565b506102008301516140616102008401826001600160601b03169052565b50610220830151613a456102208401826001600160601b03169052565b62ffffff8116811461319a575f80fd5b5f806040838503121561409f575f80fd5b82356140aa816132d9565b915060208301356133148161407e565b5f80604083850312156140cb575f80fd5b82356140d681613186565b91506020830135613314816136ed565b602081525f825160406020840152614101606084018261371d565b602094909401516001600160a01b0316604093909301929092525090919050565b64ffffffffff8116811461319a575f80fd5b5f8060408385031215614145575f80fd5b823561415081613186565b9150602083013561331481614122565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a0808401526132d160c084018261371d565b602081526141d86020820183516001600160601b03169052565b5f60208301516141f360408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c084015261424361012084018261371d565b905060c0840151601f198483030160e0850152614260828261371d565b91505060e0840151601f1984830301610100850152613800828261371d565b805161428a81613186565b919050565b5f6020828403121561429f575f80fd5b8151610e8181613186565b5f602082840312156142ba575f80fd5b5051919050565b60ff8116811461319a575f80fd5b805161428a816142c1565b5f602082840312156142ea575f80fd5b8151610e81816142c1565b8051801515811461428a575f80fd5b5f82601f830112614313575f80fd5b81516001600160401b0381111561432c5761432c613441565b8060051b61433c602082016135b3565b91825260208185018101929081019086841115614357575f80fd5b6020860192505b8383101561438257825161437181613186565b82526020928301929091019061435e565b9695505050505050565b5f6020828403121561439c575f80fd5b81516001600160401b038111156143b1575f80fd5b820161010081850312156143c3575f80fd5b6143cb613455565b6143d4826142f5565b81526143e2602083016142f5565b60208201526143f3604083016142f5565b6040820152614404606083016142cf565b6060820152614415608083016142cf565b608082015261442660a0830161427f565b60a082015261443760c0830161427f565b60c082015260e08201516001600160401b03811115614454575f80fd5b61446086828501614304565b60e083015250949350505050565b805161428a816136ed565b5f60208284031215614489575f80fd5b8151610e81816136ed565b80516008811061428a575f80fd5b805161428a81614122565b5f60a08284031280156144be575f80fd5b506144c761347e565b825181526144d760208401614494565b602082015260408301516144ea816131b8565b604082015260608301516144fd81614122565b6060820152608083015161451081614122565b60808201529392505050565b805161428a8161335e565b5f60208284031215614537575f80fd5b8151610e818161335e565b63ffffffff60e01b83168152604060208201525f6132d1604083018461371d565b5f60808284031215614573575f80fd5b61457b6134a0565b8251815260208301519091506145908161342c565b602082015260408201516145a381614122565b604082015260608201516145b681614122565b606082015292915050565b5f608082840312156145d1575f80fd5b610e818383614563565b805163ffffffff8116811461428a575f80fd5b5f82601f8301126145fd575f80fd5b8151602083015f614610613626846135e3565b9050828152858383011115614623575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561464d575f80fd5b81516001600160401b03811115614662575f80fd5b82016101008185031215614674575f80fd5b61467c613455565b6146858261427f565b81526146936020830161427f565b60208201526146a4604083016145db565b60408201526146b5606083016145db565b60608201526146c66080830161451c565b60808201526146d760a083016144a2565b60a082015260c08201516001600160401b038111156146f4575f80fd5b614700868285016145ee565b60c08301525060e08201516001600160401b0381111561471e575f80fd5b614460868285016145ee565b5f8060a0838503121561473b575f80fd5b6147458484614563565b91506080830151613314816131b8565b5f60208284031215614765575f80fd5b81516001600160401b0381111561477a575f80fd5b82016080818503121561478b575f80fd5b6147936134a0565b815161479e816136ed565b81526147ac602083016142f5565b60208201526147bd604083016145db565b604082015260608201516001600160401b038111156147da575f80fd5b6147e6868285016145ee565b606083015250949350505050565b6001600160601b0383168152604060208201525f6132d1604083018461371d565b5f60208284031215614825575f80fd5b8151610e81816131b8565b5f60408284031215614840575f80fd5b6148486134c2565b905081516148558161335e565b8152602082015161486581613186565b602082015292915050565b5f60208284031215614880575f80fd5b81516001600160401b03811115614895575f80fd5b820160e081850312156148a6575f80fd5b6148ae6134e4565b81516148b981614122565b815260208201516148c981614122565b60208201526148da604083016144a2565b60408201526148eb6060830161427f565b60608201526148fd8560808401614830565b608082015260c08201516001600160401b0381111561491a575f80fd5b614926868285016145ee565b60a083015250949350505050565b5f60208284031215614944575f80fd5b610e81826142f5565b5f60e082840312801561495e575f80fd5b50614967613506565b825161497281613186565b815260208301516149828161335e565b602082015260408301516149958161335e565b60408201526149a6606084016142f5565b60608201526149b7608084016142f5565b60808201526149c860a084016142f5565b60a08201526149d960c084016142f5565b60c08201529392505050565b5f60e08284031280156149f6575f80fd5b506149ff613506565b8251614a0a816131b8565b8152614a1860208401614494565b6020820152614a29604084016145db565b60408201526060830151614a3c81614122565b60608201526080830151614a4f81614122565b608082015260a0830151614a6281614122565b60a082015260c0928301519281019290925250919050565b5f6101c0828403128015614a8c575f80fd5b50614a95613506565b614a9f8484614830565b8152614aae8460408501614830565b6020820152614ac08460808501614830565b6040820152614ad28460c08501614830565b6060820152614ae5846101008501614830565b6080820152614af8846101408501614830565b60a08201526149d9846101808501614830565b5f60208284031215614b1b575f80fd5b81516001600160401b03811115614b30575f80fd5b820160608185031215614b41575f80fd5b614b49613528565b8151614b5481613186565b81526020820151614b6481614122565b602082015260408201516001600160401b03811115614b81575f80fd5b614b8d868285016145ee565b604083015250949350505050565b5f60208284031215614bab575f80fd5b81516001600160401b03811115614bc0575f80fd5b820160408185031215614bd1575f80fd5b614bd96134c2565b81516001600160401b03811115614bee575f80fd5b614bfa868285016145ee565b82525060208201519150614c0d8261335e565b60208101919091529392505050565b5f6060828403128015614c2d575f80fd5b50614c36613528565b8251614c41816142c1565b81526020830151614c51816142c1565b60208201526040830151614c6481614122565b60408201529392505050565b805161428a8161407e565b5f60208284031215614c8b575f80fd5b81516001600160401b03811115614ca0575f80fd5b820160e08185031215614cb1575f80fd5b614cb9613506565b614cc28261427f565b8152614cd06020830161427f565b6020820152614ce1604083016144a2565b6040820152614cf260608301614c70565b6060820152614d0360808301614c70565b608082015260a08201516001600160401b03811115614d20575f80fd5b614d2c868285016145ee565b60a08301525060c08201516001600160401b03811115614d4a575f80fd5b614d56868285016145ee565b60c083015250949350505050565b5f8060408385031215614d75575f80fd5b8251614d808161335e565b6020840151909250613314816142c1565b805161428a816132d9565b5f60208284031215614dac575f80fd5b81516001600160401b03811115614dc1575f80fd5b82016102008185031215614dd3575f80fd5b614ddb61354a565b614de48261427f565b8152614df26020830161427f565b6020820152614e036040830161446e565b6040820152614e146060830161427f565b6060820152614e256080830161427f565b6080820152614e3660a0830161446e565b60a0820152614e4760c08301614d91565b60c0820152614e5860e08301614d91565b60e0820152614e6a610100830161427f565b610100820152614e7d610120830161427f565b610120820152614e9061014083016144a2565b610140820152614ea361016083016144a2565b610160820152614eb661018083016144a2565b610180820152614ec96101a083016144a2565b6101a08201526101c08201516001600160401b03811115614ee8575f80fd5b614ef4868285016145ee565b6101c0830152506101e08201516001600160401b03811115614f14575f80fd5b614f20868285016145ee565b6101e083015250949350505050565b5f60208284031215614f3f575f80fd5b81516001600160401b03811115614f54575f80fd5b82016101408185031215614f66575f80fd5b614f6e61356d565b614f778261451c565b8152614f856020830161427f565b6020820152614f966040830161451c565b6040820152614fa7606083016145db565b6060820152614fb8608083016144a2565b6080820152614fc960a083016142f5565b60a0820152614fda60c083016142f5565b60c0820152614feb60e0830161451c565b60e08201526101008201516001600160401b03811115615009575f80fd5b615015868285016145ee565b610100830152506101208201516001600160401b03811115615035575f80fd5b615041868285016145ee565b61012083015250949350505050565b5f610240828403128015615062575f80fd5b5061506b613590565b6150748361427f565b81526150826020840161427f565b60208201526150936040840161427f565b60408201526150a46060840161427f565b60608201526150b56080840161427f565b60808201526150c660a0840161427f565b60a08201526150d760c0840161427f565b60c08201526150e860e0840161427f565b60e08201526150fa610100840161427f565b61010082015261510d610120840161427f565b610120820152615120610140840161427f565b610140820152615133610160840161427f565b610160820152615146610180840161427f565b6101808201526151596101a0840161427f565b6101a082015261516c6101c0840161427f565b6101c082015261517f6101e0840161427f565b6101e0820152615192610200840161427f565b6102008201526151a5610220840161427f565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610c5557610c556151b2565b5f602082840312156151f1575f80fd5b8151610e8181614122565b80820180821115610c5557610c556151b2565b5f6020828403121561521f575f80fd5b8151610e81816132d9565b5f6020828403121561523a575f80fd5b81516001600160401b0381111561524f575f80fd5b820160a08185031215615260575f80fd5b61526861347e565b8151615273816132d9565b8152602082015161528381613186565b6020820152604082015161529681614122565b604082015260608201516152a98161335e565b606082015260808201516001600160401b038111156152c6575f80fd5b6152d2868285016145ee565b608083015250949350505050565b5f602082840312156152f0575f80fd5b81516001600160401b03811115615305575f80fd5b82016101008185031215615317575f80fd5b61531f613455565b6153288261427f565b81526153366020830161427f565b6020820152615347604083016142f5565b6040820152615358606083016144a2565b6060820152615369608083016144a2565b608082015260a08201516001600160401b03811115615386575f80fd5b615392868285016145ee565b60a08301525060c08201516001600160401b038111156146f4575f80fdfea264697066735822122091a3534b091ee78bcb172a3b6b9992d4b683215717388e60690f770755bcd8bf64736f6c634300081a0033",
1180
2322
  "linkReferences": {
1181
- "contracts/types/DistributorType.sol": {
1182
- "DistributorTypeLib": [
2323
+ "contracts/authorization/AccessAdminLib.sol": {
2324
+ "AccessAdminLib": [
1183
2325
  {
1184
2326
  "length": 20,
1185
- "start": 6459
2327
+ "start": 4183
1186
2328
  }
1187
2329
  ]
1188
2330
  },
1189
- "contracts/types/NftId.sol": {
1190
- "NftIdLib": [
2331
+ "contracts/product/PolicyServiceLib.sol": {
2332
+ "PolicyServiceLib": [
1191
2333
  {
1192
2334
  "length": 20,
1193
- "start": 289
1194
- },
2335
+ "start": 9709
2336
+ }
2337
+ ]
2338
+ },
2339
+ "contracts/type/Amount.sol": {
2340
+ "AmountLib": [
1195
2341
  {
1196
2342
  "length": 20,
1197
- "start": 3362
1198
- },
2343
+ "start": 12147
2344
+ }
2345
+ ]
2346
+ },
2347
+ "contracts/type/ClaimId.sol": {
2348
+ "ClaimIdLib": [
1199
2349
  {
1200
2350
  "length": 20,
1201
- "start": 3702
2351
+ "start": 8041
1202
2352
  },
1203
2353
  {
1204
2354
  "length": 20,
1205
- "start": 4263
1206
- },
2355
+ "start": 11477
2356
+ }
2357
+ ]
2358
+ },
2359
+ "contracts/type/NftId.sol": {
2360
+ "NftIdLib": [
1207
2361
  {
1208
2362
  "length": 20,
1209
- "start": 4308
2363
+ "start": 12206
1210
2364
  },
1211
2365
  {
1212
2366
  "length": 20,
1213
- "start": 4353
2367
+ "start": 12298
1214
2368
  },
1215
2369
  {
1216
2370
  "length": 20,
1217
- "start": 6686
1218
- },
2371
+ "start": 12342
2372
+ }
2373
+ ]
2374
+ },
2375
+ "contracts/type/PayoutId.sol": {
2376
+ "PayoutIdLib": [
1219
2377
  {
1220
2378
  "length": 20,
1221
- "start": 6941
2379
+ "start": 10956
1222
2380
  },
1223
2381
  {
1224
2382
  "length": 20,
1225
- "start": 7522
2383
+ "start": 11376
1226
2384
  }
1227
2385
  ]
1228
2386
  },
1229
- "contracts/types/Referral.sol": {
2387
+ "contracts/type/Referral.sol": {
1230
2388
  "ReferralLib": [
1231
2389
  {
1232
2390
  "length": 20,
1233
- "start": 3122
1234
- },
1235
- {
1236
- "length": 20,
1237
- "start": 3761
2391
+ "start": 5367
1238
2392
  }
1239
2393
  ]
1240
2394
  },
1241
- "contracts/types/RiskId.sol": {
2395
+ "contracts/type/RiskId.sol": {
1242
2396
  "RiskIdLib": [
1243
2397
  {
1244
2398
  "length": 20,
1245
- "start": 4468
2399
+ "start": 11644
1246
2400
  }
1247
2401
  ]
1248
2402
  },
1249
- "contracts/types/Timestamp.sol": {
1250
- "TimestampLib": [
1251
- {
1252
- "length": 20,
1253
- "start": 5396
1254
- },
2403
+ "contracts/type/RoleId.sol": {
2404
+ "RoleIdLib": [
1255
2405
  {
1256
2406
  "length": 20,
1257
- "start": 5627
2407
+ "start": 12407
1258
2408
  }
1259
2409
  ]
1260
2410
  },
1261
- "contracts/types/UFixed.sol": {
2411
+ "contracts/type/UFixed.sol": {
1262
2412
  "UFixedLib": [
1263
2413
  {
1264
2414
  "length": 20,
1265
- "start": 2910
1266
- },
1267
- {
1268
- "length": 20,
1269
- "start": 3893
2415
+ "start": 3996
1270
2416
  },
1271
2417
  {
1272
2418
  "length": 20,
1273
- "start": 5497
1274
- },
1275
- {
1276
- "length": 20,
1277
- "start": 5756
1278
- },
1279
- {
1280
- "length": 20,
1281
- "start": 5899
2419
+ "start": 10637
1282
2420
  }
1283
2421
  ]
1284
2422
  }
1285
2423
  },
1286
2424
  "deployedLinkReferences": {
1287
- "contracts/types/DistributorType.sol": {
1288
- "DistributorTypeLib": [
2425
+ "contracts/authorization/AccessAdminLib.sol": {
2426
+ "AccessAdminLib": [
1289
2427
  {
1290
2428
  "length": 20,
1291
- "start": 4918
2429
+ "start": 4146
1292
2430
  }
1293
2431
  ]
1294
2432
  },
1295
- "contracts/types/NftId.sol": {
1296
- "NftIdLib": [
1297
- {
1298
- "length": 20,
1299
- "start": 1821
1300
- },
2433
+ "contracts/product/PolicyServiceLib.sol": {
2434
+ "PolicyServiceLib": [
1301
2435
  {
1302
2436
  "length": 20,
1303
- "start": 2161
1304
- },
2437
+ "start": 9672
2438
+ }
2439
+ ]
2440
+ },
2441
+ "contracts/type/Amount.sol": {
2442
+ "AmountLib": [
1305
2443
  {
1306
2444
  "length": 20,
1307
- "start": 2722
1308
- },
2445
+ "start": 12110
2446
+ }
2447
+ ]
2448
+ },
2449
+ "contracts/type/ClaimId.sol": {
2450
+ "ClaimIdLib": [
1309
2451
  {
1310
2452
  "length": 20,
1311
- "start": 2767
2453
+ "start": 8004
1312
2454
  },
1313
2455
  {
1314
2456
  "length": 20,
1315
- "start": 2812
1316
- },
2457
+ "start": 11440
2458
+ }
2459
+ ]
2460
+ },
2461
+ "contracts/type/NftId.sol": {
2462
+ "NftIdLib": [
1317
2463
  {
1318
2464
  "length": 20,
1319
- "start": 5145
2465
+ "start": 12169
1320
2466
  },
1321
2467
  {
1322
2468
  "length": 20,
1323
- "start": 5400
2469
+ "start": 12261
1324
2470
  },
1325
2471
  {
1326
2472
  "length": 20,
1327
- "start": 5981
2473
+ "start": 12305
1328
2474
  }
1329
2475
  ]
1330
2476
  },
1331
- "contracts/types/Referral.sol": {
1332
- "ReferralLib": [
2477
+ "contracts/type/PayoutId.sol": {
2478
+ "PayoutIdLib": [
1333
2479
  {
1334
2480
  "length": 20,
1335
- "start": 1581
2481
+ "start": 10919
1336
2482
  },
1337
2483
  {
1338
2484
  "length": 20,
1339
- "start": 2220
2485
+ "start": 11339
1340
2486
  }
1341
2487
  ]
1342
2488
  },
1343
- "contracts/types/RiskId.sol": {
1344
- "RiskIdLib": [
2489
+ "contracts/type/Referral.sol": {
2490
+ "ReferralLib": [
1345
2491
  {
1346
2492
  "length": 20,
1347
- "start": 2927
2493
+ "start": 5330
1348
2494
  }
1349
2495
  ]
1350
2496
  },
1351
- "contracts/types/Timestamp.sol": {
1352
- "TimestampLib": [
2497
+ "contracts/type/RiskId.sol": {
2498
+ "RiskIdLib": [
1353
2499
  {
1354
2500
  "length": 20,
1355
- "start": 3855
1356
- },
2501
+ "start": 11607
2502
+ }
2503
+ ]
2504
+ },
2505
+ "contracts/type/RoleId.sol": {
2506
+ "RoleIdLib": [
1357
2507
  {
1358
2508
  "length": 20,
1359
- "start": 4086
2509
+ "start": 12370
1360
2510
  }
1361
2511
  ]
1362
2512
  },
1363
- "contracts/types/UFixed.sol": {
2513
+ "contracts/type/UFixed.sol": {
1364
2514
  "UFixedLib": [
1365
2515
  {
1366
2516
  "length": 20,
1367
- "start": 1369
1368
- },
1369
- {
1370
- "length": 20,
1371
- "start": 2352
1372
- },
1373
- {
1374
- "length": 20,
1375
- "start": 3956
1376
- },
1377
- {
1378
- "length": 20,
1379
- "start": 4215
2517
+ "start": 3959
1380
2518
  },
1381
2519
  {
1382
2520
  "length": 20,
1383
- "start": 4358
2521
+ "start": 10600
1384
2522
  }
1385
2523
  ]
1386
2524
  }