@etherisc/gif-next 0.0.2-c34d8ab-035 → 0.0.2-c37b622-555

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