@etherisc/gif-next 0.0.2-d16f92c-416 → 0.0.2-d18e1c5-511

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