@etherisc/gif-next 0.0.2-bdb6804-509 → 0.0.2-bdbfee9-660

Sign up to get free protection for your applications and to get access to all the features.
Files changed (736) hide show
  1. package/README.md +130 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1056 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +771 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +824 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +285 -324
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1675 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +931 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +274 -275
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +368 -129
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2026 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2452 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +651 -97
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +445 -99
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +651 -221
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1977 -620
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +461 -279
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +195 -115
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1962 -855
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  116. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +311 -174
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  118. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +253 -241
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1023 -0
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +791 -0
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  124. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +320 -465
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1303 -0
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +851 -0
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  132. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +373 -327
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1251 -0
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  138. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +368 -426
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1635 -0
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +847 -0
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +881 -0
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +771 -0
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  150. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +455 -482
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1533 -0
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +875 -0
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  158. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IApplicationService.sol/IApplicationService.json} +191 -201
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1085 -0
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1017 -0
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  164. package/artifacts/contracts/{instance/service → product}/IPricingService.sol/IPricingService.json +205 -90
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IRiskService.sol/IRiskService.json} +130 -115
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1385 -0
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +835 -0
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +913 -0
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +795 -0
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  180. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +698 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +755 -0
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +494 -29
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +296 -109
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  195. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/Registry.sol/Registry.json +993 -137
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +371 -250
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +193 -109
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
  215. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  216. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +259 -212
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1497 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +835 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  230. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +137 -131
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  232. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +571 -763
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  236. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  238. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -10
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +144 -3
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  247. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.json +79 -5
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -100
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  267. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Service.sol/Service.json +76 -109
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1627 -0
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1177 -0
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +2035 -0
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +823 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1406 -0
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +763 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  337. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  343. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  348. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +637 -0
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  354. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  355. package/contracts/accounting/AccountingService.sol +274 -0
  356. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  357. package/contracts/accounting/IAccountingService.sol +47 -0
  358. package/contracts/authorization/AccessAdmin.sol +780 -0
  359. package/contracts/authorization/AccessAdminLib.sol +396 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  361. package/contracts/authorization/Authorization.sol +172 -0
  362. package/contracts/authorization/IAccess.sol +67 -0
  363. package/contracts/authorization/IAccessAdmin.sol +144 -0
  364. package/contracts/authorization/IAuthorization.sol +27 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  367. package/contracts/distribution/BasicDistribution.sol +141 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  369. package/contracts/distribution/Distribution.sol +247 -0
  370. package/contracts/distribution/DistributionService.sol +435 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +45 -0
  373. package/contracts/distribution/IDistributionService.sol +109 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +86 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +433 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +124 -39
  389. package/contracts/instance/IInstanceService.sol +79 -50
  390. package/contracts/instance/Instance.sol +258 -111
  391. package/contracts/instance/InstanceAdmin.sol +383 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  393. package/contracts/instance/InstanceReader.sol +530 -191
  394. package/contracts/instance/InstanceService.sol +403 -211
  395. package/contracts/instance/InstanceServiceManager.sol +14 -29
  396. package/contracts/instance/InstanceStore.sol +174 -95
  397. package/contracts/instance/RiskSet.sol +118 -0
  398. package/contracts/instance/base/BalanceStore.sol +121 -0
  399. package/contracts/instance/base/Cloneable.sol +28 -0
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  402. package/contracts/instance/base/ObjectSet.sol +77 -0
  403. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  404. package/contracts/instance/module/IBundle.sol +9 -11
  405. package/contracts/instance/module/IComponents.sol +44 -23
  406. package/contracts/instance/module/IDistribution.sol +25 -12
  407. package/contracts/instance/module/IPolicy.sol +71 -38
  408. package/contracts/instance/module/IRisk.sol +6 -1
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +45 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  412. package/contracts/oracle/IOracle.sol +41 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +154 -0
  416. package/contracts/oracle/OracleService.sol +310 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +173 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  420. package/contracts/pool/BundleService.sol +394 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/{instance/service → pool}/IBundleService.sol +52 -30
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +164 -0
  425. package/contracts/pool/Pool.sol +343 -0
  426. package/contracts/pool/PoolLib.sol +359 -0
  427. package/contracts/pool/PoolService.sol +593 -0
  428. package/contracts/pool/PoolServiceManager.sol +39 -0
  429. package/contracts/product/ApplicationService.sol +299 -0
  430. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  431. package/contracts/product/BasicProduct.sol +49 -0
  432. package/contracts/product/BasicProductAuthorization.sol +63 -0
  433. package/contracts/product/ClaimService.sol +639 -0
  434. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  435. package/contracts/{instance/service → product}/IApplicationService.sol +22 -17
  436. package/contracts/product/IClaimService.sol +135 -0
  437. package/contracts/product/IPolicyService.sol +102 -0
  438. package/contracts/product/IPricingService.sol +40 -0
  439. package/contracts/product/IProductComponent.sol +62 -0
  440. package/contracts/product/IRiskService.sol +33 -0
  441. package/contracts/product/PolicyService.sol +645 -0
  442. package/contracts/product/PolicyServiceLib.sol +139 -0
  443. package/contracts/product/PolicyServiceManager.sol +39 -0
  444. package/contracts/product/PricingService.sol +306 -0
  445. package/contracts/product/PricingServiceManager.sol +39 -0
  446. package/contracts/product/Product.sol +472 -0
  447. package/contracts/product/RiskService.sol +157 -0
  448. package/contracts/product/RiskServiceManager.sol +39 -0
  449. package/contracts/registry/ChainNft.sol +79 -40
  450. package/contracts/registry/IRegistry.sol +103 -29
  451. package/contracts/registry/IRegistryService.sol +34 -40
  452. package/contracts/registry/IRelease.sol +29 -0
  453. package/contracts/registry/ITransferInterceptor.sol +1 -2
  454. package/contracts/registry/Registry.sol +465 -196
  455. package/contracts/registry/RegistryAdmin.sol +188 -0
  456. package/contracts/registry/RegistryAuthorization.sol +284 -0
  457. package/contracts/registry/RegistryService.sol +90 -135
  458. package/contracts/registry/RegistryServiceManager.sol +23 -32
  459. package/contracts/registry/ReleaseAdmin.sol +195 -0
  460. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  461. package/contracts/registry/ReleaseRegistry.sol +520 -0
  462. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  463. package/contracts/registry/TokenRegistry.sol +263 -65
  464. package/contracts/shared/Component.sol +210 -0
  465. package/contracts/shared/ComponentService.sol +678 -0
  466. package/contracts/shared/ComponentServiceManager.sol +38 -0
  467. package/contracts/shared/ContractLib.sol +311 -0
  468. package/contracts/shared/IComponent.sol +58 -0
  469. package/contracts/shared/IComponentService.sol +110 -0
  470. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  471. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  472. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  473. package/contracts/shared/INftOwnable.sol +4 -2
  474. package/contracts/shared/IPolicyHolder.sol +23 -14
  475. package/contracts/shared/IRegisterable.sol +22 -1
  476. package/contracts/shared/IRegistryLinked.sol +0 -1
  477. package/contracts/shared/IService.sol +12 -5
  478. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  479. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  480. package/contracts/shared/KeyValueStore.sol +131 -0
  481. package/contracts/shared/Lifecycle.sol +88 -0
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +34 -27
  484. package/contracts/shared/PolicyHolder.sol +23 -41
  485. package/contracts/shared/Registerable.sol +52 -20
  486. package/contracts/shared/RegistryLinked.sol +9 -19
  487. package/contracts/shared/Service.sol +36 -41
  488. package/contracts/shared/TokenHandler.sol +322 -13
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +195 -0
  491. package/contracts/staking/IStakingService.sol +170 -0
  492. package/contracts/staking/Staking.sol +605 -0
  493. package/contracts/staking/StakingLib.sol +281 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +52 -0
  496. package/contracts/staking/StakingReader.sol +199 -0
  497. package/contracts/staking/StakingService.sol +468 -0
  498. package/contracts/staking/StakingServiceManager.sol +45 -0
  499. package/contracts/staking/StakingStore.sol +606 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/{types → type}/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +150 -0
  503. package/contracts/{types → type}/Blocknumber.sol +26 -3
  504. package/contracts/{types → type}/ClaimId.sol +31 -3
  505. package/contracts/{types → type}/Fee.sol +28 -26
  506. package/contracts/{types → type}/Key32.sol +2 -2
  507. package/contracts/type/Key32Set.sol +62 -0
  508. package/contracts/{types → type}/NftId.sol +21 -16
  509. package/contracts/{types → type}/NftIdSet.sol +2 -2
  510. package/contracts/type/ObjectType.sol +307 -0
  511. package/contracts/type/PayoutId.sol +82 -0
  512. package/contracts/{types → type}/Referral.sol +2 -1
  513. package/contracts/type/RequestId.sol +75 -0
  514. package/contracts/type/RiskId.sol +75 -0
  515. package/contracts/type/RoleId.sol +180 -0
  516. package/contracts/type/Seconds.sol +105 -0
  517. package/contracts/type/Selector.sol +107 -0
  518. package/contracts/{types → type}/StateId.sol +47 -4
  519. package/contracts/type/String.sol +65 -0
  520. package/contracts/{types → type}/Timestamp.sol +20 -6
  521. package/contracts/type/UFixed.sol +262 -0
  522. package/contracts/{types → type}/Version.sol +58 -7
  523. package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
  524. package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
  525. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  526. package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
  527. package/package.json +12 -8
  528. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  530. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  532. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  535. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  536. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  537. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  538. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  539. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  540. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  541. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  543. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  544. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  545. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  546. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  547. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  548. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  550. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  552. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  553. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  554. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  555. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  556. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  557. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  558. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  559. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  560. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -860
  561. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -641
  563. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1263
  565. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  567. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -849
  569. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  571. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1539
  573. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -769
  575. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -475
  579. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
  585. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1124
  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 -1269
  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/PricingService.sol/PricingService.dbg.json +0 -4
  594. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +0 -988
  595. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +0 -4
  596. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +0 -689
  597. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  598. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -872
  599. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  600. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  601. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  602. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  603. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  604. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  605. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  606. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  607. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  608. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  609. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  610. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  611. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  612. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  613. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  614. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  615. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  616. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  617. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  619. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  620. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  621. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  622. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  623. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  624. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  625. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  626. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  627. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  628. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  629. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  630. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  631. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  632. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  633. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  634. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  635. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  637. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  638. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  639. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  640. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  641. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  642. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  643. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  644. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  645. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  646. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  647. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  648. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  649. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  650. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  651. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  653. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  655. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  657. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  658. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  659. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  661. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  663. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  665. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  667. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  669. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  671. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  672. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  673. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  675. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  677. package/contracts/components/Component.sol +0 -253
  678. package/contracts/components/Distribution.sol +0 -280
  679. package/contracts/components/IComponent.sol +0 -76
  680. package/contracts/components/IDistributionComponent.sol +0 -71
  681. package/contracts/components/IPoolComponent.sol +0 -113
  682. package/contracts/components/IProductComponent.sol +0 -40
  683. package/contracts/components/Pool.sol +0 -303
  684. package/contracts/components/Product.sol +0 -296
  685. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  686. package/contracts/instance/BundleManager.sol +0 -127
  687. package/contracts/instance/Cloneable.sol +0 -51
  688. package/contracts/instance/InstanceAccessManager.sol +0 -540
  689. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -299
  690. package/contracts/instance/ObjectManager.sol +0 -82
  691. package/contracts/instance/base/ComponentService.sol +0 -147
  692. package/contracts/instance/base/KeyValueStore.sol +0 -180
  693. package/contracts/instance/base/Lifecycle.sol +0 -109
  694. package/contracts/instance/module/IAccess.sol +0 -54
  695. package/contracts/instance/module/ISetup.sol +0 -33
  696. package/contracts/instance/module/ITreasury.sol +0 -23
  697. package/contracts/instance/service/ApplicationService.sol +0 -183
  698. package/contracts/instance/service/BundleService.sol +0 -431
  699. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  700. package/contracts/instance/service/ClaimService.sol +0 -145
  701. package/contracts/instance/service/DistributionService.sol +0 -346
  702. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  703. package/contracts/instance/service/IClaimService.sol +0 -61
  704. package/contracts/instance/service/IDistributionService.sol +0 -85
  705. package/contracts/instance/service/IPolicyService.sol +0 -72
  706. package/contracts/instance/service/IPoolService.sol +0 -99
  707. package/contracts/instance/service/IPricingService.sol +0 -36
  708. package/contracts/instance/service/IProductService.sol +0 -40
  709. package/contracts/instance/service/PolicyService.sol +0 -366
  710. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  711. package/contracts/instance/service/PoolService.sol +0 -303
  712. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  713. package/contracts/instance/service/PricingService.sol +0 -275
  714. package/contracts/instance/service/PricingServiceManager.sol +0 -51
  715. package/contracts/instance/service/ProductService.sol +0 -210
  716. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  717. package/contracts/registry/RegistryAccessManager.sol +0 -216
  718. package/contracts/registry/ReleaseManager.sol +0 -324
  719. package/contracts/shared/ContractDeployerLib.sol +0 -72
  720. package/contracts/test/TestFee.sol +0 -25
  721. package/contracts/test/TestRegisterable.sol +0 -18
  722. package/contracts/test/TestRoleId.sol +0 -14
  723. package/contracts/test/TestService.sol +0 -25
  724. package/contracts/test/TestToken.sol +0 -26
  725. package/contracts/test/TestVersion.sol +0 -44
  726. package/contracts/test/TestVersionable.sol +0 -17
  727. package/contracts/types/Amount.sol +0 -60
  728. package/contracts/types/ChainId.sol +0 -38
  729. package/contracts/types/NumberId.sol +0 -52
  730. package/contracts/types/ObjectType.sol +0 -161
  731. package/contracts/types/PayoutId.sol +0 -54
  732. package/contracts/types/RiskId.sol +0 -43
  733. package/contracts/types/RoleId.sol +0 -97
  734. package/contracts/types/Seconds.sol +0 -54
  735. package/contracts/types/UFixed.sol +0 -326
  736. /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",
@@ -1858,40 +2482,189 @@
1858
2482
  "type": "bool"
1859
2483
  },
1860
2484
  {
1861
- "internalType": "bytes",
1862
- "name": "data",
1863
- "type": "bytes"
2485
+ "internalType": "UFixed",
2486
+ "name": "commissionPercentage",
2487
+ "type": "uint160"
2488
+ },
2489
+ {
2490
+ "internalType": "string",
2491
+ "name": "name",
2492
+ "type": "string"
2493
+ },
2494
+ {
2495
+ "internalType": "bytes",
2496
+ "name": "data",
2497
+ "type": "bytes"
2498
+ }
2499
+ ],
2500
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2501
+ "name": "info",
2502
+ "type": "tuple"
2503
+ },
2504
+ {
2505
+ "internalType": "StateId",
2506
+ "name": "newState",
2507
+ "type": "uint8"
2508
+ }
2509
+ ],
2510
+ "name": "updateDistributorType",
2511
+ "outputs": [],
2512
+ "stateMutability": "nonpayable",
2513
+ "type": "function"
2514
+ },
2515
+ {
2516
+ "inputs": [
2517
+ {
2518
+ "internalType": "DistributorType",
2519
+ "name": "distributorType",
2520
+ "type": "bytes8"
2521
+ },
2522
+ {
2523
+ "internalType": "StateId",
2524
+ "name": "newState",
2525
+ "type": "uint8"
2526
+ }
2527
+ ],
2528
+ "name": "updateDistributorTypeState",
2529
+ "outputs": [],
2530
+ "stateMutability": "nonpayable",
2531
+ "type": "function"
2532
+ },
2533
+ {
2534
+ "inputs": [
2535
+ {
2536
+ "internalType": "NftId",
2537
+ "name": "productNftId",
2538
+ "type": "uint96"
2539
+ },
2540
+ {
2541
+ "components": [
2542
+ {
2543
+ "components": [
2544
+ {
2545
+ "internalType": "UFixed",
2546
+ "name": "fractionalFee",
2547
+ "type": "uint160"
2548
+ },
2549
+ {
2550
+ "internalType": "Amount",
2551
+ "name": "fixedFee",
2552
+ "type": "uint96"
2553
+ }
2554
+ ],
2555
+ "internalType": "struct Fee",
2556
+ "name": "productFee",
2557
+ "type": "tuple"
2558
+ },
2559
+ {
2560
+ "components": [
2561
+ {
2562
+ "internalType": "UFixed",
2563
+ "name": "fractionalFee",
2564
+ "type": "uint160"
2565
+ },
2566
+ {
2567
+ "internalType": "Amount",
2568
+ "name": "fixedFee",
2569
+ "type": "uint96"
2570
+ }
2571
+ ],
2572
+ "internalType": "struct Fee",
2573
+ "name": "processingFee",
2574
+ "type": "tuple"
2575
+ },
2576
+ {
2577
+ "components": [
2578
+ {
2579
+ "internalType": "UFixed",
2580
+ "name": "fractionalFee",
2581
+ "type": "uint160"
2582
+ },
2583
+ {
2584
+ "internalType": "Amount",
2585
+ "name": "fixedFee",
2586
+ "type": "uint96"
2587
+ }
2588
+ ],
2589
+ "internalType": "struct Fee",
2590
+ "name": "distributionFee",
2591
+ "type": "tuple"
2592
+ },
2593
+ {
2594
+ "components": [
2595
+ {
2596
+ "internalType": "UFixed",
2597
+ "name": "fractionalFee",
2598
+ "type": "uint160"
2599
+ },
2600
+ {
2601
+ "internalType": "Amount",
2602
+ "name": "fixedFee",
2603
+ "type": "uint96"
2604
+ }
2605
+ ],
2606
+ "internalType": "struct Fee",
2607
+ "name": "minDistributionOwnerFee",
2608
+ "type": "tuple"
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"
1864
2660
  }
1865
2661
  ],
1866
- "internalType": "struct IDistribution.DistributorTypeInfo",
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,42 @@
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"
2108
2996
  },
2109
2997
  {
2110
- "internalType": "contract TokenHandler",
2111
- "name": "tokenHandler",
2112
- "type": "address"
2998
+ "internalType": "UFixed",
2999
+ "name": "retentionLevel",
3000
+ "type": "uint160"
2113
3001
  },
2114
3002
  {
2115
- "internalType": "address",
2116
- "name": "wallet",
2117
- "type": "address"
3003
+ "internalType": "bool",
3004
+ "name": "isInterceptingBundleTransfers",
3005
+ "type": "bool"
2118
3006
  },
2119
3007
  {
2120
- "internalType": "Amount",
2121
- "name": "balanceAmount",
2122
- "type": "uint96"
3008
+ "internalType": "bool",
3009
+ "name": "isProcessingConfirmedClaims",
3010
+ "type": "bool"
2123
3011
  },
2124
3012
  {
2125
- "internalType": "Amount",
2126
- "name": "feeAmount",
2127
- "type": "uint96"
3013
+ "internalType": "bool",
3014
+ "name": "isExternallyManaged",
3015
+ "type": "bool"
2128
3016
  },
2129
3017
  {
2130
- "internalType": "bytes",
2131
- "name": "data",
2132
- "type": "bytes"
3018
+ "internalType": "bool",
3019
+ "name": "isVerifyingApplications",
3020
+ "type": "bool"
2133
3021
  }
2134
3022
  ],
2135
- "internalType": "struct IComponents.ComponentInfo",
3023
+ "internalType": "struct IComponents.PoolInfo",
2136
3024
  "name": "info",
2137
3025
  "type": "tuple"
2138
3026
  },
@@ -2142,7 +3030,7 @@
2142
3030
  "type": "uint8"
2143
3031
  }
2144
3032
  ],
2145
- "name": "updatePoolSetup",
3033
+ "name": "updatePool",
2146
3034
  "outputs": [],
2147
3035
  "stateMutability": "nonpayable",
2148
3036
  "type": "function"
@@ -2151,16 +3039,81 @@
2151
3039
  "inputs": [
2152
3040
  {
2153
3041
  "internalType": "NftId",
2154
- "name": "poolNftId",
3042
+ "name": "policyNftId",
3043
+ "type": "uint96"
3044
+ },
3045
+ {
3046
+ "internalType": "StateId",
3047
+ "name": "newState",
3048
+ "type": "uint8"
3049
+ }
3050
+ ],
3051
+ "name": "updatePremiumState",
3052
+ "outputs": [],
3053
+ "stateMutability": "nonpayable",
3054
+ "type": "function"
3055
+ },
3056
+ {
3057
+ "inputs": [
3058
+ {
3059
+ "internalType": "NftId",
3060
+ "name": "productNftId",
2155
3061
  "type": "uint96"
2156
3062
  },
3063
+ {
3064
+ "components": [
3065
+ {
3066
+ "internalType": "bool",
3067
+ "name": "isProcessingFundedClaims",
3068
+ "type": "bool"
3069
+ },
3070
+ {
3071
+ "internalType": "bool",
3072
+ "name": "isInterceptingPolicyTransfers",
3073
+ "type": "bool"
3074
+ },
3075
+ {
3076
+ "internalType": "bool",
3077
+ "name": "hasDistribution",
3078
+ "type": "bool"
3079
+ },
3080
+ {
3081
+ "internalType": "uint8",
3082
+ "name": "expectedNumberOfOracles",
3083
+ "type": "uint8"
3084
+ },
3085
+ {
3086
+ "internalType": "uint8",
3087
+ "name": "numberOfOracles",
3088
+ "type": "uint8"
3089
+ },
3090
+ {
3091
+ "internalType": "NftId",
3092
+ "name": "poolNftId",
3093
+ "type": "uint96"
3094
+ },
3095
+ {
3096
+ "internalType": "NftId",
3097
+ "name": "distributionNftId",
3098
+ "type": "uint96"
3099
+ },
3100
+ {
3101
+ "internalType": "NftId[]",
3102
+ "name": "oracleNftId",
3103
+ "type": "uint96[]"
3104
+ }
3105
+ ],
3106
+ "internalType": "struct IComponents.ProductInfo",
3107
+ "name": "info",
3108
+ "type": "tuple"
3109
+ },
2157
3110
  {
2158
3111
  "internalType": "StateId",
2159
3112
  "name": "newState",
2160
3113
  "type": "uint8"
2161
3114
  }
2162
3115
  ],
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,440 @@
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$__9063389e7d6890602401602060405180830381865af41580156128cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ef9190614492565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0016121d2565b61293461178a565b611c2381611bb1565b60006020828403121561294f57600080fd5b5035919050565b6001600160601b0381168114611c2357600080fd5b803561297681612956565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156129b3576129b361297b565b60405290565b60405161010081016001600160401b03811182821017156129b3576129b361297b565b60405161020081016001600160401b03811182821017156129b3576129b361297b565b60405161012081016001600160401b03811182821017156129b3576129b361297b565b604051608081016001600160401b03811182821017156129b3576129b361297b565b60405160e081016001600160401b03811182821017156129b3576129b361297b565b6001600160a01b0381168114611c2357600080fd5b803561297681612a66565b600060408284031215612a9857600080fd5b612aa0612991565b9050813581526020820135602082015292915050565b8015158114611c2357600080fd5b803561297681612ab6565b60006101408284031215612ae257600080fd5b612aea6129b9565b9050612af582612a7b565b8152612b0360208301612a7b565b6020820152612b146040830161296b565b6040820152612b256060830161296b565b6060820152612b378360808401612a86565b6080820152612b498360c08401612a86565b60a0820152612b5b6101008301612ac4565b60c0820152612b6d6101208301612a7b565b60e082015292915050565b60ff81168114611c2357600080fd5b60008060006101808486031215612b9d57600080fd5b8335612ba881612956565b9250612bb78560208601612acf565b9150610160840135612bc881612b78565b809150509250925092565b600060208284031215612be557600080fd5b813561156981612b78565b60008060408385031215612c0357600080fd5b8235612c0e81612956565b91506020830135612c1e81612b78565b809150509250929050565b6001600160c01b031981168114611c2357600080fd5b803561297681612c29565b64ffffffffff81168114611c2357600080fd5b803561297681612c4a565b600082601f830112612c7957600080fd5b81356001600160401b0380821115612c9357612c9361297b565b604051601f8301601f19908116603f01168101908282118183101715612cbb57612cbb61297b565b81604052838152866020858801011115612cd457600080fd5b836020870160208301376000602085830101528094505050505092915050565b61ffff81168114611c2357600080fd5b803561297681612cf4565b60006102008284031215612d2257600080fd5b612d2a6129dc565b9050612d358261296b565b8152612d436020830161296b565b6020820152612d5460408301612c3f565b6040820152612d6560608301612c3f565b60608201526080820135608082015260a082013560a082015260c082013560c0820152612d9460e08301612c5d565b60e0820152610100808301356001600160401b0380821115612db557600080fd5b612dc186838701612c68565b83850152610120925082850135915080821115612ddd57600080fd5b50612dea85828601612c68565b828401525050610140612dfe818401612d04565b90820152610160612e10838201612d04565b9082015261018082810135908201526101a0612e2d818401612c5d565b908201526101c0612e3f838201612c5d565b908201526101e0612e51838201612c5d565b9082015292915050565b600080600060608486031215612e7057600080fd5b8335612e7b81612956565b925060208401356001600160401b03811115612e9657600080fd5b612ea286828701612d0f565b9250506040840135612bc881612b78565b600060208284031215612ec557600080fd5b813561156981612956565b63ffffffff81168114611c2357600080fd5b803561297681612ed0565b60006101208284031215612f0057600080fd5b612f086129ff565b905081356001600160401b0380821115612f2157600080fd5b612f2d85838601612c68565b8352602084013560208401526040840135604084015260608401356060840152612f5960808501612ee2565b6080840152612f6a60a08501612ee2565b60a0840152612f7b60c08501612ac4565b60c0840152612f8c60e08501612ac4565b60e084015261010091508184013581811115612fa757600080fd5b612fb386828701612c68565b8385015250505092915050565b60008060408385031215612fd357600080fd5b8235915060208301356001600160401b03811115612ff057600080fd5b612ffc85828601612eed565b9150509250929050565b60006040828403121561301857600080fd5b613020612991565b9050813561302d81612956565b815260208201356001600160401b0381111561304857600080fd5b61305484828501612c68565b60208301525092915050565b6000806040838503121561307357600080fd5b823561307e81612c29565b915060208301356001600160401b0381111561309957600080fd5b612ffc85828601613006565b6000608082840312156130b757600080fd5b6130bf612a22565b905081356130cc81612cf4565b81526020828101359082015260408201356001600160401b038111156130f157600080fd5b6130fd84828501612c68565b604083015250606082013561311181612c4a565b606082015292915050565b60008060006060848603121561313157600080fd5b833561313c81612956565b9250602084013561314c81612ed0565b915060408401356001600160401b0381111561316757600080fd5b613173868287016130a5565b9150509250925092565b6000806000806080858703121561319357600080fd5b843561319e81612956565b935060208501356131ae81612ed0565b925060408501356001600160401b038111156131c957600080fd5b6131d5878288016130a5565b92505060608501356131e681612b78565b939692955090935050565b6000806040838503121561320457600080fd5b823591506020830135612c1e81612b78565b600060e0828403121561322857600080fd5b613230612a44565b905061323b8261296b565b815260208201356001600160401b038082111561325757600080fd5b61326385838601612c68565b60208401526040840135604084015261327e60608501612ee2565b606084015261328f60808501612ee2565b60808401526132a060a08501612c5d565b60a084015260c08401359150808211156132b957600080fd5b506132c684828501612c68565b60c08301525092915050565b600080604083850312156132e557600080fd5b8235915060208301356001600160401b0381111561330257600080fd5b612ffc85828601613216565b60005b83811015613329578181015183820152602001613311565b50506000910152565b6000815180845261334a81602086016020860161330e565b601f01601f19169290920160200192915050565b6020815260006115696020830184613332565b60006080828403121561338357600080fd5b61338b612a22565b9050813581526020820135602082015260408201356001600160401b038111156130f157600080fd5b600080600080608085870312156133ca57600080fd5b84356133d581612956565b935060208501356133e581612cf4565b925060408501356001600160401b0381111561340057600080fd5b6131d587828801613371565b6000610140828403121561341f57600080fd5b6134276129ff565b90506134328261296b565b81526134418360208401612a86565b602082015260608201356001600160401b0381111561345f57600080fd5b61346b84828501612c68565b60408301525061347d6080830161296b565b606082015261348e60a0830161296b565b608082015261349f60c0830161296b565b60a08201526134b060e08301612c5d565b60c08201526101006134c3818401612c5d565b60e0830152612e516101208401612c5d565b6000806000606084860312156134ea57600080fd5b83356134f581612956565b925060208401356001600160401b0381111561351057600080fd5b612ea28682870161340c565b60006020828403121561352e57600080fd5b813561156981612a66565b6000806040838503121561354c57600080fd5b8235612c0e81612c29565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526135b3602082018351613557565b6000602083015160c0808401526135cd60e0840182613332565b949350505050565b600080604083850312156135e857600080fd5b82356135f381612956565b915060208301356001600160401b0381111561360e57600080fd5b612ffc8582860161340c565b6000610100828403121561362d57600080fd5b60405160c081018181106001600160401b038211171561364f5761364f61297b565b604052905080823561366081612956565b8152602083013561367081612a66565b60208201526136828460408501612a86565b60408201526136948460808501612a86565b606082015260c08301356136a781612a66565b8060808301525060e083013560a08201525092915050565b60008061012083850312156136d357600080fd5b82356136de81612956565b91506136ed846020850161361a565b90509250929050565b600060e0828403121561370857600080fd5b613710612a44565b905081356001600160401b038082111561372957600080fd5b61373585838601612c68565b835261374360208501612a7b565b602084015261375460408501612a7b565b604084015261376560608501612a7b565b60608401526137766080850161296b565b60808401526132a060a0850161296b565b60008060006060848603121561379c57600080fd5b83356137a781612956565b925060208401356001600160401b038111156137c257600080fd5b612ea2868287016136f6565b60a081016109b88284613557565b600060a082840312156137ee57600080fd5b60405160a081016001600160401b0382821081831117156138115761381161297b565b816040528293508435915061382582612c29565b90825260208401359061383782612ab6565b816020840152604085013591508082111561385157600080fd5b5061385e85828601612c68565b60408301525060608301356060820152608083013560808201525092915050565b6000806040838503121561389257600080fd5b823561389d81612956565b915060208301356001600160401b038111156138b857600080fd5b612ffc858286016137dc565b6000806000606084860312156138d957600080fd5b83356138e481612c29565b925060208401356001600160401b038111156138ff57600080fd5b612ea286828701613006565b60008060006060848603121561392057600080fd5b833561392b81612b78565b9250602084013561393b81612b78565b91506040840135612bc881612b78565b6000806040838503121561395e57600080fd5b823561396981612956565b915060208301356001600160401b0381111561398457600080fd5b612ffc85828601612d0f565b6000806000606084860312156139a557600080fd5b8335925060208401356001600160401b038111156139c257600080fd5b612ea286828701612eed565b6000806000606084860312156139e357600080fd5b83356139ee81612956565b9250602084013561393b81612cf4565b600080600060608486031215613a1357600080fd5b8335925060208401356001600160401b03811115613a3057600080fd5b612ea286828701613216565b60008060408385031215613a4f57600080fd5b8235613a5a81612956565b915060208301356001600160401b03811115613a7557600080fd5b612ffc858286016136f6565b60ff1981168114611c2357600080fd5b60008060408385031215613aa457600080fd5b8235613aaf81612b78565b91506020830135612c1e81613a81565b60008060006101408486031215613ad557600080fd5b8335613ae081612956565b9250613aef856020860161361a565b9150610120840135612bc881612b78565b600080600060608486031215613b1557600080fd5b8335613b2081612956565b92506020840135613b3081612cf4565b915060408401356001600160401b03811115613b4b57600080fd5b61317386828701613371565b600080600060608486031215613b6c57600080fd5b8335613b7781612956565b925060208401356001600160401b03811115613b9257600080fd5b612ea2868287016137dc565b6000806101608385031215613bb257600080fd5b8235613bbd81612956565b91506136ed8460208501612acf565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613c1b908401826001600160601b03169052565b506080830151613c38608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60208152613c956020820183516001600160601b03169052565b60006020830151613cb160408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100613d168185018364ffffffffff169052565b808501519150506102006101208181860152613d36610220860184613332565b9250808601519050610140601f198685030181870152613d568483613332565b935080870151915050610160613d718187018361ffff169052565b8601519050610180613d888682018361ffff169052565b8601516101a08681019190915286015190506101c0613daf8187018364ffffffffff169052565b86015190506101e0613dc98682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b600060208284031215613df257600080fd5b5051919050565b6020815260008251610120806020850152613e18610140850183613332565b91506020850151604085015260408501516060850152606085015160808501526080850151613e4f60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100613e858187018315159052565b860151858403601f1901838701529050613e9f8382613332565b9695505050505050565b602081526001600160601b038251166020820152600060208301516040808401526135cd6060840182613332565b600060208284031215613ee957600080fd5b815161156981612ab6565b6020815261ffff8251166020820152602082015160408201526000604083015160806060840152613f2860a0840182613332565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e06040840152613f75610100840182613332565b90506040840151606084015263ffffffff60608501511660808401526080840151613fa860a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152613fd88282613332565b95945050505050565b600181811c90821680613ff557607f821691505b60208210810361401557634e487b7160e01b600052602260045260246000fd5b50919050565b6020815281516020820152602082015160408201526000604083015160806060840152613f2860a0840182613332565b602081526140656020820183516001600160601b03169052565b60006020830151614083604084018280518252602090810151910152565b5060408301516101408060808501526140a0610160850183613332565b915060608501516140bc60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006141018187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150613dc9565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e060208401526141ac610100840182613332565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516141f660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152613fbc565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261424e60c0840182613332565b905060608401516080840152608084015160a08401528091505092915050565b60006020828403121561428057600080fd5b815161156981612a66565b6000808585111561429b57600080fd5b838611156142a857600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156142dd5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000825161433781846020870161330e565b9190910192915050565b6000806040838503121561435457600080fd5b825161435f81612ab6565b6020840151909250612c1e81612ed0565b601f8211156108be57600081815260208120601f850160051c810160208610156143975750805b601f850160051c820191505b81811015611469578281556001016143a3565b81516001600160401b038111156143cf576143cf61297b565b6143e3816143dd8454613fe1565b84614370565b602080601f83116001811461441857600084156144005750858301515b600019600386901b1c1916600185901b178555611469565b600085815260208120601f198616915b8281101561444757888601518255948401946001909101908401614428565b50858210156144655787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561448757600080fd5b815161156981612b78565b6000602082840312156144a457600080fd5b815161156981613a81565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202ab5e66e5aedb27591ff29c9dd24164eade7665045984d1bdcb37d04a1c5feaf64736f6c63430008140033",
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$__9063389e7d6890602401602060405180830381865af41580156128cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ef9190614492565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0016121d2565b61293461178a565b611c2381611bb1565b60006020828403121561294f57600080fd5b5035919050565b6001600160601b0381168114611c2357600080fd5b803561297681612956565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156129b3576129b361297b565b60405290565b60405161010081016001600160401b03811182821017156129b3576129b361297b565b60405161020081016001600160401b03811182821017156129b3576129b361297b565b60405161012081016001600160401b03811182821017156129b3576129b361297b565b604051608081016001600160401b03811182821017156129b3576129b361297b565b60405160e081016001600160401b03811182821017156129b3576129b361297b565b6001600160a01b0381168114611c2357600080fd5b803561297681612a66565b600060408284031215612a9857600080fd5b612aa0612991565b9050813581526020820135602082015292915050565b8015158114611c2357600080fd5b803561297681612ab6565b60006101408284031215612ae257600080fd5b612aea6129b9565b9050612af582612a7b565b8152612b0360208301612a7b565b6020820152612b146040830161296b565b6040820152612b256060830161296b565b6060820152612b378360808401612a86565b6080820152612b498360c08401612a86565b60a0820152612b5b6101008301612ac4565b60c0820152612b6d6101208301612a7b565b60e082015292915050565b60ff81168114611c2357600080fd5b60008060006101808486031215612b9d57600080fd5b8335612ba881612956565b9250612bb78560208601612acf565b9150610160840135612bc881612b78565b809150509250925092565b600060208284031215612be557600080fd5b813561156981612b78565b60008060408385031215612c0357600080fd5b8235612c0e81612956565b91506020830135612c1e81612b78565b809150509250929050565b6001600160c01b031981168114611c2357600080fd5b803561297681612c29565b64ffffffffff81168114611c2357600080fd5b803561297681612c4a565b600082601f830112612c7957600080fd5b81356001600160401b0380821115612c9357612c9361297b565b604051601f8301601f19908116603f01168101908282118183101715612cbb57612cbb61297b565b81604052838152866020858801011115612cd457600080fd5b836020870160208301376000602085830101528094505050505092915050565b61ffff81168114611c2357600080fd5b803561297681612cf4565b60006102008284031215612d2257600080fd5b612d2a6129dc565b9050612d358261296b565b8152612d436020830161296b565b6020820152612d5460408301612c3f565b6040820152612d6560608301612c3f565b60608201526080820135608082015260a082013560a082015260c082013560c0820152612d9460e08301612c5d565b60e0820152610100808301356001600160401b0380821115612db557600080fd5b612dc186838701612c68565b83850152610120925082850135915080821115612ddd57600080fd5b50612dea85828601612c68565b828401525050610140612dfe818401612d04565b90820152610160612e10838201612d04565b9082015261018082810135908201526101a0612e2d818401612c5d565b908201526101c0612e3f838201612c5d565b908201526101e0612e51838201612c5d565b9082015292915050565b600080600060608486031215612e7057600080fd5b8335612e7b81612956565b925060208401356001600160401b03811115612e9657600080fd5b612ea286828701612d0f565b9250506040840135612bc881612b78565b600060208284031215612ec557600080fd5b813561156981612956565b63ffffffff81168114611c2357600080fd5b803561297681612ed0565b60006101208284031215612f0057600080fd5b612f086129ff565b905081356001600160401b0380821115612f2157600080fd5b612f2d85838601612c68565b8352602084013560208401526040840135604084015260608401356060840152612f5960808501612ee2565b6080840152612f6a60a08501612ee2565b60a0840152612f7b60c08501612ac4565b60c0840152612f8c60e08501612ac4565b60e084015261010091508184013581811115612fa757600080fd5b612fb386828701612c68565b8385015250505092915050565b60008060408385031215612fd357600080fd5b8235915060208301356001600160401b03811115612ff057600080fd5b612ffc85828601612eed565b9150509250929050565b60006040828403121561301857600080fd5b613020612991565b9050813561302d81612956565b815260208201356001600160401b0381111561304857600080fd5b61305484828501612c68565b60208301525092915050565b6000806040838503121561307357600080fd5b823561307e81612c29565b915060208301356001600160401b0381111561309957600080fd5b612ffc85828601613006565b6000608082840312156130b757600080fd5b6130bf612a22565b905081356130cc81612cf4565b81526020828101359082015260408201356001600160401b038111156130f157600080fd5b6130fd84828501612c68565b604083015250606082013561311181612c4a565b606082015292915050565b60008060006060848603121561313157600080fd5b833561313c81612956565b9250602084013561314c81612ed0565b915060408401356001600160401b0381111561316757600080fd5b613173868287016130a5565b9150509250925092565b6000806000806080858703121561319357600080fd5b843561319e81612956565b935060208501356131ae81612ed0565b925060408501356001600160401b038111156131c957600080fd5b6131d5878288016130a5565b92505060608501356131e681612b78565b939692955090935050565b6000806040838503121561320457600080fd5b823591506020830135612c1e81612b78565b600060e0828403121561322857600080fd5b613230612a44565b905061323b8261296b565b815260208201356001600160401b038082111561325757600080fd5b61326385838601612c68565b60208401526040840135604084015261327e60608501612ee2565b606084015261328f60808501612ee2565b60808401526132a060a08501612c5d565b60a084015260c08401359150808211156132b957600080fd5b506132c684828501612c68565b60c08301525092915050565b600080604083850312156132e557600080fd5b8235915060208301356001600160401b0381111561330257600080fd5b612ffc85828601613216565b60005b83811015613329578181015183820152602001613311565b50506000910152565b6000815180845261334a81602086016020860161330e565b601f01601f19169290920160200192915050565b6020815260006115696020830184613332565b60006080828403121561338357600080fd5b61338b612a22565b9050813581526020820135602082015260408201356001600160401b038111156130f157600080fd5b600080600080608085870312156133ca57600080fd5b84356133d581612956565b935060208501356133e581612cf4565b925060408501356001600160401b0381111561340057600080fd5b6131d587828801613371565b6000610140828403121561341f57600080fd5b6134276129ff565b90506134328261296b565b81526134418360208401612a86565b602082015260608201356001600160401b0381111561345f57600080fd5b61346b84828501612c68565b60408301525061347d6080830161296b565b606082015261348e60a0830161296b565b608082015261349f60c0830161296b565b60a08201526134b060e08301612c5d565b60c08201526101006134c3818401612c5d565b60e0830152612e516101208401612c5d565b6000806000606084860312156134ea57600080fd5b83356134f581612956565b925060208401356001600160401b0381111561351057600080fd5b612ea28682870161340c565b60006020828403121561352e57600080fd5b813561156981612a66565b6000806040838503121561354c57600080fd5b8235612c0e81612c29565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526135b3602082018351613557565b6000602083015160c0808401526135cd60e0840182613332565b949350505050565b600080604083850312156135e857600080fd5b82356135f381612956565b915060208301356001600160401b0381111561360e57600080fd5b612ffc8582860161340c565b6000610100828403121561362d57600080fd5b60405160c081018181106001600160401b038211171561364f5761364f61297b565b604052905080823561366081612956565b8152602083013561367081612a66565b60208201526136828460408501612a86565b60408201526136948460808501612a86565b606082015260c08301356136a781612a66565b8060808301525060e083013560a08201525092915050565b60008061012083850312156136d357600080fd5b82356136de81612956565b91506136ed846020850161361a565b90509250929050565b600060e0828403121561370857600080fd5b613710612a44565b905081356001600160401b038082111561372957600080fd5b61373585838601612c68565b835261374360208501612a7b565b602084015261375460408501612a7b565b604084015261376560608501612a7b565b60608401526137766080850161296b565b60808401526132a060a0850161296b565b60008060006060848603121561379c57600080fd5b83356137a781612956565b925060208401356001600160401b038111156137c257600080fd5b612ea2868287016136f6565b60a081016109b88284613557565b600060a082840312156137ee57600080fd5b60405160a081016001600160401b0382821081831117156138115761381161297b565b816040528293508435915061382582612c29565b90825260208401359061383782612ab6565b816020840152604085013591508082111561385157600080fd5b5061385e85828601612c68565b60408301525060608301356060820152608083013560808201525092915050565b6000806040838503121561389257600080fd5b823561389d81612956565b915060208301356001600160401b038111156138b857600080fd5b612ffc858286016137dc565b6000806000606084860312156138d957600080fd5b83356138e481612c29565b925060208401356001600160401b038111156138ff57600080fd5b612ea286828701613006565b60008060006060848603121561392057600080fd5b833561392b81612b78565b9250602084013561393b81612b78565b91506040840135612bc881612b78565b6000806040838503121561395e57600080fd5b823561396981612956565b915060208301356001600160401b0381111561398457600080fd5b612ffc85828601612d0f565b6000806000606084860312156139a557600080fd5b8335925060208401356001600160401b038111156139c257600080fd5b612ea286828701612eed565b6000806000606084860312156139e357600080fd5b83356139ee81612956565b9250602084013561393b81612cf4565b600080600060608486031215613a1357600080fd5b8335925060208401356001600160401b03811115613a3057600080fd5b612ea286828701613216565b60008060408385031215613a4f57600080fd5b8235613a5a81612956565b915060208301356001600160401b03811115613a7557600080fd5b612ffc858286016136f6565b60ff1981168114611c2357600080fd5b60008060408385031215613aa457600080fd5b8235613aaf81612b78565b91506020830135612c1e81613a81565b60008060006101408486031215613ad557600080fd5b8335613ae081612956565b9250613aef856020860161361a565b9150610120840135612bc881612b78565b600080600060608486031215613b1557600080fd5b8335613b2081612956565b92506020840135613b3081612cf4565b915060408401356001600160401b03811115613b4b57600080fd5b61317386828701613371565b600080600060608486031215613b6c57600080fd5b8335613b7781612956565b925060208401356001600160401b03811115613b9257600080fd5b612ea2868287016137dc565b6000806101608385031215613bb257600080fd5b8235613bbd81612956565b91506136ed8460208501612acf565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613c1b908401826001600160601b03169052565b506080830151613c38608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60208152613c956020820183516001600160601b03169052565b60006020830151613cb160408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100613d168185018364ffffffffff169052565b808501519150506102006101208181860152613d36610220860184613332565b9250808601519050610140601f198685030181870152613d568483613332565b935080870151915050610160613d718187018361ffff169052565b8601519050610180613d888682018361ffff169052565b8601516101a08681019190915286015190506101c0613daf8187018364ffffffffff169052565b86015190506101e0613dc98682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b600060208284031215613df257600080fd5b5051919050565b6020815260008251610120806020850152613e18610140850183613332565b91506020850151604085015260408501516060850152606085015160808501526080850151613e4f60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100613e858187018315159052565b860151858403601f1901838701529050613e9f8382613332565b9695505050505050565b602081526001600160601b038251166020820152600060208301516040808401526135cd6060840182613332565b600060208284031215613ee957600080fd5b815161156981612ab6565b6020815261ffff8251166020820152602082015160408201526000604083015160806060840152613f2860a0840182613332565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e06040840152613f75610100840182613332565b90506040840151606084015263ffffffff60608501511660808401526080840151613fa860a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152613fd88282613332565b95945050505050565b600181811c90821680613ff557607f821691505b60208210810361401557634e487b7160e01b600052602260045260246000fd5b50919050565b6020815281516020820152602082015160408201526000604083015160806060840152613f2860a0840182613332565b602081526140656020820183516001600160601b03169052565b60006020830151614083604084018280518252602090810151910152565b5060408301516101408060808501526140a0610160850183613332565b915060608501516140bc60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006141018187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150613dc9565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e060208401526141ac610100840182613332565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516141f660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152613fbc565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261424e60c0840182613332565b905060608401516080840152608084015160a08401528091505092915050565b60006020828403121561428057600080fd5b815161156981612a66565b6000808585111561429b57600080fd5b838611156142a857600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156142dd5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000825161433781846020870161330e565b9190910192915050565b6000806040838503121561435457600080fd5b825161435f81612ab6565b6020840151909250612c1e81612ed0565b601f8211156108be57600081815260208120601f850160051c810160208610156143975750805b601f850160051c820191505b81811015611469578281556001016143a3565b81516001600160401b038111156143cf576143cf61297b565b6143e3816143dd8454613fe1565b84614370565b602080601f83116001811461441857600084156144005750858301515b600019600386901b1c1916600185901b178555611469565b600085815260208120601f198616915b8281101561444757888601518255948401946001909101908401614428565b50858210156144655787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561448757600080fd5b815161156981612b78565b6000602082840312156144a457600080fd5b815161156981613a81565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202ab5e66e5aedb27591ff29c9dd24164eade7665045984d1bdcb37d04a1c5feaf64736f6c63430008140033",
3346
+ "bytecode": "0x60806040525f6007553480156012575f80fd5b50615c53806100205f395ff3fe608060405234801561000f575f80fd5b50600436106103bf575f3560e01c80637cef4842116101f5578063b4d7efe211610114578063e80c61ed116100a9578063f48016ce11610079578063f48016ce146109f2578063f9b3fe3c14610a13578063fe1f18d614610a26578063fe2ee79214610a39575f80fd5b8063e80c61ed1461097c578063e9e96c701461098f578063ea113322146109cc578063ebb41c0c146109df575f80fd5b8063c75e9a1c116100e4578063c75e9a1c1461040b578063cb2e87d214610943578063d7719f4614610956578063e2586c5814610969575f80fd5b8063b4d7efe2146108ea578063b6d7cd62146108fd578063bf1db3f914610910578063bf7e214f14610923575f80fd5b806396f4df2f1161018a578063abef1bb21161015a578063abef1bb21461089e578063af902500146108b1578063b0628dc3146108c4578063b33ef41a146108d7575f80fd5b806396f4df2f146107d95780639f8151e5146107ec578063a2842229146107ff578063a5961b4c14610812575f80fd5b80638eb9000d116101c55780638eb9000d146107675780638fb36037146107925780639505838e146107b357806396260559146107c6575f80fd5b80637cef4842146107195780637d417f0d1461072c5780638129fc1c1461073f5780638eaa6ac014610747575f80fd5b806338a699a4116102e157806354f1fa81116102765780635eede174116102465780635eede1741461066d578063623e7a0f146106e0578063733044ca146106f35780637a9e5e4b14610706575f80fd5b806354f1fa811461062757806354f6127f1461063a578063555e55911461065a5780635d4345cc146104a4575f80fd5b80634bb2d197116102b15780634bb2d197146105db5780634d4a7ae9146105ee578063533086d41461060157806353ebe12914610614575f80fd5b806338a699a41461057f57806340529b0f146105a2578063490840b4146105b55780634a824392146105c8575f80fd5b80631c7c8155116103575780632ae5819d116103275780632ae5819d1461051b5780632bce2d7c1461052e5780633477771214610541578063353e5b751461056c575f80fd5b80631c7c8155146104ca578063228e42ec146104dd578063248a77dd14610508578063297023ef1461040b575f80fd5b80630ccd44d7116103925780630ccd44d71461046c5780630d3581811461047f5780630fad0eb1146104a45780631aa41163146104b7575f80fd5b80630232ca49146103c3578063036b1ffb1461040b57806308077cd91461042057806309648a9d14610433575b5f80fd5b6103ee6103d1366004613688565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041e610419366004613a34565b610a4c565b005b61041e61042e366004613bb0565b610a91565b61045a610441366004613bf3565b5f90815260066020526040902054610100900460ff1690565b60405160ff9091168152602001610402565b61041e61047a366004613cb9565b610ab9565b61045a61048d366004613d29565b60ff9081165f908152602081905260409020541690565b61041e6104b2366004613d44565b610ae6565b61041e6104c5366004613d7b565b610b03565b61041e6104d8366004613f14565b610b43565b6103ee6104eb366004613688565b6001600160601b039081165f908152600260205260409020541690565b6103ee610516366004613f71565b610b6a565b61041e610529366004613d44565b610b87565b61041e61053c36600461406d565b610b9e565b61055461054f36600461419e565b610bc6565b6040516001600160401b039091168152602001610402565b61041e61057a3660046141d7565b610c6f565b61059261058d366004613bf3565b610c85565b6040519015158152602001610402565b61041e6105b0366004613d44565b610d0d565b61041e6105c33660046142ad565b610d24565b61041e6105d6366004614375565b610d4c565b61041e6105e93660046144bc565b610dea565b61041e6105fc3660046144fe565b610e88565b6103ee61060f366004613f71565b610eb0565b6103ee610622366004613f71565b610ec4565b61041e610635366004614688565b610ed8565b61064d610648366004613bf3565b611030565b6040516104029190614704565b61041e610668366004614780565b6110d2565b6106b661067b366004613688565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b0394851681529284166020840152921691810191909152606001610402565b61041e6106ee36600461480f565b611170565b61041e610701366004614866565b611198565b61041e6107143660046148a9565b611230565b61041e6107273660046148c4565b6112b2565b61041e61073a3660046148e0565b61133f565b61041e6113dd565b61075a610755366004613bf3565b611559565b6040516104029190614923565b6103ee610775366004613688565b6001600160601b039081165f908152600360205260409020541690565b61079a61167a565b6040516001600160e01b03199091168152602001610402565b61041e6107c1366004614981565b6116b0565b61041e6107d43660046149c3565b6116e1565b61041e6107e7366004614a06565b61177f565b6103ee6107fa366004613f71565b6117a7565b61041e61080d3660046148c4565b6117bb565b610891610820366004613bf3565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260068552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b6040516104029190614a44565b61041e6108ac366004614a85565b611809565b61041e6108bf3660046148c4565b611830565b6103ee6108d2366004613f71565b61187e565b61041e6108e5366004614ad9565b611892565b61041e6108f8366004614b2c565b6118b9565b61041e61090b366004614b48565b611906565b61059261091e366004613d29565b61191c565b61092b611968565b6040516001600160a01b039091168152602001610402565b61041e610951366004614cad565b611983565b61041e610964366004614cf0565b6119ab565b61041e610977366004614d32565b6119dc565b6103ee61098a366004613f71565b611a0d565b61059261099d366004614d74565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b61041e6109da366004614da1565b611a21565b61041e6109ed366004613d7b565b611abf565b610a05610a00366004614df2565b611b03565b604051908152602001610402565b61041e610a21366004614e1e565b611b84565b61041e610a34366004613d44565b611bb5565b61041e610a47366004614e60565b611bcc565b610a58335b5f36611bf4565b610a8c610a66846015611cf2565b83604051602001610a779190614ea2565b60405160208183030381529060405283611d3d565b505050565b610a9a33610a51565b610a8c610aa8846016611cf2565b83604051602001610a779190615037565b610ac233610a51565b610ae0610acf8585611eb3565b83604051602001610a7791906150ab565b50505050565b610aef33610a51565b610a8c610afd836015611cf2565b82611f02565b610b0c33610a51565b610b3f610b1a836029611cf2565b82604051602001610b2b9190615109565b6040516020818303038152906040526121ff565b5050565b610b4c33610a51565b610a8c610b5984846125c3565b82604051602001610b2b9190615190565b5f610b7433610a51565b610b7e838361260f565b90505b92915050565b610b9033610a51565b610a8c610afd83602b611cf2565b610ba733610a51565b610a8c610bb5846017611cf2565b83604051602001610a77919061522a565b5f610bd033610a51565b610bd861277d565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610c6a9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c599190615276565b83604051602001610b2b919061528d565b919050565b610c7833610a51565b610ae0610afd8484611eb3565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610ce9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b81919061534e565b610d1633610a51565b610a8c610afd836017611cf2565b610d2d33610a51565b610b3f610d3b83600f611cf2565b82604051602001610b2b9190615369565b610d5533610a51565b6040516355ee627560e01b8152610b3f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610d9a906001600160c01b03198716906004016153e8565b602060405180830381865af4158015610db5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd99190615276565b82604051602001610b2b91906153fd565b610df333610a51565b6040516355ee627560e01b8152610b3f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e38906001600160c01b03198716906004016153e8565b602060405180830381865af4158015610e53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e779190615276565b82604051602001610b2b91906154b2565b610e9133610a51565b610b3f610e9f83602b611cf2565b82604051602001610b2b9190615590565b5f610eba33610a51565b610b7e838361280d565b5f610ece33610a51565b610b7e8383612963565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610f3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5e919061534e565b15610f8c5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610fcd5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610f83565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610ae05760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610f83565b5f81815260066020526040902060010180546060919061104f90615780565b80601f016020809104026020016040519081016040528092919081815260200182805461107b90615780565b80156110c65780601f1061109d576101008083540402835291602001916110c6565b820191905f5260205f20905b8154815290600101906020018083116110a957829003601f168201915b50505050509050919050565b6110db33610a51565b6040516355ee627560e01b8152610a8c9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611120906001600160c01b03198816906004016153e8565b602060405180830381865af415801561113b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115f9190615276565b83604051602001610a7791906157b8565b61117933610a51565b610a8c61118784600b611cf2565b83604051602001610a7791906157f6565b6111a133610a51565b604051630f37f38f60e41b81526001600160401b0384166004820152610a8c9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156111fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121f9190615276565b83604051602001610a77919061528d565b33611239611968565b6001600160a01b0316816001600160a01b0316146112745760405162d1953b60e31b81526001600160a01b0382166004820152602401610f83565b816001600160a01b03163b5f036112a9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f83565b610b3f82612ab9565b6112bb33610a51565b6040516355ee627560e01b8152610a8c9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611300906001600160c01b03198716906004016153e8565b602060405180830381865af415801561131b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afd9190615276565b61134833610a51565b6040516355ee627560e01b8152610a8c9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061138d906001600160c01b03198816906004016153e8565b602060405180830381865af41580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc9190615276565b83604051602001610a7791906154b2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114215750825b90505f826001600160401b0316600114801561143c5750303b155b90508115801561144a575080155b156114685760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149257845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f79190615844565b905061150281612b19565b61150a612b2d565b5050831561155257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260066020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a082015292835260018101805491928401916115f390615780565b80601f016020809104026020016040519081016040528092919081815260200182805461161f90615780565b801561166a5780601f106116415761010080835404028352916020019161166a565b820191905f5260205f20905b81548152906001019060200180831161164d57829003601f168201915b5050505050815250509050919050565b5f80516020615bfe83398151915280545f9190600160a01b900460ff166116a1575f6116aa565b638fb3603760e01b5b91505090565b6116b933610a51565b6116c282612b3f565b610b3f6116d0836015611cf2565b82604051602001610b2b9190614ea2565b6116ea33610a51565b6040516355ee627560e01b8152610a8c9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061172f906001600160c01b03198816906004016153e8565b602060405180830381865af415801561174a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176e9190615276565b83604051602001610a7791906153fd565b61178833610a51565b610a8c61179684600f611cf2565b83604051602001610a779190615369565b5f6117b133610a51565b610b7e8383612c41565b6117c433610a51565b6040516355ee627560e01b8152610a8c9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611300906001600160c01b03198716906004016153e8565b61181233610a51565b610ae061181f85856125c3565b83604051602001610a779190615190565b61183933610a51565b6040516355ee627560e01b8152610a8c9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611300906001600160c01b03198716906004016153e8565b5f61188833610a51565b610b7e8383612d97565b61189b33610a51565b610a8c6118a88484611eb3565b82604051602001610b2b91906150ab565b6118c233610a51565b604051630f37f38f60e41b81526001600160401b0383166004820152610a8c9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401611300565b61190f33610a51565b610ae0610afd84846125c3565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610cce565b5f80516020615bfe833981519152546001600160a01b031690565b61198c33610a51565b610a8c61199a84600c611cf2565b83604051602001610a7791906158a2565b6119b433610a51565b6119bd82612b3f565b610b3f6119cb836016611cf2565b82604051602001610b2b9190615037565b6119e533610a51565b6119ee82612b3f565b610b3f6119fc83600b611cf2565b82604051602001610b2b91906157f6565b5f611a1733610a51565b610b7e8383612eed565b611a2a33610a51565b6040516355ee627560e01b8152610b3f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611a6f906001600160c01b03198716906004016153e8565b602060405180830381865af4158015611a8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aae9190615276565b82604051602001610b2b91906157b8565b611ac833610a51565b610b3f611ad6836029611cf2565b82604051602001611ae79190615109565b604051602081830303815290604052611afe60ff90565b611d3d565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7e9190615276565b611b8d33610a51565b611b9682612b3f565b610b3f611ba4836017611cf2565b82604051602001610b2b919061522a565b611bbe33610a51565b610a8c610afd836016611cf2565b611bd533610a51565b610b3f611be383600c611cf2565b82604051602001610b2b91906158a2565b5f80516020615bfe8339815191525f80611c2c611c0f611968565b8730611c1e60045f8a8c615932565b611c2791615959565b613043565b9150915081611cea5763ffffffff811615611cc757825460ff60a01b1916600160a01b178355611c5a611968565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c899392919061598f565b5f604051808303815f87803b158015611ca0575f80fd5b505af1158015611cb2573d5f803e3d5ffd5b5050845460ff60a01b1916855550611cea9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f83565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611b45565b5f611d488483611f02565b5f858152600660205260409020909150600101611d658482615a12565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611dd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfa9190615acc565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611e48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6c9190615ae7565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b45565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611f54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f78919061534e565b15611f995760405163093b89e160e11b815260048101849052602401610f83565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561200f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612033919061534e565b156120545760405163566ebf7960e01b815260048101869052602401610f83565b60ff808516146121d157815461207090829060ff168187610ed8565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156120f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121169190615acc565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612164573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121889190615ae7565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b6121d961314b565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af415801561224f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122739190615acc565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156122c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ea919061534e565b1561230d576040516307014a8d60e51b815260ff82166004820152602401610f83565b5f83815260066020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015612373573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612397919061534e565b156123c157604051633f92eac960e21b81526004810185905260ff83166024820152604401610f83565b6123ca8261191c565b6123ec57604051636cb0978b60e11b815260ff83166004820152602401610f83565b5f6123f561314b565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b919091021784555f87815260066020526040902090915060010161247f8682615a12565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156124f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125149190615acc565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612562573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125869190615ae7565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611b45565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af415801561267d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126a1919061534e565b6126c957604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f908152600360205260409020546126ed9116846131b7565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916127659187918791879163ffffffff90911690615b02565b60405180910390a16127768461323c565b5092915050565b600780545f918261278d83615b31565b9091555050600754604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af41580156127e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128089190615b55565b905090565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af415801561287b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061289f919061534e565b6128c757604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f908152600460205260409020546128eb9116846132d9565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916127659187918791879163ffffffff90911690615b02565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af41580156129d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129f5919061534e565b612a1d57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f90815260036020526040902054612a419116846132d9565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916127659187918791879163ffffffff90911690615b02565b5f80516020615bfe83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612b21613323565b612b2a8161336c565b50565b612b35613323565b612b3d61337d565b565b6001600160601b0381165f908152600560205260409081902054905163d15b589360e01b815263ffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af4158015612bac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bd0919061534e565b15612bf9576040516314d5804160e01b81526001600160601b0382166004820152602401610f83565b612c028161323c565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af4158015612caf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cd3919061534e565b612cfb57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f90815260026020526040902054612d1f9116846131b7565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916127659187918791879163ffffffff90911690615b02565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af4158015612e05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e29919061534e565b612e5157604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f90815260026020526040902054612e759116846132d9565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916127659187918791879163ffffffff90911690615b02565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af4158015612f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f7f919061534e565b612fa757604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f90815260046020526040902054612fcb9116846131b7565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916127659187918791879163ffffffff90911690615b02565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516130b19190615b70565b5f60405180830381855afa9150503d805f81146130e9576040519150601f19603f3d011682016040523d82523d5f602084013e6130ee565b606091505b5091509150811561314057604081511061312057808060200190518101906131169190615b86565b9094509250613140565b6020815110613140578080602001905181019061313d919061534e565b93505b505094509492505050565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128089190615bb3565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015613218573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7e9190615bce565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a79190615bb3565b6001600160601b03919091165f908152600560205260409020805463ffffffff191663ffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016131fd565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612b3d57604051631afcd79f60e31b815260040160405180910390fd5b613374613323565b612b2a81612ab9565b6133856133d5565b61338d61341b565b613395613448565b61339d61348c565b6133a56134a8565b6133ad6134e6565b6133b5613509565b6133bd613531565b6133c5613570565b6133cd61357a565b612b3d61358e565b6133e260165b60056135b6565b6133f160165b6005606e6135f8565b613400601660055b60c86135f8565b61340f60165b606e60056135f8565b612b3d6016606e6133f9565b613425600b6133db565b61342f600b6133e8565b613439600b613406565b612b3d600b5b606e60d26135f8565b6134546015600a6135b6565b6134636015600a5b60146135f8565b6134726015600a5b601e6135f8565b6134806015600a60286135f8565b612b3d601560286133f9565b613499602b5b603c6135b6565b612b3d602b5b603c60dc6135f8565b6134b4602d60326135b6565b6134c0602d603261345c565b6134ce602d603260336135f8565b6134da602d603261346b565b612b3d602d60336133f9565b6134f0602e613492565b6134fa602e61349f565b612b3d602e603c5b60486135f8565b613513602c6133db565b61351d602c6133e8565b613527602c613406565b612b3d602c61343f565b61353b602f6133db565b61354a602f60055b60466135f8565b613558602f600560076135f8565b613564602f6007613543565b612b3d602f6005613502565b612b3d600f6133db565b613584600c6133db565b612b3d60296133db565b613598600e6133db565b6135a260176133db565b6135ac60306133db565b612b3d60316133db565b60ff8281165f9081526020819052604090205416156135d7576135d7615be9565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561363057613630615be9565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114612b2a575f80fd5b8035610c6a81613669565b5f60208284031215613698575f80fd5b81356136a381613669565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b03811182821017156136e1576136e16136aa565b60405290565b60405160c081016001600160401b03811182821017156136e1576136e16136aa565b60405160e081016001600160401b03811182821017156136e1576136e16136aa565b60405161010081016001600160401b03811182821017156136e1576136e16136aa565b60405161014081016001600160401b03811182821017156136e1576136e16136aa565b60405161024081016001600160401b03811182821017156136e1576136e16136aa565b604051606081016001600160401b03811182821017156136e1576136e16136aa565b604051601f8201601f191681016001600160401b03811182821017156137de576137de6136aa565b604052919050565b6001600160c01b031981168114612b2a575f80fd5b8035610c6a816137e6565b61ffff81168114612b2a575f80fd5b8035610c6a81613806565b64ffffffffff81168114612b2a575f80fd5b8035610c6a81613820565b5f82601f83011261384c575f80fd5b8135602083015f806001600160401b0384111561386b5761386b6136aa565b50601f8301601f1916602001613880816137b6565b915050828152858383011115613894575f80fd5b828260208301375f92810160200192909252509392505050565b5f61020082840312156138bf575f80fd5b6138c76136be565b90506138d28261367d565b81526138e06020830161367d565b60208201526138f1604083016137fb565b60408201526139026060830161367d565b60608201526139136080830161367d565b608082015261392460a083016137fb565b60a082015261393560c08301613815565b60c082015261394660e08301613815565b60e0820152613958610100830161367d565b61010082015261396b610120830161367d565b61012082015261397e6101408301613832565b6101408201526139916101608301613832565b6101608201526139a46101808301613832565b6101808201526139b76101a08301613832565b6101a08201526101c08201356001600160401b038111156139d6575f80fd5b6139e28482850161383d565b6101c0830152506101e08201356001600160401b03811115613a02575f80fd5b613a0e8482850161383d565b6101e08301525092915050565b60ff81168114612b2a575f80fd5b8035610c6a81613a1b565b5f805f60608486031215613a46575f80fd5b8335613a5181613669565b925060208401356001600160401b03811115613a6b575f80fd5b613a77868287016138ae565b9250506040840135613a8881613a1b565b809150509250925092565b6001600160a01b0381168114612b2a575f80fd5b8035610c6a81613a93565b5f60408284031215613ac2575f80fd5b604080519081016001600160401b0381118282101715613ae457613ae46136aa565b6040529050808235613af581613a93565b81526020830135613b0581613669565b6020919091015292915050565b5f60e08284031215613b22575f80fd5b613b2a6136e7565b90508135613b3781613820565b81526020820135613b4781613820565b6020820152613b5860408301613832565b6040820152613b696060830161367d565b6060820152613b7b8360808401613ab2565b608082015260c08201356001600160401b03811115613b98575f80fd5b613ba48482850161383d565b60a08301525092915050565b5f805f60608486031215613bc2575f80fd5b8335613bcd81613669565b925060208401356001600160401b03811115613be7575f80fd5b613a7786828701613b12565b5f60208284031215613c03575f80fd5b5035919050565b5f60a08284031215613c1a575f80fd5b60405160a081016001600160401b0381118282101715613c3c57613c3c6136aa565b6040529050808235613c4d81613806565b81526020830135613c5d81613669565b60208201526040830135613c7081613820565b60408201526060830135613c8381613a93565b606082015260808301356001600160401b03811115613ca0575f80fd5b613cac8582860161383d565b6080830152505092915050565b5f805f8060808587031215613ccc575f80fd5b8435613cd781613669565b93506020850135613ce781613820565b925060408501356001600160401b03811115613d01575f80fd5b613d0d87828801613c0a565b9250506060850135613d1e81613a1b565b939692955090935050565b5f60208284031215613d39575f80fd5b81356136a381613a1b565b5f8060408385031215613d55575f80fd5b8235613d6081613669565b91506020830135613d7081613a1b565b809150509250929050565b5f808284036101e0811215613d8e575f80fd5b8335613d9981613669565b92506101c0601f1982011215613dad575f80fd5b50613db6613709565b613dc38560208601613ab2565b8152613dd28560608601613ab2565b6020820152613de48560a08601613ab2565b6040820152613df68560e08601613ab2565b6060820152613e09856101208601613ab2565b6080820152613e1c856101608601613ab2565b60a0820152613e2f856101a08601613ab2565b60c0820152809150509250929050565b803562ffffff81168114610c6a575f80fd5b5f60e08284031215613e61575f80fd5b613e69613709565b9050613e748261367d565b8152613e826020830161367d565b6020820152613e9360408301613832565b6040820152613ea460608301613e3f565b6060820152613eb560808301613e3f565b608082015260a08201356001600160401b03811115613ed2575f80fd5b613ede8482850161383d565b60a08301525060c08201356001600160401b03811115613efc575f80fd5b613f088482850161383d565b60c08301525092915050565b5f805f60608486031215613f26575f80fd5b8335613f3181613669565b92506020840135613f4181613806565b915060408401356001600160401b03811115613f5b575f80fd5b613f6786828701613e51565b9150509250925092565b5f8060408385031215613f82575f80fd5b8235613f8d81613669565b91506020830135613d7081613669565b8015158114612b2a575f80fd5b8035610c6a81613f9d565b63ffffffff81168114612b2a575f80fd5b8035610c6a81613fb5565b5f60808284031215613fe1575f80fd5b604051608081016001600160401b0381118282101715614003576140036136aa565b6040529050808235614014816137e6565b8152602083013561402481613f9d565b6020820152604083013561403781613fb5565b604082015260608301356001600160401b03811115614054575f80fd5b6140608582860161383d565b6060830152505092915050565b5f805f6060848603121561407f575f80fd5b833561408a81613669565b925060208401356001600160401b038111156140a4575f80fd5b613a7786828701613fd1565b5f61010082840312156140c1575f80fd5b6140c961372b565b90506140d48261367d565b81526140e26020830161367d565b60208201526140f360408301613faa565b604082015261410460608301613832565b606082015261411560808301613832565b608082015260a08201356001600160401b03811115614132575f80fd5b61413e8482850161383d565b60a08301525060c08201356001600160401b0381111561415c575f80fd5b6141688482850161383d565b60c08301525060e08201356001600160401b03811115614186575f80fd5b6141928482850161383d565b60e08301525092915050565b5f602082840312156141ae575f80fd5b81356001600160401b038111156141c3575f80fd5b6141cf848285016140b0565b949350505050565b5f805f606084860312156141e9575f80fd5b83356141f481613669565b9250602084013561420481613820565b91506040840135613a8881613a1b565b5f60e08284031215614224575f80fd5b61422c613709565b9050813561423981613669565b8152602082013561424981613a93565b6020820152604082013561425c81613a93565b6040820152606082013561426f81613f9d565b606082015261428060808301613faa565b608082015261429160a08301613faa565b60a08201526142a260c08301613faa565b60c082015292915050565b5f8061010083850312156142bf575f80fd5b82356142ca81613669565b91506142d98460208501614214565b90509250929050565b5f61010082840312156142f3575f80fd5b6142fb61372b565b90506143068261367d565b81526143146020830161367d565b602082015261432560408301613fc6565b604082015261433660608301613fc6565b606082015261434760808301613aa7565b608082015261435860a08301613832565b60a082015260c08201356001600160401b0381111561415c575f80fd5b5f8060408385031215614386575f80fd5b8235614391816137e6565b915060208301356001600160401b038111156143ab575f80fd5b6143b7858286016142e2565b9150509250929050565b5f61014082840312156143d2575f80fd5b6143da61374e565b90506143e582613aa7565b81526143f36020830161367d565b602082015261440460408301613aa7565b604082015261441560608301613fc6565b606082015261442660808301613832565b608082015261443760a08301613faa565b60a082015261444860c08301613faa565b60c082015261445960e08301613aa7565b60e08201526101008201356001600160401b03811115614477575f80fd5b6144838482850161383d565b610100830152506101208201356001600160401b038111156144a3575f80fd5b6144af8482850161383d565b6101208301525092915050565b5f80604083850312156144cd575f80fd5b82356144d8816137e6565b915060208301356001600160401b038111156144f2575f80fd5b6143b7858286016143c1565b5f80828403610260811215614511575f80fd5b833561451c81613669565b9250610240601f1982011215614530575f80fd5b50614539613771565b6145456020850161367d565b81526145536040850161367d565b60208201526145646060850161367d565b60408201526145756080850161367d565b606082015261458660a0850161367d565b608082015261459760c0850161367d565b60a08201526145a860e0850161367d565b60c08201526145ba610100850161367d565b60e08201526145cc610120850161367d565b6101008201526145df610140850161367d565b6101208201526145f2610160850161367d565b610140820152614605610180850161367d565b6101608201526146186101a0850161367d565b61018082015261462b6101c0850161367d565b6101a082015261463e6101e0850161367d565b6101c0820152614651610200850161367d565b6101e0820152614664610220850161367d565b610200820152614677610240850161367d565b610220820152809150509250929050565b5f805f806080858703121561469b575f80fd5b84356146a681613a1b565b935060208501356146b681613a1b565b925060408501356146c681613a1b565b91506060850135613d1e81613a1b565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b7e60208301846146d6565b5f60608284031215614726575f80fd5b61472e613794565b9050813561473b81613669565b8152602082013561474b81613820565b602082015260408201356001600160401b03811115614768575f80fd5b6147748482850161383d565b60408301525092915050565b5f805f60608486031215614792575f80fd5b833561479d816137e6565b925060208401356001600160401b038111156147b7575f80fd5b613a7786828701614716565b5f606082840312156147d3575f80fd5b6147db613794565b905081356001600160401b038111156147f2575f80fd5b6147fe8482850161383d565b825250602082013561474b81613a93565b5f805f60608486031215614821575f80fd5b833561482c81613669565b925060208401356001600160401b03811115614846575f80fd5b613a77868287016147c3565b6001600160401b0381168114612b2a575f80fd5b5f805f60608486031215614878575f80fd5b833561488381614852565b925060208401356001600160401b0381111561489d575f80fd5b613a77868287016140b0565b5f602082840312156148b9575f80fd5b81356136a381613a93565b5f80604083850312156148d5575f80fd5b8235613d60816137e6565b5f805f606084860312156148f2575f80fd5b83356148fd816137e6565b925060208401356001600160401b03811115614917575f80fd5b613a77868287016143c1565b6020815261496860208201835160ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f602083015160a0808401526141cf60c08401826146d6565b5f8060408385031215614992575f80fd5b823561499d81613669565b915060208301356001600160401b038111156149b7575f80fd5b6143b7858286016138ae565b5f805f606084860312156149d5575f80fd5b83356149e0816137e6565b925060208401356001600160401b038111156149fa575f80fd5b613a77868287016142e2565b5f805f6101208486031215614a19575f80fd5b8335614a2481613669565b9250614a338560208601614214565b9150610100840135613a8881613a1b565b60808101610b81828460ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f805f8060808587031215614a98575f80fd5b8435614aa381613669565b93506020850135614ab381613806565b925060408501356001600160401b03811115614acd575f80fd5b613d0d87828801613e51565b5f805f60608486031215614aeb575f80fd5b8335614af681613669565b92506020840135614b0681613820565b915060408401356001600160401b03811115614b20575f80fd5b613f6786828701613c0a565b5f8060408385031215614b3d575f80fd5b8235613d6081614852565b5f805f60608486031215614b5a575f80fd5b8335614b6581613669565b9250602084013561420481613806565b5f82601f830112614b84575f80fd5b81356001600160401b03811115614b9d57614b9d6136aa565b8060051b614bad602082016137b6565b91825260208185018101929081019086841115614bc8575f80fd5b6020860192505b83831015614bf3578235614be281613669565b825260209283019290910190614bcf565b9695505050505050565b5f6101008284031215614c0e575f80fd5b614c1661372b565b9050614c2182613faa565b8152614c2f60208301613faa565b6020820152614c4060408301613faa565b6040820152614c5160608301613a29565b6060820152614c6260808301613a29565b6080820152614c7360a0830161367d565b60a0820152614c8460c0830161367d565b60c082015260e08201356001600160401b03811115614ca1575f80fd5b61419284828501614b75565b5f805f60608486031215614cbf575f80fd5b8335614cca81613669565b925060208401356001600160401b03811115614ce4575f80fd5b613a7786828701614bfd565b5f8060408385031215614d01575f80fd5b8235614d0c81613669565b915060208301356001600160401b03811115614d26575f80fd5b6143b785828601613b12565b5f8060408385031215614d43575f80fd5b8235614d4e81613669565b915060208301356001600160401b03811115614d68575f80fd5b6143b7858286016147c3565b5f805f60608486031215614d86575f80fd5b8335614d9181613a1b565b9250602084013561420481613a1b565b5f8060408385031215614db2575f80fd5b8235614dbd816137e6565b915060208301356001600160401b03811115614dd7575f80fd5b6143b785828601614716565b60ff1981168114612b2a575f80fd5b5f8060408385031215614e03575f80fd5b8235614e0e81613a1b565b91506020830135613d7081614de3565b5f8060408385031215614e2f575f80fd5b8235614e3a81613669565b915060208301356001600160401b03811115614e54575f80fd5b6143b785828601613fd1565b5f8060408385031215614e71575f80fd5b8235614e7c81613669565b915060208301356001600160401b03811115614e96575f80fd5b6143b785828601614bfd565b60208152614ebc6020820183516001600160601b03169052565b5f6020830151614ed760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152614fee6102208401826146d6565b90506101e0840151601f198483030161020085015261500d82826146d6565b95945050505050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161509160a0840182615016565b5060a083015160e0808401526141cf6101008401826146d6565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a0808401526141cf60c08401826146d6565b5f6101c08201905061511c828451615016565b602083015161512e6040840182615016565b5060408301516151416080840182615016565b50606083015161515460c0840182615016565b506080830151615168610100840182615016565b5060a083015161517c610140840182615016565b5060c0830151612776610180840182615016565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516151d0606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261520d6101008401826146d6565b905060c0840151601f198483030160e085015261500d82826146d6565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f60608301516080808401526141cf60a08401826146d6565b5f60208284031215615286575f80fd5b5051919050565b602081526152a76020820183516001600160601b03169052565b5f60208301516152c260408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c08401526153126101208401826146d6565b905060c0840151601f198483030160e085015261532f82826146d6565b91505060e0840151601f198483030161010085015261500d82826146d6565b5f6020828403121561535e575f80fd5b81516136a381613f9d565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b03604084015116604083015260608301511515606083015260808301516153c0608084018215159052565b5060a08301516153d460a084018215159052565b5060c083015161277660c084018215159052565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f602083015161542c60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526154946101208401826146d6565b905060e0840151601f198483030161010085015261500d82826146d6565b602081526154cc6020820183516001600160a01b03169052565b5f60208301516154e760408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526155716101608401826146d6565b9050610120840151601f198483030161014085015261500d82826146d6565b81516001600160601b03168152610240810160208301516155bc60208401826001600160601b03169052565b5060408301516155d760408401826001600160601b03169052565b5060608301516155f260608401826001600160601b03169052565b50608083015161560d60808401826001600160601b03169052565b5060a083015161562860a08401826001600160601b03169052565b5060c083015161564360c08401826001600160601b03169052565b5060e083015161565e60e08401826001600160601b03169052565b5061010083015161567b6101008401826001600160601b03169052565b506101208301516156986101208401826001600160601b03169052565b506101408301516156b56101408401826001600160601b03169052565b506101608301516156d26101608401826001600160601b03169052565b506101808301516156ef6101808401826001600160601b03169052565b506101a083015161570c6101a08401826001600160601b03169052565b506101c08301516157296101c08401826001600160601b03169052565b506101e08301516157466101e08401826001600160601b03169052565b506102008301516157636102008401826001600160601b03169052565b506102208301516127766102208401826001600160601b03169052565b600181811c9082168061579457607f821691505b6020821081036157b257634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526141cf60808401826146d6565b602081525f82516060602084015261581160808401826146d6565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061500d82826146d6565b5f60208284031215615854575f80fd5b81516136a381613a93565b5f8151808452602084019350602083015f5b828110156158985781516001600160601b0316865260209586019590910190600101615871565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516158cf606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526141cf61012084018261585f565b5f8085851115615940575f80fd5b8386111561594c575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612776576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f821115610a8c57805f5260205f20601f840160051c810160208510156159f35750805b601f840160051c820191505b81811015611552575f81556001016159ff565b81516001600160401b03811115615a2b57615a2b6136aa565b615a3f81615a398454615780565b846159ce565b6020601f821160018114615a71575f8315615a5a5750848201515b5f19600385901b1c1916600184901b178455611552565b5f84815260208120601f198516915b82811015615aa05787850151825560209485019460019092019101615a80565b5084821015615abd57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215615adc575f80fd5b81516136a381613a1b565b5f60208284031215615af7575f80fd5b81516136a381614de3565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b5f60018201615b4e57634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f60208284031215615b65575f80fd5b81516136a381614852565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615b97575f80fd5b8251615ba281613f9d565b6020840151909250613d7081613fb5565b5f60208284031215615bc3575f80fd5b81516136a381613fb5565b5f60208284031215615bde575f80fd5b81516136a381613669565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220dfb7426520c80a46eb1198fe4d85432af859dd197acfe4ef007c18957653aca664736f6c634300081a0033",
3347
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103bf575f3560e01c80637cef4842116101f5578063b4d7efe211610114578063e80c61ed116100a9578063f48016ce11610079578063f48016ce146109f2578063f9b3fe3c14610a13578063fe1f18d614610a26578063fe2ee79214610a39575f80fd5b8063e80c61ed1461097c578063e9e96c701461098f578063ea113322146109cc578063ebb41c0c146109df575f80fd5b8063c75e9a1c116100e4578063c75e9a1c1461040b578063cb2e87d214610943578063d7719f4614610956578063e2586c5814610969575f80fd5b8063b4d7efe2146108ea578063b6d7cd62146108fd578063bf1db3f914610910578063bf7e214f14610923575f80fd5b806396f4df2f1161018a578063abef1bb21161015a578063abef1bb21461089e578063af902500146108b1578063b0628dc3146108c4578063b33ef41a146108d7575f80fd5b806396f4df2f146107d95780639f8151e5146107ec578063a2842229146107ff578063a5961b4c14610812575f80fd5b80638eb9000d116101c55780638eb9000d146107675780638fb36037146107925780639505838e146107b357806396260559146107c6575f80fd5b80637cef4842146107195780637d417f0d1461072c5780638129fc1c1461073f5780638eaa6ac014610747575f80fd5b806338a699a4116102e157806354f1fa81116102765780635eede174116102465780635eede1741461066d578063623e7a0f146106e0578063733044ca146106f35780637a9e5e4b14610706575f80fd5b806354f1fa811461062757806354f6127f1461063a578063555e55911461065a5780635d4345cc146104a4575f80fd5b80634bb2d197116102b15780634bb2d197146105db5780634d4a7ae9146105ee578063533086d41461060157806353ebe12914610614575f80fd5b806338a699a41461057f57806340529b0f146105a2578063490840b4146105b55780634a824392146105c8575f80fd5b80631c7c8155116103575780632ae5819d116103275780632ae5819d1461051b5780632bce2d7c1461052e5780633477771214610541578063353e5b751461056c575f80fd5b80631c7c8155146104ca578063228e42ec146104dd578063248a77dd14610508578063297023ef1461040b575f80fd5b80630ccd44d7116103925780630ccd44d71461046c5780630d3581811461047f5780630fad0eb1146104a45780631aa41163146104b7575f80fd5b80630232ca49146103c3578063036b1ffb1461040b57806308077cd91461042057806309648a9d14610433575b5f80fd5b6103ee6103d1366004613688565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041e610419366004613a34565b610a4c565b005b61041e61042e366004613bb0565b610a91565b61045a610441366004613bf3565b5f90815260066020526040902054610100900460ff1690565b60405160ff9091168152602001610402565b61041e61047a366004613cb9565b610ab9565b61045a61048d366004613d29565b60ff9081165f908152602081905260409020541690565b61041e6104b2366004613d44565b610ae6565b61041e6104c5366004613d7b565b610b03565b61041e6104d8366004613f14565b610b43565b6103ee6104eb366004613688565b6001600160601b039081165f908152600260205260409020541690565b6103ee610516366004613f71565b610b6a565b61041e610529366004613d44565b610b87565b61041e61053c36600461406d565b610b9e565b61055461054f36600461419e565b610bc6565b6040516001600160401b039091168152602001610402565b61041e61057a3660046141d7565b610c6f565b61059261058d366004613bf3565b610c85565b6040519015158152602001610402565b61041e6105b0366004613d44565b610d0d565b61041e6105c33660046142ad565b610d24565b61041e6105d6366004614375565b610d4c565b61041e6105e93660046144bc565b610dea565b61041e6105fc3660046144fe565b610e88565b6103ee61060f366004613f71565b610eb0565b6103ee610622366004613f71565b610ec4565b61041e610635366004614688565b610ed8565b61064d610648366004613bf3565b611030565b6040516104029190614704565b61041e610668366004614780565b6110d2565b6106b661067b366004613688565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b0394851681529284166020840152921691810191909152606001610402565b61041e6106ee36600461480f565b611170565b61041e610701366004614866565b611198565b61041e6107143660046148a9565b611230565b61041e6107273660046148c4565b6112b2565b61041e61073a3660046148e0565b61133f565b61041e6113dd565b61075a610755366004613bf3565b611559565b6040516104029190614923565b6103ee610775366004613688565b6001600160601b039081165f908152600360205260409020541690565b61079a61167a565b6040516001600160e01b03199091168152602001610402565b61041e6107c1366004614981565b6116b0565b61041e6107d43660046149c3565b6116e1565b61041e6107e7366004614a06565b61177f565b6103ee6107fa366004613f71565b6117a7565b61041e61080d3660046148c4565b6117bb565b610891610820366004613bf3565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260068552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b6040516104029190614a44565b61041e6108ac366004614a85565b611809565b61041e6108bf3660046148c4565b611830565b6103ee6108d2366004613f71565b61187e565b61041e6108e5366004614ad9565b611892565b61041e6108f8366004614b2c565b6118b9565b61041e61090b366004614b48565b611906565b61059261091e366004613d29565b61191c565b61092b611968565b6040516001600160a01b039091168152602001610402565b61041e610951366004614cad565b611983565b61041e610964366004614cf0565b6119ab565b61041e610977366004614d32565b6119dc565b6103ee61098a366004613f71565b611a0d565b61059261099d366004614d74565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b61041e6109da366004614da1565b611a21565b61041e6109ed366004613d7b565b611abf565b610a05610a00366004614df2565b611b03565b604051908152602001610402565b61041e610a21366004614e1e565b611b84565b61041e610a34366004613d44565b611bb5565b61041e610a47366004614e60565b611bcc565b610a58335b5f36611bf4565b610a8c610a66846015611cf2565b83604051602001610a779190614ea2565b60405160208183030381529060405283611d3d565b505050565b610a9a33610a51565b610a8c610aa8846016611cf2565b83604051602001610a779190615037565b610ac233610a51565b610ae0610acf8585611eb3565b83604051602001610a7791906150ab565b50505050565b610aef33610a51565b610a8c610afd836015611cf2565b82611f02565b610b0c33610a51565b610b3f610b1a836029611cf2565b82604051602001610b2b9190615109565b6040516020818303038152906040526121ff565b5050565b610b4c33610a51565b610a8c610b5984846125c3565b82604051602001610b2b9190615190565b5f610b7433610a51565b610b7e838361260f565b90505b92915050565b610b9033610a51565b610a8c610afd83602b611cf2565b610ba733610a51565b610a8c610bb5846017611cf2565b83604051602001610a77919061522a565b5f610bd033610a51565b610bd861277d565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610c6a9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c599190615276565b83604051602001610b2b919061528d565b919050565b610c7833610a51565b610ae0610afd8484611eb3565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610ce9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b81919061534e565b610d1633610a51565b610a8c610afd836017611cf2565b610d2d33610a51565b610b3f610d3b83600f611cf2565b82604051602001610b2b9190615369565b610d5533610a51565b6040516355ee627560e01b8152610b3f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610d9a906001600160c01b03198716906004016153e8565b602060405180830381865af4158015610db5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd99190615276565b82604051602001610b2b91906153fd565b610df333610a51565b6040516355ee627560e01b8152610b3f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e38906001600160c01b03198716906004016153e8565b602060405180830381865af4158015610e53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e779190615276565b82604051602001610b2b91906154b2565b610e9133610a51565b610b3f610e9f83602b611cf2565b82604051602001610b2b9190615590565b5f610eba33610a51565b610b7e838361280d565b5f610ece33610a51565b610b7e8383612963565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610f3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5e919061534e565b15610f8c5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610fcd5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610f83565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610ae05760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610f83565b5f81815260066020526040902060010180546060919061104f90615780565b80601f016020809104026020016040519081016040528092919081815260200182805461107b90615780565b80156110c65780601f1061109d576101008083540402835291602001916110c6565b820191905f5260205f20905b8154815290600101906020018083116110a957829003601f168201915b50505050509050919050565b6110db33610a51565b6040516355ee627560e01b8152610a8c9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611120906001600160c01b03198816906004016153e8565b602060405180830381865af415801561113b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115f9190615276565b83604051602001610a7791906157b8565b61117933610a51565b610a8c61118784600b611cf2565b83604051602001610a7791906157f6565b6111a133610a51565b604051630f37f38f60e41b81526001600160401b0384166004820152610a8c9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156111fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121f9190615276565b83604051602001610a77919061528d565b33611239611968565b6001600160a01b0316816001600160a01b0316146112745760405162d1953b60e31b81526001600160a01b0382166004820152602401610f83565b816001600160a01b03163b5f036112a9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f83565b610b3f82612ab9565b6112bb33610a51565b6040516355ee627560e01b8152610a8c9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611300906001600160c01b03198716906004016153e8565b602060405180830381865af415801561131b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afd9190615276565b61134833610a51565b6040516355ee627560e01b8152610a8c9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061138d906001600160c01b03198816906004016153e8565b602060405180830381865af41580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc9190615276565b83604051602001610a7791906154b2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114215750825b90505f826001600160401b0316600114801561143c5750303b155b90508115801561144a575080155b156114685760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149257845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f79190615844565b905061150281612b19565b61150a612b2d565b5050831561155257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260066020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a082015292835260018101805491928401916115f390615780565b80601f016020809104026020016040519081016040528092919081815260200182805461161f90615780565b801561166a5780601f106116415761010080835404028352916020019161166a565b820191905f5260205f20905b81548152906001019060200180831161164d57829003601f168201915b5050505050815250509050919050565b5f80516020615bfe83398151915280545f9190600160a01b900460ff166116a1575f6116aa565b638fb3603760e01b5b91505090565b6116b933610a51565b6116c282612b3f565b610b3f6116d0836015611cf2565b82604051602001610b2b9190614ea2565b6116ea33610a51565b6040516355ee627560e01b8152610a8c9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061172f906001600160c01b03198816906004016153e8565b602060405180830381865af415801561174a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176e9190615276565b83604051602001610a7791906153fd565b61178833610a51565b610a8c61179684600f611cf2565b83604051602001610a779190615369565b5f6117b133610a51565b610b7e8383612c41565b6117c433610a51565b6040516355ee627560e01b8152610a8c9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611300906001600160c01b03198716906004016153e8565b61181233610a51565b610ae061181f85856125c3565b83604051602001610a779190615190565b61183933610a51565b6040516355ee627560e01b8152610a8c9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611300906001600160c01b03198716906004016153e8565b5f61188833610a51565b610b7e8383612d97565b61189b33610a51565b610a8c6118a88484611eb3565b82604051602001610b2b91906150ab565b6118c233610a51565b604051630f37f38f60e41b81526001600160401b0383166004820152610a8c9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401611300565b61190f33610a51565b610ae0610afd84846125c3565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610cce565b5f80516020615bfe833981519152546001600160a01b031690565b61198c33610a51565b610a8c61199a84600c611cf2565b83604051602001610a7791906158a2565b6119b433610a51565b6119bd82612b3f565b610b3f6119cb836016611cf2565b82604051602001610b2b9190615037565b6119e533610a51565b6119ee82612b3f565b610b3f6119fc83600b611cf2565b82604051602001610b2b91906157f6565b5f611a1733610a51565b610b7e8383612eed565b611a2a33610a51565b6040516355ee627560e01b8152610b3f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611a6f906001600160c01b03198716906004016153e8565b602060405180830381865af4158015611a8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aae9190615276565b82604051602001610b2b91906157b8565b611ac833610a51565b610b3f611ad6836029611cf2565b82604051602001611ae79190615109565b604051602081830303815290604052611afe60ff90565b611d3d565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7e9190615276565b611b8d33610a51565b611b9682612b3f565b610b3f611ba4836017611cf2565b82604051602001610b2b919061522a565b611bbe33610a51565b610a8c610afd836016611cf2565b611bd533610a51565b610b3f611be383600c611cf2565b82604051602001610b2b91906158a2565b5f80516020615bfe8339815191525f80611c2c611c0f611968565b8730611c1e60045f8a8c615932565b611c2791615959565b613043565b9150915081611cea5763ffffffff811615611cc757825460ff60a01b1916600160a01b178355611c5a611968565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c899392919061598f565b5f604051808303815f87803b158015611ca0575f80fd5b505af1158015611cb2573d5f803e3d5ffd5b5050845460ff60a01b1916855550611cea9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f83565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611b45565b5f611d488483611f02565b5f858152600660205260409020909150600101611d658482615a12565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611dd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfa9190615acc565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611e48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6c9190615ae7565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b45565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611f54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f78919061534e565b15611f995760405163093b89e160e11b815260048101849052602401610f83565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561200f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612033919061534e565b156120545760405163566ebf7960e01b815260048101869052602401610f83565b60ff808516146121d157815461207090829060ff168187610ed8565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156120f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121169190615acc565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612164573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121889190615ae7565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b6121d961314b565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af415801561224f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122739190615acc565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156122c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ea919061534e565b1561230d576040516307014a8d60e51b815260ff82166004820152602401610f83565b5f83815260066020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015612373573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612397919061534e565b156123c157604051633f92eac960e21b81526004810185905260ff83166024820152604401610f83565b6123ca8261191c565b6123ec57604051636cb0978b60e11b815260ff83166004820152602401610f83565b5f6123f561314b565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b919091021784555f87815260066020526040902090915060010161247f8682615a12565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156124f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125149190615acc565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612562573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125869190615ae7565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611b45565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af415801561267d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126a1919061534e565b6126c957604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f908152600360205260409020546126ed9116846131b7565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916127659187918791879163ffffffff90911690615b02565b60405180910390a16127768461323c565b5092915050565b600780545f918261278d83615b31565b9091555050600754604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af41580156127e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128089190615b55565b905090565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af415801561287b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061289f919061534e565b6128c757604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f908152600460205260409020546128eb9116846132d9565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916127659187918791879163ffffffff90911690615b02565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af41580156129d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129f5919061534e565b612a1d57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f90815260036020526040902054612a419116846132d9565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916127659187918791879163ffffffff90911690615b02565b5f80516020615bfe83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612b21613323565b612b2a8161336c565b50565b612b35613323565b612b3d61337d565b565b6001600160601b0381165f908152600560205260409081902054905163d15b589360e01b815263ffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af4158015612bac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bd0919061534e565b15612bf9576040516314d5804160e01b81526001600160601b0382166004820152602401610f83565b612c028161323c565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af4158015612caf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cd3919061534e565b612cfb57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f90815260026020526040902054612d1f9116846131b7565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916127659187918791879163ffffffff90911690615b02565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af4158015612e05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e29919061534e565b612e5157604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f90815260026020526040902054612e759116846132d9565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916127659187918791879163ffffffff90911690615b02565b6001600160601b0382165f9081526005602052604080822054905163d15b589360e01b815263ffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9063d15b589390602401602060405180830381865af4158015612f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f7f919061534e565b612fa757604051631e94ffd760e11b81526001600160601b0382166004820152602401610f83565b6001600160601b038085165f90815260046020526040902054612fcb9116846131b7565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916127659187918791879163ffffffff90911690615b02565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516130b19190615b70565b5f60405180830381855afa9150503d805f81146130e9576040519150601f19603f3d011682016040523d82523d5f602084013e6130ee565b606091505b5091509150811561314057604081511061312057808060200190518101906131169190615b86565b9094509250613140565b6020815110613140578080602001905181019061313d919061534e565b93505b505094509492505050565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128089190615bb3565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015613218573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7e9190615bce565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a79190615bb3565b6001600160601b03919091165f908152600560205260409020805463ffffffff191663ffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016131fd565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612b3d57604051631afcd79f60e31b815260040160405180910390fd5b613374613323565b612b2a81612ab9565b6133856133d5565b61338d61341b565b613395613448565b61339d61348c565b6133a56134a8565b6133ad6134e6565b6133b5613509565b6133bd613531565b6133c5613570565b6133cd61357a565b612b3d61358e565b6133e260165b60056135b6565b6133f160165b6005606e6135f8565b613400601660055b60c86135f8565b61340f60165b606e60056135f8565b612b3d6016606e6133f9565b613425600b6133db565b61342f600b6133e8565b613439600b613406565b612b3d600b5b606e60d26135f8565b6134546015600a6135b6565b6134636015600a5b60146135f8565b6134726015600a5b601e6135f8565b6134806015600a60286135f8565b612b3d601560286133f9565b613499602b5b603c6135b6565b612b3d602b5b603c60dc6135f8565b6134b4602d60326135b6565b6134c0602d603261345c565b6134ce602d603260336135f8565b6134da602d603261346b565b612b3d602d60336133f9565b6134f0602e613492565b6134fa602e61349f565b612b3d602e603c5b60486135f8565b613513602c6133db565b61351d602c6133e8565b613527602c613406565b612b3d602c61343f565b61353b602f6133db565b61354a602f60055b60466135f8565b613558602f600560076135f8565b613564602f6007613543565b612b3d602f6005613502565b612b3d600f6133db565b613584600c6133db565b612b3d60296133db565b613598600e6133db565b6135a260176133db565b6135ac60306133db565b612b3d60316133db565b60ff8281165f9081526020819052604090205416156135d7576135d7615be9565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561363057613630615be9565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114612b2a575f80fd5b8035610c6a81613669565b5f60208284031215613698575f80fd5b81356136a381613669565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b03811182821017156136e1576136e16136aa565b60405290565b60405160c081016001600160401b03811182821017156136e1576136e16136aa565b60405160e081016001600160401b03811182821017156136e1576136e16136aa565b60405161010081016001600160401b03811182821017156136e1576136e16136aa565b60405161014081016001600160401b03811182821017156136e1576136e16136aa565b60405161024081016001600160401b03811182821017156136e1576136e16136aa565b604051606081016001600160401b03811182821017156136e1576136e16136aa565b604051601f8201601f191681016001600160401b03811182821017156137de576137de6136aa565b604052919050565b6001600160c01b031981168114612b2a575f80fd5b8035610c6a816137e6565b61ffff81168114612b2a575f80fd5b8035610c6a81613806565b64ffffffffff81168114612b2a575f80fd5b8035610c6a81613820565b5f82601f83011261384c575f80fd5b8135602083015f806001600160401b0384111561386b5761386b6136aa565b50601f8301601f1916602001613880816137b6565b915050828152858383011115613894575f80fd5b828260208301375f92810160200192909252509392505050565b5f61020082840312156138bf575f80fd5b6138c76136be565b90506138d28261367d565b81526138e06020830161367d565b60208201526138f1604083016137fb565b60408201526139026060830161367d565b60608201526139136080830161367d565b608082015261392460a083016137fb565b60a082015261393560c08301613815565b60c082015261394660e08301613815565b60e0820152613958610100830161367d565b61010082015261396b610120830161367d565b61012082015261397e6101408301613832565b6101408201526139916101608301613832565b6101608201526139a46101808301613832565b6101808201526139b76101a08301613832565b6101a08201526101c08201356001600160401b038111156139d6575f80fd5b6139e28482850161383d565b6101c0830152506101e08201356001600160401b03811115613a02575f80fd5b613a0e8482850161383d565b6101e08301525092915050565b60ff81168114612b2a575f80fd5b8035610c6a81613a1b565b5f805f60608486031215613a46575f80fd5b8335613a5181613669565b925060208401356001600160401b03811115613a6b575f80fd5b613a77868287016138ae565b9250506040840135613a8881613a1b565b809150509250925092565b6001600160a01b0381168114612b2a575f80fd5b8035610c6a81613a93565b5f60408284031215613ac2575f80fd5b604080519081016001600160401b0381118282101715613ae457613ae46136aa565b6040529050808235613af581613a93565b81526020830135613b0581613669565b6020919091015292915050565b5f60e08284031215613b22575f80fd5b613b2a6136e7565b90508135613b3781613820565b81526020820135613b4781613820565b6020820152613b5860408301613832565b6040820152613b696060830161367d565b6060820152613b7b8360808401613ab2565b608082015260c08201356001600160401b03811115613b98575f80fd5b613ba48482850161383d565b60a08301525092915050565b5f805f60608486031215613bc2575f80fd5b8335613bcd81613669565b925060208401356001600160401b03811115613be7575f80fd5b613a7786828701613b12565b5f60208284031215613c03575f80fd5b5035919050565b5f60a08284031215613c1a575f80fd5b60405160a081016001600160401b0381118282101715613c3c57613c3c6136aa565b6040529050808235613c4d81613806565b81526020830135613c5d81613669565b60208201526040830135613c7081613820565b60408201526060830135613c8381613a93565b606082015260808301356001600160401b03811115613ca0575f80fd5b613cac8582860161383d565b6080830152505092915050565b5f805f8060808587031215613ccc575f80fd5b8435613cd781613669565b93506020850135613ce781613820565b925060408501356001600160401b03811115613d01575f80fd5b613d0d87828801613c0a565b9250506060850135613d1e81613a1b565b939692955090935050565b5f60208284031215613d39575f80fd5b81356136a381613a1b565b5f8060408385031215613d55575f80fd5b8235613d6081613669565b91506020830135613d7081613a1b565b809150509250929050565b5f808284036101e0811215613d8e575f80fd5b8335613d9981613669565b92506101c0601f1982011215613dad575f80fd5b50613db6613709565b613dc38560208601613ab2565b8152613dd28560608601613ab2565b6020820152613de48560a08601613ab2565b6040820152613df68560e08601613ab2565b6060820152613e09856101208601613ab2565b6080820152613e1c856101608601613ab2565b60a0820152613e2f856101a08601613ab2565b60c0820152809150509250929050565b803562ffffff81168114610c6a575f80fd5b5f60e08284031215613e61575f80fd5b613e69613709565b9050613e748261367d565b8152613e826020830161367d565b6020820152613e9360408301613832565b6040820152613ea460608301613e3f565b6060820152613eb560808301613e3f565b608082015260a08201356001600160401b03811115613ed2575f80fd5b613ede8482850161383d565b60a08301525060c08201356001600160401b03811115613efc575f80fd5b613f088482850161383d565b60c08301525092915050565b5f805f60608486031215613f26575f80fd5b8335613f3181613669565b92506020840135613f4181613806565b915060408401356001600160401b03811115613f5b575f80fd5b613f6786828701613e51565b9150509250925092565b5f8060408385031215613f82575f80fd5b8235613f8d81613669565b91506020830135613d7081613669565b8015158114612b2a575f80fd5b8035610c6a81613f9d565b63ffffffff81168114612b2a575f80fd5b8035610c6a81613fb5565b5f60808284031215613fe1575f80fd5b604051608081016001600160401b0381118282101715614003576140036136aa565b6040529050808235614014816137e6565b8152602083013561402481613f9d565b6020820152604083013561403781613fb5565b604082015260608301356001600160401b03811115614054575f80fd5b6140608582860161383d565b6060830152505092915050565b5f805f6060848603121561407f575f80fd5b833561408a81613669565b925060208401356001600160401b038111156140a4575f80fd5b613a7786828701613fd1565b5f61010082840312156140c1575f80fd5b6140c961372b565b90506140d48261367d565b81526140e26020830161367d565b60208201526140f360408301613faa565b604082015261410460608301613832565b606082015261411560808301613832565b608082015260a08201356001600160401b03811115614132575f80fd5b61413e8482850161383d565b60a08301525060c08201356001600160401b0381111561415c575f80fd5b6141688482850161383d565b60c08301525060e08201356001600160401b03811115614186575f80fd5b6141928482850161383d565b60e08301525092915050565b5f602082840312156141ae575f80fd5b81356001600160401b038111156141c3575f80fd5b6141cf848285016140b0565b949350505050565b5f805f606084860312156141e9575f80fd5b83356141f481613669565b9250602084013561420481613820565b91506040840135613a8881613a1b565b5f60e08284031215614224575f80fd5b61422c613709565b9050813561423981613669565b8152602082013561424981613a93565b6020820152604082013561425c81613a93565b6040820152606082013561426f81613f9d565b606082015261428060808301613faa565b608082015261429160a08301613faa565b60a08201526142a260c08301613faa565b60c082015292915050565b5f8061010083850312156142bf575f80fd5b82356142ca81613669565b91506142d98460208501614214565b90509250929050565b5f61010082840312156142f3575f80fd5b6142fb61372b565b90506143068261367d565b81526143146020830161367d565b602082015261432560408301613fc6565b604082015261433660608301613fc6565b606082015261434760808301613aa7565b608082015261435860a08301613832565b60a082015260c08201356001600160401b0381111561415c575f80fd5b5f8060408385031215614386575f80fd5b8235614391816137e6565b915060208301356001600160401b038111156143ab575f80fd5b6143b7858286016142e2565b9150509250929050565b5f61014082840312156143d2575f80fd5b6143da61374e565b90506143e582613aa7565b81526143f36020830161367d565b602082015261440460408301613aa7565b604082015261441560608301613fc6565b606082015261442660808301613832565b608082015261443760a08301613faa565b60a082015261444860c08301613faa565b60c082015261445960e08301613aa7565b60e08201526101008201356001600160401b03811115614477575f80fd5b6144838482850161383d565b610100830152506101208201356001600160401b038111156144a3575f80fd5b6144af8482850161383d565b6101208301525092915050565b5f80604083850312156144cd575f80fd5b82356144d8816137e6565b915060208301356001600160401b038111156144f2575f80fd5b6143b7858286016143c1565b5f80828403610260811215614511575f80fd5b833561451c81613669565b9250610240601f1982011215614530575f80fd5b50614539613771565b6145456020850161367d565b81526145536040850161367d565b60208201526145646060850161367d565b60408201526145756080850161367d565b606082015261458660a0850161367d565b608082015261459760c0850161367d565b60a08201526145a860e0850161367d565b60c08201526145ba610100850161367d565b60e08201526145cc610120850161367d565b6101008201526145df610140850161367d565b6101208201526145f2610160850161367d565b610140820152614605610180850161367d565b6101608201526146186101a0850161367d565b61018082015261462b6101c0850161367d565b6101a082015261463e6101e0850161367d565b6101c0820152614651610200850161367d565b6101e0820152614664610220850161367d565b610200820152614677610240850161367d565b610220820152809150509250929050565b5f805f806080858703121561469b575f80fd5b84356146a681613a1b565b935060208501356146b681613a1b565b925060408501356146c681613a1b565b91506060850135613d1e81613a1b565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b7e60208301846146d6565b5f60608284031215614726575f80fd5b61472e613794565b9050813561473b81613669565b8152602082013561474b81613820565b602082015260408201356001600160401b03811115614768575f80fd5b6147748482850161383d565b60408301525092915050565b5f805f60608486031215614792575f80fd5b833561479d816137e6565b925060208401356001600160401b038111156147b7575f80fd5b613a7786828701614716565b5f606082840312156147d3575f80fd5b6147db613794565b905081356001600160401b038111156147f2575f80fd5b6147fe8482850161383d565b825250602082013561474b81613a93565b5f805f60608486031215614821575f80fd5b833561482c81613669565b925060208401356001600160401b03811115614846575f80fd5b613a77868287016147c3565b6001600160401b0381168114612b2a575f80fd5b5f805f60608486031215614878575f80fd5b833561488381614852565b925060208401356001600160401b0381111561489d575f80fd5b613a77868287016140b0565b5f602082840312156148b9575f80fd5b81356136a381613a93565b5f80604083850312156148d5575f80fd5b8235613d60816137e6565b5f805f606084860312156148f2575f80fd5b83356148fd816137e6565b925060208401356001600160401b03811115614917575f80fd5b613a77868287016143c1565b6020815261496860208201835160ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f602083015160a0808401526141cf60c08401826146d6565b5f8060408385031215614992575f80fd5b823561499d81613669565b915060208301356001600160401b038111156149b7575f80fd5b6143b7858286016138ae565b5f805f606084860312156149d5575f80fd5b83356149e0816137e6565b925060208401356001600160401b038111156149fa575f80fd5b613a77868287016142e2565b5f805f6101208486031215614a19575f80fd5b8335614a2481613669565b9250614a338560208601614214565b9150610100840135613a8881613a1b565b60808101610b81828460ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f805f8060808587031215614a98575f80fd5b8435614aa381613669565b93506020850135614ab381613806565b925060408501356001600160401b03811115614acd575f80fd5b613d0d87828801613e51565b5f805f60608486031215614aeb575f80fd5b8335614af681613669565b92506020840135614b0681613820565b915060408401356001600160401b03811115614b20575f80fd5b613f6786828701613c0a565b5f8060408385031215614b3d575f80fd5b8235613d6081614852565b5f805f60608486031215614b5a575f80fd5b8335614b6581613669565b9250602084013561420481613806565b5f82601f830112614b84575f80fd5b81356001600160401b03811115614b9d57614b9d6136aa565b8060051b614bad602082016137b6565b91825260208185018101929081019086841115614bc8575f80fd5b6020860192505b83831015614bf3578235614be281613669565b825260209283019290910190614bcf565b9695505050505050565b5f6101008284031215614c0e575f80fd5b614c1661372b565b9050614c2182613faa565b8152614c2f60208301613faa565b6020820152614c4060408301613faa565b6040820152614c5160608301613a29565b6060820152614c6260808301613a29565b6080820152614c7360a0830161367d565b60a0820152614c8460c0830161367d565b60c082015260e08201356001600160401b03811115614ca1575f80fd5b61419284828501614b75565b5f805f60608486031215614cbf575f80fd5b8335614cca81613669565b925060208401356001600160401b03811115614ce4575f80fd5b613a7786828701614bfd565b5f8060408385031215614d01575f80fd5b8235614d0c81613669565b915060208301356001600160401b03811115614d26575f80fd5b6143b785828601613b12565b5f8060408385031215614d43575f80fd5b8235614d4e81613669565b915060208301356001600160401b03811115614d68575f80fd5b6143b7858286016147c3565b5f805f60608486031215614d86575f80fd5b8335614d9181613a1b565b9250602084013561420481613a1b565b5f8060408385031215614db2575f80fd5b8235614dbd816137e6565b915060208301356001600160401b03811115614dd7575f80fd5b6143b785828601614716565b60ff1981168114612b2a575f80fd5b5f8060408385031215614e03575f80fd5b8235614e0e81613a1b565b91506020830135613d7081614de3565b5f8060408385031215614e2f575f80fd5b8235614e3a81613669565b915060208301356001600160401b03811115614e54575f80fd5b6143b785828601613fd1565b5f8060408385031215614e71575f80fd5b8235614e7c81613669565b915060208301356001600160401b03811115614e96575f80fd5b6143b785828601614bfd565b60208152614ebc6020820183516001600160601b03169052565b5f6020830151614ed760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152614fee6102208401826146d6565b90506101e0840151601f198483030161020085015261500d82826146d6565b95945050505050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161509160a0840182615016565b5060a083015160e0808401526141cf6101008401826146d6565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a0808401526141cf60c08401826146d6565b5f6101c08201905061511c828451615016565b602083015161512e6040840182615016565b5060408301516151416080840182615016565b50606083015161515460c0840182615016565b506080830151615168610100840182615016565b5060a083015161517c610140840182615016565b5060c0830151612776610180840182615016565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516151d0606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261520d6101008401826146d6565b905060c0840151601f198483030160e085015261500d82826146d6565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f60608301516080808401526141cf60a08401826146d6565b5f60208284031215615286575f80fd5b5051919050565b602081526152a76020820183516001600160601b03169052565b5f60208301516152c260408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c08401526153126101208401826146d6565b905060c0840151601f198483030160e085015261532f82826146d6565b91505060e0840151601f198483030161010085015261500d82826146d6565b5f6020828403121561535e575f80fd5b81516136a381613f9d565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b03604084015116604083015260608301511515606083015260808301516153c0608084018215159052565b5060a08301516153d460a084018215159052565b5060c083015161277660c084018215159052565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f602083015161542c60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526154946101208401826146d6565b905060e0840151601f198483030161010085015261500d82826146d6565b602081526154cc6020820183516001600160a01b03169052565b5f60208301516154e760408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526155716101608401826146d6565b9050610120840151601f198483030161014085015261500d82826146d6565b81516001600160601b03168152610240810160208301516155bc60208401826001600160601b03169052565b5060408301516155d760408401826001600160601b03169052565b5060608301516155f260608401826001600160601b03169052565b50608083015161560d60808401826001600160601b03169052565b5060a083015161562860a08401826001600160601b03169052565b5060c083015161564360c08401826001600160601b03169052565b5060e083015161565e60e08401826001600160601b03169052565b5061010083015161567b6101008401826001600160601b03169052565b506101208301516156986101208401826001600160601b03169052565b506101408301516156b56101408401826001600160601b03169052565b506101608301516156d26101608401826001600160601b03169052565b506101808301516156ef6101808401826001600160601b03169052565b506101a083015161570c6101a08401826001600160601b03169052565b506101c08301516157296101c08401826001600160601b03169052565b506101e08301516157466101e08401826001600160601b03169052565b506102008301516157636102008401826001600160601b03169052565b506102208301516127766102208401826001600160601b03169052565b600181811c9082168061579457607f821691505b6020821081036157b257634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526141cf60808401826146d6565b602081525f82516060602084015261581160808401826146d6565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061500d82826146d6565b5f60208284031215615854575f80fd5b81516136a381613a93565b5f8151808452602084019350602083015f5b828110156158985781516001600160601b0316865260209586019590910190600101615871565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516158cf606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526141cf61012084018261585f565b5f8085851115615940575f80fd5b8386111561594c575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612776576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f821115610a8c57805f5260205f20601f840160051c810160208510156159f35750805b601f840160051c820191505b81811015611552575f81556001016159ff565b81516001600160401b03811115615a2b57615a2b6136aa565b615a3f81615a398454615780565b846159ce565b6020601f821160018114615a71575f8315615a5a5750848201515b5f19600385901b1c1916600184901b178455611552565b5f84815260208120601f198516915b82811015615aa05787850151825560209485019460019092019101615a80565b5084821015615abd57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215615adc575f80fd5b81516136a381613a1b565b5f60208284031215615af7575f80fd5b81516136a381614de3565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b5f60018201615b4e57634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f60208284031215615b65575f80fd5b81516136a381614852565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615b97575f80fd5b8251615ba281613f9d565b6020840151909250613d7081613fb5565b5f60208284031215615bc3575f80fd5b81516136a381613fb5565b5f60208284031215615bde575f80fd5b81516136a381613669565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220dfb7426520c80a46eb1198fe4d85432af859dd197acfe4ef007c18957653aca664736f6c634300081a0033",
2409
3348
  "linkReferences": {
2410
- "contracts/types/Key32.sol": {
2411
- "Key32Lib": [
3349
+ "contracts/type/Amount.sol": {
3350
+ "AmountLib": [
2412
3351
  {
2413
3352
  "length": 20,
2414
- "start": 5418
3353
+ "start": 12799
2415
3354
  },
2416
3355
  {
2417
3356
  "length": 20,
2418
- "start": 8113
3357
+ "start": 13089
3358
+ }
3359
+ ]
3360
+ },
3361
+ "contracts/type/Blocknumber.sol": {
3362
+ "BlocknumberLib": [
3363
+ {
3364
+ "length": 20,
3365
+ "start": 9829
2419
3366
  },
2420
3367
  {
2421
3368
  "length": 20,
2422
- "start": 8229
3369
+ "start": 10339
2423
3370
  },
2424
3371
  {
2425
3372
  "length": 20,
2426
- "start": 8411
3373
+ "start": 10681
2427
3374
  },
2428
3375
  {
2429
3376
  "length": 20,
2430
- "start": 8527
3377
+ "start": 11156
2431
3378
  },
2432
3379
  {
2433
3380
  "length": 20,
2434
- "start": 9293
3381
+ "start": 11415
2435
3382
  },
2436
3383
  {
2437
3384
  "length": 20,
2438
- "start": 9409
3385
+ "start": 11757
2439
3386
  },
2440
3387
  {
2441
3388
  "length": 20,
2442
- "start": 9552
3389
+ "start": 12099
2443
3390
  },
2444
3391
  {
2445
3392
  "length": 20,
2446
- "start": 10301
3393
+ "start": 12654
2447
3394
  },
2448
3395
  {
2449
3396
  "length": 20,
2450
- "start": 10417
3397
+ "start": 12894
2451
3398
  }
2452
3399
  ]
2453
3400
  },
2454
- "contracts/types/NftId.sol": {
2455
- "NftIdLib": [
3401
+ "contracts/type/ClaimId.sol": {
3402
+ "ClaimIdLib": [
3403
+ {
3404
+ "length": 20,
3405
+ "start": 9741
3406
+ }
3407
+ ]
3408
+ },
3409
+ "contracts/type/DistributorType.sol": {
3410
+ "DistributorTypeLib": [
3411
+ {
3412
+ "length": 20,
3413
+ "start": 3622
3414
+ },
3415
+ {
3416
+ "length": 20,
3417
+ "start": 4987
3418
+ },
3419
+ {
3420
+ "length": 20,
3421
+ "start": 6135
3422
+ }
3423
+ ]
3424
+ },
3425
+ "contracts/type/Key32.sol": {
3426
+ "Key32Lib": [
2456
3427
  {
2457
3428
  "length": 20,
2458
- "start": 2371
3429
+ "start": 6983
2459
3430
  },
2460
3431
  {
2461
3432
  "length": 20,
2462
- "start": 2912
3433
+ "start": 7614
2463
3434
  },
2464
3435
  {
2465
3436
  "length": 20,
2466
- "start": 3022
3437
+ "start": 7728
2467
3438
  },
2468
3439
  {
2469
3440
  "length": 20,
2470
- "start": 3535
3441
+ "start": 8410
2471
3442
  },
2472
3443
  {
2473
3444
  "length": 20,
2474
- "start": 4174
3445
+ "start": 8524
2475
3446
  },
2476
3447
  {
2477
3448
  "length": 20,
2478
- "start": 5993
3449
+ "start": 8759
3450
+ },
3451
+ {
3452
+ "length": 20,
3453
+ "start": 9432
3454
+ },
3455
+ {
3456
+ "length": 20,
3457
+ "start": 9546
3458
+ }
3459
+ ]
3460
+ },
3461
+ "contracts/type/NftId.sol": {
3462
+ "NftIdLib": [
3463
+ {
3464
+ "length": 20,
3465
+ "start": 7483
2479
3466
  }
2480
3467
  ]
2481
3468
  },
2482
- "contracts/types/ObjectType.sol": {
3469
+ "contracts/type/ObjectType.sol": {
2483
3470
  "ObjectTypeLib": [
2484
3471
  {
2485
3472
  "length": 20,
2486
- "start": 9673
3473
+ "start": 8878
2487
3474
  }
2488
3475
  ]
2489
3476
  },
2490
- "contracts/types/RiskId.sol": {
2491
- "RiskIdLib": [
3477
+ "contracts/type/PayoutId.sol": {
3478
+ "PayoutIdLib": [
3479
+ {
3480
+ "length": 20,
3481
+ "start": 7936
3482
+ }
3483
+ ]
3484
+ },
3485
+ "contracts/type/Referral.sol": {
3486
+ "ReferralLib": [
2492
3487
  {
2493
3488
  "length": 20,
2494
- "start": 2620
3489
+ "start": 3464
2495
3490
  },
2496
3491
  {
2497
3492
  "length": 20,
2498
- "start": 3620
3493
+ "start": 5917
2499
3494
  },
2500
3495
  {
2501
3496
  "length": 20,
2502
- "start": 4337
3497
+ "start": 6252
2503
3498
  }
2504
3499
  ]
2505
3500
  },
2506
- "contracts/types/StateId.sol": {
2507
- "StateIdLib": [
3501
+ "contracts/type/RequestId.sol": {
3502
+ "RequestIdLib": [
3503
+ {
3504
+ "length": 20,
3505
+ "start": 3101
3506
+ },
3507
+ {
3508
+ "length": 20,
3509
+ "start": 4579
3510
+ },
3511
+ {
3512
+ "length": 20,
3513
+ "start": 6404
3514
+ },
3515
+ {
3516
+ "length": 20,
3517
+ "start": 10188
3518
+ }
3519
+ ]
3520
+ },
3521
+ "contracts/type/RiskId.sol": {
3522
+ "RiskIdLib": [
2508
3523
  {
2509
3524
  "length": 20,
2510
- "start": 2775
3525
+ "start": 4366
2511
3526
  },
2512
3527
  {
2513
3528
  "length": 20,
2514
- "start": 4491
3529
+ "start": 4846
2515
3530
  },
2516
3531
  {
2517
3532
  "length": 20,
2518
- "start": 4821
3533
+ "start": 6749
3534
+ }
3535
+ ]
3536
+ },
3537
+ "contracts/type/StateId.sol": {
3538
+ "StateIdLib": [
3539
+ {
3540
+ "length": 20,
3541
+ "start": 3280
2519
3542
  },
2520
3543
  {
2521
3544
  "length": 20,
2522
- "start": 7530
3545
+ "start": 3874
2523
3546
  },
2524
3547
  {
2525
3548
  "length": 20,
2526
- "start": 7750
3549
+ "start": 6502
2527
3550
  },
2528
3551
  {
2529
3552
  "length": 20,
2530
- "start": 8731
3553
+ "start": 7996
2531
3554
  },
2532
3555
  {
2533
3556
  "length": 20,
2534
- "start": 8951
3557
+ "start": 8183
2535
3558
  },
2536
3559
  {
2537
3560
  "length": 20,
2538
- "start": 9890
3561
+ "start": 9051
2539
3562
  }
2540
3563
  ]
2541
3564
  }
2542
3565
  },
2543
3566
  "deployedLinkReferences": {
2544
- "contracts/types/Key32.sol": {
2545
- "Key32Lib": [
3567
+ "contracts/type/Amount.sol": {
3568
+ "AmountLib": [
2546
3569
  {
2547
3570
  "length": 20,
2548
- "start": 5386
3571
+ "start": 12767
2549
3572
  },
2550
3573
  {
2551
3574
  "length": 20,
2552
- "start": 8081
3575
+ "start": 13057
3576
+ }
3577
+ ]
3578
+ },
3579
+ "contracts/type/Blocknumber.sol": {
3580
+ "BlocknumberLib": [
3581
+ {
3582
+ "length": 20,
3583
+ "start": 9797
2553
3584
  },
2554
3585
  {
2555
3586
  "length": 20,
2556
- "start": 8197
3587
+ "start": 10307
2557
3588
  },
2558
3589
  {
2559
3590
  "length": 20,
2560
- "start": 8379
3591
+ "start": 10649
2561
3592
  },
2562
3593
  {
2563
3594
  "length": 20,
2564
- "start": 8495
3595
+ "start": 11124
2565
3596
  },
2566
3597
  {
2567
3598
  "length": 20,
2568
- "start": 9261
3599
+ "start": 11383
2569
3600
  },
2570
3601
  {
2571
3602
  "length": 20,
2572
- "start": 9377
3603
+ "start": 11725
2573
3604
  },
2574
3605
  {
2575
3606
  "length": 20,
2576
- "start": 9520
3607
+ "start": 12067
2577
3608
  },
2578
3609
  {
2579
3610
  "length": 20,
2580
- "start": 10269
3611
+ "start": 12622
2581
3612
  },
2582
3613
  {
2583
3614
  "length": 20,
2584
- "start": 10385
3615
+ "start": 12862
2585
3616
  }
2586
3617
  ]
2587
3618
  },
2588
- "contracts/types/NftId.sol": {
2589
- "NftIdLib": [
3619
+ "contracts/type/ClaimId.sol": {
3620
+ "ClaimIdLib": [
3621
+ {
3622
+ "length": 20,
3623
+ "start": 9709
3624
+ }
3625
+ ]
3626
+ },
3627
+ "contracts/type/DistributorType.sol": {
3628
+ "DistributorTypeLib": [
3629
+ {
3630
+ "length": 20,
3631
+ "start": 3590
3632
+ },
3633
+ {
3634
+ "length": 20,
3635
+ "start": 4955
3636
+ },
3637
+ {
3638
+ "length": 20,
3639
+ "start": 6103
3640
+ }
3641
+ ]
3642
+ },
3643
+ "contracts/type/Key32.sol": {
3644
+ "Key32Lib": [
2590
3645
  {
2591
3646
  "length": 20,
2592
- "start": 2339
3647
+ "start": 6951
2593
3648
  },
2594
3649
  {
2595
3650
  "length": 20,
2596
- "start": 2880
3651
+ "start": 7582
2597
3652
  },
2598
3653
  {
2599
3654
  "length": 20,
2600
- "start": 2990
3655
+ "start": 7696
2601
3656
  },
2602
3657
  {
2603
3658
  "length": 20,
2604
- "start": 3503
3659
+ "start": 8378
2605
3660
  },
2606
3661
  {
2607
3662
  "length": 20,
2608
- "start": 4142
3663
+ "start": 8492
2609
3664
  },
2610
3665
  {
2611
3666
  "length": 20,
2612
- "start": 5961
3667
+ "start": 8727
3668
+ },
3669
+ {
3670
+ "length": 20,
3671
+ "start": 9400
3672
+ },
3673
+ {
3674
+ "length": 20,
3675
+ "start": 9514
3676
+ }
3677
+ ]
3678
+ },
3679
+ "contracts/type/NftId.sol": {
3680
+ "NftIdLib": [
3681
+ {
3682
+ "length": 20,
3683
+ "start": 7451
2613
3684
  }
2614
3685
  ]
2615
3686
  },
2616
- "contracts/types/ObjectType.sol": {
3687
+ "contracts/type/ObjectType.sol": {
2617
3688
  "ObjectTypeLib": [
2618
3689
  {
2619
3690
  "length": 20,
2620
- "start": 9641
3691
+ "start": 8846
2621
3692
  }
2622
3693
  ]
2623
3694
  },
2624
- "contracts/types/RiskId.sol": {
2625
- "RiskIdLib": [
3695
+ "contracts/type/PayoutId.sol": {
3696
+ "PayoutIdLib": [
3697
+ {
3698
+ "length": 20,
3699
+ "start": 7904
3700
+ }
3701
+ ]
3702
+ },
3703
+ "contracts/type/Referral.sol": {
3704
+ "ReferralLib": [
2626
3705
  {
2627
3706
  "length": 20,
2628
- "start": 2588
3707
+ "start": 3432
2629
3708
  },
2630
3709
  {
2631
3710
  "length": 20,
2632
- "start": 3588
3711
+ "start": 5885
2633
3712
  },
2634
3713
  {
2635
3714
  "length": 20,
2636
- "start": 4305
3715
+ "start": 6220
2637
3716
  }
2638
3717
  ]
2639
3718
  },
2640
- "contracts/types/StateId.sol": {
2641
- "StateIdLib": [
3719
+ "contracts/type/RequestId.sol": {
3720
+ "RequestIdLib": [
3721
+ {
3722
+ "length": 20,
3723
+ "start": 3069
3724
+ },
3725
+ {
3726
+ "length": 20,
3727
+ "start": 4547
3728
+ },
3729
+ {
3730
+ "length": 20,
3731
+ "start": 6372
3732
+ },
3733
+ {
3734
+ "length": 20,
3735
+ "start": 10156
3736
+ }
3737
+ ]
3738
+ },
3739
+ "contracts/type/RiskId.sol": {
3740
+ "RiskIdLib": [
2642
3741
  {
2643
3742
  "length": 20,
2644
- "start": 2743
3743
+ "start": 4334
2645
3744
  },
2646
3745
  {
2647
3746
  "length": 20,
2648
- "start": 4459
3747
+ "start": 4814
2649
3748
  },
2650
3749
  {
2651
3750
  "length": 20,
2652
- "start": 4789
3751
+ "start": 6717
3752
+ }
3753
+ ]
3754
+ },
3755
+ "contracts/type/StateId.sol": {
3756
+ "StateIdLib": [
3757
+ {
3758
+ "length": 20,
3759
+ "start": 3248
2653
3760
  },
2654
3761
  {
2655
3762
  "length": 20,
2656
- "start": 7498
3763
+ "start": 3842
2657
3764
  },
2658
3765
  {
2659
3766
  "length": 20,
2660
- "start": 7718
3767
+ "start": 6470
2661
3768
  },
2662
3769
  {
2663
3770
  "length": 20,
2664
- "start": 8699
3771
+ "start": 7964
2665
3772
  },
2666
3773
  {
2667
3774
  "length": 20,
2668
- "start": 8919
3775
+ "start": 8151
2669
3776
  },
2670
3777
  {
2671
3778
  "length": 20,
2672
- "start": 9858
3779
+ "start": 9019
2673
3780
  }
2674
3781
  ]
2675
3782
  }