@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff3a8a0-504

Sign up to get free protection for your applications and to get access to all the features.
Files changed (592) hide show
  1. package/README.md +139 -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/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +59 -205
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +604 -92
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +532 -56
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +657 -257
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2284 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +837 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1772 -822
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +552 -193
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +210 -94
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1705 -1498
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  109. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  111. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  112. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +550 -400
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +272 -102
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +384 -86
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +233 -423
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +749 -377
  143. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  144. package/artifacts/contracts/pool/Pool.sol/Pool.json +247 -629
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +954 -743
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +271 -113
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +370 -252
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +231 -89
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +491 -341
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +253 -115
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +454 -69
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +217 -75
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +380 -225
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  174. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +289 -66
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +507 -384
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +237 -123
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.json +261 -333
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +235 -109
  185. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  186. package/artifacts/contracts/product/Product.sol/Product.json +428 -509
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +478 -61
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +280 -127
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  201. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/Registry.sol/Registry.json +920 -125
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +332 -245
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +208 -92
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +361 -125
  221. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  222. package/artifacts/contracts/shared/Component.sol/Component.json +128 -296
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1076 -156
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +129 -135
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
  252. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  254. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +45 -55
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -90
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +615 -6
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2576 -128
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
  280. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +2914 -226
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +298 -74
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +754 -207
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +218 -84
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  296. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +92 -15
  306. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.json +119 -58
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +66 -4
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  342. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  348. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  353. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  359. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  360. package/contracts/accounting/AccountingService.sol +274 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +47 -0
  363. package/contracts/authorization/AccessAdmin.sol +780 -0
  364. package/contracts/authorization/AccessAdminLib.sol +396 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +169 -0
  367. package/contracts/authorization/IAccess.sol +67 -0
  368. package/contracts/authorization/IAccessAdmin.sol +144 -0
  369. package/contracts/authorization/IAuthorization.sol +26 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  374. package/contracts/distribution/Distribution.sol +137 -175
  375. package/contracts/distribution/DistributionService.sol +314 -215
  376. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  377. package/contracts/distribution/IDistributionComponent.sol +23 -49
  378. package/contracts/distribution/IDistributionService.sol +61 -33
  379. package/contracts/examples/fire/DamageLevel.sol +59 -0
  380. package/contracts/examples/fire/FirePool.sol +86 -0
  381. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  382. package/contracts/examples/fire/FireProduct.sol +433 -0
  383. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  384. package/contracts/examples/fire/FireUSD.sol +26 -0
  385. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  386. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  388. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  389. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  390. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BaseStore.sol +93 -0
  393. package/contracts/instance/BundleSet.sol +130 -0
  394. package/contracts/instance/IBaseStore.sol +37 -0
  395. package/contracts/instance/IInstance.sol +128 -49
  396. package/contracts/instance/IInstanceService.sol +83 -37
  397. package/contracts/instance/Instance.sol +254 -132
  398. package/contracts/instance/InstanceAdmin.sol +379 -0
  399. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  400. package/contracts/instance/InstanceReader.sol +489 -243
  401. package/contracts/instance/InstanceService.sol +418 -212
  402. package/contracts/instance/InstanceServiceManager.sol +14 -29
  403. package/contracts/instance/InstanceStore.sol +228 -104
  404. package/contracts/instance/ProductStore.sol +303 -0
  405. package/contracts/instance/RiskSet.sol +126 -0
  406. package/contracts/instance/TargetNames.sol +10 -0
  407. package/contracts/instance/base/BalanceStore.sol +121 -0
  408. package/contracts/instance/base/Cloneable.sol +2 -25
  409. package/contracts/instance/base/ObjectCounter.sol +20 -0
  410. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  411. package/contracts/instance/base/ObjectSet.sol +77 -0
  412. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  413. package/contracts/instance/module/IBundle.sol +6 -8
  414. package/contracts/instance/module/IComponents.sol +40 -19
  415. package/contracts/instance/module/IDistribution.sol +21 -9
  416. package/contracts/instance/module/IPolicy.sol +57 -30
  417. package/contracts/instance/module/IRisk.sol +5 -0
  418. package/contracts/mock/Dip.sol +26 -0
  419. package/contracts/oracle/BasicOracle.sol +45 -0
  420. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  421. package/contracts/oracle/IOracle.sol +41 -0
  422. package/contracts/oracle/IOracleComponent.sol +33 -0
  423. package/contracts/oracle/IOracleService.sol +66 -0
  424. package/contracts/oracle/Oracle.sol +154 -0
  425. package/contracts/oracle/OracleService.sol +310 -0
  426. package/contracts/oracle/OracleServiceManager.sol +39 -0
  427. package/contracts/pool/BasicPool.sol +162 -0
  428. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  429. package/contracts/pool/BundleService.sol +250 -246
  430. package/contracts/pool/BundleServiceManager.sol +13 -25
  431. package/contracts/pool/IBundleService.sol +47 -49
  432. package/contracts/pool/IPoolComponent.sol +23 -75
  433. package/contracts/pool/IPoolService.sol +112 -56
  434. package/contracts/pool/Pool.sol +200 -169
  435. package/contracts/pool/PoolLib.sol +341 -0
  436. package/contracts/pool/PoolService.sol +475 -264
  437. package/contracts/pool/PoolServiceManager.sol +12 -24
  438. package/contracts/product/ApplicationService.sol +223 -82
  439. package/contracts/product/ApplicationServiceManager.sol +12 -9
  440. package/contracts/product/BasicProduct.sol +49 -0
  441. package/contracts/product/BasicProductAuthorization.sol +63 -0
  442. package/contracts/product/ClaimService.sol +398 -214
  443. package/contracts/product/ClaimServiceManager.sol +12 -9
  444. package/contracts/product/IApplicationService.sol +30 -4
  445. package/contracts/product/IClaimService.sol +52 -9
  446. package/contracts/product/IPolicyService.sol +62 -40
  447. package/contracts/product/IPricingService.sol +14 -11
  448. package/contracts/product/IProductComponent.sol +31 -10
  449. package/contracts/product/IRiskService.sol +48 -0
  450. package/contracts/product/PolicyService.sol +505 -236
  451. package/contracts/product/PolicyServiceLib.sol +139 -0
  452. package/contracts/product/PolicyServiceManager.sol +12 -27
  453. package/contracts/product/PricingService.sol +133 -102
  454. package/contracts/product/PricingServiceManager.sol +12 -24
  455. package/contracts/product/Product.sol +267 -153
  456. package/contracts/product/RiskService.sol +189 -0
  457. package/contracts/product/RiskServiceManager.sol +39 -0
  458. package/contracts/registry/ChainNft.sol +72 -39
  459. package/contracts/registry/IRegistry.sol +100 -38
  460. package/contracts/registry/IRegistryService.sol +28 -35
  461. package/contracts/registry/IRelease.sol +29 -0
  462. package/contracts/registry/ITransferInterceptor.sol +1 -2
  463. package/contracts/registry/Registry.sol +453 -222
  464. package/contracts/registry/RegistryAdmin.sol +191 -0
  465. package/contracts/registry/RegistryAuthorization.sol +336 -0
  466. package/contracts/registry/RegistryService.sol +75 -138
  467. package/contracts/registry/RegistryServiceManager.sol +23 -30
  468. package/contracts/registry/ReleaseAdmin.sol +195 -0
  469. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  470. package/contracts/registry/ReleaseRegistry.sol +525 -0
  471. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  472. package/contracts/registry/TokenRegistry.sol +264 -63
  473. package/contracts/shared/Component.sol +126 -183
  474. package/contracts/shared/ComponentService.sol +640 -99
  475. package/contracts/shared/ComponentServiceManager.sol +38 -0
  476. package/contracts/shared/ContractLib.sol +312 -0
  477. package/contracts/shared/IComponent.sol +18 -50
  478. package/contracts/shared/IComponentService.sol +111 -0
  479. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  480. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  481. package/contracts/shared/INftOwnable.sol +5 -1
  482. package/contracts/shared/IPolicyHolder.sol +12 -17
  483. package/contracts/shared/IRegisterable.sol +22 -1
  484. package/contracts/shared/IService.sol +11 -6
  485. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  486. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  487. package/contracts/shared/Lifecycle.sol +88 -0
  488. package/contracts/shared/NftIdSet.sol +65 -0
  489. package/contracts/shared/NftOwnable.sol +35 -24
  490. package/contracts/shared/PolicyHolder.sol +19 -50
  491. package/contracts/shared/Registerable.sol +54 -23
  492. package/contracts/shared/RegistryLinked.sol +9 -14
  493. package/contracts/shared/Service.sol +36 -41
  494. package/contracts/shared/TokenHandler.sol +320 -13
  495. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  496. package/contracts/staking/IStaking.sol +358 -6
  497. package/contracts/staking/IStakingService.sol +98 -76
  498. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  499. package/contracts/staking/Staking.sol +761 -27
  500. package/contracts/staking/StakingLib.sol +195 -0
  501. package/contracts/staking/StakingManager.sol +27 -18
  502. package/contracts/staking/StakingReader.sol +171 -0
  503. package/contracts/staking/StakingService.sol +175 -58
  504. package/contracts/staking/StakingServiceManager.sol +13 -8
  505. package/contracts/staking/StakingStore.sol +1368 -0
  506. package/contracts/staking/TargetHandler.sol +132 -0
  507. package/contracts/staking/TargetManagerLib.sol +234 -0
  508. package/contracts/type/AddressSet.sol +1 -1
  509. package/contracts/type/Amount.sol +48 -3
  510. package/contracts/type/Blocknumber.sol +36 -13
  511. package/contracts/type/ChainId.sol +101 -0
  512. package/contracts/type/ClaimId.sol +6 -1
  513. package/contracts/type/Fee.sol +22 -21
  514. package/contracts/type/Key32.sol +2 -2
  515. package/contracts/type/Key32Set.sol +62 -0
  516. package/contracts/type/NftId.sol +21 -16
  517. package/contracts/type/NftIdSet.sol +1 -1
  518. package/contracts/type/ObjectType.sol +204 -63
  519. package/contracts/type/PayoutId.sol +10 -10
  520. package/contracts/type/Referral.sol +2 -1
  521. package/contracts/type/RequestId.sol +75 -0
  522. package/contracts/type/RiskId.sol +39 -7
  523. package/contracts/type/RoleId.sol +122 -74
  524. package/contracts/type/Seconds.sol +67 -1
  525. package/contracts/type/Selector.sol +107 -0
  526. package/contracts/type/StateId.sol +41 -2
  527. package/contracts/type/String.sol +65 -0
  528. package/contracts/type/Timestamp.sol +20 -9
  529. package/contracts/type/UFixed.sol +62 -125
  530. package/contracts/type/Version.sol +58 -7
  531. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  532. package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
  533. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  534. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  535. package/package.json +12 -8
  536. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  537. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  538. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  539. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  540. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  541. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  542. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  543. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  544. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  545. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  546. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  547. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  548. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  550. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  551. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  552. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  553. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  554. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  555. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  556. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  557. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  558. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  559. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  560. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  561. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  562. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  563. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -620
  564. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  565. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  566. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  567. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  568. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  569. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  570. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  571. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  572. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  573. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  574. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  575. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  576. package/contracts/instance/BundleManager.sol +0 -126
  577. package/contracts/instance/InstanceAccessManager.sol +0 -543
  578. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  579. package/contracts/instance/base/IKeyValueStore.sol +0 -53
  580. package/contracts/instance/base/KeyValueStore.sol +0 -169
  581. package/contracts/instance/base/Lifecycle.sol +0 -121
  582. package/contracts/instance/base/ObjectManager.sol +0 -82
  583. package/contracts/instance/module/IAccess.sol +0 -54
  584. package/contracts/instance/module/ISetup.sol +0 -33
  585. package/contracts/instance/module/ITreasury.sol +0 -23
  586. package/contracts/product/IProductService.sol +0 -40
  587. package/contracts/product/ProductService.sol +0 -210
  588. package/contracts/product/ProductServiceManager.sol +0 -54
  589. package/contracts/registry/RegistryAccessManager.sol +0 -207
  590. package/contracts/registry/ReleaseManager.sol +0 -360
  591. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  592. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -44,22 +44,23 @@
44
44
  {
45
45
  "inputs": [
46
46
  {
47
- "internalType": "ObjectType",
48
- "name": "objectType",
49
- "type": "uint8"
50
- },
51
- {
52
- "internalType": "StateId",
53
- "name": "fromStateId",
54
- "type": "uint8"
55
- },
47
+ "internalType": "NftId",
48
+ "name": "targetNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBalanceStoreTargetAlreadyRegistered",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
56
57
  {
57
- "internalType": "StateId",
58
- "name": "toStateId",
59
- "type": "uint8"
58
+ "internalType": "NftId",
59
+ "name": "targetNftId",
60
+ "type": "uint96"
60
61
  }
61
62
  ],
62
- "name": "ErrorInvalidStateTransition",
63
+ "name": "ErrorBalanceStoreTargetNotRegistered",
63
64
  "type": "error"
64
65
  },
65
66
  {
@@ -75,7 +76,18 @@
75
76
  "type": "uint8"
76
77
  }
77
78
  ],
78
- "name": "ErrorKeyValueStoreAlreadyCreated",
79
+ "name": "ErrorBaseStoreAlreadyCreated",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "ObjectType",
86
+ "name": "objectType",
87
+ "type": "uint8"
88
+ }
89
+ ],
90
+ "name": "ErrorBaseStoreNoLifecycle",
79
91
  "type": "error"
80
92
  },
81
93
  {
@@ -86,7 +98,7 @@
86
98
  "type": "bytes32"
87
99
  }
88
100
  ],
89
- "name": "ErrorKeyValueStoreNotExisting",
101
+ "name": "ErrorBaseStoreNotExisting",
90
102
  "type": "error"
91
103
  },
92
104
  {
@@ -97,7 +109,7 @@
97
109
  "type": "bytes32"
98
110
  }
99
111
  ],
100
- "name": "ErrorKeyValueStoreStateZero",
112
+ "name": "ErrorBaseStoreStateZero",
101
113
  "type": "error"
102
114
  },
103
115
  {
@@ -108,15 +120,67 @@
108
120
  "type": "uint8"
109
121
  }
110
122
  ],
111
- "name": "ErrorKeyValueStoreTypeUndefined",
123
+ "name": "ErrorBaseStoreTypeUndefined",
112
124
  "type": "error"
113
125
  },
114
126
  {
115
127
  "inputs": [
116
128
  {
117
- "internalType": "NftId",
118
- "name": "nftId",
119
- "type": "uint96"
129
+ "internalType": "address",
130
+ "name": "contractAddress",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "internalType": "ObjectType",
135
+ "name": "objectType",
136
+ "type": "uint8"
137
+ },
138
+ {
139
+ "internalType": "StateId",
140
+ "name": "actual",
141
+ "type": "uint8"
142
+ },
143
+ {
144
+ "internalType": "StateId",
145
+ "name": "required",
146
+ "type": "uint8"
147
+ }
148
+ ],
149
+ "name": "ErrorFromStateMissmatch",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "contractAddress",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "internalType": "ObjectType",
161
+ "name": "objectType",
162
+ "type": "uint8"
163
+ },
164
+ {
165
+ "internalType": "StateId",
166
+ "name": "fromStateId",
167
+ "type": "uint8"
168
+ },
169
+ {
170
+ "internalType": "StateId",
171
+ "name": "toStateId",
172
+ "type": "uint8"
173
+ }
174
+ ],
175
+ "name": "ErrorInvalidStateTransition",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "contractAddress",
183
+ "type": "address"
120
184
  },
121
185
  {
122
186
  "internalType": "ObjectType",
@@ -168,36 +232,61 @@
168
232
  "inputs": [
169
233
  {
170
234
  "indexed": false,
171
- "internalType": "ObjectType",
172
- "name": "objectType",
173
- "type": "uint8"
235
+ "internalType": "NftId",
236
+ "name": "targetNftId",
237
+ "type": "uint96"
174
238
  },
175
239
  {
176
240
  "indexed": false,
177
- "internalType": "KeyId",
178
- "name": "keyId",
179
- "type": "bytes31"
241
+ "internalType": "Amount",
242
+ "name": "addedAmount",
243
+ "type": "uint96"
180
244
  },
181
245
  {
182
246
  "indexed": false,
183
- "internalType": "StateId",
184
- "name": "state",
185
- "type": "uint8"
247
+ "internalType": "Amount",
248
+ "name": "newBalance",
249
+ "type": "uint96"
186
250
  },
187
251
  {
188
252
  "indexed": false,
189
- "internalType": "address",
190
- "name": "createdBy",
191
- "type": "address"
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"
192
269
  },
193
270
  {
194
271
  "indexed": false,
195
- "internalType": "address",
196
- "name": "txOrigin",
197
- "type": "address"
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"
198
287
  }
199
288
  ],
200
- "name": "LogInfoCreated",
289
+ "name": "LogBalanceStoreBalanceIncreased",
201
290
  "type": "event"
202
291
  },
203
292
  {
@@ -205,42 +294,61 @@
205
294
  "inputs": [
206
295
  {
207
296
  "indexed": false,
208
- "internalType": "ObjectType",
209
- "name": "objectType",
210
- "type": "uint8"
297
+ "internalType": "NftId",
298
+ "name": "targetNftId",
299
+ "type": "uint96"
211
300
  },
212
301
  {
213
302
  "indexed": false,
214
- "internalType": "KeyId",
215
- "name": "keyId",
216
- "type": "bytes31"
303
+ "internalType": "Amount",
304
+ "name": "addedAmount",
305
+ "type": "uint96"
217
306
  },
218
307
  {
219
308
  "indexed": false,
220
- "internalType": "StateId",
221
- "name": "state",
222
- "type": "uint8"
309
+ "internalType": "Amount",
310
+ "name": "newBalance",
311
+ "type": "uint96"
223
312
  },
224
313
  {
225
314
  "indexed": false,
226
- "internalType": "address",
227
- "name": "updatedBy",
228
- "type": "address"
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"
229
331
  },
230
332
  {
231
333
  "indexed": false,
232
- "internalType": "address",
233
- "name": "txOrigin",
234
- "type": "address"
334
+ "internalType": "Amount",
335
+ "name": "addedAmount",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "Amount",
341
+ "name": "newBalance",
342
+ "type": "uint96"
235
343
  },
236
344
  {
237
345
  "indexed": false,
238
346
  "internalType": "Blocknumber",
239
347
  "name": "lastUpdatedIn",
240
- "type": "uint32"
348
+ "type": "uint40"
241
349
  }
242
350
  ],
243
- "name": "LogInfoUpdated",
351
+ "name": "LogBalanceStoreFeesIncreased",
244
352
  "type": "event"
245
353
  },
246
354
  {
@@ -248,189 +356,633 @@
248
356
  "inputs": [
249
357
  {
250
358
  "indexed": false,
251
- "internalType": "ObjectType",
252
- "name": "objectType",
253
- "type": "uint8"
359
+ "internalType": "NftId",
360
+ "name": "targetNftId",
361
+ "type": "uint96"
254
362
  },
255
363
  {
256
364
  "indexed": false,
257
- "internalType": "KeyId",
258
- "name": "keyId",
259
- "type": "bytes31"
365
+ "internalType": "Amount",
366
+ "name": "addedAmount",
367
+ "type": "uint96"
260
368
  },
261
369
  {
262
370
  "indexed": false,
263
- "internalType": "StateId",
264
- "name": "stateOld",
265
- "type": "uint8"
371
+ "internalType": "Amount",
372
+ "name": "newBalance",
373
+ "type": "uint96"
266
374
  },
267
375
  {
268
376
  "indexed": false,
269
- "internalType": "StateId",
270
- "name": "stateNew",
271
- "type": "uint8"
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"
272
393
  },
273
394
  {
274
395
  "indexed": false,
275
- "internalType": "address",
276
- "name": "updatedBy",
277
- "type": "address"
396
+ "internalType": "Amount",
397
+ "name": "addedAmount",
398
+ "type": "uint96"
278
399
  },
279
400
  {
280
401
  "indexed": false,
281
- "internalType": "address",
282
- "name": "txOrigin",
283
- "type": "address"
402
+ "internalType": "Amount",
403
+ "name": "newBalance",
404
+ "type": "uint96"
284
405
  },
285
406
  {
286
407
  "indexed": false,
287
408
  "internalType": "Blocknumber",
288
409
  "name": "lastUpdatedIn",
289
- "type": "uint32"
410
+ "type": "uint40"
290
411
  }
291
412
  ],
292
- "name": "LogStateUpdated",
413
+ "name": "LogBalanceStoreLockedIncreased",
293
414
  "type": "event"
294
415
  },
295
416
  {
296
- "inputs": [],
297
- "name": "authority",
298
- "outputs": [
417
+ "anonymous": false,
418
+ "inputs": [
299
419
  {
300
- "internalType": "address",
301
- "name": "",
302
- "type": "address"
420
+ "indexed": false,
421
+ "internalType": "NftId",
422
+ "name": "targetNftId",
423
+ "type": "uint96"
303
424
  }
304
425
  ],
305
- "stateMutability": "view",
306
- "type": "function"
426
+ "name": "LogBalanceStoreTargetRegistered",
427
+ "type": "event"
307
428
  },
308
429
  {
430
+ "anonymous": false,
309
431
  "inputs": [
310
432
  {
311
- "internalType": "ObjectType",
312
- "name": "objectType",
313
- "type": "uint8"
433
+ "indexed": false,
434
+ "internalType": "NftId",
435
+ "name": "bundleNftId",
436
+ "type": "uint96"
314
437
  },
315
438
  {
439
+ "indexed": false,
316
440
  "internalType": "StateId",
317
- "name": "fromId",
441
+ "name": "state",
318
442
  "type": "uint8"
319
443
  },
320
444
  {
321
- "internalType": "StateId",
322
- "name": "toId",
323
- "type": "uint8"
445
+ "indexed": false,
446
+ "internalType": "address",
447
+ "name": "createdBy",
448
+ "type": "address"
449
+ },
450
+ {
451
+ "indexed": false,
452
+ "internalType": "address",
453
+ "name": "txOrigin",
454
+ "type": "address"
324
455
  }
325
456
  ],
326
- "name": "checkTransition",
327
- "outputs": [],
328
- "stateMutability": "view",
329
- "type": "function"
457
+ "name": "LogProductStoreBundleInfoCreated",
458
+ "type": "event"
330
459
  },
331
460
  {
461
+ "anonymous": false,
332
462
  "inputs": [
333
463
  {
464
+ "indexed": false,
334
465
  "internalType": "NftId",
335
- "name": "applicationNftId",
466
+ "name": "bundleNftId",
336
467
  "type": "uint96"
337
468
  },
338
469
  {
339
- "components": [
340
- {
341
- "internalType": "NftId",
342
- "name": "productNftId",
343
- "type": "uint96"
344
- },
345
- {
346
- "internalType": "NftId",
347
- "name": "bundleNftId",
348
- "type": "uint96"
349
- },
350
- {
351
- "internalType": "ReferralId",
352
- "name": "referralId",
353
- "type": "bytes8"
354
- },
355
- {
356
- "internalType": "RiskId",
357
- "name": "riskId",
358
- "type": "bytes8"
359
- },
360
- {
361
- "internalType": "Amount",
362
- "name": "sumInsuredAmount",
363
- "type": "uint96"
364
- },
365
- {
366
- "internalType": "Amount",
367
- "name": "premiumAmount",
368
- "type": "uint96"
369
- },
370
- {
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"
389
- },
390
- {
391
- "internalType": "uint16",
392
- "name": "claimsCount",
393
- "type": "uint16"
394
- },
395
- {
396
- "internalType": "uint16",
397
- "name": "openClaimsCount",
398
- "type": "uint16"
399
- },
400
- {
401
- "internalType": "Amount",
402
- "name": "claimAmount",
403
- "type": "uint96"
404
- },
405
- {
406
- "internalType": "Amount",
407
- "name": "payoutAmount",
408
- "type": "uint96"
409
- },
410
- {
411
- "internalType": "Timestamp",
412
- "name": "activatedAt",
413
- "type": "uint40"
414
- },
415
- {
416
- "internalType": "Timestamp",
417
- "name": "expiredAt",
418
- "type": "uint40"
419
- },
420
- {
421
- "internalType": "Timestamp",
422
- "name": "closedAt",
423
- "type": "uint40"
424
- }
425
- ],
426
- "internalType": "struct IPolicy.PolicyInfo",
427
- "name": "policy",
428
- "type": "tuple"
470
+ "indexed": false,
471
+ "internalType": "StateId",
472
+ "name": "oldState",
473
+ "type": "uint8"
474
+ },
475
+ {
476
+ "indexed": false,
477
+ "internalType": "StateId",
478
+ "name": "newState",
479
+ "type": "uint8"
480
+ },
481
+ {
482
+ "indexed": false,
483
+ "internalType": "address",
484
+ "name": "updatedBy",
485
+ "type": "address"
486
+ },
487
+ {
488
+ "indexed": false,
489
+ "internalType": "address",
490
+ "name": "txOrigin",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "indexed": false,
495
+ "internalType": "Blocknumber",
496
+ "name": "lastUpdatedIn",
497
+ "type": "uint40"
498
+ }
499
+ ],
500
+ "name": "LogProductStoreBundleInfoUpdated",
501
+ "type": "event"
502
+ },
503
+ {
504
+ "anonymous": false,
505
+ "inputs": [
506
+ {
507
+ "indexed": false,
508
+ "internalType": "NftId",
509
+ "name": "componentNftId",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "indexed": false,
514
+ "internalType": "StateId",
515
+ "name": "state",
516
+ "type": "uint8"
517
+ },
518
+ {
519
+ "indexed": false,
520
+ "internalType": "address",
521
+ "name": "createdby",
522
+ "type": "address"
523
+ },
524
+ {
525
+ "indexed": false,
526
+ "internalType": "address",
527
+ "name": "txOrigin",
528
+ "type": "address"
529
+ }
530
+ ],
531
+ "name": "LogProductStoreComponentInfoCreated",
532
+ "type": "event"
533
+ },
534
+ {
535
+ "anonymous": false,
536
+ "inputs": [
537
+ {
538
+ "indexed": false,
539
+ "internalType": "NftId",
540
+ "name": "componentNftId",
541
+ "type": "uint96"
542
+ },
543
+ {
544
+ "indexed": false,
545
+ "internalType": "StateId",
546
+ "name": "oldState",
547
+ "type": "uint8"
548
+ },
549
+ {
550
+ "indexed": false,
551
+ "internalType": "StateId",
552
+ "name": "newState",
553
+ "type": "uint8"
554
+ },
555
+ {
556
+ "indexed": false,
557
+ "internalType": "address",
558
+ "name": "updatedBy",
559
+ "type": "address"
560
+ },
561
+ {
562
+ "indexed": false,
563
+ "internalType": "address",
564
+ "name": "txOrigin",
565
+ "type": "address"
566
+ },
567
+ {
568
+ "indexed": false,
569
+ "internalType": "Blocknumber",
570
+ "name": "lastUpdatedIn",
571
+ "type": "uint40"
572
+ }
573
+ ],
574
+ "name": "LogProductStoreComponentInfoUpdated",
575
+ "type": "event"
576
+ },
577
+ {
578
+ "anonymous": false,
579
+ "inputs": [
580
+ {
581
+ "indexed": false,
582
+ "internalType": "NftId",
583
+ "name": "distributorNftId",
584
+ "type": "uint96"
585
+ },
586
+ {
587
+ "indexed": false,
588
+ "internalType": "StateId",
589
+ "name": "state",
590
+ "type": "uint8"
591
+ },
592
+ {
593
+ "indexed": false,
594
+ "internalType": "address",
595
+ "name": "createdBy",
596
+ "type": "address"
597
+ },
598
+ {
599
+ "indexed": false,
600
+ "internalType": "address",
601
+ "name": "txOrigin",
602
+ "type": "address"
603
+ }
604
+ ],
605
+ "name": "LogProductStoreDistributorInfoCreated",
606
+ "type": "event"
607
+ },
608
+ {
609
+ "anonymous": false,
610
+ "inputs": [
611
+ {
612
+ "indexed": false,
613
+ "internalType": "NftId",
614
+ "name": "distributorNftId",
615
+ "type": "uint96"
616
+ },
617
+ {
618
+ "indexed": false,
619
+ "internalType": "StateId",
620
+ "name": "oldState",
621
+ "type": "uint8"
622
+ },
623
+ {
624
+ "indexed": false,
625
+ "internalType": "StateId",
626
+ "name": "newState",
627
+ "type": "uint8"
628
+ },
629
+ {
630
+ "indexed": false,
631
+ "internalType": "address",
632
+ "name": "updatedBy",
633
+ "type": "address"
634
+ },
635
+ {
636
+ "indexed": false,
637
+ "internalType": "address",
638
+ "name": "txOrigin",
639
+ "type": "address"
640
+ },
641
+ {
642
+ "indexed": false,
643
+ "internalType": "Blocknumber",
644
+ "name": "lastUpdatedIn",
645
+ "type": "uint40"
646
+ }
647
+ ],
648
+ "name": "LogProductStoreDistributorInfoUpdated",
649
+ "type": "event"
650
+ },
651
+ {
652
+ "anonymous": false,
653
+ "inputs": [
654
+ {
655
+ "indexed": false,
656
+ "internalType": "DistributorType",
657
+ "name": "distributorType",
658
+ "type": "bytes8"
659
+ },
660
+ {
661
+ "indexed": false,
662
+ "internalType": "StateId",
663
+ "name": "state",
664
+ "type": "uint8"
665
+ },
666
+ {
667
+ "indexed": false,
668
+ "internalType": "address",
669
+ "name": "createdBy",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "indexed": false,
674
+ "internalType": "address",
675
+ "name": "txOrigin",
676
+ "type": "address"
677
+ }
678
+ ],
679
+ "name": "LogProductStoreDistributorTypeInfoCreated",
680
+ "type": "event"
681
+ },
682
+ {
683
+ "anonymous": false,
684
+ "inputs": [
685
+ {
686
+ "indexed": false,
687
+ "internalType": "DistributorType",
688
+ "name": "distributorType",
689
+ "type": "bytes8"
690
+ },
691
+ {
692
+ "indexed": false,
693
+ "internalType": "StateId",
694
+ "name": "oldState",
695
+ "type": "uint8"
696
+ },
697
+ {
698
+ "indexed": false,
699
+ "internalType": "StateId",
700
+ "name": "newState",
701
+ "type": "uint8"
702
+ },
703
+ {
704
+ "indexed": false,
705
+ "internalType": "address",
706
+ "name": "updatedBy",
707
+ "type": "address"
708
+ },
709
+ {
710
+ "indexed": false,
711
+ "internalType": "address",
712
+ "name": "txOrigin",
713
+ "type": "address"
714
+ },
715
+ {
716
+ "indexed": false,
717
+ "internalType": "Blocknumber",
718
+ "name": "lastUpdatedIn",
719
+ "type": "uint40"
720
+ }
721
+ ],
722
+ "name": "LogProductStoreDistributorTypeInfoUpdated",
723
+ "type": "event"
724
+ },
725
+ {
726
+ "anonymous": false,
727
+ "inputs": [
728
+ {
729
+ "indexed": false,
730
+ "internalType": "NftId",
731
+ "name": "poolNftId",
732
+ "type": "uint96"
733
+ },
734
+ {
735
+ "indexed": false,
736
+ "internalType": "StateId",
737
+ "name": "state",
738
+ "type": "uint8"
739
+ },
740
+ {
741
+ "indexed": false,
742
+ "internalType": "address",
743
+ "name": "createdBy",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "indexed": false,
748
+ "internalType": "address",
749
+ "name": "txOrigin",
750
+ "type": "address"
751
+ }
752
+ ],
753
+ "name": "LogProductStorePoolInfoCreated",
754
+ "type": "event"
755
+ },
756
+ {
757
+ "anonymous": false,
758
+ "inputs": [
759
+ {
760
+ "indexed": false,
761
+ "internalType": "NftId",
762
+ "name": "poolNftId",
763
+ "type": "uint96"
764
+ },
765
+ {
766
+ "indexed": false,
767
+ "internalType": "StateId",
768
+ "name": "oldState",
769
+ "type": "uint8"
770
+ },
771
+ {
772
+ "indexed": false,
773
+ "internalType": "StateId",
774
+ "name": "newState",
775
+ "type": "uint8"
776
+ },
777
+ {
778
+ "indexed": false,
779
+ "internalType": "address",
780
+ "name": "updatedBy",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "indexed": false,
785
+ "internalType": "address",
786
+ "name": "txOrigin",
787
+ "type": "address"
788
+ },
789
+ {
790
+ "indexed": false,
791
+ "internalType": "Blocknumber",
792
+ "name": "lastUpdatedIn",
793
+ "type": "uint40"
794
+ }
795
+ ],
796
+ "name": "LogProductStorePoolInfoUpdated",
797
+ "type": "event"
798
+ },
799
+ {
800
+ "anonymous": false,
801
+ "inputs": [
802
+ {
803
+ "indexed": false,
804
+ "internalType": "ReferralId",
805
+ "name": "referralId",
806
+ "type": "bytes8"
807
+ },
808
+ {
809
+ "indexed": false,
810
+ "internalType": "StateId",
811
+ "name": "state",
812
+ "type": "uint8"
813
+ },
814
+ {
815
+ "indexed": false,
816
+ "internalType": "address",
817
+ "name": "createdBy",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "indexed": false,
822
+ "internalType": "address",
823
+ "name": "txOrigin",
824
+ "type": "address"
825
+ }
826
+ ],
827
+ "name": "LogProductStoreReferralInfoCreated",
828
+ "type": "event"
829
+ },
830
+ {
831
+ "anonymous": false,
832
+ "inputs": [
833
+ {
834
+ "indexed": false,
835
+ "internalType": "ReferralId",
836
+ "name": "referralId",
837
+ "type": "bytes8"
838
+ },
839
+ {
840
+ "indexed": false,
841
+ "internalType": "StateId",
842
+ "name": "oldState",
843
+ "type": "uint8"
844
+ },
845
+ {
846
+ "indexed": false,
847
+ "internalType": "StateId",
848
+ "name": "newState",
849
+ "type": "uint8"
850
+ },
851
+ {
852
+ "indexed": false,
853
+ "internalType": "address",
854
+ "name": "updatedBy",
855
+ "type": "address"
856
+ },
857
+ {
858
+ "indexed": false,
859
+ "internalType": "address",
860
+ "name": "txOrigin",
861
+ "type": "address"
862
+ },
863
+ {
864
+ "indexed": false,
865
+ "internalType": "Blocknumber",
866
+ "name": "lastUpdatedIn",
867
+ "type": "uint40"
868
+ }
869
+ ],
870
+ "name": "LogProductStoreReferralInfoUpdated",
871
+ "type": "event"
872
+ },
873
+ {
874
+ "anonymous": false,
875
+ "inputs": [
876
+ {
877
+ "indexed": false,
878
+ "internalType": "RequestId",
879
+ "name": "requestId",
880
+ "type": "uint64"
881
+ },
882
+ {
883
+ "indexed": false,
884
+ "internalType": "StateId",
885
+ "name": "state",
886
+ "type": "uint8"
887
+ },
888
+ {
889
+ "indexed": false,
890
+ "internalType": "address",
891
+ "name": "createdBy",
892
+ "type": "address"
893
+ },
894
+ {
895
+ "indexed": false,
896
+ "internalType": "address",
897
+ "name": "txOrigin",
898
+ "type": "address"
899
+ }
900
+ ],
901
+ "name": "LogProductStoreRequestInfoCreated",
902
+ "type": "event"
903
+ },
904
+ {
905
+ "anonymous": false,
906
+ "inputs": [
907
+ {
908
+ "indexed": false,
909
+ "internalType": "RequestId",
910
+ "name": "requestId",
911
+ "type": "uint64"
912
+ },
913
+ {
914
+ "indexed": false,
915
+ "internalType": "StateId",
916
+ "name": "oldState",
917
+ "type": "uint8"
918
+ },
919
+ {
920
+ "indexed": false,
921
+ "internalType": "StateId",
922
+ "name": "newState",
923
+ "type": "uint8"
924
+ },
925
+ {
926
+ "indexed": false,
927
+ "internalType": "address",
928
+ "name": "updatedBy",
929
+ "type": "address"
930
+ },
931
+ {
932
+ "indexed": false,
933
+ "internalType": "address",
934
+ "name": "txOrigin",
935
+ "type": "address"
936
+ },
937
+ {
938
+ "indexed": false,
939
+ "internalType": "Blocknumber",
940
+ "name": "lastUpdatedIn",
941
+ "type": "uint40"
942
+ }
943
+ ],
944
+ "name": "LogProductStoreRequestInfoUpdated",
945
+ "type": "event"
946
+ },
947
+ {
948
+ "inputs": [],
949
+ "name": "authority",
950
+ "outputs": [
951
+ {
952
+ "internalType": "address",
953
+ "name": "",
954
+ "type": "address"
955
+ }
956
+ ],
957
+ "stateMutability": "view",
958
+ "type": "function"
959
+ },
960
+ {
961
+ "inputs": [
962
+ {
963
+ "internalType": "StateId",
964
+ "name": "stateId",
965
+ "type": "uint8"
966
+ },
967
+ {
968
+ "internalType": "ObjectType",
969
+ "name": "objectType",
970
+ "type": "uint8"
971
+ },
972
+ {
973
+ "internalType": "StateId",
974
+ "name": "expectedFromId",
975
+ "type": "uint8"
976
+ },
977
+ {
978
+ "internalType": "StateId",
979
+ "name": "toId",
980
+ "type": "uint8"
429
981
  }
430
982
  ],
431
- "name": "createApplication",
983
+ "name": "checkTransition",
432
984
  "outputs": [],
433
- "stateMutability": "nonpayable",
985
+ "stateMutability": "view",
434
986
  "type": "function"
435
987
  },
436
988
  {
@@ -442,6 +994,21 @@
442
994
  },
443
995
  {
444
996
  "components": [
997
+ {
998
+ "internalType": "Timestamp",
999
+ "name": "activatedAt",
1000
+ "type": "uint40"
1001
+ },
1002
+ {
1003
+ "internalType": "Timestamp",
1004
+ "name": "expiredAt",
1005
+ "type": "uint40"
1006
+ },
1007
+ {
1008
+ "internalType": "Timestamp",
1009
+ "name": "closedAt",
1010
+ "type": "uint40"
1011
+ },
445
1012
  {
446
1013
  "internalType": "NftId",
447
1014
  "name": "poolNftId",
@@ -452,12 +1019,12 @@
452
1019
  {
453
1020
  "internalType": "UFixed",
454
1021
  "name": "fractionalFee",
455
- "type": "uint256"
1022
+ "type": "uint160"
456
1023
  },
457
1024
  {
458
- "internalType": "uint256",
1025
+ "internalType": "Amount",
459
1026
  "name": "fixedFee",
460
- "type": "uint256"
1027
+ "type": "uint96"
461
1028
  }
462
1029
  ],
463
1030
  "internalType": "struct Fee",
@@ -468,36 +1035,6 @@
468
1035
  "internalType": "bytes",
469
1036
  "name": "filter",
470
1037
  "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
1038
  }
502
1039
  ],
503
1040
  "internalType": "struct IBundle.BundleInfo",
@@ -512,134 +1049,35 @@
512
1049
  },
513
1050
  {
514
1051
  "inputs": [
515
- {
516
- "internalType": "NftId",
517
- "name": "policyNftId",
518
- "type": "uint96"
519
- },
520
- {
521
- "internalType": "ClaimId",
522
- "name": "claimId",
523
- "type": "uint16"
524
- },
525
- {
526
- "components": [
527
- {
528
- "internalType": "Amount",
529
- "name": "claimAmount",
530
- "type": "uint96"
531
- },
532
- {
533
- "internalType": "Amount",
534
- "name": "paidAmount",
535
- "type": "uint96"
536
- },
537
- {
538
- "internalType": "uint8",
539
- "name": "payoutsCount",
540
- "type": "uint8"
541
- },
542
- {
543
- "internalType": "uint8",
544
- "name": "openPayoutsCount",
545
- "type": "uint8"
546
- },
547
- {
548
- "internalType": "bytes",
549
- "name": "submissionData",
550
- "type": "bytes"
551
- },
552
- {
553
- "internalType": "bytes",
554
- "name": "processData",
555
- "type": "bytes"
556
- },
557
- {
558
- "internalType": "Timestamp",
559
- "name": "closedAt",
560
- "type": "uint40"
561
- }
562
- ],
563
- "internalType": "struct IPolicy.ClaimInfo",
564
- "name": "claim",
565
- "type": "tuple"
566
- }
567
- ],
568
- "name": "createClaim",
569
- "outputs": [],
570
- "stateMutability": "nonpayable",
571
- "type": "function"
572
- },
573
- {
574
- "inputs": [
575
- {
576
- "internalType": "NftId",
577
- "name": "distributionNftId",
578
- "type": "uint96"
579
- },
580
- {
581
- "components": [
582
- {
583
- "internalType": "NftId",
584
- "name": "productNftId",
585
- "type": "uint96"
586
- },
587
- {
588
- "internalType": "contract TokenHandler",
589
- "name": "tokenHandler",
590
- "type": "address"
591
- },
592
- {
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"
1052
+ {
1053
+ "internalType": "NftId",
1054
+ "name": "componentNftId",
1055
+ "type": "uint96"
1056
+ },
1057
+ {
1058
+ "components": [
1059
+ {
1060
+ "internalType": "string",
1061
+ "name": "name",
1062
+ "type": "string"
625
1063
  },
626
1064
  {
627
- "internalType": "address",
628
- "name": "wallet",
1065
+ "internalType": "contract TokenHandler",
1066
+ "name": "tokenHandler",
629
1067
  "type": "address"
630
1068
  },
631
1069
  {
632
- "internalType": "uint256",
633
- "name": "sumDistributionOwnerFees",
634
- "type": "uint256"
1070
+ "internalType": "bytes",
1071
+ "name": "data",
1072
+ "type": "bytes"
635
1073
  }
636
1074
  ],
637
- "internalType": "struct ISetup.DistributionSetupInfo",
638
- "name": "setup",
1075
+ "internalType": "struct IComponents.ComponentInfo",
1076
+ "name": "componentInfo",
639
1077
  "type": "tuple"
640
1078
  }
641
1079
  ],
642
- "name": "createDistributionSetup",
1080
+ "name": "createComponent",
643
1081
  "outputs": [],
644
1082
  "stateMutability": "nonpayable",
645
1083
  "type": "function"
@@ -663,20 +1101,15 @@
663
1101
  "name": "active",
664
1102
  "type": "bool"
665
1103
  },
666
- {
667
- "internalType": "bytes",
668
- "name": "data",
669
- "type": "bytes"
670
- },
671
- {
672
- "internalType": "Amount",
673
- "name": "commissionAmount",
674
- "type": "uint96"
675
- },
676
1104
  {
677
1105
  "internalType": "uint32",
678
1106
  "name": "numPoliciesSold",
679
1107
  "type": "uint32"
1108
+ },
1109
+ {
1110
+ "internalType": "bytes",
1111
+ "name": "data",
1112
+ "type": "bytes"
680
1113
  }
681
1114
  ],
682
1115
  "internalType": "struct IDistribution.DistributorInfo",
@@ -698,25 +1131,20 @@
698
1131
  },
699
1132
  {
700
1133
  "components": [
701
- {
702
- "internalType": "string",
703
- "name": "name",
704
- "type": "string"
705
- },
706
1134
  {
707
1135
  "internalType": "UFixed",
708
1136
  "name": "minDiscountPercentage",
709
- "type": "uint256"
1137
+ "type": "uint160"
710
1138
  },
711
1139
  {
712
- "internalType": "UFixed",
713
- "name": "maxDiscountPercentage",
714
- "type": "uint256"
1140
+ "internalType": "NftId",
1141
+ "name": "distributionNftId",
1142
+ "type": "uint96"
715
1143
  },
716
1144
  {
717
1145
  "internalType": "UFixed",
718
- "name": "commissionPercentage",
719
- "type": "uint256"
1146
+ "name": "maxDiscountPercentage",
1147
+ "type": "uint160"
720
1148
  },
721
1149
  {
722
1150
  "internalType": "uint32",
@@ -724,9 +1152,9 @@
724
1152
  "type": "uint32"
725
1153
  },
726
1154
  {
727
- "internalType": "uint32",
1155
+ "internalType": "Seconds",
728
1156
  "name": "maxReferralLifetime",
729
- "type": "uint32"
1157
+ "type": "uint40"
730
1158
  },
731
1159
  {
732
1160
  "internalType": "bool",
@@ -739,62 +1167,27 @@
739
1167
  "type": "bool"
740
1168
  },
741
1169
  {
742
- "internalType": "bytes",
743
- "name": "data",
744
- "type": "bytes"
745
- }
746
- ],
747
- "internalType": "struct IDistribution.DistributorTypeInfo",
748
- "name": "info",
749
- "type": "tuple"
750
- }
751
- ],
752
- "name": "createDistributorType",
753
- "outputs": [],
754
- "stateMutability": "nonpayable",
755
- "type": "function"
756
- },
757
- {
758
- "inputs": [
759
- {
760
- "internalType": "NftId",
761
- "name": "policyNftId",
762
- "type": "uint96"
763
- },
764
- {
765
- "internalType": "PayoutId",
766
- "name": "payoutId",
767
- "type": "uint24"
768
- },
769
- {
770
- "components": [
771
- {
772
- "internalType": "ClaimId",
773
- "name": "claimId",
774
- "type": "uint16"
1170
+ "internalType": "UFixed",
1171
+ "name": "commissionPercentage",
1172
+ "type": "uint160"
775
1173
  },
776
1174
  {
777
- "internalType": "Amount",
778
- "name": "amount",
779
- "type": "uint96"
1175
+ "internalType": "string",
1176
+ "name": "name",
1177
+ "type": "string"
780
1178
  },
781
1179
  {
782
1180
  "internalType": "bytes",
783
1181
  "name": "data",
784
1182
  "type": "bytes"
785
- },
786
- {
787
- "internalType": "Timestamp",
788
- "name": "paidAt",
789
- "type": "uint40"
790
1183
  }
791
1184
  ],
792
- "internalType": "struct IPolicy.PayoutInfo",
793
- "name": "payout",
1185
+ "internalType": "struct IDistribution.DistributorTypeInfo",
1186
+ "name": "info",
794
1187
  "type": "tuple"
795
1188
  }
796
1189
  ],
797
- "name": "createPayout",
1190
+ "name": "createDistributorType",
798
1191
  "outputs": [],
799
1192
  "stateMutability": "nonpayable",
800
1193
  "type": "function"
@@ -809,47 +1202,47 @@
809
1202
  {
810
1203
  "components": [
811
1204
  {
812
- "internalType": "string",
813
- "name": "name",
814
- "type": "string"
1205
+ "internalType": "Amount",
1206
+ "name": "maxBalanceAmount",
1207
+ "type": "uint96"
815
1208
  },
816
1209
  {
817
- "internalType": "contract IERC20Metadata",
818
- "name": "token",
819
- "type": "address"
1210
+ "internalType": "UFixed",
1211
+ "name": "collateralizationLevel",
1212
+ "type": "uint160"
820
1213
  },
821
1214
  {
822
- "internalType": "contract TokenHandler",
823
- "name": "tokenHandler",
824
- "type": "address"
1215
+ "internalType": "UFixed",
1216
+ "name": "retentionLevel",
1217
+ "type": "uint160"
825
1218
  },
826
1219
  {
827
- "internalType": "address",
828
- "name": "wallet",
829
- "type": "address"
1220
+ "internalType": "bool",
1221
+ "name": "isInterceptingBundleTransfers",
1222
+ "type": "bool"
830
1223
  },
831
1224
  {
832
- "internalType": "Amount",
833
- "name": "balanceAmount",
834
- "type": "uint96"
1225
+ "internalType": "bool",
1226
+ "name": "isProcessingConfirmedClaims",
1227
+ "type": "bool"
835
1228
  },
836
1229
  {
837
- "internalType": "Amount",
838
- "name": "feeAmount",
839
- "type": "uint96"
1230
+ "internalType": "bool",
1231
+ "name": "isExternallyManaged",
1232
+ "type": "bool"
840
1233
  },
841
1234
  {
842
- "internalType": "bytes",
843
- "name": "data",
844
- "type": "bytes"
1235
+ "internalType": "bool",
1236
+ "name": "isVerifyingApplications",
1237
+ "type": "bool"
845
1238
  }
846
1239
  ],
847
- "internalType": "struct IComponents.ComponentInfo",
1240
+ "internalType": "struct IComponents.PoolInfo",
848
1241
  "name": "info",
849
1242
  "type": "tuple"
850
1243
  }
851
1244
  ],
852
- "name": "createPoolSetup",
1245
+ "name": "createPool",
853
1246
  "outputs": [],
854
1247
  "stateMutability": "nonpayable",
855
1248
  "type": "function"
@@ -857,22 +1250,12 @@
857
1250
  {
858
1251
  "inputs": [
859
1252
  {
860
- "internalType": "NftId",
861
- "name": "productNftId",
862
- "type": "uint96"
1253
+ "internalType": "ReferralId",
1254
+ "name": "referralId",
1255
+ "type": "bytes8"
863
1256
  },
864
1257
  {
865
1258
  "components": [
866
- {
867
- "internalType": "contract IERC20Metadata",
868
- "name": "token",
869
- "type": "address"
870
- },
871
- {
872
- "internalType": "contract TokenHandler",
873
- "name": "tokenHandler",
874
- "type": "address"
875
- },
876
1259
  {
877
1260
  "internalType": "NftId",
878
1261
  "name": "distributionNftId",
@@ -880,166 +1263,181 @@
880
1263
  },
881
1264
  {
882
1265
  "internalType": "NftId",
883
- "name": "poolNftId",
1266
+ "name": "distributorNftId",
884
1267
  "type": "uint96"
885
1268
  },
886
1269
  {
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"
1270
+ "internalType": "uint32",
1271
+ "name": "maxReferrals",
1272
+ "type": "uint32"
902
1273
  },
903
1274
  {
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"
1275
+ "internalType": "uint32",
1276
+ "name": "usedReferrals",
1277
+ "type": "uint32"
919
1278
  },
920
1279
  {
921
- "internalType": "bool",
922
- "name": "isIntercepting",
923
- "type": "bool"
1280
+ "internalType": "UFixed",
1281
+ "name": "discountPercentage",
1282
+ "type": "uint160"
924
1283
  },
925
1284
  {
926
- "internalType": "address",
927
- "name": "wallet",
928
- "type": "address"
1285
+ "internalType": "Timestamp",
1286
+ "name": "expiryAt",
1287
+ "type": "uint40"
1288
+ },
1289
+ {
1290
+ "internalType": "string",
1291
+ "name": "referralCode",
1292
+ "type": "string"
1293
+ },
1294
+ {
1295
+ "internalType": "bytes",
1296
+ "name": "data",
1297
+ "type": "bytes"
929
1298
  }
930
1299
  ],
931
- "internalType": "struct ISetup.ProductSetupInfo",
932
- "name": "setup",
1300
+ "internalType": "struct IDistribution.ReferralInfo",
1301
+ "name": "referralInfo",
933
1302
  "type": "tuple"
934
1303
  }
935
1304
  ],
936
- "name": "createProductSetup",
1305
+ "name": "createReferral",
937
1306
  "outputs": [],
938
1307
  "stateMutability": "nonpayable",
939
1308
  "type": "function"
940
1309
  },
941
1310
  {
942
1311
  "inputs": [
943
- {
944
- "internalType": "ReferralId",
945
- "name": "referralId",
946
- "type": "bytes8"
947
- },
948
1312
  {
949
1313
  "components": [
950
1314
  {
951
1315
  "internalType": "NftId",
952
- "name": "distributorNftId",
1316
+ "name": "requesterNftId",
953
1317
  "type": "uint96"
954
1318
  },
955
1319
  {
956
- "internalType": "string",
957
- "name": "referralCode",
958
- "type": "string"
959
- },
960
- {
961
- "internalType": "UFixed",
962
- "name": "discountPercentage",
963
- "type": "uint256"
1320
+ "internalType": "NftId",
1321
+ "name": "oracleNftId",
1322
+ "type": "uint96"
964
1323
  },
965
1324
  {
966
- "internalType": "uint32",
967
- "name": "maxReferrals",
968
- "type": "uint32"
1325
+ "internalType": "bool",
1326
+ "name": "isCancelled",
1327
+ "type": "bool"
969
1328
  },
970
1329
  {
971
- "internalType": "uint32",
972
- "name": "usedReferrals",
973
- "type": "uint32"
1330
+ "internalType": "Timestamp",
1331
+ "name": "respondedAt",
1332
+ "type": "uint40"
974
1333
  },
975
1334
  {
976
1335
  "internalType": "Timestamp",
977
- "name": "expiryAt",
1336
+ "name": "expiredAt",
978
1337
  "type": "uint40"
979
1338
  },
1339
+ {
1340
+ "internalType": "string",
1341
+ "name": "callbackMethodName",
1342
+ "type": "string"
1343
+ },
980
1344
  {
981
1345
  "internalType": "bytes",
982
- "name": "data",
1346
+ "name": "requestData",
1347
+ "type": "bytes"
1348
+ },
1349
+ {
1350
+ "internalType": "bytes",
1351
+ "name": "responseData",
983
1352
  "type": "bytes"
984
1353
  }
985
1354
  ],
986
- "internalType": "struct IDistribution.ReferralInfo",
987
- "name": "referralInfo",
1355
+ "internalType": "struct IOracle.RequestInfo",
1356
+ "name": "request",
988
1357
  "type": "tuple"
989
1358
  }
990
1359
  ],
991
- "name": "createReferral",
992
- "outputs": [],
1360
+ "name": "createRequest",
1361
+ "outputs": [
1362
+ {
1363
+ "internalType": "RequestId",
1364
+ "name": "requestId",
1365
+ "type": "uint64"
1366
+ }
1367
+ ],
993
1368
  "stateMutability": "nonpayable",
994
1369
  "type": "function"
995
1370
  },
996
1371
  {
997
1372
  "inputs": [
998
1373
  {
999
- "internalType": "RiskId",
1000
- "name": "riskId",
1001
- "type": "bytes8"
1374
+ "internalType": "NftId",
1375
+ "name": "targetNftId",
1376
+ "type": "uint96"
1002
1377
  },
1003
1378
  {
1004
- "components": [
1005
- {
1006
- "internalType": "NftId",
1007
- "name": "productNftId",
1008
- "type": "uint96"
1009
- },
1010
- {
1011
- "internalType": "bytes",
1012
- "name": "data",
1013
- "type": "bytes"
1014
- }
1015
- ],
1016
- "internalType": "struct IRisk.RiskInfo",
1017
- "name": "risk",
1018
- "type": "tuple"
1379
+ "internalType": "Amount",
1380
+ "name": "amount",
1381
+ "type": "uint96"
1382
+ }
1383
+ ],
1384
+ "name": "decreaseBalance",
1385
+ "outputs": [
1386
+ {
1387
+ "internalType": "Amount",
1388
+ "name": "newBalance",
1389
+ "type": "uint96"
1390
+ }
1391
+ ],
1392
+ "stateMutability": "nonpayable",
1393
+ "type": "function"
1394
+ },
1395
+ {
1396
+ "inputs": [
1397
+ {
1398
+ "internalType": "NftId",
1399
+ "name": "targetNftId",
1400
+ "type": "uint96"
1401
+ },
1402
+ {
1403
+ "internalType": "Amount",
1404
+ "name": "amount",
1405
+ "type": "uint96"
1406
+ }
1407
+ ],
1408
+ "name": "decreaseFees",
1409
+ "outputs": [
1410
+ {
1411
+ "internalType": "Amount",
1412
+ "name": "newFeeBalance",
1413
+ "type": "uint96"
1019
1414
  }
1020
1415
  ],
1021
- "name": "createRisk",
1022
- "outputs": [],
1023
1416
  "stateMutability": "nonpayable",
1024
1417
  "type": "function"
1025
1418
  },
1026
1419
  {
1027
1420
  "inputs": [
1028
1421
  {
1029
- "internalType": "Key32",
1030
- "name": "key32",
1031
- "type": "bytes32"
1422
+ "internalType": "NftId",
1423
+ "name": "targetNftId",
1424
+ "type": "uint96"
1425
+ },
1426
+ {
1427
+ "internalType": "Amount",
1428
+ "name": "amount",
1429
+ "type": "uint96"
1032
1430
  }
1033
1431
  ],
1034
- "name": "exists",
1432
+ "name": "decreaseLocked",
1035
1433
  "outputs": [
1036
1434
  {
1037
- "internalType": "bool",
1038
- "name": "",
1039
- "type": "bool"
1435
+ "internalType": "Amount",
1436
+ "name": "newBalance",
1437
+ "type": "uint96"
1040
1438
  }
1041
1439
  ],
1042
- "stateMutability": "view",
1440
+ "stateMutability": "nonpayable",
1043
1441
  "type": "function"
1044
1442
  },
1045
1443
  {
@@ -1050,51 +1448,12 @@
1050
1448
  "type": "bytes32"
1051
1449
  }
1052
1450
  ],
1053
- "name": "get",
1451
+ "name": "exists",
1054
1452
  "outputs": [
1055
1453
  {
1056
- "components": [
1057
- {
1058
- "components": [
1059
- {
1060
- "internalType": "ObjectType",
1061
- "name": "objectType",
1062
- "type": "uint8"
1063
- },
1064
- {
1065
- "internalType": "StateId",
1066
- "name": "state",
1067
- "type": "uint8"
1068
- },
1069
- {
1070
- "internalType": "address",
1071
- "name": "updatedBy",
1072
- "type": "address"
1073
- },
1074
- {
1075
- "internalType": "Blocknumber",
1076
- "name": "updatedIn",
1077
- "type": "uint32"
1078
- },
1079
- {
1080
- "internalType": "Blocknumber",
1081
- "name": "createdIn",
1082
- "type": "uint32"
1083
- }
1084
- ],
1085
- "internalType": "struct IKeyValueStore.Metadata",
1086
- "name": "metadata",
1087
- "type": "tuple"
1088
- },
1089
- {
1090
- "internalType": "bytes",
1091
- "name": "data",
1092
- "type": "bytes"
1093
- }
1094
- ],
1095
- "internalType": "struct IKeyValueStore.Value",
1096
- "name": "value",
1097
- "type": "tuple"
1454
+ "internalType": "bool",
1455
+ "name": "",
1456
+ "type": "bool"
1098
1457
  }
1099
1458
  ],
1100
1459
  "stateMutability": "view",
@@ -1103,17 +1462,27 @@
1103
1462
  {
1104
1463
  "inputs": [
1105
1464
  {
1106
- "internalType": "Key32",
1107
- "name": "key32",
1108
- "type": "bytes32"
1465
+ "internalType": "NftId",
1466
+ "name": "targetNftId",
1467
+ "type": "uint96"
1109
1468
  }
1110
1469
  ],
1111
- "name": "getData",
1470
+ "name": "getAmounts",
1112
1471
  "outputs": [
1113
1472
  {
1114
- "internalType": "bytes",
1115
- "name": "data",
1116
- "type": "bytes"
1473
+ "internalType": "Amount",
1474
+ "name": "balanceAmount",
1475
+ "type": "uint96"
1476
+ },
1477
+ {
1478
+ "internalType": "Amount",
1479
+ "name": "lockedAmount",
1480
+ "type": "uint96"
1481
+ },
1482
+ {
1483
+ "internalType": "Amount",
1484
+ "name": "feeAmount",
1485
+ "type": "uint96"
1117
1486
  }
1118
1487
  ],
1119
1488
  "stateMutability": "view",
@@ -1122,17 +1491,17 @@
1122
1491
  {
1123
1492
  "inputs": [
1124
1493
  {
1125
- "internalType": "ObjectType",
1126
- "name": "objectType",
1127
- "type": "uint8"
1494
+ "internalType": "NftId",
1495
+ "name": "targetNftId",
1496
+ "type": "uint96"
1128
1497
  }
1129
1498
  ],
1130
- "name": "getInitialState",
1499
+ "name": "getBalanceAmount",
1131
1500
  "outputs": [
1132
1501
  {
1133
- "internalType": "StateId",
1134
- "name": "",
1135
- "type": "uint8"
1502
+ "internalType": "Amount",
1503
+ "name": "balanceAmount",
1504
+ "type": "uint96"
1136
1505
  }
1137
1506
  ],
1138
1507
  "stateMutability": "view",
@@ -1141,43 +1510,60 @@
1141
1510
  {
1142
1511
  "inputs": [
1143
1512
  {
1144
- "internalType": "Key32",
1145
- "name": "key32",
1146
- "type": "bytes32"
1513
+ "internalType": "NftId",
1514
+ "name": "bundleNftId",
1515
+ "type": "uint96"
1147
1516
  }
1148
1517
  ],
1149
- "name": "getMetadata",
1518
+ "name": "getBundleInfo",
1150
1519
  "outputs": [
1151
1520
  {
1152
1521
  "components": [
1153
1522
  {
1154
- "internalType": "ObjectType",
1155
- "name": "objectType",
1156
- "type": "uint8"
1523
+ "internalType": "Timestamp",
1524
+ "name": "activatedAt",
1525
+ "type": "uint40"
1157
1526
  },
1158
1527
  {
1159
- "internalType": "StateId",
1160
- "name": "state",
1161
- "type": "uint8"
1528
+ "internalType": "Timestamp",
1529
+ "name": "expiredAt",
1530
+ "type": "uint40"
1162
1531
  },
1163
1532
  {
1164
- "internalType": "address",
1165
- "name": "updatedBy",
1166
- "type": "address"
1533
+ "internalType": "Timestamp",
1534
+ "name": "closedAt",
1535
+ "type": "uint40"
1167
1536
  },
1168
1537
  {
1169
- "internalType": "Blocknumber",
1170
- "name": "updatedIn",
1171
- "type": "uint32"
1538
+ "internalType": "NftId",
1539
+ "name": "poolNftId",
1540
+ "type": "uint96"
1172
1541
  },
1173
1542
  {
1174
- "internalType": "Blocknumber",
1175
- "name": "createdIn",
1176
- "type": "uint32"
1543
+ "components": [
1544
+ {
1545
+ "internalType": "UFixed",
1546
+ "name": "fractionalFee",
1547
+ "type": "uint160"
1548
+ },
1549
+ {
1550
+ "internalType": "Amount",
1551
+ "name": "fixedFee",
1552
+ "type": "uint96"
1553
+ }
1554
+ ],
1555
+ "internalType": "struct Fee",
1556
+ "name": "fee",
1557
+ "type": "tuple"
1558
+ },
1559
+ {
1560
+ "internalType": "bytes",
1561
+ "name": "filter",
1562
+ "type": "bytes"
1177
1563
  }
1178
1564
  ],
1179
- "internalType": "struct IKeyValueStore.Metadata",
1180
- "name": "metadata",
1565
+ "internalType": "struct IBundle.BundleInfo",
1566
+ "name": "bundle",
1181
1567
  "type": "tuple"
1182
1568
  }
1183
1569
  ],
@@ -1187,17 +1573,34 @@
1187
1573
  {
1188
1574
  "inputs": [
1189
1575
  {
1190
- "internalType": "Key32",
1191
- "name": "key32",
1192
- "type": "bytes32"
1576
+ "internalType": "NftId",
1577
+ "name": "componentNftId",
1578
+ "type": "uint96"
1193
1579
  }
1194
1580
  ],
1195
- "name": "getState",
1581
+ "name": "getComponentInfo",
1196
1582
  "outputs": [
1197
1583
  {
1198
- "internalType": "StateId",
1199
- "name": "state",
1200
- "type": "uint8"
1584
+ "components": [
1585
+ {
1586
+ "internalType": "string",
1587
+ "name": "name",
1588
+ "type": "string"
1589
+ },
1590
+ {
1591
+ "internalType": "contract TokenHandler",
1592
+ "name": "tokenHandler",
1593
+ "type": "address"
1594
+ },
1595
+ {
1596
+ "internalType": "bytes",
1597
+ "name": "data",
1598
+ "type": "bytes"
1599
+ }
1600
+ ],
1601
+ "internalType": "struct IComponents.ComponentInfo",
1602
+ "name": "componentInfo",
1603
+ "type": "tuple"
1201
1604
  }
1202
1605
  ],
1203
1606
  "stateMutability": "view",
@@ -1206,17 +1609,39 @@
1206
1609
  {
1207
1610
  "inputs": [
1208
1611
  {
1209
- "internalType": "ObjectType",
1210
- "name": "objectType",
1211
- "type": "uint8"
1612
+ "internalType": "NftId",
1613
+ "name": "distributorNftId",
1614
+ "type": "uint96"
1212
1615
  }
1213
1616
  ],
1214
- "name": "hasLifecycle",
1617
+ "name": "getDistributorInfo",
1215
1618
  "outputs": [
1216
1619
  {
1217
- "internalType": "bool",
1218
- "name": "",
1219
- "type": "bool"
1620
+ "components": [
1621
+ {
1622
+ "internalType": "DistributorType",
1623
+ "name": "distributorType",
1624
+ "type": "bytes8"
1625
+ },
1626
+ {
1627
+ "internalType": "bool",
1628
+ "name": "active",
1629
+ "type": "bool"
1630
+ },
1631
+ {
1632
+ "internalType": "uint32",
1633
+ "name": "numPoliciesSold",
1634
+ "type": "uint32"
1635
+ },
1636
+ {
1637
+ "internalType": "bytes",
1638
+ "name": "data",
1639
+ "type": "bytes"
1640
+ }
1641
+ ],
1642
+ "internalType": "struct IDistribution.DistributorInfo",
1643
+ "name": "info",
1644
+ "type": "tuple"
1220
1645
  }
1221
1646
  ],
1222
1647
  "stateMutability": "view",
@@ -1225,31 +1650,88 @@
1225
1650
  {
1226
1651
  "inputs": [
1227
1652
  {
1228
- "internalType": "address",
1229
- "name": "instance",
1230
- "type": "address"
1653
+ "internalType": "DistributorType",
1654
+ "name": "distributorType",
1655
+ "type": "bytes8"
1231
1656
  }
1232
1657
  ],
1233
- "name": "initialize",
1234
- "outputs": [],
1235
- "stateMutability": "nonpayable",
1236
- "type": "function"
1237
- },
1238
- {
1239
- "inputs": [],
1240
- "name": "initializeLifecycle",
1241
- "outputs": [],
1242
- "stateMutability": "nonpayable",
1658
+ "name": "getDistributorTypeInfo",
1659
+ "outputs": [
1660
+ {
1661
+ "components": [
1662
+ {
1663
+ "internalType": "UFixed",
1664
+ "name": "minDiscountPercentage",
1665
+ "type": "uint160"
1666
+ },
1667
+ {
1668
+ "internalType": "NftId",
1669
+ "name": "distributionNftId",
1670
+ "type": "uint96"
1671
+ },
1672
+ {
1673
+ "internalType": "UFixed",
1674
+ "name": "maxDiscountPercentage",
1675
+ "type": "uint160"
1676
+ },
1677
+ {
1678
+ "internalType": "uint32",
1679
+ "name": "maxReferralCount",
1680
+ "type": "uint32"
1681
+ },
1682
+ {
1683
+ "internalType": "Seconds",
1684
+ "name": "maxReferralLifetime",
1685
+ "type": "uint40"
1686
+ },
1687
+ {
1688
+ "internalType": "bool",
1689
+ "name": "allowSelfReferrals",
1690
+ "type": "bool"
1691
+ },
1692
+ {
1693
+ "internalType": "bool",
1694
+ "name": "allowRenewals",
1695
+ "type": "bool"
1696
+ },
1697
+ {
1698
+ "internalType": "UFixed",
1699
+ "name": "commissionPercentage",
1700
+ "type": "uint160"
1701
+ },
1702
+ {
1703
+ "internalType": "string",
1704
+ "name": "name",
1705
+ "type": "string"
1706
+ },
1707
+ {
1708
+ "internalType": "bytes",
1709
+ "name": "data",
1710
+ "type": "bytes"
1711
+ }
1712
+ ],
1713
+ "internalType": "struct IDistribution.DistributorTypeInfo",
1714
+ "name": "info",
1715
+ "type": "tuple"
1716
+ }
1717
+ ],
1718
+ "stateMutability": "view",
1243
1719
  "type": "function"
1244
1720
  },
1245
1721
  {
1246
- "inputs": [],
1247
- "name": "isConsumingScheduledOp",
1722
+ "inputs": [
1723
+ {
1724
+ "internalType": "NftId",
1725
+ "name": "targetNftId",
1726
+ "type": "uint96"
1727
+ }
1728
+ ],
1729
+ "name": "getFeeAmount",
1248
1730
  "outputs": [
1249
1731
  {
1250
- "internalType": "bytes4",
1251
- "name": "",
1252
- "type": "bytes4"
1732
+ "internalType": "Amount",
1733
+ "name": "feeAmount",
1734
+ "type": "uint96"
1253
1735
  }
1254
1736
  ],
1255
1737
  "stateMutability": "view",
@@ -1261,24 +1743,14 @@
1261
1743
  "internalType": "ObjectType",
1262
1744
  "name": "objectType",
1263
1745
  "type": "uint8"
1264
- },
1265
- {
1266
- "internalType": "StateId",
1267
- "name": "fromId",
1268
- "type": "uint8"
1269
- },
1270
- {
1271
- "internalType": "StateId",
1272
- "name": "toId",
1273
- "type": "uint8"
1274
1746
  }
1275
1747
  ],
1276
- "name": "isValidTransition",
1748
+ "name": "getInitialState",
1277
1749
  "outputs": [
1278
1750
  {
1279
- "internalType": "bool",
1751
+ "internalType": "StateId",
1280
1752
  "name": "",
1281
- "type": "bool"
1753
+ "type": "uint8"
1282
1754
  }
1283
1755
  ],
1284
1756
  "stateMutability": "view",
@@ -1287,450 +1759,295 @@
1287
1759
  {
1288
1760
  "inputs": [
1289
1761
  {
1290
- "internalType": "address",
1291
- "name": "newAuthority",
1292
- "type": "address"
1762
+ "internalType": "NftId",
1763
+ "name": "targetNftId",
1764
+ "type": "uint96"
1293
1765
  }
1294
1766
  ],
1295
- "name": "setAuthority",
1296
- "outputs": [],
1297
- "stateMutability": "nonpayable",
1767
+ "name": "getLockedAmount",
1768
+ "outputs": [
1769
+ {
1770
+ "internalType": "Amount",
1771
+ "name": "lockedAmount",
1772
+ "type": "uint96"
1773
+ }
1774
+ ],
1775
+ "stateMutability": "view",
1298
1776
  "type": "function"
1299
1777
  },
1300
1778
  {
1301
1779
  "inputs": [
1302
1780
  {
1303
- "internalType": "ObjectType",
1304
- "name": "objectType",
1305
- "type": "uint8"
1306
- },
1307
- {
1308
- "internalType": "KeyId",
1309
- "name": "id",
1310
- "type": "bytes31"
1781
+ "internalType": "Key32",
1782
+ "name": "key32",
1783
+ "type": "bytes32"
1311
1784
  }
1312
1785
  ],
1313
- "name": "toKey32",
1786
+ "name": "getMetadata",
1314
1787
  "outputs": [
1315
1788
  {
1316
- "internalType": "Key32",
1317
- "name": "",
1318
- "type": "bytes32"
1789
+ "components": [
1790
+ {
1791
+ "internalType": "ObjectType",
1792
+ "name": "objectType",
1793
+ "type": "uint8"
1794
+ },
1795
+ {
1796
+ "internalType": "StateId",
1797
+ "name": "state",
1798
+ "type": "uint8"
1799
+ },
1800
+ {
1801
+ "internalType": "Blocknumber",
1802
+ "name": "updatedIn",
1803
+ "type": "uint40"
1804
+ }
1805
+ ],
1806
+ "internalType": "struct IBaseStore.Metadata",
1807
+ "name": "metadata",
1808
+ "type": "tuple"
1319
1809
  }
1320
1810
  ],
1321
- "stateMutability": "pure",
1811
+ "stateMutability": "view",
1322
1812
  "type": "function"
1323
1813
  },
1324
1814
  {
1325
1815
  "inputs": [
1326
1816
  {
1327
1817
  "internalType": "NftId",
1328
- "name": "applicationNftId",
1818
+ "name": "poolNftId",
1329
1819
  "type": "uint96"
1330
- },
1820
+ }
1821
+ ],
1822
+ "name": "getPoolInfo",
1823
+ "outputs": [
1331
1824
  {
1332
1825
  "components": [
1333
- {
1334
- "internalType": "NftId",
1335
- "name": "productNftId",
1336
- "type": "uint96"
1337
- },
1338
- {
1339
- "internalType": "NftId",
1340
- "name": "bundleNftId",
1341
- "type": "uint96"
1342
- },
1343
- {
1344
- "internalType": "ReferralId",
1345
- "name": "referralId",
1346
- "type": "bytes8"
1347
- },
1348
- {
1349
- "internalType": "RiskId",
1350
- "name": "riskId",
1351
- "type": "bytes8"
1352
- },
1353
- {
1354
- "internalType": "Amount",
1355
- "name": "sumInsuredAmount",
1356
- "type": "uint96"
1357
- },
1358
- {
1359
- "internalType": "Amount",
1360
- "name": "premiumAmount",
1361
- "type": "uint96"
1362
- },
1363
1826
  {
1364
1827
  "internalType": "Amount",
1365
- "name": "premiumPaidAmount",
1828
+ "name": "maxBalanceAmount",
1366
1829
  "type": "uint96"
1367
1830
  },
1368
1831
  {
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"
1382
- },
1383
- {
1384
- "internalType": "uint16",
1385
- "name": "claimsCount",
1386
- "type": "uint16"
1387
- },
1388
- {
1389
- "internalType": "uint16",
1390
- "name": "openClaimsCount",
1391
- "type": "uint16"
1832
+ "internalType": "UFixed",
1833
+ "name": "collateralizationLevel",
1834
+ "type": "uint160"
1392
1835
  },
1393
1836
  {
1394
- "internalType": "Amount",
1395
- "name": "claimAmount",
1396
- "type": "uint96"
1837
+ "internalType": "UFixed",
1838
+ "name": "retentionLevel",
1839
+ "type": "uint160"
1397
1840
  },
1398
1841
  {
1399
- "internalType": "Amount",
1400
- "name": "payoutAmount",
1401
- "type": "uint96"
1842
+ "internalType": "bool",
1843
+ "name": "isInterceptingBundleTransfers",
1844
+ "type": "bool"
1402
1845
  },
1403
1846
  {
1404
- "internalType": "Timestamp",
1405
- "name": "activatedAt",
1406
- "type": "uint40"
1847
+ "internalType": "bool",
1848
+ "name": "isProcessingConfirmedClaims",
1849
+ "type": "bool"
1407
1850
  },
1408
1851
  {
1409
- "internalType": "Timestamp",
1410
- "name": "expiredAt",
1411
- "type": "uint40"
1852
+ "internalType": "bool",
1853
+ "name": "isExternallyManaged",
1854
+ "type": "bool"
1412
1855
  },
1413
1856
  {
1414
- "internalType": "Timestamp",
1415
- "name": "closedAt",
1416
- "type": "uint40"
1857
+ "internalType": "bool",
1858
+ "name": "isVerifyingApplications",
1859
+ "type": "bool"
1417
1860
  }
1418
1861
  ],
1419
- "internalType": "struct IPolicy.PolicyInfo",
1420
- "name": "policy",
1862
+ "internalType": "struct IComponents.PoolInfo",
1863
+ "name": "info",
1421
1864
  "type": "tuple"
1422
- },
1423
- {
1424
- "internalType": "StateId",
1425
- "name": "newState",
1426
- "type": "uint8"
1427
1865
  }
1428
1866
  ],
1429
- "name": "updateApplication",
1430
- "outputs": [],
1431
- "stateMutability": "nonpayable",
1867
+ "stateMutability": "view",
1432
1868
  "type": "function"
1433
1869
  },
1434
1870
  {
1435
1871
  "inputs": [
1436
1872
  {
1437
- "internalType": "NftId",
1438
- "name": "applicationNftId",
1439
- "type": "uint96"
1440
- },
1441
- {
1442
- "internalType": "StateId",
1443
- "name": "newState",
1444
- "type": "uint8"
1873
+ "internalType": "ReferralId",
1874
+ "name": "referralId",
1875
+ "type": "bytes8"
1445
1876
  }
1446
1877
  ],
1447
- "name": "updateApplicationState",
1448
- "outputs": [],
1449
- "stateMutability": "nonpayable",
1450
- "type": "function"
1451
- },
1452
- {
1453
- "inputs": [
1454
- {
1455
- "internalType": "NftId",
1456
- "name": "bundleNftId",
1457
- "type": "uint96"
1458
- },
1878
+ "name": "getReferralInfo",
1879
+ "outputs": [
1459
1880
  {
1460
1881
  "components": [
1461
1882
  {
1462
1883
  "internalType": "NftId",
1463
- "name": "poolNftId",
1884
+ "name": "distributionNftId",
1464
1885
  "type": "uint96"
1465
1886
  },
1466
1887
  {
1467
- "components": [
1468
- {
1469
- "internalType": "UFixed",
1470
- "name": "fractionalFee",
1471
- "type": "uint256"
1472
- },
1473
- {
1474
- "internalType": "uint256",
1475
- "name": "fixedFee",
1476
- "type": "uint256"
1477
- }
1478
- ],
1479
- "internalType": "struct Fee",
1480
- "name": "fee",
1481
- "type": "tuple"
1482
- },
1483
- {
1484
- "internalType": "bytes",
1485
- "name": "filter",
1486
- "type": "bytes"
1487
- },
1488
- {
1489
- "internalType": "Amount",
1490
- "name": "capitalAmount",
1888
+ "internalType": "NftId",
1889
+ "name": "distributorNftId",
1491
1890
  "type": "uint96"
1492
1891
  },
1493
1892
  {
1494
- "internalType": "Amount",
1495
- "name": "lockedAmount",
1496
- "type": "uint96"
1893
+ "internalType": "uint32",
1894
+ "name": "maxReferrals",
1895
+ "type": "uint32"
1497
1896
  },
1498
1897
  {
1499
- "internalType": "Amount",
1500
- "name": "feeAmount",
1501
- "type": "uint96"
1898
+ "internalType": "uint32",
1899
+ "name": "usedReferrals",
1900
+ "type": "uint32"
1502
1901
  },
1503
1902
  {
1504
- "internalType": "Seconds",
1505
- "name": "lifetime",
1506
- "type": "uint40"
1903
+ "internalType": "UFixed",
1904
+ "name": "discountPercentage",
1905
+ "type": "uint160"
1507
1906
  },
1508
1907
  {
1509
1908
  "internalType": "Timestamp",
1510
- "name": "expiredAt",
1909
+ "name": "expiryAt",
1511
1910
  "type": "uint40"
1512
1911
  },
1513
1912
  {
1514
- "internalType": "Timestamp",
1515
- "name": "closedAt",
1516
- "type": "uint40"
1913
+ "internalType": "string",
1914
+ "name": "referralCode",
1915
+ "type": "string"
1916
+ },
1917
+ {
1918
+ "internalType": "bytes",
1919
+ "name": "data",
1920
+ "type": "bytes"
1517
1921
  }
1518
1922
  ],
1519
- "internalType": "struct IBundle.BundleInfo",
1520
- "name": "bundle",
1923
+ "internalType": "struct IDistribution.ReferralInfo",
1924
+ "name": "referralInfo",
1521
1925
  "type": "tuple"
1522
- },
1523
- {
1524
- "internalType": "StateId",
1525
- "name": "newState",
1526
- "type": "uint8"
1527
- }
1528
- ],
1529
- "name": "updateBundle",
1530
- "outputs": [],
1531
- "stateMutability": "nonpayable",
1532
- "type": "function"
1533
- },
1534
- {
1535
- "inputs": [
1536
- {
1537
- "internalType": "NftId",
1538
- "name": "bundleNftId",
1539
- "type": "uint96"
1540
- },
1541
- {
1542
- "internalType": "StateId",
1543
- "name": "newState",
1544
- "type": "uint8"
1545
1926
  }
1546
- ],
1547
- "name": "updateBundleState",
1548
- "outputs": [],
1549
- "stateMutability": "nonpayable",
1927
+ ],
1928
+ "stateMutability": "view",
1550
1929
  "type": "function"
1551
1930
  },
1552
1931
  {
1553
1932
  "inputs": [
1554
1933
  {
1555
- "internalType": "NftId",
1556
- "name": "policyNftId",
1557
- "type": "uint96"
1558
- },
1559
- {
1560
- "internalType": "ClaimId",
1561
- "name": "claimId",
1562
- "type": "uint16"
1563
- },
1934
+ "internalType": "RequestId",
1935
+ "name": "requestId",
1936
+ "type": "uint64"
1937
+ }
1938
+ ],
1939
+ "name": "getRequestInfo",
1940
+ "outputs": [
1564
1941
  {
1565
1942
  "components": [
1566
1943
  {
1567
- "internalType": "Amount",
1568
- "name": "claimAmount",
1944
+ "internalType": "NftId",
1945
+ "name": "requesterNftId",
1569
1946
  "type": "uint96"
1570
1947
  },
1571
1948
  {
1572
- "internalType": "Amount",
1573
- "name": "paidAmount",
1949
+ "internalType": "NftId",
1950
+ "name": "oracleNftId",
1574
1951
  "type": "uint96"
1575
1952
  },
1576
1953
  {
1577
- "internalType": "uint8",
1578
- "name": "payoutsCount",
1579
- "type": "uint8"
1954
+ "internalType": "bool",
1955
+ "name": "isCancelled",
1956
+ "type": "bool"
1580
1957
  },
1581
1958
  {
1582
- "internalType": "uint8",
1583
- "name": "openPayoutsCount",
1584
- "type": "uint8"
1959
+ "internalType": "Timestamp",
1960
+ "name": "respondedAt",
1961
+ "type": "uint40"
1585
1962
  },
1586
1963
  {
1587
- "internalType": "bytes",
1588
- "name": "submissionData",
1589
- "type": "bytes"
1964
+ "internalType": "Timestamp",
1965
+ "name": "expiredAt",
1966
+ "type": "uint40"
1967
+ },
1968
+ {
1969
+ "internalType": "string",
1970
+ "name": "callbackMethodName",
1971
+ "type": "string"
1590
1972
  },
1591
1973
  {
1592
1974
  "internalType": "bytes",
1593
- "name": "processData",
1975
+ "name": "requestData",
1594
1976
  "type": "bytes"
1595
1977
  },
1596
1978
  {
1597
- "internalType": "Timestamp",
1598
- "name": "closedAt",
1599
- "type": "uint40"
1979
+ "internalType": "bytes",
1980
+ "name": "responseData",
1981
+ "type": "bytes"
1600
1982
  }
1601
1983
  ],
1602
- "internalType": "struct IPolicy.ClaimInfo",
1603
- "name": "claim",
1984
+ "internalType": "struct IOracle.RequestInfo",
1985
+ "name": "request",
1604
1986
  "type": "tuple"
1605
- },
1606
- {
1607
- "internalType": "StateId",
1608
- "name": "newState",
1609
- "type": "uint8"
1610
1987
  }
1611
1988
  ],
1612
- "name": "updateClaim",
1613
- "outputs": [],
1614
- "stateMutability": "nonpayable",
1989
+ "stateMutability": "view",
1615
1990
  "type": "function"
1616
1991
  },
1617
1992
  {
1618
1993
  "inputs": [
1619
1994
  {
1620
- "internalType": "NftId",
1621
- "name": "policyNftId",
1622
- "type": "uint96"
1623
- },
1624
- {
1625
- "internalType": "ClaimId",
1626
- "name": "claimId",
1627
- "type": "uint16"
1628
- },
1995
+ "internalType": "Key32",
1996
+ "name": "key32",
1997
+ "type": "bytes32"
1998
+ }
1999
+ ],
2000
+ "name": "getState",
2001
+ "outputs": [
1629
2002
  {
1630
2003
  "internalType": "StateId",
1631
- "name": "newState",
2004
+ "name": "state",
1632
2005
  "type": "uint8"
1633
2006
  }
1634
2007
  ],
1635
- "name": "updateClaimState",
1636
- "outputs": [],
1637
- "stateMutability": "nonpayable",
2008
+ "stateMutability": "view",
1638
2009
  "type": "function"
1639
2010
  },
1640
2011
  {
1641
2012
  "inputs": [
1642
2013
  {
1643
- "internalType": "NftId",
1644
- "name": "distributionNftId",
1645
- "type": "uint96"
1646
- },
1647
- {
1648
- "components": [
1649
- {
1650
- "internalType": "NftId",
1651
- "name": "productNftId",
1652
- "type": "uint96"
1653
- },
1654
- {
1655
- "internalType": "contract TokenHandler",
1656
- "name": "tokenHandler",
1657
- "type": "address"
1658
- },
1659
- {
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"
1702
- }
1703
- ],
1704
- "internalType": "struct ISetup.DistributionSetupInfo",
1705
- "name": "setup",
1706
- "type": "tuple"
1707
- },
1708
- {
1709
- "internalType": "StateId",
1710
- "name": "newState",
2014
+ "internalType": "ObjectType",
2015
+ "name": "objectType",
1711
2016
  "type": "uint8"
1712
2017
  }
1713
2018
  ],
1714
- "name": "updateDistributionSetup",
1715
- "outputs": [],
1716
- "stateMutability": "nonpayable",
2019
+ "name": "hasLifecycle",
2020
+ "outputs": [
2021
+ {
2022
+ "internalType": "bool",
2023
+ "name": "",
2024
+ "type": "bool"
2025
+ }
2026
+ ],
2027
+ "stateMutability": "view",
1717
2028
  "type": "function"
1718
2029
  },
1719
2030
  {
1720
2031
  "inputs": [
1721
2032
  {
1722
2033
  "internalType": "NftId",
1723
- "name": "distributionNftId",
2034
+ "name": "targetNftId",
1724
2035
  "type": "uint96"
1725
2036
  },
1726
2037
  {
1727
- "internalType": "StateId",
1728
- "name": "newState",
1729
- "type": "uint8"
2038
+ "internalType": "Amount",
2039
+ "name": "amount",
2040
+ "type": "uint96"
2041
+ }
2042
+ ],
2043
+ "name": "increaseBalance",
2044
+ "outputs": [
2045
+ {
2046
+ "internalType": "Amount",
2047
+ "name": "newBalance",
2048
+ "type": "uint96"
1730
2049
  }
1731
2050
  ],
1732
- "name": "updateDistributionSetupState",
1733
- "outputs": [],
1734
2051
  "stateMutability": "nonpayable",
1735
2052
  "type": "function"
1736
2053
  },
@@ -1738,49 +2055,23 @@
1738
2055
  "inputs": [
1739
2056
  {
1740
2057
  "internalType": "NftId",
1741
- "name": "distributorNftId",
2058
+ "name": "targetNftId",
1742
2059
  "type": "uint96"
1743
2060
  },
1744
2061
  {
1745
- "components": [
1746
- {
1747
- "internalType": "DistributorType",
1748
- "name": "distributorType",
1749
- "type": "bytes8"
1750
- },
1751
- {
1752
- "internalType": "bool",
1753
- "name": "active",
1754
- "type": "bool"
1755
- },
1756
- {
1757
- "internalType": "bytes",
1758
- "name": "data",
1759
- "type": "bytes"
1760
- },
1761
- {
1762
- "internalType": "Amount",
1763
- "name": "commissionAmount",
1764
- "type": "uint96"
1765
- },
1766
- {
1767
- "internalType": "uint32",
1768
- "name": "numPoliciesSold",
1769
- "type": "uint32"
1770
- }
1771
- ],
1772
- "internalType": "struct IDistribution.DistributorInfo",
1773
- "name": "info",
1774
- "type": "tuple"
1775
- },
2062
+ "internalType": "Amount",
2063
+ "name": "amount",
2064
+ "type": "uint96"
2065
+ }
2066
+ ],
2067
+ "name": "increaseFees",
2068
+ "outputs": [
1776
2069
  {
1777
- "internalType": "StateId",
1778
- "name": "newState",
1779
- "type": "uint8"
2070
+ "internalType": "Amount",
2071
+ "name": "newFeeBalance",
2072
+ "type": "uint96"
1780
2073
  }
1781
2074
  ],
1782
- "name": "updateDistributor",
1783
- "outputs": [],
1784
2075
  "stateMutability": "nonpayable",
1785
2076
  "type": "function"
1786
2077
  },
@@ -1788,86 +2079,84 @@
1788
2079
  "inputs": [
1789
2080
  {
1790
2081
  "internalType": "NftId",
1791
- "name": "distributorNftId",
2082
+ "name": "targetNftId",
1792
2083
  "type": "uint96"
1793
2084
  },
1794
2085
  {
1795
- "internalType": "StateId",
1796
- "name": "newState",
1797
- "type": "uint8"
2086
+ "internalType": "Amount",
2087
+ "name": "amount",
2088
+ "type": "uint96"
1798
2089
  }
1799
2090
  ],
1800
- "name": "updateDistributorState",
2091
+ "name": "increaseLocked",
2092
+ "outputs": [
2093
+ {
2094
+ "internalType": "Amount",
2095
+ "name": "newBalance",
2096
+ "type": "uint96"
2097
+ }
2098
+ ],
2099
+ "stateMutability": "nonpayable",
2100
+ "type": "function"
2101
+ },
2102
+ {
2103
+ "inputs": [],
2104
+ "name": "initialize",
1801
2105
  "outputs": [],
1802
2106
  "stateMutability": "nonpayable",
1803
2107
  "type": "function"
1804
2108
  },
1805
2109
  {
1806
- "inputs": [
1807
- {
1808
- "internalType": "DistributorType",
1809
- "name": "distributorType",
1810
- "type": "bytes8"
1811
- },
2110
+ "inputs": [],
2111
+ "name": "isConsumingScheduledOp",
2112
+ "outputs": [
1812
2113
  {
1813
- "components": [
1814
- {
1815
- "internalType": "string",
1816
- "name": "name",
1817
- "type": "string"
1818
- },
1819
- {
1820
- "internalType": "UFixed",
1821
- "name": "minDiscountPercentage",
1822
- "type": "uint256"
1823
- },
1824
- {
1825
- "internalType": "UFixed",
1826
- "name": "maxDiscountPercentage",
1827
- "type": "uint256"
1828
- },
1829
- {
1830
- "internalType": "UFixed",
1831
- "name": "commissionPercentage",
1832
- "type": "uint256"
1833
- },
1834
- {
1835
- "internalType": "uint32",
1836
- "name": "maxReferralCount",
1837
- "type": "uint32"
1838
- },
1839
- {
1840
- "internalType": "uint32",
1841
- "name": "maxReferralLifetime",
1842
- "type": "uint32"
1843
- },
1844
- {
1845
- "internalType": "bool",
1846
- "name": "allowSelfReferrals",
1847
- "type": "bool"
1848
- },
1849
- {
1850
- "internalType": "bool",
1851
- "name": "allowRenewals",
1852
- "type": "bool"
1853
- },
1854
- {
1855
- "internalType": "bytes",
1856
- "name": "data",
1857
- "type": "bytes"
1858
- }
1859
- ],
1860
- "internalType": "struct IDistribution.DistributorTypeInfo",
1861
- "name": "info",
1862
- "type": "tuple"
2114
+ "internalType": "bytes4",
2115
+ "name": "",
2116
+ "type": "bytes4"
2117
+ }
2118
+ ],
2119
+ "stateMutability": "view",
2120
+ "type": "function"
2121
+ },
2122
+ {
2123
+ "inputs": [
2124
+ {
2125
+ "internalType": "ObjectType",
2126
+ "name": "objectType",
2127
+ "type": "uint8"
1863
2128
  },
1864
2129
  {
1865
2130
  "internalType": "StateId",
1866
- "name": "newState",
2131
+ "name": "fromId",
2132
+ "type": "uint8"
2133
+ },
2134
+ {
2135
+ "internalType": "StateId",
2136
+ "name": "toId",
1867
2137
  "type": "uint8"
1868
2138
  }
1869
2139
  ],
1870
- "name": "updateDistributorType",
2140
+ "name": "isValidTransition",
2141
+ "outputs": [
2142
+ {
2143
+ "internalType": "bool",
2144
+ "name": "",
2145
+ "type": "bool"
2146
+ }
2147
+ ],
2148
+ "stateMutability": "view",
2149
+ "type": "function"
2150
+ },
2151
+ {
2152
+ "inputs": [
2153
+ {
2154
+ "internalType": "address",
2155
+ "name": "newAuthority",
2156
+ "type": "address"
2157
+ }
2158
+ ],
2159
+ "name": "setAuthority",
1871
2160
  "outputs": [],
1872
2161
  "stateMutability": "nonpayable",
1873
2162
  "type": "function"
@@ -1875,58 +2164,81 @@
1875
2164
  {
1876
2165
  "inputs": [
1877
2166
  {
1878
- "internalType": "DistributorType",
1879
- "name": "distributorType",
1880
- "type": "bytes8"
2167
+ "internalType": "ObjectType",
2168
+ "name": "objectType",
2169
+ "type": "uint8"
1881
2170
  },
1882
2171
  {
1883
- "internalType": "StateId",
1884
- "name": "newState",
1885
- "type": "uint8"
2172
+ "internalType": "KeyId",
2173
+ "name": "id",
2174
+ "type": "bytes31"
1886
2175
  }
1887
2176
  ],
1888
- "name": "updateDistributorTypeState",
1889
- "outputs": [],
1890
- "stateMutability": "nonpayable",
2177
+ "name": "toKey32",
2178
+ "outputs": [
2179
+ {
2180
+ "internalType": "Key32",
2181
+ "name": "",
2182
+ "type": "bytes32"
2183
+ }
2184
+ ],
2185
+ "stateMutability": "pure",
1891
2186
  "type": "function"
1892
2187
  },
1893
2188
  {
1894
2189
  "inputs": [
1895
2190
  {
1896
2191
  "internalType": "NftId",
1897
- "name": "policyNftId",
2192
+ "name": "bundleNftId",
1898
2193
  "type": "uint96"
1899
2194
  },
1900
- {
1901
- "internalType": "PayoutId",
1902
- "name": "payoutId",
1903
- "type": "uint24"
1904
- },
1905
2195
  {
1906
2196
  "components": [
1907
2197
  {
1908
- "internalType": "ClaimId",
1909
- "name": "claimId",
1910
- "type": "uint16"
2198
+ "internalType": "Timestamp",
2199
+ "name": "activatedAt",
2200
+ "type": "uint40"
2201
+ },
2202
+ {
2203
+ "internalType": "Timestamp",
2204
+ "name": "expiredAt",
2205
+ "type": "uint40"
1911
2206
  },
1912
2207
  {
1913
- "internalType": "Amount",
1914
- "name": "amount",
2208
+ "internalType": "Timestamp",
2209
+ "name": "closedAt",
2210
+ "type": "uint40"
2211
+ },
2212
+ {
2213
+ "internalType": "NftId",
2214
+ "name": "poolNftId",
1915
2215
  "type": "uint96"
1916
2216
  },
1917
2217
  {
1918
- "internalType": "bytes",
1919
- "name": "data",
1920
- "type": "bytes"
2218
+ "components": [
2219
+ {
2220
+ "internalType": "UFixed",
2221
+ "name": "fractionalFee",
2222
+ "type": "uint160"
2223
+ },
2224
+ {
2225
+ "internalType": "Amount",
2226
+ "name": "fixedFee",
2227
+ "type": "uint96"
2228
+ }
2229
+ ],
2230
+ "internalType": "struct Fee",
2231
+ "name": "fee",
2232
+ "type": "tuple"
1921
2233
  },
1922
2234
  {
1923
- "internalType": "Timestamp",
1924
- "name": "paidAt",
1925
- "type": "uint40"
2235
+ "internalType": "bytes",
2236
+ "name": "filter",
2237
+ "type": "bytes"
1926
2238
  }
1927
2239
  ],
1928
- "internalType": "struct IPolicy.PayoutInfo",
1929
- "name": "payout",
2240
+ "internalType": "struct IBundle.BundleInfo",
2241
+ "name": "bundle",
1930
2242
  "type": "tuple"
1931
2243
  },
1932
2244
  {
@@ -1935,7 +2247,7 @@
1935
2247
  "type": "uint8"
1936
2248
  }
1937
2249
  ],
1938
- "name": "updatePayout",
2250
+ "name": "updateBundle",
1939
2251
  "outputs": [],
1940
2252
  "stateMutability": "nonpayable",
1941
2253
  "type": "function"
@@ -1944,21 +2256,16 @@
1944
2256
  "inputs": [
1945
2257
  {
1946
2258
  "internalType": "NftId",
1947
- "name": "policyNftId",
2259
+ "name": "bundleNftId",
1948
2260
  "type": "uint96"
1949
2261
  },
1950
- {
1951
- "internalType": "PayoutId",
1952
- "name": "payoutId",
1953
- "type": "uint24"
1954
- },
1955
2262
  {
1956
2263
  "internalType": "StateId",
1957
2264
  "name": "newState",
1958
2265
  "type": "uint8"
1959
2266
  }
1960
2267
  ],
1961
- "name": "updatePayoutState",
2268
+ "name": "updateBundleState",
1962
2269
  "outputs": [],
1963
2270
  "stateMutability": "nonpayable",
1964
2271
  "type": "function"
@@ -1967,99 +2274,29 @@
1967
2274
  "inputs": [
1968
2275
  {
1969
2276
  "internalType": "NftId",
1970
- "name": "policyNftId",
2277
+ "name": "componentNftId",
1971
2278
  "type": "uint96"
1972
2279
  },
1973
2280
  {
1974
2281
  "components": [
1975
2282
  {
1976
- "internalType": "NftId",
1977
- "name": "productNftId",
1978
- "type": "uint96"
1979
- },
1980
- {
1981
- "internalType": "NftId",
1982
- "name": "bundleNftId",
1983
- "type": "uint96"
1984
- },
1985
- {
1986
- "internalType": "ReferralId",
1987
- "name": "referralId",
1988
- "type": "bytes8"
1989
- },
1990
- {
1991
- "internalType": "RiskId",
1992
- "name": "riskId",
1993
- "type": "bytes8"
1994
- },
1995
- {
1996
- "internalType": "Amount",
1997
- "name": "sumInsuredAmount",
1998
- "type": "uint96"
1999
- },
2000
- {
2001
- "internalType": "Amount",
2002
- "name": "premiumAmount",
2003
- "type": "uint96"
2004
- },
2005
- {
2006
- "internalType": "Amount",
2007
- "name": "premiumPaidAmount",
2008
- "type": "uint96"
2009
- },
2010
- {
2011
- "internalType": "Seconds",
2012
- "name": "lifetime",
2013
- "type": "uint40"
2283
+ "internalType": "string",
2284
+ "name": "name",
2285
+ "type": "string"
2014
2286
  },
2015
2287
  {
2016
- "internalType": "bytes",
2017
- "name": "applicationData",
2018
- "type": "bytes"
2288
+ "internalType": "contract TokenHandler",
2289
+ "name": "tokenHandler",
2290
+ "type": "address"
2019
2291
  },
2020
2292
  {
2021
2293
  "internalType": "bytes",
2022
- "name": "processData",
2294
+ "name": "data",
2023
2295
  "type": "bytes"
2024
- },
2025
- {
2026
- "internalType": "uint16",
2027
- "name": "claimsCount",
2028
- "type": "uint16"
2029
- },
2030
- {
2031
- "internalType": "uint16",
2032
- "name": "openClaimsCount",
2033
- "type": "uint16"
2034
- },
2035
- {
2036
- "internalType": "Amount",
2037
- "name": "claimAmount",
2038
- "type": "uint96"
2039
- },
2040
- {
2041
- "internalType": "Amount",
2042
- "name": "payoutAmount",
2043
- "type": "uint96"
2044
- },
2045
- {
2046
- "internalType": "Timestamp",
2047
- "name": "activatedAt",
2048
- "type": "uint40"
2049
- },
2050
- {
2051
- "internalType": "Timestamp",
2052
- "name": "expiredAt",
2053
- "type": "uint40"
2054
- },
2055
- {
2056
- "internalType": "Timestamp",
2057
- "name": "closedAt",
2058
- "type": "uint40"
2059
2296
  }
2060
2297
  ],
2061
- "internalType": "struct IPolicy.PolicyInfo",
2062
- "name": "policy",
2298
+ "internalType": "struct IComponents.ComponentInfo",
2299
+ "name": "componentInfo",
2063
2300
  "type": "tuple"
2064
2301
  },
2065
2302
  {
@@ -2068,7 +2305,7 @@
2068
2305
  "type": "uint8"
2069
2306
  }
2070
2307
  ],
2071
- "name": "updatePolicy",
2308
+ "name": "updateComponent",
2072
2309
  "outputs": [],
2073
2310
  "stateMutability": "nonpayable",
2074
2311
  "type": "function"
@@ -2077,99 +2314,34 @@
2077
2314
  "inputs": [
2078
2315
  {
2079
2316
  "internalType": "NftId",
2080
- "name": "policyNftId",
2317
+ "name": "distributorNftId",
2081
2318
  "type": "uint96"
2082
2319
  },
2083
2320
  {
2084
2321
  "components": [
2085
2322
  {
2086
- "internalType": "NftId",
2087
- "name": "productNftId",
2088
- "type": "uint96"
2089
- },
2090
- {
2091
- "internalType": "NftId",
2092
- "name": "bundleNftId",
2093
- "type": "uint96"
2094
- },
2095
- {
2096
- "internalType": "ReferralId",
2097
- "name": "referralId",
2098
- "type": "bytes8"
2099
- },
2100
- {
2101
- "internalType": "RiskId",
2102
- "name": "riskId",
2323
+ "internalType": "DistributorType",
2324
+ "name": "distributorType",
2103
2325
  "type": "bytes8"
2104
2326
  },
2105
2327
  {
2106
- "internalType": "Amount",
2107
- "name": "sumInsuredAmount",
2108
- "type": "uint96"
2109
- },
2110
- {
2111
- "internalType": "Amount",
2112
- "name": "premiumAmount",
2113
- "type": "uint96"
2114
- },
2115
- {
2116
- "internalType": "Amount",
2117
- "name": "premiumPaidAmount",
2118
- "type": "uint96"
2119
- },
2120
- {
2121
- "internalType": "Seconds",
2122
- "name": "lifetime",
2123
- "type": "uint40"
2328
+ "internalType": "bool",
2329
+ "name": "active",
2330
+ "type": "bool"
2124
2331
  },
2125
2332
  {
2126
- "internalType": "bytes",
2127
- "name": "applicationData",
2128
- "type": "bytes"
2333
+ "internalType": "uint32",
2334
+ "name": "numPoliciesSold",
2335
+ "type": "uint32"
2129
2336
  },
2130
2337
  {
2131
2338
  "internalType": "bytes",
2132
- "name": "processData",
2339
+ "name": "data",
2133
2340
  "type": "bytes"
2134
- },
2135
- {
2136
- "internalType": "uint16",
2137
- "name": "claimsCount",
2138
- "type": "uint16"
2139
- },
2140
- {
2141
- "internalType": "uint16",
2142
- "name": "openClaimsCount",
2143
- "type": "uint16"
2144
- },
2145
- {
2146
- "internalType": "Amount",
2147
- "name": "claimAmount",
2148
- "type": "uint96"
2149
- },
2150
- {
2151
- "internalType": "Amount",
2152
- "name": "payoutAmount",
2153
- "type": "uint96"
2154
- },
2155
- {
2156
- "internalType": "Timestamp",
2157
- "name": "activatedAt",
2158
- "type": "uint40"
2159
- },
2160
- {
2161
- "internalType": "Timestamp",
2162
- "name": "expiredAt",
2163
- "type": "uint40"
2164
- },
2165
- {
2166
- "internalType": "Timestamp",
2167
- "name": "closedAt",
2168
- "type": "uint40"
2169
2341
  }
2170
2342
  ],
2171
- "internalType": "struct IPolicy.PolicyInfo",
2172
- "name": "policy",
2343
+ "internalType": "struct IDistribution.DistributorInfo",
2344
+ "name": "info",
2173
2345
  "type": "tuple"
2174
2346
  },
2175
2347
  {
@@ -2178,7 +2350,7 @@
2178
2350
  "type": "uint8"
2179
2351
  }
2180
2352
  ],
2181
- "name": "updatePolicyClaims",
2353
+ "name": "updateDistributor",
2182
2354
  "outputs": [],
2183
2355
  "stateMutability": "nonpayable",
2184
2356
  "type": "function"
@@ -2187,7 +2359,7 @@
2187
2359
  "inputs": [
2188
2360
  {
2189
2361
  "internalType": "NftId",
2190
- "name": "policyNftId",
2362
+ "name": "distributorNftId",
2191
2363
  "type": "uint96"
2192
2364
  },
2193
2365
  {
@@ -2196,7 +2368,7 @@
2196
2368
  "type": "uint8"
2197
2369
  }
2198
2370
  ],
2199
- "name": "updatePolicyState",
2371
+ "name": "updateDistributorState",
2200
2372
  "outputs": [],
2201
2373
  "stateMutability": "nonpayable",
2202
2374
  "type": "function"
@@ -2204,41 +2376,56 @@
2204
2376
  {
2205
2377
  "inputs": [
2206
2378
  {
2207
- "internalType": "NftId",
2208
- "name": "poolNftId",
2209
- "type": "uint96"
2379
+ "internalType": "DistributorType",
2380
+ "name": "distributorType",
2381
+ "type": "bytes8"
2210
2382
  },
2211
2383
  {
2212
2384
  "components": [
2213
2385
  {
2214
- "internalType": "string",
2215
- "name": "name",
2216
- "type": "string"
2386
+ "internalType": "UFixed",
2387
+ "name": "minDiscountPercentage",
2388
+ "type": "uint160"
2389
+ },
2390
+ {
2391
+ "internalType": "NftId",
2392
+ "name": "distributionNftId",
2393
+ "type": "uint96"
2394
+ },
2395
+ {
2396
+ "internalType": "UFixed",
2397
+ "name": "maxDiscountPercentage",
2398
+ "type": "uint160"
2399
+ },
2400
+ {
2401
+ "internalType": "uint32",
2402
+ "name": "maxReferralCount",
2403
+ "type": "uint32"
2217
2404
  },
2218
2405
  {
2219
- "internalType": "contract IERC20Metadata",
2220
- "name": "token",
2221
- "type": "address"
2406
+ "internalType": "Seconds",
2407
+ "name": "maxReferralLifetime",
2408
+ "type": "uint40"
2222
2409
  },
2223
2410
  {
2224
- "internalType": "contract TokenHandler",
2225
- "name": "tokenHandler",
2226
- "type": "address"
2411
+ "internalType": "bool",
2412
+ "name": "allowSelfReferrals",
2413
+ "type": "bool"
2227
2414
  },
2228
2415
  {
2229
- "internalType": "address",
2230
- "name": "wallet",
2231
- "type": "address"
2416
+ "internalType": "bool",
2417
+ "name": "allowRenewals",
2418
+ "type": "bool"
2232
2419
  },
2233
2420
  {
2234
- "internalType": "Amount",
2235
- "name": "balanceAmount",
2236
- "type": "uint96"
2421
+ "internalType": "UFixed",
2422
+ "name": "commissionPercentage",
2423
+ "type": "uint160"
2237
2424
  },
2238
2425
  {
2239
- "internalType": "Amount",
2240
- "name": "feeAmount",
2241
- "type": "uint96"
2426
+ "internalType": "string",
2427
+ "name": "name",
2428
+ "type": "string"
2242
2429
  },
2243
2430
  {
2244
2431
  "internalType": "bytes",
@@ -2246,7 +2433,7 @@
2246
2433
  "type": "bytes"
2247
2434
  }
2248
2435
  ],
2249
- "internalType": "struct IComponents.ComponentInfo",
2436
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2250
2437
  "name": "info",
2251
2438
  "type": "tuple"
2252
2439
  },
@@ -2256,7 +2443,7 @@
2256
2443
  "type": "uint8"
2257
2444
  }
2258
2445
  ],
2259
- "name": "updatePoolSetup",
2446
+ "name": "updateDistributorType",
2260
2447
  "outputs": [],
2261
2448
  "stateMutability": "nonpayable",
2262
2449
  "type": "function"
@@ -2264,9 +2451,9 @@
2264
2451
  {
2265
2452
  "inputs": [
2266
2453
  {
2267
- "internalType": "NftId",
2268
- "name": "poolNftId",
2269
- "type": "uint96"
2454
+ "internalType": "DistributorType",
2455
+ "name": "distributorType",
2456
+ "type": "bytes8"
2270
2457
  },
2271
2458
  {
2272
2459
  "internalType": "StateId",
@@ -2274,7 +2461,7 @@
2274
2461
  "type": "uint8"
2275
2462
  }
2276
2463
  ],
2277
- "name": "updatePoolSetupState",
2464
+ "name": "updateDistributorTypeState",
2278
2465
  "outputs": [],
2279
2466
  "stateMutability": "nonpayable",
2280
2467
  "type": "function"
@@ -2283,78 +2470,49 @@
2283
2470
  "inputs": [
2284
2471
  {
2285
2472
  "internalType": "NftId",
2286
- "name": "productNftId",
2473
+ "name": "poolNftId",
2287
2474
  "type": "uint96"
2288
2475
  },
2289
2476
  {
2290
2477
  "components": [
2291
2478
  {
2292
- "internalType": "contract IERC20Metadata",
2293
- "name": "token",
2294
- "type": "address"
2295
- },
2296
- {
2297
- "internalType": "contract TokenHandler",
2298
- "name": "tokenHandler",
2299
- "type": "address"
2479
+ "internalType": "Amount",
2480
+ "name": "maxBalanceAmount",
2481
+ "type": "uint96"
2300
2482
  },
2301
2483
  {
2302
- "internalType": "NftId",
2303
- "name": "distributionNftId",
2304
- "type": "uint96"
2484
+ "internalType": "UFixed",
2485
+ "name": "collateralizationLevel",
2486
+ "type": "uint160"
2305
2487
  },
2306
2488
  {
2307
- "internalType": "NftId",
2308
- "name": "poolNftId",
2309
- "type": "uint96"
2489
+ "internalType": "UFixed",
2490
+ "name": "retentionLevel",
2491
+ "type": "uint160"
2310
2492
  },
2311
2493
  {
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"
2494
+ "internalType": "bool",
2495
+ "name": "isInterceptingBundleTransfers",
2496
+ "type": "bool"
2327
2497
  },
2328
2498
  {
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"
2499
+ "internalType": "bool",
2500
+ "name": "isProcessingConfirmedClaims",
2501
+ "type": "bool"
2344
2502
  },
2345
2503
  {
2346
2504
  "internalType": "bool",
2347
- "name": "isIntercepting",
2505
+ "name": "isExternallyManaged",
2348
2506
  "type": "bool"
2349
2507
  },
2350
2508
  {
2351
- "internalType": "address",
2352
- "name": "wallet",
2353
- "type": "address"
2509
+ "internalType": "bool",
2510
+ "name": "isVerifyingApplications",
2511
+ "type": "bool"
2354
2512
  }
2355
2513
  ],
2356
- "internalType": "struct ISetup.ProductSetupInfo",
2357
- "name": "setup",
2514
+ "internalType": "struct IComponents.PoolInfo",
2515
+ "name": "info",
2358
2516
  "type": "tuple"
2359
2517
  },
2360
2518
  {
@@ -2363,25 +2521,7 @@
2363
2521
  "type": "uint8"
2364
2522
  }
2365
2523
  ],
2366
- "name": "updateProductSetup",
2367
- "outputs": [],
2368
- "stateMutability": "nonpayable",
2369
- "type": "function"
2370
- },
2371
- {
2372
- "inputs": [
2373
- {
2374
- "internalType": "NftId",
2375
- "name": "productNftId",
2376
- "type": "uint96"
2377
- },
2378
- {
2379
- "internalType": "StateId",
2380
- "name": "newState",
2381
- "type": "uint8"
2382
- }
2383
- ],
2384
- "name": "updateProductSetupState",
2524
+ "name": "updatePool",
2385
2525
  "outputs": [],
2386
2526
  "stateMutability": "nonpayable",
2387
2527
  "type": "function"
@@ -2397,18 +2537,13 @@
2397
2537
  "components": [
2398
2538
  {
2399
2539
  "internalType": "NftId",
2400
- "name": "distributorNftId",
2540
+ "name": "distributionNftId",
2401
2541
  "type": "uint96"
2402
2542
  },
2403
2543
  {
2404
- "internalType": "string",
2405
- "name": "referralCode",
2406
- "type": "string"
2407
- },
2408
- {
2409
- "internalType": "UFixed",
2410
- "name": "discountPercentage",
2411
- "type": "uint256"
2544
+ "internalType": "NftId",
2545
+ "name": "distributorNftId",
2546
+ "type": "uint96"
2412
2547
  },
2413
2548
  {
2414
2549
  "internalType": "uint32",
@@ -2420,11 +2555,21 @@
2420
2555
  "name": "usedReferrals",
2421
2556
  "type": "uint32"
2422
2557
  },
2558
+ {
2559
+ "internalType": "UFixed",
2560
+ "name": "discountPercentage",
2561
+ "type": "uint160"
2562
+ },
2423
2563
  {
2424
2564
  "internalType": "Timestamp",
2425
2565
  "name": "expiryAt",
2426
2566
  "type": "uint40"
2427
2567
  },
2568
+ {
2569
+ "internalType": "string",
2570
+ "name": "referralCode",
2571
+ "type": "string"
2572
+ },
2428
2573
  {
2429
2574
  "internalType": "bytes",
2430
2575
  "name": "data",
@@ -2467,25 +2612,55 @@
2467
2612
  {
2468
2613
  "inputs": [
2469
2614
  {
2470
- "internalType": "RiskId",
2471
- "name": "riskId",
2472
- "type": "bytes8"
2615
+ "internalType": "RequestId",
2616
+ "name": "requestId",
2617
+ "type": "uint64"
2473
2618
  },
2474
2619
  {
2475
2620
  "components": [
2476
2621
  {
2477
2622
  "internalType": "NftId",
2478
- "name": "productNftId",
2623
+ "name": "requesterNftId",
2624
+ "type": "uint96"
2625
+ },
2626
+ {
2627
+ "internalType": "NftId",
2628
+ "name": "oracleNftId",
2479
2629
  "type": "uint96"
2480
2630
  },
2631
+ {
2632
+ "internalType": "bool",
2633
+ "name": "isCancelled",
2634
+ "type": "bool"
2635
+ },
2636
+ {
2637
+ "internalType": "Timestamp",
2638
+ "name": "respondedAt",
2639
+ "type": "uint40"
2640
+ },
2641
+ {
2642
+ "internalType": "Timestamp",
2643
+ "name": "expiredAt",
2644
+ "type": "uint40"
2645
+ },
2646
+ {
2647
+ "internalType": "string",
2648
+ "name": "callbackMethodName",
2649
+ "type": "string"
2650
+ },
2481
2651
  {
2482
2652
  "internalType": "bytes",
2483
- "name": "data",
2653
+ "name": "requestData",
2654
+ "type": "bytes"
2655
+ },
2656
+ {
2657
+ "internalType": "bytes",
2658
+ "name": "responseData",
2484
2659
  "type": "bytes"
2485
2660
  }
2486
2661
  ],
2487
- "internalType": "struct IRisk.RiskInfo",
2488
- "name": "risk",
2662
+ "internalType": "struct IOracle.RequestInfo",
2663
+ "name": "request",
2489
2664
  "type": "tuple"
2490
2665
  },
2491
2666
  {
@@ -2494,7 +2669,7 @@
2494
2669
  "type": "uint8"
2495
2670
  }
2496
2671
  ],
2497
- "name": "updateRisk",
2672
+ "name": "updateRequest",
2498
2673
  "outputs": [],
2499
2674
  "stateMutability": "nonpayable",
2500
2675
  "type": "function"
@@ -2502,9 +2677,9 @@
2502
2677
  {
2503
2678
  "inputs": [
2504
2679
  {
2505
- "internalType": "RiskId",
2506
- "name": "riskId",
2507
- "type": "bytes8"
2680
+ "internalType": "RequestId",
2681
+ "name": "requestId",
2682
+ "type": "uint64"
2508
2683
  },
2509
2684
  {
2510
2685
  "internalType": "StateId",
@@ -2512,104 +2687,120 @@
2512
2687
  "type": "uint8"
2513
2688
  }
2514
2689
  ],
2515
- "name": "updateRiskState",
2690
+ "name": "updateRequestState",
2516
2691
  "outputs": [],
2517
2692
  "stateMutability": "nonpayable",
2518
2693
  "type": "function"
2519
2694
  }
2520
2695
  ],
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",
2696
+ "bytecode": "0x60806040525f6006553480156012575f80fd5b50615af3806100205f395ff3fe608060405234801561000f575f80fd5b5060043610610297575f3560e01c80637d417f0d11610161578063bf1db3f9116100ca578063e9e96c7011610084578063e9e96c70146107b5578063f0ea17c3146107f2578063f48016ce14610812578063f9b3fe3c14610833578063fe1f18d614610846578063febe92af14610859575f80fd5b8063bf1db3f914610729578063bf7e214f1461073c578063d06458c61461075c578063d7719f461461077c578063e2586c581461078f578063e80c61ed146107a2575f80fd5b80639f8151e51161011b5780639f8151e514610633578063a284222914610646578063a5961b4c14610659578063af902500146106f0578063b0628dc314610703578063b4d7efe214610716575f80fd5b80637d417f0d146105a65780638129fc1c146105b95780638eb9000d146105c15780638fb36037146105ec578063962605591461060d57806396f4df2f14610620575f80fd5b80634793b4ab1161020357806354f1fa81116101bd57806354f1fa81146104c757806357f80bbf146104da5780635eede174146104fa578063623e7a0f1461056d578063733044ca146105805780637a9e5e4b14610593575f80fd5b80634793b4ab14610448578063490840b4146104685780634a8243921461047b5780634bb2d1971461048e578063533086d4146104a157806353ebe129146104b4575f80fd5b8063248a77dd11610254578063248a77dd146103a157806327b1d792146103b45780632bce2d7c146103d457806334777712146103e757806338a699a41461041257806340529b0f14610435575f80fd5b80630232ca491461029b57806308077cd9146102e357806309648a9d146102f85780630d358181146103315780631d3be47714610356578063228e42ec14610376575b5f80fd5b6102c66102a936600461455f565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6102f66102f13660046147f5565b610879565b005b61031f610306366004614854565b5f90815260076020526040902054610100900460ff1690565b60405160ff90911681526020016102da565b61031f61033f36600461486b565b60ff9081165f908152602081905260409020541690565b61036961036436600461489b565b6109d6565b6040516102da91906148e4565b6102c661038436600461455f565b6001600160601b039081165f908152600260205260409020541690565b6102c66103af3660046149a2565b610c4a565b6103c76103c236600461455f565b610c65565b6040516102da91906149d9565b6102f66103e2366004614afd565b610cff565b6103fa6103f5366004614c2e565b610def565b6040516001600160401b0390911681526020016102da565b610425610420366004614854565b610fe1565b60405190151581526020016102da565b6102f6610443366004614c5f565b61106f565b61045b61045636600461455f565b6110f5565b6040516102da9190614c8b565b6102f6610476366004614db4565b6111e8565b6102f6610489366004614e7c565b61132e565b6102f661049c366004614fc3565b611517565b6102c66104af3660046149a2565b6116fd565b6102c66104c23660046149a2565b611711565b6102f66104d5366004615005565b611725565b6104ed6104e836600461455f565b611883565b6040516102da919061505e565b61054361050836600461455f565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016102da565b6102f661057b36600461517d565b611964565b6102f661058e3660046151d4565b611a38565b6102f66105a1366004615217565b611c05565b6102f66105b4366004615232565b611c8b565b6102f6611e8a565b6102c66105cf36600461455f565b6001600160601b039081165f908152600360205260409020541690565b6105f4612002565b6040516001600160e01b031990911681526020016102da565b6102f661061b366004615275565b612038565b6102f661062e3660046152b8565b61220f565b6102c66106413660046149a2565b61233e565b6102f66106543660046152f6565b612352565b6106bf610667366004614854565b60408051606080820183525f80835260208084018290529284018190529384526007825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016102da565b6102f66106fe3660046152f6565b61243f565b6102c66107113660046149a2565b61252c565b6102f6610724366004615312565b612540565b61042561073736600461486b565b612627565b610744612673565b6040516001600160a01b0390911681526020016102da565b61076f61076a36600461489b565b61268e565b6040516102da919061532e565b6102f661078a36600461540c565b6128ad565b6102f661079d36600461544e565b6129e7565b6102c66107b03660046149a2565b612aab565b6104256107c3366004615490565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b61080561080036600461455f565b612abf565b6040516102da91906154cd565b61082561082036600461551b565b612bb6565b6040519081526020016102da565b6102f661084136600461554d565b612c37565b6102f6610854366004614c5f565b612d17565b61086c61086736600461558f565b612d8e565b6040516102da91906155aa565b610885335b5f36612f5f565b5f61089184601661305d565b5f8181526007602052604081205491925090610100900460ff1690505f6108b883856130a8565b5f848152600d602090815260409182902088518154838b0151948b015160608c01516001600160601b03908116600160781b026bffffffffffffffffffffffff60781b1964ffffffffff938416600160501b0216600160501b600160d81b0319988416650100000000000269ffffffffffffffffffff19909516939095169290921792909217959095169190911793909317815560808901518051920151909216600160a01b026001600160a01b0390911617600182015560a08701519192508691600282019061098990826156ec565b509050507f2f017e855ca4666f28134f4e57d6c215643dd22172128f0455f479cd7c57f2e88683863332866040516109c6969594939291906157a6565b60405180910390a1505050505050565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b81529091600c9173__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610a59906001600160c01b03198816906004016157f1565b602060405180830381865af4158015610a74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a989190615806565b815260208082019290925260409081015f2081516101008101835281546001600160601b038082168352600160601b8204169482019490945263ffffffff600160c01b8504811693820193909352600160e01b909304909116606083015260018101546001600160a01b038116608084015264ffffffffff600160a01b9091041660a083015260028101805460c084019190610b339061566b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5f9061566b565b8015610baa5780601f10610b8157610100808354040283529160200191610baa565b820191905f5260205f20905b815481529060010190602001808311610b8d57829003601f168201915b50505050508152602001600382018054610bc39061566b565b80601f0160208091040260200160405190810160405280929190818152602001828054610bef9061566b565b8015610c3a5780601f10610c1157610100808354040283529160200191610c3a565b820191905f5260205f20905b815481529060010190602001808311610c1d57829003601f168201915b5050505050815250509050919050565b5f610c543361087e565b610c5e83836132bd565b9392505050565b604080516080810182525f8082526020820181905291810191909152606080820152600b5f610c9584601761305d565b815260208082019290925260409081015f208151608081018352815460c081901b6001600160c01b0319168252600160401b810460ff16151594820194909452600160481b90930463ffffffff1691830191909152600181018054606084019190610bc39061566b565b610d083361087e565b5f610d1484601761305d565b5f8181526007602052604081205491925090610100900460ff1690505f610d3b83856130a8565b5f848152600b602090815260409182902088518154928a0151938a015163ffffffff16600160481b0263ffffffff60481b19941515600160401b0268ffffffffffffffffff1990941660c09290921c919091179290921792909216178155606087015191925086916001820190610db290826156ec565b509050507fe960847e97f8a43de8e7a7a6152c864a89cb6b55e8b46681b41d4c614fbee9778683863332866040516109c6969594939291906157a6565b5f610df93361087e565b610e0161342d565b604051630f37f38f60e41b81526001600160401b03821660048201529091505f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e809190615806565b9050610e8b816134bd565b5f818152600e602090815260409182902085518154928701519387015160608801516001600160601b039283166001600160c01b031990951694909417600160601b92909516919091029390931765ffffffffffff60c01b1916600160c01b9315159390930264ffffffffff60c81b191692909217600160c81b64ffffffffff92831602178255608085015160018301805464ffffffffff19169190921617905560a08401518491906002820190610f4390826156ec565b5060c08201516003820190610f5890826156ec565b5060e08201516004820190610f6d90826156ec565b5050505f818152600760205260409020547fe296db687d9aabcda96659491302a529c398d8dcf066ecab41adebed06a71d55908390610100900460ff16604080516001600160401b03909316835260ff9091166020830152339082015232606082015260800160405180910390a150919050565b5f8181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015611045573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611069919061581d565b92915050565b6110783361087e565b5f61108483601761305d565b5f8181526007602052604081205491925090610100900460ff1690505f6110ab83856130a8565b90507fe960847e97f8a43de8e7a7a6152c864a89cb6b55e8b46681b41d4c614fbee9778583863332866040516110e6969594939291906157a6565b60405180910390a15050505050565b61113c6040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b600d5f61114a84601661305d565b815260208082019290925260409081015f20815160c081018352815464ffffffffff8082168352650100000000008204811683870152600160501b820416828501526001600160601b03600160781b90910481166060830152835180850190945260018301546001600160a01b0381168552600160a01b90041693830193909352608083019190915260028101805460a084019190610bc39061566b565b6111f13361087e565b5f6111fd83600f61305d565b9050611208816134bd565b5f8181526009602090815260408083208551868401516001600160601b03909116600160601b6001600160a01b03928316021782558683015160019092018054606089015160808a015160a08b015160c08c0151969095166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b921515929092029190911760ff60b81b1916600160b81b9215159290920291909117905560079091529020547f55c89d942c4cdaf50df15dfa812580b4246be40868dd2e7b4f002ec972657d6b908490610100900460ff165b604080516001600160601b03909316835260ff909116602083015233908201523260608201526080015b60405180910390a1505050565b6113373361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061137a906001600160c01b03198716906004016157f1565b602060405180830381865af4158015611395573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b99190615806565b90506113c4816134bd565b5f818152600c6020908152604091829020845181549286015193860151606087015163ffffffff908116600160e01b026001600160e01b0391909216600160c01b02166001600160c01b036001600160601b03968716600160601b026001600160c01b03199096169690931695909517939093171692909217178155608083015160018201805460a086015164ffffffffff16600160a01b026001600160c81b03199091166001600160a01b039093169290921791909117905560c0830151839190600282019061149590826156ec565b5060e082015160038201906114aa90826156ec565b5050505f818152600760205260409020547f91da34dfa31974c4906c0658e7beb45ba0721f93a70e50942e77932cce7d8b0d908490610100900460ff165b604080516001600160c01b0319909316835260ff90911660208301523390820152326060820152608001611321565b6115203361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611563906001600160c01b03198716906004016157f1565b602060405180830381865af415801561157e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a29190615806565b90506115ad816134bd565b5f818152600a60209081526040918290208451918501516001600160a01b03928316600160a01b6001600160601b039092168202178255928501516001820180546060880151608089015160a08a015160c08b01519588166001600160c01b03199094169390931763ffffffff9092169097021765ffffffffffff60c01b1916600160c01b64ffffffffff9097169690960260ff60e81b191695909517600160e81b951515959095029490941760ff60f01b1916600160f01b911515919091021790925560e08401516002830180546001600160a01b0319169190921617905561010083015183919060038201906116a590826156ec565b5061012082015160048201906116bb90826156ec565b5050505f818152600760205260409020547f05bfde9bf10cfb02076d77cd133bc8b091c41ef515166c17b2361a684fc6b924908490610100900460ff166114e8565b5f6117073361087e565b610c5e8383613768565b5f61171b3361087e565b610c5e83836138c0565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611787573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117ab919061581d565b156117d95760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff8085169083161461181a5760405163bae587e160e01b815230600482015260ff80851660248301528086166044830152831660648201526084016117d0565b60ff8084165f9081526001602090815260408083208885168452825280832085851684529091529020541661187d5760405163f33b49a360e01b815230600482015260ff80851660248301528086166044830152821660648201526084016117d0565b50505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915260095f6118c984600f61305d565b815260208082019290925260409081015f20815160e08101835281546001600160601b03811682526001600160a01b03600160601b9091048116948201949094526001909101549283169181019190915260ff600160a01b8304811615156060830152600160a81b8304811615156080830152600160b01b83048116151560a0830152600160b81b909204909116151560c082015292915050565b61196d3361087e565b5f61197984600b61305d565b5f8181526007602052604081205491925090610100900460ff1690505f6119a083856130a8565b5f8481526008602052604090208651919250869181906119c090826156ec565b5060208201516001820180546001600160a01b0319166001600160a01b03909216919091179055604082015160028201906119fb90826156ec565b509050507ffb6ab1b17bdd1e79b770513680d33dd87b6b352476f3d4f9fc2418ad57ab99058683863332866040516109c6969594939291906157a6565b611a413361087e565b604051630f37f38f60e41b81526001600160401b03841660048201525f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015611a99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611abd9190615806565b5f8181526007602052604081205491925090610100900460ff1690505f611ae483856130a8565b5f848152600e602090815260409182902088518154928a0151938a015160608b01516001600160601b039283166001600160c01b031990951694909417600160601b92909516919091029390931765ffffffffffff60c01b1916600160c01b9315159390930264ffffffffff60c81b191692909217600160c81b64ffffffffff92831602178255608088015160018301805464ffffffffff19169190921617905560a087015191925086916002820190611b9e90826156ec565b5060c08201516003820190611bb390826156ec565b5060e08201516004820190611bc890826156ec565b509050507fcd6efe20de8bda1c84f56479214f5c845ed9932acb46890901bb98bef682554d8683863332866040516109c696959493929190615838565b33611c0e612673565b6001600160a01b0316816001600160a01b031614611c495760405162d1953b60e31b81526001600160a01b03821660048201526024016117d0565b816001600160a01b03163b5f03611c7e576040516361798f2f60e11b81526001600160a01b03831660048201526024016117d0565b611c8782613a18565b5050565b611c943361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611cd7906001600160c01b03198816906004016157f1565b602060405180830381865af4158015611cf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d169190615806565b5f8181526007602052604081205491925090610100900460ff1690505f611d3d83856130a8565b5f848152600a60209081526040918290208851918901516001600160a01b03928316600160a01b6001600160601b0390921682021782559289015160018201805460608c015160808d015160a08e015160c08f01519588166001600160c01b03199094169390931763ffffffff9092169097021765ffffffffffff60c01b1916600160c01b64ffffffffff9097169690960260ff60e81b191695909517600160e81b951515959095029490941760ff60f01b1916600160f01b911515919091021790925560e08801516002830180546001600160a01b0319169190921617905561010087015191925086916003820190611e3790826156ec565b506101208201516004820190611e4d90826156ec565b509050507fa8e6a06b96b5dad840c21bc79949e878d0f743ad0a1ba821d6d0870fcec079bb8683863332866040516109c696959493929190615883565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015611ece5750825b90505f826001600160401b03166001148015611ee95750303b155b905081158015611ef7575080155b15611f155760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f3f57845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa491906158cf565b9050611faf81613a78565b611fb7613a8c565b50508315611ffb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016110e6565b5050505050565b5f80516020615a9e83398151915280545f9190600160a01b900460ff16612029575f612032565b638fb3603760e01b5b91505090565b6120413361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590612084906001600160c01b03198816906004016157f1565b602060405180830381865af415801561209f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c39190615806565b5f8181526007602052604081205491925090610100900460ff1690505f6120ea83856130a8565b5f848152600c602090815260409182902088518154928a0151938a015160608b015163ffffffff908116600160e01b026001600160e01b0391909216600160c01b02166001600160c01b036001600160601b03968716600160601b026001600160c01b03199096169690931695909517939093171692909217178155608087015160018201805460a08a015164ffffffffff16600160a01b026001600160c81b03199091166001600160a01b039093169290921791909117905560c0870151919250869160028201906121bd90826156ec565b5060e082015160038201906121d290826156ec565b509050507fc4ad93e06e3375a8710bb9cd30ed30b0a69d9aab524480a05f51568c66b8e3c98683863332866040516109c696959493929190615883565b6122183361087e565b5f61222484600f61305d565b5f8181526007602052604081205491925090610100900460ff1690505f61224b83856130a8565b5f848152600960209081526040918290208851918901516001600160601b03909216600160601b6001600160a01b0393841602178155888301516001909101805460608b015160808c015160a08d015160c08e0151959096166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b931515939093029290921760ff60b81b1916600160b81b91151591909102179055519091507fab6330e3b0f09e536bb75b9c192c588e6833a785d9097c0483661778fc3b5ca1906109c6908890859088903390329088906157a6565b5f6123483361087e565b610c5e8383613a9e565b61235b3361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061239e906001600160c01b03198716906004016157f1565b602060405180830381865af41580156123b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123dd9190615806565b5f8181526007602052604081205491925090610100900460ff1690505f61240483856130a8565b90507fa8e6a06b96b5dad840c21bc79949e878d0f743ad0a1ba821d6d0870fcec079bb8583863332866040516110e696959493929190615883565b6124483361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061248b906001600160c01b03198716906004016157f1565b602060405180830381865af41580156124a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ca9190615806565b5f8181526007602052604081205491925090610100900460ff1690505f6124f183856130a8565b90507fc4ad93e06e3375a8710bb9cd30ed30b0a69d9aab524480a05f51568c66b8e3c98583863332866040516110e696959493929190615883565b5f6125363361087e565b610c5e8383613bf6565b6125493361087e565b604051630f37f38f60e41b81526001600160401b03831660048201525f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156125a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c59190615806565b5f8181526007602052604081205491925090610100900460ff1690505f6125ec83856130a8565b90507fcd6efe20de8bda1c84f56479214f5c845ed9932acb46890901bb98bef682554d8583863332866040516110e696959493929190615838565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf9060240161102a565b5f80516020615a9e833981519152546001600160a01b031690565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b81529091600a9173__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612721906001600160c01b03198816906004016157f1565b602060405180830381865af415801561273c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127609190615806565b815260208082019290925260409081015f2081516101408101835281546001600160a01b0380821683526001600160601b03600160a01b92839004169583019590955260018301548086169483019490945263ffffffff90840416606082015264ffffffffff600160c01b840416608082015260ff600160e81b84048116151560a0830152600160f01b909304909216151560c0830152600281015490921660e08201526003820180549192916101008401919061281d9061566b565b80601f01602080910402602001604051908101604052809291908181526020018280546128499061566b565b80156128945780601f1061286b57610100808354040283529160200191612894565b820191905f5260205f20905b81548152906001019060200180831161287757829003601f168201915b50505050508152602001600482018054610bc39061566b565b6128b63361087e565b6128bf82613d4e565b5f6128cb83601661305d565b90506128d6816134bd565b5f818152600d602090815260409182902084518154838701519487015160608801516001600160601b03908116600160781b026bffffffffffffffffffffffff60781b1964ffffffffff938416600160501b0216600160501b600160d81b0319988416650100000000000269ffffffffffffffffffff19909516939095169290921792909217959095169190911793909317815560808501518051920151909216600160a01b026001600160a01b0390911617600182015560a083015183919060028201906129a590826156ec565b5050505f818152600760205260409020547fe4ae723f12a479272b917f87ec8cec8e499456fd990a74003daf0b80d0b32ed3908490610100900460ff166112f7565b6129f03361087e565b6129f982613d4e565b5f612a0583600b61305d565b9050612a10816134bd565b5f81815260086020526040902082518391908190612a2e90826156ec565b5060208201516001820180546001600160a01b0319166001600160a01b0390921691909117905560408201516002820190612a6990826156ec565b5050505f818152600760205260409020547f99debd4964e0a4ae18ad50bcea2c6cc21c02c47c6526460f830cda565bb35ffd908490610100900460ff166112f7565b5f612ab53361087e565b610c5e8383613e51565b60408051606080820183528082525f60208301529181019190915260085f612ae884600b61305d565b81526020019081526020015f206040518060600160405290815f82018054612b0f9061566b565b80601f0160208091040260200160405190810160405280929190818152602001828054612b3b9061566b565b8015612b865780601f10612b5d57610100808354040283529160200191612b86565b820191905f5260205f20905b815481529060010190602001808311612b6957829003601f168201915b505050918352505060018201546001600160a01b03166020820152600282018054604090920191610bc39061566b565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015612c13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5e9190615806565b612c403361087e565b612c4982613d4e565b5f612c5583601761305d565b9050612c60816134bd565b5f818152600b602090815260409182902084518154928601519386015163ffffffff16600160481b0263ffffffff60481b19941515600160401b0268ffffffffffffffffff1990941660c09290921c91909117929092179290921617815560608301518391906001820190612cd590826156ec565b5050505f818152600760205260409020547f74d7be5c20e6cf628ccae9cc370ffd1d2a95a8164eb772c89be0ed1242752d0e908490610100900460ff166112f7565b612d203361087e565b5f612d2c83601661305d565b5f8181526007602052604081205491925090610100900460ff1690505f612d5383856130a8565b90507f2f017e855ca4666f28134f4e57d6c215643dd22172128f0455f479cd7c57f2e88583863332866040516110e6969594939291906157a6565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091600e9173__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612e26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4a9190615806565b815260208082019290925260409081015f2081516101008101835281546001600160601b038082168352600160601b82041694820194909452600160c01b840460ff16151592810192909252600160c81b90920464ffffffffff9081166060830152600183015416608082015260028201805491929160a084019190612ecf9061566b565b80601f0160208091040260200160405190810160405280929190818152602001828054612efb9061566b565b8015612f465780601f10612f1d57610100808354040283529160200191612f46565b820191905f5260205f20905b815481529060010190602001808311612f2957829003601f168201915b5050505050815260200160038201805461281d9061566b565b5f80516020615a9e8339815191525f80612f97612f7a612673565b8730612f8960045f8a8c6158ea565b612f9291615911565b613fa9565b91509150816130555763ffffffff81161561303257825460ff60a01b1916600160a01b178355612fc5612673565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ff493929190615947565b5f604051808303815f87803b15801561300b575f80fd5b505af115801561301d573d5f803e3d5ffd5b5050845460ff60a01b19168555506130559050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016117d0565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401612bf8565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156130fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061311e919061581d565b1561313f57604051631260077f60e21b8152600481018490526024016117d0565b505f82815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156131b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131da919061581d565b156131fb576040516310b1404560e21b8152600481018690526024016117d0565b60ff8085161461322a57815461321790829060ff168187611725565b815461ff00191661010060ff8616021782555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613271573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132959190615986565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af415801561332c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613350919061581d565b61337857604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f9081526003602052604090205461339c9116846140b1565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fc813323abc29b7cc59ddd274e5941cad2a987aa85c181fbde230bfb449b00096916134159187918791879164ffffffffff909116906159a1565b60405180910390a161342684614136565b5092915050565b600680545f918261343d836159d1565b9091555050600654604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015613494573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134b891906159f5565b905090565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af415801561350d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135319190615a10565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015613584573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135a8919061581d565b156135cb57604051633d61be7d60e11b815260ff821660048201526024016117d0565b5f828152600760205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613636573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061365a919061581d565b1561368457604051637791d47d60e01b81526004810184905260ff831660248201526044016117d0565b61368d82612627565b6136af576040516391eb5e8760e01b815260ff831660048201526024016117d0565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156136f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061371b9190615986565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af41580156137d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137fb919061581d565b61382357604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f908152600460205260409020546138479116846141d5565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5d0252a8f87c13449ff1a0e89d6a9d8dff6a3860c4cbbae6bd98d16f0924115b916134159187918791879164ffffffffff909116906159a1565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af415801561392f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613953919061581d565b61397b57604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f9081526003602052604090205461399f9116846141d5565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fcc72dbc9604f941e2273f4dfa0b71700384aa0f5da7c3fef80ecb075ac0010f8916134159187918791879164ffffffffff909116906159a1565b5f80516020615a9e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613a8061421f565b613a8981614268565b50565b613a9461421f565b613a9c614279565b565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613b0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b31919061581d565b613b5957604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f90815260026020526040902054613b7d9116846140b1565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fa9c12735dda7f4e5a00ab4e6a4cfdc194c4f03f3885a5f18abfa66b77b8cdae3916134159187918791879164ffffffffff909116906159a1565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613c65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c89919061581d565b613cb157604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f90815260026020526040902054613cd59116846141d5565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f561cfda68ea43752c3141f3761d148409c741e20d766a95c64721f2c6ace5ba2916134159187918791879164ffffffffff909116906159a1565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613dbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613de0919061581d565b15613e09576040516314d5804160e01b81526001600160601b03821660048201526024016117d0565b613e1281614136565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613ec0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ee4919061581d565b613f0c57604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f90815260046020526040902054613f309116846140b1565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f52a6c3cc342afb5a41442a5b4757dbdd11e508f0f75a902a75a29d0409905a99916134159187918791879164ffffffffff909116906159a1565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516140179190615a2b565b5f60405180830381855afa9150503d805f811461404f576040519150601f19603f3d011682016040523d82523d5f602084013e614054565b606091505b509150915081156140a6576040815110614086578080602001905181019061407c9190615a41565b90945092506140a6565b60208151106140a657808060200190518101906140a3919061581d565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015614112573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5e9190615a6e565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561417d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141a19190615986565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016140f7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16613a9c57604051631afcd79f60e31b815260040160405180910390fd5b61427061421f565b613a8981613a18565b6142816142d1565b6142896142ee565b614291614322565b614299614366565b6142a1614382565b6142a96143cf565b6142b16143ef565b6142b9614403565b6142c1614442565b6142c961444c565b613a9c614460565b6142de60165b6005614488565b613a9c60165b60055b60c86144ca565b6142f8600b6142d7565b614306600b6005606e6144ca565b614314600b606e60056144ca565b613a9c600b606e60d26144ca565b61432e6015600a614488565b61433d6015600a5b60146144ca565b61434c6015600a5b601e6144ca565b61435a6015600a60286144ca565b613a9c601560286142e7565b614373602b5b603c614488565b613a9c602b5b603c60dc6144ca565b61438e602d6032614488565b61439a602d6032614336565b6143a8602d603260336144ca565b6143b4602d6032614345565b6143c0602d60336142e7565b613a9c602d60335b60486144ca565b6143d9602e61436c565b6143e3602e614379565b613a9c602e603c6143c8565b6143f9602c6142d7565b613a9c602c6142e4565b61440d602f6142d7565b61441c602f60055b60466144ca565b61442a602f600560076144ca565b614436602f6007614415565b613a9c602f60056143c8565b613a9c600f6142d7565b614456600c6142d7565b613a9c60296142d7565b61446a600e6142d7565b61447460176142d7565b61447e60306142d7565b613a9c60316142d7565b60ff8281165f9081526020819052604090205416156144a9576144a9615a89565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561450257614502615a89565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114613a89575f80fd5b803561455a8161453b565b919050565b5f6020828403121561456f575f80fd5b8135610c5e8161453b565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156145b0576145b061457a565b60405290565b60405161010081016001600160401b03811182821017156145b0576145b061457a565b60405160e081016001600160401b03811182821017156145b0576145b061457a565b60405161014081016001600160401b03811182821017156145b0576145b061457a565b64ffffffffff81168114613a89575f80fd5b803561455a8161461e565b6001600160a01b0381168114613a89575f80fd5b803561455a8161463b565b5f6040828403121561466a575f80fd5b604080519081016001600160401b038111828210171561468c5761468c61457a565b604052905080823561469d8161463b565b815260208301356146ad8161453b565b6020919091015292915050565b5f82601f8301126146c9575f80fd5b8135602083015f806001600160401b038411156146e8576146e861457a565b50604051601f19601f85018116603f011681018181106001600160401b03821117156147165761471661457a565b60405283815290508082840187101561472d575f80fd5b838360208301375f602085830101528094505050505092915050565b5f60e08284031215614759575f80fd5b61476161458e565b9050813561476e8161461e565b8152602082013561477e8161461e565b602082015261478f60408301614630565b60408201526147a06060830161454f565b60608201526147b2836080840161465a565b608082015260c08201356001600160401b038111156147cf575f80fd5b6147db848285016146ba565b60a08301525092915050565b60ff81168114613a89575f80fd5b5f805f60608486031215614807575f80fd5b83356148128161453b565b925060208401356001600160401b0381111561482c575f80fd5b61483886828701614749565b9250506040840135614849816147e7565b809150509250925092565b5f60208284031215614864575f80fd5b5035919050565b5f6020828403121561487b575f80fd5b8135610c5e816147e7565b6001600160c01b031981168114613a89575f80fd5b5f602082840312156148ab575f80fd5b8135610c5e81614886565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161491360408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e084015261497b6101208401826148b6565b905060e0840151601f198483030161010085015261499982826148b6565b95945050505050565b5f80604083850312156149b3575f80fd5b82356149be8161453b565b915060208301356149ce8161453b565b809150509250929050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152614a2560a08401826148b6565b949350505050565b8015158114613a89575f80fd5b803561455a81614a2d565b63ffffffff81168114613a89575f80fd5b803561455a81614a45565b5f60808284031215614a71575f80fd5b604051608081016001600160401b0381118282101715614a9357614a9361457a565b6040529050808235614aa481614886565b81526020830135614ab481614a2d565b60208201526040830135614ac781614a45565b604082015260608301356001600160401b03811115614ae4575f80fd5b614af0858286016146ba565b6060830152505092915050565b5f805f60608486031215614b0f575f80fd5b8335614b1a8161453b565b925060208401356001600160401b03811115614b34575f80fd5b61483886828701614a61565b5f6101008284031215614b51575f80fd5b614b596145b6565b9050614b648261454f565b8152614b726020830161454f565b6020820152614b8360408301614a3a565b6040820152614b9460608301614630565b6060820152614ba560808301614630565b608082015260a08201356001600160401b03811115614bc2575f80fd5b614bce848285016146ba565b60a08301525060c08201356001600160401b03811115614bec575f80fd5b614bf8848285016146ba565b60c08301525060e08201356001600160401b03811115614c16575f80fd5b614c22848285016146ba565b60e08301525092915050565b5f60208284031215614c3e575f80fd5b81356001600160401b03811115614c53575f80fd5b614a2584828501614b40565b5f8060408385031215614c70575f80fd5b8235614c7b8161453b565b915060208301356149ce816147e7565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f6080830151614d0160a084018280516001600160a01b031682526020908101516001600160601b0316910152565b5060a083015160e080840152614a256101008401826148b6565b5f60e08284031215614d2b575f80fd5b614d336145d9565b90508135614d408161453b565b81526020820135614d508161463b565b60208201526040820135614d638161463b565b60408201526060820135614d7681614a2d565b6060820152614d8760808301614a3a565b6080820152614d9860a08301614a3a565b60a0820152614da960c08301614a3a565b60c082015292915050565b5f806101008385031215614dc6575f80fd5b8235614dd18161453b565b9150614de08460208501614d1b565b90509250929050565b5f6101008284031215614dfa575f80fd5b614e026145b6565b9050614e0d8261454f565b8152614e1b6020830161454f565b6020820152614e2c60408301614a56565b6040820152614e3d60608301614a56565b6060820152614e4e6080830161464f565b6080820152614e5f60a08301614630565b60a082015260c08201356001600160401b03811115614bec575f80fd5b5f8060408385031215614e8d575f80fd5b8235614e9881614886565b915060208301356001600160401b03811115614eb2575f80fd5b614ebe85828601614de9565b9150509250929050565b5f6101408284031215614ed9575f80fd5b614ee16145fb565b9050614eec8261464f565b8152614efa6020830161454f565b6020820152614f0b6040830161464f565b6040820152614f1c60608301614a56565b6060820152614f2d60808301614630565b6080820152614f3e60a08301614a3a565b60a0820152614f4f60c08301614a3a565b60c0820152614f6060e0830161464f565b60e08201526101008201356001600160401b03811115614f7e575f80fd5b614f8a848285016146ba565b610100830152506101208201356001600160401b03811115614faa575f80fd5b614fb6848285016146ba565b6101208301525092915050565b5f8060408385031215614fd4575f80fd5b8235614fdf81614886565b915060208301356001600160401b03811115614ff9575f80fd5b614ebe85828601614ec8565b5f805f8060808587031215615018575f80fd5b8435615023816147e7565b93506020850135615033816147e7565b92506040850135615043816147e7565b91506060850135615053816147e7565b939692955090935050565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b03604084015116604083015260608301511515606083015260808301516150b5608084018215159052565b5060a08301516150c960a084018215159052565b5060c083015161342660c084018215159052565b5f606082840312156150ed575f80fd5b604051606081016001600160401b038111828210171561510f5761510f61457a565b60405290508082356001600160401b0381111561512a575f80fd5b615136858286016146ba565b82525060208301356151478161463b565b602082015260408301356001600160401b03811115615164575f80fd5b615170858286016146ba565b6040830152505092915050565b5f805f6060848603121561518f575f80fd5b833561519a8161453b565b925060208401356001600160401b038111156151b4575f80fd5b614838868287016150dd565b6001600160401b0381168114613a89575f80fd5b5f805f606084860312156151e6575f80fd5b83356151f1816151c0565b925060208401356001600160401b0381111561520b575f80fd5b61483886828701614b40565b5f60208284031215615227575f80fd5b8135610c5e8161463b565b5f805f60608486031215615244575f80fd5b833561524f81614886565b925060208401356001600160401b03811115615269575f80fd5b61483886828701614ec8565b5f805f60608486031215615287575f80fd5b833561529281614886565b925060208401356001600160401b038111156152ac575f80fd5b61483886828701614de9565b5f805f61012084860312156152cb575f80fd5b83356152d68161453b565b92506152e58560208601614d1b565b9150610100840135614849816147e7565b5f8060408385031215615307575f80fd5b8235614c7b81614886565b5f8060408385031215615323575f80fd5b8235614c7b816151c0565b602081526153486020820183516001600160a01b03169052565b5f602083015161536360408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526153ed6101608401826148b6565b9050610120840151601f198483030161014085015261499982826148b6565b5f806040838503121561541d575f80fd5b82356154288161453b565b915060208301356001600160401b03811115615442575f80fd5b614ebe85828601614749565b5f806040838503121561545f575f80fd5b823561546a8161453b565b915060208301356001600160401b03811115615484575f80fd5b614ebe858286016150dd565b5f805f606084860312156154a2575f80fd5b83356154ad816147e7565b925060208401356154bd816147e7565b91506040840135614849816147e7565b602081525f8251606060208401526154e860808401826148b6565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061499982826148b6565b5f806040838503121561552c575f80fd5b8235615537816147e7565b9150602083013560ff19811681146149ce575f80fd5b5f806040838503121561555e575f80fd5b82356155698161453b565b915060208301356001600160401b03811115615583575f80fd5b614ebe85828601614a61565b5f6020828403121561559f575f80fd5b8135610c5e816151c0565b602081526155c46020820183516001600160601b03169052565b5f60208301516155df60408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c084015261562f6101208401826148b6565b905060c0840151601f198483030160e085015261564c82826148b6565b91505060e0840151601f198483030161010085015261499982826148b6565b600181811c9082168061567f57607f821691505b60208210810361569d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156156e757805f5260205f20601f840160051c810160208510156156c85750805b601f840160051c820191505b81811015611ffb575f81556001016156d4565b505050565b81516001600160401b038111156157055761570561457a565b61571981615713845461566b565b846156a3565b6020601f82116001811461574b575f83156157345750848201515b5f19600385901b1c1916600184901b178455611ffb565b5f84815260208120601f198516915b8281101561577a578785015182556020948501946001909201910161575a565b508482101561579757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160c01b031991909116815260200190565b5f60208284031215615816575f80fd5b5051919050565b5f6020828403121561582d575f80fd5b8151610c5e81614a2d565b6001600160401b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160c01b031996909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b5f602082840312156158df575f80fd5b8151610c5e8161463b565b5f80858511156158f8575f80fd5b83861115615904575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613426576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215615996575f80fd5b8151610c5e8161461e565b6001600160601b03948516815292841660208401529216604082015264ffffffffff909116606082015260800190565b5f600182016159ee57634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f60208284031215615a05575f80fd5b8151610c5e816151c0565b5f60208284031215615a20575f80fd5b8151610c5e816147e7565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615a52575f80fd5b8251615a5d81614a2d565b60208401519092506149ce81614a45565b5f60208284031215615a7e575f80fd5b8151610c5e8161453b565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220fd3eeafacfe5c7eb76272e941107fb0afcc71a58cf5bf611fa93a79fa8754d3364736f6c634300081a0033",
2697
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610297575f3560e01c80637d417f0d11610161578063bf1db3f9116100ca578063e9e96c7011610084578063e9e96c70146107b5578063f0ea17c3146107f2578063f48016ce14610812578063f9b3fe3c14610833578063fe1f18d614610846578063febe92af14610859575f80fd5b8063bf1db3f914610729578063bf7e214f1461073c578063d06458c61461075c578063d7719f461461077c578063e2586c581461078f578063e80c61ed146107a2575f80fd5b80639f8151e51161011b5780639f8151e514610633578063a284222914610646578063a5961b4c14610659578063af902500146106f0578063b0628dc314610703578063b4d7efe214610716575f80fd5b80637d417f0d146105a65780638129fc1c146105b95780638eb9000d146105c15780638fb36037146105ec578063962605591461060d57806396f4df2f14610620575f80fd5b80634793b4ab1161020357806354f1fa81116101bd57806354f1fa81146104c757806357f80bbf146104da5780635eede174146104fa578063623e7a0f1461056d578063733044ca146105805780637a9e5e4b14610593575f80fd5b80634793b4ab14610448578063490840b4146104685780634a8243921461047b5780634bb2d1971461048e578063533086d4146104a157806353ebe129146104b4575f80fd5b8063248a77dd11610254578063248a77dd146103a157806327b1d792146103b45780632bce2d7c146103d457806334777712146103e757806338a699a41461041257806340529b0f14610435575f80fd5b80630232ca491461029b57806308077cd9146102e357806309648a9d146102f85780630d358181146103315780631d3be47714610356578063228e42ec14610376575b5f80fd5b6102c66102a936600461455f565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6102f66102f13660046147f5565b610879565b005b61031f610306366004614854565b5f90815260076020526040902054610100900460ff1690565b60405160ff90911681526020016102da565b61031f61033f36600461486b565b60ff9081165f908152602081905260409020541690565b61036961036436600461489b565b6109d6565b6040516102da91906148e4565b6102c661038436600461455f565b6001600160601b039081165f908152600260205260409020541690565b6102c66103af3660046149a2565b610c4a565b6103c76103c236600461455f565b610c65565b6040516102da91906149d9565b6102f66103e2366004614afd565b610cff565b6103fa6103f5366004614c2e565b610def565b6040516001600160401b0390911681526020016102da565b610425610420366004614854565b610fe1565b60405190151581526020016102da565b6102f6610443366004614c5f565b61106f565b61045b61045636600461455f565b6110f5565b6040516102da9190614c8b565b6102f6610476366004614db4565b6111e8565b6102f6610489366004614e7c565b61132e565b6102f661049c366004614fc3565b611517565b6102c66104af3660046149a2565b6116fd565b6102c66104c23660046149a2565b611711565b6102f66104d5366004615005565b611725565b6104ed6104e836600461455f565b611883565b6040516102da919061505e565b61054361050836600461455f565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016102da565b6102f661057b36600461517d565b611964565b6102f661058e3660046151d4565b611a38565b6102f66105a1366004615217565b611c05565b6102f66105b4366004615232565b611c8b565b6102f6611e8a565b6102c66105cf36600461455f565b6001600160601b039081165f908152600360205260409020541690565b6105f4612002565b6040516001600160e01b031990911681526020016102da565b6102f661061b366004615275565b612038565b6102f661062e3660046152b8565b61220f565b6102c66106413660046149a2565b61233e565b6102f66106543660046152f6565b612352565b6106bf610667366004614854565b60408051606080820183525f80835260208084018290529284018190529384526007825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016102da565b6102f66106fe3660046152f6565b61243f565b6102c66107113660046149a2565b61252c565b6102f6610724366004615312565b612540565b61042561073736600461486b565b612627565b610744612673565b6040516001600160a01b0390911681526020016102da565b61076f61076a36600461489b565b61268e565b6040516102da919061532e565b6102f661078a36600461540c565b6128ad565b6102f661079d36600461544e565b6129e7565b6102c66107b03660046149a2565b612aab565b6104256107c3366004615490565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b61080561080036600461455f565b612abf565b6040516102da91906154cd565b61082561082036600461551b565b612bb6565b6040519081526020016102da565b6102f661084136600461554d565b612c37565b6102f6610854366004614c5f565b612d17565b61086c61086736600461558f565b612d8e565b6040516102da91906155aa565b610885335b5f36612f5f565b5f61089184601661305d565b5f8181526007602052604081205491925090610100900460ff1690505f6108b883856130a8565b5f848152600d602090815260409182902088518154838b0151948b015160608c01516001600160601b03908116600160781b026bffffffffffffffffffffffff60781b1964ffffffffff938416600160501b0216600160501b600160d81b0319988416650100000000000269ffffffffffffffffffff19909516939095169290921792909217959095169190911793909317815560808901518051920151909216600160a01b026001600160a01b0390911617600182015560a08701519192508691600282019061098990826156ec565b509050507f2f017e855ca4666f28134f4e57d6c215643dd22172128f0455f479cd7c57f2e88683863332866040516109c6969594939291906157a6565b60405180910390a1505050505050565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b81529091600c9173__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610a59906001600160c01b03198816906004016157f1565b602060405180830381865af4158015610a74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a989190615806565b815260208082019290925260409081015f2081516101008101835281546001600160601b038082168352600160601b8204169482019490945263ffffffff600160c01b8504811693820193909352600160e01b909304909116606083015260018101546001600160a01b038116608084015264ffffffffff600160a01b9091041660a083015260028101805460c084019190610b339061566b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5f9061566b565b8015610baa5780601f10610b8157610100808354040283529160200191610baa565b820191905f5260205f20905b815481529060010190602001808311610b8d57829003601f168201915b50505050508152602001600382018054610bc39061566b565b80601f0160208091040260200160405190810160405280929190818152602001828054610bef9061566b565b8015610c3a5780601f10610c1157610100808354040283529160200191610c3a565b820191905f5260205f20905b815481529060010190602001808311610c1d57829003601f168201915b5050505050815250509050919050565b5f610c543361087e565b610c5e83836132bd565b9392505050565b604080516080810182525f8082526020820181905291810191909152606080820152600b5f610c9584601761305d565b815260208082019290925260409081015f208151608081018352815460c081901b6001600160c01b0319168252600160401b810460ff16151594820194909452600160481b90930463ffffffff1691830191909152600181018054606084019190610bc39061566b565b610d083361087e565b5f610d1484601761305d565b5f8181526007602052604081205491925090610100900460ff1690505f610d3b83856130a8565b5f848152600b602090815260409182902088518154928a0151938a015163ffffffff16600160481b0263ffffffff60481b19941515600160401b0268ffffffffffffffffff1990941660c09290921c919091179290921792909216178155606087015191925086916001820190610db290826156ec565b509050507fe960847e97f8a43de8e7a7a6152c864a89cb6b55e8b46681b41d4c614fbee9778683863332866040516109c6969594939291906157a6565b5f610df93361087e565b610e0161342d565b604051630f37f38f60e41b81526001600160401b03821660048201529091505f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e809190615806565b9050610e8b816134bd565b5f818152600e602090815260409182902085518154928701519387015160608801516001600160601b039283166001600160c01b031990951694909417600160601b92909516919091029390931765ffffffffffff60c01b1916600160c01b9315159390930264ffffffffff60c81b191692909217600160c81b64ffffffffff92831602178255608085015160018301805464ffffffffff19169190921617905560a08401518491906002820190610f4390826156ec565b5060c08201516003820190610f5890826156ec565b5060e08201516004820190610f6d90826156ec565b5050505f818152600760205260409020547fe296db687d9aabcda96659491302a529c398d8dcf066ecab41adebed06a71d55908390610100900460ff16604080516001600160401b03909316835260ff9091166020830152339082015232606082015260800160405180910390a150919050565b5f8181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015611045573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611069919061581d565b92915050565b6110783361087e565b5f61108483601761305d565b5f8181526007602052604081205491925090610100900460ff1690505f6110ab83856130a8565b90507fe960847e97f8a43de8e7a7a6152c864a89cb6b55e8b46681b41d4c614fbee9778583863332866040516110e6969594939291906157a6565b60405180910390a15050505050565b61113c6040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b600d5f61114a84601661305d565b815260208082019290925260409081015f20815160c081018352815464ffffffffff8082168352650100000000008204811683870152600160501b820416828501526001600160601b03600160781b90910481166060830152835180850190945260018301546001600160a01b0381168552600160a01b90041693830193909352608083019190915260028101805460a084019190610bc39061566b565b6111f13361087e565b5f6111fd83600f61305d565b9050611208816134bd565b5f8181526009602090815260408083208551868401516001600160601b03909116600160601b6001600160a01b03928316021782558683015160019092018054606089015160808a015160a08b015160c08c0151969095166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b921515929092029190911760ff60b81b1916600160b81b9215159290920291909117905560079091529020547f55c89d942c4cdaf50df15dfa812580b4246be40868dd2e7b4f002ec972657d6b908490610100900460ff165b604080516001600160601b03909316835260ff909116602083015233908201523260608201526080015b60405180910390a1505050565b6113373361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061137a906001600160c01b03198716906004016157f1565b602060405180830381865af4158015611395573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b99190615806565b90506113c4816134bd565b5f818152600c6020908152604091829020845181549286015193860151606087015163ffffffff908116600160e01b026001600160e01b0391909216600160c01b02166001600160c01b036001600160601b03968716600160601b026001600160c01b03199096169690931695909517939093171692909217178155608083015160018201805460a086015164ffffffffff16600160a01b026001600160c81b03199091166001600160a01b039093169290921791909117905560c0830151839190600282019061149590826156ec565b5060e082015160038201906114aa90826156ec565b5050505f818152600760205260409020547f91da34dfa31974c4906c0658e7beb45ba0721f93a70e50942e77932cce7d8b0d908490610100900460ff165b604080516001600160c01b0319909316835260ff90911660208301523390820152326060820152608001611321565b6115203361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611563906001600160c01b03198716906004016157f1565b602060405180830381865af415801561157e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a29190615806565b90506115ad816134bd565b5f818152600a60209081526040918290208451918501516001600160a01b03928316600160a01b6001600160601b039092168202178255928501516001820180546060880151608089015160a08a015160c08b01519588166001600160c01b03199094169390931763ffffffff9092169097021765ffffffffffff60c01b1916600160c01b64ffffffffff9097169690960260ff60e81b191695909517600160e81b951515959095029490941760ff60f01b1916600160f01b911515919091021790925560e08401516002830180546001600160a01b0319169190921617905561010083015183919060038201906116a590826156ec565b5061012082015160048201906116bb90826156ec565b5050505f818152600760205260409020547f05bfde9bf10cfb02076d77cd133bc8b091c41ef515166c17b2361a684fc6b924908490610100900460ff166114e8565b5f6117073361087e565b610c5e8383613768565b5f61171b3361087e565b610c5e83836138c0565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611787573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117ab919061581d565b156117d95760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff8085169083161461181a5760405163bae587e160e01b815230600482015260ff80851660248301528086166044830152831660648201526084016117d0565b60ff8084165f9081526001602090815260408083208885168452825280832085851684529091529020541661187d5760405163f33b49a360e01b815230600482015260ff80851660248301528086166044830152821660648201526084016117d0565b50505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915260095f6118c984600f61305d565b815260208082019290925260409081015f20815160e08101835281546001600160601b03811682526001600160a01b03600160601b9091048116948201949094526001909101549283169181019190915260ff600160a01b8304811615156060830152600160a81b8304811615156080830152600160b01b83048116151560a0830152600160b81b909204909116151560c082015292915050565b61196d3361087e565b5f61197984600b61305d565b5f8181526007602052604081205491925090610100900460ff1690505f6119a083856130a8565b5f8481526008602052604090208651919250869181906119c090826156ec565b5060208201516001820180546001600160a01b0319166001600160a01b03909216919091179055604082015160028201906119fb90826156ec565b509050507ffb6ab1b17bdd1e79b770513680d33dd87b6b352476f3d4f9fc2418ad57ab99058683863332866040516109c6969594939291906157a6565b611a413361087e565b604051630f37f38f60e41b81526001600160401b03841660048201525f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015611a99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611abd9190615806565b5f8181526007602052604081205491925090610100900460ff1690505f611ae483856130a8565b5f848152600e602090815260409182902088518154928a0151938a015160608b01516001600160601b039283166001600160c01b031990951694909417600160601b92909516919091029390931765ffffffffffff60c01b1916600160c01b9315159390930264ffffffffff60c81b191692909217600160c81b64ffffffffff92831602178255608088015160018301805464ffffffffff19169190921617905560a087015191925086916002820190611b9e90826156ec565b5060c08201516003820190611bb390826156ec565b5060e08201516004820190611bc890826156ec565b509050507fcd6efe20de8bda1c84f56479214f5c845ed9932acb46890901bb98bef682554d8683863332866040516109c696959493929190615838565b33611c0e612673565b6001600160a01b0316816001600160a01b031614611c495760405162d1953b60e31b81526001600160a01b03821660048201526024016117d0565b816001600160a01b03163b5f03611c7e576040516361798f2f60e11b81526001600160a01b03831660048201526024016117d0565b611c8782613a18565b5050565b611c943361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611cd7906001600160c01b03198816906004016157f1565b602060405180830381865af4158015611cf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d169190615806565b5f8181526007602052604081205491925090610100900460ff1690505f611d3d83856130a8565b5f848152600a60209081526040918290208851918901516001600160a01b03928316600160a01b6001600160601b0390921682021782559289015160018201805460608c015160808d015160a08e015160c08f01519588166001600160c01b03199094169390931763ffffffff9092169097021765ffffffffffff60c01b1916600160c01b64ffffffffff9097169690960260ff60e81b191695909517600160e81b951515959095029490941760ff60f01b1916600160f01b911515919091021790925560e08801516002830180546001600160a01b0319169190921617905561010087015191925086916003820190611e3790826156ec565b506101208201516004820190611e4d90826156ec565b509050507fa8e6a06b96b5dad840c21bc79949e878d0f743ad0a1ba821d6d0870fcec079bb8683863332866040516109c696959493929190615883565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015611ece5750825b90505f826001600160401b03166001148015611ee95750303b155b905081158015611ef7575080155b15611f155760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f3f57845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa491906158cf565b9050611faf81613a78565b611fb7613a8c565b50508315611ffb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016110e6565b5050505050565b5f80516020615a9e83398151915280545f9190600160a01b900460ff16612029575f612032565b638fb3603760e01b5b91505090565b6120413361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590612084906001600160c01b03198816906004016157f1565b602060405180830381865af415801561209f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c39190615806565b5f8181526007602052604081205491925090610100900460ff1690505f6120ea83856130a8565b5f848152600c602090815260409182902088518154928a0151938a015160608b015163ffffffff908116600160e01b026001600160e01b0391909216600160c01b02166001600160c01b036001600160601b03968716600160601b026001600160c01b03199096169690931695909517939093171692909217178155608087015160018201805460a08a015164ffffffffff16600160a01b026001600160c81b03199091166001600160a01b039093169290921791909117905560c0870151919250869160028201906121bd90826156ec565b5060e082015160038201906121d290826156ec565b509050507fc4ad93e06e3375a8710bb9cd30ed30b0a69d9aab524480a05f51568c66b8e3c98683863332866040516109c696959493929190615883565b6122183361087e565b5f61222484600f61305d565b5f8181526007602052604081205491925090610100900460ff1690505f61224b83856130a8565b5f848152600960209081526040918290208851918901516001600160601b03909216600160601b6001600160a01b0393841602178155888301516001909101805460608b015160808c015160a08d015160c08e0151959096166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b931515939093029290921760ff60b81b1916600160b81b91151591909102179055519091507fab6330e3b0f09e536bb75b9c192c588e6833a785d9097c0483661778fc3b5ca1906109c6908890859088903390329088906157a6565b5f6123483361087e565b610c5e8383613a9e565b61235b3361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061239e906001600160c01b03198716906004016157f1565b602060405180830381865af41580156123b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123dd9190615806565b5f8181526007602052604081205491925090610100900460ff1690505f61240483856130a8565b90507fa8e6a06b96b5dad840c21bc79949e878d0f743ad0a1ba821d6d0870fcec079bb8583863332866040516110e696959493929190615883565b6124483361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061248b906001600160c01b03198716906004016157f1565b602060405180830381865af41580156124a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ca9190615806565b5f8181526007602052604081205491925090610100900460ff1690505f6124f183856130a8565b90507fc4ad93e06e3375a8710bb9cd30ed30b0a69d9aab524480a05f51568c66b8e3c98583863332866040516110e696959493929190615883565b5f6125363361087e565b610c5e8383613bf6565b6125493361087e565b604051630f37f38f60e41b81526001600160401b03831660048201525f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156125a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c59190615806565b5f8181526007602052604081205491925090610100900460ff1690505f6125ec83856130a8565b90507fcd6efe20de8bda1c84f56479214f5c845ed9932acb46890901bb98bef682554d8583863332866040516110e696959493929190615838565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf9060240161102a565b5f80516020615a9e833981519152546001600160a01b031690565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b81529091600a9173__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612721906001600160c01b03198816906004016157f1565b602060405180830381865af415801561273c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127609190615806565b815260208082019290925260409081015f2081516101408101835281546001600160a01b0380821683526001600160601b03600160a01b92839004169583019590955260018301548086169483019490945263ffffffff90840416606082015264ffffffffff600160c01b840416608082015260ff600160e81b84048116151560a0830152600160f01b909304909216151560c0830152600281015490921660e08201526003820180549192916101008401919061281d9061566b565b80601f01602080910402602001604051908101604052809291908181526020018280546128499061566b565b80156128945780601f1061286b57610100808354040283529160200191612894565b820191905f5260205f20905b81548152906001019060200180831161287757829003601f168201915b50505050508152602001600482018054610bc39061566b565b6128b63361087e565b6128bf82613d4e565b5f6128cb83601661305d565b90506128d6816134bd565b5f818152600d602090815260409182902084518154838701519487015160608801516001600160601b03908116600160781b026bffffffffffffffffffffffff60781b1964ffffffffff938416600160501b0216600160501b600160d81b0319988416650100000000000269ffffffffffffffffffff19909516939095169290921792909217959095169190911793909317815560808501518051920151909216600160a01b026001600160a01b0390911617600182015560a083015183919060028201906129a590826156ec565b5050505f818152600760205260409020547fe4ae723f12a479272b917f87ec8cec8e499456fd990a74003daf0b80d0b32ed3908490610100900460ff166112f7565b6129f03361087e565b6129f982613d4e565b5f612a0583600b61305d565b9050612a10816134bd565b5f81815260086020526040902082518391908190612a2e90826156ec565b5060208201516001820180546001600160a01b0319166001600160a01b0390921691909117905560408201516002820190612a6990826156ec565b5050505f818152600760205260409020547f99debd4964e0a4ae18ad50bcea2c6cc21c02c47c6526460f830cda565bb35ffd908490610100900460ff166112f7565b5f612ab53361087e565b610c5e8383613e51565b60408051606080820183528082525f60208301529181019190915260085f612ae884600b61305d565b81526020019081526020015f206040518060600160405290815f82018054612b0f9061566b565b80601f0160208091040260200160405190810160405280929190818152602001828054612b3b9061566b565b8015612b865780601f10612b5d57610100808354040283529160200191612b86565b820191905f5260205f20905b815481529060010190602001808311612b6957829003601f168201915b505050918352505060018201546001600160a01b03166020820152600282018054604090920191610bc39061566b565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015612c13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5e9190615806565b612c403361087e565b612c4982613d4e565b5f612c5583601761305d565b9050612c60816134bd565b5f818152600b602090815260409182902084518154928601519386015163ffffffff16600160481b0263ffffffff60481b19941515600160401b0268ffffffffffffffffff1990941660c09290921c91909117929092179290921617815560608301518391906001820190612cd590826156ec565b5050505f818152600760205260409020547f74d7be5c20e6cf628ccae9cc370ffd1d2a95a8164eb772c89be0ed1242752d0e908490610100900460ff166112f7565b612d203361087e565b5f612d2c83601661305d565b5f8181526007602052604081205491925090610100900460ff1690505f612d5383856130a8565b90507f2f017e855ca4666f28134f4e57d6c215643dd22172128f0455f479cd7c57f2e88583863332866040516110e6969594939291906157a6565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091600e9173__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612e26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4a9190615806565b815260208082019290925260409081015f2081516101008101835281546001600160601b038082168352600160601b82041694820194909452600160c01b840460ff16151592810192909252600160c81b90920464ffffffffff9081166060830152600183015416608082015260028201805491929160a084019190612ecf9061566b565b80601f0160208091040260200160405190810160405280929190818152602001828054612efb9061566b565b8015612f465780601f10612f1d57610100808354040283529160200191612f46565b820191905f5260205f20905b815481529060010190602001808311612f2957829003601f168201915b5050505050815260200160038201805461281d9061566b565b5f80516020615a9e8339815191525f80612f97612f7a612673565b8730612f8960045f8a8c6158ea565b612f9291615911565b613fa9565b91509150816130555763ffffffff81161561303257825460ff60a01b1916600160a01b178355612fc5612673565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ff493929190615947565b5f604051808303815f87803b15801561300b575f80fd5b505af115801561301d573d5f803e3d5ffd5b5050845460ff60a01b19168555506130559050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016117d0565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401612bf8565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156130fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061311e919061581d565b1561313f57604051631260077f60e21b8152600481018490526024016117d0565b505f82815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156131b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131da919061581d565b156131fb576040516310b1404560e21b8152600481018690526024016117d0565b60ff8085161461322a57815461321790829060ff168187611725565b815461ff00191661010060ff8616021782555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613271573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132959190615986565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af415801561332c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613350919061581d565b61337857604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f9081526003602052604090205461339c9116846140b1565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fc813323abc29b7cc59ddd274e5941cad2a987aa85c181fbde230bfb449b00096916134159187918791879164ffffffffff909116906159a1565b60405180910390a161342684614136565b5092915050565b600680545f918261343d836159d1565b9091555050600654604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015613494573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134b891906159f5565b905090565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af415801561350d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135319190615a10565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015613584573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135a8919061581d565b156135cb57604051633d61be7d60e11b815260ff821660048201526024016117d0565b5f828152600760205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613636573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061365a919061581d565b1561368457604051637791d47d60e01b81526004810184905260ff831660248201526044016117d0565b61368d82612627565b6136af576040516391eb5e8760e01b815260ff831660048201526024016117d0565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156136f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061371b9190615986565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af41580156137d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137fb919061581d565b61382357604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f908152600460205260409020546138479116846141d5565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5d0252a8f87c13449ff1a0e89d6a9d8dff6a3860c4cbbae6bd98d16f0924115b916134159187918791879164ffffffffff909116906159a1565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af415801561392f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613953919061581d565b61397b57604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f9081526003602052604090205461399f9116846141d5565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fcc72dbc9604f941e2273f4dfa0b71700384aa0f5da7c3fef80ecb075ac0010f8916134159187918791879164ffffffffff909116906159a1565b5f80516020615a9e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613a8061421f565b613a8981614268565b50565b613a9461421f565b613a9c614279565b565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613b0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b31919061581d565b613b5957604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f90815260026020526040902054613b7d9116846140b1565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fa9c12735dda7f4e5a00ab4e6a4cfdc194c4f03f3885a5f18abfa66b77b8cdae3916134159187918791879164ffffffffff909116906159a1565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613c65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c89919061581d565b613cb157604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f90815260026020526040902054613cd59116846141d5565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f561cfda68ea43752c3141f3761d148409c741e20d766a95c64721f2c6ace5ba2916134159187918791879164ffffffffff909116906159a1565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613dbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613de0919061581d565b15613e09576040516314d5804160e01b81526001600160601b03821660048201526024016117d0565b613e1281614136565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613ec0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ee4919061581d565b613f0c57604051631e94ffd760e11b81526001600160601b03821660048201526024016117d0565b6001600160601b038085165f90815260046020526040902054613f309116846140b1565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f52a6c3cc342afb5a41442a5b4757dbdd11e508f0f75a902a75a29d0409905a99916134159187918791879164ffffffffff909116906159a1565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516140179190615a2b565b5f60405180830381855afa9150503d805f811461404f576040519150601f19603f3d011682016040523d82523d5f602084013e614054565b606091505b509150915081156140a6576040815110614086578080602001905181019061407c9190615a41565b90945092506140a6565b60208151106140a657808060200190518101906140a3919061581d565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015614112573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5e9190615a6e565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561417d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141a19190615986565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016140f7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16613a9c57604051631afcd79f60e31b815260040160405180910390fd5b61427061421f565b613a8981613a18565b6142816142d1565b6142896142ee565b614291614322565b614299614366565b6142a1614382565b6142a96143cf565b6142b16143ef565b6142b9614403565b6142c1614442565b6142c961444c565b613a9c614460565b6142de60165b6005614488565b613a9c60165b60055b60c86144ca565b6142f8600b6142d7565b614306600b6005606e6144ca565b614314600b606e60056144ca565b613a9c600b606e60d26144ca565b61432e6015600a614488565b61433d6015600a5b60146144ca565b61434c6015600a5b601e6144ca565b61435a6015600a60286144ca565b613a9c601560286142e7565b614373602b5b603c614488565b613a9c602b5b603c60dc6144ca565b61438e602d6032614488565b61439a602d6032614336565b6143a8602d603260336144ca565b6143b4602d6032614345565b6143c0602d60336142e7565b613a9c602d60335b60486144ca565b6143d9602e61436c565b6143e3602e614379565b613a9c602e603c6143c8565b6143f9602c6142d7565b613a9c602c6142e4565b61440d602f6142d7565b61441c602f60055b60466144ca565b61442a602f600560076144ca565b614436602f6007614415565b613a9c602f60056143c8565b613a9c600f6142d7565b614456600c6142d7565b613a9c60296142d7565b61446a600e6142d7565b61447460176142d7565b61447e60306142d7565b613a9c60316142d7565b60ff8281165f9081526020819052604090205416156144a9576144a9615a89565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561450257614502615a89565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114613a89575f80fd5b803561455a8161453b565b919050565b5f6020828403121561456f575f80fd5b8135610c5e8161453b565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156145b0576145b061457a565b60405290565b60405161010081016001600160401b03811182821017156145b0576145b061457a565b60405160e081016001600160401b03811182821017156145b0576145b061457a565b60405161014081016001600160401b03811182821017156145b0576145b061457a565b64ffffffffff81168114613a89575f80fd5b803561455a8161461e565b6001600160a01b0381168114613a89575f80fd5b803561455a8161463b565b5f6040828403121561466a575f80fd5b604080519081016001600160401b038111828210171561468c5761468c61457a565b604052905080823561469d8161463b565b815260208301356146ad8161453b565b6020919091015292915050565b5f82601f8301126146c9575f80fd5b8135602083015f806001600160401b038411156146e8576146e861457a565b50604051601f19601f85018116603f011681018181106001600160401b03821117156147165761471661457a565b60405283815290508082840187101561472d575f80fd5b838360208301375f602085830101528094505050505092915050565b5f60e08284031215614759575f80fd5b61476161458e565b9050813561476e8161461e565b8152602082013561477e8161461e565b602082015261478f60408301614630565b60408201526147a06060830161454f565b60608201526147b2836080840161465a565b608082015260c08201356001600160401b038111156147cf575f80fd5b6147db848285016146ba565b60a08301525092915050565b60ff81168114613a89575f80fd5b5f805f60608486031215614807575f80fd5b83356148128161453b565b925060208401356001600160401b0381111561482c575f80fd5b61483886828701614749565b9250506040840135614849816147e7565b809150509250925092565b5f60208284031215614864575f80fd5b5035919050565b5f6020828403121561487b575f80fd5b8135610c5e816147e7565b6001600160c01b031981168114613a89575f80fd5b5f602082840312156148ab575f80fd5b8135610c5e81614886565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161491360408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e084015261497b6101208401826148b6565b905060e0840151601f198483030161010085015261499982826148b6565b95945050505050565b5f80604083850312156149b3575f80fd5b82356149be8161453b565b915060208301356149ce8161453b565b809150509250929050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152614a2560a08401826148b6565b949350505050565b8015158114613a89575f80fd5b803561455a81614a2d565b63ffffffff81168114613a89575f80fd5b803561455a81614a45565b5f60808284031215614a71575f80fd5b604051608081016001600160401b0381118282101715614a9357614a9361457a565b6040529050808235614aa481614886565b81526020830135614ab481614a2d565b60208201526040830135614ac781614a45565b604082015260608301356001600160401b03811115614ae4575f80fd5b614af0858286016146ba565b6060830152505092915050565b5f805f60608486031215614b0f575f80fd5b8335614b1a8161453b565b925060208401356001600160401b03811115614b34575f80fd5b61483886828701614a61565b5f6101008284031215614b51575f80fd5b614b596145b6565b9050614b648261454f565b8152614b726020830161454f565b6020820152614b8360408301614a3a565b6040820152614b9460608301614630565b6060820152614ba560808301614630565b608082015260a08201356001600160401b03811115614bc2575f80fd5b614bce848285016146ba565b60a08301525060c08201356001600160401b03811115614bec575f80fd5b614bf8848285016146ba565b60c08301525060e08201356001600160401b03811115614c16575f80fd5b614c22848285016146ba565b60e08301525092915050565b5f60208284031215614c3e575f80fd5b81356001600160401b03811115614c53575f80fd5b614a2584828501614b40565b5f8060408385031215614c70575f80fd5b8235614c7b8161453b565b915060208301356149ce816147e7565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f6080830151614d0160a084018280516001600160a01b031682526020908101516001600160601b0316910152565b5060a083015160e080840152614a256101008401826148b6565b5f60e08284031215614d2b575f80fd5b614d336145d9565b90508135614d408161453b565b81526020820135614d508161463b565b60208201526040820135614d638161463b565b60408201526060820135614d7681614a2d565b6060820152614d8760808301614a3a565b6080820152614d9860a08301614a3a565b60a0820152614da960c08301614a3a565b60c082015292915050565b5f806101008385031215614dc6575f80fd5b8235614dd18161453b565b9150614de08460208501614d1b565b90509250929050565b5f6101008284031215614dfa575f80fd5b614e026145b6565b9050614e0d8261454f565b8152614e1b6020830161454f565b6020820152614e2c60408301614a56565b6040820152614e3d60608301614a56565b6060820152614e4e6080830161464f565b6080820152614e5f60a08301614630565b60a082015260c08201356001600160401b03811115614bec575f80fd5b5f8060408385031215614e8d575f80fd5b8235614e9881614886565b915060208301356001600160401b03811115614eb2575f80fd5b614ebe85828601614de9565b9150509250929050565b5f6101408284031215614ed9575f80fd5b614ee16145fb565b9050614eec8261464f565b8152614efa6020830161454f565b6020820152614f0b6040830161464f565b6040820152614f1c60608301614a56565b6060820152614f2d60808301614630565b6080820152614f3e60a08301614a3a565b60a0820152614f4f60c08301614a3a565b60c0820152614f6060e0830161464f565b60e08201526101008201356001600160401b03811115614f7e575f80fd5b614f8a848285016146ba565b610100830152506101208201356001600160401b03811115614faa575f80fd5b614fb6848285016146ba565b6101208301525092915050565b5f8060408385031215614fd4575f80fd5b8235614fdf81614886565b915060208301356001600160401b03811115614ff9575f80fd5b614ebe85828601614ec8565b5f805f8060808587031215615018575f80fd5b8435615023816147e7565b93506020850135615033816147e7565b92506040850135615043816147e7565b91506060850135615053816147e7565b939692955090935050565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b03604084015116604083015260608301511515606083015260808301516150b5608084018215159052565b5060a08301516150c960a084018215159052565b5060c083015161342660c084018215159052565b5f606082840312156150ed575f80fd5b604051606081016001600160401b038111828210171561510f5761510f61457a565b60405290508082356001600160401b0381111561512a575f80fd5b615136858286016146ba565b82525060208301356151478161463b565b602082015260408301356001600160401b03811115615164575f80fd5b615170858286016146ba565b6040830152505092915050565b5f805f6060848603121561518f575f80fd5b833561519a8161453b565b925060208401356001600160401b038111156151b4575f80fd5b614838868287016150dd565b6001600160401b0381168114613a89575f80fd5b5f805f606084860312156151e6575f80fd5b83356151f1816151c0565b925060208401356001600160401b0381111561520b575f80fd5b61483886828701614b40565b5f60208284031215615227575f80fd5b8135610c5e8161463b565b5f805f60608486031215615244575f80fd5b833561524f81614886565b925060208401356001600160401b03811115615269575f80fd5b61483886828701614ec8565b5f805f60608486031215615287575f80fd5b833561529281614886565b925060208401356001600160401b038111156152ac575f80fd5b61483886828701614de9565b5f805f61012084860312156152cb575f80fd5b83356152d68161453b565b92506152e58560208601614d1b565b9150610100840135614849816147e7565b5f8060408385031215615307575f80fd5b8235614c7b81614886565b5f8060408385031215615323575f80fd5b8235614c7b816151c0565b602081526153486020820183516001600160a01b03169052565b5f602083015161536360408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526153ed6101608401826148b6565b9050610120840151601f198483030161014085015261499982826148b6565b5f806040838503121561541d575f80fd5b82356154288161453b565b915060208301356001600160401b03811115615442575f80fd5b614ebe85828601614749565b5f806040838503121561545f575f80fd5b823561546a8161453b565b915060208301356001600160401b03811115615484575f80fd5b614ebe858286016150dd565b5f805f606084860312156154a2575f80fd5b83356154ad816147e7565b925060208401356154bd816147e7565b91506040840135614849816147e7565b602081525f8251606060208401526154e860808401826148b6565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061499982826148b6565b5f806040838503121561552c575f80fd5b8235615537816147e7565b9150602083013560ff19811681146149ce575f80fd5b5f806040838503121561555e575f80fd5b82356155698161453b565b915060208301356001600160401b03811115615583575f80fd5b614ebe85828601614a61565b5f6020828403121561559f575f80fd5b8135610c5e816151c0565b602081526155c46020820183516001600160601b03169052565b5f60208301516155df60408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c084015261562f6101208401826148b6565b905060c0840151601f198483030160e085015261564c82826148b6565b91505060e0840151601f198483030161010085015261499982826148b6565b600181811c9082168061567f57607f821691505b60208210810361569d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156156e757805f5260205f20601f840160051c810160208510156156c85750805b601f840160051c820191505b81811015611ffb575f81556001016156d4565b505050565b81516001600160401b038111156157055761570561457a565b61571981615713845461566b565b846156a3565b6020601f82116001811461574b575f83156157345750848201515b5f19600385901b1c1916600184901b178455611ffb565b5f84815260208120601f198516915b8281101561577a578785015182556020948501946001909201910161575a565b508482101561579757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160c01b031991909116815260200190565b5f60208284031215615816575f80fd5b5051919050565b5f6020828403121561582d575f80fd5b8151610c5e81614a2d565b6001600160401b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160c01b031996909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b5f602082840312156158df575f80fd5b8151610c5e8161463b565b5f80858511156158f8575f80fd5b83861115615904575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613426576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215615996575f80fd5b8151610c5e8161461e565b6001600160601b03948516815292841660208401529216604082015264ffffffffff909116606082015260800190565b5f600182016159ee57634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f60208284031215615a05575f80fd5b8151610c5e816151c0565b5f60208284031215615a20575f80fd5b8151610c5e816147e7565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615a52575f80fd5b8251615a5d81614a2d565b60208401519092506149ce81614a45565b5f60208284031215615a7e575f80fd5b8151610c5e8161453b565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220fd3eeafacfe5c7eb76272e941107fb0afcc71a58cf5bf611fa93a79fa8754d3364736f6c634300081a0033",
2523
2698
  "linkReferences": {
2524
- "contracts/type/ClaimId.sol": {
2525
- "ClaimIdLib": [
2699
+ "contracts/type/Amount.sol": {
2700
+ "AmountLib": [
2701
+ {
2702
+ "length": 20,
2703
+ "start": 16633
2704
+ },
2526
2705
  {
2527
2706
  "length": 20,
2528
- "start": 7428
2707
+ "start": 16925
2529
2708
  }
2530
2709
  ]
2531
2710
  },
2532
- "contracts/type/DistributorType.sol": {
2533
- "DistributorTypeLib": [
2711
+ "contracts/type/Blocknumber.sol": {
2712
+ "BlocknumberLib": [
2534
2713
  {
2535
2714
  "length": 20,
2536
- "start": 2538
2715
+ "start": 12876
2537
2716
  },
2538
2717
  {
2539
2718
  "length": 20,
2540
- "start": 3143
2719
+ "start": 13076
2541
2720
  },
2542
2721
  {
2543
2722
  "length": 20,
2544
- "start": 4319
2545
- }
2546
- ]
2547
- },
2548
- "contracts/type/Key32.sol": {
2549
- "Key32Lib": [
2723
+ "start": 13854
2724
+ },
2725
+ {
2726
+ "length": 20,
2727
+ "start": 14034
2728
+ },
2550
2729
  {
2551
2730
  "length": 20,
2552
- "start": 5680
2731
+ "start": 14271
2553
2732
  },
2554
2733
  {
2555
2734
  "length": 20,
2556
- "start": 6791
2735
+ "start": 14615
2557
2736
  },
2558
2737
  {
2559
2738
  "length": 20,
2560
- "start": 6907
2739
+ "start": 15093
2561
2740
  },
2562
2741
  {
2563
2742
  "length": 20,
2564
- "start": 7089
2743
+ "start": 15437
2565
2744
  },
2566
2745
  {
2567
2746
  "length": 20,
2568
- "start": 7205
2747
+ "start": 15780
2569
2748
  },
2570
2749
  {
2571
2750
  "length": 20,
2572
- "start": 7487
2751
+ "start": 16040
2573
2752
  },
2574
2753
  {
2575
2754
  "length": 20,
2576
- "start": 8161
2755
+ "start": 16728
2756
+ }
2757
+ ]
2758
+ },
2759
+ "contracts/type/DistributorType.sol": {
2760
+ "DistributorTypeLib": [
2761
+ {
2762
+ "length": 20,
2763
+ "start": 5457
2577
2764
  },
2578
2765
  {
2579
2766
  "length": 20,
2580
- "start": 8277
2767
+ "start": 7365
2581
2768
  },
2582
2769
  {
2583
2770
  "length": 20,
2584
- "start": 8932
2771
+ "start": 9100
2585
2772
  },
2586
2773
  {
2587
2774
  "length": 20,
2588
- "start": 9048
2775
+ "start": 9999
2589
2776
  }
2590
2777
  ]
2591
2778
  },
2592
- "contracts/type/NftId.sol": {
2593
- "NftIdLib": [
2779
+ "contracts/type/Key32.sol": {
2780
+ "Key32Lib": [
2781
+ {
2782
+ "length": 20,
2783
+ "start": 11258
2784
+ },
2594
2785
  {
2595
2786
  "length": 20,
2596
- "start": 6220
2787
+ "start": 13557
2597
2788
  }
2598
2789
  ]
2599
2790
  },
2600
- "contracts/type/ObjectType.sol": {
2601
- "ObjectTypeLib": [
2791
+ "contracts/type/NftId.sol": {
2792
+ "NftIdLib": [
2602
2793
  {
2603
2794
  "length": 20,
2604
- "start": 7608
2795
+ "start": 12454
2605
2796
  }
2606
2797
  ]
2607
2798
  },
2608
- "contracts/type/PayoutId.sol": {
2609
- "PayoutIdLib": [
2799
+ "contracts/type/ObjectType.sol": {
2800
+ "ObjectTypeLib": [
2610
2801
  {
2611
2802
  "length": 20,
2612
- "start": 9210
2803
+ "start": 13676
2613
2804
  }
2614
2805
  ]
2615
2806
  },
@@ -2617,161 +2808,177 @@
2617
2808
  "ReferralLib": [
2618
2809
  {
2619
2810
  "length": 20,
2620
- "start": 3303
2811
+ "start": 2631
2621
2812
  },
2622
2813
  {
2623
2814
  "length": 20,
2624
- "start": 4838
2815
+ "start": 4968
2625
2816
  },
2626
2817
  {
2627
2818
  "length": 20,
2628
- "start": 5425
2819
+ "start": 8306
2820
+ },
2821
+ {
2822
+ "length": 20,
2823
+ "start": 9337
2629
2824
  }
2630
2825
  ]
2631
2826
  },
2632
- "contracts/type/RiskId.sol": {
2633
- "RiskIdLib": [
2827
+ "contracts/type/RequestId.sol": {
2828
+ "RequestIdLib": [
2634
2829
  {
2635
2830
  "length": 20,
2636
- "start": 2378
2831
+ "start": 3652
2637
2832
  },
2638
2833
  {
2639
2834
  "length": 20,
2640
- "start": 3639
2835
+ "start": 6785
2641
2836
  },
2642
2837
  {
2643
2838
  "length": 20,
2644
- "start": 4437
2645
- }
2646
- ]
2647
- },
2648
- "contracts/type/StateId.sol": {
2649
- "StateIdLib": [
2650
- {
2651
- "length": 20,
2652
- "start": 2736
2839
+ "start": 9609
2653
2840
  },
2654
2841
  {
2655
2842
  "length": 20,
2656
- "start": 4612
2843
+ "start": 11790
2657
2844
  },
2658
2845
  {
2659
2846
  "length": 20,
2660
- "start": 4953
2661
- },
2847
+ "start": 13436
2848
+ }
2849
+ ]
2850
+ },
2851
+ "contracts/type/StateId.sol": {
2852
+ "StateIdLib": [
2662
2853
  {
2663
2854
  "length": 20,
2664
- "start": 6278
2855
+ "start": 4140
2665
2856
  },
2666
2857
  {
2667
2858
  "length": 20,
2668
- "start": 6455
2859
+ "start": 5999
2669
2860
  },
2670
2861
  {
2671
2862
  "length": 20,
2672
- "start": 7784
2863
+ "start": 9841
2673
2864
  },
2674
2865
  {
2675
2866
  "length": 20,
2676
- "start": 8456
2867
+ "start": 12514
2677
2868
  },
2678
2869
  {
2679
2870
  "length": 20,
2680
- "start": 8633
2871
+ "start": 12702
2681
2872
  }
2682
2873
  ]
2683
2874
  }
2684
2875
  },
2685
2876
  "deployedLinkReferences": {
2686
- "contracts/type/ClaimId.sol": {
2687
- "ClaimIdLib": [
2877
+ "contracts/type/Amount.sol": {
2878
+ "AmountLib": [
2879
+ {
2880
+ "length": 20,
2881
+ "start": 16601
2882
+ },
2688
2883
  {
2689
2884
  "length": 20,
2690
- "start": 7396
2885
+ "start": 16893
2691
2886
  }
2692
2887
  ]
2693
2888
  },
2694
- "contracts/type/DistributorType.sol": {
2695
- "DistributorTypeLib": [
2889
+ "contracts/type/Blocknumber.sol": {
2890
+ "BlocknumberLib": [
2696
2891
  {
2697
2892
  "length": 20,
2698
- "start": 2506
2893
+ "start": 12844
2699
2894
  },
2700
2895
  {
2701
2896
  "length": 20,
2702
- "start": 3111
2897
+ "start": 13044
2703
2898
  },
2704
2899
  {
2705
2900
  "length": 20,
2706
- "start": 4287
2707
- }
2708
- ]
2709
- },
2710
- "contracts/type/Key32.sol": {
2711
- "Key32Lib": [
2901
+ "start": 13822
2902
+ },
2712
2903
  {
2713
2904
  "length": 20,
2714
- "start": 5648
2905
+ "start": 14002
2715
2906
  },
2716
2907
  {
2717
2908
  "length": 20,
2718
- "start": 6759
2909
+ "start": 14239
2719
2910
  },
2720
2911
  {
2721
2912
  "length": 20,
2722
- "start": 6875
2913
+ "start": 14583
2723
2914
  },
2724
2915
  {
2725
2916
  "length": 20,
2726
- "start": 7057
2917
+ "start": 15061
2727
2918
  },
2728
2919
  {
2729
2920
  "length": 20,
2730
- "start": 7173
2921
+ "start": 15405
2731
2922
  },
2732
2923
  {
2733
2924
  "length": 20,
2734
- "start": 7455
2925
+ "start": 15748
2735
2926
  },
2736
2927
  {
2737
2928
  "length": 20,
2738
- "start": 8129
2929
+ "start": 16008
2930
+ },
2931
+ {
2932
+ "length": 20,
2933
+ "start": 16696
2934
+ }
2935
+ ]
2936
+ },
2937
+ "contracts/type/DistributorType.sol": {
2938
+ "DistributorTypeLib": [
2939
+ {
2940
+ "length": 20,
2941
+ "start": 5425
2739
2942
  },
2740
2943
  {
2741
2944
  "length": 20,
2742
- "start": 8245
2945
+ "start": 7333
2743
2946
  },
2744
2947
  {
2745
2948
  "length": 20,
2746
- "start": 8900
2949
+ "start": 9068
2747
2950
  },
2748
2951
  {
2749
2952
  "length": 20,
2750
- "start": 9016
2953
+ "start": 9967
2751
2954
  }
2752
2955
  ]
2753
2956
  },
2754
- "contracts/type/NftId.sol": {
2755
- "NftIdLib": [
2957
+ "contracts/type/Key32.sol": {
2958
+ "Key32Lib": [
2959
+ {
2960
+ "length": 20,
2961
+ "start": 11226
2962
+ },
2756
2963
  {
2757
2964
  "length": 20,
2758
- "start": 6188
2965
+ "start": 13525
2759
2966
  }
2760
2967
  ]
2761
2968
  },
2762
- "contracts/type/ObjectType.sol": {
2763
- "ObjectTypeLib": [
2969
+ "contracts/type/NftId.sol": {
2970
+ "NftIdLib": [
2764
2971
  {
2765
2972
  "length": 20,
2766
- "start": 7576
2973
+ "start": 12422
2767
2974
  }
2768
2975
  ]
2769
2976
  },
2770
- "contracts/type/PayoutId.sol": {
2771
- "PayoutIdLib": [
2977
+ "contracts/type/ObjectType.sol": {
2978
+ "ObjectTypeLib": [
2772
2979
  {
2773
2980
  "length": 20,
2774
- "start": 9178
2981
+ "start": 13644
2775
2982
  }
2776
2983
  ]
2777
2984
  },
@@ -2779,67 +2986,67 @@
2779
2986
  "ReferralLib": [
2780
2987
  {
2781
2988
  "length": 20,
2782
- "start": 3271
2989
+ "start": 2599
2783
2990
  },
2784
2991
  {
2785
2992
  "length": 20,
2786
- "start": 4806
2993
+ "start": 4936
2787
2994
  },
2788
2995
  {
2789
2996
  "length": 20,
2790
- "start": 5393
2997
+ "start": 8274
2998
+ },
2999
+ {
3000
+ "length": 20,
3001
+ "start": 9305
2791
3002
  }
2792
3003
  ]
2793
3004
  },
2794
- "contracts/type/RiskId.sol": {
2795
- "RiskIdLib": [
3005
+ "contracts/type/RequestId.sol": {
3006
+ "RequestIdLib": [
2796
3007
  {
2797
3008
  "length": 20,
2798
- "start": 2346
3009
+ "start": 3620
2799
3010
  },
2800
3011
  {
2801
3012
  "length": 20,
2802
- "start": 3607
3013
+ "start": 6753
2803
3014
  },
2804
3015
  {
2805
3016
  "length": 20,
2806
- "start": 4405
2807
- }
2808
- ]
2809
- },
2810
- "contracts/type/StateId.sol": {
2811
- "StateIdLib": [
2812
- {
2813
- "length": 20,
2814
- "start": 2704
3017
+ "start": 9577
2815
3018
  },
2816
3019
  {
2817
3020
  "length": 20,
2818
- "start": 4580
3021
+ "start": 11758
2819
3022
  },
2820
3023
  {
2821
3024
  "length": 20,
2822
- "start": 4921
2823
- },
3025
+ "start": 13404
3026
+ }
3027
+ ]
3028
+ },
3029
+ "contracts/type/StateId.sol": {
3030
+ "StateIdLib": [
2824
3031
  {
2825
3032
  "length": 20,
2826
- "start": 6246
3033
+ "start": 4108
2827
3034
  },
2828
3035
  {
2829
3036
  "length": 20,
2830
- "start": 6423
3037
+ "start": 5967
2831
3038
  },
2832
3039
  {
2833
3040
  "length": 20,
2834
- "start": 7752
3041
+ "start": 9809
2835
3042
  },
2836
3043
  {
2837
3044
  "length": 20,
2838
- "start": 8424
3045
+ "start": 12482
2839
3046
  },
2840
3047
  {
2841
3048
  "length": 20,
2842
- "start": 8601
3049
+ "start": 12670
2843
3050
  }
2844
3051
  ]
2845
3052
  }