@etherisc/gif-next 0.0.2-e9a637d-547 → 0.0.2-e9c25ee-730

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