@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff596ab-857

Sign up to get free protection for your applications and to get access to all the features.
Files changed (587) hide show
  1. package/README.md +133 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -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 +174 -601
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +788 -535
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +278 -128
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +178 -330
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +622 -178
  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 +1484 -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 +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +595 -96
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +522 -56
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +594 -219
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1833 -761
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +542 -193
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +210 -94
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1647 -702
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +550 -400
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +272 -102
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +384 -86
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +233 -423
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +749 -377
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  138. package/artifacts/contracts/pool/Pool.sol/Pool.json +247 -629
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +954 -743
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +271 -113
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +370 -252
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +231 -89
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +491 -341
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +253 -115
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +454 -69
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +217 -75
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +380 -225
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +289 -66
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +507 -384
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +237 -123
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +261 -333
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +235 -109
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  180. package/artifacts/contracts/product/Product.sol/Product.json +428 -509
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +478 -61
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +280 -127
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  195. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/Registry.sol/Registry.json +920 -125
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +332 -245
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +208 -92
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +361 -125
  215. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Component.sol/Component.json +128 -296
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1076 -156
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +129 -135
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  236. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +52 -20
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  238. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +45 -55
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -90
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  266. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +615 -6
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2576 -128
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
  278. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  279. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2914 -226
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +298 -74
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +754 -207
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +218 -84
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  294. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  295. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +92 -15
  304. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  306. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  308. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  310. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.json +119 -58
  312. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  314. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  316. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +66 -4
  318. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  320. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  322. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  324. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  326. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  328. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  330. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
  332. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
  334. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  338. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  340. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  342. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  344. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  346. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  348. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  350. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  351. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  352. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  354. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  356. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  357. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  358. package/contracts/accounting/AccountingService.sol +274 -0
  359. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  360. package/contracts/accounting/IAccountingService.sol +47 -0
  361. package/contracts/authorization/AccessAdmin.sol +780 -0
  362. package/contracts/authorization/AccessAdminLib.sol +396 -0
  363. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  364. package/contracts/authorization/Authorization.sol +169 -0
  365. package/contracts/authorization/IAccess.sol +67 -0
  366. package/contracts/authorization/IAccessAdmin.sol +144 -0
  367. package/contracts/authorization/IAuthorization.sol +26 -0
  368. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  369. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  370. package/contracts/distribution/BasicDistribution.sol +141 -0
  371. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  372. package/contracts/distribution/Distribution.sol +137 -175
  373. package/contracts/distribution/DistributionService.sol +314 -215
  374. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  375. package/contracts/distribution/IDistributionComponent.sol +23 -49
  376. package/contracts/distribution/IDistributionService.sol +61 -33
  377. package/contracts/examples/fire/DamageLevel.sol +59 -0
  378. package/contracts/examples/fire/FirePool.sol +86 -0
  379. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  380. package/contracts/examples/fire/FireProduct.sol +433 -0
  381. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  382. package/contracts/examples/fire/FireUSD.sol +26 -0
  383. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  384. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  386. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  387. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  389. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  390. package/contracts/instance/BundleSet.sol +130 -0
  391. package/contracts/instance/IInstance.sol +117 -49
  392. package/contracts/instance/IInstanceService.sol +81 -37
  393. package/contracts/instance/Instance.sol +252 -134
  394. package/contracts/instance/InstanceAdmin.sol +383 -0
  395. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  396. package/contracts/instance/InstanceReader.sol +505 -241
  397. package/contracts/instance/InstanceService.sol +388 -196
  398. package/contracts/instance/InstanceServiceManager.sol +14 -29
  399. package/contracts/instance/InstanceStore.sol +151 -64
  400. package/contracts/instance/RiskSet.sol +126 -0
  401. package/contracts/instance/base/BalanceStore.sol +121 -0
  402. package/contracts/instance/base/Cloneable.sol +2 -25
  403. package/contracts/instance/base/ObjectCounter.sol +20 -0
  404. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  405. package/contracts/instance/base/ObjectSet.sol +77 -0
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -8
  408. package/contracts/instance/module/IComponents.sol +40 -19
  409. package/contracts/instance/module/IDistribution.sol +21 -9
  410. package/contracts/instance/module/IPolicy.sol +57 -30
  411. package/contracts/instance/module/IRisk.sol +5 -0
  412. package/contracts/mock/Dip.sol +26 -0
  413. package/contracts/oracle/BasicOracle.sol +45 -0
  414. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  415. package/contracts/oracle/IOracle.sol +41 -0
  416. package/contracts/oracle/IOracleComponent.sol +33 -0
  417. package/contracts/oracle/IOracleService.sol +66 -0
  418. package/contracts/oracle/Oracle.sol +154 -0
  419. package/contracts/oracle/OracleService.sol +310 -0
  420. package/contracts/oracle/OracleServiceManager.sol +39 -0
  421. package/contracts/pool/BasicPool.sol +162 -0
  422. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  423. package/contracts/pool/BundleService.sol +250 -246
  424. package/contracts/pool/BundleServiceManager.sol +13 -25
  425. package/contracts/pool/IBundleService.sol +47 -49
  426. package/contracts/pool/IPoolComponent.sol +23 -75
  427. package/contracts/pool/IPoolService.sol +112 -56
  428. package/contracts/pool/Pool.sol +200 -169
  429. package/contracts/pool/PoolLib.sol +341 -0
  430. package/contracts/pool/PoolService.sol +475 -264
  431. package/contracts/pool/PoolServiceManager.sol +12 -24
  432. package/contracts/product/ApplicationService.sol +222 -81
  433. package/contracts/product/ApplicationServiceManager.sol +12 -9
  434. package/contracts/product/BasicProduct.sol +49 -0
  435. package/contracts/product/BasicProductAuthorization.sol +63 -0
  436. package/contracts/product/ClaimService.sol +389 -201
  437. package/contracts/product/ClaimServiceManager.sol +12 -9
  438. package/contracts/product/IApplicationService.sol +30 -4
  439. package/contracts/product/IClaimService.sol +52 -9
  440. package/contracts/product/IPolicyService.sol +62 -40
  441. package/contracts/product/IPricingService.sol +14 -11
  442. package/contracts/product/IProductComponent.sol +31 -10
  443. package/contracts/product/IRiskService.sol +48 -0
  444. package/contracts/product/PolicyService.sol +503 -234
  445. package/contracts/product/PolicyServiceLib.sol +139 -0
  446. package/contracts/product/PolicyServiceManager.sol +12 -27
  447. package/contracts/product/PricingService.sol +133 -102
  448. package/contracts/product/PricingServiceManager.sol +12 -24
  449. package/contracts/product/Product.sol +267 -153
  450. package/contracts/product/RiskService.sol +190 -0
  451. package/contracts/product/RiskServiceManager.sol +39 -0
  452. package/contracts/registry/ChainNft.sol +72 -39
  453. package/contracts/registry/IRegistry.sol +100 -38
  454. package/contracts/registry/IRegistryService.sol +28 -35
  455. package/contracts/registry/IRelease.sol +29 -0
  456. package/contracts/registry/ITransferInterceptor.sol +1 -2
  457. package/contracts/registry/Registry.sol +453 -222
  458. package/contracts/registry/RegistryAdmin.sol +191 -0
  459. package/contracts/registry/RegistryAuthorization.sol +336 -0
  460. package/contracts/registry/RegistryService.sol +75 -138
  461. package/contracts/registry/RegistryServiceManager.sol +23 -30
  462. package/contracts/registry/ReleaseAdmin.sol +195 -0
  463. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  464. package/contracts/registry/ReleaseRegistry.sol +525 -0
  465. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  466. package/contracts/registry/TokenRegistry.sol +264 -63
  467. package/contracts/shared/Component.sol +126 -183
  468. package/contracts/shared/ComponentService.sol +636 -99
  469. package/contracts/shared/ComponentServiceManager.sol +38 -0
  470. package/contracts/shared/ContractLib.sol +312 -0
  471. package/contracts/shared/IComponent.sol +18 -50
  472. package/contracts/shared/IComponentService.sol +111 -0
  473. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  474. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  475. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  476. package/contracts/shared/INftOwnable.sol +5 -1
  477. package/contracts/shared/IPolicyHolder.sol +12 -17
  478. package/contracts/shared/IRegisterable.sol +22 -1
  479. package/contracts/shared/IService.sol +11 -6
  480. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  481. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  482. package/contracts/shared/KeyValueStore.sol +131 -0
  483. package/contracts/shared/Lifecycle.sol +88 -0
  484. package/contracts/shared/NftIdSet.sol +65 -0
  485. package/contracts/shared/NftOwnable.sol +35 -24
  486. package/contracts/shared/PolicyHolder.sol +19 -50
  487. package/contracts/shared/Registerable.sol +54 -23
  488. package/contracts/shared/RegistryLinked.sol +9 -14
  489. package/contracts/shared/Service.sol +36 -41
  490. package/contracts/shared/TokenHandler.sol +320 -13
  491. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  492. package/contracts/staking/IStaking.sol +358 -6
  493. package/contracts/staking/IStakingService.sol +98 -76
  494. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  495. package/contracts/staking/Staking.sol +761 -27
  496. package/contracts/staking/StakingLib.sol +195 -0
  497. package/contracts/staking/StakingManager.sol +27 -18
  498. package/contracts/staking/StakingReader.sol +171 -0
  499. package/contracts/staking/StakingService.sol +175 -58
  500. package/contracts/staking/StakingServiceManager.sol +13 -8
  501. package/contracts/staking/StakingStore.sol +1368 -0
  502. package/contracts/staking/TargetHandler.sol +132 -0
  503. package/contracts/staking/TargetManagerLib.sol +234 -0
  504. package/contracts/type/AddressSet.sol +1 -1
  505. package/contracts/type/Amount.sol +48 -3
  506. package/contracts/type/Blocknumber.sol +36 -13
  507. package/contracts/type/ChainId.sol +101 -0
  508. package/contracts/type/ClaimId.sol +6 -1
  509. package/contracts/type/Fee.sol +22 -21
  510. package/contracts/type/Key32.sol +2 -2
  511. package/contracts/type/Key32Set.sol +62 -0
  512. package/contracts/type/NftId.sol +21 -16
  513. package/contracts/type/NftIdSet.sol +1 -1
  514. package/contracts/type/ObjectType.sol +204 -63
  515. package/contracts/type/PayoutId.sol +10 -10
  516. package/contracts/type/Referral.sol +2 -1
  517. package/contracts/type/RequestId.sol +75 -0
  518. package/contracts/type/RiskId.sol +39 -7
  519. package/contracts/type/RoleId.sol +122 -74
  520. package/contracts/type/Seconds.sol +67 -1
  521. package/contracts/type/Selector.sol +107 -0
  522. package/contracts/type/StateId.sol +41 -2
  523. package/contracts/type/String.sol +65 -0
  524. package/contracts/type/Timestamp.sol +20 -9
  525. package/contracts/type/UFixed.sol +62 -125
  526. package/contracts/type/Version.sol +58 -7
  527. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  528. package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
  529. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  530. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  531. package/package.json +12 -8
  532. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  533. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  534. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  535. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  536. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  537. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  538. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  539. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  540. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  541. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  542. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  543. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  544. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  546. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  547. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  548. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  549. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  550. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  551. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  552. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  553. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  554. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  555. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  556. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  557. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  558. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  559. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -620
  560. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  561. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  562. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  563. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  564. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  565. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  566. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  567. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  568. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  569. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  570. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  571. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  572. package/contracts/instance/BundleManager.sol +0 -126
  573. package/contracts/instance/InstanceAccessManager.sol +0 -543
  574. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  575. package/contracts/instance/base/KeyValueStore.sol +0 -169
  576. package/contracts/instance/base/Lifecycle.sol +0 -121
  577. package/contracts/instance/base/ObjectManager.sol +0 -82
  578. package/contracts/instance/module/IAccess.sol +0 -54
  579. package/contracts/instance/module/ISetup.sol +0 -33
  580. package/contracts/instance/module/ITreasury.sol +0 -23
  581. package/contracts/product/IProductService.sol +0 -40
  582. package/contracts/product/ProductService.sol +0 -210
  583. package/contracts/product/ProductServiceManager.sol +0 -54
  584. package/contracts/registry/RegistryAccessManager.sol +0 -207
  585. package/contracts/registry/ReleaseManager.sol +0 -360
  586. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  587. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -43,6 +43,59 @@
43
43
  },
44
44
  {
45
45
  "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "targetNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBalanceStoreTargetAlreadyRegistered",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "targetNftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorBalanceStoreTargetNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "contractAddress",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "ObjectType",
75
+ "name": "objectType",
76
+ "type": "uint8"
77
+ },
78
+ {
79
+ "internalType": "StateId",
80
+ "name": "actual",
81
+ "type": "uint8"
82
+ },
83
+ {
84
+ "internalType": "StateId",
85
+ "name": "required",
86
+ "type": "uint8"
87
+ }
88
+ ],
89
+ "name": "ErrorFromStateMissmatch",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "contractAddress",
97
+ "type": "address"
98
+ },
46
99
  {
47
100
  "internalType": "ObjectType",
48
101
  "name": "objectType",
@@ -78,6 +131,17 @@
78
131
  "name": "ErrorKeyValueStoreAlreadyCreated",
79
132
  "type": "error"
80
133
  },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "ObjectType",
138
+ "name": "objectType",
139
+ "type": "uint8"
140
+ }
141
+ ],
142
+ "name": "ErrorKeyValueStoreNoLifecycle",
143
+ "type": "error"
144
+ },
81
145
  {
82
146
  "inputs": [
83
147
  {
@@ -114,9 +178,9 @@
114
178
  {
115
179
  "inputs": [
116
180
  {
117
- "internalType": "NftId",
118
- "name": "nftId",
119
- "type": "uint96"
181
+ "internalType": "address",
182
+ "name": "contractAddress",
183
+ "type": "address"
120
184
  },
121
185
  {
122
186
  "internalType": "ObjectType",
@@ -163,6 +227,205 @@
163
227
  "name": "Initialized",
164
228
  "type": "event"
165
229
  },
230
+ {
231
+ "anonymous": false,
232
+ "inputs": [
233
+ {
234
+ "indexed": false,
235
+ "internalType": "NftId",
236
+ "name": "targetNftId",
237
+ "type": "uint96"
238
+ },
239
+ {
240
+ "indexed": false,
241
+ "internalType": "Amount",
242
+ "name": "addedAmount",
243
+ "type": "uint96"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "Amount",
248
+ "name": "newBalance",
249
+ "type": "uint96"
250
+ },
251
+ {
252
+ "indexed": false,
253
+ "internalType": "Blocknumber",
254
+ "name": "lastUpdatedIn",
255
+ "type": "uint40"
256
+ }
257
+ ],
258
+ "name": "LogBalanceStoreBalanceDecreased",
259
+ "type": "event"
260
+ },
261
+ {
262
+ "anonymous": false,
263
+ "inputs": [
264
+ {
265
+ "indexed": false,
266
+ "internalType": "NftId",
267
+ "name": "targetNftId",
268
+ "type": "uint96"
269
+ },
270
+ {
271
+ "indexed": false,
272
+ "internalType": "Amount",
273
+ "name": "addedAmount",
274
+ "type": "uint96"
275
+ },
276
+ {
277
+ "indexed": false,
278
+ "internalType": "Amount",
279
+ "name": "newBalance",
280
+ "type": "uint96"
281
+ },
282
+ {
283
+ "indexed": false,
284
+ "internalType": "Blocknumber",
285
+ "name": "lastUpdatedIn",
286
+ "type": "uint40"
287
+ }
288
+ ],
289
+ "name": "LogBalanceStoreBalanceIncreased",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": false,
297
+ "internalType": "NftId",
298
+ "name": "targetNftId",
299
+ "type": "uint96"
300
+ },
301
+ {
302
+ "indexed": false,
303
+ "internalType": "Amount",
304
+ "name": "addedAmount",
305
+ "type": "uint96"
306
+ },
307
+ {
308
+ "indexed": false,
309
+ "internalType": "Amount",
310
+ "name": "newBalance",
311
+ "type": "uint96"
312
+ },
313
+ {
314
+ "indexed": false,
315
+ "internalType": "Blocknumber",
316
+ "name": "lastUpdatedIn",
317
+ "type": "uint40"
318
+ }
319
+ ],
320
+ "name": "LogBalanceStoreFeesDecreased",
321
+ "type": "event"
322
+ },
323
+ {
324
+ "anonymous": false,
325
+ "inputs": [
326
+ {
327
+ "indexed": false,
328
+ "internalType": "NftId",
329
+ "name": "targetNftId",
330
+ "type": "uint96"
331
+ },
332
+ {
333
+ "indexed": false,
334
+ "internalType": "Amount",
335
+ "name": "addedAmount",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "Amount",
341
+ "name": "newBalance",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "Blocknumber",
347
+ "name": "lastUpdatedIn",
348
+ "type": "uint40"
349
+ }
350
+ ],
351
+ "name": "LogBalanceStoreFeesIncreased",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "NftId",
360
+ "name": "targetNftId",
361
+ "type": "uint96"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "Amount",
366
+ "name": "addedAmount",
367
+ "type": "uint96"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "Amount",
372
+ "name": "newBalance",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "Blocknumber",
378
+ "name": "lastUpdatedIn",
379
+ "type": "uint40"
380
+ }
381
+ ],
382
+ "name": "LogBalanceStoreLockedDecreased",
383
+ "type": "event"
384
+ },
385
+ {
386
+ "anonymous": false,
387
+ "inputs": [
388
+ {
389
+ "indexed": false,
390
+ "internalType": "NftId",
391
+ "name": "targetNftId",
392
+ "type": "uint96"
393
+ },
394
+ {
395
+ "indexed": false,
396
+ "internalType": "Amount",
397
+ "name": "addedAmount",
398
+ "type": "uint96"
399
+ },
400
+ {
401
+ "indexed": false,
402
+ "internalType": "Amount",
403
+ "name": "newBalance",
404
+ "type": "uint96"
405
+ },
406
+ {
407
+ "indexed": false,
408
+ "internalType": "Blocknumber",
409
+ "name": "lastUpdatedIn",
410
+ "type": "uint40"
411
+ }
412
+ ],
413
+ "name": "LogBalanceStoreLockedIncreased",
414
+ "type": "event"
415
+ },
416
+ {
417
+ "anonymous": false,
418
+ "inputs": [
419
+ {
420
+ "indexed": false,
421
+ "internalType": "NftId",
422
+ "name": "targetNftId",
423
+ "type": "uint96"
424
+ }
425
+ ],
426
+ "name": "LogBalanceStoreTargetRegistered",
427
+ "type": "event"
428
+ },
166
429
  {
167
430
  "anonymous": false,
168
431
  "inputs": [
@@ -237,7 +500,7 @@
237
500
  "indexed": false,
238
501
  "internalType": "Blocknumber",
239
502
  "name": "lastUpdatedIn",
240
- "type": "uint32"
503
+ "type": "uint40"
241
504
  }
242
505
  ],
243
506
  "name": "LogInfoUpdated",
@@ -286,7 +549,7 @@
286
549
  "indexed": false,
287
550
  "internalType": "Blocknumber",
288
551
  "name": "lastUpdatedIn",
289
- "type": "uint32"
552
+ "type": "uint40"
290
553
  }
291
554
  ],
292
555
  "name": "LogStateUpdated",
@@ -307,6 +570,11 @@
307
570
  },
308
571
  {
309
572
  "inputs": [
573
+ {
574
+ "internalType": "StateId",
575
+ "name": "stateId",
576
+ "type": "uint8"
577
+ },
310
578
  {
311
579
  "internalType": "ObjectType",
312
580
  "name": "objectType",
@@ -314,7 +582,7 @@
314
582
  },
315
583
  {
316
584
  "internalType": "StateId",
317
- "name": "fromId",
585
+ "name": "expectedFromId",
318
586
  "type": "uint8"
319
587
  },
320
588
  {
@@ -347,11 +615,6 @@
347
615
  "name": "bundleNftId",
348
616
  "type": "uint96"
349
617
  },
350
- {
351
- "internalType": "ReferralId",
352
- "name": "referralId",
353
- "type": "bytes8"
354
- },
355
618
  {
356
619
  "internalType": "RiskId",
357
620
  "name": "riskId",
@@ -368,24 +631,9 @@
368
631
  "type": "uint96"
369
632
  },
370
633
  {
371
- "internalType": "Amount",
372
- "name": "premiumPaidAmount",
373
- "type": "uint96"
374
- },
375
- {
376
- "internalType": "Seconds",
377
- "name": "lifetime",
378
- "type": "uint40"
379
- },
380
- {
381
- "internalType": "bytes",
382
- "name": "applicationData",
383
- "type": "bytes"
384
- },
385
- {
386
- "internalType": "bytes",
387
- "name": "processData",
388
- "type": "bytes"
634
+ "internalType": "ReferralId",
635
+ "name": "referralId",
636
+ "type": "bytes8"
389
637
  },
390
638
  {
391
639
  "internalType": "uint16",
@@ -412,6 +660,11 @@
412
660
  "name": "activatedAt",
413
661
  "type": "uint40"
414
662
  },
663
+ {
664
+ "internalType": "Seconds",
665
+ "name": "lifetime",
666
+ "type": "uint40"
667
+ },
415
668
  {
416
669
  "internalType": "Timestamp",
417
670
  "name": "expiredAt",
@@ -421,12 +674,22 @@
421
674
  "internalType": "Timestamp",
422
675
  "name": "closedAt",
423
676
  "type": "uint40"
424
- }
425
- ],
426
- "internalType": "struct IPolicy.PolicyInfo",
427
- "name": "policy",
428
- "type": "tuple"
429
- }
677
+ },
678
+ {
679
+ "internalType": "bytes",
680
+ "name": "applicationData",
681
+ "type": "bytes"
682
+ },
683
+ {
684
+ "internalType": "bytes",
685
+ "name": "processData",
686
+ "type": "bytes"
687
+ }
688
+ ],
689
+ "internalType": "struct IPolicy.PolicyInfo",
690
+ "name": "policy",
691
+ "type": "tuple"
692
+ }
430
693
  ],
431
694
  "name": "createApplication",
432
695
  "outputs": [],
@@ -442,6 +705,21 @@
442
705
  },
443
706
  {
444
707
  "components": [
708
+ {
709
+ "internalType": "Timestamp",
710
+ "name": "activatedAt",
711
+ "type": "uint40"
712
+ },
713
+ {
714
+ "internalType": "Timestamp",
715
+ "name": "expiredAt",
716
+ "type": "uint40"
717
+ },
718
+ {
719
+ "internalType": "Timestamp",
720
+ "name": "closedAt",
721
+ "type": "uint40"
722
+ },
445
723
  {
446
724
  "internalType": "NftId",
447
725
  "name": "poolNftId",
@@ -452,12 +730,12 @@
452
730
  {
453
731
  "internalType": "UFixed",
454
732
  "name": "fractionalFee",
455
- "type": "uint256"
733
+ "type": "uint160"
456
734
  },
457
735
  {
458
- "internalType": "uint256",
736
+ "internalType": "Amount",
459
737
  "name": "fixedFee",
460
- "type": "uint256"
738
+ "type": "uint96"
461
739
  }
462
740
  ],
463
741
  "internalType": "struct Fee",
@@ -468,36 +746,6 @@
468
746
  "internalType": "bytes",
469
747
  "name": "filter",
470
748
  "type": "bytes"
471
- },
472
- {
473
- "internalType": "Amount",
474
- "name": "capitalAmount",
475
- "type": "uint96"
476
- },
477
- {
478
- "internalType": "Amount",
479
- "name": "lockedAmount",
480
- "type": "uint96"
481
- },
482
- {
483
- "internalType": "Amount",
484
- "name": "feeAmount",
485
- "type": "uint96"
486
- },
487
- {
488
- "internalType": "Seconds",
489
- "name": "lifetime",
490
- "type": "uint40"
491
- },
492
- {
493
- "internalType": "Timestamp",
494
- "name": "expiredAt",
495
- "type": "uint40"
496
- },
497
- {
498
- "internalType": "Timestamp",
499
- "name": "closedAt",
500
- "type": "uint40"
501
749
  }
502
750
  ],
503
751
  "internalType": "struct IBundle.BundleInfo",
@@ -535,14 +783,19 @@
535
783
  "type": "uint96"
536
784
  },
537
785
  {
538
- "internalType": "uint8",
786
+ "internalType": "Timestamp",
787
+ "name": "closedAt",
788
+ "type": "uint40"
789
+ },
790
+ {
791
+ "internalType": "uint24",
539
792
  "name": "payoutsCount",
540
- "type": "uint8"
793
+ "type": "uint24"
541
794
  },
542
795
  {
543
- "internalType": "uint8",
796
+ "internalType": "uint24",
544
797
  "name": "openPayoutsCount",
545
- "type": "uint8"
798
+ "type": "uint24"
546
799
  },
547
800
  {
548
801
  "internalType": "bytes",
@@ -553,11 +806,6 @@
553
806
  "internalType": "bytes",
554
807
  "name": "processData",
555
808
  "type": "bytes"
556
- },
557
- {
558
- "internalType": "Timestamp",
559
- "name": "closedAt",
560
- "type": "uint40"
561
809
  }
562
810
  ],
563
811
  "internalType": "struct IPolicy.ClaimInfo",
@@ -574,15 +822,15 @@
574
822
  "inputs": [
575
823
  {
576
824
  "internalType": "NftId",
577
- "name": "distributionNftId",
825
+ "name": "componentNftId",
578
826
  "type": "uint96"
579
827
  },
580
828
  {
581
829
  "components": [
582
830
  {
583
- "internalType": "NftId",
584
- "name": "productNftId",
585
- "type": "uint96"
831
+ "internalType": "string",
832
+ "name": "name",
833
+ "type": "string"
586
834
  },
587
835
  {
588
836
  "internalType": "contract TokenHandler",
@@ -590,56 +838,17 @@
590
838
  "type": "address"
591
839
  },
592
840
  {
593
- "components": [
594
- {
595
- "internalType": "UFixed",
596
- "name": "fractionalFee",
597
- "type": "uint256"
598
- },
599
- {
600
- "internalType": "uint256",
601
- "name": "fixedFee",
602
- "type": "uint256"
603
- }
604
- ],
605
- "internalType": "struct Fee",
606
- "name": "minDistributionOwnerFee",
607
- "type": "tuple"
608
- },
609
- {
610
- "components": [
611
- {
612
- "internalType": "UFixed",
613
- "name": "fractionalFee",
614
- "type": "uint256"
615
- },
616
- {
617
- "internalType": "uint256",
618
- "name": "fixedFee",
619
- "type": "uint256"
620
- }
621
- ],
622
- "internalType": "struct Fee",
623
- "name": "distributionFee",
624
- "type": "tuple"
625
- },
626
- {
627
- "internalType": "address",
628
- "name": "wallet",
629
- "type": "address"
630
- },
631
- {
632
- "internalType": "uint256",
633
- "name": "sumDistributionOwnerFees",
634
- "type": "uint256"
841
+ "internalType": "bytes",
842
+ "name": "data",
843
+ "type": "bytes"
635
844
  }
636
845
  ],
637
- "internalType": "struct ISetup.DistributionSetupInfo",
638
- "name": "setup",
846
+ "internalType": "struct IComponents.ComponentInfo",
847
+ "name": "componentInfo",
639
848
  "type": "tuple"
640
849
  }
641
850
  ],
642
- "name": "createDistributionSetup",
851
+ "name": "createComponent",
643
852
  "outputs": [],
644
853
  "stateMutability": "nonpayable",
645
854
  "type": "function"
@@ -663,20 +872,15 @@
663
872
  "name": "active",
664
873
  "type": "bool"
665
874
  },
666
- {
667
- "internalType": "bytes",
668
- "name": "data",
669
- "type": "bytes"
670
- },
671
- {
672
- "internalType": "Amount",
673
- "name": "commissionAmount",
674
- "type": "uint96"
675
- },
676
875
  {
677
876
  "internalType": "uint32",
678
877
  "name": "numPoliciesSold",
679
878
  "type": "uint32"
879
+ },
880
+ {
881
+ "internalType": "bytes",
882
+ "name": "data",
883
+ "type": "bytes"
680
884
  }
681
885
  ],
682
886
  "internalType": "struct IDistribution.DistributorInfo",
@@ -698,25 +902,20 @@
698
902
  },
699
903
  {
700
904
  "components": [
701
- {
702
- "internalType": "string",
703
- "name": "name",
704
- "type": "string"
705
- },
706
905
  {
707
906
  "internalType": "UFixed",
708
907
  "name": "minDiscountPercentage",
709
- "type": "uint256"
908
+ "type": "uint160"
710
909
  },
711
910
  {
712
- "internalType": "UFixed",
713
- "name": "maxDiscountPercentage",
714
- "type": "uint256"
911
+ "internalType": "NftId",
912
+ "name": "distributionNftId",
913
+ "type": "uint96"
715
914
  },
716
915
  {
717
916
  "internalType": "UFixed",
718
- "name": "commissionPercentage",
719
- "type": "uint256"
917
+ "name": "maxDiscountPercentage",
918
+ "type": "uint160"
720
919
  },
721
920
  {
722
921
  "internalType": "uint32",
@@ -724,9 +923,9 @@
724
923
  "type": "uint32"
725
924
  },
726
925
  {
727
- "internalType": "uint32",
926
+ "internalType": "Seconds",
728
927
  "name": "maxReferralLifetime",
729
- "type": "uint32"
928
+ "type": "uint40"
730
929
  },
731
930
  {
732
931
  "internalType": "bool",
@@ -738,6 +937,16 @@
738
937
  "name": "allowRenewals",
739
938
  "type": "bool"
740
939
  },
940
+ {
941
+ "internalType": "UFixed",
942
+ "name": "commissionPercentage",
943
+ "type": "uint160"
944
+ },
945
+ {
946
+ "internalType": "string",
947
+ "name": "name",
948
+ "type": "string"
949
+ },
741
950
  {
742
951
  "internalType": "bytes",
743
952
  "name": "data",
@@ -754,6 +963,145 @@
754
963
  "stateMutability": "nonpayable",
755
964
  "type": "function"
756
965
  },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "NftId",
970
+ "name": "productNftId",
971
+ "type": "uint96"
972
+ },
973
+ {
974
+ "components": [
975
+ {
976
+ "components": [
977
+ {
978
+ "internalType": "UFixed",
979
+ "name": "fractionalFee",
980
+ "type": "uint160"
981
+ },
982
+ {
983
+ "internalType": "Amount",
984
+ "name": "fixedFee",
985
+ "type": "uint96"
986
+ }
987
+ ],
988
+ "internalType": "struct Fee",
989
+ "name": "productFee",
990
+ "type": "tuple"
991
+ },
992
+ {
993
+ "components": [
994
+ {
995
+ "internalType": "UFixed",
996
+ "name": "fractionalFee",
997
+ "type": "uint160"
998
+ },
999
+ {
1000
+ "internalType": "Amount",
1001
+ "name": "fixedFee",
1002
+ "type": "uint96"
1003
+ }
1004
+ ],
1005
+ "internalType": "struct Fee",
1006
+ "name": "processingFee",
1007
+ "type": "tuple"
1008
+ },
1009
+ {
1010
+ "components": [
1011
+ {
1012
+ "internalType": "UFixed",
1013
+ "name": "fractionalFee",
1014
+ "type": "uint160"
1015
+ },
1016
+ {
1017
+ "internalType": "Amount",
1018
+ "name": "fixedFee",
1019
+ "type": "uint96"
1020
+ }
1021
+ ],
1022
+ "internalType": "struct Fee",
1023
+ "name": "distributionFee",
1024
+ "type": "tuple"
1025
+ },
1026
+ {
1027
+ "components": [
1028
+ {
1029
+ "internalType": "UFixed",
1030
+ "name": "fractionalFee",
1031
+ "type": "uint160"
1032
+ },
1033
+ {
1034
+ "internalType": "Amount",
1035
+ "name": "fixedFee",
1036
+ "type": "uint96"
1037
+ }
1038
+ ],
1039
+ "internalType": "struct Fee",
1040
+ "name": "minDistributionOwnerFee",
1041
+ "type": "tuple"
1042
+ },
1043
+ {
1044
+ "components": [
1045
+ {
1046
+ "internalType": "UFixed",
1047
+ "name": "fractionalFee",
1048
+ "type": "uint160"
1049
+ },
1050
+ {
1051
+ "internalType": "Amount",
1052
+ "name": "fixedFee",
1053
+ "type": "uint96"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct Fee",
1057
+ "name": "poolFee",
1058
+ "type": "tuple"
1059
+ },
1060
+ {
1061
+ "components": [
1062
+ {
1063
+ "internalType": "UFixed",
1064
+ "name": "fractionalFee",
1065
+ "type": "uint160"
1066
+ },
1067
+ {
1068
+ "internalType": "Amount",
1069
+ "name": "fixedFee",
1070
+ "type": "uint96"
1071
+ }
1072
+ ],
1073
+ "internalType": "struct Fee",
1074
+ "name": "stakingFee",
1075
+ "type": "tuple"
1076
+ },
1077
+ {
1078
+ "components": [
1079
+ {
1080
+ "internalType": "UFixed",
1081
+ "name": "fractionalFee",
1082
+ "type": "uint160"
1083
+ },
1084
+ {
1085
+ "internalType": "Amount",
1086
+ "name": "fixedFee",
1087
+ "type": "uint96"
1088
+ }
1089
+ ],
1090
+ "internalType": "struct Fee",
1091
+ "name": "performanceFee",
1092
+ "type": "tuple"
1093
+ }
1094
+ ],
1095
+ "internalType": "struct IComponents.FeeInfo",
1096
+ "name": "info",
1097
+ "type": "tuple"
1098
+ }
1099
+ ],
1100
+ "name": "createFee",
1101
+ "outputs": [],
1102
+ "stateMutability": "nonpayable",
1103
+ "type": "function"
1104
+ },
757
1105
  {
758
1106
  "inputs": [
759
1107
  {
@@ -764,7 +1112,7 @@
764
1112
  {
765
1113
  "internalType": "PayoutId",
766
1114
  "name": "payoutId",
767
- "type": "uint24"
1115
+ "type": "uint40"
768
1116
  },
769
1117
  {
770
1118
  "components": [
@@ -778,15 +1126,20 @@
778
1126
  "name": "amount",
779
1127
  "type": "uint96"
780
1128
  },
781
- {
782
- "internalType": "bytes",
783
- "name": "data",
784
- "type": "bytes"
785
- },
786
1129
  {
787
1130
  "internalType": "Timestamp",
788
1131
  "name": "paidAt",
789
1132
  "type": "uint40"
1133
+ },
1134
+ {
1135
+ "internalType": "address",
1136
+ "name": "beneficiary",
1137
+ "type": "address"
1138
+ },
1139
+ {
1140
+ "internalType": "bytes",
1141
+ "name": "data",
1142
+ "type": "bytes"
790
1143
  }
791
1144
  ],
792
1145
  "internalType": "struct IPolicy.PayoutInfo",
@@ -809,47 +1162,47 @@
809
1162
  {
810
1163
  "components": [
811
1164
  {
812
- "internalType": "string",
813
- "name": "name",
814
- "type": "string"
1165
+ "internalType": "Amount",
1166
+ "name": "maxBalanceAmount",
1167
+ "type": "uint96"
815
1168
  },
816
1169
  {
817
- "internalType": "contract IERC20Metadata",
818
- "name": "token",
819
- "type": "address"
1170
+ "internalType": "UFixed",
1171
+ "name": "collateralizationLevel",
1172
+ "type": "uint160"
820
1173
  },
821
1174
  {
822
- "internalType": "contract TokenHandler",
823
- "name": "tokenHandler",
824
- "type": "address"
1175
+ "internalType": "UFixed",
1176
+ "name": "retentionLevel",
1177
+ "type": "uint160"
825
1178
  },
826
1179
  {
827
- "internalType": "address",
828
- "name": "wallet",
829
- "type": "address"
1180
+ "internalType": "bool",
1181
+ "name": "isInterceptingBundleTransfers",
1182
+ "type": "bool"
830
1183
  },
831
1184
  {
832
- "internalType": "Amount",
833
- "name": "balanceAmount",
834
- "type": "uint96"
1185
+ "internalType": "bool",
1186
+ "name": "isProcessingConfirmedClaims",
1187
+ "type": "bool"
835
1188
  },
836
1189
  {
837
- "internalType": "Amount",
838
- "name": "feeAmount",
839
- "type": "uint96"
1190
+ "internalType": "bool",
1191
+ "name": "isExternallyManaged",
1192
+ "type": "bool"
840
1193
  },
841
1194
  {
842
- "internalType": "bytes",
843
- "name": "data",
844
- "type": "bytes"
1195
+ "internalType": "bool",
1196
+ "name": "isVerifyingApplications",
1197
+ "type": "bool"
845
1198
  }
846
1199
  ],
847
- "internalType": "struct IComponents.ComponentInfo",
1200
+ "internalType": "struct IComponents.PoolInfo",
848
1201
  "name": "info",
849
1202
  "type": "tuple"
850
1203
  }
851
1204
  ],
852
- "name": "createPoolSetup",
1205
+ "name": "createPool",
853
1206
  "outputs": [],
854
1207
  "stateMutability": "nonpayable",
855
1208
  "type": "function"
@@ -858,82 +1211,168 @@
858
1211
  "inputs": [
859
1212
  {
860
1213
  "internalType": "NftId",
861
- "name": "productNftId",
1214
+ "name": "policyNftId",
862
1215
  "type": "uint96"
863
1216
  },
864
1217
  {
865
1218
  "components": [
866
1219
  {
867
- "internalType": "contract IERC20Metadata",
868
- "name": "token",
869
- "type": "address"
1220
+ "internalType": "Amount",
1221
+ "name": "productFeeAmount",
1222
+ "type": "uint96"
870
1223
  },
871
1224
  {
872
- "internalType": "contract TokenHandler",
873
- "name": "tokenHandler",
874
- "type": "address"
1225
+ "internalType": "Amount",
1226
+ "name": "distributionFeeAndCommissionAmount",
1227
+ "type": "uint96"
875
1228
  },
876
1229
  {
877
- "internalType": "NftId",
878
- "name": "distributionNftId",
1230
+ "internalType": "Amount",
1231
+ "name": "poolPremiumAndFeeAmount",
879
1232
  "type": "uint96"
880
1233
  },
881
1234
  {
882
- "internalType": "NftId",
883
- "name": "poolNftId",
1235
+ "internalType": "Amount",
1236
+ "name": "netPremiumAmount",
884
1237
  "type": "uint96"
885
1238
  },
886
1239
  {
887
- "components": [
888
- {
889
- "internalType": "UFixed",
890
- "name": "fractionalFee",
891
- "type": "uint256"
892
- },
893
- {
894
- "internalType": "uint256",
895
- "name": "fixedFee",
896
- "type": "uint256"
897
- }
898
- ],
899
- "internalType": "struct Fee",
900
- "name": "productFee",
901
- "type": "tuple"
1240
+ "internalType": "Amount",
1241
+ "name": "fullPremiumAmount",
1242
+ "type": "uint96"
902
1243
  },
903
1244
  {
904
- "components": [
905
- {
906
- "internalType": "UFixed",
907
- "name": "fractionalFee",
908
- "type": "uint256"
909
- },
910
- {
911
- "internalType": "uint256",
912
- "name": "fixedFee",
913
- "type": "uint256"
914
- }
915
- ],
916
- "internalType": "struct Fee",
917
- "name": "processingFee",
918
- "type": "tuple"
1245
+ "internalType": "Amount",
1246
+ "name": "premiumAmount",
1247
+ "type": "uint96"
1248
+ },
1249
+ {
1250
+ "internalType": "Amount",
1251
+ "name": "productFeeFixAmount",
1252
+ "type": "uint96"
1253
+ },
1254
+ {
1255
+ "internalType": "Amount",
1256
+ "name": "poolFeeFixAmount",
1257
+ "type": "uint96"
1258
+ },
1259
+ {
1260
+ "internalType": "Amount",
1261
+ "name": "bundleFeeFixAmount",
1262
+ "type": "uint96"
1263
+ },
1264
+ {
1265
+ "internalType": "Amount",
1266
+ "name": "distributionFeeFixAmount",
1267
+ "type": "uint96"
1268
+ },
1269
+ {
1270
+ "internalType": "Amount",
1271
+ "name": "productFeeVarAmount",
1272
+ "type": "uint96"
1273
+ },
1274
+ {
1275
+ "internalType": "Amount",
1276
+ "name": "poolFeeVarAmount",
1277
+ "type": "uint96"
1278
+ },
1279
+ {
1280
+ "internalType": "Amount",
1281
+ "name": "bundleFeeVarAmount",
1282
+ "type": "uint96"
1283
+ },
1284
+ {
1285
+ "internalType": "Amount",
1286
+ "name": "distributionFeeVarAmount",
1287
+ "type": "uint96"
1288
+ },
1289
+ {
1290
+ "internalType": "Amount",
1291
+ "name": "distributionOwnerFeeFixAmount",
1292
+ "type": "uint96"
1293
+ },
1294
+ {
1295
+ "internalType": "Amount",
1296
+ "name": "distributionOwnerFeeVarAmount",
1297
+ "type": "uint96"
1298
+ },
1299
+ {
1300
+ "internalType": "Amount",
1301
+ "name": "commissionAmount",
1302
+ "type": "uint96"
1303
+ },
1304
+ {
1305
+ "internalType": "Amount",
1306
+ "name": "discountAmount",
1307
+ "type": "uint96"
1308
+ }
1309
+ ],
1310
+ "internalType": "struct IPolicy.PremiumInfo",
1311
+ "name": "premium",
1312
+ "type": "tuple"
1313
+ }
1314
+ ],
1315
+ "name": "createPremium",
1316
+ "outputs": [],
1317
+ "stateMutability": "nonpayable",
1318
+ "type": "function"
1319
+ },
1320
+ {
1321
+ "inputs": [
1322
+ {
1323
+ "internalType": "NftId",
1324
+ "name": "productNftId",
1325
+ "type": "uint96"
1326
+ },
1327
+ {
1328
+ "components": [
1329
+ {
1330
+ "internalType": "bool",
1331
+ "name": "isProcessingFundedClaims",
1332
+ "type": "bool"
919
1333
  },
920
1334
  {
921
1335
  "internalType": "bool",
922
- "name": "isIntercepting",
1336
+ "name": "isInterceptingPolicyTransfers",
923
1337
  "type": "bool"
924
1338
  },
925
1339
  {
926
- "internalType": "address",
927
- "name": "wallet",
928
- "type": "address"
1340
+ "internalType": "bool",
1341
+ "name": "hasDistribution",
1342
+ "type": "bool"
1343
+ },
1344
+ {
1345
+ "internalType": "uint8",
1346
+ "name": "expectedNumberOfOracles",
1347
+ "type": "uint8"
1348
+ },
1349
+ {
1350
+ "internalType": "uint8",
1351
+ "name": "numberOfOracles",
1352
+ "type": "uint8"
1353
+ },
1354
+ {
1355
+ "internalType": "NftId",
1356
+ "name": "poolNftId",
1357
+ "type": "uint96"
1358
+ },
1359
+ {
1360
+ "internalType": "NftId",
1361
+ "name": "distributionNftId",
1362
+ "type": "uint96"
1363
+ },
1364
+ {
1365
+ "internalType": "NftId[]",
1366
+ "name": "oracleNftId",
1367
+ "type": "uint96[]"
929
1368
  }
930
1369
  ],
931
- "internalType": "struct ISetup.ProductSetupInfo",
932
- "name": "setup",
1370
+ "internalType": "struct IComponents.ProductInfo",
1371
+ "name": "info",
933
1372
  "type": "tuple"
934
1373
  }
935
1374
  ],
936
- "name": "createProductSetup",
1375
+ "name": "createProduct",
937
1376
  "outputs": [],
938
1377
  "stateMutability": "nonpayable",
939
1378
  "type": "function"
@@ -949,47 +1388,113 @@
949
1388
  "components": [
950
1389
  {
951
1390
  "internalType": "NftId",
952
- "name": "distributorNftId",
1391
+ "name": "distributionNftId",
1392
+ "type": "uint96"
1393
+ },
1394
+ {
1395
+ "internalType": "NftId",
1396
+ "name": "distributorNftId",
1397
+ "type": "uint96"
1398
+ },
1399
+ {
1400
+ "internalType": "uint32",
1401
+ "name": "maxReferrals",
1402
+ "type": "uint32"
1403
+ },
1404
+ {
1405
+ "internalType": "uint32",
1406
+ "name": "usedReferrals",
1407
+ "type": "uint32"
1408
+ },
1409
+ {
1410
+ "internalType": "UFixed",
1411
+ "name": "discountPercentage",
1412
+ "type": "uint160"
1413
+ },
1414
+ {
1415
+ "internalType": "Timestamp",
1416
+ "name": "expiryAt",
1417
+ "type": "uint40"
1418
+ },
1419
+ {
1420
+ "internalType": "string",
1421
+ "name": "referralCode",
1422
+ "type": "string"
1423
+ },
1424
+ {
1425
+ "internalType": "bytes",
1426
+ "name": "data",
1427
+ "type": "bytes"
1428
+ }
1429
+ ],
1430
+ "internalType": "struct IDistribution.ReferralInfo",
1431
+ "name": "referralInfo",
1432
+ "type": "tuple"
1433
+ }
1434
+ ],
1435
+ "name": "createReferral",
1436
+ "outputs": [],
1437
+ "stateMutability": "nonpayable",
1438
+ "type": "function"
1439
+ },
1440
+ {
1441
+ "inputs": [
1442
+ {
1443
+ "components": [
1444
+ {
1445
+ "internalType": "NftId",
1446
+ "name": "requesterNftId",
1447
+ "type": "uint96"
1448
+ },
1449
+ {
1450
+ "internalType": "NftId",
1451
+ "name": "oracleNftId",
953
1452
  "type": "uint96"
954
1453
  },
955
1454
  {
956
- "internalType": "string",
957
- "name": "referralCode",
958
- "type": "string"
1455
+ "internalType": "bool",
1456
+ "name": "isCancelled",
1457
+ "type": "bool"
959
1458
  },
960
1459
  {
961
- "internalType": "UFixed",
962
- "name": "discountPercentage",
963
- "type": "uint256"
1460
+ "internalType": "Timestamp",
1461
+ "name": "respondedAt",
1462
+ "type": "uint40"
964
1463
  },
965
1464
  {
966
- "internalType": "uint32",
967
- "name": "maxReferrals",
968
- "type": "uint32"
1465
+ "internalType": "Timestamp",
1466
+ "name": "expiredAt",
1467
+ "type": "uint40"
969
1468
  },
970
1469
  {
971
- "internalType": "uint32",
972
- "name": "usedReferrals",
973
- "type": "uint32"
1470
+ "internalType": "string",
1471
+ "name": "callbackMethodName",
1472
+ "type": "string"
974
1473
  },
975
1474
  {
976
- "internalType": "Timestamp",
977
- "name": "expiryAt",
978
- "type": "uint40"
1475
+ "internalType": "bytes",
1476
+ "name": "requestData",
1477
+ "type": "bytes"
979
1478
  },
980
1479
  {
981
1480
  "internalType": "bytes",
982
- "name": "data",
1481
+ "name": "responseData",
983
1482
  "type": "bytes"
984
1483
  }
985
1484
  ],
986
- "internalType": "struct IDistribution.ReferralInfo",
987
- "name": "referralInfo",
1485
+ "internalType": "struct IOracle.RequestInfo",
1486
+ "name": "request",
988
1487
  "type": "tuple"
989
1488
  }
990
1489
  ],
991
- "name": "createReferral",
992
- "outputs": [],
1490
+ "name": "createRequest",
1491
+ "outputs": [
1492
+ {
1493
+ "internalType": "RequestId",
1494
+ "name": "requestId",
1495
+ "type": "uint64"
1496
+ }
1497
+ ],
993
1498
  "stateMutability": "nonpayable",
994
1499
  "type": "function"
995
1500
  },
@@ -1007,6 +1512,11 @@
1007
1512
  "name": "productNftId",
1008
1513
  "type": "uint96"
1009
1514
  },
1515
+ {
1516
+ "internalType": "Timestamp",
1517
+ "name": "createdAt",
1518
+ "type": "uint40"
1519
+ },
1010
1520
  {
1011
1521
  "internalType": "bytes",
1012
1522
  "name": "data",
@@ -1023,6 +1533,78 @@
1023
1533
  "stateMutability": "nonpayable",
1024
1534
  "type": "function"
1025
1535
  },
1536
+ {
1537
+ "inputs": [
1538
+ {
1539
+ "internalType": "NftId",
1540
+ "name": "targetNftId",
1541
+ "type": "uint96"
1542
+ },
1543
+ {
1544
+ "internalType": "Amount",
1545
+ "name": "amount",
1546
+ "type": "uint96"
1547
+ }
1548
+ ],
1549
+ "name": "decreaseBalance",
1550
+ "outputs": [
1551
+ {
1552
+ "internalType": "Amount",
1553
+ "name": "newBalance",
1554
+ "type": "uint96"
1555
+ }
1556
+ ],
1557
+ "stateMutability": "nonpayable",
1558
+ "type": "function"
1559
+ },
1560
+ {
1561
+ "inputs": [
1562
+ {
1563
+ "internalType": "NftId",
1564
+ "name": "targetNftId",
1565
+ "type": "uint96"
1566
+ },
1567
+ {
1568
+ "internalType": "Amount",
1569
+ "name": "amount",
1570
+ "type": "uint96"
1571
+ }
1572
+ ],
1573
+ "name": "decreaseFees",
1574
+ "outputs": [
1575
+ {
1576
+ "internalType": "Amount",
1577
+ "name": "newFeeBalance",
1578
+ "type": "uint96"
1579
+ }
1580
+ ],
1581
+ "stateMutability": "nonpayable",
1582
+ "type": "function"
1583
+ },
1584
+ {
1585
+ "inputs": [
1586
+ {
1587
+ "internalType": "NftId",
1588
+ "name": "targetNftId",
1589
+ "type": "uint96"
1590
+ },
1591
+ {
1592
+ "internalType": "Amount",
1593
+ "name": "amount",
1594
+ "type": "uint96"
1595
+ }
1596
+ ],
1597
+ "name": "decreaseLocked",
1598
+ "outputs": [
1599
+ {
1600
+ "internalType": "Amount",
1601
+ "name": "newBalance",
1602
+ "type": "uint96"
1603
+ }
1604
+ ],
1605
+ "stateMutability": "nonpayable",
1606
+ "type": "function"
1607
+ },
1026
1608
  {
1027
1609
  "inputs": [
1028
1610
  {
@@ -1066,20 +1648,15 @@
1066
1648
  "name": "state",
1067
1649
  "type": "uint8"
1068
1650
  },
1069
- {
1070
- "internalType": "address",
1071
- "name": "updatedBy",
1072
- "type": "address"
1073
- },
1074
1651
  {
1075
1652
  "internalType": "Blocknumber",
1076
1653
  "name": "updatedIn",
1077
- "type": "uint32"
1654
+ "type": "uint40"
1078
1655
  },
1079
1656
  {
1080
1657
  "internalType": "Blocknumber",
1081
1658
  "name": "createdIn",
1082
- "type": "uint32"
1659
+ "type": "uint40"
1083
1660
  }
1084
1661
  ],
1085
1662
  "internalType": "struct IKeyValueStore.Metadata",
@@ -1100,6 +1677,54 @@
1100
1677
  "stateMutability": "view",
1101
1678
  "type": "function"
1102
1679
  },
1680
+ {
1681
+ "inputs": [
1682
+ {
1683
+ "internalType": "NftId",
1684
+ "name": "targetNftId",
1685
+ "type": "uint96"
1686
+ }
1687
+ ],
1688
+ "name": "getAmounts",
1689
+ "outputs": [
1690
+ {
1691
+ "internalType": "Amount",
1692
+ "name": "balanceAmount",
1693
+ "type": "uint96"
1694
+ },
1695
+ {
1696
+ "internalType": "Amount",
1697
+ "name": "lockedAmount",
1698
+ "type": "uint96"
1699
+ },
1700
+ {
1701
+ "internalType": "Amount",
1702
+ "name": "feeAmount",
1703
+ "type": "uint96"
1704
+ }
1705
+ ],
1706
+ "stateMutability": "view",
1707
+ "type": "function"
1708
+ },
1709
+ {
1710
+ "inputs": [
1711
+ {
1712
+ "internalType": "NftId",
1713
+ "name": "targetNftId",
1714
+ "type": "uint96"
1715
+ }
1716
+ ],
1717
+ "name": "getBalanceAmount",
1718
+ "outputs": [
1719
+ {
1720
+ "internalType": "Amount",
1721
+ "name": "balanceAmount",
1722
+ "type": "uint96"
1723
+ }
1724
+ ],
1725
+ "stateMutability": "view",
1726
+ "type": "function"
1727
+ },
1103
1728
  {
1104
1729
  "inputs": [
1105
1730
  {
@@ -1119,6 +1744,25 @@
1119
1744
  "stateMutability": "view",
1120
1745
  "type": "function"
1121
1746
  },
1747
+ {
1748
+ "inputs": [
1749
+ {
1750
+ "internalType": "NftId",
1751
+ "name": "targetNftId",
1752
+ "type": "uint96"
1753
+ }
1754
+ ],
1755
+ "name": "getFeeAmount",
1756
+ "outputs": [
1757
+ {
1758
+ "internalType": "Amount",
1759
+ "name": "feeAmount",
1760
+ "type": "uint96"
1761
+ }
1762
+ ],
1763
+ "stateMutability": "view",
1764
+ "type": "function"
1765
+ },
1122
1766
  {
1123
1767
  "inputs": [
1124
1768
  {
@@ -1138,6 +1782,25 @@
1138
1782
  "stateMutability": "view",
1139
1783
  "type": "function"
1140
1784
  },
1785
+ {
1786
+ "inputs": [
1787
+ {
1788
+ "internalType": "NftId",
1789
+ "name": "targetNftId",
1790
+ "type": "uint96"
1791
+ }
1792
+ ],
1793
+ "name": "getLockedAmount",
1794
+ "outputs": [
1795
+ {
1796
+ "internalType": "Amount",
1797
+ "name": "lockedAmount",
1798
+ "type": "uint96"
1799
+ }
1800
+ ],
1801
+ "stateMutability": "view",
1802
+ "type": "function"
1803
+ },
1141
1804
  {
1142
1805
  "inputs": [
1143
1806
  {
@@ -1160,20 +1823,15 @@
1160
1823
  "name": "state",
1161
1824
  "type": "uint8"
1162
1825
  },
1163
- {
1164
- "internalType": "address",
1165
- "name": "updatedBy",
1166
- "type": "address"
1167
- },
1168
1826
  {
1169
1827
  "internalType": "Blocknumber",
1170
1828
  "name": "updatedIn",
1171
- "type": "uint32"
1829
+ "type": "uint40"
1172
1830
  },
1173
1831
  {
1174
1832
  "internalType": "Blocknumber",
1175
1833
  "name": "createdIn",
1176
- "type": "uint32"
1834
+ "type": "uint40"
1177
1835
  }
1178
1836
  ],
1179
1837
  "internalType": "struct IKeyValueStore.Metadata",
@@ -1225,19 +1883,78 @@
1225
1883
  {
1226
1884
  "inputs": [
1227
1885
  {
1228
- "internalType": "address",
1229
- "name": "instance",
1230
- "type": "address"
1886
+ "internalType": "NftId",
1887
+ "name": "targetNftId",
1888
+ "type": "uint96"
1889
+ },
1890
+ {
1891
+ "internalType": "Amount",
1892
+ "name": "amount",
1893
+ "type": "uint96"
1894
+ }
1895
+ ],
1896
+ "name": "increaseBalance",
1897
+ "outputs": [
1898
+ {
1899
+ "internalType": "Amount",
1900
+ "name": "newBalance",
1901
+ "type": "uint96"
1902
+ }
1903
+ ],
1904
+ "stateMutability": "nonpayable",
1905
+ "type": "function"
1906
+ },
1907
+ {
1908
+ "inputs": [
1909
+ {
1910
+ "internalType": "NftId",
1911
+ "name": "targetNftId",
1912
+ "type": "uint96"
1913
+ },
1914
+ {
1915
+ "internalType": "Amount",
1916
+ "name": "amount",
1917
+ "type": "uint96"
1918
+ }
1919
+ ],
1920
+ "name": "increaseFees",
1921
+ "outputs": [
1922
+ {
1923
+ "internalType": "Amount",
1924
+ "name": "newFeeBalance",
1925
+ "type": "uint96"
1926
+ }
1927
+ ],
1928
+ "stateMutability": "nonpayable",
1929
+ "type": "function"
1930
+ },
1931
+ {
1932
+ "inputs": [
1933
+ {
1934
+ "internalType": "NftId",
1935
+ "name": "targetNftId",
1936
+ "type": "uint96"
1937
+ },
1938
+ {
1939
+ "internalType": "Amount",
1940
+ "name": "amount",
1941
+ "type": "uint96"
1942
+ }
1943
+ ],
1944
+ "name": "increaseLocked",
1945
+ "outputs": [
1946
+ {
1947
+ "internalType": "Amount",
1948
+ "name": "newBalance",
1949
+ "type": "uint96"
1231
1950
  }
1232
1951
  ],
1233
- "name": "initialize",
1234
- "outputs": [],
1235
1952
  "stateMutability": "nonpayable",
1236
1953
  "type": "function"
1237
1954
  },
1238
1955
  {
1239
1956
  "inputs": [],
1240
- "name": "initializeLifecycle",
1957
+ "name": "initialize",
1241
1958
  "outputs": [],
1242
1959
  "stateMutability": "nonpayable",
1243
1960
  "type": "function"
@@ -1340,11 +2057,6 @@
1340
2057
  "name": "bundleNftId",
1341
2058
  "type": "uint96"
1342
2059
  },
1343
- {
1344
- "internalType": "ReferralId",
1345
- "name": "referralId",
1346
- "type": "bytes8"
1347
- },
1348
2060
  {
1349
2061
  "internalType": "RiskId",
1350
2062
  "name": "riskId",
@@ -1361,24 +2073,9 @@
1361
2073
  "type": "uint96"
1362
2074
  },
1363
2075
  {
1364
- "internalType": "Amount",
1365
- "name": "premiumPaidAmount",
1366
- "type": "uint96"
1367
- },
1368
- {
1369
- "internalType": "Seconds",
1370
- "name": "lifetime",
1371
- "type": "uint40"
1372
- },
1373
- {
1374
- "internalType": "bytes",
1375
- "name": "applicationData",
1376
- "type": "bytes"
1377
- },
1378
- {
1379
- "internalType": "bytes",
1380
- "name": "processData",
1381
- "type": "bytes"
2076
+ "internalType": "ReferralId",
2077
+ "name": "referralId",
2078
+ "type": "bytes8"
1382
2079
  },
1383
2080
  {
1384
2081
  "internalType": "uint16",
@@ -1405,6 +2102,11 @@
1405
2102
  "name": "activatedAt",
1406
2103
  "type": "uint40"
1407
2104
  },
2105
+ {
2106
+ "internalType": "Seconds",
2107
+ "name": "lifetime",
2108
+ "type": "uint40"
2109
+ },
1408
2110
  {
1409
2111
  "internalType": "Timestamp",
1410
2112
  "name": "expiredAt",
@@ -1414,6 +2116,16 @@
1414
2116
  "internalType": "Timestamp",
1415
2117
  "name": "closedAt",
1416
2118
  "type": "uint40"
2119
+ },
2120
+ {
2121
+ "internalType": "bytes",
2122
+ "name": "applicationData",
2123
+ "type": "bytes"
2124
+ },
2125
+ {
2126
+ "internalType": "bytes",
2127
+ "name": "processData",
2128
+ "type": "bytes"
1417
2129
  }
1418
2130
  ],
1419
2131
  "internalType": "struct IPolicy.PolicyInfo",
@@ -1458,6 +2170,21 @@
1458
2170
  },
1459
2171
  {
1460
2172
  "components": [
2173
+ {
2174
+ "internalType": "Timestamp",
2175
+ "name": "activatedAt",
2176
+ "type": "uint40"
2177
+ },
2178
+ {
2179
+ "internalType": "Timestamp",
2180
+ "name": "expiredAt",
2181
+ "type": "uint40"
2182
+ },
2183
+ {
2184
+ "internalType": "Timestamp",
2185
+ "name": "closedAt",
2186
+ "type": "uint40"
2187
+ },
1461
2188
  {
1462
2189
  "internalType": "NftId",
1463
2190
  "name": "poolNftId",
@@ -1468,12 +2195,12 @@
1468
2195
  {
1469
2196
  "internalType": "UFixed",
1470
2197
  "name": "fractionalFee",
1471
- "type": "uint256"
2198
+ "type": "uint160"
1472
2199
  },
1473
2200
  {
1474
- "internalType": "uint256",
2201
+ "internalType": "Amount",
1475
2202
  "name": "fixedFee",
1476
- "type": "uint256"
2203
+ "type": "uint96"
1477
2204
  }
1478
2205
  ],
1479
2206
  "internalType": "struct Fee",
@@ -1484,36 +2211,6 @@
1484
2211
  "internalType": "bytes",
1485
2212
  "name": "filter",
1486
2213
  "type": "bytes"
1487
- },
1488
- {
1489
- "internalType": "Amount",
1490
- "name": "capitalAmount",
1491
- "type": "uint96"
1492
- },
1493
- {
1494
- "internalType": "Amount",
1495
- "name": "lockedAmount",
1496
- "type": "uint96"
1497
- },
1498
- {
1499
- "internalType": "Amount",
1500
- "name": "feeAmount",
1501
- "type": "uint96"
1502
- },
1503
- {
1504
- "internalType": "Seconds",
1505
- "name": "lifetime",
1506
- "type": "uint40"
1507
- },
1508
- {
1509
- "internalType": "Timestamp",
1510
- "name": "expiredAt",
1511
- "type": "uint40"
1512
- },
1513
- {
1514
- "internalType": "Timestamp",
1515
- "name": "closedAt",
1516
- "type": "uint40"
1517
2214
  }
1518
2215
  ],
1519
2216
  "internalType": "struct IBundle.BundleInfo",
@@ -1574,14 +2271,19 @@
1574
2271
  "type": "uint96"
1575
2272
  },
1576
2273
  {
1577
- "internalType": "uint8",
2274
+ "internalType": "Timestamp",
2275
+ "name": "closedAt",
2276
+ "type": "uint40"
2277
+ },
2278
+ {
2279
+ "internalType": "uint24",
1578
2280
  "name": "payoutsCount",
1579
- "type": "uint8"
2281
+ "type": "uint24"
1580
2282
  },
1581
2283
  {
1582
- "internalType": "uint8",
2284
+ "internalType": "uint24",
1583
2285
  "name": "openPayoutsCount",
1584
- "type": "uint8"
2286
+ "type": "uint24"
1585
2287
  },
1586
2288
  {
1587
2289
  "internalType": "bytes",
@@ -1592,11 +2294,6 @@
1592
2294
  "internalType": "bytes",
1593
2295
  "name": "processData",
1594
2296
  "type": "bytes"
1595
- },
1596
- {
1597
- "internalType": "Timestamp",
1598
- "name": "closedAt",
1599
- "type": "uint40"
1600
2297
  }
1601
2298
  ],
1602
2299
  "internalType": "struct IPolicy.ClaimInfo",
@@ -1641,15 +2338,15 @@
1641
2338
  "inputs": [
1642
2339
  {
1643
2340
  "internalType": "NftId",
1644
- "name": "distributionNftId",
2341
+ "name": "componentNftId",
1645
2342
  "type": "uint96"
1646
2343
  },
1647
2344
  {
1648
2345
  "components": [
1649
2346
  {
1650
- "internalType": "NftId",
1651
- "name": "productNftId",
1652
- "type": "uint96"
2347
+ "internalType": "string",
2348
+ "name": "name",
2349
+ "type": "string"
1653
2350
  },
1654
2351
  {
1655
2352
  "internalType": "contract TokenHandler",
@@ -1657,52 +2354,13 @@
1657
2354
  "type": "address"
1658
2355
  },
1659
2356
  {
1660
- "components": [
1661
- {
1662
- "internalType": "UFixed",
1663
- "name": "fractionalFee",
1664
- "type": "uint256"
1665
- },
1666
- {
1667
- "internalType": "uint256",
1668
- "name": "fixedFee",
1669
- "type": "uint256"
1670
- }
1671
- ],
1672
- "internalType": "struct Fee",
1673
- "name": "minDistributionOwnerFee",
1674
- "type": "tuple"
1675
- },
1676
- {
1677
- "components": [
1678
- {
1679
- "internalType": "UFixed",
1680
- "name": "fractionalFee",
1681
- "type": "uint256"
1682
- },
1683
- {
1684
- "internalType": "uint256",
1685
- "name": "fixedFee",
1686
- "type": "uint256"
1687
- }
1688
- ],
1689
- "internalType": "struct Fee",
1690
- "name": "distributionFee",
1691
- "type": "tuple"
1692
- },
1693
- {
1694
- "internalType": "address",
1695
- "name": "wallet",
1696
- "type": "address"
1697
- },
1698
- {
1699
- "internalType": "uint256",
1700
- "name": "sumDistributionOwnerFees",
1701
- "type": "uint256"
2357
+ "internalType": "bytes",
2358
+ "name": "data",
2359
+ "type": "bytes"
1702
2360
  }
1703
2361
  ],
1704
- "internalType": "struct ISetup.DistributionSetupInfo",
1705
- "name": "setup",
2362
+ "internalType": "struct IComponents.ComponentInfo",
2363
+ "name": "componentInfo",
1706
2364
  "type": "tuple"
1707
2365
  },
1708
2366
  {
@@ -1711,25 +2369,7 @@
1711
2369
  "type": "uint8"
1712
2370
  }
1713
2371
  ],
1714
- "name": "updateDistributionSetup",
1715
- "outputs": [],
1716
- "stateMutability": "nonpayable",
1717
- "type": "function"
1718
- },
1719
- {
1720
- "inputs": [
1721
- {
1722
- "internalType": "NftId",
1723
- "name": "distributionNftId",
1724
- "type": "uint96"
1725
- },
1726
- {
1727
- "internalType": "StateId",
1728
- "name": "newState",
1729
- "type": "uint8"
1730
- }
1731
- ],
1732
- "name": "updateDistributionSetupState",
2372
+ "name": "updateComponent",
1733
2373
  "outputs": [],
1734
2374
  "stateMutability": "nonpayable",
1735
2375
  "type": "function"
@@ -1753,20 +2393,15 @@
1753
2393
  "name": "active",
1754
2394
  "type": "bool"
1755
2395
  },
1756
- {
1757
- "internalType": "bytes",
1758
- "name": "data",
1759
- "type": "bytes"
1760
- },
1761
- {
1762
- "internalType": "Amount",
1763
- "name": "commissionAmount",
1764
- "type": "uint96"
1765
- },
1766
2396
  {
1767
2397
  "internalType": "uint32",
1768
2398
  "name": "numPoliciesSold",
1769
2399
  "type": "uint32"
2400
+ },
2401
+ {
2402
+ "internalType": "bytes",
2403
+ "name": "data",
2404
+ "type": "bytes"
1770
2405
  }
1771
2406
  ],
1772
2407
  "internalType": "struct IDistribution.DistributorInfo",
@@ -1811,25 +2446,20 @@
1811
2446
  },
1812
2447
  {
1813
2448
  "components": [
1814
- {
1815
- "internalType": "string",
1816
- "name": "name",
1817
- "type": "string"
1818
- },
1819
2449
  {
1820
2450
  "internalType": "UFixed",
1821
2451
  "name": "minDiscountPercentage",
1822
- "type": "uint256"
2452
+ "type": "uint160"
1823
2453
  },
1824
2454
  {
1825
- "internalType": "UFixed",
1826
- "name": "maxDiscountPercentage",
1827
- "type": "uint256"
2455
+ "internalType": "NftId",
2456
+ "name": "distributionNftId",
2457
+ "type": "uint96"
1828
2458
  },
1829
2459
  {
1830
2460
  "internalType": "UFixed",
1831
- "name": "commissionPercentage",
1832
- "type": "uint256"
2461
+ "name": "maxDiscountPercentage",
2462
+ "type": "uint160"
1833
2463
  },
1834
2464
  {
1835
2465
  "internalType": "uint32",
@@ -1837,55 +2467,204 @@
1837
2467
  "type": "uint32"
1838
2468
  },
1839
2469
  {
1840
- "internalType": "uint32",
1841
- "name": "maxReferralLifetime",
1842
- "type": "uint32"
2470
+ "internalType": "Seconds",
2471
+ "name": "maxReferralLifetime",
2472
+ "type": "uint40"
2473
+ },
2474
+ {
2475
+ "internalType": "bool",
2476
+ "name": "allowSelfReferrals",
2477
+ "type": "bool"
2478
+ },
2479
+ {
2480
+ "internalType": "bool",
2481
+ "name": "allowRenewals",
2482
+ "type": "bool"
2483
+ },
2484
+ {
2485
+ "internalType": "UFixed",
2486
+ "name": "commissionPercentage",
2487
+ "type": "uint160"
2488
+ },
2489
+ {
2490
+ "internalType": "string",
2491
+ "name": "name",
2492
+ "type": "string"
2493
+ },
2494
+ {
2495
+ "internalType": "bytes",
2496
+ "name": "data",
2497
+ "type": "bytes"
2498
+ }
2499
+ ],
2500
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2501
+ "name": "info",
2502
+ "type": "tuple"
2503
+ },
2504
+ {
2505
+ "internalType": "StateId",
2506
+ "name": "newState",
2507
+ "type": "uint8"
2508
+ }
2509
+ ],
2510
+ "name": "updateDistributorType",
2511
+ "outputs": [],
2512
+ "stateMutability": "nonpayable",
2513
+ "type": "function"
2514
+ },
2515
+ {
2516
+ "inputs": [
2517
+ {
2518
+ "internalType": "DistributorType",
2519
+ "name": "distributorType",
2520
+ "type": "bytes8"
2521
+ },
2522
+ {
2523
+ "internalType": "StateId",
2524
+ "name": "newState",
2525
+ "type": "uint8"
2526
+ }
2527
+ ],
2528
+ "name": "updateDistributorTypeState",
2529
+ "outputs": [],
2530
+ "stateMutability": "nonpayable",
2531
+ "type": "function"
2532
+ },
2533
+ {
2534
+ "inputs": [
2535
+ {
2536
+ "internalType": "NftId",
2537
+ "name": "productNftId",
2538
+ "type": "uint96"
2539
+ },
2540
+ {
2541
+ "components": [
2542
+ {
2543
+ "components": [
2544
+ {
2545
+ "internalType": "UFixed",
2546
+ "name": "fractionalFee",
2547
+ "type": "uint160"
2548
+ },
2549
+ {
2550
+ "internalType": "Amount",
2551
+ "name": "fixedFee",
2552
+ "type": "uint96"
2553
+ }
2554
+ ],
2555
+ "internalType": "struct Fee",
2556
+ "name": "productFee",
2557
+ "type": "tuple"
2558
+ },
2559
+ {
2560
+ "components": [
2561
+ {
2562
+ "internalType": "UFixed",
2563
+ "name": "fractionalFee",
2564
+ "type": "uint160"
2565
+ },
2566
+ {
2567
+ "internalType": "Amount",
2568
+ "name": "fixedFee",
2569
+ "type": "uint96"
2570
+ }
2571
+ ],
2572
+ "internalType": "struct Fee",
2573
+ "name": "processingFee",
2574
+ "type": "tuple"
2575
+ },
2576
+ {
2577
+ "components": [
2578
+ {
2579
+ "internalType": "UFixed",
2580
+ "name": "fractionalFee",
2581
+ "type": "uint160"
2582
+ },
2583
+ {
2584
+ "internalType": "Amount",
2585
+ "name": "fixedFee",
2586
+ "type": "uint96"
2587
+ }
2588
+ ],
2589
+ "internalType": "struct Fee",
2590
+ "name": "distributionFee",
2591
+ "type": "tuple"
2592
+ },
2593
+ {
2594
+ "components": [
2595
+ {
2596
+ "internalType": "UFixed",
2597
+ "name": "fractionalFee",
2598
+ "type": "uint160"
2599
+ },
2600
+ {
2601
+ "internalType": "Amount",
2602
+ "name": "fixedFee",
2603
+ "type": "uint96"
2604
+ }
2605
+ ],
2606
+ "internalType": "struct Fee",
2607
+ "name": "minDistributionOwnerFee",
2608
+ "type": "tuple"
1843
2609
  },
1844
2610
  {
1845
- "internalType": "bool",
1846
- "name": "allowSelfReferrals",
1847
- "type": "bool"
2611
+ "components": [
2612
+ {
2613
+ "internalType": "UFixed",
2614
+ "name": "fractionalFee",
2615
+ "type": "uint160"
2616
+ },
2617
+ {
2618
+ "internalType": "Amount",
2619
+ "name": "fixedFee",
2620
+ "type": "uint96"
2621
+ }
2622
+ ],
2623
+ "internalType": "struct Fee",
2624
+ "name": "poolFee",
2625
+ "type": "tuple"
1848
2626
  },
1849
2627
  {
1850
- "internalType": "bool",
1851
- "name": "allowRenewals",
1852
- "type": "bool"
2628
+ "components": [
2629
+ {
2630
+ "internalType": "UFixed",
2631
+ "name": "fractionalFee",
2632
+ "type": "uint160"
2633
+ },
2634
+ {
2635
+ "internalType": "Amount",
2636
+ "name": "fixedFee",
2637
+ "type": "uint96"
2638
+ }
2639
+ ],
2640
+ "internalType": "struct Fee",
2641
+ "name": "stakingFee",
2642
+ "type": "tuple"
1853
2643
  },
1854
2644
  {
1855
- "internalType": "bytes",
1856
- "name": "data",
1857
- "type": "bytes"
2645
+ "components": [
2646
+ {
2647
+ "internalType": "UFixed",
2648
+ "name": "fractionalFee",
2649
+ "type": "uint160"
2650
+ },
2651
+ {
2652
+ "internalType": "Amount",
2653
+ "name": "fixedFee",
2654
+ "type": "uint96"
2655
+ }
2656
+ ],
2657
+ "internalType": "struct Fee",
2658
+ "name": "performanceFee",
2659
+ "type": "tuple"
1858
2660
  }
1859
2661
  ],
1860
- "internalType": "struct IDistribution.DistributorTypeInfo",
2662
+ "internalType": "struct IComponents.FeeInfo",
1861
2663
  "name": "info",
1862
2664
  "type": "tuple"
1863
- },
1864
- {
1865
- "internalType": "StateId",
1866
- "name": "newState",
1867
- "type": "uint8"
1868
- }
1869
- ],
1870
- "name": "updateDistributorType",
1871
- "outputs": [],
1872
- "stateMutability": "nonpayable",
1873
- "type": "function"
1874
- },
1875
- {
1876
- "inputs": [
1877
- {
1878
- "internalType": "DistributorType",
1879
- "name": "distributorType",
1880
- "type": "bytes8"
1881
- },
1882
- {
1883
- "internalType": "StateId",
1884
- "name": "newState",
1885
- "type": "uint8"
1886
2665
  }
1887
2666
  ],
1888
- "name": "updateDistributorTypeState",
2667
+ "name": "updateFee",
1889
2668
  "outputs": [],
1890
2669
  "stateMutability": "nonpayable",
1891
2670
  "type": "function"
@@ -1900,7 +2679,7 @@
1900
2679
  {
1901
2680
  "internalType": "PayoutId",
1902
2681
  "name": "payoutId",
1903
- "type": "uint24"
2682
+ "type": "uint40"
1904
2683
  },
1905
2684
  {
1906
2685
  "components": [
@@ -1914,15 +2693,20 @@
1914
2693
  "name": "amount",
1915
2694
  "type": "uint96"
1916
2695
  },
1917
- {
1918
- "internalType": "bytes",
1919
- "name": "data",
1920
- "type": "bytes"
1921
- },
1922
2696
  {
1923
2697
  "internalType": "Timestamp",
1924
2698
  "name": "paidAt",
1925
2699
  "type": "uint40"
2700
+ },
2701
+ {
2702
+ "internalType": "address",
2703
+ "name": "beneficiary",
2704
+ "type": "address"
2705
+ },
2706
+ {
2707
+ "internalType": "bytes",
2708
+ "name": "data",
2709
+ "type": "bytes"
1926
2710
  }
1927
2711
  ],
1928
2712
  "internalType": "struct IPolicy.PayoutInfo",
@@ -1950,7 +2734,7 @@
1950
2734
  {
1951
2735
  "internalType": "PayoutId",
1952
2736
  "name": "payoutId",
1953
- "type": "uint24"
2737
+ "type": "uint40"
1954
2738
  },
1955
2739
  {
1956
2740
  "internalType": "StateId",
@@ -1982,11 +2766,6 @@
1982
2766
  "name": "bundleNftId",
1983
2767
  "type": "uint96"
1984
2768
  },
1985
- {
1986
- "internalType": "ReferralId",
1987
- "name": "referralId",
1988
- "type": "bytes8"
1989
- },
1990
2769
  {
1991
2770
  "internalType": "RiskId",
1992
2771
  "name": "riskId",
@@ -2003,24 +2782,9 @@
2003
2782
  "type": "uint96"
2004
2783
  },
2005
2784
  {
2006
- "internalType": "Amount",
2007
- "name": "premiumPaidAmount",
2008
- "type": "uint96"
2009
- },
2010
- {
2011
- "internalType": "Seconds",
2012
- "name": "lifetime",
2013
- "type": "uint40"
2014
- },
2015
- {
2016
- "internalType": "bytes",
2017
- "name": "applicationData",
2018
- "type": "bytes"
2019
- },
2020
- {
2021
- "internalType": "bytes",
2022
- "name": "processData",
2023
- "type": "bytes"
2785
+ "internalType": "ReferralId",
2786
+ "name": "referralId",
2787
+ "type": "bytes8"
2024
2788
  },
2025
2789
  {
2026
2790
  "internalType": "uint16",
@@ -2047,6 +2811,11 @@
2047
2811
  "name": "activatedAt",
2048
2812
  "type": "uint40"
2049
2813
  },
2814
+ {
2815
+ "internalType": "Seconds",
2816
+ "name": "lifetime",
2817
+ "type": "uint40"
2818
+ },
2050
2819
  {
2051
2820
  "internalType": "Timestamp",
2052
2821
  "name": "expiredAt",
@@ -2056,6 +2825,16 @@
2056
2825
  "internalType": "Timestamp",
2057
2826
  "name": "closedAt",
2058
2827
  "type": "uint40"
2828
+ },
2829
+ {
2830
+ "internalType": "bytes",
2831
+ "name": "applicationData",
2832
+ "type": "bytes"
2833
+ },
2834
+ {
2835
+ "internalType": "bytes",
2836
+ "name": "processData",
2837
+ "type": "bytes"
2059
2838
  }
2060
2839
  ],
2061
2840
  "internalType": "struct IPolicy.PolicyInfo",
@@ -2092,11 +2871,6 @@
2092
2871
  "name": "bundleNftId",
2093
2872
  "type": "uint96"
2094
2873
  },
2095
- {
2096
- "internalType": "ReferralId",
2097
- "name": "referralId",
2098
- "type": "bytes8"
2099
- },
2100
2874
  {
2101
2875
  "internalType": "RiskId",
2102
2876
  "name": "riskId",
@@ -2113,24 +2887,9 @@
2113
2887
  "type": "uint96"
2114
2888
  },
2115
2889
  {
2116
- "internalType": "Amount",
2117
- "name": "premiumPaidAmount",
2118
- "type": "uint96"
2119
- },
2120
- {
2121
- "internalType": "Seconds",
2122
- "name": "lifetime",
2123
- "type": "uint40"
2124
- },
2125
- {
2126
- "internalType": "bytes",
2127
- "name": "applicationData",
2128
- "type": "bytes"
2129
- },
2130
- {
2131
- "internalType": "bytes",
2132
- "name": "processData",
2133
- "type": "bytes"
2890
+ "internalType": "ReferralId",
2891
+ "name": "referralId",
2892
+ "type": "bytes8"
2134
2893
  },
2135
2894
  {
2136
2895
  "internalType": "uint16",
@@ -2157,6 +2916,11 @@
2157
2916
  "name": "activatedAt",
2158
2917
  "type": "uint40"
2159
2918
  },
2919
+ {
2920
+ "internalType": "Seconds",
2921
+ "name": "lifetime",
2922
+ "type": "uint40"
2923
+ },
2160
2924
  {
2161
2925
  "internalType": "Timestamp",
2162
2926
  "name": "expiredAt",
@@ -2166,6 +2930,16 @@
2166
2930
  "internalType": "Timestamp",
2167
2931
  "name": "closedAt",
2168
2932
  "type": "uint40"
2933
+ },
2934
+ {
2935
+ "internalType": "bytes",
2936
+ "name": "applicationData",
2937
+ "type": "bytes"
2938
+ },
2939
+ {
2940
+ "internalType": "bytes",
2941
+ "name": "processData",
2942
+ "type": "bytes"
2169
2943
  }
2170
2944
  ],
2171
2945
  "internalType": "struct IPolicy.PolicyInfo",
@@ -2211,42 +2985,42 @@
2211
2985
  {
2212
2986
  "components": [
2213
2987
  {
2214
- "internalType": "string",
2215
- "name": "name",
2216
- "type": "string"
2988
+ "internalType": "Amount",
2989
+ "name": "maxBalanceAmount",
2990
+ "type": "uint96"
2217
2991
  },
2218
2992
  {
2219
- "internalType": "contract IERC20Metadata",
2220
- "name": "token",
2221
- "type": "address"
2993
+ "internalType": "UFixed",
2994
+ "name": "collateralizationLevel",
2995
+ "type": "uint160"
2222
2996
  },
2223
2997
  {
2224
- "internalType": "contract TokenHandler",
2225
- "name": "tokenHandler",
2226
- "type": "address"
2998
+ "internalType": "UFixed",
2999
+ "name": "retentionLevel",
3000
+ "type": "uint160"
2227
3001
  },
2228
3002
  {
2229
- "internalType": "address",
2230
- "name": "wallet",
2231
- "type": "address"
3003
+ "internalType": "bool",
3004
+ "name": "isInterceptingBundleTransfers",
3005
+ "type": "bool"
2232
3006
  },
2233
3007
  {
2234
- "internalType": "Amount",
2235
- "name": "balanceAmount",
2236
- "type": "uint96"
3008
+ "internalType": "bool",
3009
+ "name": "isProcessingConfirmedClaims",
3010
+ "type": "bool"
2237
3011
  },
2238
3012
  {
2239
- "internalType": "Amount",
2240
- "name": "feeAmount",
2241
- "type": "uint96"
3013
+ "internalType": "bool",
3014
+ "name": "isExternallyManaged",
3015
+ "type": "bool"
2242
3016
  },
2243
3017
  {
2244
- "internalType": "bytes",
2245
- "name": "data",
2246
- "type": "bytes"
3018
+ "internalType": "bool",
3019
+ "name": "isVerifyingApplications",
3020
+ "type": "bool"
2247
3021
  }
2248
3022
  ],
2249
- "internalType": "struct IComponents.ComponentInfo",
3023
+ "internalType": "struct IComponents.PoolInfo",
2250
3024
  "name": "info",
2251
3025
  "type": "tuple"
2252
3026
  },
@@ -2256,7 +3030,7 @@
2256
3030
  "type": "uint8"
2257
3031
  }
2258
3032
  ],
2259
- "name": "updatePoolSetup",
3033
+ "name": "updatePool",
2260
3034
  "outputs": [],
2261
3035
  "stateMutability": "nonpayable",
2262
3036
  "type": "function"
@@ -2265,16 +3039,81 @@
2265
3039
  "inputs": [
2266
3040
  {
2267
3041
  "internalType": "NftId",
2268
- "name": "poolNftId",
3042
+ "name": "policyNftId",
3043
+ "type": "uint96"
3044
+ },
3045
+ {
3046
+ "internalType": "StateId",
3047
+ "name": "newState",
3048
+ "type": "uint8"
3049
+ }
3050
+ ],
3051
+ "name": "updatePremiumState",
3052
+ "outputs": [],
3053
+ "stateMutability": "nonpayable",
3054
+ "type": "function"
3055
+ },
3056
+ {
3057
+ "inputs": [
3058
+ {
3059
+ "internalType": "NftId",
3060
+ "name": "productNftId",
2269
3061
  "type": "uint96"
2270
3062
  },
3063
+ {
3064
+ "components": [
3065
+ {
3066
+ "internalType": "bool",
3067
+ "name": "isProcessingFundedClaims",
3068
+ "type": "bool"
3069
+ },
3070
+ {
3071
+ "internalType": "bool",
3072
+ "name": "isInterceptingPolicyTransfers",
3073
+ "type": "bool"
3074
+ },
3075
+ {
3076
+ "internalType": "bool",
3077
+ "name": "hasDistribution",
3078
+ "type": "bool"
3079
+ },
3080
+ {
3081
+ "internalType": "uint8",
3082
+ "name": "expectedNumberOfOracles",
3083
+ "type": "uint8"
3084
+ },
3085
+ {
3086
+ "internalType": "uint8",
3087
+ "name": "numberOfOracles",
3088
+ "type": "uint8"
3089
+ },
3090
+ {
3091
+ "internalType": "NftId",
3092
+ "name": "poolNftId",
3093
+ "type": "uint96"
3094
+ },
3095
+ {
3096
+ "internalType": "NftId",
3097
+ "name": "distributionNftId",
3098
+ "type": "uint96"
3099
+ },
3100
+ {
3101
+ "internalType": "NftId[]",
3102
+ "name": "oracleNftId",
3103
+ "type": "uint96[]"
3104
+ }
3105
+ ],
3106
+ "internalType": "struct IComponents.ProductInfo",
3107
+ "name": "info",
3108
+ "type": "tuple"
3109
+ },
2271
3110
  {
2272
3111
  "internalType": "StateId",
2273
3112
  "name": "newState",
2274
3113
  "type": "uint8"
2275
3114
  }
2276
3115
  ],
2277
- "name": "updatePoolSetupState",
3116
+ "name": "updateProduct",
2278
3117
  "outputs": [],
2279
3118
  "stateMutability": "nonpayable",
2280
3119
  "type": "function"
@@ -2282,22 +3121,12 @@
2282
3121
  {
2283
3122
  "inputs": [
2284
3123
  {
2285
- "internalType": "NftId",
2286
- "name": "productNftId",
2287
- "type": "uint96"
3124
+ "internalType": "ReferralId",
3125
+ "name": "referralId",
3126
+ "type": "bytes8"
2288
3127
  },
2289
3128
  {
2290
3129
  "components": [
2291
- {
2292
- "internalType": "contract IERC20Metadata",
2293
- "name": "token",
2294
- "type": "address"
2295
- },
2296
- {
2297
- "internalType": "contract TokenHandler",
2298
- "name": "tokenHandler",
2299
- "type": "address"
2300
- },
2301
3130
  {
2302
3131
  "internalType": "NftId",
2303
3132
  "name": "distributionNftId",
@@ -2305,56 +3134,42 @@
2305
3134
  },
2306
3135
  {
2307
3136
  "internalType": "NftId",
2308
- "name": "poolNftId",
3137
+ "name": "distributorNftId",
2309
3138
  "type": "uint96"
2310
3139
  },
2311
3140
  {
2312
- "components": [
2313
- {
2314
- "internalType": "UFixed",
2315
- "name": "fractionalFee",
2316
- "type": "uint256"
2317
- },
2318
- {
2319
- "internalType": "uint256",
2320
- "name": "fixedFee",
2321
- "type": "uint256"
2322
- }
2323
- ],
2324
- "internalType": "struct Fee",
2325
- "name": "productFee",
2326
- "type": "tuple"
3141
+ "internalType": "uint32",
3142
+ "name": "maxReferrals",
3143
+ "type": "uint32"
2327
3144
  },
2328
3145
  {
2329
- "components": [
2330
- {
2331
- "internalType": "UFixed",
2332
- "name": "fractionalFee",
2333
- "type": "uint256"
2334
- },
2335
- {
2336
- "internalType": "uint256",
2337
- "name": "fixedFee",
2338
- "type": "uint256"
2339
- }
2340
- ],
2341
- "internalType": "struct Fee",
2342
- "name": "processingFee",
2343
- "type": "tuple"
3146
+ "internalType": "uint32",
3147
+ "name": "usedReferrals",
3148
+ "type": "uint32"
2344
3149
  },
2345
3150
  {
2346
- "internalType": "bool",
2347
- "name": "isIntercepting",
2348
- "type": "bool"
3151
+ "internalType": "UFixed",
3152
+ "name": "discountPercentage",
3153
+ "type": "uint160"
2349
3154
  },
2350
3155
  {
2351
- "internalType": "address",
2352
- "name": "wallet",
2353
- "type": "address"
3156
+ "internalType": "Timestamp",
3157
+ "name": "expiryAt",
3158
+ "type": "uint40"
3159
+ },
3160
+ {
3161
+ "internalType": "string",
3162
+ "name": "referralCode",
3163
+ "type": "string"
3164
+ },
3165
+ {
3166
+ "internalType": "bytes",
3167
+ "name": "data",
3168
+ "type": "bytes"
2354
3169
  }
2355
3170
  ],
2356
- "internalType": "struct ISetup.ProductSetupInfo",
2357
- "name": "setup",
3171
+ "internalType": "struct IDistribution.ReferralInfo",
3172
+ "name": "referralInfo",
2358
3173
  "type": "tuple"
2359
3174
  },
2360
3175
  {
@@ -2363,7 +3178,7 @@
2363
3178
  "type": "uint8"
2364
3179
  }
2365
3180
  ],
2366
- "name": "updateProductSetup",
3181
+ "name": "updateReferral",
2367
3182
  "outputs": [],
2368
3183
  "stateMutability": "nonpayable",
2369
3184
  "type": "function"
@@ -2371,9 +3186,9 @@
2371
3186
  {
2372
3187
  "inputs": [
2373
3188
  {
2374
- "internalType": "NftId",
2375
- "name": "productNftId",
2376
- "type": "uint96"
3189
+ "internalType": "ReferralId",
3190
+ "name": "referralId",
3191
+ "type": "bytes8"
2377
3192
  },
2378
3193
  {
2379
3194
  "internalType": "StateId",
@@ -2381,7 +3196,7 @@
2381
3196
  "type": "uint8"
2382
3197
  }
2383
3198
  ],
2384
- "name": "updateProductSetupState",
3199
+ "name": "updateReferralState",
2385
3200
  "outputs": [],
2386
3201
  "stateMutability": "nonpayable",
2387
3202
  "type": "function"
@@ -2389,50 +3204,55 @@
2389
3204
  {
2390
3205
  "inputs": [
2391
3206
  {
2392
- "internalType": "ReferralId",
2393
- "name": "referralId",
2394
- "type": "bytes8"
3207
+ "internalType": "RequestId",
3208
+ "name": "requestId",
3209
+ "type": "uint64"
2395
3210
  },
2396
3211
  {
2397
3212
  "components": [
2398
3213
  {
2399
3214
  "internalType": "NftId",
2400
- "name": "distributorNftId",
3215
+ "name": "requesterNftId",
2401
3216
  "type": "uint96"
2402
3217
  },
2403
3218
  {
2404
- "internalType": "string",
2405
- "name": "referralCode",
2406
- "type": "string"
2407
- },
2408
- {
2409
- "internalType": "UFixed",
2410
- "name": "discountPercentage",
2411
- "type": "uint256"
3219
+ "internalType": "NftId",
3220
+ "name": "oracleNftId",
3221
+ "type": "uint96"
2412
3222
  },
2413
3223
  {
2414
- "internalType": "uint32",
2415
- "name": "maxReferrals",
2416
- "type": "uint32"
3224
+ "internalType": "bool",
3225
+ "name": "isCancelled",
3226
+ "type": "bool"
2417
3227
  },
2418
3228
  {
2419
- "internalType": "uint32",
2420
- "name": "usedReferrals",
2421
- "type": "uint32"
3229
+ "internalType": "Timestamp",
3230
+ "name": "respondedAt",
3231
+ "type": "uint40"
2422
3232
  },
2423
3233
  {
2424
3234
  "internalType": "Timestamp",
2425
- "name": "expiryAt",
3235
+ "name": "expiredAt",
2426
3236
  "type": "uint40"
2427
3237
  },
3238
+ {
3239
+ "internalType": "string",
3240
+ "name": "callbackMethodName",
3241
+ "type": "string"
3242
+ },
2428
3243
  {
2429
3244
  "internalType": "bytes",
2430
- "name": "data",
3245
+ "name": "requestData",
3246
+ "type": "bytes"
3247
+ },
3248
+ {
3249
+ "internalType": "bytes",
3250
+ "name": "responseData",
2431
3251
  "type": "bytes"
2432
3252
  }
2433
3253
  ],
2434
- "internalType": "struct IDistribution.ReferralInfo",
2435
- "name": "referralInfo",
3254
+ "internalType": "struct IOracle.RequestInfo",
3255
+ "name": "request",
2436
3256
  "type": "tuple"
2437
3257
  },
2438
3258
  {
@@ -2441,7 +3261,7 @@
2441
3261
  "type": "uint8"
2442
3262
  }
2443
3263
  ],
2444
- "name": "updateReferral",
3264
+ "name": "updateRequest",
2445
3265
  "outputs": [],
2446
3266
  "stateMutability": "nonpayable",
2447
3267
  "type": "function"
@@ -2449,9 +3269,9 @@
2449
3269
  {
2450
3270
  "inputs": [
2451
3271
  {
2452
- "internalType": "ReferralId",
2453
- "name": "referralId",
2454
- "type": "bytes8"
3272
+ "internalType": "RequestId",
3273
+ "name": "requestId",
3274
+ "type": "uint64"
2455
3275
  },
2456
3276
  {
2457
3277
  "internalType": "StateId",
@@ -2459,7 +3279,7 @@
2459
3279
  "type": "uint8"
2460
3280
  }
2461
3281
  ],
2462
- "name": "updateReferralState",
3282
+ "name": "updateRequestState",
2463
3283
  "outputs": [],
2464
3284
  "stateMutability": "nonpayable",
2465
3285
  "type": "function"
@@ -2478,6 +3298,11 @@
2478
3298
  "name": "productNftId",
2479
3299
  "type": "uint96"
2480
3300
  },
3301
+ {
3302
+ "internalType": "Timestamp",
3303
+ "name": "createdAt",
3304
+ "type": "uint40"
3305
+ },
2481
3306
  {
2482
3307
  "internalType": "bytes",
2483
3308
  "name": "data",
@@ -2518,74 +3343,122 @@
2518
3343
  "type": "function"
2519
3344
  }
2520
3345
  ],
2521
- "bytecode": "0x608060405234801561001057600080fd5b50614900806100206000396000f3fe608060405234801561001057600080fd5b50600436106102f15760003560e01c80638fb360371161019d578063bf7e214f116100e9578063e9e96c70116100a2578063f7b442d11161007c578063f7b442d11461078c578063fae5df9b1461079f578063fbc1a3a0146107b2578063fe1f18d6146107c557600080fd5b8063e9e96c701461072d578063f48016ce1461076b578063f5884fc51461055257600080fd5b8063bf7e214f146106ae578063c4d66de8146106ce578063ca0e7f08146106e1578063d2f21a29146106f4578063d5c9d77d14610707578063dee326231461071a57600080fd5b8063a4eeee5911610156578063a898967511610130578063a898967514610662578063af90250014610675578063b6d7cd6214610688578063bf1db3f91461069b57600080fd5b8063a4eeee591461058b578063a5961b4c1461059e578063a76ee0181461064f57600080fd5b80638fb360371461051e57806397affbf51461053f578063985aeba7146105525780639e90178c14610565578063a1fc100414610552578063a28422291461057857600080fd5b806338a699a41161025c5780635d4345cc116102155780637cca1124116101ef5780637cca1124146104c55780637cef4842146104d857806381c2b282146104eb5780638eaa6ac0146104fe57600080fd5b80635d4345cc146103a957806361105e0e1461049f5780637a9e5e4b146104b257600080fd5b806338a699a41461041b57806340529b0f1461043e578063468bce061461045157806354f6127f1461045957806359852426146104795780635a8416b01461048c57600080fd5b80630fad0eb1116102ae5780630fad0eb1146103a95780631e40b363146103bc5780632a8ea7ac146103cf5780632f61088a146103e257806330a130ba146103f55780633870a7701461040857600080fd5b806309648a9d146102f65780630cbc6b89146103355780630cfc3ba31461034a5780630d3581811461035d5780630f526f7d146103835780630f6c29ef14610396575b600080fd5b61031e610304366004612b0a565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b610348610343366004612d3d565b6107d8565b005b610348610358366004612f11565b61081e565b61031e61036b366004612f72565b60ff9081166000908152602081905260409020541690565b610348610391366004612f8f565b610859565b6103486103a436600461307e565b61087a565b6103486103b7366004612f8f565b6108a7565b6103486103ca3660046131e4565b6108be565b6103486103dd3660046133b6565b6108e6565b6103486103f036600461345f565b61090e565b610348610403366004613577565b6109ae565b6103486104163660046135bc565b610a4e565b61042e610429366004612b0a565b610a64565b604051901515815260200161032c565b61034861044c366004612f8f565b610af5565b610348610b0c565b61046c610467366004612b0a565b610b3e565b60405161032c919061364a565b610348610487366004613726565b610be3565b61034861049a36600461376d565b610c0b565b6103486104ad366004613870565b610cab565b6103486104c03660046138b7565b610d4b565b6103486104d33660046138d4565b610dd3565b6103486104e6366004613919565b610dfb565b6103486104f9366004613937565b610e8a565b61051161050c366004612b0a565b610eb1565b60405161032c91906139d6565b610526610ff2565b6040516001600160e01b0319909116815260200161032c565b61034861054d366004613a0a565b61102b565b610348610560366004613a4f565b611053565b610348610573366004613b3b565b61107b565b610348610586366004613919565b6110a3565b610348610599366004613c03565b6110f1565b6106426105ac366004612b0a565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161032c9190613c4a565b61034861065d366004613c58565b611119565b610348610670366004613c9f565b6111b9565b610348610683366004613919565b6112aa565b610348610696366004613ccf565b6112f8565b61042e6106a9366004612f72565b61130e565b6106b661135b565b6040516001600160a01b03909116815260200161032c565b6103486106dc3660046138b7565b611377565b6103486106ef366004613cff565b6114f5565b610348610702366004612f8f565b611595565b610348610715366004613d44565b6115ac565b610348610728366004612f8f565b6115d4565b61042e61073b366004613c9f565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61077e610779366004613d99565b6115eb565b60405190815260200161032c565b61034861079a366004613dc7565b611676565b6103486107ad366004613e08565b61169e565b6103486107c0366004613e60565b6116c5565b6103486107d3366004612f8f565b6116ed565b6107e5335b600036611704565b6108196107f384606e611802565b836040516020016108049190613e8e565b6040516020818303038152906040528361184e565b505050565b610827336107dd565b6108196108348484611cb9565b826040516020016108459190613f3d565b604051602081830303815290604052611d06565b610862336107dd565b61087661087083608c611802565b826120d0565b5050565b610883336107dd565b6108a161089085856123ae565b836040516020016108049190613fdd565b50505050565b6108b0336107dd565b6108766108708360d3611802565b6108c7336107dd565b6108196108d584607a611802565b836040516020016108049190614037565b6108ef336107dd565b6108766108fd8360d3611802565b8260405160200161084591906140a4565b610917336107dd565b6040516355ee627560e01b81526108769073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061095c906001600160c01b0319871690600401614255565b602060405180830381865af4158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d919061426a565b826040516020016108459190614283565b6109b7336107dd565b6040516355ee627560e01b81526108769073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906109fc906001600160c01b0319871690600401614255565b602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d919061426a565b8260405160200161084591906142b1565b610a57336107dd565b61081961087084846123ae565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190614361565b92915050565b610afe336107dd565b61087661087083607a611802565b610b146123fc565b610b1c612445565b610b24612568565b610b2c61265a565b610b34612791565b610b3c6128bd565b565b6000818152600260205260409020600101805460609190610b5e9061437e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8a9061437e565b8015610bd75780601f10610bac57610100808354040283529160200191610bd7565b820191906000526020600020905b815481529060010190602001808311610bba57829003601f168201915b50505050509050919050565b610bec336107dd565b610819610bfa8460dc611802565b8360405160200161080491906143b8565b610c14336107dd565b6040516355ee627560e01b81526108199073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c59906001600160c01b0319881690600401614255565b602060405180830381865af4158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a919061426a565b8360405160200161080491906142b1565b610cb4336107dd565b6040516355ee627560e01b81526108199073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610cf9906001600160c01b0319881690600401614255565b602060405180830381865af4158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a919061426a565b836040516020016108049190614488565b33610d5461135b565b6001600160a01b0316816001600160a01b031614610d945760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610dca576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d8b565b61087682612978565b610ddc336107dd565b610876610dea83607a611802565b826040516020016108459190614037565b610e04336107dd565b6040516355ee627560e01b81526108769073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e49906001600160c01b0319871690600401614255565b602060405180830381865af4158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610870919061426a565b610e93336107dd565b610819610ea084846123ae565b826040516020016108459190613fdd565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191610f699061437e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f959061437e565b8015610fe25780601f10610fb757610100808354040283529160200191610fe2565b820191906000526020600020905b815481529060010190602001808311610fc557829003601f168201915b5050505050815250509050919050565b6000805160206148ab833981519152805460009190600160a01b900460ff1661101c576000611025565b638fb3603760e01b5b91505090565b611034336107dd565b6108766110428360dc611802565b8260405160200161084591906143b8565b61105c336107dd565b61081961106a8460d3611802565b8360405160200161080491906140a4565b611084336107dd565b610876611092836078611802565b826040516020016108459190614524565b6110ac336107dd565b6040516355ee627560e01b81526108769073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e49906001600160c01b0319871690600401614255565b6110fa336107dd565b61081961110884608c611802565b836040516020016108049190614598565b611122336107dd565b6040516355ee627560e01b81526108199073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611167906001600160c01b0319881690600401614255565b602060405180830381865af4158015611184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a8919061426a565b836040516020016108049190614283565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561121e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112429190614361565b1561124c57505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661081957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d8b565b6112b3336107dd565b6040516355ee627560e01b81526108769073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e49906001600160c01b0319871690600401614255565b611301336107dd565b6108196108708484611cb9565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610aae565b6000805160206148ab833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156113bc5750825b90506000826001600160401b031660011480156113d85750303b155b9050811580156113e6575080155b156114045760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561142e57845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114929190614619565b905061149d816129d9565b6114a5610b0c565b5083156114ed57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6114fe336107dd565b6040516355ee627560e01b81526108769073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611543906001600160c01b0319871690600401614255565b602060405180830381865af4158015611560573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611584919061426a565b826040516020016108459190614488565b61159e336107dd565b610876610870836078611802565b6115b5336107dd565b6108766115c383608c611802565b826040516020016108459190614598565b6115dd336107dd565b61087661087083606e611802565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af415801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f919061426a565b9392505050565b61167f336107dd565b61081961168d846078611802565b836040516020016108049190614524565b6116a7336107dd565b6108a16116b48585611cb9565b836040516020016108049190613f3d565b6116ce336107dd565b6108766116dc83606e611802565b826040516020016108459190613e8e565b6116f6336107dd565b6108766108708360dc611802565b6000805160206148ab83398151915260008061173f61172161135b565b8730611731600460008a8c614636565b61173a91614660565b6129ed565b91509150816114ed5763ffffffff8116156117df57825460ff60a01b1916600160a01b17835561176d61135b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161179c93929190614690565b600060405180830381600087803b1580156117b657600080fd5b505af11580156117ca573d6000803e3d6000fd5b5050845460ff60a01b19168555506114ed9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d8b565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c89060440161162e565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156118a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c49190614361565b156118e55760405163093b89e160e11b815260048101849052602401610d8b565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611951573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119759190614361565b156119965760405163566ebf7960e01b815260048101869052602401610d8b565b60008581526002602052604090206001016119b18582614716565b5060ff808416146119df5781546119cc9060ff1682856111b9565b815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416611a0f4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611aa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac591906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611b15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3991906147f2565b8588863287604051611b51979695949392919061480f565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bef91906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6391906147f2565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161162e565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7d91906147d5565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611dd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df69190614361565b15611e19576040516307014a8d60e51b815260ff82166004820152602401610d8b565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea69190614361565b15611ed057604051633f92eac960e21b81526004810185905260ff83166024820152604401610d8b565b33436000611edd8561130e565b611ee8576064611efe565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101611f888782614716565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201f91906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561206f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209391906147f2565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001611ca8565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612122573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121469190614361565b156121675760405163093b89e160e11b815260048101839052602401610d8b565b600082815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156121d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f79190614361565b156122185760405163566ebf7960e01b815260048101859052602401610d8b565b81546122289060ff1682856111b9565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661226c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061232291906147d5565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612372573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239691906147f2565b85888632876040516114e4979695949392919061480f565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__9063592734119060440161162e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b3c57604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061254460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff168152602001908152602001600020600061263c606e90565b60ff1660ff168152602001908152602001600020600061254460d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557ff9240d619fae1c941eaa4888cff36b0b9489ef130bdb7c814fd3a0e301d8ad1f80548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064612526565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc612544565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c861261e565b6000805160206148ab83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6129e16123fc565b6129ea81612af9565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a5c919061485f565b600060405180830381855afa9150503d8060008114612a97576040519150601f19603f3d011682016040523d82523d6000602084013e612a9c565b606091505b50915091508115612aee576040815110612ace5780806020019051810190612ac4919061487b565b9094509250612aee565b6020815110612aee5780806020019051810190612aeb9190614361565b93505b505094509492505050565b612b016123fc565b6129ea81612978565b600060208284031215612b1c57600080fd5b5035919050565b6001600160601b03811681146129ea57600080fd5b8035612b4381612b23565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612b8057612b80612b48565b60405290565b60405161010081016001600160401b0381118282101715612b8057612b80612b48565b60405160e081016001600160401b0381118282101715612b8057612b80612b48565b60405161022081016001600160401b0381118282101715612b8057612b80612b48565b60405161012081016001600160401b0381118282101715612b8057612b80612b48565b6001600160a01b03811681146129ea57600080fd5b8035612b4381612c11565b600060408284031215612c4357600080fd5b612c4b612b5e565b9050813581526020820135602082015292915050565b80151581146129ea57600080fd5b8035612b4381612c61565b60006101408284031215612c8d57600080fd5b612c95612b86565b9050612ca082612c26565b8152612cae60208301612c26565b6020820152612cbf60408301612b38565b6040820152612cd060608301612b38565b6060820152612ce28360808401612c31565b6080820152612cf48360c08401612c31565b60a0820152612d066101008301612c6f565b60c0820152612d186101208301612c26565b60e082015292915050565b60ff811681146129ea57600080fd5b8035612b4381612d23565b60008060006101808486031215612d5357600080fd5b8335612d5e81612b23565b9250612d6d8560208601612c7a565b9150610160840135612d7e81612d23565b809150509250925092565b61ffff811681146129ea57600080fd5b8035612b4381612d89565b600082601f830112612db557600080fd5b81356001600160401b0380821115612dcf57612dcf612b48565b604051601f8301601f19908116603f01168101908282118183101715612df757612df7612b48565b81604052838152866020858801011115612e1057600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff811681146129ea57600080fd5b8035612b4381612e30565b600060e08284031215612e6057600080fd5b612e68612ba9565b9050612e7382612b38565b8152612e8160208301612b38565b6020820152612e9260408301612d32565b6040820152612ea360608301612d32565b606082015260808201356001600160401b0380821115612ec257600080fd5b612ece85838601612da4565b608084015260a0840135915080821115612ee757600080fd5b50612ef484828501612da4565b60a083015250612f0660c08301612e43565b60c082015292915050565b600080600060608486031215612f2657600080fd5b8335612f3181612b23565b92506020840135612f4181612d89565b915060408401356001600160401b03811115612f5c57600080fd5b612f6886828701612e4e565b9150509250925092565b600060208284031215612f8457600080fd5b813561166f81612d23565b60008060408385031215612fa257600080fd5b8235612fad81612b23565b91506020830135612fbd81612d23565b809150509250929050565b803562ffffff81168114612b4357600080fd5b600060808284031215612fed57600080fd5b604051608081016001600160401b03828210818311171561301057613010612b48565b816040528293508435915061302482612d89565b90825260208401359061303682612b23565b816020840152604085013591508082111561305057600080fd5b5061305d85828601612da4565b604083015250606083013561307181612e30565b6060919091015292915050565b6000806000806080858703121561309457600080fd5b843561309f81612b23565b93506130ad60208601612fc8565b925060408501356001600160401b038111156130c857600080fd5b6130d487828801612fdb565b92505060608501356130e581612d23565b939692955090935050565b6001600160c01b0319811681146129ea57600080fd5b8035612b43816130f0565b63ffffffff811681146129ea57600080fd5b8035612b4381613111565b600060a0828403121561314057600080fd5b60405160a081016001600160401b03828210818311171561316357613163612b48565b8160405282935084359150613177826130f0565b90825260208401359061318982612c61565b81602084015260408501359150808211156131a357600080fd5b506131b085828601612da4565b60408301525060608301356131c481612b23565b606082015260808301356131d781613111565b6080919091015292915050565b6000806000606084860312156131f957600080fd5b833561320481612b23565b925060208401356001600160401b0381111561321f57600080fd5b61322b8682870161312e565b9250506040840135612d7e81612d23565b6000610220828403121561324f57600080fd5b613257612bcb565b905061326282612b38565b815261327060208301612b38565b602082015261328160408301613106565b604082015261329260608301613106565b60608201526132a360808301612b38565b60808201526132b460a08301612b38565b60a08201526132c560c08301612b38565b60c08201526132d660e08301612e43565b60e0820152610100808301356001600160401b03808211156132f757600080fd5b61330386838701612da4565b8385015261012092508285013591508082111561331f57600080fd5b5061332c85828601612da4565b828401525050610140613340818401612d99565b90820152610160613352838201612d99565b90820152610180613364838201612b38565b908201526101a0613376838201612b38565b908201526101c0613388838201612e43565b908201526101e061339a838201612e43565b908201526102006133ac838201612e43565b9082015292915050565b600080604083850312156133c957600080fd5b82356133d481612b23565b915060208301356001600160401b038111156133ef57600080fd5b6133fb8582860161323c565b9150509250929050565b60006040828403121561341757600080fd5b61341f612b5e565b9050813561342c81612b23565b815260208201356001600160401b0381111561344757600080fd5b61345384828501612da4565b60208301525092915050565b6000806040838503121561347257600080fd5b823561347d816130f0565b915060208301356001600160401b0381111561349857600080fd5b6133fb85828601613405565b600061012082840312156134b757600080fd5b6134bf612bee565b905081356001600160401b03808211156134d857600080fd5b6134e485838601612da4565b835260208401356020840152604084013560408401526060840135606084015261351060808501613123565b608084015261352160a08501613123565b60a084015261353260c08501612c6f565b60c084015261354360e08501612c6f565b60e08401526101009150818401358181111561355e57600080fd5b61356a86828701612da4565b8385015250505092915050565b6000806040838503121561358a57600080fd5b8235613595816130f0565b915060208301356001600160401b038111156135b057600080fd5b6133fb858286016134a4565b6000806000606084860312156135d157600080fd5b83356135dc81612b23565b92506135ea60208501612fc8565b91506040840135612d7e81612d23565b60005b838110156136155781810151838201526020016135fd565b50506000910152565b600081518084526136368160208601602086016135fa565b601f01601f19169290920160200192915050565b60208152600061166f602083018461361e565b6000610140828403121561367057600080fd5b613678612bee565b905061368382612b38565b81526136928360208401612c31565b602082015260608201356001600160401b038111156136b057600080fd5b6136bc84828501612da4565b6040830152506136ce60808301612b38565b60608201526136df60a08301612b38565b60808201526136f060c08301612b38565b60a082015261370160e08301612e43565b60c0820152610100613714818401612e43565b60e08301526133ac6101208401612e43565b60008060006060848603121561373b57600080fd5b833561374681612b23565b925060208401356001600160401b0381111561376157600080fd5b61322b8682870161365d565b60008060006060848603121561378257600080fd5b833561378d816130f0565b925060208401356001600160401b038111156137a857600080fd5b61322b868287016134a4565b600060e082840312156137c657600080fd5b6137ce612ba9565b90506137d982612b38565b815260208201356001600160401b03808211156137f557600080fd5b61380185838601612da4565b60208401526040840135604084015261381c60608501613123565b606084015261382d60808501613123565b608084015261383e60a08501612e43565b60a084015260c084013591508082111561385757600080fd5b5061386484828501612da4565b60c08301525092915050565b60008060006060848603121561388557600080fd5b8335613890816130f0565b925060208401356001600160401b038111156138ab57600080fd5b61322b868287016137b4565b6000602082840312156138c957600080fd5b813561166f81612c11565b600080604083850312156138e757600080fd5b82356138f281612b23565b915060208301356001600160401b0381111561390d57600080fd5b6133fb8582860161312e565b6000806040838503121561392c57600080fd5b8235612fad816130f0565b60008060006060848603121561394c57600080fd5b833561395781612b23565b925061396560208501612fc8565b915060408401356001600160401b0381111561398057600080fd5b612f6886828701612fdb565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526139e860208201835161398c565b6000602083015160c080840152613a0260e084018261361e565b949350505050565b60008060408385031215613a1d57600080fd5b8235613a2881612b23565b915060208301356001600160401b03811115613a4357600080fd5b6133fb8582860161365d565b600080600060608486031215613a6457600080fd5b8335613a6f81612b23565b925060208401356001600160401b03811115613a8a57600080fd5b61322b8682870161323c565b60006101008284031215613aa957600080fd5b60405160c081018181106001600160401b0382111715613acb57613acb612b48565b6040529050808235613adc81612b23565b81526020830135613aec81612c11565b6020820152613afe8460408501612c31565b6040820152613b108460808501612c31565b606082015260c0830135613b2381612c11565b8060808301525060e083013560a08201525092915050565b6000806101208385031215613b4f57600080fd5b8235613b5a81612b23565b9150613b698460208501613a96565b90509250929050565b600060e08284031215613b8457600080fd5b613b8c612ba9565b905081356001600160401b0380821115613ba557600080fd5b613bb185838601612da4565b8352613bbf60208501612c26565b6020840152613bd060408501612c26565b6040840152613be160608501612c26565b6060840152613bf260808501612b38565b608084015261383e60a08501612b38565b600080600060608486031215613c1857600080fd5b8335613c2381612b23565b925060208401356001600160401b03811115613c3e57600080fd5b61322b86828701613b72565b60a08101610aef828461398c565b600080600060608486031215613c6d57600080fd5b8335613c78816130f0565b925060208401356001600160401b03811115613c9357600080fd5b61322b86828701613405565b600080600060608486031215613cb457600080fd5b8335613cbf81612d23565b925060208401356135ea81612d23565b600080600060608486031215613ce457600080fd5b8335613cef81612b23565b925060208401356135ea81612d89565b60008060408385031215613d1257600080fd5b8235613d1d816130f0565b915060208301356001600160401b03811115613d3857600080fd5b6133fb858286016137b4565b60008060408385031215613d5757600080fd5b8235613d6281612b23565b915060208301356001600160401b03811115613d7d57600080fd5b6133fb85828601613b72565b60ff19811681146129ea57600080fd5b60008060408385031215613dac57600080fd5b8235613db781612d23565b91506020830135612fbd81613d89565b60008060006101408486031215613ddd57600080fd5b8335613de881612b23565b9250613df78560208601613a96565b9150610120840135612d7e81612d23565b60008060008060808587031215613e1e57600080fd5b8435613e2981612b23565b93506020850135613e3981612d89565b925060408501356001600160401b03811115613e5457600080fd5b6130d487828801612e4e565b6000806101608385031215613e7457600080fd5b8235613e7f81612b23565b9150613b698460208501612c7a565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613edd908401826001600160601b03169052565b506080830151613efa608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151613f82608084018260ff169052565b50608083015160e060a0840152613f9d61010084018261361e565b905060a0840151601f198483030160c0850152613fba828261361e565b91505060c0840151613fd560e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261401a60a084018261361e565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261407560c084018261361e565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b602081526140be6020820183516001600160601b03169052565b600060208301516140da60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006141608185018364ffffffffff169052565b80850151915050610220610120818186015261418061024086018461361e565b9250808601519050610140601f1986850301818701526141a0848361361e565b9350808701519150506101606141bb8187018361ffff169052565b86015190506101806141d28682018361ffff169052565b86015190506101a06141ee868201836001600160601b03169052565b86015190506101c061420a868201836001600160601b03169052565b86015190506101e06142248682018364ffffffffff169052565b860151905061020061423e8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b60006020828403121561427c57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613a02606084018261361e565b60208152600082516101208060208501526142d061014085018361361e565b9150602085015160408501526040850151606085015260608501516080850152608085015161430760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061433d8187018315159052565b860151858403601f1901838701529050614357838261361e565b9695505050505050565b60006020828403121561437357600080fd5b815161166f81612c61565b600181811c9082168061439257607f821691505b6020821081036143b257634e487b7160e01b600052602260045260246000fd5b50919050565b602081526143d26020820183516001600160601b03169052565b600060208301516143f0604084018280518252602090810151910152565b50604083015161014080608085015261440d61016085018361361e565b9150606085015161442960a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c085015161010061446e8187018364ffffffffff169052565b60e087015164ffffffffff8116610120880152915061423e565b602081526001600160601b0382511660208201526000602083015160e060408401526144b861010084018261361e565b90506040840151606084015263ffffffff606085015116608084015260808401516144eb60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e085015261451b828261361e565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e060208401526145b561010084018261361e565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516145ff60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526144ff565b60006020828403121561462b57600080fd5b815161166f81612c11565b6000808585111561464657600080fd5b8386111561465357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156146885780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561081957600081815260208120601f850160051c810160208610156146f75750805b601f850160051c820191505b818110156114ed57828155600101614703565b81516001600160401b0381111561472f5761472f612b48565b6147438161473d845461437e565b846146d0565b602080601f83116001811461477857600084156147605750858301515b600019600386901b1c1916600185901b1785556114ed565b600085815260208120601f198616915b828110156147a757888601518255948401946001909101908401614788565b50858210156147c55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156147e757600080fd5b815161166f81612d23565b60006020828403121561480457600080fd5b815161166f81613d89565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600082516148718184602087016135fa565b9190910192915050565b6000806040838503121561488e57600080fd5b825161489981612c61565b6020840151909250612fbd8161311156fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212205ca939c28242a10e100f7150e5b3ad223c5bc4c1b3f36aeb4335947bcce0d64b64736f6c63430008140033",
2522
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102f15760003560e01c80638fb360371161019d578063bf7e214f116100e9578063e9e96c70116100a2578063f7b442d11161007c578063f7b442d11461078c578063fae5df9b1461079f578063fbc1a3a0146107b2578063fe1f18d6146107c557600080fd5b8063e9e96c701461072d578063f48016ce1461076b578063f5884fc51461055257600080fd5b8063bf7e214f146106ae578063c4d66de8146106ce578063ca0e7f08146106e1578063d2f21a29146106f4578063d5c9d77d14610707578063dee326231461071a57600080fd5b8063a4eeee5911610156578063a898967511610130578063a898967514610662578063af90250014610675578063b6d7cd6214610688578063bf1db3f91461069b57600080fd5b8063a4eeee591461058b578063a5961b4c1461059e578063a76ee0181461064f57600080fd5b80638fb360371461051e57806397affbf51461053f578063985aeba7146105525780639e90178c14610565578063a1fc100414610552578063a28422291461057857600080fd5b806338a699a41161025c5780635d4345cc116102155780637cca1124116101ef5780637cca1124146104c55780637cef4842146104d857806381c2b282146104eb5780638eaa6ac0146104fe57600080fd5b80635d4345cc146103a957806361105e0e1461049f5780637a9e5e4b146104b257600080fd5b806338a699a41461041b57806340529b0f1461043e578063468bce061461045157806354f6127f1461045957806359852426146104795780635a8416b01461048c57600080fd5b80630fad0eb1116102ae5780630fad0eb1146103a95780631e40b363146103bc5780632a8ea7ac146103cf5780632f61088a146103e257806330a130ba146103f55780633870a7701461040857600080fd5b806309648a9d146102f65780630cbc6b89146103355780630cfc3ba31461034a5780630d3581811461035d5780630f526f7d146103835780630f6c29ef14610396575b600080fd5b61031e610304366004612b0a565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b610348610343366004612d3d565b6107d8565b005b610348610358366004612f11565b61081e565b61031e61036b366004612f72565b60ff9081166000908152602081905260409020541690565b610348610391366004612f8f565b610859565b6103486103a436600461307e565b61087a565b6103486103b7366004612f8f565b6108a7565b6103486103ca3660046131e4565b6108be565b6103486103dd3660046133b6565b6108e6565b6103486103f036600461345f565b61090e565b610348610403366004613577565b6109ae565b6103486104163660046135bc565b610a4e565b61042e610429366004612b0a565b610a64565b604051901515815260200161032c565b61034861044c366004612f8f565b610af5565b610348610b0c565b61046c610467366004612b0a565b610b3e565b60405161032c919061364a565b610348610487366004613726565b610be3565b61034861049a36600461376d565b610c0b565b6103486104ad366004613870565b610cab565b6103486104c03660046138b7565b610d4b565b6103486104d33660046138d4565b610dd3565b6103486104e6366004613919565b610dfb565b6103486104f9366004613937565b610e8a565b61051161050c366004612b0a565b610eb1565b60405161032c91906139d6565b610526610ff2565b6040516001600160e01b0319909116815260200161032c565b61034861054d366004613a0a565b61102b565b610348610560366004613a4f565b611053565b610348610573366004613b3b565b61107b565b610348610586366004613919565b6110a3565b610348610599366004613c03565b6110f1565b6106426105ac366004612b0a565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161032c9190613c4a565b61034861065d366004613c58565b611119565b610348610670366004613c9f565b6111b9565b610348610683366004613919565b6112aa565b610348610696366004613ccf565b6112f8565b61042e6106a9366004612f72565b61130e565b6106b661135b565b6040516001600160a01b03909116815260200161032c565b6103486106dc3660046138b7565b611377565b6103486106ef366004613cff565b6114f5565b610348610702366004612f8f565b611595565b610348610715366004613d44565b6115ac565b610348610728366004612f8f565b6115d4565b61042e61073b366004613c9f565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61077e610779366004613d99565b6115eb565b60405190815260200161032c565b61034861079a366004613dc7565b611676565b6103486107ad366004613e08565b61169e565b6103486107c0366004613e60565b6116c5565b6103486107d3366004612f8f565b6116ed565b6107e5335b600036611704565b6108196107f384606e611802565b836040516020016108049190613e8e565b6040516020818303038152906040528361184e565b505050565b610827336107dd565b6108196108348484611cb9565b826040516020016108459190613f3d565b604051602081830303815290604052611d06565b610862336107dd565b61087661087083608c611802565b826120d0565b5050565b610883336107dd565b6108a161089085856123ae565b836040516020016108049190613fdd565b50505050565b6108b0336107dd565b6108766108708360d3611802565b6108c7336107dd565b6108196108d584607a611802565b836040516020016108049190614037565b6108ef336107dd565b6108766108fd8360d3611802565b8260405160200161084591906140a4565b610917336107dd565b6040516355ee627560e01b81526108769073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061095c906001600160c01b0319871690600401614255565b602060405180830381865af4158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d919061426a565b826040516020016108459190614283565b6109b7336107dd565b6040516355ee627560e01b81526108769073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906109fc906001600160c01b0319871690600401614255565b602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d919061426a565b8260405160200161084591906142b1565b610a57336107dd565b61081961087084846123ae565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190614361565b92915050565b610afe336107dd565b61087661087083607a611802565b610b146123fc565b610b1c612445565b610b24612568565b610b2c61265a565b610b34612791565b610b3c6128bd565b565b6000818152600260205260409020600101805460609190610b5e9061437e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8a9061437e565b8015610bd75780601f10610bac57610100808354040283529160200191610bd7565b820191906000526020600020905b815481529060010190602001808311610bba57829003601f168201915b50505050509050919050565b610bec336107dd565b610819610bfa8460dc611802565b8360405160200161080491906143b8565b610c14336107dd565b6040516355ee627560e01b81526108199073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c59906001600160c01b0319881690600401614255565b602060405180830381865af4158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a919061426a565b8360405160200161080491906142b1565b610cb4336107dd565b6040516355ee627560e01b81526108199073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610cf9906001600160c01b0319881690600401614255565b602060405180830381865af4158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a919061426a565b836040516020016108049190614488565b33610d5461135b565b6001600160a01b0316816001600160a01b031614610d945760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610dca576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d8b565b61087682612978565b610ddc336107dd565b610876610dea83607a611802565b826040516020016108459190614037565b610e04336107dd565b6040516355ee627560e01b81526108769073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e49906001600160c01b0319871690600401614255565b602060405180830381865af4158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610870919061426a565b610e93336107dd565b610819610ea084846123ae565b826040516020016108459190613fdd565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191610f699061437e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f959061437e565b8015610fe25780601f10610fb757610100808354040283529160200191610fe2565b820191906000526020600020905b815481529060010190602001808311610fc557829003601f168201915b5050505050815250509050919050565b6000805160206148ab833981519152805460009190600160a01b900460ff1661101c576000611025565b638fb3603760e01b5b91505090565b611034336107dd565b6108766110428360dc611802565b8260405160200161084591906143b8565b61105c336107dd565b61081961106a8460d3611802565b8360405160200161080491906140a4565b611084336107dd565b610876611092836078611802565b826040516020016108459190614524565b6110ac336107dd565b6040516355ee627560e01b81526108769073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e49906001600160c01b0319871690600401614255565b6110fa336107dd565b61081961110884608c611802565b836040516020016108049190614598565b611122336107dd565b6040516355ee627560e01b81526108199073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611167906001600160c01b0319881690600401614255565b602060405180830381865af4158015611184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a8919061426a565b836040516020016108049190614283565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561121e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112429190614361565b1561124c57505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661081957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d8b565b6112b3336107dd565b6040516355ee627560e01b81526108769073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e49906001600160c01b0319871690600401614255565b611301336107dd565b6108196108708484611cb9565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610aae565b6000805160206148ab833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156113bc5750825b90506000826001600160401b031660011480156113d85750303b155b9050811580156113e6575080155b156114045760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561142e57845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114929190614619565b905061149d816129d9565b6114a5610b0c565b5083156114ed57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6114fe336107dd565b6040516355ee627560e01b81526108769073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611543906001600160c01b0319871690600401614255565b602060405180830381865af4158015611560573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611584919061426a565b826040516020016108459190614488565b61159e336107dd565b610876610870836078611802565b6115b5336107dd565b6108766115c383608c611802565b826040516020016108459190614598565b6115dd336107dd565b61087661087083606e611802565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af415801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f919061426a565b9392505050565b61167f336107dd565b61081961168d846078611802565b836040516020016108049190614524565b6116a7336107dd565b6108a16116b48585611cb9565b836040516020016108049190613f3d565b6116ce336107dd565b6108766116dc83606e611802565b826040516020016108459190613e8e565b6116f6336107dd565b6108766108708360dc611802565b6000805160206148ab83398151915260008061173f61172161135b565b8730611731600460008a8c614636565b61173a91614660565b6129ed565b91509150816114ed5763ffffffff8116156117df57825460ff60a01b1916600160a01b17835561176d61135b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161179c93929190614690565b600060405180830381600087803b1580156117b657600080fd5b505af11580156117ca573d6000803e3d6000fd5b5050845460ff60a01b19168555506114ed9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d8b565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c89060440161162e565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156118a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c49190614361565b156118e55760405163093b89e160e11b815260048101849052602401610d8b565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611951573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119759190614361565b156119965760405163566ebf7960e01b815260048101869052602401610d8b565b60008581526002602052604090206001016119b18582614716565b5060ff808416146119df5781546119cc9060ff1682856111b9565b815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416611a0f4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611aa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac591906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611b15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3991906147f2565b8588863287604051611b51979695949392919061480f565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bef91906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6391906147f2565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161162e565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7d91906147d5565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611dd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df69190614361565b15611e19576040516307014a8d60e51b815260ff82166004820152602401610d8b565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea69190614361565b15611ed057604051633f92eac960e21b81526004810185905260ff83166024820152604401610d8b565b33436000611edd8561130e565b611ee8576064611efe565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101611f888782614716565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201f91906147d5565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561206f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209391906147f2565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001611ca8565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612122573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121469190614361565b156121675760405163093b89e160e11b815260048101839052602401610d8b565b600082815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156121d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f79190614361565b156122185760405163566ebf7960e01b815260048101859052602401610d8b565b81546122289060ff1682856111b9565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661226c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061232291906147d5565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612372573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239691906147f2565b85888632876040516114e4979695949392919061480f565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__9063592734119060440161162e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b3c57604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061254460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff168152602001908152602001600020600061263c606e90565b60ff1660ff168152602001908152602001600020600061254460d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557ff9240d619fae1c941eaa4888cff36b0b9489ef130bdb7c814fd3a0e301d8ad1f80548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064612526565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc612544565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c861261e565b6000805160206148ab83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6129e16123fc565b6129ea81612af9565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a5c919061485f565b600060405180830381855afa9150503d8060008114612a97576040519150601f19603f3d011682016040523d82523d6000602084013e612a9c565b606091505b50915091508115612aee576040815110612ace5780806020019051810190612ac4919061487b565b9094509250612aee565b6020815110612aee5780806020019051810190612aeb9190614361565b93505b505094509492505050565b612b016123fc565b6129ea81612978565b600060208284031215612b1c57600080fd5b5035919050565b6001600160601b03811681146129ea57600080fd5b8035612b4381612b23565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612b8057612b80612b48565b60405290565b60405161010081016001600160401b0381118282101715612b8057612b80612b48565b60405160e081016001600160401b0381118282101715612b8057612b80612b48565b60405161022081016001600160401b0381118282101715612b8057612b80612b48565b60405161012081016001600160401b0381118282101715612b8057612b80612b48565b6001600160a01b03811681146129ea57600080fd5b8035612b4381612c11565b600060408284031215612c4357600080fd5b612c4b612b5e565b9050813581526020820135602082015292915050565b80151581146129ea57600080fd5b8035612b4381612c61565b60006101408284031215612c8d57600080fd5b612c95612b86565b9050612ca082612c26565b8152612cae60208301612c26565b6020820152612cbf60408301612b38565b6040820152612cd060608301612b38565b6060820152612ce28360808401612c31565b6080820152612cf48360c08401612c31565b60a0820152612d066101008301612c6f565b60c0820152612d186101208301612c26565b60e082015292915050565b60ff811681146129ea57600080fd5b8035612b4381612d23565b60008060006101808486031215612d5357600080fd5b8335612d5e81612b23565b9250612d6d8560208601612c7a565b9150610160840135612d7e81612d23565b809150509250925092565b61ffff811681146129ea57600080fd5b8035612b4381612d89565b600082601f830112612db557600080fd5b81356001600160401b0380821115612dcf57612dcf612b48565b604051601f8301601f19908116603f01168101908282118183101715612df757612df7612b48565b81604052838152866020858801011115612e1057600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff811681146129ea57600080fd5b8035612b4381612e30565b600060e08284031215612e6057600080fd5b612e68612ba9565b9050612e7382612b38565b8152612e8160208301612b38565b6020820152612e9260408301612d32565b6040820152612ea360608301612d32565b606082015260808201356001600160401b0380821115612ec257600080fd5b612ece85838601612da4565b608084015260a0840135915080821115612ee757600080fd5b50612ef484828501612da4565b60a083015250612f0660c08301612e43565b60c082015292915050565b600080600060608486031215612f2657600080fd5b8335612f3181612b23565b92506020840135612f4181612d89565b915060408401356001600160401b03811115612f5c57600080fd5b612f6886828701612e4e565b9150509250925092565b600060208284031215612f8457600080fd5b813561166f81612d23565b60008060408385031215612fa257600080fd5b8235612fad81612b23565b91506020830135612fbd81612d23565b809150509250929050565b803562ffffff81168114612b4357600080fd5b600060808284031215612fed57600080fd5b604051608081016001600160401b03828210818311171561301057613010612b48565b816040528293508435915061302482612d89565b90825260208401359061303682612b23565b816020840152604085013591508082111561305057600080fd5b5061305d85828601612da4565b604083015250606083013561307181612e30565b6060919091015292915050565b6000806000806080858703121561309457600080fd5b843561309f81612b23565b93506130ad60208601612fc8565b925060408501356001600160401b038111156130c857600080fd5b6130d487828801612fdb565b92505060608501356130e581612d23565b939692955090935050565b6001600160c01b0319811681146129ea57600080fd5b8035612b43816130f0565b63ffffffff811681146129ea57600080fd5b8035612b4381613111565b600060a0828403121561314057600080fd5b60405160a081016001600160401b03828210818311171561316357613163612b48565b8160405282935084359150613177826130f0565b90825260208401359061318982612c61565b81602084015260408501359150808211156131a357600080fd5b506131b085828601612da4565b60408301525060608301356131c481612b23565b606082015260808301356131d781613111565b6080919091015292915050565b6000806000606084860312156131f957600080fd5b833561320481612b23565b925060208401356001600160401b0381111561321f57600080fd5b61322b8682870161312e565b9250506040840135612d7e81612d23565b6000610220828403121561324f57600080fd5b613257612bcb565b905061326282612b38565b815261327060208301612b38565b602082015261328160408301613106565b604082015261329260608301613106565b60608201526132a360808301612b38565b60808201526132b460a08301612b38565b60a08201526132c560c08301612b38565b60c08201526132d660e08301612e43565b60e0820152610100808301356001600160401b03808211156132f757600080fd5b61330386838701612da4565b8385015261012092508285013591508082111561331f57600080fd5b5061332c85828601612da4565b828401525050610140613340818401612d99565b90820152610160613352838201612d99565b90820152610180613364838201612b38565b908201526101a0613376838201612b38565b908201526101c0613388838201612e43565b908201526101e061339a838201612e43565b908201526102006133ac838201612e43565b9082015292915050565b600080604083850312156133c957600080fd5b82356133d481612b23565b915060208301356001600160401b038111156133ef57600080fd5b6133fb8582860161323c565b9150509250929050565b60006040828403121561341757600080fd5b61341f612b5e565b9050813561342c81612b23565b815260208201356001600160401b0381111561344757600080fd5b61345384828501612da4565b60208301525092915050565b6000806040838503121561347257600080fd5b823561347d816130f0565b915060208301356001600160401b0381111561349857600080fd5b6133fb85828601613405565b600061012082840312156134b757600080fd5b6134bf612bee565b905081356001600160401b03808211156134d857600080fd5b6134e485838601612da4565b835260208401356020840152604084013560408401526060840135606084015261351060808501613123565b608084015261352160a08501613123565b60a084015261353260c08501612c6f565b60c084015261354360e08501612c6f565b60e08401526101009150818401358181111561355e57600080fd5b61356a86828701612da4565b8385015250505092915050565b6000806040838503121561358a57600080fd5b8235613595816130f0565b915060208301356001600160401b038111156135b057600080fd5b6133fb858286016134a4565b6000806000606084860312156135d157600080fd5b83356135dc81612b23565b92506135ea60208501612fc8565b91506040840135612d7e81612d23565b60005b838110156136155781810151838201526020016135fd565b50506000910152565b600081518084526136368160208601602086016135fa565b601f01601f19169290920160200192915050565b60208152600061166f602083018461361e565b6000610140828403121561367057600080fd5b613678612bee565b905061368382612b38565b81526136928360208401612c31565b602082015260608201356001600160401b038111156136b057600080fd5b6136bc84828501612da4565b6040830152506136ce60808301612b38565b60608201526136df60a08301612b38565b60808201526136f060c08301612b38565b60a082015261370160e08301612e43565b60c0820152610100613714818401612e43565b60e08301526133ac6101208401612e43565b60008060006060848603121561373b57600080fd5b833561374681612b23565b925060208401356001600160401b0381111561376157600080fd5b61322b8682870161365d565b60008060006060848603121561378257600080fd5b833561378d816130f0565b925060208401356001600160401b038111156137a857600080fd5b61322b868287016134a4565b600060e082840312156137c657600080fd5b6137ce612ba9565b90506137d982612b38565b815260208201356001600160401b03808211156137f557600080fd5b61380185838601612da4565b60208401526040840135604084015261381c60608501613123565b606084015261382d60808501613123565b608084015261383e60a08501612e43565b60a084015260c084013591508082111561385757600080fd5b5061386484828501612da4565b60c08301525092915050565b60008060006060848603121561388557600080fd5b8335613890816130f0565b925060208401356001600160401b038111156138ab57600080fd5b61322b868287016137b4565b6000602082840312156138c957600080fd5b813561166f81612c11565b600080604083850312156138e757600080fd5b82356138f281612b23565b915060208301356001600160401b0381111561390d57600080fd5b6133fb8582860161312e565b6000806040838503121561392c57600080fd5b8235612fad816130f0565b60008060006060848603121561394c57600080fd5b833561395781612b23565b925061396560208501612fc8565b915060408401356001600160401b0381111561398057600080fd5b612f6886828701612fdb565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526139e860208201835161398c565b6000602083015160c080840152613a0260e084018261361e565b949350505050565b60008060408385031215613a1d57600080fd5b8235613a2881612b23565b915060208301356001600160401b03811115613a4357600080fd5b6133fb8582860161365d565b600080600060608486031215613a6457600080fd5b8335613a6f81612b23565b925060208401356001600160401b03811115613a8a57600080fd5b61322b8682870161323c565b60006101008284031215613aa957600080fd5b60405160c081018181106001600160401b0382111715613acb57613acb612b48565b6040529050808235613adc81612b23565b81526020830135613aec81612c11565b6020820152613afe8460408501612c31565b6040820152613b108460808501612c31565b606082015260c0830135613b2381612c11565b8060808301525060e083013560a08201525092915050565b6000806101208385031215613b4f57600080fd5b8235613b5a81612b23565b9150613b698460208501613a96565b90509250929050565b600060e08284031215613b8457600080fd5b613b8c612ba9565b905081356001600160401b0380821115613ba557600080fd5b613bb185838601612da4565b8352613bbf60208501612c26565b6020840152613bd060408501612c26565b6040840152613be160608501612c26565b6060840152613bf260808501612b38565b608084015261383e60a08501612b38565b600080600060608486031215613c1857600080fd5b8335613c2381612b23565b925060208401356001600160401b03811115613c3e57600080fd5b61322b86828701613b72565b60a08101610aef828461398c565b600080600060608486031215613c6d57600080fd5b8335613c78816130f0565b925060208401356001600160401b03811115613c9357600080fd5b61322b86828701613405565b600080600060608486031215613cb457600080fd5b8335613cbf81612d23565b925060208401356135ea81612d23565b600080600060608486031215613ce457600080fd5b8335613cef81612b23565b925060208401356135ea81612d89565b60008060408385031215613d1257600080fd5b8235613d1d816130f0565b915060208301356001600160401b03811115613d3857600080fd5b6133fb858286016137b4565b60008060408385031215613d5757600080fd5b8235613d6281612b23565b915060208301356001600160401b03811115613d7d57600080fd5b6133fb85828601613b72565b60ff19811681146129ea57600080fd5b60008060408385031215613dac57600080fd5b8235613db781612d23565b91506020830135612fbd81613d89565b60008060006101408486031215613ddd57600080fd5b8335613de881612b23565b9250613df78560208601613a96565b9150610120840135612d7e81612d23565b60008060008060808587031215613e1e57600080fd5b8435613e2981612b23565b93506020850135613e3981612d89565b925060408501356001600160401b03811115613e5457600080fd5b6130d487828801612e4e565b6000806101608385031215613e7457600080fd5b8235613e7f81612b23565b9150613b698460208501612c7a565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613edd908401826001600160601b03169052565b506080830151613efa608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151613f82608084018260ff169052565b50608083015160e060a0840152613f9d61010084018261361e565b905060a0840151601f198483030160c0850152613fba828261361e565b91505060c0840151613fd560e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261401a60a084018261361e565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261407560c084018261361e565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b602081526140be6020820183516001600160601b03169052565b600060208301516140da60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006141608185018364ffffffffff169052565b80850151915050610220610120818186015261418061024086018461361e565b9250808601519050610140601f1986850301818701526141a0848361361e565b9350808701519150506101606141bb8187018361ffff169052565b86015190506101806141d28682018361ffff169052565b86015190506101a06141ee868201836001600160601b03169052565b86015190506101c061420a868201836001600160601b03169052565b86015190506101e06142248682018364ffffffffff169052565b860151905061020061423e8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b60006020828403121561427c57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613a02606084018261361e565b60208152600082516101208060208501526142d061014085018361361e565b9150602085015160408501526040850151606085015260608501516080850152608085015161430760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061433d8187018315159052565b860151858403601f1901838701529050614357838261361e565b9695505050505050565b60006020828403121561437357600080fd5b815161166f81612c61565b600181811c9082168061439257607f821691505b6020821081036143b257634e487b7160e01b600052602260045260246000fd5b50919050565b602081526143d26020820183516001600160601b03169052565b600060208301516143f0604084018280518252602090810151910152565b50604083015161014080608085015261440d61016085018361361e565b9150606085015161442960a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c085015161010061446e8187018364ffffffffff169052565b60e087015164ffffffffff8116610120880152915061423e565b602081526001600160601b0382511660208201526000602083015160e060408401526144b861010084018261361e565b90506040840151606084015263ffffffff606085015116608084015260808401516144eb60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e085015261451b828261361e565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e060208401526145b561010084018261361e565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516145ff60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526144ff565b60006020828403121561462b57600080fd5b815161166f81612c11565b6000808585111561464657600080fd5b8386111561465357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156146885780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561081957600081815260208120601f850160051c810160208610156146f75750805b601f850160051c820191505b818110156114ed57828155600101614703565b81516001600160401b0381111561472f5761472f612b48565b6147438161473d845461437e565b846146d0565b602080601f83116001811461477857600084156147605750858301515b600019600386901b1c1916600185901b1785556114ed565b600085815260208120601f198616915b828110156147a757888601518255948401946001909101908401614788565b50858210156147c55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156147e757600080fd5b815161166f81612d23565b60006020828403121561480457600080fd5b815161166f81613d89565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600082516148718184602087016135fa565b9190910192915050565b6000806040838503121561488e57600080fd5b825161489981612c61565b6020840151909250612fbd8161311156fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212205ca939c28242a10e100f7150e5b3ad223c5bc4c1b3f36aeb4335947bcce0d64b64736f6c63430008140033",
3346
+ "bytecode": "0x60806040525f6007553480156012575f80fd5b50615ca3806100205f395ff3fe608060405234801561000f575f80fd5b50600436106103bf575f3560e01c80637cef4842116101f5578063b4d7efe211610114578063e80c61ed116100a9578063f48016ce11610079578063f48016ce146109f3578063f9b3fe3c14610a14578063fe1f18d614610a27578063fe2ee79214610a3a575f80fd5b8063e80c61ed1461097d578063e9e96c7014610990578063ea113322146109cd578063ebb41c0c146109e0575f80fd5b8063c75e9a1c116100e4578063c75e9a1c1461040b578063cb2e87d214610944578063d7719f4614610957578063e2586c581461096a575f80fd5b8063b4d7efe2146108eb578063b6d7cd62146108fe578063bf1db3f914610911578063bf7e214f14610924575f80fd5b806396f4df2f1161018a578063abef1bb21161015a578063abef1bb21461089f578063af902500146108b2578063b0628dc3146108c5578063b33ef41a146108d8575f80fd5b806396f4df2f146107d95780639f8151e5146107ec578063a2842229146107ff578063a5961b4c14610812575f80fd5b80638eb9000d116101c55780638eb9000d146107675780638fb36037146107925780639505838e146107b357806396260559146107c6575f80fd5b80637cef4842146107195780637d417f0d1461072c5780638129fc1c1461073f5780638eaa6ac014610747575f80fd5b806338a699a4116102e157806354f1fa81116102765780635eede174116102465780635eede1741461066d578063623e7a0f146106e0578063733044ca146106f35780637a9e5e4b14610706575f80fd5b806354f1fa811461062757806354f6127f1461063a578063555e55911461065a5780635d4345cc146104a4575f80fd5b80634bb2d197116102b15780634bb2d197146105db5780634d4a7ae9146105ee578063533086d41461060157806353ebe12914610614575f80fd5b806338a699a41461057f57806340529b0f146105a2578063490840b4146105b55780634a824392146105c8575f80fd5b80631c7c8155116103575780632ae5819d116103275780632ae5819d1461051b5780632bce2d7c1461052e5780633477771214610541578063353e5b751461056c575f80fd5b80631c7c8155146104ca578063228e42ec146104dd578063248a77dd14610508578063297023ef1461040b575f80fd5b80630ccd44d7116103925780630ccd44d71461046c5780630d3581811461047f5780630fad0eb1146104a45780631aa41163146104b7575f80fd5b80630232ca49146103c3578063036b1ffb1461040b57806308077cd91461042057806309648a9d14610433575b5f80fd5b6103ee6103d13660046136d3565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041e610419366004613a7f565b610a4d565b005b61041e61042e366004613bfb565b610a92565b61045a610441366004613c3e565b5f90815260066020526040902054610100900460ff1690565b60405160ff9091168152602001610402565b61041e61047a366004613d04565b610aba565b61045a61048d366004613d74565b60ff9081165f908152602081905260409020541690565b61041e6104b2366004613d8f565b610ae7565b61041e6104c5366004613dc6565b610b04565b61041e6104d8366004613f5f565b610b44565b6103ee6104eb3660046136d3565b6001600160601b039081165f908152600260205260409020541690565b6103ee610516366004613fbc565b610b6b565b61041e610529366004613d8f565b610b88565b61041e61053c3660046140b8565b610b9f565b61055461054f3660046141e9565b610bc7565b6040516001600160401b039091168152602001610402565b61041e61057a366004614222565b610c70565b61059261058d366004613c3e565b610c86565b6040519015158152602001610402565b61041e6105b0366004613d8f565b610d0e565b61041e6105c33660046142f8565b610d25565b61041e6105d63660046143c0565b610d4d565b61041e6105e9366004614507565b610deb565b61041e6105fc366004614549565b610e89565b6103ee61060f366004613fbc565b610eb1565b6103ee610622366004613fbc565b610ec5565b61041e6106353660046146d3565b610ed9565b61064d610648366004613c3e565b611031565b604051610402919061474f565b61041e6106683660046147cb565b6110d3565b6106b661067b3660046136d3565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b0394851681529284166020840152921691810191909152606001610402565b61041e6106ee36600461485a565b611171565b61041e6107013660046148b1565b611199565b61041e6107143660046148f4565b611231565b61041e61072736600461490f565b6112b3565b61041e61073a36600461492b565b611340565b61041e6113de565b61075a610755366004613c3e565b61155a565b604051610402919061496e565b6103ee6107753660046136d3565b6001600160601b039081165f908152600360205260409020541690565b61079a61167c565b6040516001600160e01b03199091168152602001610402565b61041e6107c13660046149ce565b6116b2565b61041e6107d4366004614a10565b6116e3565b61041e6107e7366004614a53565b611781565b6103ee6107fa366004613fbc565b6117a9565b61041e61080d36600461490f565b6117bd565b610892610820366004613c3e565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260068552839020835191820184525460ff80821683526101008204169482019490945264ffffffffff620100008504811693820193909352600160381b9093049091169082015290565b6040516104029190614a91565b61041e6108ad366004614ad4565b61180b565b61041e6108c036600461490f565b611832565b6103ee6108d3366004613fbc565b611880565b61041e6108e6366004614b28565b611894565b61041e6108f9366004614b7b565b6118bb565b61041e61090c366004614b97565b611908565b61059261091f366004613d74565b61191e565b61092c61196a565b6040516001600160a01b039091168152602001610402565b61041e610952366004614cfc565b611985565b61041e610965366004614d3f565b6119ad565b61041e610978366004614d81565b6119de565b6103ee61098b366004613fbc565b611a0f565b61059261099e366004614dc3565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b61041e6109db366004614df0565b611a23565b61041e6109ee366004613dc6565b611ac1565b610a06610a01366004614e41565b611b05565b604051908152602001610402565b61041e610a22366004614e6d565b611b86565b61041e610a35366004613d8f565b611bb7565b61041e610a48366004614eaf565b611bce565b610a59335b5f36611bf6565b610a8d610a67846015611cf4565b83604051602001610a789190614ef1565b60405160208183030381529060405283611d3f565b505050565b610a9b33610a52565b610a8d610aa9846016611cf4565b83604051602001610a789190615086565b610ac333610a52565b610ae1610ad08585611eb6565b83604051602001610a7891906150fa565b50505050565b610af033610a52565b610a8d610afe836015611cf4565b82611f05565b610b0d33610a52565b610b40610b1b836029611cf4565b82604051602001610b2c9190615158565b604051602081830303815290604052612269565b5050565b610b4d33610a52565b610a8d610b5a8484612695565b82604051602001610b2c91906151df565b5f610b7533610a52565b610b7f83836126e1565b90505b92915050565b610b9133610a52565b610a8d610afe83602b611cf4565b610ba833610a52565b610a8d610bb6846017611cf4565b83604051602001610a789190615279565b5f610bd133610a52565b610bd9612851565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610c6b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5a91906152c5565b83604051602001610b2c91906152dc565b919050565b610c7933610a52565b610ae1610afe8484611eb6565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610cea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b82919061539d565b610d1733610a52565b610a8d610afe836017611cf4565b610d2e33610a52565b610b40610d3c83600f611cf4565b82604051602001610b2c91906153b8565b610d5633610a52565b6040516355ee627560e01b8152610b409073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610d9b906001600160c01b0319871690600401615437565b602060405180830381865af4158015610db6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dda91906152c5565b82604051602001610b2c919061544c565b610df433610a52565b6040516355ee627560e01b8152610b409073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e39906001600160c01b0319871690600401615437565b602060405180830381865af4158015610e54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e7891906152c5565b82604051602001610b2c9190615501565b610e9233610a52565b610b40610ea083602b611cf4565b82604051602001610b2c91906155df565b5f610ebb33610a52565b610b7f83836128e1565b5f610ecf33610a52565b610b7f8383612a39565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610f3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5f919061539d565b15610f8d5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610fce5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610f84565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610ae15760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610f84565b5f818152600660205260409020600101805460609190611050906157cf565b80601f016020809104026020016040519081016040528092919081815260200182805461107c906157cf565b80156110c75780601f1061109e576101008083540402835291602001916110c7565b820191905f5260205f20905b8154815290600101906020018083116110aa57829003601f168201915b50505050509050919050565b6110dc33610a52565b6040516355ee627560e01b8152610a8d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611121906001600160c01b0319881690600401615437565b602060405180830381865af415801561113c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116091906152c5565b83604051602001610a789190615807565b61117a33610a52565b610a8d61118884600b611cf4565b83604051602001610a789190615845565b6111a233610a52565b604051630f37f38f60e41b81526001600160401b0384166004820152610a8d9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156111fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122091906152c5565b83604051602001610a7891906152dc565b3361123a61196a565b6001600160a01b0316816001600160a01b0316146112755760405162d1953b60e31b81526001600160a01b0382166004820152602401610f84565b816001600160a01b03163b5f036112aa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f84565b610b4082612b91565b6112bc33610a52565b6040516355ee627560e01b8152610a8d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611301906001600160c01b0319871690600401615437565b602060405180830381865af415801561131c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906152c5565b61134933610a52565b6040516355ee627560e01b8152610a8d9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061138e906001600160c01b0319881690600401615437565b602060405180830381865af41580156113a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cd91906152c5565b83604051602001610a789190615501565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114225750825b90505f826001600160401b0316600114801561143d5750303b155b90508115801561144b575080155b156114695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149357845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f89190615893565b905061150381612bf1565b61150b612c05565b5050831561155357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260066020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015264ffffffffff62010000820481166080840152600160381b9091041660a082015292835260018101805491928401916115f5906157cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611621906157cf565b801561166c5780601f106116435761010080835404028352916020019161166c565b820191905f5260205f20905b81548152906001019060200180831161164f57829003601f168201915b5050505050815250509050919050565b5f80516020615c4e83398151915280545f9190600160a01b900460ff166116a3575f6116ac565b638fb3603760e01b5b91505090565b6116bb33610a52565b6116c482612c17565b610b406116d2836015611cf4565b82604051602001610b2c9190614ef1565b6116ec33610a52565b6040516355ee627560e01b8152610a8d9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611731906001600160c01b0319881690600401615437565b602060405180830381865af415801561174c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177091906152c5565b83604051602001610a78919061544c565b61178a33610a52565b610a8d61179884600f611cf4565b83604051602001610a7891906153b8565b5f6117b333610a52565b610b7f8383612d1a565b6117c633610a52565b6040516355ee627560e01b8152610a8d9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611301906001600160c01b0319871690600401615437565b61181433610a52565b610ae16118218585612695565b83604051602001610a7891906151df565b61183b33610a52565b6040516355ee627560e01b8152610a8d9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611301906001600160c01b0319871690600401615437565b5f61188a33610a52565b610b7f8383612e72565b61189d33610a52565b610a8d6118aa8484611eb6565b82604051602001610b2c91906150fa565b6118c433610a52565b604051630f37f38f60e41b81526001600160401b0383166004820152610a8d9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401611301565b61191133610a52565b610ae1610afe8484612695565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610ccf565b5f80516020615c4e833981519152546001600160a01b031690565b61198e33610a52565b610a8d61199c84600c611cf4565b83604051602001610a7891906158f1565b6119b633610a52565b6119bf82612c17565b610b406119cd836016611cf4565b82604051602001610b2c9190615086565b6119e733610a52565b6119f082612c17565b610b406119fe83600b611cf4565b82604051602001610b2c9190615845565b5f611a1933610a52565b610b7f8383612fca565b611a2c33610a52565b6040516355ee627560e01b8152610b409073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611a71906001600160c01b0319871690600401615437565b602060405180830381865af4158015611a8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab091906152c5565b82604051602001610b2c9190615807565b611aca33610a52565b610b40611ad8836029611cf4565b82604051602001611ae99190615158565b604051602081830303815290604052611b0060ff90565b611d3f565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f91906152c5565b611b8f33610a52565b611b9882612c17565b610b40611ba6836017611cf4565b82604051602001610b2c9190615279565b611bc033610a52565b610a8d610afe836016611cf4565b611bd733610a52565b610b40611be583600c611cf4565b82604051602001610b2c91906158f1565b5f80516020615c4e8339815191525f80611c2e611c1161196a565b8730611c2060045f8a8c615981565b611c29916159a8565b613122565b9150915081611cec5763ffffffff811615611cc957825460ff60a01b1916600160a01b178355611c5c61196a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c8b939291906159de565b5f604051808303815f87803b158015611ca2575f80fd5b505af1158015611cb4573d5f803e3d5ffd5b5050845460ff60a01b1916855550611cec9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f84565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611b47565b5f611d4a8483611f05565b5f858152600660205260409020909150600101611d678482615a61565b50604051634b00e98f60e11b8152600481018590527fdbbb264bf3560def22c1457cb693395546e7a0a2053566eb78e6f5eebf9831979073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611dd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfc9190615b1b565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611e4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6e9190615b36565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015264ffffffffff841660a082015290519081900360c00190a150505050565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b47565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611f57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7b919061539d565b15611f9c5760405163093b89e160e11b815260048101849052602401610f84565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612013573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612037919061539d565b156120585760405163566ebf7960e01b815260048101869052602401610f84565b60ff808516146121d657815461207490829060ff168187610ed9565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527f8f1ee60b80a6d161c3408fa78af057311e20d28c1a7a12a336a549e26d7104b69073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156120f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061211a9190615b1b565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612168573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218c9190615b36565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015264ffffffffff851660c082015260e00160405180910390a15b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561221d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122419190615b51565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122dd9190615b1b565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612330573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612354919061539d565b15612377576040516307014a8d60e51b815260ff82166004820152602401610f84565b5f83815260066020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156123dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612401919061539d565b1561242b57604051633f92eac960e21b81526004810185905260ff83166024820152604401610f84565b6124348261191e565b61245657604051636cb0978b60e11b815260ff83166004820152602401610f84565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561249e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124c29190615b51565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff199092169190911761010091831691909102176bffffffffffffffffffff000019166201000064ffffffffff85169081026bffffffffff00000000000000191691909117600160381b919091021784555f8781526006602052604090209091506001016125518682615a61565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156125c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125e69190615b1b565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612634573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126589190615b36565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611b47565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612750573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612774919061539d565b61279c57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600360205260409020546127c091168461322a565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fc813323abc29b7cc59ddd274e5941cad2a987aa85c181fbde230bfb449b00096916128399187918791879164ffffffffff90911690615b6c565b60405180910390a161284a846132af565b5092915050565b600780545f918261286183615b9c565b9091555050600754604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af41580156128b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128dc9190615bc0565b905090565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612950573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612974919061539d565b61299c57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600460205260409020546129c091168461334e565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5d0252a8f87c13449ff1a0e89d6a9d8dff6a3860c4cbbae6bd98d16f0924115b916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612aa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612acc919061539d565b612af457604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260036020526040902054612b1891168461334e565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fcc72dbc9604f941e2273f4dfa0b71700384aa0f5da7c3fef80ecb075ac0010f8916128399187918791879164ffffffffff90911690615b6c565b5f80516020615c4e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612bf9613398565b612c02816133e1565b50565b612c0d613398565b612c156133f2565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612c85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca9919061539d565b15612cd2576040516314d5804160e01b81526001600160601b0382166004820152602401610f84565b612cdb816132af565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612d89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dad919061539d565b612dd557604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260026020526040902054612df991168461322a565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fa9c12735dda7f4e5a00ab4e6a4cfdc194c4f03f3885a5f18abfa66b77b8cdae3916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612ee1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f05919061539d565b612f2d57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260026020526040902054612f5191168461334e565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f561cfda68ea43752c3141f3761d148409c741e20d766a95c64721f2c6ace5ba2916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613039573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305d919061539d565b61308557604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600460205260409020546130a991168461322a565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f52a6c3cc342afb5a41442a5b4757dbdd11e508f0f75a902a75a29d0409905a99916128399187918791879164ffffffffff90911690615b6c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131909190615bdb565b5f60405180830381855afa9150503d805f81146131c8576040519150601f19603f3d011682016040523d82523d5f602084013e6131cd565b606091505b5091509150811561321f5760408151106131ff57808060200190518101906131f59190615bf1565b909450925061321f565b602081511061321f578080602001905181019061321c919061539d565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801561328b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f9190615c1e565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156132f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061331a9190615b51565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613270565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612c1557604051631afcd79f60e31b815260040160405180910390fd5b6133e9613398565b612c0281612b91565b6133fa61344a565b613402613467565b61340a61349b565b6134126134df565b61341a6134fb565b613422613548565b61342a613568565b61343261357c565b61343a6135bb565b6134426135c5565b612c156135d9565b61345760165b6005613601565b612c1560165b60055b60c8613643565b613471600b613450565b61347f600b6005606e613643565b61348d600b606e6005613643565b612c15600b606e60d2613643565b6134a76015600a613601565b6134b66015600a5b6014613643565b6134c56015600a5b601e613643565b6134d36015600a6028613643565b612c1560156028613460565b6134ec602b5b603c613601565b612c15602b5b603c60dc613643565b613507602d6032613601565b613513602d60326134af565b613521602d60326033613643565b61352d602d60326134be565b613539602d6033613460565b612c15602d60335b6048613643565b613552602e6134e5565b61355c602e6134f2565b612c15602e603c613541565b613572602c613450565b612c15602c61345d565b613586602f613450565b613595602f60055b6046613643565b6135a3602f60056007613643565b6135af602f600761358e565b612c15602f6005613541565b612c15600f613450565b6135cf600c613450565b612c156029613450565b6135e3600e613450565b6135ed6017613450565b6135f76030613450565b612c156031613450565b60ff8281165f90815260208190526040902054161561362257613622615c39565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561367b5761367b615c39565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114612c02575f80fd5b8035610c6b816136b4565b5f602082840312156136e3575f80fd5b81356136ee816136b4565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561372c5761372c6136f5565b60405290565b60405160c081016001600160401b038111828210171561372c5761372c6136f5565b60405160e081016001600160401b038111828210171561372c5761372c6136f5565b60405161010081016001600160401b038111828210171561372c5761372c6136f5565b60405161014081016001600160401b038111828210171561372c5761372c6136f5565b60405161024081016001600160401b038111828210171561372c5761372c6136f5565b604051606081016001600160401b038111828210171561372c5761372c6136f5565b604051601f8201601f191681016001600160401b0381118282101715613829576138296136f5565b604052919050565b6001600160c01b031981168114612c02575f80fd5b8035610c6b81613831565b61ffff81168114612c02575f80fd5b8035610c6b81613851565b64ffffffffff81168114612c02575f80fd5b8035610c6b8161386b565b5f82601f830112613897575f80fd5b8135602083015f806001600160401b038411156138b6576138b66136f5565b50601f8301601f19166020016138cb81613801565b9150508281528583830111156138df575f80fd5b828260208301375f92810160200192909252509392505050565b5f610200828403121561390a575f80fd5b613912613709565b905061391d826136c8565b815261392b602083016136c8565b602082015261393c60408301613846565b604082015261394d606083016136c8565b606082015261395e608083016136c8565b608082015261396f60a08301613846565b60a082015261398060c08301613860565b60c082015261399160e08301613860565b60e08201526139a361010083016136c8565b6101008201526139b661012083016136c8565b6101208201526139c9610140830161387d565b6101408201526139dc610160830161387d565b6101608201526139ef610180830161387d565b610180820152613a026101a0830161387d565b6101a08201526101c08201356001600160401b03811115613a21575f80fd5b613a2d84828501613888565b6101c0830152506101e08201356001600160401b03811115613a4d575f80fd5b613a5984828501613888565b6101e08301525092915050565b60ff81168114612c02575f80fd5b8035610c6b81613a66565b5f805f60608486031215613a91575f80fd5b8335613a9c816136b4565b925060208401356001600160401b03811115613ab6575f80fd5b613ac2868287016138f9565b9250506040840135613ad381613a66565b809150509250925092565b6001600160a01b0381168114612c02575f80fd5b8035610c6b81613ade565b5f60408284031215613b0d575f80fd5b604080519081016001600160401b0381118282101715613b2f57613b2f6136f5565b6040529050808235613b4081613ade565b81526020830135613b50816136b4565b6020919091015292915050565b5f60e08284031215613b6d575f80fd5b613b75613732565b90508135613b828161386b565b81526020820135613b928161386b565b6020820152613ba36040830161387d565b6040820152613bb4606083016136c8565b6060820152613bc68360808401613afd565b608082015260c08201356001600160401b03811115613be3575f80fd5b613bef84828501613888565b60a08301525092915050565b5f805f60608486031215613c0d575f80fd5b8335613c18816136b4565b925060208401356001600160401b03811115613c32575f80fd5b613ac286828701613b5d565b5f60208284031215613c4e575f80fd5b5035919050565b5f60a08284031215613c65575f80fd5b60405160a081016001600160401b0381118282101715613c8757613c876136f5565b6040529050808235613c9881613851565b81526020830135613ca8816136b4565b60208201526040830135613cbb8161386b565b60408201526060830135613cce81613ade565b606082015260808301356001600160401b03811115613ceb575f80fd5b613cf785828601613888565b6080830152505092915050565b5f805f8060808587031215613d17575f80fd5b8435613d22816136b4565b93506020850135613d328161386b565b925060408501356001600160401b03811115613d4c575f80fd5b613d5887828801613c55565b9250506060850135613d6981613a66565b939692955090935050565b5f60208284031215613d84575f80fd5b81356136ee81613a66565b5f8060408385031215613da0575f80fd5b8235613dab816136b4565b91506020830135613dbb81613a66565b809150509250929050565b5f808284036101e0811215613dd9575f80fd5b8335613de4816136b4565b92506101c0601f1982011215613df8575f80fd5b50613e01613754565b613e0e8560208601613afd565b8152613e1d8560608601613afd565b6020820152613e2f8560a08601613afd565b6040820152613e418560e08601613afd565b6060820152613e54856101208601613afd565b6080820152613e67856101608601613afd565b60a0820152613e7a856101a08601613afd565b60c0820152809150509250929050565b803562ffffff81168114610c6b575f80fd5b5f60e08284031215613eac575f80fd5b613eb4613754565b9050613ebf826136c8565b8152613ecd602083016136c8565b6020820152613ede6040830161387d565b6040820152613eef60608301613e8a565b6060820152613f0060808301613e8a565b608082015260a08201356001600160401b03811115613f1d575f80fd5b613f2984828501613888565b60a08301525060c08201356001600160401b03811115613f47575f80fd5b613f5384828501613888565b60c08301525092915050565b5f805f60608486031215613f71575f80fd5b8335613f7c816136b4565b92506020840135613f8c81613851565b915060408401356001600160401b03811115613fa6575f80fd5b613fb286828701613e9c565b9150509250925092565b5f8060408385031215613fcd575f80fd5b8235613fd8816136b4565b91506020830135613dbb816136b4565b8015158114612c02575f80fd5b8035610c6b81613fe8565b63ffffffff81168114612c02575f80fd5b8035610c6b81614000565b5f6080828403121561402c575f80fd5b604051608081016001600160401b038111828210171561404e5761404e6136f5565b604052905080823561405f81613831565b8152602083013561406f81613fe8565b6020820152604083013561408281614000565b604082015260608301356001600160401b0381111561409f575f80fd5b6140ab85828601613888565b6060830152505092915050565b5f805f606084860312156140ca575f80fd5b83356140d5816136b4565b925060208401356001600160401b038111156140ef575f80fd5b613ac28682870161401c565b5f610100828403121561410c575f80fd5b614114613776565b905061411f826136c8565b815261412d602083016136c8565b602082015261413e60408301613ff5565b604082015261414f6060830161387d565b60608201526141606080830161387d565b608082015260a08201356001600160401b0381111561417d575f80fd5b61418984828501613888565b60a08301525060c08201356001600160401b038111156141a7575f80fd5b6141b384828501613888565b60c08301525060e08201356001600160401b038111156141d1575f80fd5b6141dd84828501613888565b60e08301525092915050565b5f602082840312156141f9575f80fd5b81356001600160401b0381111561420e575f80fd5b61421a848285016140fb565b949350505050565b5f805f60608486031215614234575f80fd5b833561423f816136b4565b9250602084013561424f8161386b565b91506040840135613ad381613a66565b5f60e0828403121561426f575f80fd5b614277613754565b90508135614284816136b4565b8152602082013561429481613ade565b602082015260408201356142a781613ade565b604082015260608201356142ba81613fe8565b60608201526142cb60808301613ff5565b60808201526142dc60a08301613ff5565b60a08201526142ed60c08301613ff5565b60c082015292915050565b5f80610100838503121561430a575f80fd5b8235614315816136b4565b9150614324846020850161425f565b90509250929050565b5f610100828403121561433e575f80fd5b614346613776565b9050614351826136c8565b815261435f602083016136c8565b602082015261437060408301614011565b604082015261438160608301614011565b606082015261439260808301613af2565b60808201526143a360a0830161387d565b60a082015260c08201356001600160401b038111156141a7575f80fd5b5f80604083850312156143d1575f80fd5b82356143dc81613831565b915060208301356001600160401b038111156143f6575f80fd5b6144028582860161432d565b9150509250929050565b5f610140828403121561441d575f80fd5b614425613799565b905061443082613af2565b815261443e602083016136c8565b602082015261444f60408301613af2565b604082015261446060608301614011565b60608201526144716080830161387d565b608082015261448260a08301613ff5565b60a082015261449360c08301613ff5565b60c08201526144a460e08301613af2565b60e08201526101008201356001600160401b038111156144c2575f80fd5b6144ce84828501613888565b610100830152506101208201356001600160401b038111156144ee575f80fd5b6144fa84828501613888565b6101208301525092915050565b5f8060408385031215614518575f80fd5b823561452381613831565b915060208301356001600160401b0381111561453d575f80fd5b6144028582860161440c565b5f8082840361026081121561455c575f80fd5b8335614567816136b4565b9250610240601f198201121561457b575f80fd5b506145846137bc565b614590602085016136c8565b815261459e604085016136c8565b60208201526145af606085016136c8565b60408201526145c0608085016136c8565b60608201526145d160a085016136c8565b60808201526145e260c085016136c8565b60a08201526145f360e085016136c8565b60c082015261460561010085016136c8565b60e082015261461761012085016136c8565b61010082015261462a61014085016136c8565b61012082015261463d61016085016136c8565b61014082015261465061018085016136c8565b6101608201526146636101a085016136c8565b6101808201526146766101c085016136c8565b6101a08201526146896101e085016136c8565b6101c082015261469c61020085016136c8565b6101e08201526146af61022085016136c8565b6102008201526146c261024085016136c8565b610220820152809150509250929050565b5f805f80608085870312156146e6575f80fd5b84356146f181613a66565b9350602085013561470181613a66565b9250604085013561471181613a66565b91506060850135613d6981613a66565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b7f6020830184614721565b5f60608284031215614771575f80fd5b6147796137df565b90508135614786816136b4565b815260208201356147968161386b565b602082015260408201356001600160401b038111156147b3575f80fd5b6147bf84828501613888565b60408301525092915050565b5f805f606084860312156147dd575f80fd5b83356147e881613831565b925060208401356001600160401b03811115614802575f80fd5b613ac286828701614761565b5f6060828403121561481e575f80fd5b6148266137df565b905081356001600160401b0381111561483d575f80fd5b61484984828501613888565b825250602082013561479681613ade565b5f805f6060848603121561486c575f80fd5b8335614877816136b4565b925060208401356001600160401b03811115614891575f80fd5b613ac28682870161480e565b6001600160401b0381168114612c02575f80fd5b5f805f606084860312156148c3575f80fd5b83356148ce8161489d565b925060208401356001600160401b038111156148e8575f80fd5b613ac2868287016140fb565b5f60208284031215614904575f80fd5b81356136ee81613ade565b5f8060408385031215614920575f80fd5b8235613dab81613831565b5f805f6060848603121561493d575f80fd5b833561494881613831565b925060208401356001600160401b03811115614962575f80fd5b613ac28682870161440c565b602081526149b560208201835160ff815116825260ff602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f602083015160a08084015261421a60c0840182614721565b5f80604083850312156149df575f80fd5b82356149ea816136b4565b915060208301356001600160401b03811115614a04575f80fd5b614402858286016138f9565b5f805f60608486031215614a22575f80fd5b8335614a2d81613831565b925060208401356001600160401b03811115614a47575f80fd5b613ac28682870161432d565b5f805f6101208486031215614a66575f80fd5b8335614a71816136b4565b9250614a80856020860161425f565b9150610100840135613ad381613a66565b60808101610b82828460ff815116825260ff602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f805f8060808587031215614ae7575f80fd5b8435614af2816136b4565b93506020850135614b0281613851565b925060408501356001600160401b03811115614b1c575f80fd5b613d5887828801613e9c565b5f805f60608486031215614b3a575f80fd5b8335614b45816136b4565b92506020840135614b558161386b565b915060408401356001600160401b03811115614b6f575f80fd5b613fb286828701613c55565b5f8060408385031215614b8c575f80fd5b8235613dab8161489d565b5f805f60608486031215614ba9575f80fd5b8335614bb4816136b4565b9250602084013561424f81613851565b5f82601f830112614bd3575f80fd5b81356001600160401b03811115614bec57614bec6136f5565b8060051b614bfc60208201613801565b91825260208185018101929081019086841115614c17575f80fd5b6020860192505b83831015614c42578235614c31816136b4565b825260209283019290910190614c1e565b9695505050505050565b5f6101008284031215614c5d575f80fd5b614c65613776565b9050614c7082613ff5565b8152614c7e60208301613ff5565b6020820152614c8f60408301613ff5565b6040820152614ca060608301613a74565b6060820152614cb160808301613a74565b6080820152614cc260a083016136c8565b60a0820152614cd360c083016136c8565b60c082015260e08201356001600160401b03811115614cf0575f80fd5b6141dd84828501614bc4565b5f805f60608486031215614d0e575f80fd5b8335614d19816136b4565b925060208401356001600160401b03811115614d33575f80fd5b613ac286828701614c4c565b5f8060408385031215614d50575f80fd5b8235614d5b816136b4565b915060208301356001600160401b03811115614d75575f80fd5b61440285828601613b5d565b5f8060408385031215614d92575f80fd5b8235614d9d816136b4565b915060208301356001600160401b03811115614db7575f80fd5b6144028582860161480e565b5f805f60608486031215614dd5575f80fd5b8335614de081613a66565b9250602084013561424f81613a66565b5f8060408385031215614e01575f80fd5b8235614e0c81613831565b915060208301356001600160401b03811115614e26575f80fd5b61440285828601614761565b60ff1981168114612c02575f80fd5b5f8060408385031215614e52575f80fd5b8235614e5d81613a66565b91506020830135613dbb81614e32565b5f8060408385031215614e7e575f80fd5b8235614e89816136b4565b915060208301356001600160401b03811115614ea3575f80fd5b6144028582860161401c565b5f8060408385031215614ec0575f80fd5b8235614ecb816136b4565b915060208301356001600160401b03811115614ee5575f80fd5b61440285828601614c4c565b60208152614f0b6020820183516001600160601b03169052565b5f6020830151614f2660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e084015261503d610220840182614721565b90506101e0840151601f198483030161020085015261505c8282614721565b95945050505050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516150e060a0840182615065565b5060a083015160e08084015261421a610100840182614721565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261421a60c0840182614721565b5f6101c08201905061516b828451615065565b602083015161517d6040840182615065565b5060408301516151906080840182615065565b5060608301516151a360c0840182615065565b5060808301516151b7610100840182615065565b5060a08301516151cb610140840182615065565b5060c083015161284a610180840182615065565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f604083015161521f606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261525c610100840182614721565b905060c0840151601f198483030160e085015261505c8282614721565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261421a60a0840182614721565b5f602082840312156152d5575f80fd5b5051919050565b602081526152f66020820183516001600160601b03169052565b5f602083015161531160408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152615361610120840182614721565b905060c0840151601f198483030160e085015261537e8282614721565b91505060e0840151601f198483030161010085015261505c8282614721565b5f602082840312156153ad575f80fd5b81516136ee81613fe8565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b036040840151166040830152606083015115156060830152608083015161540f608084018215159052565b5060a083015161542360a084018215159052565b5060c083015161284a60c084018215159052565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f602083015161547b60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526154e3610120840182614721565b905060e0840151601f198483030161010085015261505c8282614721565b6020815261551b6020820183516001600160a01b03169052565b5f602083015161553660408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526155c0610160840182614721565b9050610120840151601f198483030161014085015261505c8282614721565b81516001600160601b031681526102408101602083015161560b60208401826001600160601b03169052565b50604083015161562660408401826001600160601b03169052565b50606083015161564160608401826001600160601b03169052565b50608083015161565c60808401826001600160601b03169052565b5060a083015161567760a08401826001600160601b03169052565b5060c083015161569260c08401826001600160601b03169052565b5060e08301516156ad60e08401826001600160601b03169052565b506101008301516156ca6101008401826001600160601b03169052565b506101208301516156e76101208401826001600160601b03169052565b506101408301516157046101408401826001600160601b03169052565b506101608301516157216101608401826001600160601b03169052565b5061018083015161573e6101808401826001600160601b03169052565b506101a083015161575b6101a08401826001600160601b03169052565b506101c08301516157786101c08401826001600160601b03169052565b506101e08301516157956101e08401826001600160601b03169052565b506102008301516157b26102008401826001600160601b03169052565b5061022083015161284a6102208401826001600160601b03169052565b600181811c908216806157e357607f821691505b60208210810361580157634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f604083015160608084015261421a6080840182614721565b602081525f8251606060208401526158606080840182614721565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061505c8282614721565b5f602082840312156158a3575f80fd5b81516136ee81613ade565b5f8151808452602084019350602083015f5b828110156158e75781516001600160601b03168652602095860195909101906001016158c0565b5093949350505050565b602081528151151560208201526020820151151560408201525f604083015161591e606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101008084015261421a6101208401826158ae565b5f808585111561598f575f80fd5b8386111561599b575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561284a576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f821115610a8d57805f5260205f20601f840160051c81016020851015615a425750805b601f840160051c820191505b81811015611553575f8155600101615a4e565b81516001600160401b03811115615a7a57615a7a6136f5565b615a8e81615a8884546157cf565b84615a1d565b6020601f821160018114615ac0575f8315615aa95750848201515b5f19600385901b1c1916600184901b178455611553565b5f84815260208120601f198516915b82811015615aef5787850151825560209485019460019092019101615acf565b5084821015615b0c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215615b2b575f80fd5b81516136ee81613a66565b5f60208284031215615b46575f80fd5b81516136ee81614e32565b5f60208284031215615b61575f80fd5b81516136ee8161386b565b6001600160601b03948516815292841660208401529216604082015264ffffffffff909116606082015260800190565b5f60018201615bb957634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f60208284031215615bd0575f80fd5b81516136ee8161489d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615c02575f80fd5b8251615c0d81613fe8565b6020840151909250613dbb81614000565b5f60208284031215615c2e575f80fd5b81516136ee816136b4565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122097fe7f511433f813a19cfa1e79a280e383cf07e9a342e4ded63723203de7cb6464736f6c634300081a0033",
3347
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103bf575f3560e01c80637cef4842116101f5578063b4d7efe211610114578063e80c61ed116100a9578063f48016ce11610079578063f48016ce146109f3578063f9b3fe3c14610a14578063fe1f18d614610a27578063fe2ee79214610a3a575f80fd5b8063e80c61ed1461097d578063e9e96c7014610990578063ea113322146109cd578063ebb41c0c146109e0575f80fd5b8063c75e9a1c116100e4578063c75e9a1c1461040b578063cb2e87d214610944578063d7719f4614610957578063e2586c581461096a575f80fd5b8063b4d7efe2146108eb578063b6d7cd62146108fe578063bf1db3f914610911578063bf7e214f14610924575f80fd5b806396f4df2f1161018a578063abef1bb21161015a578063abef1bb21461089f578063af902500146108b2578063b0628dc3146108c5578063b33ef41a146108d8575f80fd5b806396f4df2f146107d95780639f8151e5146107ec578063a2842229146107ff578063a5961b4c14610812575f80fd5b80638eb9000d116101c55780638eb9000d146107675780638fb36037146107925780639505838e146107b357806396260559146107c6575f80fd5b80637cef4842146107195780637d417f0d1461072c5780638129fc1c1461073f5780638eaa6ac014610747575f80fd5b806338a699a4116102e157806354f1fa81116102765780635eede174116102465780635eede1741461066d578063623e7a0f146106e0578063733044ca146106f35780637a9e5e4b14610706575f80fd5b806354f1fa811461062757806354f6127f1461063a578063555e55911461065a5780635d4345cc146104a4575f80fd5b80634bb2d197116102b15780634bb2d197146105db5780634d4a7ae9146105ee578063533086d41461060157806353ebe12914610614575f80fd5b806338a699a41461057f57806340529b0f146105a2578063490840b4146105b55780634a824392146105c8575f80fd5b80631c7c8155116103575780632ae5819d116103275780632ae5819d1461051b5780632bce2d7c1461052e5780633477771214610541578063353e5b751461056c575f80fd5b80631c7c8155146104ca578063228e42ec146104dd578063248a77dd14610508578063297023ef1461040b575f80fd5b80630ccd44d7116103925780630ccd44d71461046c5780630d3581811461047f5780630fad0eb1146104a45780631aa41163146104b7575f80fd5b80630232ca49146103c3578063036b1ffb1461040b57806308077cd91461042057806309648a9d14610433575b5f80fd5b6103ee6103d13660046136d3565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041e610419366004613a7f565b610a4d565b005b61041e61042e366004613bfb565b610a92565b61045a610441366004613c3e565b5f90815260066020526040902054610100900460ff1690565b60405160ff9091168152602001610402565b61041e61047a366004613d04565b610aba565b61045a61048d366004613d74565b60ff9081165f908152602081905260409020541690565b61041e6104b2366004613d8f565b610ae7565b61041e6104c5366004613dc6565b610b04565b61041e6104d8366004613f5f565b610b44565b6103ee6104eb3660046136d3565b6001600160601b039081165f908152600260205260409020541690565b6103ee610516366004613fbc565b610b6b565b61041e610529366004613d8f565b610b88565b61041e61053c3660046140b8565b610b9f565b61055461054f3660046141e9565b610bc7565b6040516001600160401b039091168152602001610402565b61041e61057a366004614222565b610c70565b61059261058d366004613c3e565b610c86565b6040519015158152602001610402565b61041e6105b0366004613d8f565b610d0e565b61041e6105c33660046142f8565b610d25565b61041e6105d63660046143c0565b610d4d565b61041e6105e9366004614507565b610deb565b61041e6105fc366004614549565b610e89565b6103ee61060f366004613fbc565b610eb1565b6103ee610622366004613fbc565b610ec5565b61041e6106353660046146d3565b610ed9565b61064d610648366004613c3e565b611031565b604051610402919061474f565b61041e6106683660046147cb565b6110d3565b6106b661067b3660046136d3565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b0394851681529284166020840152921691810191909152606001610402565b61041e6106ee36600461485a565b611171565b61041e6107013660046148b1565b611199565b61041e6107143660046148f4565b611231565b61041e61072736600461490f565b6112b3565b61041e61073a36600461492b565b611340565b61041e6113de565b61075a610755366004613c3e565b61155a565b604051610402919061496e565b6103ee6107753660046136d3565b6001600160601b039081165f908152600360205260409020541690565b61079a61167c565b6040516001600160e01b03199091168152602001610402565b61041e6107c13660046149ce565b6116b2565b61041e6107d4366004614a10565b6116e3565b61041e6107e7366004614a53565b611781565b6103ee6107fa366004613fbc565b6117a9565b61041e61080d36600461490f565b6117bd565b610892610820366004613c3e565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260068552839020835191820184525460ff80821683526101008204169482019490945264ffffffffff620100008504811693820193909352600160381b9093049091169082015290565b6040516104029190614a91565b61041e6108ad366004614ad4565b61180b565b61041e6108c036600461490f565b611832565b6103ee6108d3366004613fbc565b611880565b61041e6108e6366004614b28565b611894565b61041e6108f9366004614b7b565b6118bb565b61041e61090c366004614b97565b611908565b61059261091f366004613d74565b61191e565b61092c61196a565b6040516001600160a01b039091168152602001610402565b61041e610952366004614cfc565b611985565b61041e610965366004614d3f565b6119ad565b61041e610978366004614d81565b6119de565b6103ee61098b366004613fbc565b611a0f565b61059261099e366004614dc3565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b61041e6109db366004614df0565b611a23565b61041e6109ee366004613dc6565b611ac1565b610a06610a01366004614e41565b611b05565b604051908152602001610402565b61041e610a22366004614e6d565b611b86565b61041e610a35366004613d8f565b611bb7565b61041e610a48366004614eaf565b611bce565b610a59335b5f36611bf6565b610a8d610a67846015611cf4565b83604051602001610a789190614ef1565b60405160208183030381529060405283611d3f565b505050565b610a9b33610a52565b610a8d610aa9846016611cf4565b83604051602001610a789190615086565b610ac333610a52565b610ae1610ad08585611eb6565b83604051602001610a7891906150fa565b50505050565b610af033610a52565b610a8d610afe836015611cf4565b82611f05565b610b0d33610a52565b610b40610b1b836029611cf4565b82604051602001610b2c9190615158565b604051602081830303815290604052612269565b5050565b610b4d33610a52565b610a8d610b5a8484612695565b82604051602001610b2c91906151df565b5f610b7533610a52565b610b7f83836126e1565b90505b92915050565b610b9133610a52565b610a8d610afe83602b611cf4565b610ba833610a52565b610a8d610bb6846017611cf4565b83604051602001610a789190615279565b5f610bd133610a52565b610bd9612851565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610c6b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5a91906152c5565b83604051602001610b2c91906152dc565b919050565b610c7933610a52565b610ae1610afe8484611eb6565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610cea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b82919061539d565b610d1733610a52565b610a8d610afe836017611cf4565b610d2e33610a52565b610b40610d3c83600f611cf4565b82604051602001610b2c91906153b8565b610d5633610a52565b6040516355ee627560e01b8152610b409073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610d9b906001600160c01b0319871690600401615437565b602060405180830381865af4158015610db6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dda91906152c5565b82604051602001610b2c919061544c565b610df433610a52565b6040516355ee627560e01b8152610b409073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e39906001600160c01b0319871690600401615437565b602060405180830381865af4158015610e54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e7891906152c5565b82604051602001610b2c9190615501565b610e9233610a52565b610b40610ea083602b611cf4565b82604051602001610b2c91906155df565b5f610ebb33610a52565b610b7f83836128e1565b5f610ecf33610a52565b610b7f8383612a39565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610f3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5f919061539d565b15610f8d5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610fce5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610f84565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610ae15760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610f84565b5f818152600660205260409020600101805460609190611050906157cf565b80601f016020809104026020016040519081016040528092919081815260200182805461107c906157cf565b80156110c75780601f1061109e576101008083540402835291602001916110c7565b820191905f5260205f20905b8154815290600101906020018083116110aa57829003601f168201915b50505050509050919050565b6110dc33610a52565b6040516355ee627560e01b8152610a8d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611121906001600160c01b0319881690600401615437565b602060405180830381865af415801561113c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116091906152c5565b83604051602001610a789190615807565b61117a33610a52565b610a8d61118884600b611cf4565b83604051602001610a789190615845565b6111a233610a52565b604051630f37f38f60e41b81526001600160401b0384166004820152610a8d9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156111fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122091906152c5565b83604051602001610a7891906152dc565b3361123a61196a565b6001600160a01b0316816001600160a01b0316146112755760405162d1953b60e31b81526001600160a01b0382166004820152602401610f84565b816001600160a01b03163b5f036112aa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f84565b610b4082612b91565b6112bc33610a52565b6040516355ee627560e01b8152610a8d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611301906001600160c01b0319871690600401615437565b602060405180830381865af415801561131c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906152c5565b61134933610a52565b6040516355ee627560e01b8152610a8d9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061138e906001600160c01b0319881690600401615437565b602060405180830381865af41580156113a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cd91906152c5565b83604051602001610a789190615501565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114225750825b90505f826001600160401b0316600114801561143d5750303b155b90508115801561144b575080155b156114695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149357845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f89190615893565b905061150381612bf1565b61150b612c05565b5050831561155357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260066020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015264ffffffffff62010000820481166080840152600160381b9091041660a082015292835260018101805491928401916115f5906157cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611621906157cf565b801561166c5780601f106116435761010080835404028352916020019161166c565b820191905f5260205f20905b81548152906001019060200180831161164f57829003601f168201915b5050505050815250509050919050565b5f80516020615c4e83398151915280545f9190600160a01b900460ff166116a3575f6116ac565b638fb3603760e01b5b91505090565b6116bb33610a52565b6116c482612c17565b610b406116d2836015611cf4565b82604051602001610b2c9190614ef1565b6116ec33610a52565b6040516355ee627560e01b8152610a8d9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611731906001600160c01b0319881690600401615437565b602060405180830381865af415801561174c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177091906152c5565b83604051602001610a78919061544c565b61178a33610a52565b610a8d61179884600f611cf4565b83604051602001610a7891906153b8565b5f6117b333610a52565b610b7f8383612d1a565b6117c633610a52565b6040516355ee627560e01b8152610a8d9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611301906001600160c01b0319871690600401615437565b61181433610a52565b610ae16118218585612695565b83604051602001610a7891906151df565b61183b33610a52565b6040516355ee627560e01b8152610a8d9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611301906001600160c01b0319871690600401615437565b5f61188a33610a52565b610b7f8383612e72565b61189d33610a52565b610a8d6118aa8484611eb6565b82604051602001610b2c91906150fa565b6118c433610a52565b604051630f37f38f60e41b81526001600160401b0383166004820152610a8d9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401611301565b61191133610a52565b610ae1610afe8484612695565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610ccf565b5f80516020615c4e833981519152546001600160a01b031690565b61198e33610a52565b610a8d61199c84600c611cf4565b83604051602001610a7891906158f1565b6119b633610a52565b6119bf82612c17565b610b406119cd836016611cf4565b82604051602001610b2c9190615086565b6119e733610a52565b6119f082612c17565b610b406119fe83600b611cf4565b82604051602001610b2c9190615845565b5f611a1933610a52565b610b7f8383612fca565b611a2c33610a52565b6040516355ee627560e01b8152610b409073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611a71906001600160c01b0319871690600401615437565b602060405180830381865af4158015611a8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab091906152c5565b82604051602001610b2c9190615807565b611aca33610a52565b610b40611ad8836029611cf4565b82604051602001611ae99190615158565b604051602081830303815290604052611b0060ff90565b611d3f565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f91906152c5565b611b8f33610a52565b611b9882612c17565b610b40611ba6836017611cf4565b82604051602001610b2c9190615279565b611bc033610a52565b610a8d610afe836016611cf4565b611bd733610a52565b610b40611be583600c611cf4565b82604051602001610b2c91906158f1565b5f80516020615c4e8339815191525f80611c2e611c1161196a565b8730611c2060045f8a8c615981565b611c29916159a8565b613122565b9150915081611cec5763ffffffff811615611cc957825460ff60a01b1916600160a01b178355611c5c61196a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c8b939291906159de565b5f604051808303815f87803b158015611ca2575f80fd5b505af1158015611cb4573d5f803e3d5ffd5b5050845460ff60a01b1916855550611cec9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f84565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611b47565b5f611d4a8483611f05565b5f858152600660205260409020909150600101611d678482615a61565b50604051634b00e98f60e11b8152600481018590527fdbbb264bf3560def22c1457cb693395546e7a0a2053566eb78e6f5eebf9831979073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611dd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfc9190615b1b565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611e4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6e9190615b36565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015264ffffffffff841660a082015290519081900360c00190a150505050565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b47565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611f57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7b919061539d565b15611f9c5760405163093b89e160e11b815260048101849052602401610f84565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612013573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612037919061539d565b156120585760405163566ebf7960e01b815260048101869052602401610f84565b60ff808516146121d657815461207490829060ff168187610ed9565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527f8f1ee60b80a6d161c3408fa78af057311e20d28c1a7a12a336a549e26d7104b69073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156120f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061211a9190615b1b565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612168573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218c9190615b36565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015264ffffffffff851660c082015260e00160405180910390a15b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561221d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122419190615b51565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122dd9190615b1b565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612330573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612354919061539d565b15612377576040516307014a8d60e51b815260ff82166004820152602401610f84565b5f83815260066020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156123dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612401919061539d565b1561242b57604051633f92eac960e21b81526004810185905260ff83166024820152604401610f84565b6124348261191e565b61245657604051636cb0978b60e11b815260ff83166004820152602401610f84565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561249e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124c29190615b51565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff199092169190911761010091831691909102176bffffffffffffffffffff000019166201000064ffffffffff85169081026bffffffffff00000000000000191691909117600160381b919091021784555f8781526006602052604090209091506001016125518682615a61565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156125c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125e69190615b1b565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612634573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126589190615b36565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611b47565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612750573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612774919061539d565b61279c57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600360205260409020546127c091168461322a565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fc813323abc29b7cc59ddd274e5941cad2a987aa85c181fbde230bfb449b00096916128399187918791879164ffffffffff90911690615b6c565b60405180910390a161284a846132af565b5092915050565b600780545f918261286183615b9c565b9091555050600754604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af41580156128b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128dc9190615bc0565b905090565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612950573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612974919061539d565b61299c57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600460205260409020546129c091168461334e565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5d0252a8f87c13449ff1a0e89d6a9d8dff6a3860c4cbbae6bd98d16f0924115b916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612aa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612acc919061539d565b612af457604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260036020526040902054612b1891168461334e565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fcc72dbc9604f941e2273f4dfa0b71700384aa0f5da7c3fef80ecb075ac0010f8916128399187918791879164ffffffffff90911690615b6c565b5f80516020615c4e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612bf9613398565b612c02816133e1565b50565b612c0d613398565b612c156133f2565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612c85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca9919061539d565b15612cd2576040516314d5804160e01b81526001600160601b0382166004820152602401610f84565b612cdb816132af565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612d89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dad919061539d565b612dd557604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260026020526040902054612df991168461322a565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fa9c12735dda7f4e5a00ab4e6a4cfdc194c4f03f3885a5f18abfa66b77b8cdae3916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612ee1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f05919061539d565b612f2d57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260026020526040902054612f5191168461334e565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f561cfda68ea43752c3141f3761d148409c741e20d766a95c64721f2c6ace5ba2916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613039573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305d919061539d565b61308557604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600460205260409020546130a991168461322a565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f52a6c3cc342afb5a41442a5b4757dbdd11e508f0f75a902a75a29d0409905a99916128399187918791879164ffffffffff90911690615b6c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131909190615bdb565b5f60405180830381855afa9150503d805f81146131c8576040519150601f19603f3d011682016040523d82523d5f602084013e6131cd565b606091505b5091509150811561321f5760408151106131ff57808060200190518101906131f59190615bf1565b909450925061321f565b602081511061321f578080602001905181019061321c919061539d565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801561328b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f9190615c1e565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156132f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061331a9190615b51565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613270565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612c1557604051631afcd79f60e31b815260040160405180910390fd5b6133e9613398565b612c0281612b91565b6133fa61344a565b613402613467565b61340a61349b565b6134126134df565b61341a6134fb565b613422613548565b61342a613568565b61343261357c565b61343a6135bb565b6134426135c5565b612c156135d9565b61345760165b6005613601565b612c1560165b60055b60c8613643565b613471600b613450565b61347f600b6005606e613643565b61348d600b606e6005613643565b612c15600b606e60d2613643565b6134a76015600a613601565b6134b66015600a5b6014613643565b6134c56015600a5b601e613643565b6134d36015600a6028613643565b612c1560156028613460565b6134ec602b5b603c613601565b612c15602b5b603c60dc613643565b613507602d6032613601565b613513602d60326134af565b613521602d60326033613643565b61352d602d60326134be565b613539602d6033613460565b612c15602d60335b6048613643565b613552602e6134e5565b61355c602e6134f2565b612c15602e603c613541565b613572602c613450565b612c15602c61345d565b613586602f613450565b613595602f60055b6046613643565b6135a3602f60056007613643565b6135af602f600761358e565b612c15602f6005613541565b612c15600f613450565b6135cf600c613450565b612c156029613450565b6135e3600e613450565b6135ed6017613450565b6135f76030613450565b612c156031613450565b60ff8281165f90815260208190526040902054161561362257613622615c39565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561367b5761367b615c39565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114612c02575f80fd5b8035610c6b816136b4565b5f602082840312156136e3575f80fd5b81356136ee816136b4565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561372c5761372c6136f5565b60405290565b60405160c081016001600160401b038111828210171561372c5761372c6136f5565b60405160e081016001600160401b038111828210171561372c5761372c6136f5565b60405161010081016001600160401b038111828210171561372c5761372c6136f5565b60405161014081016001600160401b038111828210171561372c5761372c6136f5565b60405161024081016001600160401b038111828210171561372c5761372c6136f5565b604051606081016001600160401b038111828210171561372c5761372c6136f5565b604051601f8201601f191681016001600160401b0381118282101715613829576138296136f5565b604052919050565b6001600160c01b031981168114612c02575f80fd5b8035610c6b81613831565b61ffff81168114612c02575f80fd5b8035610c6b81613851565b64ffffffffff81168114612c02575f80fd5b8035610c6b8161386b565b5f82601f830112613897575f80fd5b8135602083015f806001600160401b038411156138b6576138b66136f5565b50601f8301601f19166020016138cb81613801565b9150508281528583830111156138df575f80fd5b828260208301375f92810160200192909252509392505050565b5f610200828403121561390a575f80fd5b613912613709565b905061391d826136c8565b815261392b602083016136c8565b602082015261393c60408301613846565b604082015261394d606083016136c8565b606082015261395e608083016136c8565b608082015261396f60a08301613846565b60a082015261398060c08301613860565b60c082015261399160e08301613860565b60e08201526139a361010083016136c8565b6101008201526139b661012083016136c8565b6101208201526139c9610140830161387d565b6101408201526139dc610160830161387d565b6101608201526139ef610180830161387d565b610180820152613a026101a0830161387d565b6101a08201526101c08201356001600160401b03811115613a21575f80fd5b613a2d84828501613888565b6101c0830152506101e08201356001600160401b03811115613a4d575f80fd5b613a5984828501613888565b6101e08301525092915050565b60ff81168114612c02575f80fd5b8035610c6b81613a66565b5f805f60608486031215613a91575f80fd5b8335613a9c816136b4565b925060208401356001600160401b03811115613ab6575f80fd5b613ac2868287016138f9565b9250506040840135613ad381613a66565b809150509250925092565b6001600160a01b0381168114612c02575f80fd5b8035610c6b81613ade565b5f60408284031215613b0d575f80fd5b604080519081016001600160401b0381118282101715613b2f57613b2f6136f5565b6040529050808235613b4081613ade565b81526020830135613b50816136b4565b6020919091015292915050565b5f60e08284031215613b6d575f80fd5b613b75613732565b90508135613b828161386b565b81526020820135613b928161386b565b6020820152613ba36040830161387d565b6040820152613bb4606083016136c8565b6060820152613bc68360808401613afd565b608082015260c08201356001600160401b03811115613be3575f80fd5b613bef84828501613888565b60a08301525092915050565b5f805f60608486031215613c0d575f80fd5b8335613c18816136b4565b925060208401356001600160401b03811115613c32575f80fd5b613ac286828701613b5d565b5f60208284031215613c4e575f80fd5b5035919050565b5f60a08284031215613c65575f80fd5b60405160a081016001600160401b0381118282101715613c8757613c876136f5565b6040529050808235613c9881613851565b81526020830135613ca8816136b4565b60208201526040830135613cbb8161386b565b60408201526060830135613cce81613ade565b606082015260808301356001600160401b03811115613ceb575f80fd5b613cf785828601613888565b6080830152505092915050565b5f805f8060808587031215613d17575f80fd5b8435613d22816136b4565b93506020850135613d328161386b565b925060408501356001600160401b03811115613d4c575f80fd5b613d5887828801613c55565b9250506060850135613d6981613a66565b939692955090935050565b5f60208284031215613d84575f80fd5b81356136ee81613a66565b5f8060408385031215613da0575f80fd5b8235613dab816136b4565b91506020830135613dbb81613a66565b809150509250929050565b5f808284036101e0811215613dd9575f80fd5b8335613de4816136b4565b92506101c0601f1982011215613df8575f80fd5b50613e01613754565b613e0e8560208601613afd565b8152613e1d8560608601613afd565b6020820152613e2f8560a08601613afd565b6040820152613e418560e08601613afd565b6060820152613e54856101208601613afd565b6080820152613e67856101608601613afd565b60a0820152613e7a856101a08601613afd565b60c0820152809150509250929050565b803562ffffff81168114610c6b575f80fd5b5f60e08284031215613eac575f80fd5b613eb4613754565b9050613ebf826136c8565b8152613ecd602083016136c8565b6020820152613ede6040830161387d565b6040820152613eef60608301613e8a565b6060820152613f0060808301613e8a565b608082015260a08201356001600160401b03811115613f1d575f80fd5b613f2984828501613888565b60a08301525060c08201356001600160401b03811115613f47575f80fd5b613f5384828501613888565b60c08301525092915050565b5f805f60608486031215613f71575f80fd5b8335613f7c816136b4565b92506020840135613f8c81613851565b915060408401356001600160401b03811115613fa6575f80fd5b613fb286828701613e9c565b9150509250925092565b5f8060408385031215613fcd575f80fd5b8235613fd8816136b4565b91506020830135613dbb816136b4565b8015158114612c02575f80fd5b8035610c6b81613fe8565b63ffffffff81168114612c02575f80fd5b8035610c6b81614000565b5f6080828403121561402c575f80fd5b604051608081016001600160401b038111828210171561404e5761404e6136f5565b604052905080823561405f81613831565b8152602083013561406f81613fe8565b6020820152604083013561408281614000565b604082015260608301356001600160401b0381111561409f575f80fd5b6140ab85828601613888565b6060830152505092915050565b5f805f606084860312156140ca575f80fd5b83356140d5816136b4565b925060208401356001600160401b038111156140ef575f80fd5b613ac28682870161401c565b5f610100828403121561410c575f80fd5b614114613776565b905061411f826136c8565b815261412d602083016136c8565b602082015261413e60408301613ff5565b604082015261414f6060830161387d565b60608201526141606080830161387d565b608082015260a08201356001600160401b0381111561417d575f80fd5b61418984828501613888565b60a08301525060c08201356001600160401b038111156141a7575f80fd5b6141b384828501613888565b60c08301525060e08201356001600160401b038111156141d1575f80fd5b6141dd84828501613888565b60e08301525092915050565b5f602082840312156141f9575f80fd5b81356001600160401b0381111561420e575f80fd5b61421a848285016140fb565b949350505050565b5f805f60608486031215614234575f80fd5b833561423f816136b4565b9250602084013561424f8161386b565b91506040840135613ad381613a66565b5f60e0828403121561426f575f80fd5b614277613754565b90508135614284816136b4565b8152602082013561429481613ade565b602082015260408201356142a781613ade565b604082015260608201356142ba81613fe8565b60608201526142cb60808301613ff5565b60808201526142dc60a08301613ff5565b60a08201526142ed60c08301613ff5565b60c082015292915050565b5f80610100838503121561430a575f80fd5b8235614315816136b4565b9150614324846020850161425f565b90509250929050565b5f610100828403121561433e575f80fd5b614346613776565b9050614351826136c8565b815261435f602083016136c8565b602082015261437060408301614011565b604082015261438160608301614011565b606082015261439260808301613af2565b60808201526143a360a0830161387d565b60a082015260c08201356001600160401b038111156141a7575f80fd5b5f80604083850312156143d1575f80fd5b82356143dc81613831565b915060208301356001600160401b038111156143f6575f80fd5b6144028582860161432d565b9150509250929050565b5f610140828403121561441d575f80fd5b614425613799565b905061443082613af2565b815261443e602083016136c8565b602082015261444f60408301613af2565b604082015261446060608301614011565b60608201526144716080830161387d565b608082015261448260a08301613ff5565b60a082015261449360c08301613ff5565b60c08201526144a460e08301613af2565b60e08201526101008201356001600160401b038111156144c2575f80fd5b6144ce84828501613888565b610100830152506101208201356001600160401b038111156144ee575f80fd5b6144fa84828501613888565b6101208301525092915050565b5f8060408385031215614518575f80fd5b823561452381613831565b915060208301356001600160401b0381111561453d575f80fd5b6144028582860161440c565b5f8082840361026081121561455c575f80fd5b8335614567816136b4565b9250610240601f198201121561457b575f80fd5b506145846137bc565b614590602085016136c8565b815261459e604085016136c8565b60208201526145af606085016136c8565b60408201526145c0608085016136c8565b60608201526145d160a085016136c8565b60808201526145e260c085016136c8565b60a08201526145f360e085016136c8565b60c082015261460561010085016136c8565b60e082015261461761012085016136c8565b61010082015261462a61014085016136c8565b61012082015261463d61016085016136c8565b61014082015261465061018085016136c8565b6101608201526146636101a085016136c8565b6101808201526146766101c085016136c8565b6101a08201526146896101e085016136c8565b6101c082015261469c61020085016136c8565b6101e08201526146af61022085016136c8565b6102008201526146c261024085016136c8565b610220820152809150509250929050565b5f805f80608085870312156146e6575f80fd5b84356146f181613a66565b9350602085013561470181613a66565b9250604085013561471181613a66565b91506060850135613d6981613a66565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b7f6020830184614721565b5f60608284031215614771575f80fd5b6147796137df565b90508135614786816136b4565b815260208201356147968161386b565b602082015260408201356001600160401b038111156147b3575f80fd5b6147bf84828501613888565b60408301525092915050565b5f805f606084860312156147dd575f80fd5b83356147e881613831565b925060208401356001600160401b03811115614802575f80fd5b613ac286828701614761565b5f6060828403121561481e575f80fd5b6148266137df565b905081356001600160401b0381111561483d575f80fd5b61484984828501613888565b825250602082013561479681613ade565b5f805f6060848603121561486c575f80fd5b8335614877816136b4565b925060208401356001600160401b03811115614891575f80fd5b613ac28682870161480e565b6001600160401b0381168114612c02575f80fd5b5f805f606084860312156148c3575f80fd5b83356148ce8161489d565b925060208401356001600160401b038111156148e8575f80fd5b613ac2868287016140fb565b5f60208284031215614904575f80fd5b81356136ee81613ade565b5f8060408385031215614920575f80fd5b8235613dab81613831565b5f805f6060848603121561493d575f80fd5b833561494881613831565b925060208401356001600160401b03811115614962575f80fd5b613ac28682870161440c565b602081526149b560208201835160ff815116825260ff602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f602083015160a08084015261421a60c0840182614721565b5f80604083850312156149df575f80fd5b82356149ea816136b4565b915060208301356001600160401b03811115614a04575f80fd5b614402858286016138f9565b5f805f60608486031215614a22575f80fd5b8335614a2d81613831565b925060208401356001600160401b03811115614a47575f80fd5b613ac28682870161432d565b5f805f6101208486031215614a66575f80fd5b8335614a71816136b4565b9250614a80856020860161425f565b9150610100840135613ad381613a66565b60808101610b82828460ff815116825260ff602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f805f8060808587031215614ae7575f80fd5b8435614af2816136b4565b93506020850135614b0281613851565b925060408501356001600160401b03811115614b1c575f80fd5b613d5887828801613e9c565b5f805f60608486031215614b3a575f80fd5b8335614b45816136b4565b92506020840135614b558161386b565b915060408401356001600160401b03811115614b6f575f80fd5b613fb286828701613c55565b5f8060408385031215614b8c575f80fd5b8235613dab8161489d565b5f805f60608486031215614ba9575f80fd5b8335614bb4816136b4565b9250602084013561424f81613851565b5f82601f830112614bd3575f80fd5b81356001600160401b03811115614bec57614bec6136f5565b8060051b614bfc60208201613801565b91825260208185018101929081019086841115614c17575f80fd5b6020860192505b83831015614c42578235614c31816136b4565b825260209283019290910190614c1e565b9695505050505050565b5f6101008284031215614c5d575f80fd5b614c65613776565b9050614c7082613ff5565b8152614c7e60208301613ff5565b6020820152614c8f60408301613ff5565b6040820152614ca060608301613a74565b6060820152614cb160808301613a74565b6080820152614cc260a083016136c8565b60a0820152614cd360c083016136c8565b60c082015260e08201356001600160401b03811115614cf0575f80fd5b6141dd84828501614bc4565b5f805f60608486031215614d0e575f80fd5b8335614d19816136b4565b925060208401356001600160401b03811115614d33575f80fd5b613ac286828701614c4c565b5f8060408385031215614d50575f80fd5b8235614d5b816136b4565b915060208301356001600160401b03811115614d75575f80fd5b61440285828601613b5d565b5f8060408385031215614d92575f80fd5b8235614d9d816136b4565b915060208301356001600160401b03811115614db7575f80fd5b6144028582860161480e565b5f805f60608486031215614dd5575f80fd5b8335614de081613a66565b9250602084013561424f81613a66565b5f8060408385031215614e01575f80fd5b8235614e0c81613831565b915060208301356001600160401b03811115614e26575f80fd5b61440285828601614761565b60ff1981168114612c02575f80fd5b5f8060408385031215614e52575f80fd5b8235614e5d81613a66565b91506020830135613dbb81614e32565b5f8060408385031215614e7e575f80fd5b8235614e89816136b4565b915060208301356001600160401b03811115614ea3575f80fd5b6144028582860161401c565b5f8060408385031215614ec0575f80fd5b8235614ecb816136b4565b915060208301356001600160401b03811115614ee5575f80fd5b61440285828601614c4c565b60208152614f0b6020820183516001600160601b03169052565b5f6020830151614f2660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e084015261503d610220840182614721565b90506101e0840151601f198483030161020085015261505c8282614721565b95945050505050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516150e060a0840182615065565b5060a083015160e08084015261421a610100840182614721565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261421a60c0840182614721565b5f6101c08201905061516b828451615065565b602083015161517d6040840182615065565b5060408301516151906080840182615065565b5060608301516151a360c0840182615065565b5060808301516151b7610100840182615065565b5060a08301516151cb610140840182615065565b5060c083015161284a610180840182615065565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f604083015161521f606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261525c610100840182614721565b905060c0840151601f198483030160e085015261505c8282614721565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261421a60a0840182614721565b5f602082840312156152d5575f80fd5b5051919050565b602081526152f66020820183516001600160601b03169052565b5f602083015161531160408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152615361610120840182614721565b905060c0840151601f198483030160e085015261537e8282614721565b91505060e0840151601f198483030161010085015261505c8282614721565b5f602082840312156153ad575f80fd5b81516136ee81613fe8565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b036040840151166040830152606083015115156060830152608083015161540f608084018215159052565b5060a083015161542360a084018215159052565b5060c083015161284a60c084018215159052565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f602083015161547b60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526154e3610120840182614721565b905060e0840151601f198483030161010085015261505c8282614721565b6020815261551b6020820183516001600160a01b03169052565b5f602083015161553660408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526155c0610160840182614721565b9050610120840151601f198483030161014085015261505c8282614721565b81516001600160601b031681526102408101602083015161560b60208401826001600160601b03169052565b50604083015161562660408401826001600160601b03169052565b50606083015161564160608401826001600160601b03169052565b50608083015161565c60808401826001600160601b03169052565b5060a083015161567760a08401826001600160601b03169052565b5060c083015161569260c08401826001600160601b03169052565b5060e08301516156ad60e08401826001600160601b03169052565b506101008301516156ca6101008401826001600160601b03169052565b506101208301516156e76101208401826001600160601b03169052565b506101408301516157046101408401826001600160601b03169052565b506101608301516157216101608401826001600160601b03169052565b5061018083015161573e6101808401826001600160601b03169052565b506101a083015161575b6101a08401826001600160601b03169052565b506101c08301516157786101c08401826001600160601b03169052565b506101e08301516157956101e08401826001600160601b03169052565b506102008301516157b26102008401826001600160601b03169052565b5061022083015161284a6102208401826001600160601b03169052565b600181811c908216806157e357607f821691505b60208210810361580157634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f604083015160608084015261421a6080840182614721565b602081525f8251606060208401526158606080840182614721565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061505c8282614721565b5f602082840312156158a3575f80fd5b81516136ee81613ade565b5f8151808452602084019350602083015f5b828110156158e75781516001600160601b03168652602095860195909101906001016158c0565b5093949350505050565b602081528151151560208201526020820151151560408201525f604083015161591e606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101008084015261421a6101208401826158ae565b5f808585111561598f575f80fd5b8386111561599b575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561284a576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f821115610a8d57805f5260205f20601f840160051c81016020851015615a425750805b601f840160051c820191505b81811015611553575f8155600101615a4e565b81516001600160401b03811115615a7a57615a7a6136f5565b615a8e81615a8884546157cf565b84615a1d565b6020601f821160018114615ac0575f8315615aa95750848201515b5f19600385901b1c1916600184901b178455611553565b5f84815260208120601f198516915b82811015615aef5787850151825560209485019460019092019101615acf565b5084821015615b0c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215615b2b575f80fd5b81516136ee81613a66565b5f60208284031215615b46575f80fd5b81516136ee81614e32565b5f60208284031215615b61575f80fd5b81516136ee8161386b565b6001600160601b03948516815292841660208401529216604082015264ffffffffff909116606082015260800190565b5f60018201615bb957634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f60208284031215615bd0575f80fd5b81516136ee8161489d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615c02575f80fd5b8251615c0d81613fe8565b6020840151909250613dbb81614000565b5f60208284031215615c2e575f80fd5b81516136ee816136b4565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122097fe7f511433f813a19cfa1e79a280e383cf07e9a342e4ded63723203de7cb6464736f6c634300081a0033",
2523
3348
  "linkReferences": {
2524
- "contracts/type/ClaimId.sol": {
2525
- "ClaimIdLib": [
3349
+ "contracts/type/Amount.sol": {
3350
+ "AmountLib": [
3351
+ {
3352
+ "length": 20,
3353
+ "start": 12914
3354
+ },
2526
3355
  {
2527
3356
  "length": 20,
2528
- "start": 7428
3357
+ "start": 13206
2529
3358
  }
2530
3359
  ]
2531
3360
  },
2532
- "contracts/type/DistributorType.sol": {
2533
- "DistributorTypeLib": [
3361
+ "contracts/type/Blocknumber.sol": {
3362
+ "BlocknumberLib": [
3363
+ {
3364
+ "length": 20,
3365
+ "start": 8696
3366
+ },
3367
+ {
3368
+ "length": 20,
3369
+ "start": 9337
3370
+ },
3371
+ {
3372
+ "length": 20,
3373
+ "start": 10040
3374
+ },
3375
+ {
3376
+ "length": 20,
3377
+ "start": 10552
3378
+ },
3379
+ {
3380
+ "length": 20,
3381
+ "start": 10896
3382
+ },
3383
+ {
3384
+ "length": 20,
3385
+ "start": 11373
3386
+ },
3387
+ {
3388
+ "length": 20,
3389
+ "start": 11633
3390
+ },
2534
3391
  {
2535
3392
  "length": 20,
2536
- "start": 2538
3393
+ "start": 11977
2537
3394
  },
2538
3395
  {
2539
3396
  "length": 20,
2540
- "start": 3143
3397
+ "start": 12321
2541
3398
  },
2542
3399
  {
2543
3400
  "length": 20,
2544
- "start": 4319
3401
+ "start": 13009
2545
3402
  }
2546
3403
  ]
2547
3404
  },
2548
- "contracts/type/Key32.sol": {
2549
- "Key32Lib": [
3405
+ "contracts/type/ClaimId.sol": {
3406
+ "ClaimIdLib": [
3407
+ {
3408
+ "length": 20,
3409
+ "start": 9951
3410
+ }
3411
+ ]
3412
+ },
3413
+ "contracts/type/DistributorType.sol": {
3414
+ "DistributorTypeLib": [
2550
3415
  {
2551
3416
  "length": 20,
2552
- "start": 5680
3417
+ "start": 3623
2553
3418
  },
2554
3419
  {
2555
3420
  "length": 20,
2556
- "start": 6791
3421
+ "start": 4988
2557
3422
  },
2558
3423
  {
2559
3424
  "length": 20,
2560
- "start": 6907
3425
+ "start": 6137
3426
+ }
3427
+ ]
3428
+ },
3429
+ "contracts/type/Key32.sol": {
3430
+ "Key32Lib": [
3431
+ {
3432
+ "length": 20,
3433
+ "start": 6985
2561
3434
  },
2562
3435
  {
2563
3436
  "length": 20,
2564
- "start": 7089
3437
+ "start": 7616
2565
3438
  },
2566
3439
  {
2567
3440
  "length": 20,
2568
- "start": 7205
3441
+ "start": 7730
2569
3442
  },
2570
3443
  {
2571
3444
  "length": 20,
2572
- "start": 7487
3445
+ "start": 8414
2573
3446
  },
2574
3447
  {
2575
3448
  "length": 20,
2576
- "start": 8161
3449
+ "start": 8528
2577
3450
  },
2578
3451
  {
2579
3452
  "length": 20,
2580
- "start": 8277
3453
+ "start": 8865
2581
3454
  },
2582
3455
  {
2583
3456
  "length": 20,
2584
- "start": 8932
3457
+ "start": 9642
2585
3458
  },
2586
3459
  {
2587
3460
  "length": 20,
2588
- "start": 9048
3461
+ "start": 9756
2589
3462
  }
2590
3463
  ]
2591
3464
  },
@@ -2593,7 +3466,7 @@
2593
3466
  "NftIdLib": [
2594
3467
  {
2595
3468
  "length": 20,
2596
- "start": 6220
3469
+ "start": 7485
2597
3470
  }
2598
3471
  ]
2599
3472
  },
@@ -2601,7 +3474,7 @@
2601
3474
  "ObjectTypeLib": [
2602
3475
  {
2603
3476
  "length": 20,
2604
- "start": 7608
3477
+ "start": 8984
2605
3478
  }
2606
3479
  ]
2607
3480
  },
@@ -2609,7 +3482,7 @@
2609
3482
  "PayoutIdLib": [
2610
3483
  {
2611
3484
  "length": 20,
2612
- "start": 9210
3485
+ "start": 7939
2613
3486
  }
2614
3487
  ]
2615
3488
  },
@@ -2617,15 +3490,35 @@
2617
3490
  "ReferralLib": [
2618
3491
  {
2619
3492
  "length": 20,
2620
- "start": 3303
3493
+ "start": 3465
3494
+ },
3495
+ {
3496
+ "length": 20,
3497
+ "start": 5919
3498
+ },
3499
+ {
3500
+ "length": 20,
3501
+ "start": 6254
3502
+ }
3503
+ ]
3504
+ },
3505
+ "contracts/type/RequestId.sol": {
3506
+ "RequestIdLib": [
3507
+ {
3508
+ "length": 20,
3509
+ "start": 3102
3510
+ },
3511
+ {
3512
+ "length": 20,
3513
+ "start": 4580
2621
3514
  },
2622
3515
  {
2623
3516
  "length": 20,
2624
- "start": 4838
3517
+ "start": 6406
2625
3518
  },
2626
3519
  {
2627
3520
  "length": 20,
2628
- "start": 5425
3521
+ "start": 10400
2629
3522
  }
2630
3523
  ]
2631
3524
  },
@@ -2633,15 +3526,15 @@
2633
3526
  "RiskIdLib": [
2634
3527
  {
2635
3528
  "length": 20,
2636
- "start": 2378
3529
+ "start": 4367
2637
3530
  },
2638
3531
  {
2639
3532
  "length": 20,
2640
- "start": 3639
3533
+ "start": 4847
2641
3534
  },
2642
3535
  {
2643
3536
  "length": 20,
2644
- "start": 4437
3537
+ "start": 6751
2645
3538
  }
2646
3539
  ]
2647
3540
  },
@@ -2649,45 +3542,93 @@
2649
3542
  "StateIdLib": [
2650
3543
  {
2651
3544
  "length": 20,
2652
- "start": 2736
3545
+ "start": 3281
3546
+ },
3547
+ {
3548
+ "length": 20,
3549
+ "start": 3875
3550
+ },
3551
+ {
3552
+ "length": 20,
3553
+ "start": 6504
3554
+ },
3555
+ {
3556
+ "length": 20,
3557
+ "start": 7999
3558
+ },
3559
+ {
3560
+ "length": 20,
3561
+ "start": 8187
3562
+ },
3563
+ {
3564
+ "length": 20,
3565
+ "start": 9157
3566
+ }
3567
+ ]
3568
+ }
3569
+ },
3570
+ "deployedLinkReferences": {
3571
+ "contracts/type/Amount.sol": {
3572
+ "AmountLib": [
3573
+ {
3574
+ "length": 20,
3575
+ "start": 12882
3576
+ },
3577
+ {
3578
+ "length": 20,
3579
+ "start": 13174
3580
+ }
3581
+ ]
3582
+ },
3583
+ "contracts/type/Blocknumber.sol": {
3584
+ "BlocknumberLib": [
3585
+ {
3586
+ "length": 20,
3587
+ "start": 8664
3588
+ },
3589
+ {
3590
+ "length": 20,
3591
+ "start": 9305
3592
+ },
3593
+ {
3594
+ "length": 20,
3595
+ "start": 10008
2653
3596
  },
2654
3597
  {
2655
3598
  "length": 20,
2656
- "start": 4612
3599
+ "start": 10520
2657
3600
  },
2658
3601
  {
2659
3602
  "length": 20,
2660
- "start": 4953
3603
+ "start": 10864
2661
3604
  },
2662
3605
  {
2663
3606
  "length": 20,
2664
- "start": 6278
3607
+ "start": 11341
2665
3608
  },
2666
3609
  {
2667
3610
  "length": 20,
2668
- "start": 6455
3611
+ "start": 11601
2669
3612
  },
2670
3613
  {
2671
3614
  "length": 20,
2672
- "start": 7784
3615
+ "start": 11945
2673
3616
  },
2674
3617
  {
2675
3618
  "length": 20,
2676
- "start": 8456
3619
+ "start": 12289
2677
3620
  },
2678
3621
  {
2679
3622
  "length": 20,
2680
- "start": 8633
3623
+ "start": 12977
2681
3624
  }
2682
3625
  ]
2683
- }
2684
- },
2685
- "deployedLinkReferences": {
3626
+ },
2686
3627
  "contracts/type/ClaimId.sol": {
2687
3628
  "ClaimIdLib": [
2688
3629
  {
2689
3630
  "length": 20,
2690
- "start": 7396
3631
+ "start": 9919
2691
3632
  }
2692
3633
  ]
2693
3634
  },
@@ -2695,15 +3636,15 @@
2695
3636
  "DistributorTypeLib": [
2696
3637
  {
2697
3638
  "length": 20,
2698
- "start": 2506
3639
+ "start": 3591
2699
3640
  },
2700
3641
  {
2701
3642
  "length": 20,
2702
- "start": 3111
3643
+ "start": 4956
2703
3644
  },
2704
3645
  {
2705
3646
  "length": 20,
2706
- "start": 4287
3647
+ "start": 6105
2707
3648
  }
2708
3649
  ]
2709
3650
  },
@@ -2711,43 +3652,35 @@
2711
3652
  "Key32Lib": [
2712
3653
  {
2713
3654
  "length": 20,
2714
- "start": 5648
2715
- },
2716
- {
2717
- "length": 20,
2718
- "start": 6759
3655
+ "start": 6953
2719
3656
  },
2720
3657
  {
2721
3658
  "length": 20,
2722
- "start": 6875
3659
+ "start": 7584
2723
3660
  },
2724
3661
  {
2725
3662
  "length": 20,
2726
- "start": 7057
3663
+ "start": 7698
2727
3664
  },
2728
3665
  {
2729
3666
  "length": 20,
2730
- "start": 7173
3667
+ "start": 8382
2731
3668
  },
2732
3669
  {
2733
3670
  "length": 20,
2734
- "start": 7455
3671
+ "start": 8496
2735
3672
  },
2736
3673
  {
2737
3674
  "length": 20,
2738
- "start": 8129
3675
+ "start": 8833
2739
3676
  },
2740
3677
  {
2741
3678
  "length": 20,
2742
- "start": 8245
3679
+ "start": 9610
2743
3680
  },
2744
3681
  {
2745
3682
  "length": 20,
2746
- "start": 8900
2747
- },
2748
- {
2749
- "length": 20,
2750
- "start": 9016
3683
+ "start": 9724
2751
3684
  }
2752
3685
  ]
2753
3686
  },
@@ -2755,7 +3688,7 @@
2755
3688
  "NftIdLib": [
2756
3689
  {
2757
3690
  "length": 20,
2758
- "start": 6188
3691
+ "start": 7453
2759
3692
  }
2760
3693
  ]
2761
3694
  },
@@ -2763,7 +3696,7 @@
2763
3696
  "ObjectTypeLib": [
2764
3697
  {
2765
3698
  "length": 20,
2766
- "start": 7576
3699
+ "start": 8952
2767
3700
  }
2768
3701
  ]
2769
3702
  },
@@ -2771,7 +3704,7 @@
2771
3704
  "PayoutIdLib": [
2772
3705
  {
2773
3706
  "length": 20,
2774
- "start": 9178
3707
+ "start": 7907
2775
3708
  }
2776
3709
  ]
2777
3710
  },
@@ -2779,67 +3712,79 @@
2779
3712
  "ReferralLib": [
2780
3713
  {
2781
3714
  "length": 20,
2782
- "start": 3271
3715
+ "start": 3433
2783
3716
  },
2784
3717
  {
2785
3718
  "length": 20,
2786
- "start": 4806
3719
+ "start": 5887
2787
3720
  },
2788
3721
  {
2789
3722
  "length": 20,
2790
- "start": 5393
3723
+ "start": 6222
2791
3724
  }
2792
3725
  ]
2793
3726
  },
2794
- "contracts/type/RiskId.sol": {
2795
- "RiskIdLib": [
3727
+ "contracts/type/RequestId.sol": {
3728
+ "RequestIdLib": [
3729
+ {
3730
+ "length": 20,
3731
+ "start": 3070
3732
+ },
2796
3733
  {
2797
3734
  "length": 20,
2798
- "start": 2346
3735
+ "start": 4548
2799
3736
  },
2800
3737
  {
2801
3738
  "length": 20,
2802
- "start": 3607
3739
+ "start": 6374
2803
3740
  },
2804
3741
  {
2805
3742
  "length": 20,
2806
- "start": 4405
3743
+ "start": 10368
2807
3744
  }
2808
3745
  ]
2809
3746
  },
2810
- "contracts/type/StateId.sol": {
2811
- "StateIdLib": [
3747
+ "contracts/type/RiskId.sol": {
3748
+ "RiskIdLib": [
2812
3749
  {
2813
3750
  "length": 20,
2814
- "start": 2704
3751
+ "start": 4335
2815
3752
  },
2816
3753
  {
2817
3754
  "length": 20,
2818
- "start": 4580
3755
+ "start": 4815
2819
3756
  },
2820
3757
  {
2821
3758
  "length": 20,
2822
- "start": 4921
3759
+ "start": 6719
3760
+ }
3761
+ ]
3762
+ },
3763
+ "contracts/type/StateId.sol": {
3764
+ "StateIdLib": [
3765
+ {
3766
+ "length": 20,
3767
+ "start": 3249
2823
3768
  },
2824
3769
  {
2825
3770
  "length": 20,
2826
- "start": 6246
3771
+ "start": 3843
2827
3772
  },
2828
3773
  {
2829
3774
  "length": 20,
2830
- "start": 6423
3775
+ "start": 6472
2831
3776
  },
2832
3777
  {
2833
3778
  "length": 20,
2834
- "start": 7752
3779
+ "start": 7967
2835
3780
  },
2836
3781
  {
2837
3782
  "length": 20,
2838
- "start": 8424
3783
+ "start": 8155
2839
3784
  },
2840
3785
  {
2841
3786
  "length": 20,
2842
- "start": 8601
3787
+ "start": 9125
2843
3788
  }
2844
3789
  ]
2845
3790
  }