@etherisc/gif-next 0.0.2-c6d46bb-892 → 0.0.2-c75d1c9-841

Sign up to get free protection for your applications and to get access to all the features.
Files changed (586) 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 +1023 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +153 -599
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +491 -451
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +218 -122
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +165 -336
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +344 -113
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2018 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2405 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +275 -79
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +277 -85
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +294 -194
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1601 -717
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +311 -236
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +171 -93
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1651 -770
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  107. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  108. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1013 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +772 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +355 -366
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +214 -102
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +221 -76
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +214 -423
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +554 -401
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  140. package/artifacts/contracts/pool/Pool.sol/Pool.json +223 -624
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +472 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +694 -710
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +228 -112
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +219 -242
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +188 -88
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +458 -332
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +222 -114
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +155 -9
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +327 -16
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +399 -69
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +195 -82
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +367 -231
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  170. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +100 -62
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +440 -380
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +727 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +196 -124
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -324
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +192 -108
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  182. package/artifacts/contracts/product/Product.sol/Product.json +409 -509
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +483 -29
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +291 -106
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +978 -133
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +360 -241
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +169 -91
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +315 -139
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  218. package/artifacts/contracts/shared/Component.sol/Component.json +109 -296
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1021 -165
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  223. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +485 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +661 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  233. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +116 -141
  235. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1127 -0
  237. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  239. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  240. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +46 -14
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +154 -0
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IService.sol/IService.json +74 -2
  252. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  254. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  256. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  257. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  259. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  261. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +26 -55
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  265. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -90
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  269. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  270. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Service.sol/Service.json +67 -102
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +615 -6
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  281. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +711 -67
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1904 -0
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  286. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +800 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  293. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +801 -172
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +744 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
  306. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  308. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  310. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.json +119 -58
  312. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  314. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  316. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +66 -4
  318. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  320. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  322. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  324. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  326. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  328. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  330. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +283 -6
  332. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
  334. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  338. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  340. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  342. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  344. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  346. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  348. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  350. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  351. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  352. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  354. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  356. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  357. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  358. package/contracts/accounting/AccountingService.sol +261 -0
  359. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  360. package/contracts/accounting/IAccountingService.sol +45 -0
  361. package/contracts/authorization/AccessAdmin.sol +704 -0
  362. package/contracts/authorization/AccessAdminLib.sol +183 -0
  363. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  364. package/contracts/authorization/Authorization.sol +365 -0
  365. package/contracts/authorization/IAccess.sol +57 -0
  366. package/contracts/authorization/IAccessAdmin.sol +170 -0
  367. package/contracts/authorization/IAuthorization.sol +80 -0
  368. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  369. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  370. package/contracts/distribution/BasicDistribution.sol +141 -0
  371. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  372. package/contracts/distribution/Distribution.sol +134 -175
  373. package/contracts/distribution/DistributionService.sol +252 -212
  374. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  375. package/contracts/distribution/IDistributionComponent.sol +22 -50
  376. package/contracts/distribution/IDistributionService.sol +45 -29
  377. package/contracts/examples/fire/DamageLevel.sol +59 -0
  378. package/contracts/examples/fire/FirePool.sol +86 -0
  379. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  380. package/contracts/examples/fire/FireProduct.sol +433 -0
  381. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  382. package/contracts/examples/fire/FireUSD.sol +26 -0
  383. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  384. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  386. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  387. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  389. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  390. package/contracts/instance/BundleSet.sol +130 -0
  391. package/contracts/instance/IInstance.sol +77 -48
  392. package/contracts/instance/IInstanceService.sol +52 -37
  393. package/contracts/instance/Instance.sol +201 -126
  394. package/contracts/instance/InstanceAdmin.sol +450 -0
  395. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  396. package/contracts/instance/InstanceReader.sol +358 -76
  397. package/contracts/instance/InstanceService.sol +324 -173
  398. package/contracts/instance/InstanceServiceManager.sol +14 -29
  399. package/contracts/instance/InstanceStore.sol +151 -64
  400. package/contracts/instance/RiskSet.sol +118 -0
  401. package/contracts/instance/base/BalanceStore.sol +123 -0
  402. package/contracts/instance/base/Cloneable.sol +2 -25
  403. package/contracts/instance/base/ObjectCounter.sol +20 -0
  404. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  405. package/contracts/instance/base/ObjectSet.sol +77 -0
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -8
  408. package/contracts/instance/module/IComponents.sol +40 -19
  409. package/contracts/instance/module/IDistribution.sol +21 -9
  410. package/contracts/instance/module/IPolicy.sol +57 -30
  411. package/contracts/instance/module/IRisk.sol +5 -0
  412. package/contracts/mock/Dip.sol +26 -0
  413. package/contracts/oracle/BasicOracle.sol +45 -0
  414. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  415. package/contracts/oracle/IOracle.sol +41 -0
  416. package/contracts/oracle/IOracleComponent.sol +33 -0
  417. package/contracts/oracle/IOracleService.sol +66 -0
  418. package/contracts/oracle/Oracle.sol +154 -0
  419. package/contracts/oracle/OracleService.sol +310 -0
  420. package/contracts/oracle/OracleServiceManager.sol +39 -0
  421. package/contracts/pool/BasicPool.sol +173 -0
  422. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  423. package/contracts/pool/BundleService.sol +237 -224
  424. package/contracts/pool/BundleServiceManager.sol +13 -25
  425. package/contracts/pool/IBundleService.sol +35 -38
  426. package/contracts/pool/IPoolComponent.sol +23 -75
  427. package/contracts/pool/IPoolService.sol +107 -56
  428. package/contracts/pool/Pool.sol +209 -168
  429. package/contracts/pool/PoolLib.sol +309 -0
  430. package/contracts/pool/PoolService.sol +446 -262
  431. package/contracts/pool/PoolServiceManager.sol +12 -24
  432. package/contracts/product/ApplicationService.sol +177 -85
  433. package/contracts/product/ApplicationServiceManager.sol +12 -9
  434. package/contracts/product/BasicProduct.sol +49 -0
  435. package/contracts/product/BasicProductAuthorization.sol +56 -0
  436. package/contracts/product/ClaimService.sol +381 -183
  437. package/contracts/product/ClaimServiceManager.sol +12 -9
  438. package/contracts/product/IApplicationService.sol +10 -3
  439. package/contracts/product/IClaimService.sol +48 -6
  440. package/contracts/product/IPolicyService.sol +54 -39
  441. package/contracts/product/IPricingService.sol +14 -11
  442. package/contracts/product/IProductComponent.sol +31 -10
  443. package/contracts/product/IRiskService.sol +33 -0
  444. package/contracts/product/PolicyService.sol +498 -234
  445. package/contracts/product/PolicyServiceLib.sol +119 -0
  446. package/contracts/product/PolicyServiceManager.sol +12 -27
  447. package/contracts/product/PricingService.sol +116 -82
  448. package/contracts/product/PricingServiceManager.sol +12 -24
  449. package/contracts/product/Product.sol +236 -148
  450. package/contracts/product/RiskService.sol +154 -0
  451. package/contracts/product/RiskServiceManager.sol +39 -0
  452. package/contracts/registry/ChainNft.sol +79 -40
  453. package/contracts/registry/IRegistry.sol +95 -26
  454. package/contracts/registry/IRegistryService.sol +30 -34
  455. package/contracts/registry/IRelease.sol +29 -0
  456. package/contracts/registry/ITransferInterceptor.sol +1 -2
  457. package/contracts/registry/Registry.sol +460 -197
  458. package/contracts/registry/RegistryAdmin.sol +258 -0
  459. package/contracts/registry/RegistryAuthorization.sol +267 -0
  460. package/contracts/registry/RegistryService.sol +87 -131
  461. package/contracts/registry/RegistryServiceManager.sol +23 -30
  462. package/contracts/registry/ReleaseAdmin.sol +253 -0
  463. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  464. package/contracts/registry/ReleaseRegistry.sol +517 -0
  465. package/contracts/registry/ServiceAuthorizationV3.sol +332 -0
  466. package/contracts/registry/TokenRegistry.sol +264 -64
  467. package/contracts/shared/Component.sol +122 -183
  468. package/contracts/shared/ComponentService.sol +610 -99
  469. package/contracts/shared/ComponentServiceManager.sol +38 -0
  470. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  471. package/contracts/shared/ContractLib.sol +347 -0
  472. package/contracts/shared/IComponent.sol +17 -49
  473. package/contracts/shared/IComponentService.sol +110 -0
  474. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  475. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  476. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  477. package/contracts/shared/INftOwnable.sol +3 -1
  478. package/contracts/shared/IPolicyHolder.sol +12 -17
  479. package/contracts/shared/IRegisterable.sol +23 -1
  480. package/contracts/shared/IService.sol +11 -6
  481. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  482. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  483. package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
  484. package/contracts/shared/Lifecycle.sol +88 -0
  485. package/contracts/shared/NftIdSet.sol +65 -0
  486. package/contracts/shared/NftOwnable.sol +33 -24
  487. package/contracts/shared/PolicyHolder.sol +18 -50
  488. package/contracts/shared/Registerable.sol +54 -23
  489. package/contracts/shared/RegistryLinked.sol +9 -14
  490. package/contracts/shared/Service.sol +33 -40
  491. package/contracts/shared/TokenHandler.sol +320 -13
  492. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  493. package/contracts/staking/IStaking.sol +179 -0
  494. package/contracts/staking/IStakingService.sol +120 -47
  495. package/contracts/staking/Staking.sol +546 -0
  496. package/contracts/staking/StakingLib.sol +281 -0
  497. package/contracts/staking/StakingLifecycle.sol +23 -0
  498. package/contracts/staking/StakingManager.sol +52 -0
  499. package/contracts/staking/StakingReader.sol +180 -0
  500. package/contracts/staking/StakingService.sol +349 -48
  501. package/contracts/staking/{StakeingServiceManager.sol → StakingServiceManager.sol} +15 -7
  502. package/contracts/staking/StakingStore.sol +606 -0
  503. package/contracts/staking/TargetManagerLib.sol +211 -0
  504. package/contracts/type/AddressSet.sol +1 -1
  505. package/contracts/type/Amount.sol +44 -3
  506. package/contracts/type/Blocknumber.sol +26 -3
  507. package/contracts/type/ClaimId.sol +6 -1
  508. package/contracts/type/Fee.sol +22 -21
  509. package/contracts/type/Key32.sol +2 -2
  510. package/contracts/type/Key32Set.sol +62 -0
  511. package/contracts/type/NftId.sol +21 -16
  512. package/contracts/type/NftIdSet.sol +1 -1
  513. package/contracts/type/ObjectType.sol +191 -59
  514. package/contracts/type/PayoutId.sol +10 -10
  515. package/contracts/type/Referral.sol +2 -1
  516. package/contracts/type/RequestId.sol +75 -0
  517. package/contracts/type/RiskId.sol +39 -7
  518. package/contracts/type/RoleId.sol +118 -68
  519. package/contracts/type/Seconds.sol +48 -1
  520. package/contracts/type/Selector.sol +107 -0
  521. package/contracts/type/StateId.sol +41 -2
  522. package/contracts/type/String.sol +53 -0
  523. package/contracts/type/Timestamp.sol +16 -7
  524. package/contracts/type/UFixed.sol +61 -125
  525. package/contracts/type/Version.sol +58 -7
  526. package/contracts/{shared → upgradeability}/ProxyManager.sol +101 -36
  527. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  528. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  529. package/package.json +12 -8
  530. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  531. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  532. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  533. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  534. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  535. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  536. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  537. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  538. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  539. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  540. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  541. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  542. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  543. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  544. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  545. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  546. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  547. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  548. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  549. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  550. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  551. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  552. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  553. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  554. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  555. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  556. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  557. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  558. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  559. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  560. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  561. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  562. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  563. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  564. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  565. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  566. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  567. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  568. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +0 -4
  569. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +0 -628
  570. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  571. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  572. package/contracts/instance/BundleManager.sol +0 -126
  573. package/contracts/instance/InstanceAccessManager.sol +0 -543
  574. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  575. package/contracts/instance/base/Lifecycle.sol +0 -121
  576. package/contracts/instance/base/ObjectManager.sol +0 -82
  577. package/contracts/instance/module/IAccess.sol +0 -54
  578. package/contracts/instance/module/ISetup.sol +0 -33
  579. package/contracts/instance/module/ITreasury.sol +0 -23
  580. package/contracts/product/IProductService.sol +0 -40
  581. package/contracts/product/ProductService.sol +0 -210
  582. package/contracts/product/ProductServiceManager.sol +0 -54
  583. package/contracts/registry/RegistryAccessManager.sol +0 -216
  584. package/contracts/registry/ReleaseManager.sol +0 -328
  585. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  586. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -17,75 +17,16 @@
17
17
  "inputs": [
18
18
  {
19
19
  "internalType": "NftId",
20
- "name": "bundleNftId",
20
+ "name": "poolNftId",
21
21
  "type": "uint96"
22
22
  }
23
23
  ],
24
- "name": "getBundleInfo",
24
+ "name": "activeBundles",
25
25
  "outputs": [
26
26
  {
27
- "components": [
28
- {
29
- "internalType": "NftId",
30
- "name": "poolNftId",
31
- "type": "uint96"
32
- },
33
- {
34
- "components": [
35
- {
36
- "internalType": "UFixed",
37
- "name": "fractionalFee",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "fixedFee",
43
- "type": "uint256"
44
- }
45
- ],
46
- "internalType": "struct Fee",
47
- "name": "fee",
48
- "type": "tuple"
49
- },
50
- {
51
- "internalType": "bytes",
52
- "name": "filter",
53
- "type": "bytes"
54
- },
55
- {
56
- "internalType": "Amount",
57
- "name": "capitalAmount",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "Amount",
62
- "name": "lockedAmount",
63
- "type": "uint96"
64
- },
65
- {
66
- "internalType": "Amount",
67
- "name": "feeAmount",
68
- "type": "uint96"
69
- },
70
- {
71
- "internalType": "Seconds",
72
- "name": "lifetime",
73
- "type": "uint40"
74
- },
75
- {
76
- "internalType": "Timestamp",
77
- "name": "expiredAt",
78
- "type": "uint40"
79
- },
80
- {
81
- "internalType": "Timestamp",
82
- "name": "closedAt",
83
- "type": "uint40"
84
- }
85
- ],
86
- "internalType": "struct IBundle.BundleInfo",
87
- "name": "info",
88
- "type": "tuple"
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
89
30
  }
90
31
  ],
91
32
  "stateMutability": "view",
@@ -95,58 +36,35 @@
95
36
  "inputs": [
96
37
  {
97
38
  "internalType": "NftId",
98
- "name": "policyNftId",
39
+ "name": "productNftId",
99
40
  "type": "uint96"
100
- },
41
+ }
42
+ ],
43
+ "name": "activeRisks",
44
+ "outputs": [
101
45
  {
102
- "internalType": "ClaimId",
103
- "name": "claimId",
104
- "type": "uint16"
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
48
+ "type": "uint256"
105
49
  }
106
50
  ],
107
- "name": "getClaimInfo",
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "poolNftId",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "bundles",
108
63
  "outputs": [
109
64
  {
110
- "components": [
111
- {
112
- "internalType": "Amount",
113
- "name": "claimAmount",
114
- "type": "uint96"
115
- },
116
- {
117
- "internalType": "Amount",
118
- "name": "paidAmount",
119
- "type": "uint96"
120
- },
121
- {
122
- "internalType": "uint8",
123
- "name": "payoutsCount",
124
- "type": "uint8"
125
- },
126
- {
127
- "internalType": "uint8",
128
- "name": "openPayoutsCount",
129
- "type": "uint8"
130
- },
131
- {
132
- "internalType": "bytes",
133
- "name": "submissionData",
134
- "type": "bytes"
135
- },
136
- {
137
- "internalType": "bytes",
138
- "name": "processData",
139
- "type": "bytes"
140
- },
141
- {
142
- "internalType": "Timestamp",
143
- "name": "closedAt",
144
- "type": "uint40"
145
- }
146
- ],
147
- "internalType": "struct IPolicy.ClaimInfo",
148
- "name": "info",
149
- "type": "tuple"
65
+ "internalType": "uint256",
66
+ "name": "bundleCount",
67
+ "type": "uint256"
150
68
  }
151
69
  ],
152
70
  "stateMutability": "view",
@@ -158,19 +76,27 @@
158
76
  "internalType": "NftId",
159
77
  "name": "policyNftId",
160
78
  "type": "uint96"
161
- },
79
+ }
80
+ ],
81
+ "name": "claims",
82
+ "outputs": [
162
83
  {
163
- "internalType": "ClaimId",
164
- "name": "claimId",
84
+ "internalType": "uint16",
85
+ "name": "claimCount",
165
86
  "type": "uint16"
166
87
  }
167
88
  ],
168
- "name": "getClaimState",
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "components",
169
95
  "outputs": [
170
96
  {
171
- "internalType": "StateId",
172
- "name": "state",
173
- "type": "uint8"
97
+ "internalType": "uint256",
98
+ "name": "componentCount",
99
+ "type": "uint256"
174
100
  }
175
101
  ],
176
102
  "stateMutability": "view",
@@ -182,51 +108,19 @@
182
108
  "internalType": "NftId",
183
109
  "name": "poolNftId",
184
110
  "type": "uint96"
111
+ },
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "idx",
115
+ "type": "uint256"
185
116
  }
186
117
  ],
187
- "name": "getComponentInfo",
118
+ "name": "getActiveBundleNftId",
188
119
  "outputs": [
189
120
  {
190
- "components": [
191
- {
192
- "internalType": "string",
193
- "name": "name",
194
- "type": "string"
195
- },
196
- {
197
- "internalType": "contract IERC20Metadata",
198
- "name": "token",
199
- "type": "address"
200
- },
201
- {
202
- "internalType": "contract TokenHandler",
203
- "name": "tokenHandler",
204
- "type": "address"
205
- },
206
- {
207
- "internalType": "address",
208
- "name": "wallet",
209
- "type": "address"
210
- },
211
- {
212
- "internalType": "Amount",
213
- "name": "balanceAmount",
214
- "type": "uint96"
215
- },
216
- {
217
- "internalType": "Amount",
218
- "name": "feeAmount",
219
- "type": "uint96"
220
- },
221
- {
222
- "internalType": "bytes",
223
- "name": "data",
224
- "type": "bytes"
225
- }
226
- ],
227
- "internalType": "struct IComponents.ComponentInfo",
228
- "name": "info",
229
- "type": "tuple"
121
+ "internalType": "NftId",
122
+ "name": "bundleNftId",
123
+ "type": "uint96"
230
124
  }
231
125
  ],
232
126
  "stateMutability": "view",
@@ -235,22 +129,41 @@
235
129
  {
236
130
  "inputs": [
237
131
  {
238
- "internalType": "ReferralId",
239
- "name": "referralId",
240
- "type": "bytes8"
132
+ "internalType": "NftId",
133
+ "name": "productNftId",
134
+ "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "idx",
139
+ "type": "uint256"
241
140
  }
242
141
  ],
243
- "name": "getDiscountPercentage",
142
+ "name": "getActiveRiskId",
244
143
  "outputs": [
245
144
  {
246
- "internalType": "UFixed",
247
- "name": "discountPercentage",
248
- "type": "uint256"
249
- },
145
+ "internalType": "RiskId",
146
+ "name": "riskId",
147
+ "type": "bytes8"
148
+ }
149
+ ],
150
+ "stateMutability": "view",
151
+ "type": "function"
152
+ },
153
+ {
154
+ "inputs": [
250
155
  {
251
- "internalType": "ReferralStatus",
252
- "name": "status",
253
- "type": "uint8"
156
+ "internalType": "NftId",
157
+ "name": "targetNftId",
158
+ "type": "uint96"
159
+ }
160
+ ],
161
+ "name": "getBalanceAmount",
162
+ "outputs": [
163
+ {
164
+ "internalType": "Amount",
165
+ "name": "",
166
+ "type": "uint96"
254
167
  }
255
168
  ],
256
169
  "stateMutability": "view",
@@ -260,70 +173,58 @@
260
173
  "inputs": [
261
174
  {
262
175
  "internalType": "NftId",
263
- "name": "distributionNftId",
176
+ "name": "bundleNftId",
264
177
  "type": "uint96"
265
178
  }
266
179
  ],
267
- "name": "getDistributionSetupInfo",
180
+ "name": "getBundleInfo",
268
181
  "outputs": [
269
182
  {
270
183
  "components": [
271
184
  {
272
- "internalType": "NftId",
273
- "name": "productNftId",
274
- "type": "uint96"
185
+ "internalType": "Timestamp",
186
+ "name": "activatedAt",
187
+ "type": "uint40"
275
188
  },
276
189
  {
277
- "internalType": "contract TokenHandler",
278
- "name": "tokenHandler",
279
- "type": "address"
190
+ "internalType": "Timestamp",
191
+ "name": "expiredAt",
192
+ "type": "uint40"
193
+ },
194
+ {
195
+ "internalType": "Timestamp",
196
+ "name": "closedAt",
197
+ "type": "uint40"
198
+ },
199
+ {
200
+ "internalType": "NftId",
201
+ "name": "poolNftId",
202
+ "type": "uint96"
280
203
  },
281
204
  {
282
205
  "components": [
283
206
  {
284
207
  "internalType": "UFixed",
285
208
  "name": "fractionalFee",
286
- "type": "uint256"
209
+ "type": "uint160"
287
210
  },
288
211
  {
289
- "internalType": "uint256",
212
+ "internalType": "Amount",
290
213
  "name": "fixedFee",
291
- "type": "uint256"
214
+ "type": "uint96"
292
215
  }
293
216
  ],
294
217
  "internalType": "struct Fee",
295
- "name": "minDistributionOwnerFee",
218
+ "name": "fee",
296
219
  "type": "tuple"
297
220
  },
298
221
  {
299
- "components": [
300
- {
301
- "internalType": "UFixed",
302
- "name": "fractionalFee",
303
- "type": "uint256"
304
- },
305
- {
306
- "internalType": "uint256",
307
- "name": "fixedFee",
308
- "type": "uint256"
309
- }
310
- ],
311
- "internalType": "struct Fee",
312
- "name": "distributionFee",
313
- "type": "tuple"
314
- },
315
- {
316
- "internalType": "address",
317
- "name": "wallet",
318
- "type": "address"
319
- },
320
- {
321
- "internalType": "uint256",
322
- "name": "sumDistributionOwnerFees",
323
- "type": "uint256"
222
+ "internalType": "bytes",
223
+ "name": "filter",
224
+ "type": "bytes"
324
225
  }
325
226
  ],
326
- "internalType": "struct ISetup.DistributionSetupInfo",
227
+ "internalType": "struct IBundle.BundleInfo",
327
228
  "name": "info",
328
229
  "type": "tuple"
329
230
  }
@@ -335,109 +236,21 @@
335
236
  "inputs": [
336
237
  {
337
238
  "internalType": "NftId",
338
- "name": "distributorNftId",
239
+ "name": "poolNftId",
339
240
  "type": "uint96"
340
- }
341
- ],
342
- "name": "getDistributorInfo",
343
- "outputs": [
344
- {
345
- "components": [
346
- {
347
- "internalType": "DistributorType",
348
- "name": "distributorType",
349
- "type": "bytes8"
350
- },
351
- {
352
- "internalType": "bool",
353
- "name": "active",
354
- "type": "bool"
355
- },
356
- {
357
- "internalType": "bytes",
358
- "name": "data",
359
- "type": "bytes"
360
- },
361
- {
362
- "internalType": "Amount",
363
- "name": "commissionAmount",
364
- "type": "uint96"
365
- },
366
- {
367
- "internalType": "uint32",
368
- "name": "numPoliciesSold",
369
- "type": "uint32"
370
- }
371
- ],
372
- "internalType": "struct IDistribution.DistributorInfo",
373
- "name": "info",
374
- "type": "tuple"
375
- }
376
- ],
377
- "stateMutability": "view",
378
- "type": "function"
379
- },
380
- {
381
- "inputs": [
241
+ },
382
242
  {
383
- "internalType": "DistributorType",
384
- "name": "distributorType",
385
- "type": "bytes8"
243
+ "internalType": "uint256",
244
+ "name": "idx",
245
+ "type": "uint256"
386
246
  }
387
247
  ],
388
- "name": "getDistributorTypeInfo",
248
+ "name": "getBundleNftId",
389
249
  "outputs": [
390
250
  {
391
- "components": [
392
- {
393
- "internalType": "string",
394
- "name": "name",
395
- "type": "string"
396
- },
397
- {
398
- "internalType": "UFixed",
399
- "name": "minDiscountPercentage",
400
- "type": "uint256"
401
- },
402
- {
403
- "internalType": "UFixed",
404
- "name": "maxDiscountPercentage",
405
- "type": "uint256"
406
- },
407
- {
408
- "internalType": "UFixed",
409
- "name": "commissionPercentage",
410
- "type": "uint256"
411
- },
412
- {
413
- "internalType": "uint32",
414
- "name": "maxReferralCount",
415
- "type": "uint32"
416
- },
417
- {
418
- "internalType": "uint32",
419
- "name": "maxReferralLifetime",
420
- "type": "uint32"
421
- },
422
- {
423
- "internalType": "bool",
424
- "name": "allowSelfReferrals",
425
- "type": "bool"
426
- },
427
- {
428
- "internalType": "bool",
429
- "name": "allowRenewals",
430
- "type": "bool"
431
- },
432
- {
433
- "internalType": "bytes",
434
- "name": "data",
435
- "type": "bytes"
436
- }
437
- ],
438
- "internalType": "struct IDistribution.DistributorTypeInfo",
439
- "name": "info",
440
- "type": "tuple"
251
+ "internalType": "NftId",
252
+ "name": "bundleNftId",
253
+ "type": "uint96"
441
254
  }
442
255
  ],
443
256
  "stateMutability": "view",
@@ -445,11 +258,11 @@
445
258
  },
446
259
  {
447
260
  "inputs": [],
448
- "name": "getInstance",
261
+ "name": "getBundleSet",
449
262
  "outputs": [
450
263
  {
451
- "internalType": "contract IInstance",
452
- "name": "instance",
264
+ "internalType": "contract BundleSet",
265
+ "name": "bundleSet",
453
266
  "type": "address"
454
267
  }
455
268
  ],
@@ -457,13 +270,19 @@
457
270
  "type": "function"
458
271
  },
459
272
  {
460
- "inputs": [],
461
- "name": "getInstanceStore",
273
+ "inputs": [
274
+ {
275
+ "internalType": "NftId",
276
+ "name": "bundleNftId",
277
+ "type": "uint96"
278
+ }
279
+ ],
280
+ "name": "getBundleState",
462
281
  "outputs": [
463
282
  {
464
- "internalType": "contract IKeyValueStore",
465
- "name": "store",
466
- "type": "address"
283
+ "internalType": "StateId",
284
+ "name": "state",
285
+ "type": "uint8"
467
286
  }
468
287
  ],
469
288
  "stateMutability": "view",
@@ -472,44 +291,17 @@
472
291
  {
473
292
  "inputs": [
474
293
  {
475
- "internalType": "Key32",
476
- "name": "key",
477
- "type": "bytes32"
294
+ "internalType": "uint256",
295
+ "name": "idx",
296
+ "type": "uint256"
478
297
  }
479
298
  ],
480
- "name": "getMetadata",
299
+ "name": "getClaimId",
481
300
  "outputs": [
482
301
  {
483
- "components": [
484
- {
485
- "internalType": "ObjectType",
486
- "name": "objectType",
487
- "type": "uint8"
488
- },
489
- {
490
- "internalType": "StateId",
491
- "name": "state",
492
- "type": "uint8"
493
- },
494
- {
495
- "internalType": "address",
496
- "name": "updatedBy",
497
- "type": "address"
498
- },
499
- {
500
- "internalType": "Blocknumber",
501
- "name": "updatedIn",
502
- "type": "uint32"
503
- },
504
- {
505
- "internalType": "Blocknumber",
506
- "name": "createdIn",
507
- "type": "uint32"
508
- }
509
- ],
510
- "internalType": "struct IKeyValueStore.Metadata",
511
- "name": "metadata",
512
- "type": "tuple"
302
+ "internalType": "ClaimId",
303
+ "name": "claimId",
304
+ "type": "uint16"
513
305
  }
514
306
  ],
515
307
  "stateMutability": "view",
@@ -523,37 +315,52 @@
523
315
  "type": "uint96"
524
316
  },
525
317
  {
526
- "internalType": "PayoutId",
527
- "name": "payoutId",
528
- "type": "uint24"
318
+ "internalType": "ClaimId",
319
+ "name": "claimId",
320
+ "type": "uint16"
529
321
  }
530
322
  ],
531
- "name": "getPayoutInfo",
323
+ "name": "getClaimInfo",
532
324
  "outputs": [
533
325
  {
534
326
  "components": [
535
327
  {
536
- "internalType": "ClaimId",
537
- "name": "claimId",
538
- "type": "uint16"
328
+ "internalType": "Amount",
329
+ "name": "claimAmount",
330
+ "type": "uint96"
539
331
  },
540
332
  {
541
333
  "internalType": "Amount",
542
- "name": "amount",
334
+ "name": "paidAmount",
543
335
  "type": "uint96"
544
336
  },
337
+ {
338
+ "internalType": "Timestamp",
339
+ "name": "closedAt",
340
+ "type": "uint40"
341
+ },
342
+ {
343
+ "internalType": "uint24",
344
+ "name": "payoutsCount",
345
+ "type": "uint24"
346
+ },
347
+ {
348
+ "internalType": "uint24",
349
+ "name": "openPayoutsCount",
350
+ "type": "uint24"
351
+ },
545
352
  {
546
353
  "internalType": "bytes",
547
- "name": "data",
354
+ "name": "submissionData",
548
355
  "type": "bytes"
549
356
  },
550
357
  {
551
- "internalType": "Timestamp",
552
- "name": "paidAt",
553
- "type": "uint40"
358
+ "internalType": "bytes",
359
+ "name": "processData",
360
+ "type": "bytes"
554
361
  }
555
362
  ],
556
- "internalType": "struct IPolicy.PayoutInfo",
363
+ "internalType": "struct IPolicy.ClaimInfo",
557
364
  "name": "info",
558
365
  "type": "tuple"
559
366
  }
@@ -569,12 +376,12 @@
569
376
  "type": "uint96"
570
377
  },
571
378
  {
572
- "internalType": "PayoutId",
573
- "name": "payoutId",
574
- "type": "uint24"
379
+ "internalType": "ClaimId",
380
+ "name": "claimId",
381
+ "type": "uint16"
575
382
  }
576
383
  ],
577
- "name": "getPayoutState",
384
+ "name": "getClaimState",
578
385
  "outputs": [
579
386
  {
580
387
  "internalType": "StateId",
@@ -589,101 +396,167 @@
589
396
  "inputs": [
590
397
  {
591
398
  "internalType": "NftId",
592
- "name": "policyNftId",
399
+ "name": "componentNftId",
593
400
  "type": "uint96"
594
401
  }
595
402
  ],
596
- "name": "getPolicyInfo",
403
+ "name": "getComponentInfo",
597
404
  "outputs": [
598
405
  {
599
406
  "components": [
600
407
  {
601
- "internalType": "NftId",
602
- "name": "productNftId",
603
- "type": "uint96"
604
- },
605
- {
606
- "internalType": "NftId",
607
- "name": "bundleNftId",
608
- "type": "uint96"
609
- },
610
- {
611
- "internalType": "ReferralId",
612
- "name": "referralId",
613
- "type": "bytes8"
614
- },
615
- {
616
- "internalType": "RiskId",
617
- "name": "riskId",
618
- "type": "bytes8"
619
- },
620
- {
621
- "internalType": "Amount",
622
- "name": "sumInsuredAmount",
623
- "type": "uint96"
624
- },
625
- {
626
- "internalType": "Amount",
627
- "name": "premiumAmount",
628
- "type": "uint96"
408
+ "internalType": "string",
409
+ "name": "name",
410
+ "type": "string"
629
411
  },
630
412
  {
631
- "internalType": "Amount",
632
- "name": "premiumPaidAmount",
633
- "type": "uint96"
634
- },
635
- {
636
- "internalType": "Seconds",
637
- "name": "lifetime",
638
- "type": "uint40"
413
+ "internalType": "contract TokenHandler",
414
+ "name": "tokenHandler",
415
+ "type": "address"
639
416
  },
640
417
  {
641
418
  "internalType": "bytes",
642
- "name": "applicationData",
419
+ "name": "data",
643
420
  "type": "bytes"
421
+ }
422
+ ],
423
+ "internalType": "struct IComponents.ComponentInfo",
424
+ "name": "info",
425
+ "type": "tuple"
426
+ }
427
+ ],
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [
433
+ {
434
+ "internalType": "ReferralId",
435
+ "name": "referralId",
436
+ "type": "bytes8"
437
+ }
438
+ ],
439
+ "name": "getDiscountPercentage",
440
+ "outputs": [
441
+ {
442
+ "internalType": "UFixed",
443
+ "name": "discountPercentage",
444
+ "type": "uint160"
445
+ },
446
+ {
447
+ "internalType": "ReferralStatus",
448
+ "name": "status",
449
+ "type": "uint8"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [
457
+ {
458
+ "internalType": "NftId",
459
+ "name": "distributorNftId",
460
+ "type": "uint96"
461
+ }
462
+ ],
463
+ "name": "getDistributorInfo",
464
+ "outputs": [
465
+ {
466
+ "components": [
467
+ {
468
+ "internalType": "DistributorType",
469
+ "name": "distributorType",
470
+ "type": "bytes8"
644
471
  },
645
472
  {
646
- "internalType": "bytes",
647
- "name": "processData",
648
- "type": "bytes"
473
+ "internalType": "bool",
474
+ "name": "active",
475
+ "type": "bool"
649
476
  },
650
477
  {
651
- "internalType": "uint16",
652
- "name": "claimsCount",
653
- "type": "uint16"
478
+ "internalType": "uint32",
479
+ "name": "numPoliciesSold",
480
+ "type": "uint32"
654
481
  },
655
482
  {
656
- "internalType": "uint16",
657
- "name": "openClaimsCount",
658
- "type": "uint16"
483
+ "internalType": "bytes",
484
+ "name": "data",
485
+ "type": "bytes"
486
+ }
487
+ ],
488
+ "internalType": "struct IDistribution.DistributorInfo",
489
+ "name": "info",
490
+ "type": "tuple"
491
+ }
492
+ ],
493
+ "stateMutability": "view",
494
+ "type": "function"
495
+ },
496
+ {
497
+ "inputs": [
498
+ {
499
+ "internalType": "DistributorType",
500
+ "name": "distributorType",
501
+ "type": "bytes8"
502
+ }
503
+ ],
504
+ "name": "getDistributorTypeInfo",
505
+ "outputs": [
506
+ {
507
+ "components": [
508
+ {
509
+ "internalType": "UFixed",
510
+ "name": "minDiscountPercentage",
511
+ "type": "uint160"
659
512
  },
660
513
  {
661
- "internalType": "Amount",
662
- "name": "claimAmount",
514
+ "internalType": "NftId",
515
+ "name": "distributionNftId",
663
516
  "type": "uint96"
664
517
  },
665
518
  {
666
- "internalType": "Amount",
667
- "name": "payoutAmount",
668
- "type": "uint96"
519
+ "internalType": "UFixed",
520
+ "name": "maxDiscountPercentage",
521
+ "type": "uint160"
669
522
  },
670
523
  {
671
- "internalType": "Timestamp",
672
- "name": "activatedAt",
673
- "type": "uint40"
524
+ "internalType": "uint32",
525
+ "name": "maxReferralCount",
526
+ "type": "uint32"
674
527
  },
675
528
  {
676
- "internalType": "Timestamp",
677
- "name": "expiredAt",
529
+ "internalType": "Seconds",
530
+ "name": "maxReferralLifetime",
678
531
  "type": "uint40"
679
532
  },
680
533
  {
681
- "internalType": "Timestamp",
682
- "name": "closedAt",
683
- "type": "uint40"
534
+ "internalType": "bool",
535
+ "name": "allowSelfReferrals",
536
+ "type": "bool"
537
+ },
538
+ {
539
+ "internalType": "bool",
540
+ "name": "allowRenewals",
541
+ "type": "bool"
542
+ },
543
+ {
544
+ "internalType": "UFixed",
545
+ "name": "commissionPercentage",
546
+ "type": "uint160"
547
+ },
548
+ {
549
+ "internalType": "string",
550
+ "name": "name",
551
+ "type": "string"
552
+ },
553
+ {
554
+ "internalType": "bytes",
555
+ "name": "data",
556
+ "type": "bytes"
684
557
  }
685
558
  ],
686
- "internalType": "struct IPolicy.PolicyInfo",
559
+ "internalType": "struct IDistribution.DistributorTypeInfo",
687
560
  "name": "info",
688
561
  "type": "tuple"
689
562
  }
@@ -695,16 +568,16 @@
695
568
  "inputs": [
696
569
  {
697
570
  "internalType": "NftId",
698
- "name": "policyNftId",
571
+ "name": "targetNftId",
699
572
  "type": "uint96"
700
573
  }
701
574
  ],
702
- "name": "getPolicyState",
575
+ "name": "getFeeAmount",
703
576
  "outputs": [
704
577
  {
705
- "internalType": "StateId",
706
- "name": "state",
707
- "type": "uint8"
578
+ "internalType": "Amount",
579
+ "name": "",
580
+ "type": "uint96"
708
581
  }
709
582
  ],
710
583
  "stateMutability": "view",
@@ -718,45 +591,76 @@
718
591
  "type": "uint96"
719
592
  }
720
593
  ],
721
- "name": "getProductSetupInfo",
594
+ "name": "getFeeInfo",
722
595
  "outputs": [
723
596
  {
724
597
  "components": [
725
598
  {
726
- "internalType": "contract IERC20Metadata",
727
- "name": "token",
728
- "type": "address"
729
- },
730
- {
731
- "internalType": "contract TokenHandler",
732
- "name": "tokenHandler",
733
- "type": "address"
599
+ "components": [
600
+ {
601
+ "internalType": "UFixed",
602
+ "name": "fractionalFee",
603
+ "type": "uint160"
604
+ },
605
+ {
606
+ "internalType": "Amount",
607
+ "name": "fixedFee",
608
+ "type": "uint96"
609
+ }
610
+ ],
611
+ "internalType": "struct Fee",
612
+ "name": "productFee",
613
+ "type": "tuple"
734
614
  },
735
615
  {
736
- "internalType": "NftId",
737
- "name": "distributionNftId",
738
- "type": "uint96"
616
+ "components": [
617
+ {
618
+ "internalType": "UFixed",
619
+ "name": "fractionalFee",
620
+ "type": "uint160"
621
+ },
622
+ {
623
+ "internalType": "Amount",
624
+ "name": "fixedFee",
625
+ "type": "uint96"
626
+ }
627
+ ],
628
+ "internalType": "struct Fee",
629
+ "name": "processingFee",
630
+ "type": "tuple"
739
631
  },
740
632
  {
741
- "internalType": "NftId",
742
- "name": "poolNftId",
743
- "type": "uint96"
633
+ "components": [
634
+ {
635
+ "internalType": "UFixed",
636
+ "name": "fractionalFee",
637
+ "type": "uint160"
638
+ },
639
+ {
640
+ "internalType": "Amount",
641
+ "name": "fixedFee",
642
+ "type": "uint96"
643
+ }
644
+ ],
645
+ "internalType": "struct Fee",
646
+ "name": "distributionFee",
647
+ "type": "tuple"
744
648
  },
745
649
  {
746
650
  "components": [
747
651
  {
748
652
  "internalType": "UFixed",
749
653
  "name": "fractionalFee",
750
- "type": "uint256"
654
+ "type": "uint160"
751
655
  },
752
656
  {
753
- "internalType": "uint256",
657
+ "internalType": "Amount",
754
658
  "name": "fixedFee",
755
- "type": "uint256"
659
+ "type": "uint96"
756
660
  }
757
661
  ],
758
662
  "internalType": "struct Fee",
759
- "name": "productFee",
663
+ "name": "minDistributionOwnerFee",
760
664
  "type": "tuple"
761
665
  },
762
666
  {
@@ -764,31 +668,55 @@
764
668
  {
765
669
  "internalType": "UFixed",
766
670
  "name": "fractionalFee",
767
- "type": "uint256"
671
+ "type": "uint160"
768
672
  },
769
673
  {
770
- "internalType": "uint256",
674
+ "internalType": "Amount",
771
675
  "name": "fixedFee",
772
- "type": "uint256"
676
+ "type": "uint96"
773
677
  }
774
678
  ],
775
679
  "internalType": "struct Fee",
776
- "name": "processingFee",
680
+ "name": "poolFee",
777
681
  "type": "tuple"
778
682
  },
779
683
  {
780
- "internalType": "bool",
781
- "name": "isIntercepting",
782
- "type": "bool"
684
+ "components": [
685
+ {
686
+ "internalType": "UFixed",
687
+ "name": "fractionalFee",
688
+ "type": "uint160"
689
+ },
690
+ {
691
+ "internalType": "Amount",
692
+ "name": "fixedFee",
693
+ "type": "uint96"
694
+ }
695
+ ],
696
+ "internalType": "struct Fee",
697
+ "name": "stakingFee",
698
+ "type": "tuple"
783
699
  },
784
700
  {
785
- "internalType": "address",
786
- "name": "wallet",
787
- "type": "address"
701
+ "components": [
702
+ {
703
+ "internalType": "UFixed",
704
+ "name": "fractionalFee",
705
+ "type": "uint160"
706
+ },
707
+ {
708
+ "internalType": "Amount",
709
+ "name": "fixedFee",
710
+ "type": "uint96"
711
+ }
712
+ ],
713
+ "internalType": "struct Fee",
714
+ "name": "performanceFee",
715
+ "type": "tuple"
788
716
  }
789
717
  ],
790
- "internalType": "struct ISetup.ProductSetupInfo",
791
- "name": "info",
718
+ "internalType": "struct IComponents.FeeInfo",
719
+ "name": "feeInfo",
792
720
  "type": "tuple"
793
721
  }
794
722
  ],
@@ -796,54 +724,172 @@
796
724
  "type": "function"
797
725
  },
798
726
  {
799
- "inputs": [
727
+ "inputs": [],
728
+ "name": "getInstance",
729
+ "outputs": [
800
730
  {
801
- "internalType": "ReferralId",
802
- "name": "referralId",
803
- "type": "bytes8"
731
+ "internalType": "contract IInstance",
732
+ "name": "instance",
733
+ "type": "address"
804
734
  }
805
735
  ],
806
- "name": "getReferralInfo",
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [],
741
+ "name": "getInstanceNftId",
807
742
  "outputs": [
808
743
  {
809
- "components": [
810
- {
811
- "internalType": "NftId",
812
- "name": "distributorNftId",
813
- "type": "uint96"
814
- },
815
- {
816
- "internalType": "string",
817
- "name": "referralCode",
818
- "type": "string"
744
+ "internalType": "NftId",
745
+ "name": "instanceNftid",
746
+ "type": "uint96"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "getInstanceStore",
755
+ "outputs": [
756
+ {
757
+ "internalType": "contract IKeyValueStore",
758
+ "name": "store",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [
767
+ {
768
+ "internalType": "NftId",
769
+ "name": "targetNftId",
770
+ "type": "uint96"
771
+ }
772
+ ],
773
+ "name": "getLockedAmount",
774
+ "outputs": [
775
+ {
776
+ "internalType": "Amount",
777
+ "name": "",
778
+ "type": "uint96"
779
+ }
780
+ ],
781
+ "stateMutability": "view",
782
+ "type": "function"
783
+ },
784
+ {
785
+ "inputs": [
786
+ {
787
+ "internalType": "Key32",
788
+ "name": "key",
789
+ "type": "bytes32"
790
+ }
791
+ ],
792
+ "name": "getMetadata",
793
+ "outputs": [
794
+ {
795
+ "components": [
796
+ {
797
+ "internalType": "ObjectType",
798
+ "name": "objectType",
799
+ "type": "uint8"
819
800
  },
820
801
  {
821
- "internalType": "UFixed",
822
- "name": "discountPercentage",
823
- "type": "uint256"
802
+ "internalType": "StateId",
803
+ "name": "state",
804
+ "type": "uint8"
824
805
  },
825
806
  {
826
- "internalType": "uint32",
827
- "name": "maxReferrals",
807
+ "internalType": "Blocknumber",
808
+ "name": "updatedIn",
828
809
  "type": "uint32"
829
810
  },
830
811
  {
831
- "internalType": "uint32",
832
- "name": "usedReferrals",
812
+ "internalType": "Blocknumber",
813
+ "name": "createdIn",
833
814
  "type": "uint32"
815
+ }
816
+ ],
817
+ "internalType": "struct IKeyValueStore.Metadata",
818
+ "name": "metadata",
819
+ "type": "tuple"
820
+ }
821
+ ],
822
+ "stateMutability": "view",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [
827
+ {
828
+ "internalType": "ClaimId",
829
+ "name": "claimId",
830
+ "type": "uint16"
831
+ },
832
+ {
833
+ "internalType": "uint24",
834
+ "name": "idx",
835
+ "type": "uint24"
836
+ }
837
+ ],
838
+ "name": "getPayoutId",
839
+ "outputs": [
840
+ {
841
+ "internalType": "PayoutId",
842
+ "name": "payoutId",
843
+ "type": "uint40"
844
+ }
845
+ ],
846
+ "stateMutability": "view",
847
+ "type": "function"
848
+ },
849
+ {
850
+ "inputs": [
851
+ {
852
+ "internalType": "NftId",
853
+ "name": "policyNftId",
854
+ "type": "uint96"
855
+ },
856
+ {
857
+ "internalType": "PayoutId",
858
+ "name": "payoutId",
859
+ "type": "uint40"
860
+ }
861
+ ],
862
+ "name": "getPayoutInfo",
863
+ "outputs": [
864
+ {
865
+ "components": [
866
+ {
867
+ "internalType": "ClaimId",
868
+ "name": "claimId",
869
+ "type": "uint16"
870
+ },
871
+ {
872
+ "internalType": "Amount",
873
+ "name": "amount",
874
+ "type": "uint96"
834
875
  },
835
876
  {
836
877
  "internalType": "Timestamp",
837
- "name": "expiryAt",
878
+ "name": "paidAt",
838
879
  "type": "uint40"
839
880
  },
881
+ {
882
+ "internalType": "address",
883
+ "name": "beneficiary",
884
+ "type": "address"
885
+ },
840
886
  {
841
887
  "internalType": "bytes",
842
888
  "name": "data",
843
889
  "type": "bytes"
844
890
  }
845
891
  ],
846
- "internalType": "struct IDistribution.ReferralInfo",
892
+ "internalType": "struct IPolicy.PayoutInfo",
847
893
  "name": "info",
848
894
  "type": "tuple"
849
895
  }
@@ -854,12 +900,36 @@
854
900
  {
855
901
  "inputs": [
856
902
  {
857
- "internalType": "RiskId",
858
- "name": "riskId",
859
- "type": "bytes8"
903
+ "internalType": "NftId",
904
+ "name": "policyNftId",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "internalType": "PayoutId",
909
+ "name": "payoutId",
910
+ "type": "uint40"
860
911
  }
861
912
  ],
862
- "name": "getRiskInfo",
913
+ "name": "getPayoutState",
914
+ "outputs": [
915
+ {
916
+ "internalType": "StateId",
917
+ "name": "state",
918
+ "type": "uint8"
919
+ }
920
+ ],
921
+ "stateMutability": "view",
922
+ "type": "function"
923
+ },
924
+ {
925
+ "inputs": [
926
+ {
927
+ "internalType": "NftId",
928
+ "name": "policyNftId",
929
+ "type": "uint96"
930
+ }
931
+ ],
932
+ "name": "getPolicyInfo",
863
933
  "outputs": [
864
934
  {
865
935
  "components": [
@@ -868,13 +938,83 @@
868
938
  "name": "productNftId",
869
939
  "type": "uint96"
870
940
  },
941
+ {
942
+ "internalType": "NftId",
943
+ "name": "bundleNftId",
944
+ "type": "uint96"
945
+ },
946
+ {
947
+ "internalType": "RiskId",
948
+ "name": "riskId",
949
+ "type": "bytes8"
950
+ },
951
+ {
952
+ "internalType": "Amount",
953
+ "name": "sumInsuredAmount",
954
+ "type": "uint96"
955
+ },
956
+ {
957
+ "internalType": "Amount",
958
+ "name": "premiumAmount",
959
+ "type": "uint96"
960
+ },
961
+ {
962
+ "internalType": "ReferralId",
963
+ "name": "referralId",
964
+ "type": "bytes8"
965
+ },
966
+ {
967
+ "internalType": "uint16",
968
+ "name": "claimsCount",
969
+ "type": "uint16"
970
+ },
971
+ {
972
+ "internalType": "uint16",
973
+ "name": "openClaimsCount",
974
+ "type": "uint16"
975
+ },
976
+ {
977
+ "internalType": "Amount",
978
+ "name": "claimAmount",
979
+ "type": "uint96"
980
+ },
981
+ {
982
+ "internalType": "Amount",
983
+ "name": "payoutAmount",
984
+ "type": "uint96"
985
+ },
986
+ {
987
+ "internalType": "Timestamp",
988
+ "name": "activatedAt",
989
+ "type": "uint40"
990
+ },
991
+ {
992
+ "internalType": "Seconds",
993
+ "name": "lifetime",
994
+ "type": "uint40"
995
+ },
996
+ {
997
+ "internalType": "Timestamp",
998
+ "name": "expiredAt",
999
+ "type": "uint40"
1000
+ },
1001
+ {
1002
+ "internalType": "Timestamp",
1003
+ "name": "closedAt",
1004
+ "type": "uint40"
1005
+ },
871
1006
  {
872
1007
  "internalType": "bytes",
873
- "name": "data",
1008
+ "name": "applicationData",
1009
+ "type": "bytes"
1010
+ },
1011
+ {
1012
+ "internalType": "bytes",
1013
+ "name": "processData",
874
1014
  "type": "bytes"
875
1015
  }
876
1016
  ],
877
- "internalType": "struct IRisk.RiskInfo",
1017
+ "internalType": "struct IPolicy.PolicyInfo",
878
1018
  "name": "info",
879
1019
  "type": "tuple"
880
1020
  }
@@ -882,20 +1022,818 @@
882
1022
  "stateMutability": "view",
883
1023
  "type": "function"
884
1024
  },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "RiskId",
1029
+ "name": "riskId",
1030
+ "type": "bytes8"
1031
+ },
1032
+ {
1033
+ "internalType": "uint256",
1034
+ "name": "idx",
1035
+ "type": "uint256"
1036
+ }
1037
+ ],
1038
+ "name": "getPolicyNftIdForRisk",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "NftId",
1042
+ "name": "linkedPolicyNftId",
1043
+ "type": "uint96"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "NftId",
1053
+ "name": "policyNftId",
1054
+ "type": "uint96"
1055
+ }
1056
+ ],
1057
+ "name": "getPolicyState",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "StateId",
1061
+ "name": "state",
1062
+ "type": "uint8"
1063
+ }
1064
+ ],
1065
+ "stateMutability": "view",
1066
+ "type": "function"
1067
+ },
1068
+ {
1069
+ "inputs": [
1070
+ {
1071
+ "internalType": "NftId",
1072
+ "name": "poolNftId",
1073
+ "type": "uint96"
1074
+ }
1075
+ ],
1076
+ "name": "getPoolInfo",
1077
+ "outputs": [
1078
+ {
1079
+ "components": [
1080
+ {
1081
+ "internalType": "Amount",
1082
+ "name": "maxBalanceAmount",
1083
+ "type": "uint96"
1084
+ },
1085
+ {
1086
+ "internalType": "UFixed",
1087
+ "name": "collateralizationLevel",
1088
+ "type": "uint160"
1089
+ },
1090
+ {
1091
+ "internalType": "UFixed",
1092
+ "name": "retentionLevel",
1093
+ "type": "uint160"
1094
+ },
1095
+ {
1096
+ "internalType": "bool",
1097
+ "name": "isInterceptingBundleTransfers",
1098
+ "type": "bool"
1099
+ },
1100
+ {
1101
+ "internalType": "bool",
1102
+ "name": "isProcessingConfirmedClaims",
1103
+ "type": "bool"
1104
+ },
1105
+ {
1106
+ "internalType": "bool",
1107
+ "name": "isExternallyManaged",
1108
+ "type": "bool"
1109
+ },
1110
+ {
1111
+ "internalType": "bool",
1112
+ "name": "isVerifyingApplications",
1113
+ "type": "bool"
1114
+ }
1115
+ ],
1116
+ "internalType": "struct IComponents.PoolInfo",
1117
+ "name": "info",
1118
+ "type": "tuple"
1119
+ }
1120
+ ],
1121
+ "stateMutability": "view",
1122
+ "type": "function"
1123
+ },
1124
+ {
1125
+ "inputs": [
1126
+ {
1127
+ "internalType": "NftId",
1128
+ "name": "policyNftId",
1129
+ "type": "uint96"
1130
+ }
1131
+ ],
1132
+ "name": "getPremiumInfo",
1133
+ "outputs": [
1134
+ {
1135
+ "components": [
1136
+ {
1137
+ "internalType": "Amount",
1138
+ "name": "productFeeAmount",
1139
+ "type": "uint96"
1140
+ },
1141
+ {
1142
+ "internalType": "Amount",
1143
+ "name": "distributionFeeAndCommissionAmount",
1144
+ "type": "uint96"
1145
+ },
1146
+ {
1147
+ "internalType": "Amount",
1148
+ "name": "poolPremiumAndFeeAmount",
1149
+ "type": "uint96"
1150
+ },
1151
+ {
1152
+ "internalType": "Amount",
1153
+ "name": "netPremiumAmount",
1154
+ "type": "uint96"
1155
+ },
1156
+ {
1157
+ "internalType": "Amount",
1158
+ "name": "fullPremiumAmount",
1159
+ "type": "uint96"
1160
+ },
1161
+ {
1162
+ "internalType": "Amount",
1163
+ "name": "premiumAmount",
1164
+ "type": "uint96"
1165
+ },
1166
+ {
1167
+ "internalType": "Amount",
1168
+ "name": "productFeeFixAmount",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "Amount",
1173
+ "name": "poolFeeFixAmount",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "Amount",
1178
+ "name": "bundleFeeFixAmount",
1179
+ "type": "uint96"
1180
+ },
1181
+ {
1182
+ "internalType": "Amount",
1183
+ "name": "distributionFeeFixAmount",
1184
+ "type": "uint96"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "productFeeVarAmount",
1189
+ "type": "uint96"
1190
+ },
1191
+ {
1192
+ "internalType": "Amount",
1193
+ "name": "poolFeeVarAmount",
1194
+ "type": "uint96"
1195
+ },
1196
+ {
1197
+ "internalType": "Amount",
1198
+ "name": "bundleFeeVarAmount",
1199
+ "type": "uint96"
1200
+ },
1201
+ {
1202
+ "internalType": "Amount",
1203
+ "name": "distributionFeeVarAmount",
1204
+ "type": "uint96"
1205
+ },
1206
+ {
1207
+ "internalType": "Amount",
1208
+ "name": "distributionOwnerFeeFixAmount",
1209
+ "type": "uint96"
1210
+ },
1211
+ {
1212
+ "internalType": "Amount",
1213
+ "name": "distributionOwnerFeeVarAmount",
1214
+ "type": "uint96"
1215
+ },
1216
+ {
1217
+ "internalType": "Amount",
1218
+ "name": "commissionAmount",
1219
+ "type": "uint96"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "discountAmount",
1224
+ "type": "uint96"
1225
+ }
1226
+ ],
1227
+ "internalType": "struct IPolicy.PremiumInfo",
1228
+ "name": "info",
1229
+ "type": "tuple"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [
1237
+ {
1238
+ "internalType": "NftId",
1239
+ "name": "policyNftId",
1240
+ "type": "uint96"
1241
+ }
1242
+ ],
1243
+ "name": "getPremiumInfoState",
1244
+ "outputs": [
1245
+ {
1246
+ "internalType": "StateId",
1247
+ "name": "state",
1248
+ "type": "uint8"
1249
+ }
1250
+ ],
1251
+ "stateMutability": "view",
1252
+ "type": "function"
1253
+ },
1254
+ {
1255
+ "inputs": [
1256
+ {
1257
+ "internalType": "NftId",
1258
+ "name": "productNftId",
1259
+ "type": "uint96"
1260
+ }
1261
+ ],
1262
+ "name": "getProductInfo",
1263
+ "outputs": [
1264
+ {
1265
+ "components": [
1266
+ {
1267
+ "internalType": "bool",
1268
+ "name": "isProcessingFundedClaims",
1269
+ "type": "bool"
1270
+ },
1271
+ {
1272
+ "internalType": "bool",
1273
+ "name": "isInterceptingPolicyTransfers",
1274
+ "type": "bool"
1275
+ },
1276
+ {
1277
+ "internalType": "bool",
1278
+ "name": "hasDistribution",
1279
+ "type": "bool"
1280
+ },
1281
+ {
1282
+ "internalType": "uint8",
1283
+ "name": "expectedNumberOfOracles",
1284
+ "type": "uint8"
1285
+ },
1286
+ {
1287
+ "internalType": "uint8",
1288
+ "name": "numberOfOracles",
1289
+ "type": "uint8"
1290
+ },
1291
+ {
1292
+ "internalType": "NftId",
1293
+ "name": "poolNftId",
1294
+ "type": "uint96"
1295
+ },
1296
+ {
1297
+ "internalType": "NftId",
1298
+ "name": "distributionNftId",
1299
+ "type": "uint96"
1300
+ },
1301
+ {
1302
+ "internalType": "NftId[]",
1303
+ "name": "oracleNftId",
1304
+ "type": "uint96[]"
1305
+ }
1306
+ ],
1307
+ "internalType": "struct IComponents.ProductInfo",
1308
+ "name": "info",
1309
+ "type": "tuple"
1310
+ }
1311
+ ],
1312
+ "stateMutability": "view",
1313
+ "type": "function"
1314
+ },
1315
+ {
1316
+ "inputs": [
1317
+ {
1318
+ "internalType": "uint256",
1319
+ "name": "idx",
1320
+ "type": "uint256"
1321
+ }
1322
+ ],
1323
+ "name": "getProductNftId",
1324
+ "outputs": [
1325
+ {
1326
+ "internalType": "NftId",
1327
+ "name": "productNftId",
1328
+ "type": "uint96"
1329
+ }
1330
+ ],
1331
+ "stateMutability": "view",
1332
+ "type": "function"
1333
+ },
1334
+ {
1335
+ "inputs": [
1336
+ {
1337
+ "internalType": "ReferralId",
1338
+ "name": "referralId",
1339
+ "type": "bytes8"
1340
+ }
1341
+ ],
1342
+ "name": "getReferralInfo",
1343
+ "outputs": [
1344
+ {
1345
+ "components": [
1346
+ {
1347
+ "internalType": "NftId",
1348
+ "name": "distributionNftId",
1349
+ "type": "uint96"
1350
+ },
1351
+ {
1352
+ "internalType": "NftId",
1353
+ "name": "distributorNftId",
1354
+ "type": "uint96"
1355
+ },
1356
+ {
1357
+ "internalType": "uint32",
1358
+ "name": "maxReferrals",
1359
+ "type": "uint32"
1360
+ },
1361
+ {
1362
+ "internalType": "uint32",
1363
+ "name": "usedReferrals",
1364
+ "type": "uint32"
1365
+ },
1366
+ {
1367
+ "internalType": "UFixed",
1368
+ "name": "discountPercentage",
1369
+ "type": "uint160"
1370
+ },
1371
+ {
1372
+ "internalType": "Timestamp",
1373
+ "name": "expiryAt",
1374
+ "type": "uint40"
1375
+ },
1376
+ {
1377
+ "internalType": "string",
1378
+ "name": "referralCode",
1379
+ "type": "string"
1380
+ },
1381
+ {
1382
+ "internalType": "bytes",
1383
+ "name": "data",
1384
+ "type": "bytes"
1385
+ }
1386
+ ],
1387
+ "internalType": "struct IDistribution.ReferralInfo",
1388
+ "name": "info",
1389
+ "type": "tuple"
1390
+ }
1391
+ ],
1392
+ "stateMutability": "view",
1393
+ "type": "function"
1394
+ },
1395
+ {
1396
+ "inputs": [],
1397
+ "name": "getRegistry",
1398
+ "outputs": [
1399
+ {
1400
+ "internalType": "contract IRegistry",
1401
+ "name": "registry",
1402
+ "type": "address"
1403
+ }
1404
+ ],
1405
+ "stateMutability": "view",
1406
+ "type": "function"
1407
+ },
1408
+ {
1409
+ "inputs": [
1410
+ {
1411
+ "internalType": "NftId",
1412
+ "name": "policyNftId",
1413
+ "type": "uint96"
1414
+ }
1415
+ ],
1416
+ "name": "getRemainingClaimableAmount",
1417
+ "outputs": [
1418
+ {
1419
+ "internalType": "Amount",
1420
+ "name": "remainingClaimableAmount",
1421
+ "type": "uint96"
1422
+ }
1423
+ ],
1424
+ "stateMutability": "view",
1425
+ "type": "function"
1426
+ },
1427
+ {
1428
+ "inputs": [
1429
+ {
1430
+ "internalType": "RequestId",
1431
+ "name": "requestId",
1432
+ "type": "uint64"
1433
+ }
1434
+ ],
1435
+ "name": "getRequestInfo",
1436
+ "outputs": [
1437
+ {
1438
+ "components": [
1439
+ {
1440
+ "internalType": "NftId",
1441
+ "name": "requesterNftId",
1442
+ "type": "uint96"
1443
+ },
1444
+ {
1445
+ "internalType": "NftId",
1446
+ "name": "oracleNftId",
1447
+ "type": "uint96"
1448
+ },
1449
+ {
1450
+ "internalType": "bool",
1451
+ "name": "isCancelled",
1452
+ "type": "bool"
1453
+ },
1454
+ {
1455
+ "internalType": "Timestamp",
1456
+ "name": "respondedAt",
1457
+ "type": "uint40"
1458
+ },
1459
+ {
1460
+ "internalType": "Timestamp",
1461
+ "name": "expiredAt",
1462
+ "type": "uint40"
1463
+ },
1464
+ {
1465
+ "internalType": "string",
1466
+ "name": "callbackMethodName",
1467
+ "type": "string"
1468
+ },
1469
+ {
1470
+ "internalType": "bytes",
1471
+ "name": "requestData",
1472
+ "type": "bytes"
1473
+ },
1474
+ {
1475
+ "internalType": "bytes",
1476
+ "name": "responseData",
1477
+ "type": "bytes"
1478
+ }
1479
+ ],
1480
+ "internalType": "struct IOracle.RequestInfo",
1481
+ "name": "requestInfo",
1482
+ "type": "tuple"
1483
+ }
1484
+ ],
1485
+ "stateMutability": "view",
1486
+ "type": "function"
1487
+ },
1488
+ {
1489
+ "inputs": [
1490
+ {
1491
+ "internalType": "NftId",
1492
+ "name": "productNftId",
1493
+ "type": "uint96"
1494
+ },
1495
+ {
1496
+ "internalType": "uint256",
1497
+ "name": "idx",
1498
+ "type": "uint256"
1499
+ }
1500
+ ],
1501
+ "name": "getRiskId",
1502
+ "outputs": [
1503
+ {
1504
+ "internalType": "RiskId",
1505
+ "name": "riskId",
1506
+ "type": "bytes8"
1507
+ }
1508
+ ],
1509
+ "stateMutability": "view",
1510
+ "type": "function"
1511
+ },
1512
+ {
1513
+ "inputs": [
1514
+ {
1515
+ "internalType": "RiskId",
1516
+ "name": "riskId",
1517
+ "type": "bytes8"
1518
+ }
1519
+ ],
1520
+ "name": "getRiskInfo",
1521
+ "outputs": [
1522
+ {
1523
+ "components": [
1524
+ {
1525
+ "internalType": "NftId",
1526
+ "name": "productNftId",
1527
+ "type": "uint96"
1528
+ },
1529
+ {
1530
+ "internalType": "Timestamp",
1531
+ "name": "createdAt",
1532
+ "type": "uint40"
1533
+ },
1534
+ {
1535
+ "internalType": "bytes",
1536
+ "name": "data",
1537
+ "type": "bytes"
1538
+ }
1539
+ ],
1540
+ "internalType": "struct IRisk.RiskInfo",
1541
+ "name": "info",
1542
+ "type": "tuple"
1543
+ }
1544
+ ],
1545
+ "stateMutability": "view",
1546
+ "type": "function"
1547
+ },
1548
+ {
1549
+ "inputs": [],
1550
+ "name": "getRiskSet",
1551
+ "outputs": [
1552
+ {
1553
+ "internalType": "contract RiskSet",
1554
+ "name": "riskSet",
1555
+ "type": "address"
1556
+ }
1557
+ ],
1558
+ "stateMutability": "view",
1559
+ "type": "function"
1560
+ },
1561
+ {
1562
+ "inputs": [
1563
+ {
1564
+ "internalType": "RiskId",
1565
+ "name": "riskId",
1566
+ "type": "bytes8"
1567
+ }
1568
+ ],
1569
+ "name": "getRiskState",
1570
+ "outputs": [
1571
+ {
1572
+ "internalType": "StateId",
1573
+ "name": "stateId",
1574
+ "type": "uint8"
1575
+ }
1576
+ ],
1577
+ "stateMutability": "view",
1578
+ "type": "function"
1579
+ },
1580
+ {
1581
+ "inputs": [
1582
+ {
1583
+ "internalType": "Key32",
1584
+ "name": "key",
1585
+ "type": "bytes32"
1586
+ }
1587
+ ],
1588
+ "name": "getState",
1589
+ "outputs": [
1590
+ {
1591
+ "internalType": "StateId",
1592
+ "name": "state",
1593
+ "type": "uint8"
1594
+ }
1595
+ ],
1596
+ "stateMutability": "view",
1597
+ "type": "function"
1598
+ },
1599
+ {
1600
+ "inputs": [
1601
+ {
1602
+ "internalType": "NftId",
1603
+ "name": "componentNftId",
1604
+ "type": "uint96"
1605
+ }
1606
+ ],
1607
+ "name": "getToken",
1608
+ "outputs": [
1609
+ {
1610
+ "internalType": "contract IERC20Metadata",
1611
+ "name": "token",
1612
+ "type": "address"
1613
+ }
1614
+ ],
1615
+ "stateMutability": "view",
1616
+ "type": "function"
1617
+ },
1618
+ {
1619
+ "inputs": [
1620
+ {
1621
+ "internalType": "NftId",
1622
+ "name": "componentNftId",
1623
+ "type": "uint96"
1624
+ }
1625
+ ],
1626
+ "name": "getTokenHandler",
1627
+ "outputs": [
1628
+ {
1629
+ "internalType": "contract TokenHandler",
1630
+ "name": "tokenHandler",
1631
+ "type": "address"
1632
+ }
1633
+ ],
1634
+ "stateMutability": "view",
1635
+ "type": "function"
1636
+ },
1637
+ {
1638
+ "inputs": [
1639
+ {
1640
+ "internalType": "NftId",
1641
+ "name": "componentNftId",
1642
+ "type": "uint96"
1643
+ }
1644
+ ],
1645
+ "name": "getWallet",
1646
+ "outputs": [
1647
+ {
1648
+ "internalType": "address",
1649
+ "name": "wallet",
1650
+ "type": "address"
1651
+ }
1652
+ ],
1653
+ "stateMutability": "view",
1654
+ "type": "function"
1655
+ },
1656
+ {
1657
+ "inputs": [
1658
+ {
1659
+ "internalType": "address",
1660
+ "name": "account",
1661
+ "type": "address"
1662
+ },
1663
+ {
1664
+ "internalType": "RoleId",
1665
+ "name": "roleId",
1666
+ "type": "uint64"
1667
+ }
1668
+ ],
1669
+ "name": "hasAdminRole",
1670
+ "outputs": [
1671
+ {
1672
+ "internalType": "bool",
1673
+ "name": "isMember",
1674
+ "type": "bool"
1675
+ }
1676
+ ],
1677
+ "stateMutability": "view",
1678
+ "type": "function"
1679
+ },
1680
+ {
1681
+ "inputs": [
1682
+ {
1683
+ "internalType": "address",
1684
+ "name": "account",
1685
+ "type": "address"
1686
+ },
1687
+ {
1688
+ "internalType": "RoleId",
1689
+ "name": "roleId",
1690
+ "type": "uint64"
1691
+ }
1692
+ ],
1693
+ "name": "hasRole",
1694
+ "outputs": [
1695
+ {
1696
+ "internalType": "bool",
1697
+ "name": "isMember",
1698
+ "type": "bool"
1699
+ }
1700
+ ],
1701
+ "stateMutability": "view",
1702
+ "type": "function"
1703
+ },
1704
+ {
1705
+ "inputs": [],
1706
+ "name": "initialize",
1707
+ "outputs": [],
1708
+ "stateMutability": "nonpayable",
1709
+ "type": "function"
1710
+ },
1711
+ {
1712
+ "inputs": [
1713
+ {
1714
+ "internalType": "address",
1715
+ "name": "instanceAddress",
1716
+ "type": "address"
1717
+ }
1718
+ ],
1719
+ "name": "initializeWithInstance",
1720
+ "outputs": [],
1721
+ "stateMutability": "nonpayable",
1722
+ "type": "function"
1723
+ },
1724
+ {
1725
+ "inputs": [
1726
+ {
1727
+ "internalType": "address",
1728
+ "name": "target",
1729
+ "type": "address"
1730
+ }
1731
+ ],
1732
+ "name": "isLocked",
1733
+ "outputs": [
1734
+ {
1735
+ "internalType": "bool",
1736
+ "name": "",
1737
+ "type": "bool"
1738
+ }
1739
+ ],
1740
+ "stateMutability": "view",
1741
+ "type": "function"
1742
+ },
1743
+ {
1744
+ "inputs": [
1745
+ {
1746
+ "internalType": "NftId",
1747
+ "name": "distributionNftId",
1748
+ "type": "uint96"
1749
+ },
1750
+ {
1751
+ "internalType": "ReferralId",
1752
+ "name": "referralId",
1753
+ "type": "bytes8"
1754
+ }
1755
+ ],
1756
+ "name": "isReferralValid",
1757
+ "outputs": [
1758
+ {
1759
+ "internalType": "bool",
1760
+ "name": "isValid",
1761
+ "type": "bool"
1762
+ }
1763
+ ],
1764
+ "stateMutability": "view",
1765
+ "type": "function"
1766
+ },
1767
+ {
1768
+ "inputs": [
1769
+ {
1770
+ "internalType": "NftId",
1771
+ "name": "policyNftId",
1772
+ "type": "uint96"
1773
+ },
1774
+ {
1775
+ "internalType": "ClaimId",
1776
+ "name": "claimId",
1777
+ "type": "uint16"
1778
+ }
1779
+ ],
1780
+ "name": "payouts",
1781
+ "outputs": [
1782
+ {
1783
+ "internalType": "uint24",
1784
+ "name": "payoutCount",
1785
+ "type": "uint24"
1786
+ }
1787
+ ],
1788
+ "stateMutability": "view",
1789
+ "type": "function"
1790
+ },
1791
+ {
1792
+ "inputs": [
1793
+ {
1794
+ "internalType": "RiskId",
1795
+ "name": "riskId",
1796
+ "type": "bytes8"
1797
+ }
1798
+ ],
1799
+ "name": "policiesForRisk",
1800
+ "outputs": [
1801
+ {
1802
+ "internalType": "uint256",
1803
+ "name": "linkedPolicies",
1804
+ "type": "uint256"
1805
+ }
1806
+ ],
1807
+ "stateMutability": "view",
1808
+ "type": "function"
1809
+ },
885
1810
  {
886
1811
  "inputs": [
887
1812
  {
888
1813
  "internalType": "NftId",
889
- "name": "productNftId",
1814
+ "name": "policyNftId",
890
1815
  "type": "uint96"
891
1816
  }
892
1817
  ],
893
- "name": "getTokenHandler",
1818
+ "name": "policyIsActive",
894
1819
  "outputs": [
895
1820
  {
896
- "internalType": "address",
897
- "name": "tokenHandler",
898
- "type": "address"
1821
+ "internalType": "bool",
1822
+ "name": "isCloseable",
1823
+ "type": "bool"
1824
+ }
1825
+ ],
1826
+ "stateMutability": "view",
1827
+ "type": "function"
1828
+ },
1829
+ {
1830
+ "inputs": [],
1831
+ "name": "products",
1832
+ "outputs": [
1833
+ {
1834
+ "internalType": "uint256",
1835
+ "name": "productCount",
1836
+ "type": "uint256"
899
1837
  }
900
1838
  ],
901
1839
  "stateMutability": "view",
@@ -909,136 +1847,12 @@
909
1847
  "type": "uint96"
910
1848
  }
911
1849
  ],
912
- "name": "getTreasuryInfo",
1850
+ "name": "risks",
913
1851
  "outputs": [
914
1852
  {
915
- "components": [
916
- {
917
- "internalType": "contract IERC20Metadata",
918
- "name": "token",
919
- "type": "address"
920
- },
921
- {
922
- "internalType": "contract TokenHandler",
923
- "name": "tokenHandler",
924
- "type": "address"
925
- },
926
- {
927
- "internalType": "NftId",
928
- "name": "distributionNftId",
929
- "type": "uint96"
930
- },
931
- {
932
- "internalType": "NftId",
933
- "name": "poolNftId",
934
- "type": "uint96"
935
- },
936
- {
937
- "components": [
938
- {
939
- "internalType": "UFixed",
940
- "name": "fractionalFee",
941
- "type": "uint256"
942
- },
943
- {
944
- "internalType": "uint256",
945
- "name": "fixedFee",
946
- "type": "uint256"
947
- }
948
- ],
949
- "internalType": "struct Fee",
950
- "name": "distributionFee",
951
- "type": "tuple"
952
- },
953
- {
954
- "components": [
955
- {
956
- "internalType": "UFixed",
957
- "name": "fractionalFee",
958
- "type": "uint256"
959
- },
960
- {
961
- "internalType": "uint256",
962
- "name": "fixedFee",
963
- "type": "uint256"
964
- }
965
- ],
966
- "internalType": "struct Fee",
967
- "name": "productFee",
968
- "type": "tuple"
969
- },
970
- {
971
- "components": [
972
- {
973
- "internalType": "UFixed",
974
- "name": "fractionalFee",
975
- "type": "uint256"
976
- },
977
- {
978
- "internalType": "uint256",
979
- "name": "fixedFee",
980
- "type": "uint256"
981
- }
982
- ],
983
- "internalType": "struct Fee",
984
- "name": "processingFee",
985
- "type": "tuple"
986
- },
987
- {
988
- "components": [
989
- {
990
- "internalType": "UFixed",
991
- "name": "fractionalFee",
992
- "type": "uint256"
993
- },
994
- {
995
- "internalType": "uint256",
996
- "name": "fixedFee",
997
- "type": "uint256"
998
- }
999
- ],
1000
- "internalType": "struct Fee",
1001
- "name": "poolFee",
1002
- "type": "tuple"
1003
- },
1004
- {
1005
- "components": [
1006
- {
1007
- "internalType": "UFixed",
1008
- "name": "fractionalFee",
1009
- "type": "uint256"
1010
- },
1011
- {
1012
- "internalType": "uint256",
1013
- "name": "fixedFee",
1014
- "type": "uint256"
1015
- }
1016
- ],
1017
- "internalType": "struct Fee",
1018
- "name": "stakingFee",
1019
- "type": "tuple"
1020
- },
1021
- {
1022
- "components": [
1023
- {
1024
- "internalType": "UFixed",
1025
- "name": "fractionalFee",
1026
- "type": "uint256"
1027
- },
1028
- {
1029
- "internalType": "uint256",
1030
- "name": "fixedFee",
1031
- "type": "uint256"
1032
- }
1033
- ],
1034
- "internalType": "struct Fee",
1035
- "name": "performanceFee",
1036
- "type": "tuple"
1037
- }
1038
- ],
1039
- "internalType": "struct ITreasury.TreasuryInfo",
1040
- "name": "info",
1041
- "type": "tuple"
1853
+ "internalType": "uint256",
1854
+ "name": "riskCount",
1855
+ "type": "uint256"
1042
1856
  }
1043
1857
  ],
1044
1858
  "stateMutability": "view",
@@ -1047,44 +1861,50 @@
1047
1861
  {
1048
1862
  "inputs": [
1049
1863
  {
1050
- "internalType": "address",
1051
- "name": "instance",
1052
- "type": "address"
1864
+ "internalType": "NftId",
1865
+ "name": "poolNftId",
1866
+ "type": "uint96"
1053
1867
  }
1054
1868
  ],
1055
- "name": "initialize",
1056
- "outputs": [],
1057
- "stateMutability": "nonpayable",
1869
+ "name": "toBundleKey",
1870
+ "outputs": [
1871
+ {
1872
+ "internalType": "Key32",
1873
+ "name": "",
1874
+ "type": "bytes32"
1875
+ }
1876
+ ],
1877
+ "stateMutability": "pure",
1058
1878
  "type": "function"
1059
1879
  },
1060
1880
  {
1061
1881
  "inputs": [
1062
1882
  {
1063
1883
  "internalType": "NftId",
1064
- "name": "policyNftId",
1884
+ "name": "componentNftId",
1065
1885
  "type": "uint96"
1066
1886
  }
1067
1887
  ],
1068
- "name": "policyIsCloseable",
1888
+ "name": "toComponentKey",
1069
1889
  "outputs": [
1070
1890
  {
1071
- "internalType": "bool",
1072
- "name": "isCloseable",
1073
- "type": "bool"
1891
+ "internalType": "Key32",
1892
+ "name": "",
1893
+ "type": "bytes32"
1074
1894
  }
1075
1895
  ],
1076
- "stateMutability": "view",
1896
+ "stateMutability": "pure",
1077
1897
  "type": "function"
1078
1898
  },
1079
1899
  {
1080
1900
  "inputs": [
1081
1901
  {
1082
1902
  "internalType": "NftId",
1083
- "name": "poolNftId",
1903
+ "name": "distributionNftId",
1084
1904
  "type": "uint96"
1085
1905
  }
1086
1906
  ],
1087
- "name": "toBundleKey",
1907
+ "name": "toDistributionKey",
1088
1908
  "outputs": [
1089
1909
  {
1090
1910
  "internalType": "Key32",
@@ -1099,11 +1919,11 @@
1099
1919
  "inputs": [
1100
1920
  {
1101
1921
  "internalType": "NftId",
1102
- "name": "distributionNftId",
1922
+ "name": "distributorNftId",
1103
1923
  "type": "uint96"
1104
1924
  }
1105
1925
  ],
1106
- "name": "toDistributionKey",
1926
+ "name": "toDistributorKey",
1107
1927
  "outputs": [
1108
1928
  {
1109
1929
  "internalType": "Key32",
@@ -1118,11 +1938,11 @@
1118
1938
  "inputs": [
1119
1939
  {
1120
1940
  "internalType": "NftId",
1121
- "name": "distributorNftId",
1941
+ "name": "productNftId",
1122
1942
  "type": "uint96"
1123
1943
  }
1124
1944
  ],
1125
- "name": "toDistributorKey",
1945
+ "name": "toFeeKey",
1126
1946
  "outputs": [
1127
1947
  {
1128
1948
  "internalType": "Key32",
@@ -1138,7 +1958,7 @@
1138
1958
  {
1139
1959
  "internalType": "UFixed",
1140
1960
  "name": "value",
1141
- "type": "uint256"
1961
+ "type": "uint160"
1142
1962
  }
1143
1963
  ],
1144
1964
  "name": "toInt",
@@ -1194,11 +2014,11 @@
1194
2014
  "inputs": [
1195
2015
  {
1196
2016
  "internalType": "NftId",
1197
- "name": "productNftId",
2017
+ "name": "policyNftId",
1198
2018
  "type": "uint96"
1199
2019
  }
1200
2020
  ],
1201
- "name": "toProductKey",
2021
+ "name": "toPremiumKey",
1202
2022
  "outputs": [
1203
2023
  {
1204
2024
  "internalType": "Key32",
@@ -1213,21 +2033,16 @@
1213
2033
  "inputs": [
1214
2034
  {
1215
2035
  "internalType": "NftId",
1216
- "name": "distributionNftId",
2036
+ "name": "productNftId",
1217
2037
  "type": "uint96"
1218
- },
1219
- {
1220
- "internalType": "string",
1221
- "name": "referralCode",
1222
- "type": "string"
1223
2038
  }
1224
2039
  ],
1225
- "name": "toReferralId",
2040
+ "name": "toProductKey",
1226
2041
  "outputs": [
1227
2042
  {
1228
- "internalType": "ReferralId",
1229
- "name": "referralId",
1230
- "type": "bytes8"
2043
+ "internalType": "Key32",
2044
+ "name": "",
2045
+ "type": "bytes32"
1231
2046
  }
1232
2047
  ],
1233
2048
  "stateMutability": "pure",
@@ -1237,16 +2052,21 @@
1237
2052
  "inputs": [
1238
2053
  {
1239
2054
  "internalType": "NftId",
1240
- "name": "productNftId",
2055
+ "name": "distributionNftId",
1241
2056
  "type": "uint96"
2057
+ },
2058
+ {
2059
+ "internalType": "string",
2060
+ "name": "referralCode",
2061
+ "type": "string"
1242
2062
  }
1243
2063
  ],
1244
- "name": "toTreasuryKey",
2064
+ "name": "toReferralId",
1245
2065
  "outputs": [
1246
2066
  {
1247
- "internalType": "Key32",
1248
- "name": "",
1249
- "type": "bytes32"
2067
+ "internalType": "ReferralId",
2068
+ "name": "referralId",
2069
+ "type": "bytes8"
1250
2070
  }
1251
2071
  ],
1252
2072
  "stateMutability": "pure",
@@ -1270,21 +2090,21 @@
1270
2090
  {
1271
2091
  "internalType": "UFixed",
1272
2092
  "name": "",
1273
- "type": "uint256"
2093
+ "type": "uint160"
1274
2094
  }
1275
2095
  ],
1276
2096
  "stateMutability": "pure",
1277
2097
  "type": "function"
1278
2098
  }
1279
2099
  ],
1280
- "bytecode": "0x608060405234801561001057600080fd5b506138e5806100206000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d8565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612127565b6106c2565b6040516102129190612194565b610208610249366004612245565b61081b565b61026161025c366004612245565b6108b5565b6040516102129190612262565b61020861027c366004612245565b61097f565b61029461028f3660046122cf565b6109ac565b6040516102129190612305565b6102b46102af3660046124c4565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612556565b610b7b565b6102f36102ee366004612245565b610bb6565b604051610212919061256f565b61031361030e3660046122cf565b610c5c565b60405160ff9091168152602001610212565b610208610333366004612245565b610d59565b61034b610346366004612245565b610d86565b6040519015158152602001610212565b610313610369366004612662565b611015565b61020861037c366004612245565b611075565b61020861038f366004612245565b6110a2565b6103a76103a2366004612127565b6110cf565b6040516102129190612690565b6103136103c2366004612245565b6111f8565b6103da6103d5366004612245565b611274565b60405161021291906126c6565b6103fa6103f5366004612245565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b610489610484366004612245565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612556565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c366004612662565b611502565b6040516102129190612773565b61054161053c366004612127565b611657565b6040805192835260ff909116602083015201610212565b61056b610566366004612245565b6118ff565b6040516102129190612813565b61058b6105863660046129c2565b611a25565b005b6105a061059b366004612127565b611b3e565b60405161021291906129df565b6001546001600160a01b0316610489565b6102086105cc366004612245565b611cb1565b60005461010090046001600160a01b0316610489565b6105fa6105f5366004612245565b611cde565b6040516102129190612a8f565b61061a610615366004612245565b611db3565b6040516102129190612b10565b610208610635366004612245565b611efb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c12565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c12565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c70565b805190915015610815578080602001905181019061080e9190612cef565b9392505050565b50919050565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c12565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c70565b805190915015610815578080602001905181019061080e9190612de8565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c12565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c70565b805190915015610af75780806020019051810190610aef9190612eb0565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610b3a9086908690600401612f6f565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f91565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610874565b610bbe611faf565b6001546000906001600160a01b03166354f6127f610bdb85611efb565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c70565b805190915015610815578080602001905181019061080e9190612fde565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c12565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130f4565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610844565b600080610d92836118ff565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613111565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613111565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613111565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f28565b15610f795750600192915050565b610ffe73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061312c565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610cb9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610844565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c12565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c70565b805190915015610815578080602001905181019061080e9190613149565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130f4565b61127c612020565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c70565b805190915015610815578080602001905181019061080e91906131d3565b611322612090565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c70565b805190915015610815578080602001905181019061080e919061327b565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c70565b80519091501561081557600081806020019051810190611462919061331c565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133ed565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156115b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d69190612c12565b6040518263ffffffff1660e01b81526004016115f491815260200190565b600060405180830381865afa158015611611573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116399190810190612c70565b805190915015610af75780806020019051810190610aef9190613467565b6000806000611665846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156116c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e89190613111565b156117675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175a9190612c12565b60645b9250925050915091565b6117eb8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117dc919061312c565b64ffffffffff90811691161090565b156118645773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190612c12565b606e61175d565b806060015163ffffffff16816080015163ffffffff16106118f35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190612c12565b607861175d565b6040810151600a61175d565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f6119a485610d59565b6040518263ffffffff1660e01b81526004016119c291815260200190565b600060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a079190810190612c70565b805190915015610815578080602001905181019061080e919061354c565b60005460ff1615611a495760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a7057604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0e91906136e8565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9d60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c309190612c12565b6040518263ffffffff1660e01b8152600401611c4e91815260200190565b600060405180830381865afa158015611c6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c939190810190612c70565b805190915015610815578080602001905181019061080e9190613705565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d3285611cb1565b6040518263ffffffff1660e01b8152600401611d5091815260200190565b600060405180830381865afa158015611d6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d959190810190612c70565b805190915015610815578080602001905181019061080e91906137fc565b611e5d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e7a8561081b565b6040518263ffffffff1660e01b8152600401611e9891815260200190565b600060405180830381865afa158015611eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611edd9190810190612c70565b805190915015610815578080602001905181019061080e919061331c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f8b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613111565b60405180610120016040528060006001600160601b03168152602001611fe8604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161207c604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161205a604051806040016040528060008152602001600081525090565b600080604083850312156120eb57600080fd5b8235915060208301358060000b811461210357600080fd5b809150509250929050565b6001600160c01b03198116811461212457600080fd5b50565b60006020828403121561213957600080fd5b813561080e8161210e565b60005b8381101561215f578181015183820152602001612147565b50506000910152565b60008151808452612180816020860160208601612144565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121c4610100840182612168565b90506040840151606084015263ffffffff606085015116608084015260808401516121f760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122278282612168565b95945050505050565b6001600160601b038116811461212457600080fd5b60006020828403121561225757600080fd5b813561080e81612230565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526122a060c0840182612168565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122e257600080fd5b82356122ed81612230565b9150602083013562ffffff8116811461210357600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261234260a0840182612168565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156123975761239761235f565b60405290565b60405160a081016001600160401b03811182821017156123975761239761235f565b604080519081016001600160401b03811182821017156123975761239761235f565b60405161012081016001600160401b03811182821017156123975761239761235f565b60405161010081016001600160401b03811182821017156123975761239761235f565b60405161014081016001600160401b03811182821017156123975761239761235f565b60405161022081016001600160401b03811182821017156123975761239761235f565b604051601f8201601f191681016001600160401b03811182821017156124955761249561235f565b604052919050565b60006001600160401b038211156124b6576124b661235f565b50601f01601f191660200190565b600080604083850312156124d757600080fd5b82356124e281612230565b915060208301356001600160401b038111156124fd57600080fd5b8301601f8101851361250e57600080fd5b803561252161251c8261249d565b61246d565b81815286602083850101111561253657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561256857600080fd5b5035919050565b602081526125896020820183516001600160601b03169052565b600060208301516125a7604084018280518252602090810151910152565b5060408301516101408060808501526125c4610160850183612168565b915060608501516125e060a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126258187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461212457600080fd5b6000806040838503121561267557600080fd5b823561268081612230565b9150602083013561210381612652565b602081526001600160601b038251166020820152600060208301516040808401526126be6060840182612168565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612715908401826001600160601b03169052565b506080830151612732608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516127b8608084018260ff169052565b50608083015160e060a08401526127d3610100840182612168565b905060a0840151601f198483030160c08501526127f08282612168565b91505060c084015161280b60e085018264ffffffffff169052565b509392505050565b6020815261282d6020820183516001600160601b03169052565b6000602083015161284960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128cf8185018364ffffffffff169052565b8085015191505061022061012081818601526128ef610240860184612168565b9250808601519050610140601f19868503018187015261290f8483612168565b93508087015191505061016061292a8187018361ffff169052565b86015190506101806129418682018361ffff169052565b86015190506101a061295d868201836001600160601b03169052565b86015190506101c0612979868201836001600160601b03169052565b86015190506101e06129938682018364ffffffffff169052565b860151905061020061263b8682018364ffffffffff169052565b6001600160a01b038116811461212457600080fd5b6000602082840312156129d457600080fd5b813561080e816129ad565b60208152600082516101208060208501526129fe610140850183612168565b91506020850151604085015260408501516060850152606085015160808501526080850151612a3560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a6b8187018315159052565b860151858403601f1901838701529050612a858382612168565b9695505050505050565b602081526000825160e06020840152612aac610100840182612168565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612af660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c085015261220b565b81516001600160a01b0316815261020081016020830151612b3c60208401826001600160a01b03169052565b506040830151612b5760408401826001600160601b03169052565b506060830151612b7260608401826001600160601b03169052565b506080830151612b8f608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bc58185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c2457600080fd5b5051919050565b600082601f830112612c3c57600080fd5b8151612c4a61251c8261249d565b818152846020838601011115612c5f57600080fd5b6126be826020830160208701612144565b600060208284031215612c8257600080fd5b81516001600160401b03811115612c9857600080fd5b6126be84828501612c2b565b8051612caf81612230565b919050565b63ffffffff8116811461212457600080fd5b8051612caf81612cb4565b64ffffffffff8116811461212457600080fd5b8051612caf81612cd1565b600060208284031215612d0157600080fd5b81516001600160401b0380821115612d1857600080fd5b9083019060e08286031215612d2c57600080fd5b612d34612375565b612d3d83612ca4565b8152602083015182811115612d5157600080fd5b612d5d87828601612c2b565b60208301525060408301516040820152612d7960608401612cc6565b6060820152612d8a60808401612cc6565b6080820152612d9b60a08401612ce4565b60a082015260c083015182811115612db257600080fd5b612dbe87828601612c2b565b60c08301525095945050505050565b8051612caf8161210e565b80518015158114612caf57600080fd5b600060208284031215612dfa57600080fd5b81516001600160401b0380821115612e1157600080fd5b9083019060a08286031215612e2557600080fd5b612e2d61239d565b8251612e388161210e565b8152612e4660208401612dd8565b6020820152604083015182811115612e5d57600080fd5b612e6987828601612c2b565b60408301525060608301519150612e7f82612230565b81606082015260808301519250612e9583612cb4565b6080810192909252509392505050565b8051612caf81612652565b600060208284031215612ec257600080fd5b81516001600160401b0380821115612ed957600080fd5b9083019060808286031215612eed57600080fd5b604051608081018181108382111715612f0857612f0861235f565b6040528251612f1681612652565b81526020830151612f2681612230565b6020820152604083015182811115612f3d57600080fd5b612f4987828601612c2b565b60408301525060608301519250612f5f83612cd1565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126be6040830184612168565b600060208284031215612fa357600080fd5b815161080e8161210e565b600060408284031215612fc057600080fd5b612fc86123bf565b9050815181526020820151602082015292915050565b600060208284031215612ff057600080fd5b81516001600160401b038082111561300757600080fd5b90830190610140828603121561301c57600080fd5b6130246123e1565b61302d83612ca4565b815261303c8660208501612fae565b602082015260608301518281111561305357600080fd5b61305f87828601612c2b565b60408301525061307160808401612ca4565b606082015261308260a08401612ca4565b608082015261309360c08401612ca4565b60a08201526130a460e08401612ce4565b60c082015261010091506130b9828401612ce4565b60e08201526130cb6101208401612ce4565b91810191909152949350505050565b60ff8116811461212457600080fd5b8051612caf816130da565b60006020828403121561310657600080fd5b815161080e816130da565b60006020828403121561312357600080fd5b6106b982612dd8565b60006020828403121561313e57600080fd5b815161080e81612cd1565b60006020828403121561315b57600080fd5b81516001600160401b038082111561317257600080fd5b908301906040828603121561318657600080fd5b61318e6123bf565b825161319981612230565b81526020830151828111156131ad57600080fd5b6131b987828601612c2b565b60208301525095945050505050565b8051612caf816129ad565b600061014082840312156131e657600080fd5b6131ee612404565b6131f7836131c8565b8152613205602084016131c8565b602082015261321660408401612ca4565b604082015261322760608401612ca4565b60608201526132398460808501612fae565b608082015261324b8460c08501612fae565b60a082015261325d6101008401612dd8565b60c082015261326f61012084016131c8565b60e08201529392505050565b6000610100828403121561328e57600080fd5b60405160c081018181106001600160401b03821117156132b0576132b061235f565b60405282516132be81612230565b815260208301516132ce816129ad565b60208201526132e08460408501612fae565b60408201526132f28460808501612fae565b606082015260c0830151613305816129ad565b608082015260e0929092015160a083015250919050565b6000610200828403121561332f57600080fd5b613337612427565b613340836131c8565b815261334e602084016131c8565b602082015261335f60408401612ca4565b604082015261337060608401612ca4565b60608201526133828460808501612fae565b60808201526133948460c08501612fae565b60a08201526101006133a885828601612fae565b60c08301526133bb856101408601612fae565b60e08301526133ce856101808601612fae565b908201526133e0846101c08501612fae565b6101208201529392505050565b600060a082840312156133ff57600080fd5b61340761239d565b8251613412816130da565b81526020830151613422816130da565b60208201526040830151613435816129ad565b6040820152606083015161344881612cb4565b6060820152608083015161345b81612cb4565b60808201529392505050565b60006020828403121561347957600080fd5b81516001600160401b038082111561349057600080fd5b9083019060e082860312156134a457600080fd5b6134ac612375565b6134b583612ca4565b81526134c360208401612ca4565b60208201526134d4604084016130e9565b60408201526134e5606084016130e9565b60608201526080830151828111156134fc57600080fd5b61350887828601612c2b565b60808301525060a08301518281111561352057600080fd5b61352c87828601612c2b565b60a08301525061353e60c08401612ce4565b60c082015295945050505050565b60006020828403121561355e57600080fd5b81516001600160401b038082111561357557600080fd5b90830190610220828603121561358a57600080fd5b61359261244a565b61359b83612ca4565b81526135a960208401612ca4565b60208201526135ba60408401612dcd565b60408201526135cb60608401612dcd565b60608201526135dc60808401612ca4565b60808201526135ed60a08401612ca4565b60a08201526135fe60c08401612ca4565b60c082015261360f60e08401612ce4565b60e0820152610100808401518381111561362857600080fd5b61363488828701612c2b565b828401525050610120808401518381111561364e57600080fd5b61365a88828701612c2b565b8284015250506101409150613670828401612ea5565b828201526101609150613684828401612ea5565b828201526101809150613698828401612ca4565b828201526101a091506136ac828401612ca4565b828201526101c091506136c0828401612ce4565b828201526101e091506136d4828401612ce4565b8282015261020091506130cb828401612ce4565b6000602082840312156136fa57600080fd5b815161080e816129ad565b60006020828403121561371757600080fd5b81516001600160401b038082111561372e57600080fd5b90830190610120828603121561374357600080fd5b61374b6123e1565b82518281111561375a57600080fd5b61376687828601612c2b565b82525060208301516020820152604083015160408201526060830151606082015261379360808401612cc6565b60808201526137a460a08401612cc6565b60a08201526137b560c08401612dd8565b60c08201526137c660e08401612dd8565b60e082015261010080840151838111156137df57600080fd5b6137eb88828701612c2b565b918301919091525095945050505050565b60006020828403121561380e57600080fd5b81516001600160401b038082111561382557600080fd5b9083019060e0828603121561383957600080fd5b613841612375565b82518281111561385057600080fd5b61385c87828601612c2b565b82525061386b602084016131c8565b602082015261387c604084016131c8565b604082015261388d606084016131c8565b606082015261389e60808401612ca4565b6080820152612d9b60a08401612ca456fea2646970667358221220f10723f6cc61ffeaff8e7d1c04935b878c50e3daf52445e4d5a5a3a06c970eb964736f6c63430008140033",
1281
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d8565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612127565b6106c2565b6040516102129190612194565b610208610249366004612245565b61081b565b61026161025c366004612245565b6108b5565b6040516102129190612262565b61020861027c366004612245565b61097f565b61029461028f3660046122cf565b6109ac565b6040516102129190612305565b6102b46102af3660046124c4565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612556565b610b7b565b6102f36102ee366004612245565b610bb6565b604051610212919061256f565b61031361030e3660046122cf565b610c5c565b60405160ff9091168152602001610212565b610208610333366004612245565b610d59565b61034b610346366004612245565b610d86565b6040519015158152602001610212565b610313610369366004612662565b611015565b61020861037c366004612245565b611075565b61020861038f366004612245565b6110a2565b6103a76103a2366004612127565b6110cf565b6040516102129190612690565b6103136103c2366004612245565b6111f8565b6103da6103d5366004612245565b611274565b60405161021291906126c6565b6103fa6103f5366004612245565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b610489610484366004612245565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612556565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c366004612662565b611502565b6040516102129190612773565b61054161053c366004612127565b611657565b6040805192835260ff909116602083015201610212565b61056b610566366004612245565b6118ff565b6040516102129190612813565b61058b6105863660046129c2565b611a25565b005b6105a061059b366004612127565b611b3e565b60405161021291906129df565b6001546001600160a01b0316610489565b6102086105cc366004612245565b611cb1565b60005461010090046001600160a01b0316610489565b6105fa6105f5366004612245565b611cde565b6040516102129190612a8f565b61061a610615366004612245565b611db3565b6040516102129190612b10565b610208610635366004612245565b611efb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c12565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c12565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c70565b805190915015610815578080602001905181019061080e9190612cef565b9392505050565b50919050565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c12565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c70565b805190915015610815578080602001905181019061080e9190612de8565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c12565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c70565b805190915015610af75780806020019051810190610aef9190612eb0565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610b3a9086908690600401612f6f565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f91565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610874565b610bbe611faf565b6001546000906001600160a01b03166354f6127f610bdb85611efb565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c70565b805190915015610815578080602001905181019061080e9190612fde565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c12565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130f4565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610844565b600080610d92836118ff565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613111565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613111565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613111565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f28565b15610f795750600192915050565b610ffe73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061312c565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610cb9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610844565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c12565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c70565b805190915015610815578080602001905181019061080e9190613149565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130f4565b61127c612020565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c70565b805190915015610815578080602001905181019061080e91906131d3565b611322612090565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c70565b805190915015610815578080602001905181019061080e919061327b565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c70565b80519091501561081557600081806020019051810190611462919061331c565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133ed565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156115b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d69190612c12565b6040518263ffffffff1660e01b81526004016115f491815260200190565b600060405180830381865afa158015611611573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116399190810190612c70565b805190915015610af75780806020019051810190610aef9190613467565b6000806000611665846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156116c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e89190613111565b156117675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175a9190612c12565b60645b9250925050915091565b6117eb8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117dc919061312c565b64ffffffffff90811691161090565b156118645773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190612c12565b606e61175d565b806060015163ffffffff16816080015163ffffffff16106118f35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190612c12565b607861175d565b6040810151600a61175d565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f6119a485610d59565b6040518263ffffffff1660e01b81526004016119c291815260200190565b600060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a079190810190612c70565b805190915015610815578080602001905181019061080e919061354c565b60005460ff1615611a495760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a7057604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0e91906136e8565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9d60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c309190612c12565b6040518263ffffffff1660e01b8152600401611c4e91815260200190565b600060405180830381865afa158015611c6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c939190810190612c70565b805190915015610815578080602001905181019061080e9190613705565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d3285611cb1565b6040518263ffffffff1660e01b8152600401611d5091815260200190565b600060405180830381865afa158015611d6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d959190810190612c70565b805190915015610815578080602001905181019061080e91906137fc565b611e5d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e7a8561081b565b6040518263ffffffff1660e01b8152600401611e9891815260200190565b600060405180830381865afa158015611eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611edd9190810190612c70565b805190915015610815578080602001905181019061080e919061331c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f8b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613111565b60405180610120016040528060006001600160601b03168152602001611fe8604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161207c604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161205a604051806040016040528060008152602001600081525090565b600080604083850312156120eb57600080fd5b8235915060208301358060000b811461210357600080fd5b809150509250929050565b6001600160c01b03198116811461212457600080fd5b50565b60006020828403121561213957600080fd5b813561080e8161210e565b60005b8381101561215f578181015183820152602001612147565b50506000910152565b60008151808452612180816020860160208601612144565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121c4610100840182612168565b90506040840151606084015263ffffffff606085015116608084015260808401516121f760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122278282612168565b95945050505050565b6001600160601b038116811461212457600080fd5b60006020828403121561225757600080fd5b813561080e81612230565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526122a060c0840182612168565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122e257600080fd5b82356122ed81612230565b9150602083013562ffffff8116811461210357600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261234260a0840182612168565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156123975761239761235f565b60405290565b60405160a081016001600160401b03811182821017156123975761239761235f565b604080519081016001600160401b03811182821017156123975761239761235f565b60405161012081016001600160401b03811182821017156123975761239761235f565b60405161010081016001600160401b03811182821017156123975761239761235f565b60405161014081016001600160401b03811182821017156123975761239761235f565b60405161022081016001600160401b03811182821017156123975761239761235f565b604051601f8201601f191681016001600160401b03811182821017156124955761249561235f565b604052919050565b60006001600160401b038211156124b6576124b661235f565b50601f01601f191660200190565b600080604083850312156124d757600080fd5b82356124e281612230565b915060208301356001600160401b038111156124fd57600080fd5b8301601f8101851361250e57600080fd5b803561252161251c8261249d565b61246d565b81815286602083850101111561253657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561256857600080fd5b5035919050565b602081526125896020820183516001600160601b03169052565b600060208301516125a7604084018280518252602090810151910152565b5060408301516101408060808501526125c4610160850183612168565b915060608501516125e060a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126258187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461212457600080fd5b6000806040838503121561267557600080fd5b823561268081612230565b9150602083013561210381612652565b602081526001600160601b038251166020820152600060208301516040808401526126be6060840182612168565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612715908401826001600160601b03169052565b506080830151612732608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516127b8608084018260ff169052565b50608083015160e060a08401526127d3610100840182612168565b905060a0840151601f198483030160c08501526127f08282612168565b91505060c084015161280b60e085018264ffffffffff169052565b509392505050565b6020815261282d6020820183516001600160601b03169052565b6000602083015161284960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128cf8185018364ffffffffff169052565b8085015191505061022061012081818601526128ef610240860184612168565b9250808601519050610140601f19868503018187015261290f8483612168565b93508087015191505061016061292a8187018361ffff169052565b86015190506101806129418682018361ffff169052565b86015190506101a061295d868201836001600160601b03169052565b86015190506101c0612979868201836001600160601b03169052565b86015190506101e06129938682018364ffffffffff169052565b860151905061020061263b8682018364ffffffffff169052565b6001600160a01b038116811461212457600080fd5b6000602082840312156129d457600080fd5b813561080e816129ad565b60208152600082516101208060208501526129fe610140850183612168565b91506020850151604085015260408501516060850152606085015160808501526080850151612a3560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a6b8187018315159052565b860151858403601f1901838701529050612a858382612168565b9695505050505050565b602081526000825160e06020840152612aac610100840182612168565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612af660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c085015261220b565b81516001600160a01b0316815261020081016020830151612b3c60208401826001600160a01b03169052565b506040830151612b5760408401826001600160601b03169052565b506060830151612b7260608401826001600160601b03169052565b506080830151612b8f608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bc58185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c2457600080fd5b5051919050565b600082601f830112612c3c57600080fd5b8151612c4a61251c8261249d565b818152846020838601011115612c5f57600080fd5b6126be826020830160208701612144565b600060208284031215612c8257600080fd5b81516001600160401b03811115612c9857600080fd5b6126be84828501612c2b565b8051612caf81612230565b919050565b63ffffffff8116811461212457600080fd5b8051612caf81612cb4565b64ffffffffff8116811461212457600080fd5b8051612caf81612cd1565b600060208284031215612d0157600080fd5b81516001600160401b0380821115612d1857600080fd5b9083019060e08286031215612d2c57600080fd5b612d34612375565b612d3d83612ca4565b8152602083015182811115612d5157600080fd5b612d5d87828601612c2b565b60208301525060408301516040820152612d7960608401612cc6565b6060820152612d8a60808401612cc6565b6080820152612d9b60a08401612ce4565b60a082015260c083015182811115612db257600080fd5b612dbe87828601612c2b565b60c08301525095945050505050565b8051612caf8161210e565b80518015158114612caf57600080fd5b600060208284031215612dfa57600080fd5b81516001600160401b0380821115612e1157600080fd5b9083019060a08286031215612e2557600080fd5b612e2d61239d565b8251612e388161210e565b8152612e4660208401612dd8565b6020820152604083015182811115612e5d57600080fd5b612e6987828601612c2b565b60408301525060608301519150612e7f82612230565b81606082015260808301519250612e9583612cb4565b6080810192909252509392505050565b8051612caf81612652565b600060208284031215612ec257600080fd5b81516001600160401b0380821115612ed957600080fd5b9083019060808286031215612eed57600080fd5b604051608081018181108382111715612f0857612f0861235f565b6040528251612f1681612652565b81526020830151612f2681612230565b6020820152604083015182811115612f3d57600080fd5b612f4987828601612c2b565b60408301525060608301519250612f5f83612cd1565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126be6040830184612168565b600060208284031215612fa357600080fd5b815161080e8161210e565b600060408284031215612fc057600080fd5b612fc86123bf565b9050815181526020820151602082015292915050565b600060208284031215612ff057600080fd5b81516001600160401b038082111561300757600080fd5b90830190610140828603121561301c57600080fd5b6130246123e1565b61302d83612ca4565b815261303c8660208501612fae565b602082015260608301518281111561305357600080fd5b61305f87828601612c2b565b60408301525061307160808401612ca4565b606082015261308260a08401612ca4565b608082015261309360c08401612ca4565b60a08201526130a460e08401612ce4565b60c082015261010091506130b9828401612ce4565b60e08201526130cb6101208401612ce4565b91810191909152949350505050565b60ff8116811461212457600080fd5b8051612caf816130da565b60006020828403121561310657600080fd5b815161080e816130da565b60006020828403121561312357600080fd5b6106b982612dd8565b60006020828403121561313e57600080fd5b815161080e81612cd1565b60006020828403121561315b57600080fd5b81516001600160401b038082111561317257600080fd5b908301906040828603121561318657600080fd5b61318e6123bf565b825161319981612230565b81526020830151828111156131ad57600080fd5b6131b987828601612c2b565b60208301525095945050505050565b8051612caf816129ad565b600061014082840312156131e657600080fd5b6131ee612404565b6131f7836131c8565b8152613205602084016131c8565b602082015261321660408401612ca4565b604082015261322760608401612ca4565b60608201526132398460808501612fae565b608082015261324b8460c08501612fae565b60a082015261325d6101008401612dd8565b60c082015261326f61012084016131c8565b60e08201529392505050565b6000610100828403121561328e57600080fd5b60405160c081018181106001600160401b03821117156132b0576132b061235f565b60405282516132be81612230565b815260208301516132ce816129ad565b60208201526132e08460408501612fae565b60408201526132f28460808501612fae565b606082015260c0830151613305816129ad565b608082015260e0929092015160a083015250919050565b6000610200828403121561332f57600080fd5b613337612427565b613340836131c8565b815261334e602084016131c8565b602082015261335f60408401612ca4565b604082015261337060608401612ca4565b60608201526133828460808501612fae565b60808201526133948460c08501612fae565b60a08201526101006133a885828601612fae565b60c08301526133bb856101408601612fae565b60e08301526133ce856101808601612fae565b908201526133e0846101c08501612fae565b6101208201529392505050565b600060a082840312156133ff57600080fd5b61340761239d565b8251613412816130da565b81526020830151613422816130da565b60208201526040830151613435816129ad565b6040820152606083015161344881612cb4565b6060820152608083015161345b81612cb4565b60808201529392505050565b60006020828403121561347957600080fd5b81516001600160401b038082111561349057600080fd5b9083019060e082860312156134a457600080fd5b6134ac612375565b6134b583612ca4565b81526134c360208401612ca4565b60208201526134d4604084016130e9565b60408201526134e5606084016130e9565b60608201526080830151828111156134fc57600080fd5b61350887828601612c2b565b60808301525060a08301518281111561352057600080fd5b61352c87828601612c2b565b60a08301525061353e60c08401612ce4565b60c082015295945050505050565b60006020828403121561355e57600080fd5b81516001600160401b038082111561357557600080fd5b90830190610220828603121561358a57600080fd5b61359261244a565b61359b83612ca4565b81526135a960208401612ca4565b60208201526135ba60408401612dcd565b60408201526135cb60608401612dcd565b60608201526135dc60808401612ca4565b60808201526135ed60a08401612ca4565b60a08201526135fe60c08401612ca4565b60c082015261360f60e08401612ce4565b60e0820152610100808401518381111561362857600080fd5b61363488828701612c2b565b828401525050610120808401518381111561364e57600080fd5b61365a88828701612c2b565b8284015250506101409150613670828401612ea5565b828201526101609150613684828401612ea5565b828201526101809150613698828401612ca4565b828201526101a091506136ac828401612ca4565b828201526101c091506136c0828401612ce4565b828201526101e091506136d4828401612ce4565b8282015261020091506130cb828401612ce4565b6000602082840312156136fa57600080fd5b815161080e816129ad565b60006020828403121561371757600080fd5b81516001600160401b038082111561372e57600080fd5b90830190610120828603121561374357600080fd5b61374b6123e1565b82518281111561375a57600080fd5b61376687828601612c2b565b82525060208301516020820152604083015160408201526060830151606082015261379360808401612cc6565b60808201526137a460a08401612cc6565b60a08201526137b560c08401612dd8565b60c08201526137c660e08401612dd8565b60e082015261010080840151838111156137df57600080fd5b6137eb88828701612c2b565b918301919091525095945050505050565b60006020828403121561380e57600080fd5b81516001600160401b038082111561382557600080fd5b9083019060e0828603121561383957600080fd5b613841612375565b82518281111561385057600080fd5b61385c87828601612c2b565b82525061386b602084016131c8565b602082015261387c604084016131c8565b604082015261388d606084016131c8565b606082015261389e60808401612ca4565b6080820152612d9b60a08401612ca456fea2646970667358221220f10723f6cc61ffeaff8e7d1c04935b878c50e3daf52445e4d5a5a3a06c970eb964736f6c63430008140033",
2100
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b506154a1806100255f395ff3fe608060405234801561000f575f80fd5b5060043610610417575f3560e01c80637bfd321711610221578063d06458c61161012a578063f0b1d210116100b4578063f7f318d311610084578063f7f318d314610a95578063fad77c3b14610aa8578063fcad2c4b14610abb578063fd80249214610ace578063febe92af14610aee575f80fd5b8063f0b1d21014610a3c578063f0ea17c314610a4f578063f3ed991914610a6f578063f4809edd14610a82575f80fd5b8063de7b5d14116100fa578063de7b5d14146109bc578063dfbf1640146109cd578063e2eb023b146109e0578063e444c3df146109f3578063e98413ff14610a13575f80fd5b8063d06458c614610965578063d4cda0d814610985578063db70354c14610996578063dd26287a146109a9575f80fd5b8063a310e2a3116101ab578063ba579bdc1161017b578063ba579bdc1461090f578063ba62fbe414610922578063bd7d9d851461092a578063c71e261f1461094a578063cd55e51b14610952575f80fd5b8063a310e2a31461084c578063a5961b4c1461085f578063a7ef3d21146108bb578063b82d7ef5146108db575f80fd5b80638129fc1c116101f15780638129fc1c146107eb578063887b1fa9146107f35780638eb9000d146108135780639096a1f31461082657806394b9929b14610839575f80fd5b80637bfd3217146107aa5780637d8f1e81146107bd5780637e54602a146107d05780637e798669146107e3575f80fd5b8063380bd950116103235780635ab1bd53116102ad5780636791f7ab1161027d5780636791f7ab1461073e5780636a05a413146107535780636dddada4146107735780636ebed9081461078457806378ae935014610797575f80fd5b80635ab1bd53146106f057806364eb3a9b1461070557806364fc3142146107185780636553994c1461072b575f80fd5b80634793b4ab116102f35780634793b4ab146106675780634a4fbeec146106875780634d21a63d146106aa5780634fb784f5146106bd57806357f80bbf146106d0575f80fd5b8063380bd950146106085780633b046f091461061b5780633f071275146106415780633f093cd614610654575f80fd5b806315b74532116103a45780632c0cd060116103745780632c0cd060146105a95780632f458a11146105bc57806333fc7dee146105cf57806334bd5be3146105e257806335898f5d146105f5575f80fd5b806315b74532146105435780631d3be47714610556578063228e42ec1461057657806327b1d79214610589575f80fd5b80630e0c586d116103ea5780630e0c586d146104a357806310bf267b146104c8578063128817d4146104ef57806313ab148d1461050f5780631488c84514610530575f80fd5b80630232ca491461041b57806309648a9d1461044b57806309c5844f146104705780630b5d931c14610483575b5f80fd5b61042e610429366004613624565b610b0e565b6040516001600160601b0390911681526020015b60405180910390f35b61045e61045936600461363f565b610b88565b60405160ff9091168152602001610442565b61045e61047e366004613624565b610bfd565b610496610491366004613624565b610c76565b6040516104429190613699565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610442565b6104db6104d6366004613740565b610d5b565b60405162ffffff9091168152602001610442565b6105026104fd366004613777565b610d71565b60405161044291906137a1565b61052261051d366004613624565b610df1565b604051908152602001610442565b6104b061053e3660046137b6565b610e65565b61042e61055136600461363f565b610ee1565b6105696105643660046137f3565b610f12565b604051610442919061383c565b61042e610584366004613624565b611066565b61059c610597366004613624565b61109f565b60405161044291906138fa565b61042e6105b7366004613624565b61115a565b6105226105ca366004613624565b61117a565b6105226105dd366004613624565b6111b8565b6105226105f0366004613624565b6111f6565b610522610603366004613624565b611269565b61042e610616366004613946565b611295565b61062e610629366004613624565b611316565b60405161ffff9091168152602001610442565b61052261064f366004613624565b61132a565b610502610662366004613b08565b611356565b61067a610675366004613624565b6113ac565b6040516104429190613bb5565b61069a610695366004613c3d565b61148c565b6040519015158152602001610442565b6104b06106b8366004613624565b611560565b6105226106cb366004613624565b6115b8565b6106e36106de366004613624565b6115e4565b6040516104429190613c58565b5f5461010090046001600160a01b03166104b0565b610522610713366004613624565b6116b5565b61069a610726366004613ceb565b6116e1565b6105226107393660046137f3565b6117c6565b61075161074c366004613c3d565b6117f7565b005b610766610761366004613624565b611b50565b6040516104429190613d17565b6003546001600160a01b03166104b0565b61042e610792366004613777565b611bf1565b61045e6107a5366004613740565b611c31565b6105226107b8366004613624565b611d28565b61045e6107cb366004613624565b611d54565b6105226107de366004613624565b611d70565b61042e611d9c565b610751611e14565b6108066108013660046137f3565b611e42565b6040516104429190613d9e565b61042e610821366004613624565b611f6f565b61045e610834366004613624565b611fa8565b610522610847366004613624565b611fc4565b6104b061085a366004613624565b611ffd565b61087261086d36600461363f565b6120a3565b60405161044291905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6108ce6108c9366004613740565b61212d565b6040516104429190613ddc565b6108ee6108e93660046137f3565b61228c565b604080516001600160a01b03909316835260ff909116602083015201610442565b61069a61091d366004613624565b612528565b610522612776565b61093d610938366004613624565b61284e565b6040516104429190613e76565b610522612966565b61069a610960366004613ceb565b6129d1565b6109786109733660046137f3565b612a7b565b6040516104429190613fe1565b6002546001600160a01b03166104b0565b61042e6109a4366004613777565b612bdf565b6105226109b7366004613624565b612c1f565b6001546001600160a01b03166104b0565b6104b06109db366004613624565b612c4b565b6105226109ee366004613c3d565b612ca3565b610a06610a01366004613624565b612ce5565b60405161044291906140bf565b610a26610a213660046142bf565b612e0e565b60405164ffffffffff9091168152602001610442565b61069a610a4a3660046142eb565b612ea0565b610a62610a5d366004613624565b612ee9565b6040516104429190614317565b61045e610a7d366004614377565b612f9d565b610502610a90366004613777565b612fff565b610522610aa3366004613624565b613044565b61062e610ab636600461363f565b613070565b61045e610ac93660046137f3565b6130f3565b610ae1610adc366004614377565b613242565b60405161044291906143a3565b610b01610afc366004614401565b613387565b604051610442919061441c565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610b5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906144ed565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610bcf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf3919061453d565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c19846111f6565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906145a4565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610cd185611d28565b6040518263ffffffff1660e01b8152600401610cef91815260200190565b5f60405180830381865afa158015610d09573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d30919081019061460e565b805190915015610d555780806020019051810190610d4e91906146d6565b9392505050565b50919050565b5f610d66838361212d565b606001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906147c3565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906147de565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610ebd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614800565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b43565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810182905260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610faa906001600160c01b03198916906004016137a1565b602060405180830381865af4158015610fc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe991906147de565b6040518263ffffffff1660e01b815260040161100791815260200190565b5f60405180830381865afa158015611021573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611048919081019061460e565b805190915015610d555780806020019051810190610d4e9190614826565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b43565b604080516080810182525f80825260208201819052918101919091526060808201526002545f906001600160a01b03166354f6127f6110dd85611d70565b6040518263ffffffff1660e01b81526004016110fb91815260200190565b5f60405180830381865afa158015611115573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261113c919081019061460e565b805190915015610d555780806020019051810190610d4e9190614913565b5f806111658361284e565b9050610d4e81606001518261010001516134d5565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e26565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e26565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e41573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e61121e565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa1580156112f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906144ed565b5f6113208261284e565b60c0015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602961121e565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061139190869086906004016149b4565b602060405180830381865af4158015610dcd573d5f803e3d5ffd5b6113f36040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b6002545f906001600160a01b03166354f6127f61140f85613044565b6040518263ffffffff1660e01b815260040161142d91815260200190565b5f60405180830381865afa158015611447573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261146e919081019061460e565b805190915015610d555780806020019051810190610d4e9190614a37565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156114d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f79190614800565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa15801561153c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614afb565b5f8061156b83611ffd565b90506001600160a01b03811615610d5557806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b61121e565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f61163885612c1f565b6040518263ffffffff1660e01b815260040161165691815260200190565b5f60405180830381865afa158015611670573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611697919081019061460e565b805190915015610d555780806020019051810190610d4e9190614b14565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601561121e565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611728573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174c9190614800565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117a2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614afb565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e26918691016137a1565b5f5460ff161561181a5760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa15801561187f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a39190614800565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611903573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119279190614800565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015611983573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a79190614800565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a279190614800565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac691906145a4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2d9190614800565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b611b58613535565b6002545f906001600160a01b03166354f6127f611b748561132a565b6040518263ffffffff1660e01b8152600401611b9291815260200190565b5f60405180830381865afa158015611bac573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd3919081019061460e565b805190915015610d555780806020019051810190610d4e9190614bac565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016112d7565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611ca7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ccb91906147de565b6040518263ffffffff1660e01b8152600401611ce991815260200190565b602060405180830381865afa158015611d04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906145a4565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c61121e565b6002545f906001600160a01b03166309648a9d610c1984613044565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601761121e565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611deb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0f91906144ed565b905090565b5f5460ff1615611e375760405163ae9eff1b60e01b815260040160405180910390fd5b611e40336117f7565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611eb3906001600160c01b03198916906004016137a1565b602060405180830381865af4158015611ece573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef291906147de565b6040518263ffffffff1660e01b8152600401611f1091815260200190565b5f60405180830381865afa158015611f2a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f51919081019061460e565b805190915015610d555780806020019051810190610d4e9190614c3d565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b43565b6002545f906001600160a01b03166309648a9d610c19846116b5565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e26565b6002545f9081906001600160a01b03166354f6127f61201b856115b8565b6040518263ffffffff1660e01b815260040161203991815260200190565b5f60405180830381865afa158015612053573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261207a919081019061460e565b805190915015610d5557808060200190518101906120989190614ccd565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612109573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b82919061453d565b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156121dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220091906147de565b6040518263ffffffff1660e01b815260040161221e91815260200190565b5f60405180830381865afa158015612238573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261225f919081019061460e565b805190915015612285578080602001905181019061227d9190614d48565b915050610b82565b5092915050565b5f805f61229884610f12565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156122f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123199190614afb565b156123965773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612365573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123899190614800565b60645b9250925050915091565b6124188160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156123e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124099190614e31565b64ffffffffff90811691161090565b1561248f5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124889190614800565b606e61238c565b806040015163ffffffff16816060015163ffffffff161061251c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156124f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125159190614800565b607861238c565b6080810151600a61238c565b5f806125338361284e565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561258f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b39190614afb565b156125c057505f92915050565b61014081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561261b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263f9190614afb565b1561264c57505f92915050565b6126cf81610140015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561269c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126c09190614e31565b64ffffffffff90811691161190565b156126dc57505f92915050565b61276081610180015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561272c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127509190614e31565b64ffffffffff9081169116111590565b1561276d57505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156127bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127e19190614800565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561281c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128409190614e4c565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201526002549091906001600160a01b03166354f6127f6128e9856116b5565b6040518263ffffffff1660e01b815260040161290791815260200190565b5f60405180830381865afa158015612921573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612948919081019061460e565b805190915015610d555780806020019051810190610d4e9190614e72565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa1580156129ad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0f91906147de565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3c9190614800565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611787565b60408051610140810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082019290925261010081018290526101208101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612b23906001600160c01b03198916906004016137a1565b602060405180830381865af4158015612b3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b6291906147de565b6040518263ffffffff1660e01b8152600401612b8091815260200190565b5f60405180830381865afa158015612b9a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612bc1919081019061460e565b805190915015610d555780806020019051810190610d4e9190615005565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016112d7565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f61121e565b5f80612c5683611ffd565b90506001600160a01b03811615610d5557806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b9060240161124e565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612d91856111f6565b6040518263ffffffff1660e01b8152600401612daf91815260200190565b5f60405180830381865afa158015612dc9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612df0919081019061460e565b805190915015610d555780806020019051810190610d4e9190615126565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612e3585600161529c565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612e7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614e31565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611787565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f612f20856115b8565b6040518263ffffffff1660e01b8152600401612f3e91815260200190565b5f60405180830381865afa158015612f58573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f7f919081019061460e565b805190915015610d555780806020019051810190610d4e9190614ccd565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611c8c565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610db2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601661121e565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a366130968460016152b7565b6040518263ffffffff1660e01b81526004016130b491815260200190565b602060405180830381865af41580156130cf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906152ca565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061314d906001600160c01b03198916906004016137a1565b602060405180830381865af4158015613168573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061318c91906147de565b6040518263ffffffff1660e01b81526004016131aa91815260200190565b5f60405180830381865afa1580156131c4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131eb919081019061460e565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611c8c906001600160c01b03198916906004016137a1565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156132e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330a91906147de565b6040518263ffffffff1660e01b815260040161332891815260200190565b5f60405180830381865afa158015613342573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613369919081019061460e565b805190915015612285578080602001905181019061227d91906152e5565b60408051610100810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613434573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345891906147de565b6040518263ffffffff1660e01b815260040161347691815260200190565b5f60405180830381865afa158015613490573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134b7919081019061460e565b805190915015610d555780806020019051810190610d4e919061539b565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156112f2573d5f803e3d5ffd5b6040805161012081019091525f60e0820181815261010083019190915281908152602001613572604080518082019091525f808252602082015290565b8152602001613590604080518082019091525f808252602082015290565b81526020016135ae604080518082019091525f808252602082015290565b81526020016135cc604080518082019091525f808252602082015290565b81526020016135ea604080518082019091525f808252602082015290565b8152602001613608604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114613621575f80fd5b50565b5f60208284031215613634575f80fd5b8135610d4e8161360d565b5f6020828403121561364f575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561368f5781516001600160601b0316865260209586019590910190600101613668565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516136c6606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613729610120840182613656565b949350505050565b61ffff81168114613621575f80fd5b5f8060408385031215613751575f80fd5b823561375c8161360d565b9150602083013561376c81613731565b809150509250929050565b5f8060408385031215613788575f80fd5b82356137938161360d565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f80604083850312156137c7575f80fd5b8235915060208301355f81900b811461376c575f80fd5b6001600160c01b031981168114613621575f80fd5b5f60208284031215613803575f80fd5b8135610d4e816137de565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161386b60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526138d361012084018261380e565b905060e0840151601f19848303016101008501526138f1828261380e565b95945050505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261372960a084018261380e565b5f8060408385031215613957575f80fd5b8235613793816137de565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561399857613998613962565b60405290565b60405161010081016001600160401b038111828210171561399857613998613962565b60405160c081016001600160401b038111828210171561399857613998613962565b60405160e081016001600160401b038111828210171561399857613998613962565b604051606081016001600160401b038111828210171561399857613998613962565b60405161020081016001600160401b038111828210171561399857613998613962565b60405161014081016001600160401b038111828210171561399857613998613962565b60405161024081016001600160401b038111828210171561399857613998613962565b60405160a081016001600160401b038111828210171561399857613998613962565b604051601f8201601f191681016001600160401b0381118282101715613ada57613ada613962565b604052919050565b5f6001600160401b03821115613afa57613afa613962565b50601f01601f191660200190565b5f8060408385031215613b19575f80fd5b8235613b248161360d565b915060208301356001600160401b03811115613b3e575f80fd5b8301601f81018513613b4e575f80fd5b8035613b61613b5c82613ae2565b613ab2565b818152866020838501011115613b75575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f6080830151613c0f60a0840182613b94565b5060a083015160e08084015261372961010084018261380e565b6001600160a01b0381168114613621575f80fd5b5f60208284031215613c4d575f80fd5b8135610d4e81613c29565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151613caf608084018215159052565b5060a0830151613cc360a084018215159052565b5060c083015161228560c084018215159052565b6001600160401b0381168114613621575f80fd5b5f8060408385031215613cfc575f80fd5b8235613d0781613c29565b9150602083013561376c81613cd7565b5f6101c082019050613d2a828451613b94565b6020830151613d3c6040840182613b94565b506040830151613d4f6080840182613b94565b506060830151613d6260c0840182613b94565b506080830151613d76610100840182613b94565b5060a0830151613d8a610140840182613b94565b5060c0830151612285610180840182613b94565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613729608084018261380e565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613e1c606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613e5961010084018261380e565b905060c0840151601f198483030160e08501526138f1828261380e565b60208152613e906020820183516001600160601b03169052565b5f6020830151613eab60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613fc261022084018261380e565b90506101e0840151601f19848303016102008501526138f1828261380e565b60208152613ffb6020820183516001600160a01b03169052565b5f602083015161401660408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526140a061016084018261380e565b9050610120840151601f19848303016101408501526138f1828261380e565b81516001600160601b03168152610240810160208301516140eb60208401826001600160601b03169052565b50604083015161410660408401826001600160601b03169052565b50606083015161412160608401826001600160601b03169052565b50608083015161413c60808401826001600160601b03169052565b5060a083015161415760a08401826001600160601b03169052565b5060c083015161417260c08401826001600160601b03169052565b5060e083015161418d60e08401826001600160601b03169052565b506101008301516141aa6101008401826001600160601b03169052565b506101208301516141c76101208401826001600160601b03169052565b506101408301516141e46101408401826001600160601b03169052565b506101608301516142016101608401826001600160601b03169052565b5061018083015161421e6101808401826001600160601b03169052565b506101a083015161423b6101a08401826001600160601b03169052565b506101c08301516142586101c08401826001600160601b03169052565b506101e08301516142756101e08401826001600160601b03169052565b506102008301516142926102008401826001600160601b03169052565b506102208301516122856102208401826001600160601b03169052565b62ffffff81168114613621575f80fd5b5f80604083850312156142d0575f80fd5b82356142db81613731565b9150602083013561376c816142af565b5f80604083850312156142fc575f80fd5b82356143078161360d565b9150602083013561376c816137de565b602081525f825160606020840152614332608084018261380e565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506138f1828261380e565b64ffffffffff81168114613621575f80fd5b5f8060408385031215614388575f80fd5b82356143938161360d565b9150602083013561376c81614365565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261372960c084018261380e565b5f60208284031215614411575f80fd5b8135610d4e81613cd7565b602081526144366020820183516001600160601b03169052565b5f602083015161445160408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c08401526144a161012084018261380e565b905060c0840151601f198483030160e08501526144be828261380e565b91505060e0840151601f19848303016101008501526138f1828261380e565b80516144e88161360d565b919050565b5f602082840312156144fd575f80fd5b8151610d4e8161360d565b60ff81168114613621575f80fd5b80516144e881614508565b63ffffffff81168114613621575f80fd5b80516144e881614521565b5f608082840312801561454e575f80fd5b50614557613976565b825161456281614508565b8152602083015161457281614508565b6020820152604083015161458581614521565b6040820152606083015161459881614521565b60608201529392505050565b5f602082840312156145b4575f80fd5b8151610d4e81614508565b5f82601f8301126145ce575f80fd5b8151602083015f6145e1613b5c84613ae2565b90508281528583830111156145f4575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561461e575f80fd5b81516001600160401b03811115614633575f80fd5b613729848285016145bf565b805180151581146144e8575f80fd5b5f82601f83011261465d575f80fd5b81516001600160401b0381111561467657614676613962565b8060051b61468660208201613ab2565b918252602081850181019290810190868411156146a1575f80fd5b6020860192505b838310156146cc5782516146bb8161360d565b8252602092830192909101906146a8565b9695505050505050565b5f602082840312156146e6575f80fd5b81516001600160401b038111156146fb575f80fd5b8201610100818503121561470d575f80fd5b61471561399e565b61471e8261463f565b815261472c6020830161463f565b602082015261473d6040830161463f565b604082015261474e60608301614516565b606082015261475f60808301614516565b608082015261477060a083016144dd565b60a082015261478160c083016144dd565b60c082015260e08201516001600160401b0381111561479e575f80fd5b6147aa8682850161464e565b60e083015250949350505050565b80516144e8816137de565b5f602082840312156147d3575f80fd5b8151610d4e816137de565b5f602082840312156147ee575f80fd5b5051919050565b80516144e881613c29565b5f60208284031215614810575f80fd5b8151610d4e81613c29565b80516144e881614365565b5f60208284031215614836575f80fd5b81516001600160401b0381111561484b575f80fd5b8201610100818503121561485d575f80fd5b61486561399e565b61486e826144dd565b815261487c602083016144dd565b602082015261488d60408301614532565b604082015261489e60608301614532565b60608201526148af608083016147f5565b60808201526148c060a0830161481b565b60a082015260c08201516001600160401b038111156148dd575f80fd5b6148e9868285016145bf565b60c08301525060e08201516001600160401b03811115614907575f80fd5b6147aa868285016145bf565b5f60208284031215614923575f80fd5b81516001600160401b03811115614938575f80fd5b820160808185031215614949575f80fd5b614951613976565b815161495c816137de565b815261496a6020830161463f565b6020820152604082015161497d81614521565b604082015260608201516001600160401b0381111561499a575f80fd5b6149a6868285016145bf565b606083015250949350505050565b6001600160601b0383168152604060208201525f613729604083018461380e565b5f604082840312156149e5575f80fd5b604080519081016001600160401b0381118282101715614a0757614a07613962565b80604052508091508251614a1a81613c29565b81526020830151614a2a8161360d565b6020919091015292915050565b5f60208284031215614a47575f80fd5b81516001600160401b03811115614a5c575f80fd5b820160e08185031215614a6d575f80fd5b614a756139c1565b8151614a8081614365565b81526020820151614a9081614365565b6020820152614aa16040830161481b565b6040820152614ab2606083016144dd565b6060820152614ac485608084016149d5565b608082015260c08201516001600160401b03811115614ae1575f80fd5b614aed868285016145bf565b60a083015250949350505050565b5f60208284031215614b0b575f80fd5b610d4e8261463f565b5f60e0828403128015614b25575f80fd5b50614b2e6139e3565b8251614b398161360d565b81526020830151614b4981613c29565b60208201526040830151614b5c81613c29565b6040820152614b6d6060840161463f565b6060820152614b7e6080840161463f565b6080820152614b8f60a0840161463f565b60a0820152614ba060c0840161463f565b60c08201529392505050565b5f6101c0828403128015614bbe575f80fd5b50614bc76139e3565b614bd184846149d5565b8152614be084604085016149d5565b6020820152614bf284608085016149d5565b6040820152614c048460c085016149d5565b6060820152614c178461010085016149d5565b6080820152614c2a8461014085016149d5565b60a0820152614ba08461018085016149d5565b5f60208284031215614c4d575f80fd5b81516001600160401b03811115614c62575f80fd5b820160608185031215614c73575f80fd5b614c7b613a05565b8151614c868161360d565b81526020820151614c9681614365565b602082015260408201516001600160401b03811115614cb3575f80fd5b614cbf868285016145bf565b604083015250949350505050565b5f60208284031215614cdd575f80fd5b81516001600160401b03811115614cf2575f80fd5b820160608185031215614d03575f80fd5b614d0b613a05565b81516001600160401b03811115614d20575f80fd5b614d2c868285016145bf565b8252506020820151614c9681613c29565b80516144e8816142af565b5f60208284031215614d58575f80fd5b81516001600160401b03811115614d6d575f80fd5b820160e08185031215614d7e575f80fd5b614d866139e3565b614d8f826144dd565b8152614d9d602083016144dd565b6020820152614dae6040830161481b565b6040820152614dbf60608301614d3d565b6060820152614dd060808301614d3d565b608082015260a08201516001600160401b03811115614ded575f80fd5b614df9868285016145bf565b60a08301525060c08201516001600160401b03811115614e17575f80fd5b614e23868285016145bf565b60c083015250949350505050565b5f60208284031215614e41575f80fd5b8151610d4e81614365565b5f60208284031215614e5c575f80fd5b8151610d4e81613cd7565b80516144e881613731565b5f60208284031215614e82575f80fd5b81516001600160401b03811115614e97575f80fd5b82016102008185031215614ea9575f80fd5b614eb1613a27565b614eba826144dd565b8152614ec8602083016144dd565b6020820152614ed9604083016147b8565b6040820152614eea606083016144dd565b6060820152614efb608083016144dd565b6080820152614f0c60a083016147b8565b60a0820152614f1d60c08301614e67565b60c0820152614f2e60e08301614e67565b60e0820152614f4061010083016144dd565b610100820152614f5361012083016144dd565b610120820152614f66610140830161481b565b610140820152614f79610160830161481b565b610160820152614f8c610180830161481b565b610180820152614f9f6101a0830161481b565b6101a08201526101c08201516001600160401b03811115614fbe575f80fd5b614fca868285016145bf565b6101c0830152506101e08201516001600160401b03811115614fea575f80fd5b614ff6868285016145bf565b6101e083015250949350505050565b5f60208284031215615015575f80fd5b81516001600160401b0381111561502a575f80fd5b8201610140818503121561503c575f80fd5b615044613a4a565b61504d826147f5565b815261505b602083016144dd565b602082015261506c604083016147f5565b604082015261507d60608301614532565b606082015261508e6080830161481b565b608082015261509f60a0830161463f565b60a08201526150b060c0830161463f565b60c08201526150c160e083016147f5565b60e08201526101008201516001600160401b038111156150df575f80fd5b6150eb868285016145bf565b610100830152506101208201516001600160401b0381111561510b575f80fd5b615117868285016145bf565b61012083015250949350505050565b5f610240828403128015615138575f80fd5b50615141613a6d565b61514a836144dd565b8152615158602084016144dd565b6020820152615169604084016144dd565b604082015261517a606084016144dd565b606082015261518b608084016144dd565b608082015261519c60a084016144dd565b60a08201526151ad60c084016144dd565b60c08201526151be60e084016144dd565b60e08201526151d061010084016144dd565b6101008201526151e361012084016144dd565b6101208201526151f661014084016144dd565b61014082015261520961016084016144dd565b61016082015261521c61018084016144dd565b61018082015261522f6101a084016144dd565b6101a08201526152426101c084016144dd565b6101c08201526152556101e084016144dd565b6101e082015261526861020084016144dd565b61020082015261527b61022084016144dd565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610b8257610b82615288565b80820180821115610b8257610b82615288565b5f602082840312156152da575f80fd5b8151610d4e81613731565b5f602082840312156152f5575f80fd5b81516001600160401b0381111561530a575f80fd5b820160a0818503121561531b575f80fd5b615323613a90565b815161532e81613731565b8152602082015161533e8161360d565b6020820152604082015161535181614365565b6040820152606082015161536481613c29565b606082015260808201516001600160401b03811115615381575f80fd5b61538d868285016145bf565b608083015250949350505050565b5f602082840312156153ab575f80fd5b81516001600160401b038111156153c0575f80fd5b820161010081850312156153d2575f80fd5b6153da61399e565b6153e3826144dd565b81526153f1602083016144dd565b60208201526154026040830161463f565b60408201526154136060830161481b565b60608201526154246080830161481b565b608082015260a08201516001600160401b03811115615441575f80fd5b61544d868285016145bf565b60a08301525060c08201516001600160401b038111156148dd575f80fdfea264697066735822122036c405cadd7094ba3c29fd673441c05ecf6603baf7b7c536a7b0aab91c2542f164736f6c634300081a0033",
2101
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610417575f3560e01c80637bfd321711610221578063d06458c61161012a578063f0b1d210116100b4578063f7f318d311610084578063f7f318d314610a95578063fad77c3b14610aa8578063fcad2c4b14610abb578063fd80249214610ace578063febe92af14610aee575f80fd5b8063f0b1d21014610a3c578063f0ea17c314610a4f578063f3ed991914610a6f578063f4809edd14610a82575f80fd5b8063de7b5d14116100fa578063de7b5d14146109bc578063dfbf1640146109cd578063e2eb023b146109e0578063e444c3df146109f3578063e98413ff14610a13575f80fd5b8063d06458c614610965578063d4cda0d814610985578063db70354c14610996578063dd26287a146109a9575f80fd5b8063a310e2a3116101ab578063ba579bdc1161017b578063ba579bdc1461090f578063ba62fbe414610922578063bd7d9d851461092a578063c71e261f1461094a578063cd55e51b14610952575f80fd5b8063a310e2a31461084c578063a5961b4c1461085f578063a7ef3d21146108bb578063b82d7ef5146108db575f80fd5b80638129fc1c116101f15780638129fc1c146107eb578063887b1fa9146107f35780638eb9000d146108135780639096a1f31461082657806394b9929b14610839575f80fd5b80637bfd3217146107aa5780637d8f1e81146107bd5780637e54602a146107d05780637e798669146107e3575f80fd5b8063380bd950116103235780635ab1bd53116102ad5780636791f7ab1161027d5780636791f7ab1461073e5780636a05a413146107535780636dddada4146107735780636ebed9081461078457806378ae935014610797575f80fd5b80635ab1bd53146106f057806364eb3a9b1461070557806364fc3142146107185780636553994c1461072b575f80fd5b80634793b4ab116102f35780634793b4ab146106675780634a4fbeec146106875780634d21a63d146106aa5780634fb784f5146106bd57806357f80bbf146106d0575f80fd5b8063380bd950146106085780633b046f091461061b5780633f071275146106415780633f093cd614610654575f80fd5b806315b74532116103a45780632c0cd060116103745780632c0cd060146105a95780632f458a11146105bc57806333fc7dee146105cf57806334bd5be3146105e257806335898f5d146105f5575f80fd5b806315b74532146105435780631d3be47714610556578063228e42ec1461057657806327b1d79214610589575f80fd5b80630e0c586d116103ea5780630e0c586d146104a357806310bf267b146104c8578063128817d4146104ef57806313ab148d1461050f5780631488c84514610530575f80fd5b80630232ca491461041b57806309648a9d1461044b57806309c5844f146104705780630b5d931c14610483575b5f80fd5b61042e610429366004613624565b610b0e565b6040516001600160601b0390911681526020015b60405180910390f35b61045e61045936600461363f565b610b88565b60405160ff9091168152602001610442565b61045e61047e366004613624565b610bfd565b610496610491366004613624565b610c76565b6040516104429190613699565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610442565b6104db6104d6366004613740565b610d5b565b60405162ffffff9091168152602001610442565b6105026104fd366004613777565b610d71565b60405161044291906137a1565b61052261051d366004613624565b610df1565b604051908152602001610442565b6104b061053e3660046137b6565b610e65565b61042e61055136600461363f565b610ee1565b6105696105643660046137f3565b610f12565b604051610442919061383c565b61042e610584366004613624565b611066565b61059c610597366004613624565b61109f565b60405161044291906138fa565b61042e6105b7366004613624565b61115a565b6105226105ca366004613624565b61117a565b6105226105dd366004613624565b6111b8565b6105226105f0366004613624565b6111f6565b610522610603366004613624565b611269565b61042e610616366004613946565b611295565b61062e610629366004613624565b611316565b60405161ffff9091168152602001610442565b61052261064f366004613624565b61132a565b610502610662366004613b08565b611356565b61067a610675366004613624565b6113ac565b6040516104429190613bb5565b61069a610695366004613c3d565b61148c565b6040519015158152602001610442565b6104b06106b8366004613624565b611560565b6105226106cb366004613624565b6115b8565b6106e36106de366004613624565b6115e4565b6040516104429190613c58565b5f5461010090046001600160a01b03166104b0565b610522610713366004613624565b6116b5565b61069a610726366004613ceb565b6116e1565b6105226107393660046137f3565b6117c6565b61075161074c366004613c3d565b6117f7565b005b610766610761366004613624565b611b50565b6040516104429190613d17565b6003546001600160a01b03166104b0565b61042e610792366004613777565b611bf1565b61045e6107a5366004613740565b611c31565b6105226107b8366004613624565b611d28565b61045e6107cb366004613624565b611d54565b6105226107de366004613624565b611d70565b61042e611d9c565b610751611e14565b6108066108013660046137f3565b611e42565b6040516104429190613d9e565b61042e610821366004613624565b611f6f565b61045e610834366004613624565b611fa8565b610522610847366004613624565b611fc4565b6104b061085a366004613624565b611ffd565b61087261086d36600461363f565b6120a3565b60405161044291905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6108ce6108c9366004613740565b61212d565b6040516104429190613ddc565b6108ee6108e93660046137f3565b61228c565b604080516001600160a01b03909316835260ff909116602083015201610442565b61069a61091d366004613624565b612528565b610522612776565b61093d610938366004613624565b61284e565b6040516104429190613e76565b610522612966565b61069a610960366004613ceb565b6129d1565b6109786109733660046137f3565b612a7b565b6040516104429190613fe1565b6002546001600160a01b03166104b0565b61042e6109a4366004613777565b612bdf565b6105226109b7366004613624565b612c1f565b6001546001600160a01b03166104b0565b6104b06109db366004613624565b612c4b565b6105226109ee366004613c3d565b612ca3565b610a06610a01366004613624565b612ce5565b60405161044291906140bf565b610a26610a213660046142bf565b612e0e565b60405164ffffffffff9091168152602001610442565b61069a610a4a3660046142eb565b612ea0565b610a62610a5d366004613624565b612ee9565b6040516104429190614317565b61045e610a7d366004614377565b612f9d565b610502610a90366004613777565b612fff565b610522610aa3366004613624565b613044565b61062e610ab636600461363f565b613070565b61045e610ac93660046137f3565b6130f3565b610ae1610adc366004614377565b613242565b60405161044291906143a3565b610b01610afc366004614401565b613387565b604051610442919061441c565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610b5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906144ed565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610bcf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf3919061453d565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c19846111f6565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906145a4565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610cd185611d28565b6040518263ffffffff1660e01b8152600401610cef91815260200190565b5f60405180830381865afa158015610d09573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d30919081019061460e565b805190915015610d555780806020019051810190610d4e91906146d6565b9392505050565b50919050565b5f610d66838361212d565b606001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906147c3565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906147de565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610ebd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614800565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b43565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810182905260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610faa906001600160c01b03198916906004016137a1565b602060405180830381865af4158015610fc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe991906147de565b6040518263ffffffff1660e01b815260040161100791815260200190565b5f60405180830381865afa158015611021573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611048919081019061460e565b805190915015610d555780806020019051810190610d4e9190614826565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b43565b604080516080810182525f80825260208201819052918101919091526060808201526002545f906001600160a01b03166354f6127f6110dd85611d70565b6040518263ffffffff1660e01b81526004016110fb91815260200190565b5f60405180830381865afa158015611115573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261113c919081019061460e565b805190915015610d555780806020019051810190610d4e9190614913565b5f806111658361284e565b9050610d4e81606001518261010001516134d5565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e26565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e26565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e41573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e61121e565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa1580156112f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906144ed565b5f6113208261284e565b60c0015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602961121e565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061139190869086906004016149b4565b602060405180830381865af4158015610dcd573d5f803e3d5ffd5b6113f36040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b6002545f906001600160a01b03166354f6127f61140f85613044565b6040518263ffffffff1660e01b815260040161142d91815260200190565b5f60405180830381865afa158015611447573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261146e919081019061460e565b805190915015610d555780806020019051810190610d4e9190614a37565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156114d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f79190614800565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa15801561153c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614afb565b5f8061156b83611ffd565b90506001600160a01b03811615610d5557806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b61121e565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f61163885612c1f565b6040518263ffffffff1660e01b815260040161165691815260200190565b5f60405180830381865afa158015611670573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611697919081019061460e565b805190915015610d555780806020019051810190610d4e9190614b14565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601561121e565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611728573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174c9190614800565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117a2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614afb565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e26918691016137a1565b5f5460ff161561181a5760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa15801561187f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a39190614800565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611903573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119279190614800565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015611983573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a79190614800565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a279190614800565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac691906145a4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2d9190614800565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b611b58613535565b6002545f906001600160a01b03166354f6127f611b748561132a565b6040518263ffffffff1660e01b8152600401611b9291815260200190565b5f60405180830381865afa158015611bac573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd3919081019061460e565b805190915015610d555780806020019051810190610d4e9190614bac565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016112d7565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611ca7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ccb91906147de565b6040518263ffffffff1660e01b8152600401611ce991815260200190565b602060405180830381865afa158015611d04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906145a4565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c61121e565b6002545f906001600160a01b03166309648a9d610c1984613044565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601761121e565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611deb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0f91906144ed565b905090565b5f5460ff1615611e375760405163ae9eff1b60e01b815260040160405180910390fd5b611e40336117f7565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611eb3906001600160c01b03198916906004016137a1565b602060405180830381865af4158015611ece573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef291906147de565b6040518263ffffffff1660e01b8152600401611f1091815260200190565b5f60405180830381865afa158015611f2a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f51919081019061460e565b805190915015610d555780806020019051810190610d4e9190614c3d565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b43565b6002545f906001600160a01b03166309648a9d610c19846116b5565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e26565b6002545f9081906001600160a01b03166354f6127f61201b856115b8565b6040518263ffffffff1660e01b815260040161203991815260200190565b5f60405180830381865afa158015612053573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261207a919081019061460e565b805190915015610d5557808060200190518101906120989190614ccd565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612109573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b82919061453d565b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156121dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220091906147de565b6040518263ffffffff1660e01b815260040161221e91815260200190565b5f60405180830381865afa158015612238573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261225f919081019061460e565b805190915015612285578080602001905181019061227d9190614d48565b915050610b82565b5092915050565b5f805f61229884610f12565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156122f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123199190614afb565b156123965773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612365573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123899190614800565b60645b9250925050915091565b6124188160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156123e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124099190614e31565b64ffffffffff90811691161090565b1561248f5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124889190614800565b606e61238c565b806040015163ffffffff16816060015163ffffffff161061251c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156124f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125159190614800565b607861238c565b6080810151600a61238c565b5f806125338361284e565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561258f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b39190614afb565b156125c057505f92915050565b61014081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561261b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263f9190614afb565b1561264c57505f92915050565b6126cf81610140015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561269c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126c09190614e31565b64ffffffffff90811691161190565b156126dc57505f92915050565b61276081610180015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561272c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127509190614e31565b64ffffffffff9081169116111590565b1561276d57505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156127bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127e19190614800565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561281c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128409190614e4c565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201526002549091906001600160a01b03166354f6127f6128e9856116b5565b6040518263ffffffff1660e01b815260040161290791815260200190565b5f60405180830381865afa158015612921573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612948919081019061460e565b805190915015610d555780806020019051810190610d4e9190614e72565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa1580156129ad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0f91906147de565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3c9190614800565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611787565b60408051610140810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082019290925261010081018290526101208101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612b23906001600160c01b03198916906004016137a1565b602060405180830381865af4158015612b3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b6291906147de565b6040518263ffffffff1660e01b8152600401612b8091815260200190565b5f60405180830381865afa158015612b9a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612bc1919081019061460e565b805190915015610d555780806020019051810190610d4e9190615005565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016112d7565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f61121e565b5f80612c5683611ffd565b90506001600160a01b03811615610d5557806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b9060240161124e565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612d91856111f6565b6040518263ffffffff1660e01b8152600401612daf91815260200190565b5f60405180830381865afa158015612dc9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612df0919081019061460e565b805190915015610d555780806020019051810190610d4e9190615126565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612e3585600161529c565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612e7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614e31565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611787565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f612f20856115b8565b6040518263ffffffff1660e01b8152600401612f3e91815260200190565b5f60405180830381865afa158015612f58573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f7f919081019061460e565b805190915015610d555780806020019051810190610d4e9190614ccd565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611c8c565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610db2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601661121e565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a366130968460016152b7565b6040518263ffffffff1660e01b81526004016130b491815260200190565b602060405180830381865af41580156130cf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906152ca565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061314d906001600160c01b03198916906004016137a1565b602060405180830381865af4158015613168573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061318c91906147de565b6040518263ffffffff1660e01b81526004016131aa91815260200190565b5f60405180830381865afa1580156131c4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131eb919081019061460e565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611c8c906001600160c01b03198916906004016137a1565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156132e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330a91906147de565b6040518263ffffffff1660e01b815260040161332891815260200190565b5f60405180830381865afa158015613342573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613369919081019061460e565b805190915015612285578080602001905181019061227d91906152e5565b60408051610100810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613434573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345891906147de565b6040518263ffffffff1660e01b815260040161347691815260200190565b5f60405180830381865afa158015613490573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134b7919081019061460e565b805190915015610d555780806020019051810190610d4e919061539b565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156112f2573d5f803e3d5ffd5b6040805161012081019091525f60e0820181815261010083019190915281908152602001613572604080518082019091525f808252602082015290565b8152602001613590604080518082019091525f808252602082015290565b81526020016135ae604080518082019091525f808252602082015290565b81526020016135cc604080518082019091525f808252602082015290565b81526020016135ea604080518082019091525f808252602082015290565b8152602001613608604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114613621575f80fd5b50565b5f60208284031215613634575f80fd5b8135610d4e8161360d565b5f6020828403121561364f575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561368f5781516001600160601b0316865260209586019590910190600101613668565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516136c6606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613729610120840182613656565b949350505050565b61ffff81168114613621575f80fd5b5f8060408385031215613751575f80fd5b823561375c8161360d565b9150602083013561376c81613731565b809150509250929050565b5f8060408385031215613788575f80fd5b82356137938161360d565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f80604083850312156137c7575f80fd5b8235915060208301355f81900b811461376c575f80fd5b6001600160c01b031981168114613621575f80fd5b5f60208284031215613803575f80fd5b8135610d4e816137de565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161386b60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526138d361012084018261380e565b905060e0840151601f19848303016101008501526138f1828261380e565b95945050505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261372960a084018261380e565b5f8060408385031215613957575f80fd5b8235613793816137de565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561399857613998613962565b60405290565b60405161010081016001600160401b038111828210171561399857613998613962565b60405160c081016001600160401b038111828210171561399857613998613962565b60405160e081016001600160401b038111828210171561399857613998613962565b604051606081016001600160401b038111828210171561399857613998613962565b60405161020081016001600160401b038111828210171561399857613998613962565b60405161014081016001600160401b038111828210171561399857613998613962565b60405161024081016001600160401b038111828210171561399857613998613962565b60405160a081016001600160401b038111828210171561399857613998613962565b604051601f8201601f191681016001600160401b0381118282101715613ada57613ada613962565b604052919050565b5f6001600160401b03821115613afa57613afa613962565b50601f01601f191660200190565b5f8060408385031215613b19575f80fd5b8235613b248161360d565b915060208301356001600160401b03811115613b3e575f80fd5b8301601f81018513613b4e575f80fd5b8035613b61613b5c82613ae2565b613ab2565b818152866020838501011115613b75575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f6080830151613c0f60a0840182613b94565b5060a083015160e08084015261372961010084018261380e565b6001600160a01b0381168114613621575f80fd5b5f60208284031215613c4d575f80fd5b8135610d4e81613c29565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151613caf608084018215159052565b5060a0830151613cc360a084018215159052565b5060c083015161228560c084018215159052565b6001600160401b0381168114613621575f80fd5b5f8060408385031215613cfc575f80fd5b8235613d0781613c29565b9150602083013561376c81613cd7565b5f6101c082019050613d2a828451613b94565b6020830151613d3c6040840182613b94565b506040830151613d4f6080840182613b94565b506060830151613d6260c0840182613b94565b506080830151613d76610100840182613b94565b5060a0830151613d8a610140840182613b94565b5060c0830151612285610180840182613b94565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613729608084018261380e565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613e1c606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613e5961010084018261380e565b905060c0840151601f198483030160e08501526138f1828261380e565b60208152613e906020820183516001600160601b03169052565b5f6020830151613eab60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613fc261022084018261380e565b90506101e0840151601f19848303016102008501526138f1828261380e565b60208152613ffb6020820183516001600160a01b03169052565b5f602083015161401660408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526140a061016084018261380e565b9050610120840151601f19848303016101408501526138f1828261380e565b81516001600160601b03168152610240810160208301516140eb60208401826001600160601b03169052565b50604083015161410660408401826001600160601b03169052565b50606083015161412160608401826001600160601b03169052565b50608083015161413c60808401826001600160601b03169052565b5060a083015161415760a08401826001600160601b03169052565b5060c083015161417260c08401826001600160601b03169052565b5060e083015161418d60e08401826001600160601b03169052565b506101008301516141aa6101008401826001600160601b03169052565b506101208301516141c76101208401826001600160601b03169052565b506101408301516141e46101408401826001600160601b03169052565b506101608301516142016101608401826001600160601b03169052565b5061018083015161421e6101808401826001600160601b03169052565b506101a083015161423b6101a08401826001600160601b03169052565b506101c08301516142586101c08401826001600160601b03169052565b506101e08301516142756101e08401826001600160601b03169052565b506102008301516142926102008401826001600160601b03169052565b506102208301516122856102208401826001600160601b03169052565b62ffffff81168114613621575f80fd5b5f80604083850312156142d0575f80fd5b82356142db81613731565b9150602083013561376c816142af565b5f80604083850312156142fc575f80fd5b82356143078161360d565b9150602083013561376c816137de565b602081525f825160606020840152614332608084018261380e565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506138f1828261380e565b64ffffffffff81168114613621575f80fd5b5f8060408385031215614388575f80fd5b82356143938161360d565b9150602083013561376c81614365565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261372960c084018261380e565b5f60208284031215614411575f80fd5b8135610d4e81613cd7565b602081526144366020820183516001600160601b03169052565b5f602083015161445160408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c08401526144a161012084018261380e565b905060c0840151601f198483030160e08501526144be828261380e565b91505060e0840151601f19848303016101008501526138f1828261380e565b80516144e88161360d565b919050565b5f602082840312156144fd575f80fd5b8151610d4e8161360d565b60ff81168114613621575f80fd5b80516144e881614508565b63ffffffff81168114613621575f80fd5b80516144e881614521565b5f608082840312801561454e575f80fd5b50614557613976565b825161456281614508565b8152602083015161457281614508565b6020820152604083015161458581614521565b6040820152606083015161459881614521565b60608201529392505050565b5f602082840312156145b4575f80fd5b8151610d4e81614508565b5f82601f8301126145ce575f80fd5b8151602083015f6145e1613b5c84613ae2565b90508281528583830111156145f4575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561461e575f80fd5b81516001600160401b03811115614633575f80fd5b613729848285016145bf565b805180151581146144e8575f80fd5b5f82601f83011261465d575f80fd5b81516001600160401b0381111561467657614676613962565b8060051b61468660208201613ab2565b918252602081850181019290810190868411156146a1575f80fd5b6020860192505b838310156146cc5782516146bb8161360d565b8252602092830192909101906146a8565b9695505050505050565b5f602082840312156146e6575f80fd5b81516001600160401b038111156146fb575f80fd5b8201610100818503121561470d575f80fd5b61471561399e565b61471e8261463f565b815261472c6020830161463f565b602082015261473d6040830161463f565b604082015261474e60608301614516565b606082015261475f60808301614516565b608082015261477060a083016144dd565b60a082015261478160c083016144dd565b60c082015260e08201516001600160401b0381111561479e575f80fd5b6147aa8682850161464e565b60e083015250949350505050565b80516144e8816137de565b5f602082840312156147d3575f80fd5b8151610d4e816137de565b5f602082840312156147ee575f80fd5b5051919050565b80516144e881613c29565b5f60208284031215614810575f80fd5b8151610d4e81613c29565b80516144e881614365565b5f60208284031215614836575f80fd5b81516001600160401b0381111561484b575f80fd5b8201610100818503121561485d575f80fd5b61486561399e565b61486e826144dd565b815261487c602083016144dd565b602082015261488d60408301614532565b604082015261489e60608301614532565b60608201526148af608083016147f5565b60808201526148c060a0830161481b565b60a082015260c08201516001600160401b038111156148dd575f80fd5b6148e9868285016145bf565b60c08301525060e08201516001600160401b03811115614907575f80fd5b6147aa868285016145bf565b5f60208284031215614923575f80fd5b81516001600160401b03811115614938575f80fd5b820160808185031215614949575f80fd5b614951613976565b815161495c816137de565b815261496a6020830161463f565b6020820152604082015161497d81614521565b604082015260608201516001600160401b0381111561499a575f80fd5b6149a6868285016145bf565b606083015250949350505050565b6001600160601b0383168152604060208201525f613729604083018461380e565b5f604082840312156149e5575f80fd5b604080519081016001600160401b0381118282101715614a0757614a07613962565b80604052508091508251614a1a81613c29565b81526020830151614a2a8161360d565b6020919091015292915050565b5f60208284031215614a47575f80fd5b81516001600160401b03811115614a5c575f80fd5b820160e08185031215614a6d575f80fd5b614a756139c1565b8151614a8081614365565b81526020820151614a9081614365565b6020820152614aa16040830161481b565b6040820152614ab2606083016144dd565b6060820152614ac485608084016149d5565b608082015260c08201516001600160401b03811115614ae1575f80fd5b614aed868285016145bf565b60a083015250949350505050565b5f60208284031215614b0b575f80fd5b610d4e8261463f565b5f60e0828403128015614b25575f80fd5b50614b2e6139e3565b8251614b398161360d565b81526020830151614b4981613c29565b60208201526040830151614b5c81613c29565b6040820152614b6d6060840161463f565b6060820152614b7e6080840161463f565b6080820152614b8f60a0840161463f565b60a0820152614ba060c0840161463f565b60c08201529392505050565b5f6101c0828403128015614bbe575f80fd5b50614bc76139e3565b614bd184846149d5565b8152614be084604085016149d5565b6020820152614bf284608085016149d5565b6040820152614c048460c085016149d5565b6060820152614c178461010085016149d5565b6080820152614c2a8461014085016149d5565b60a0820152614ba08461018085016149d5565b5f60208284031215614c4d575f80fd5b81516001600160401b03811115614c62575f80fd5b820160608185031215614c73575f80fd5b614c7b613a05565b8151614c868161360d565b81526020820151614c9681614365565b602082015260408201516001600160401b03811115614cb3575f80fd5b614cbf868285016145bf565b604083015250949350505050565b5f60208284031215614cdd575f80fd5b81516001600160401b03811115614cf2575f80fd5b820160608185031215614d03575f80fd5b614d0b613a05565b81516001600160401b03811115614d20575f80fd5b614d2c868285016145bf565b8252506020820151614c9681613c29565b80516144e8816142af565b5f60208284031215614d58575f80fd5b81516001600160401b03811115614d6d575f80fd5b820160e08185031215614d7e575f80fd5b614d866139e3565b614d8f826144dd565b8152614d9d602083016144dd565b6020820152614dae6040830161481b565b6040820152614dbf60608301614d3d565b6060820152614dd060808301614d3d565b608082015260a08201516001600160401b03811115614ded575f80fd5b614df9868285016145bf565b60a08301525060c08201516001600160401b03811115614e17575f80fd5b614e23868285016145bf565b60c083015250949350505050565b5f60208284031215614e41575f80fd5b8151610d4e81614365565b5f60208284031215614e5c575f80fd5b8151610d4e81613cd7565b80516144e881613731565b5f60208284031215614e82575f80fd5b81516001600160401b03811115614e97575f80fd5b82016102008185031215614ea9575f80fd5b614eb1613a27565b614eba826144dd565b8152614ec8602083016144dd565b6020820152614ed9604083016147b8565b6040820152614eea606083016144dd565b6060820152614efb608083016144dd565b6080820152614f0c60a083016147b8565b60a0820152614f1d60c08301614e67565b60c0820152614f2e60e08301614e67565b60e0820152614f4061010083016144dd565b610100820152614f5361012083016144dd565b610120820152614f66610140830161481b565b610140820152614f79610160830161481b565b610160820152614f8c610180830161481b565b610180820152614f9f6101a0830161481b565b6101a08201526101c08201516001600160401b03811115614fbe575f80fd5b614fca868285016145bf565b6101c0830152506101e08201516001600160401b03811115614fea575f80fd5b614ff6868285016145bf565b6101e083015250949350505050565b5f60208284031215615015575f80fd5b81516001600160401b0381111561502a575f80fd5b8201610140818503121561503c575f80fd5b615044613a4a565b61504d826147f5565b815261505b602083016144dd565b602082015261506c604083016147f5565b604082015261507d60608301614532565b606082015261508e6080830161481b565b608082015261509f60a0830161463f565b60a08201526150b060c0830161463f565b60c08201526150c160e083016147f5565b60e08201526101008201516001600160401b038111156150df575f80fd5b6150eb868285016145bf565b610100830152506101208201516001600160401b0381111561510b575f80fd5b615117868285016145bf565b61012083015250949350505050565b5f610240828403128015615138575f80fd5b50615141613a6d565b61514a836144dd565b8152615158602084016144dd565b6020820152615169604084016144dd565b604082015261517a606084016144dd565b606082015261518b608084016144dd565b608082015261519c60a084016144dd565b60a08201526151ad60c084016144dd565b60c08201526151be60e084016144dd565b60e08201526151d061010084016144dd565b6101008201526151e361012084016144dd565b6101208201526151f661014084016144dd565b61014082015261520961016084016144dd565b61016082015261521c61018084016144dd565b61018082015261522f6101a084016144dd565b6101a08201526152426101c084016144dd565b6101c08201526152556101e084016144dd565b6101e082015261526861020084016144dd565b61020082015261527b61022084016144dd565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610b8257610b82615288565b80820180821115610b8257610b82615288565b5f602082840312156152da575f80fd5b8151610d4e81613731565b5f602082840312156152f5575f80fd5b81516001600160401b0381111561530a575f80fd5b820160a0818503121561531b575f80fd5b615323613a90565b815161532e81613731565b8152602082015161533e8161360d565b6020820152604082015161535181614365565b6040820152606082015161536481613c29565b606082015260808201516001600160401b03811115615381575f80fd5b61538d868285016145bf565b608083015250949350505050565b5f602082840312156153ab575f80fd5b81516001600160401b038111156153c0575f80fd5b820161010081850312156153d2575f80fd5b6153da61399e565b6153e3826144dd565b81526153f1602083016144dd565b60208201526154026040830161463f565b60408201526154136060830161481b565b60608201526154246080830161481b565b608082015260a08201516001600160401b03811115615441575f80fd5b61544d868285016145bf565b60a08301525060c08201516001600160401b038111156148dd575f80fdfea264697066735822122036c405cadd7094ba3c29fd673441c05ecf6603baf7b7c536a7b0aab91c2542f164736f6c634300081a0033",
1282
2102
  "linkReferences": {
1283
2103
  "contracts/type/Amount.sol": {
1284
2104
  "AmountLib": [
1285
2105
  {
1286
2106
  "length": 20,
1287
- "start": 8049
2107
+ "start": 13602
1288
2108
  }
1289
2109
  ]
1290
2110
  },
@@ -1292,11 +2112,15 @@
1292
2112
  "ClaimIdLib": [
1293
2113
  {
1294
2114
  "length": 20,
1295
- "start": 4211
2115
+ "start": 7315
2116
+ },
2117
+ {
2118
+ "length": 20,
2119
+ "start": 8649
1296
2120
  },
1297
2121
  {
1298
2122
  "length": 20,
1299
- "start": 5528
2123
+ "start": 12440
1300
2124
  }
1301
2125
  ]
1302
2126
  },
@@ -1304,7 +2128,7 @@
1304
2128
  "DistributorTypeLib": [
1305
2129
  {
1306
2130
  "length": 20,
1307
- "start": 7154
2131
+ "start": 11030
1308
2132
  }
1309
2133
  ]
1310
2134
  },
@@ -1312,35 +2136,43 @@
1312
2136
  "NftIdLib": [
1313
2137
  {
1314
2138
  "length": 20,
1315
- "start": 2111
2139
+ "start": 4638
2140
+ },
2141
+ {
2142
+ "length": 20,
2143
+ "start": 4753
1316
2144
  },
1317
2145
  {
1318
2146
  "length": 20,
1319
- "start": 2467
2147
+ "start": 4946
1320
2148
  },
1321
2149
  {
1322
2150
  "length": 20,
1323
- "start": 3453
2151
+ "start": 5600
1324
2152
  },
1325
2153
  {
1326
2154
  "length": 20,
1327
- "start": 3542
2155
+ "start": 5853
1328
2156
  },
1329
2157
  {
1330
2158
  "length": 20,
1331
- "start": 4249
2159
+ "start": 7504
1332
2160
  },
1333
2161
  {
1334
2162
  "length": 20,
1335
- "start": 4294
2163
+ "start": 7576
1336
2164
  },
1337
2165
  {
1338
2166
  "length": 20,
1339
- "start": 7381
2167
+ "start": 9596
1340
2168
  },
1341
2169
  {
1342
2170
  "length": 20,
1343
- "start": 7967
2171
+ "start": 11335
2172
+ },
2173
+ {
2174
+ "length": 20,
2175
+ "start": 12396
1344
2176
  }
1345
2177
  ]
1346
2178
  },
@@ -1348,11 +2180,15 @@
1348
2180
  "PayoutIdLib": [
1349
2181
  {
1350
2182
  "length": 20,
1351
- "start": 2608
2183
+ "start": 11830
2184
+ },
2185
+ {
2186
+ "length": 20,
2187
+ "start": 12290
1352
2188
  },
1353
2189
  {
1354
2190
  "length": 20,
1355
- "start": 3259
2191
+ "start": 13011
1356
2192
  }
1357
2193
  ]
1358
2194
  },
@@ -1360,11 +2196,19 @@
1360
2196
  "ReferralLib": [
1361
2197
  {
1362
2198
  "length": 20,
1363
- "start": 1871
2199
+ "start": 3997
1364
2200
  },
1365
2201
  {
1366
2202
  "length": 20,
1367
- "start": 2864
2203
+ "start": 5004
2204
+ }
2205
+ ]
2206
+ },
2207
+ "contracts/type/RequestId.sol": {
2208
+ "RequestIdLib": [
2209
+ {
2210
+ "length": 20,
2211
+ "start": 13345
1368
2212
  }
1369
2213
  ]
1370
2214
  },
@@ -1372,7 +2216,15 @@
1372
2216
  "RiskIdLib": [
1373
2217
  {
1374
2218
  "length": 20,
1375
- "start": 4409
2219
+ "start": 7846
2220
+ },
2221
+ {
2222
+ "length": 20,
2223
+ "start": 12608
2224
+ },
2225
+ {
2226
+ "length": 20,
2227
+ "start": 12853
1376
2228
  }
1377
2229
  ]
1378
2230
  },
@@ -1380,23 +2232,23 @@
1380
2232
  "TimestampLib": [
1381
2233
  {
1382
2234
  "length": 20,
1383
- "start": 3685
2235
+ "start": 8930
1384
2236
  },
1385
2237
  {
1386
2238
  "length": 20,
1387
- "start": 3828
2239
+ "start": 9157
1388
2240
  },
1389
2241
  {
1390
2242
  "length": 20,
1391
- "start": 3998
2243
+ "start": 9736
1392
2244
  },
1393
2245
  {
1394
2246
  "length": 20,
1395
- "start": 5802
2247
+ "start": 9852
1396
2248
  },
1397
2249
  {
1398
2250
  "length": 20,
1399
- "start": 6033
2251
+ "start": 9996
1400
2252
  }
1401
2253
  ]
1402
2254
  },
@@ -1404,23 +2256,23 @@
1404
2256
  "UFixedLib": [
1405
2257
  {
1406
2258
  "length": 20,
1407
- "start": 1659
2259
+ "start": 3754
1408
2260
  },
1409
2261
  {
1410
2262
  "length": 20,
1411
- "start": 2996
2263
+ "start": 9029
1412
2264
  },
1413
2265
  {
1414
2266
  "length": 20,
1415
- "start": 5903
2267
+ "start": 9284
1416
2268
  },
1417
2269
  {
1418
2270
  "length": 20,
1419
- "start": 6162
2271
+ "start": 9425
1420
2272
  },
1421
2273
  {
1422
2274
  "length": 20,
1423
- "start": 6305
2275
+ "start": 11496
1424
2276
  }
1425
2277
  ]
1426
2278
  }
@@ -1430,7 +2282,7 @@
1430
2282
  "AmountLib": [
1431
2283
  {
1432
2284
  "length": 20,
1433
- "start": 8017
2285
+ "start": 13565
1434
2286
  }
1435
2287
  ]
1436
2288
  },
@@ -1438,11 +2290,15 @@
1438
2290
  "ClaimIdLib": [
1439
2291
  {
1440
2292
  "length": 20,
1441
- "start": 4179
2293
+ "start": 7278
2294
+ },
2295
+ {
2296
+ "length": 20,
2297
+ "start": 8612
1442
2298
  },
1443
2299
  {
1444
2300
  "length": 20,
1445
- "start": 5496
2301
+ "start": 12403
1446
2302
  }
1447
2303
  ]
1448
2304
  },
@@ -1450,7 +2306,7 @@
1450
2306
  "DistributorTypeLib": [
1451
2307
  {
1452
2308
  "length": 20,
1453
- "start": 7122
2309
+ "start": 10993
1454
2310
  }
1455
2311
  ]
1456
2312
  },
@@ -1458,35 +2314,43 @@
1458
2314
  "NftIdLib": [
1459
2315
  {
1460
2316
  "length": 20,
1461
- "start": 2079
2317
+ "start": 4601
2318
+ },
2319
+ {
2320
+ "length": 20,
2321
+ "start": 4716
2322
+ },
2323
+ {
2324
+ "length": 20,
2325
+ "start": 4909
1462
2326
  },
1463
2327
  {
1464
2328
  "length": 20,
1465
- "start": 2435
2329
+ "start": 5563
1466
2330
  },
1467
2331
  {
1468
2332
  "length": 20,
1469
- "start": 3421
2333
+ "start": 5816
1470
2334
  },
1471
2335
  {
1472
2336
  "length": 20,
1473
- "start": 3510
2337
+ "start": 7467
1474
2338
  },
1475
2339
  {
1476
2340
  "length": 20,
1477
- "start": 4217
2341
+ "start": 7539
1478
2342
  },
1479
2343
  {
1480
2344
  "length": 20,
1481
- "start": 4262
2345
+ "start": 9559
1482
2346
  },
1483
2347
  {
1484
2348
  "length": 20,
1485
- "start": 7349
2349
+ "start": 11298
1486
2350
  },
1487
2351
  {
1488
2352
  "length": 20,
1489
- "start": 7935
2353
+ "start": 12359
1490
2354
  }
1491
2355
  ]
1492
2356
  },
@@ -1494,11 +2358,15 @@
1494
2358
  "PayoutIdLib": [
1495
2359
  {
1496
2360
  "length": 20,
1497
- "start": 2576
2361
+ "start": 11793
2362
+ },
2363
+ {
2364
+ "length": 20,
2365
+ "start": 12253
1498
2366
  },
1499
2367
  {
1500
2368
  "length": 20,
1501
- "start": 3227
2369
+ "start": 12974
1502
2370
  }
1503
2371
  ]
1504
2372
  },
@@ -1506,11 +2374,19 @@
1506
2374
  "ReferralLib": [
1507
2375
  {
1508
2376
  "length": 20,
1509
- "start": 1839
2377
+ "start": 3960
1510
2378
  },
1511
2379
  {
1512
2380
  "length": 20,
1513
- "start": 2832
2381
+ "start": 4967
2382
+ }
2383
+ ]
2384
+ },
2385
+ "contracts/type/RequestId.sol": {
2386
+ "RequestIdLib": [
2387
+ {
2388
+ "length": 20,
2389
+ "start": 13308
1514
2390
  }
1515
2391
  ]
1516
2392
  },
@@ -1518,7 +2394,15 @@
1518
2394
  "RiskIdLib": [
1519
2395
  {
1520
2396
  "length": 20,
1521
- "start": 4377
2397
+ "start": 7809
2398
+ },
2399
+ {
2400
+ "length": 20,
2401
+ "start": 12571
2402
+ },
2403
+ {
2404
+ "length": 20,
2405
+ "start": 12816
1522
2406
  }
1523
2407
  ]
1524
2408
  },
@@ -1526,23 +2410,23 @@
1526
2410
  "TimestampLib": [
1527
2411
  {
1528
2412
  "length": 20,
1529
- "start": 3653
2413
+ "start": 8893
1530
2414
  },
1531
2415
  {
1532
2416
  "length": 20,
1533
- "start": 3796
2417
+ "start": 9120
1534
2418
  },
1535
2419
  {
1536
2420
  "length": 20,
1537
- "start": 3966
2421
+ "start": 9699
1538
2422
  },
1539
2423
  {
1540
2424
  "length": 20,
1541
- "start": 5770
2425
+ "start": 9815
1542
2426
  },
1543
2427
  {
1544
2428
  "length": 20,
1545
- "start": 6001
2429
+ "start": 9959
1546
2430
  }
1547
2431
  ]
1548
2432
  },
@@ -1550,23 +2434,23 @@
1550
2434
  "UFixedLib": [
1551
2435
  {
1552
2436
  "length": 20,
1553
- "start": 1627
2437
+ "start": 3717
1554
2438
  },
1555
2439
  {
1556
2440
  "length": 20,
1557
- "start": 2964
2441
+ "start": 8992
1558
2442
  },
1559
2443
  {
1560
2444
  "length": 20,
1561
- "start": 5871
2445
+ "start": 9247
1562
2446
  },
1563
2447
  {
1564
2448
  "length": 20,
1565
- "start": 6130
2449
+ "start": 9388
1566
2450
  },
1567
2451
  {
1568
2452
  "length": 20,
1569
- "start": 6273
2453
+ "start": 11459
1570
2454
  }
1571
2455
  ]
1572
2456
  }