@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff795d8-141

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