@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d43ca2d-657

Sign up to get free protection for your applications and to get access to all the features.
Files changed (795) hide show
  1. package/README.md +312 -46
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1341 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1092 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1016 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1501 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +860 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +915 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1008 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2025 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2379 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +287 -1573
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +759 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +526 -1999
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1800 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2291 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1025 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +744 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  98. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  99. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +820 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +946 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1309 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1626 -0
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +792 -0
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1146 -0
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1538 -0
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +860 -0
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  161. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +290 -323
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1082 -0
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +968 -0
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +602 -0
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  169. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1003 -0
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IRiskService.sol/IRiskService.json} +241 -228
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1320 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1104 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +637 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +724 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1005 -119
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1432 -220
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1795 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1325 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1581 -0
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +485 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +632 -0
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1221 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  241. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +229 -21
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  249. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +275 -18
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  269. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +233 -156
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +822 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1067 -0
  280. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1272 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +199 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  356. package/contracts/accounting/AccountingService.sol +262 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +45 -0
  359. package/contracts/authorization/AccessAdmin.sol +659 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  361. package/contracts/authorization/Authorization.sol +289 -0
  362. package/contracts/authorization/IAccess.sol +49 -0
  363. package/contracts/authorization/IAccessAdmin.sol +140 -0
  364. package/contracts/authorization/IAuthorization.sol +60 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  367. package/contracts/distribution/BasicDistribution.sol +139 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  369. package/contracts/distribution/Distribution.sol +287 -0
  370. package/contracts/distribution/DistributionService.sol +357 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +52 -0
  373. package/contracts/distribution/IDistributionService.sol +100 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +90 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +436 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +366 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +60 -47
  389. package/contracts/instance/IInstanceService.sol +72 -0
  390. package/contracts/instance/Instance.sol +223 -62
  391. package/contracts/instance/InstanceAdmin.sol +326 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +223 -0
  393. package/contracts/instance/InstanceReader.sol +581 -0
  394. package/contracts/instance/InstanceService.sol +404 -0
  395. package/contracts/instance/InstanceServiceManager.sol +39 -0
  396. package/contracts/instance/InstanceStore.sol +287 -0
  397. package/contracts/instance/RiskSet.sol +117 -0
  398. package/contracts/instance/base/BalanceStore.sol +123 -0
  399. package/contracts/instance/base/Cloneable.sol +28 -0
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +112 -0
  402. package/contracts/instance/base/ObjectSet.sol +78 -0
  403. package/contracts/instance/module/IAccess.sol +46 -0
  404. package/contracts/instance/module/IBundle.sol +20 -0
  405. package/contracts/instance/module/IComponents.sol +50 -0
  406. package/contracts/instance/module/IDistribution.sol +41 -0
  407. package/contracts/instance/module/IPolicy.sol +85 -0
  408. package/contracts/instance/module/IRisk.sol +14 -0
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +47 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  412. package/contracts/oracle/IOracle.sol +36 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +156 -0
  416. package/contracts/oracle/OracleService.sol +309 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +175 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  420. package/contracts/pool/BundleService.sol +425 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/pool/IBundleService.sol +121 -0
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +153 -0
  425. package/contracts/pool/Pool.sol +345 -0
  426. package/contracts/pool/PoolService.sol +615 -0
  427. package/contracts/pool/PoolServiceManager.sol +39 -0
  428. package/contracts/product/ApplicationService.sol +259 -0
  429. package/contracts/product/ApplicationServiceManager.sol +38 -0
  430. package/contracts/product/BasicProduct.sol +49 -0
  431. package/contracts/product/BasicProductAuthorization.sol +41 -0
  432. package/contracts/product/ClaimService.sol +708 -0
  433. package/contracts/product/ClaimServiceManager.sol +38 -0
  434. package/contracts/product/IApplicationService.sol +66 -0
  435. package/contracts/product/IClaimService.sol +136 -0
  436. package/contracts/product/IPolicyService.sol +90 -0
  437. package/contracts/product/IPricingService.sol +39 -0
  438. package/contracts/product/IProductComponent.sol +59 -0
  439. package/contracts/product/IRiskService.sol +33 -0
  440. package/contracts/product/PolicyService.sol +736 -0
  441. package/contracts/product/PolicyServiceManager.sol +39 -0
  442. package/contracts/product/PricingService.sol +301 -0
  443. package/contracts/product/PricingServiceManager.sol +39 -0
  444. package/contracts/product/Product.sol +451 -0
  445. package/contracts/product/RiskService.sol +151 -0
  446. package/contracts/product/RiskServiceManager.sol +39 -0
  447. package/contracts/registry/ChainNft.sol +130 -40
  448. package/contracts/registry/IRegistry.sol +136 -29
  449. package/contracts/registry/IRegistryService.sol +62 -0
  450. package/contracts/registry/IRelease.sol +26 -0
  451. package/contracts/registry/ITransferInterceptor.sol +6 -0
  452. package/contracts/registry/Registry.sol +627 -283
  453. package/contracts/registry/RegistryAdmin.sol +344 -0
  454. package/contracts/registry/RegistryService.sol +241 -0
  455. package/contracts/registry/RegistryServiceManager.sol +53 -0
  456. package/contracts/registry/ReleaseAdmin.sol +245 -0
  457. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  458. package/contracts/registry/ReleaseRegistry.sol +511 -0
  459. package/contracts/registry/ServiceAuthorizationV3.sol +242 -0
  460. package/contracts/registry/TokenRegistry.sol +313 -0
  461. package/contracts/shared/Component.sol +226 -0
  462. package/contracts/shared/ComponentService.sol +690 -0
  463. package/contracts/shared/ComponentServiceManager.sol +38 -0
  464. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  465. package/contracts/shared/ContractLib.sol +252 -0
  466. package/contracts/shared/IComponent.sol +61 -0
  467. package/contracts/shared/IComponentService.sol +116 -0
  468. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  469. package/contracts/shared/IKeyValueStore.sol +54 -0
  470. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  471. package/contracts/shared/INftOwnable.sol +25 -0
  472. package/contracts/shared/IPolicyHolder.sol +35 -0
  473. package/contracts/shared/IRegisterable.sol +33 -20
  474. package/contracts/shared/IRegistryLinked.sol +11 -0
  475. package/contracts/shared/IService.sol +23 -0
  476. package/contracts/shared/InitializableERC165.sol +27 -0
  477. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  478. package/contracts/shared/KeyValueStore.sol +131 -0
  479. package/contracts/shared/Lifecycle.sol +88 -0
  480. package/contracts/shared/NftIdSet.sol +65 -0
  481. package/contracts/shared/NftOwnable.sol +127 -0
  482. package/contracts/shared/PolicyHolder.sol +62 -0
  483. package/contracts/shared/Registerable.sol +83 -60
  484. package/contracts/shared/RegistryLinked.sol +38 -0
  485. package/contracts/shared/Service.sol +65 -0
  486. package/contracts/shared/TokenHandler.sol +389 -0
  487. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  488. package/contracts/staking/IStaking.sol +173 -0
  489. package/contracts/staking/IStakingService.sol +157 -0
  490. package/contracts/staking/StakeManagerLib.sol +224 -0
  491. package/contracts/staking/Staking.sol +526 -0
  492. package/contracts/staking/StakingLifecycle.sol +23 -0
  493. package/contracts/staking/StakingManager.sol +52 -0
  494. package/contracts/staking/StakingReader.sol +190 -0
  495. package/contracts/staking/StakingService.sol +439 -0
  496. package/contracts/staking/StakingServiceManager.sol +44 -0
  497. package/contracts/staking/StakingStore.sol +605 -0
  498. package/contracts/staking/TargetManagerLib.sol +211 -0
  499. package/contracts/{types → type}/AddressSet.sol +1 -1
  500. package/contracts/type/Amount.sol +150 -0
  501. package/contracts/{types → type}/Blocknumber.sol +27 -3
  502. package/contracts/type/ClaimId.sol +80 -0
  503. package/contracts/type/DistributorType.sol +55 -0
  504. package/contracts/type/Fee.sol +66 -0
  505. package/contracts/{types → type}/Key32.sol +10 -5
  506. package/contracts/type/Key32Set.sol +62 -0
  507. package/contracts/{types → type}/NftId.sol +28 -15
  508. package/contracts/type/NftIdSet.sol +62 -0
  509. package/contracts/type/ObjectType.sol +286 -0
  510. package/contracts/type/PayoutId.sol +82 -0
  511. package/contracts/type/Referral.sol +90 -0
  512. package/contracts/type/RequestId.sol +75 -0
  513. package/contracts/type/RiskId.sol +74 -0
  514. package/contracts/type/RoleId.sol +165 -0
  515. package/contracts/type/Seconds.sol +101 -0
  516. package/contracts/type/Selector.sol +102 -0
  517. package/contracts/{types → type}/StateId.sol +53 -5
  518. package/contracts/type/String.sol +53 -0
  519. package/contracts/{types → type}/Timestamp.sol +37 -19
  520. package/contracts/{types → type}/UFixed.sol +48 -12
  521. package/contracts/{types → type}/Version.sol +31 -6
  522. package/contracts/upgradeability/IVersionable.sol +53 -0
  523. package/contracts/upgradeability/ProxyManager.sol +232 -0
  524. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  525. package/contracts/upgradeability/Versionable.sol +59 -0
  526. package/package.json +12 -7
  527. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  528. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  530. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -405
  531. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  532. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -340
  534. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -487
  536. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -370
  538. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  539. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -578
  540. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  541. package/artifacts/contracts/components/Product.sol/Product.json +0 -444
  542. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  544. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  545. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  546. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  547. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  548. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  549. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  550. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  552. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  554. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  556. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  558. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  560. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  562. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  564. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  566. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  568. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  570. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  572. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  574. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  576. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  577. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  578. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  579. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  580. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  581. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  582. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  583. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  585. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  586. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  587. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  588. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  590. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  593. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  594. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  595. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  596. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  598. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  599. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  600. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  601. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  603. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  605. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  607. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  609. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  611. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  614. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  617. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  619. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  621. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  622. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  623. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  625. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  628. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  630. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  631. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  632. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  633. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  634. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  635. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  636. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  638. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  639. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -531
  640. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  641. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -420
  642. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  643. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  644. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -325
  645. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  646. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  647. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  648. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -543
  649. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  650. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -858
  651. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  652. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  653. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  654. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  655. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  656. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  657. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  658. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  659. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  660. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  661. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  662. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  663. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  664. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  665. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  666. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  667. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  669. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  671. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  672. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  673. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  674. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  675. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  676. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  677. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  678. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  679. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  680. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  681. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  682. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  683. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  684. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  685. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  687. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  689. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  691. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  692. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  693. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  695. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  696. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  697. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  699. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  700. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  701. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  703. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  705. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  707. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  709. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  711. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  712. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  713. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  714. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  715. package/contracts/components/BaseComponent.sol +0 -94
  716. package/contracts/components/Distribution.sol +0 -132
  717. package/contracts/components/IBaseComponent.sol +0 -19
  718. package/contracts/components/IDistributionComponent.sol +0 -48
  719. package/contracts/components/IPoolComponent.sol +0 -71
  720. package/contracts/components/IProductComponent.sol +0 -38
  721. package/contracts/components/Pool.sol +0 -235
  722. package/contracts/components/Product.sol +0 -227
  723. package/contracts/experiment/errors/Require.sol +0 -38
  724. package/contracts/experiment/errors/Revert.sol +0 -44
  725. package/contracts/experiment/inheritance/A.sol +0 -53
  726. package/contracts/experiment/inheritance/B.sol +0 -28
  727. package/contracts/experiment/inheritance/C.sol +0 -34
  728. package/contracts/experiment/inheritance/IA.sol +0 -13
  729. package/contracts/experiment/inheritance/IB.sol +0 -10
  730. package/contracts/experiment/inheritance/IC.sol +0 -12
  731. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  732. package/contracts/experiment/statemachine/ISM.sol +0 -25
  733. package/contracts/experiment/statemachine/README.md +0 -112
  734. package/contracts/experiment/statemachine/SM.sol +0 -57
  735. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  736. package/contracts/experiment/types/TypeA.sol +0 -47
  737. package/contracts/experiment/types/TypeB.sol +0 -29
  738. package/contracts/instance/IInstanceLinked.sol +0 -8
  739. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  740. package/contracts/instance/base/IInstanceBase.sol +0 -22
  741. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  742. package/contracts/instance/base/IService.sol +0 -15
  743. package/contracts/instance/base/InstanceBase.sol +0 -91
  744. package/contracts/instance/base/KeyValueStore.sol +0 -161
  745. package/contracts/instance/base/Lifecycle.sol +0 -100
  746. package/contracts/instance/base/ModuleBase.sol +0 -57
  747. package/contracts/instance/base/ServiceBase.sol +0 -37
  748. package/contracts/instance/module/access/Access.sol +0 -149
  749. package/contracts/instance/module/access/IAccess.sol +0 -53
  750. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  751. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  752. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  753. package/contracts/instance/module/component/IComponent.sol +0 -28
  754. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  755. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  756. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  757. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  758. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  759. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  760. package/contracts/instance/module/risk/IRisk.sol +0 -26
  761. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  762. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  763. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  764. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  765. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  766. package/contracts/instance/service/DistributionService.sol +0 -59
  767. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  768. package/contracts/instance/service/IDistributionService.sol +0 -12
  769. package/contracts/instance/service/IPoolService.sol +0 -37
  770. package/contracts/instance/service/IProductService.sol +0 -107
  771. package/contracts/instance/service/PoolService.sol +0 -149
  772. package/contracts/instance/service/ProductService.sol +0 -509
  773. package/contracts/registry/IChainNft.sol +0 -21
  774. package/contracts/registry/IRegistryLinked.sol +0 -8
  775. package/contracts/shared/ERC165.sol +0 -21
  776. package/contracts/shared/IOwnable.sol +0 -6
  777. package/contracts/shared/IVersionable.sol +0 -52
  778. package/contracts/shared/Versionable.sol +0 -89
  779. package/contracts/test/TestDistribution.sol +0 -21
  780. package/contracts/test/TestFee.sol +0 -25
  781. package/contracts/test/TestPool.sol +0 -25
  782. package/contracts/test/TestProduct.sol +0 -72
  783. package/contracts/test/TestRegisterable.sol +0 -19
  784. package/contracts/test/TestRoleId.sol +0 -14
  785. package/contracts/test/TestService.sol +0 -32
  786. package/contracts/test/TestToken.sol +0 -26
  787. package/contracts/test/TestVersion.sol +0 -44
  788. package/contracts/test/TestVersionable.sol +0 -17
  789. package/contracts/types/ChainId.sol +0 -38
  790. package/contracts/types/Fee.sol +0 -56
  791. package/contracts/types/NftIdSet.sol +0 -60
  792. package/contracts/types/ObjectType.sol +0 -131
  793. package/contracts/types/ReferralId.sol +0 -48
  794. package/contracts/types/RiskId.sol +0 -43
  795. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,2025 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "FireProduct",
4
+ "sourceName": "contracts/examples/fire/FireProduct.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "instanceNftid",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "string",
20
+ "name": "componentName",
21
+ "type": "string"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "token",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "contract IAuthorization",
30
+ "name": "authorization",
31
+ "type": "address"
32
+ }
33
+ ],
34
+ "stateMutability": "nonpayable",
35
+ "type": "constructor"
36
+ },
37
+ {
38
+ "inputs": [
39
+ {
40
+ "internalType": "address",
41
+ "name": "authority",
42
+ "type": "address"
43
+ }
44
+ ],
45
+ "name": "AccessManagedInvalidAuthority",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [
50
+ {
51
+ "internalType": "address",
52
+ "name": "caller",
53
+ "type": "address"
54
+ },
55
+ {
56
+ "internalType": "uint32",
57
+ "name": "delay",
58
+ "type": "uint32"
59
+ }
60
+ ],
61
+ "name": "AccessManagedRequiredDelay",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "caller",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "name": "AccessManagedUnauthorized",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "authority",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorAuthorityInvalid",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ErrorComponentNameLengthZero",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "caller",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "ErrorComponentNotChainNft",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorComponentProductNftIdNonzero",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorComponentProductNftIdZero",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [
114
+ {
115
+ "internalType": "address",
116
+ "name": "token",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "ErrorComponentTokenInvalid",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "inputs": [],
130
+ "name": "ErrorComponentWalletAddressZero",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [],
135
+ "name": "ErrorComponentWalletNotComponent",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [],
140
+ "name": "ErrorFireProductAlreadyClaimed",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [
145
+ {
146
+ "internalType": "string",
147
+ "name": "cityName",
148
+ "type": "string"
149
+ }
150
+ ],
151
+ "name": "ErrorFireProductCityUnknown",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [],
156
+ "name": "ErrorFireProductFireAlreadyReported",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "uint256",
163
+ "name": "fireId",
164
+ "type": "uint256"
165
+ },
166
+ {
167
+ "internalType": "string",
168
+ "name": "cityName",
169
+ "type": "string"
170
+ }
171
+ ],
172
+ "name": "ErrorFireProductFireNotInCoveredCity",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [
177
+ {
178
+ "internalType": "uint256",
179
+ "name": "fireId",
180
+ "type": "uint256"
181
+ }
182
+ ],
183
+ "name": "ErrorFireProductFireUnknown",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "NftId",
190
+ "name": "nftId",
191
+ "type": "uint96"
192
+ },
193
+ {
194
+ "internalType": "address",
195
+ "name": "owner",
196
+ "type": "address"
197
+ }
198
+ ],
199
+ "name": "ErrorFireProductNotPolicyOwner",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "NftId",
206
+ "name": "policyNftId",
207
+ "type": "uint96"
208
+ },
209
+ {
210
+ "internalType": "Timestamp",
211
+ "name": "expiredAt",
212
+ "type": "uint40"
213
+ }
214
+ ],
215
+ "name": "ErrorFireProductPolicyExpired",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [
220
+ {
221
+ "internalType": "NftId",
222
+ "name": "policyNftId",
223
+ "type": "uint96"
224
+ }
225
+ ],
226
+ "name": "ErrorFireProductPolicyNotActive",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "internalType": "NftId",
233
+ "name": "policyNftId",
234
+ "type": "uint96"
235
+ },
236
+ {
237
+ "internalType": "Timestamp",
238
+ "name": "activateAt",
239
+ "type": "uint40"
240
+ }
241
+ ],
242
+ "name": "ErrorFireProductPolicyNotYetActive",
243
+ "type": "error"
244
+ },
245
+ {
246
+ "inputs": [],
247
+ "name": "ErrorFireProductTimestampInFuture",
248
+ "type": "error"
249
+ },
250
+ {
251
+ "inputs": [
252
+ {
253
+ "internalType": "DamageLevel",
254
+ "name": "damageLevel",
255
+ "type": "uint8"
256
+ }
257
+ ],
258
+ "name": "ErrorFireProductUnknownDamageLevel",
259
+ "type": "error"
260
+ },
261
+ {
262
+ "inputs": [
263
+ {
264
+ "internalType": "NftId",
265
+ "name": "nftId",
266
+ "type": "uint96"
267
+ },
268
+ {
269
+ "internalType": "ObjectType",
270
+ "name": "objectType",
271
+ "type": "uint8"
272
+ }
273
+ ],
274
+ "name": "ErrorInstanceLinkedComponentNotProduct",
275
+ "type": "error"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "ObjectType",
281
+ "name": "requiredType",
282
+ "type": "uint8"
283
+ },
284
+ {
285
+ "internalType": "ObjectType",
286
+ "name": "objectType",
287
+ "type": "uint8"
288
+ }
289
+ ],
290
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "inputs": [
295
+ {
296
+ "internalType": "NftId",
297
+ "name": "nftId",
298
+ "type": "uint96"
299
+ }
300
+ ],
301
+ "name": "ErrorNftOwnableAlreadyLinked",
302
+ "type": "error"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "address",
308
+ "name": "contractAddress",
309
+ "type": "address"
310
+ }
311
+ ],
312
+ "name": "ErrorNftOwnableContractNotRegistered",
313
+ "type": "error"
314
+ },
315
+ {
316
+ "inputs": [],
317
+ "name": "ErrorNftOwnableInitialOwnerZero",
318
+ "type": "error"
319
+ },
320
+ {
321
+ "inputs": [
322
+ {
323
+ "internalType": "NftId",
324
+ "name": "nftId",
325
+ "type": "uint96"
326
+ },
327
+ {
328
+ "internalType": "ObjectType",
329
+ "name": "expectedObjectType",
330
+ "type": "uint8"
331
+ }
332
+ ],
333
+ "name": "ErrorNftOwnableInvalidType",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "address",
340
+ "name": "account",
341
+ "type": "address"
342
+ }
343
+ ],
344
+ "name": "ErrorNftOwnableNotOwner",
345
+ "type": "error"
346
+ },
347
+ {
348
+ "inputs": [
349
+ {
350
+ "internalType": "address",
351
+ "name": "registryAddress",
352
+ "type": "address"
353
+ }
354
+ ],
355
+ "name": "ErrorNotRegistry",
356
+ "type": "error"
357
+ },
358
+ {
359
+ "inputs": [],
360
+ "name": "ErrorRegisterableNotActive",
361
+ "type": "error"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "InvalidInitialization",
366
+ "type": "error"
367
+ },
368
+ {
369
+ "inputs": [],
370
+ "name": "MathOverflowedMulDiv",
371
+ "type": "error"
372
+ },
373
+ {
374
+ "inputs": [],
375
+ "name": "NotInitializing",
376
+ "type": "error"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "UFixedLibDivisionByZero",
381
+ "type": "error"
382
+ },
383
+ {
384
+ "anonymous": false,
385
+ "inputs": [
386
+ {
387
+ "indexed": false,
388
+ "internalType": "address",
389
+ "name": "authority",
390
+ "type": "address"
391
+ }
392
+ ],
393
+ "name": "AuthorityUpdated",
394
+ "type": "event"
395
+ },
396
+ {
397
+ "anonymous": false,
398
+ "inputs": [
399
+ {
400
+ "indexed": false,
401
+ "internalType": "uint64",
402
+ "name": "version",
403
+ "type": "uint64"
404
+ }
405
+ ],
406
+ "name": "Initialized",
407
+ "type": "event"
408
+ },
409
+ {
410
+ "anonymous": false,
411
+ "inputs": [
412
+ {
413
+ "indexed": false,
414
+ "internalType": "address",
415
+ "name": "tokenHandler",
416
+ "type": "address"
417
+ },
418
+ {
419
+ "indexed": false,
420
+ "internalType": "address",
421
+ "name": "token",
422
+ "type": "address"
423
+ },
424
+ {
425
+ "indexed": false,
426
+ "internalType": "Amount",
427
+ "name": "limit",
428
+ "type": "uint96"
429
+ },
430
+ {
431
+ "indexed": false,
432
+ "internalType": "bool",
433
+ "name": "isMaxAmount",
434
+ "type": "bool"
435
+ }
436
+ ],
437
+ "name": "LogComponentTokenHandlerApproved",
438
+ "type": "event"
439
+ },
440
+ {
441
+ "anonymous": false,
442
+ "inputs": [
443
+ {
444
+ "indexed": false,
445
+ "internalType": "address",
446
+ "name": "oldWallet",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "indexed": false,
451
+ "internalType": "address",
452
+ "name": "newWallet",
453
+ "type": "address"
454
+ }
455
+ ],
456
+ "name": "LogComponentWalletAddressChanged",
457
+ "type": "event"
458
+ },
459
+ {
460
+ "anonymous": false,
461
+ "inputs": [
462
+ {
463
+ "indexed": false,
464
+ "internalType": "address",
465
+ "name": "from",
466
+ "type": "address"
467
+ },
468
+ {
469
+ "indexed": false,
470
+ "internalType": "address",
471
+ "name": "to",
472
+ "type": "address"
473
+ },
474
+ {
475
+ "indexed": false,
476
+ "internalType": "uint256",
477
+ "name": "amount",
478
+ "type": "uint256"
479
+ }
480
+ ],
481
+ "name": "LogComponentWalletTokensTransferred",
482
+ "type": "event"
483
+ },
484
+ {
485
+ "inputs": [],
486
+ "name": "COMPONENT_LOCATION_V1",
487
+ "outputs": [
488
+ {
489
+ "internalType": "bytes32",
490
+ "name": "",
491
+ "type": "bytes32"
492
+ }
493
+ ],
494
+ "stateMutability": "view",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [],
499
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
500
+ "outputs": [
501
+ {
502
+ "internalType": "bytes32",
503
+ "name": "",
504
+ "type": "bytes32"
505
+ }
506
+ ],
507
+ "stateMutability": "view",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [],
512
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
513
+ "outputs": [
514
+ {
515
+ "internalType": "bytes32",
516
+ "name": "",
517
+ "type": "bytes32"
518
+ }
519
+ ],
520
+ "stateMutability": "view",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [],
525
+ "name": "PRODUCT_STORAGE_LOCATION_V1",
526
+ "outputs": [
527
+ {
528
+ "internalType": "bytes32",
529
+ "name": "",
530
+ "type": "bytes32"
531
+ }
532
+ ],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [],
538
+ "name": "REGISTERABLE_LOCATION_V1",
539
+ "outputs": [
540
+ {
541
+ "internalType": "bytes32",
542
+ "name": "",
543
+ "type": "bytes32"
544
+ }
545
+ ],
546
+ "stateMutability": "view",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [
551
+ {
552
+ "internalType": "contract IERC20Metadata",
553
+ "name": "token",
554
+ "type": "address"
555
+ },
556
+ {
557
+ "internalType": "Amount",
558
+ "name": "amount",
559
+ "type": "uint96"
560
+ }
561
+ ],
562
+ "name": "approveTokenHandler",
563
+ "outputs": [],
564
+ "stateMutability": "nonpayable",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "inputs": [],
569
+ "name": "authority",
570
+ "outputs": [
571
+ {
572
+ "internalType": "address",
573
+ "name": "",
574
+ "type": "address"
575
+ }
576
+ ],
577
+ "stateMutability": "view",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [
582
+ {
583
+ "internalType": "Amount",
584
+ "name": "sumInsured",
585
+ "type": "uint96"
586
+ },
587
+ {
588
+ "internalType": "RiskId",
589
+ "name": "",
590
+ "type": "bytes8"
591
+ },
592
+ {
593
+ "internalType": "Seconds",
594
+ "name": "lifetime",
595
+ "type": "uint40"
596
+ },
597
+ {
598
+ "internalType": "bytes",
599
+ "name": "",
600
+ "type": "bytes"
601
+ }
602
+ ],
603
+ "name": "calculateNetPremium",
604
+ "outputs": [
605
+ {
606
+ "internalType": "Amount",
607
+ "name": "netPremiumAmount",
608
+ "type": "uint96"
609
+ }
610
+ ],
611
+ "stateMutability": "view",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [
616
+ {
617
+ "internalType": "Amount",
618
+ "name": "sumInsuredAmount",
619
+ "type": "uint96"
620
+ },
621
+ {
622
+ "internalType": "RiskId",
623
+ "name": "riskId",
624
+ "type": "bytes8"
625
+ },
626
+ {
627
+ "internalType": "Seconds",
628
+ "name": "lifetime",
629
+ "type": "uint40"
630
+ },
631
+ {
632
+ "internalType": "bytes",
633
+ "name": "applicationData",
634
+ "type": "bytes"
635
+ },
636
+ {
637
+ "internalType": "NftId",
638
+ "name": "bundleNftId",
639
+ "type": "uint96"
640
+ },
641
+ {
642
+ "internalType": "ReferralId",
643
+ "name": "referralId",
644
+ "type": "bytes8"
645
+ }
646
+ ],
647
+ "name": "calculatePremium",
648
+ "outputs": [
649
+ {
650
+ "internalType": "Amount",
651
+ "name": "premiumAmount",
652
+ "type": "uint96"
653
+ }
654
+ ],
655
+ "stateMutability": "view",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "string",
662
+ "name": "cityName",
663
+ "type": "string"
664
+ },
665
+ {
666
+ "internalType": "Amount",
667
+ "name": "sumInsured",
668
+ "type": "uint96"
669
+ },
670
+ {
671
+ "internalType": "Seconds",
672
+ "name": "lifetime",
673
+ "type": "uint40"
674
+ },
675
+ {
676
+ "internalType": "NftId",
677
+ "name": "bundleNftId",
678
+ "type": "uint96"
679
+ }
680
+ ],
681
+ "name": "calculatePremium",
682
+ "outputs": [
683
+ {
684
+ "internalType": "Amount",
685
+ "name": "premiumAmount",
686
+ "type": "uint96"
687
+ }
688
+ ],
689
+ "stateMutability": "view",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [],
694
+ "name": "cities",
695
+ "outputs": [
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "",
699
+ "type": "uint256"
700
+ }
701
+ ],
702
+ "stateMutability": "view",
703
+ "type": "function"
704
+ },
705
+ {
706
+ "inputs": [
707
+ {
708
+ "internalType": "uint256",
709
+ "name": "idx",
710
+ "type": "uint256"
711
+ }
712
+ ],
713
+ "name": "city",
714
+ "outputs": [
715
+ {
716
+ "internalType": "string",
717
+ "name": "",
718
+ "type": "string"
719
+ }
720
+ ],
721
+ "stateMutability": "view",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [
726
+ {
727
+ "internalType": "NftId",
728
+ "name": "policyNftId",
729
+ "type": "uint96"
730
+ }
731
+ ],
732
+ "name": "close",
733
+ "outputs": [],
734
+ "stateMutability": "nonpayable",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [
739
+ {
740
+ "internalType": "string",
741
+ "name": "cityName",
742
+ "type": "string"
743
+ },
744
+ {
745
+ "internalType": "Amount",
746
+ "name": "sumInsured",
747
+ "type": "uint96"
748
+ },
749
+ {
750
+ "internalType": "Seconds",
751
+ "name": "lifetime",
752
+ "type": "uint40"
753
+ },
754
+ {
755
+ "internalType": "NftId",
756
+ "name": "bundleNftId",
757
+ "type": "uint96"
758
+ }
759
+ ],
760
+ "name": "createApplication",
761
+ "outputs": [
762
+ {
763
+ "internalType": "NftId",
764
+ "name": "policyNftId",
765
+ "type": "uint96"
766
+ }
767
+ ],
768
+ "stateMutability": "nonpayable",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [
773
+ {
774
+ "internalType": "NftId",
775
+ "name": "policyNftId",
776
+ "type": "uint96"
777
+ },
778
+ {
779
+ "internalType": "Timestamp",
780
+ "name": "activateAt",
781
+ "type": "uint40"
782
+ }
783
+ ],
784
+ "name": "createPolicy",
785
+ "outputs": [],
786
+ "stateMutability": "nonpayable",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [
791
+ {
792
+ "internalType": "NftId",
793
+ "name": "policyNftId",
794
+ "type": "uint96"
795
+ }
796
+ ],
797
+ "name": "decline",
798
+ "outputs": [],
799
+ "stateMutability": "nonpayable",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [
804
+ {
805
+ "internalType": "NftId",
806
+ "name": "policyNftId",
807
+ "type": "uint96"
808
+ },
809
+ {
810
+ "internalType": "Timestamp",
811
+ "name": "expireAt",
812
+ "type": "uint40"
813
+ }
814
+ ],
815
+ "name": "expire",
816
+ "outputs": [
817
+ {
818
+ "internalType": "Timestamp",
819
+ "name": "",
820
+ "type": "uint40"
821
+ }
822
+ ],
823
+ "stateMutability": "nonpayable",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [
828
+ {
829
+ "internalType": "uint256",
830
+ "name": "fireId",
831
+ "type": "uint256"
832
+ }
833
+ ],
834
+ "name": "fire",
835
+ "outputs": [
836
+ {
837
+ "components": [
838
+ {
839
+ "internalType": "string",
840
+ "name": "cityName",
841
+ "type": "string"
842
+ },
843
+ {
844
+ "internalType": "DamageLevel",
845
+ "name": "damageLevel",
846
+ "type": "uint8"
847
+ },
848
+ {
849
+ "internalType": "Timestamp",
850
+ "name": "reportedAt",
851
+ "type": "uint40"
852
+ }
853
+ ],
854
+ "internalType": "struct FireProduct.Fire",
855
+ "name": "",
856
+ "type": "tuple"
857
+ }
858
+ ],
859
+ "stateMutability": "view",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [],
864
+ "name": "getAuthorization",
865
+ "outputs": [
866
+ {
867
+ "internalType": "contract IAuthorization",
868
+ "name": "authorization",
869
+ "type": "address"
870
+ }
871
+ ],
872
+ "stateMutability": "view",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [],
877
+ "name": "getComponentInfo",
878
+ "outputs": [
879
+ {
880
+ "components": [
881
+ {
882
+ "internalType": "string",
883
+ "name": "name",
884
+ "type": "string"
885
+ },
886
+ {
887
+ "internalType": "contract IERC20Metadata",
888
+ "name": "token",
889
+ "type": "address"
890
+ },
891
+ {
892
+ "internalType": "contract TokenHandler",
893
+ "name": "tokenHandler",
894
+ "type": "address"
895
+ },
896
+ {
897
+ "internalType": "bytes",
898
+ "name": "data",
899
+ "type": "bytes"
900
+ }
901
+ ],
902
+ "internalType": "struct IComponents.ComponentInfo",
903
+ "name": "info",
904
+ "type": "tuple"
905
+ }
906
+ ],
907
+ "stateMutability": "view",
908
+ "type": "function"
909
+ },
910
+ {
911
+ "inputs": [],
912
+ "name": "getInitialComponentInfo",
913
+ "outputs": [
914
+ {
915
+ "components": [
916
+ {
917
+ "internalType": "string",
918
+ "name": "name",
919
+ "type": "string"
920
+ },
921
+ {
922
+ "internalType": "contract IERC20Metadata",
923
+ "name": "token",
924
+ "type": "address"
925
+ },
926
+ {
927
+ "internalType": "contract TokenHandler",
928
+ "name": "tokenHandler",
929
+ "type": "address"
930
+ },
931
+ {
932
+ "internalType": "bytes",
933
+ "name": "data",
934
+ "type": "bytes"
935
+ }
936
+ ],
937
+ "internalType": "struct IComponents.ComponentInfo",
938
+ "name": "info",
939
+ "type": "tuple"
940
+ }
941
+ ],
942
+ "stateMutability": "view",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [],
947
+ "name": "getInitialInfo",
948
+ "outputs": [
949
+ {
950
+ "components": [
951
+ {
952
+ "internalType": "NftId",
953
+ "name": "nftId",
954
+ "type": "uint96"
955
+ },
956
+ {
957
+ "internalType": "NftId",
958
+ "name": "parentNftId",
959
+ "type": "uint96"
960
+ },
961
+ {
962
+ "internalType": "ObjectType",
963
+ "name": "objectType",
964
+ "type": "uint8"
965
+ },
966
+ {
967
+ "internalType": "bool",
968
+ "name": "isInterceptor",
969
+ "type": "bool"
970
+ },
971
+ {
972
+ "internalType": "address",
973
+ "name": "objectAddress",
974
+ "type": "address"
975
+ },
976
+ {
977
+ "internalType": "address",
978
+ "name": "initialOwner",
979
+ "type": "address"
980
+ },
981
+ {
982
+ "internalType": "bytes",
983
+ "name": "data",
984
+ "type": "bytes"
985
+ }
986
+ ],
987
+ "internalType": "struct IRegistry.ObjectInfo",
988
+ "name": "info",
989
+ "type": "tuple"
990
+ }
991
+ ],
992
+ "stateMutability": "view",
993
+ "type": "function"
994
+ },
995
+ {
996
+ "inputs": [],
997
+ "name": "getInitialProductInfo",
998
+ "outputs": [
999
+ {
1000
+ "components": [
1001
+ {
1002
+ "internalType": "bool",
1003
+ "name": "isProcessingFundedClaims",
1004
+ "type": "bool"
1005
+ },
1006
+ {
1007
+ "internalType": "bool",
1008
+ "name": "isInterceptingPolicyTransfers",
1009
+ "type": "bool"
1010
+ },
1011
+ {
1012
+ "internalType": "bool",
1013
+ "name": "hasDistribution",
1014
+ "type": "bool"
1015
+ },
1016
+ {
1017
+ "internalType": "uint8",
1018
+ "name": "expectedNumberOfOracles",
1019
+ "type": "uint8"
1020
+ },
1021
+ {
1022
+ "internalType": "uint8",
1023
+ "name": "numberOfOracles",
1024
+ "type": "uint8"
1025
+ },
1026
+ {
1027
+ "internalType": "NftId",
1028
+ "name": "poolNftId",
1029
+ "type": "uint96"
1030
+ },
1031
+ {
1032
+ "internalType": "NftId",
1033
+ "name": "distributionNftId",
1034
+ "type": "uint96"
1035
+ },
1036
+ {
1037
+ "internalType": "NftId[]",
1038
+ "name": "oracleNftId",
1039
+ "type": "uint96[]"
1040
+ },
1041
+ {
1042
+ "components": [
1043
+ {
1044
+ "internalType": "UFixed",
1045
+ "name": "fractionalFee",
1046
+ "type": "uint256"
1047
+ },
1048
+ {
1049
+ "internalType": "uint256",
1050
+ "name": "fixedFee",
1051
+ "type": "uint256"
1052
+ }
1053
+ ],
1054
+ "internalType": "struct Fee",
1055
+ "name": "productFee",
1056
+ "type": "tuple"
1057
+ },
1058
+ {
1059
+ "components": [
1060
+ {
1061
+ "internalType": "UFixed",
1062
+ "name": "fractionalFee",
1063
+ "type": "uint256"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "fixedFee",
1068
+ "type": "uint256"
1069
+ }
1070
+ ],
1071
+ "internalType": "struct Fee",
1072
+ "name": "processingFee",
1073
+ "type": "tuple"
1074
+ },
1075
+ {
1076
+ "components": [
1077
+ {
1078
+ "internalType": "UFixed",
1079
+ "name": "fractionalFee",
1080
+ "type": "uint256"
1081
+ },
1082
+ {
1083
+ "internalType": "uint256",
1084
+ "name": "fixedFee",
1085
+ "type": "uint256"
1086
+ }
1087
+ ],
1088
+ "internalType": "struct Fee",
1089
+ "name": "distributionFee",
1090
+ "type": "tuple"
1091
+ },
1092
+ {
1093
+ "components": [
1094
+ {
1095
+ "internalType": "UFixed",
1096
+ "name": "fractionalFee",
1097
+ "type": "uint256"
1098
+ },
1099
+ {
1100
+ "internalType": "uint256",
1101
+ "name": "fixedFee",
1102
+ "type": "uint256"
1103
+ }
1104
+ ],
1105
+ "internalType": "struct Fee",
1106
+ "name": "minDistributionOwnerFee",
1107
+ "type": "tuple"
1108
+ },
1109
+ {
1110
+ "components": [
1111
+ {
1112
+ "internalType": "UFixed",
1113
+ "name": "fractionalFee",
1114
+ "type": "uint256"
1115
+ },
1116
+ {
1117
+ "internalType": "uint256",
1118
+ "name": "fixedFee",
1119
+ "type": "uint256"
1120
+ }
1121
+ ],
1122
+ "internalType": "struct Fee",
1123
+ "name": "poolFee",
1124
+ "type": "tuple"
1125
+ },
1126
+ {
1127
+ "components": [
1128
+ {
1129
+ "internalType": "UFixed",
1130
+ "name": "fractionalFee",
1131
+ "type": "uint256"
1132
+ },
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "fixedFee",
1136
+ "type": "uint256"
1137
+ }
1138
+ ],
1139
+ "internalType": "struct Fee",
1140
+ "name": "stakingFee",
1141
+ "type": "tuple"
1142
+ },
1143
+ {
1144
+ "components": [
1145
+ {
1146
+ "internalType": "UFixed",
1147
+ "name": "fractionalFee",
1148
+ "type": "uint256"
1149
+ },
1150
+ {
1151
+ "internalType": "uint256",
1152
+ "name": "fixedFee",
1153
+ "type": "uint256"
1154
+ }
1155
+ ],
1156
+ "internalType": "struct Fee",
1157
+ "name": "performanceFee",
1158
+ "type": "tuple"
1159
+ }
1160
+ ],
1161
+ "internalType": "struct IComponents.ProductInfo",
1162
+ "name": "poolInfo",
1163
+ "type": "tuple"
1164
+ }
1165
+ ],
1166
+ "stateMutability": "view",
1167
+ "type": "function"
1168
+ },
1169
+ {
1170
+ "inputs": [],
1171
+ "name": "getInstance",
1172
+ "outputs": [
1173
+ {
1174
+ "internalType": "contract IInstance",
1175
+ "name": "instance",
1176
+ "type": "address"
1177
+ }
1178
+ ],
1179
+ "stateMutability": "view",
1180
+ "type": "function"
1181
+ },
1182
+ {
1183
+ "inputs": [],
1184
+ "name": "getName",
1185
+ "outputs": [
1186
+ {
1187
+ "internalType": "string",
1188
+ "name": "name",
1189
+ "type": "string"
1190
+ }
1191
+ ],
1192
+ "stateMutability": "view",
1193
+ "type": "function"
1194
+ },
1195
+ {
1196
+ "inputs": [],
1197
+ "name": "getNftId",
1198
+ "outputs": [
1199
+ {
1200
+ "internalType": "NftId",
1201
+ "name": "",
1202
+ "type": "uint96"
1203
+ }
1204
+ ],
1205
+ "stateMutability": "view",
1206
+ "type": "function"
1207
+ },
1208
+ {
1209
+ "inputs": [],
1210
+ "name": "getOwner",
1211
+ "outputs": [
1212
+ {
1213
+ "internalType": "address",
1214
+ "name": "",
1215
+ "type": "address"
1216
+ }
1217
+ ],
1218
+ "stateMutability": "view",
1219
+ "type": "function"
1220
+ },
1221
+ {
1222
+ "inputs": [],
1223
+ "name": "getRegistry",
1224
+ "outputs": [
1225
+ {
1226
+ "internalType": "contract IRegistry",
1227
+ "name": "",
1228
+ "type": "address"
1229
+ }
1230
+ ],
1231
+ "stateMutability": "view",
1232
+ "type": "function"
1233
+ },
1234
+ {
1235
+ "inputs": [],
1236
+ "name": "getRelease",
1237
+ "outputs": [
1238
+ {
1239
+ "internalType": "VersionPart",
1240
+ "name": "release",
1241
+ "type": "uint8"
1242
+ }
1243
+ ],
1244
+ "stateMutability": "view",
1245
+ "type": "function"
1246
+ },
1247
+ {
1248
+ "inputs": [],
1249
+ "name": "getToken",
1250
+ "outputs": [
1251
+ {
1252
+ "internalType": "contract IERC20Metadata",
1253
+ "name": "token",
1254
+ "type": "address"
1255
+ }
1256
+ ],
1257
+ "stateMutability": "view",
1258
+ "type": "function"
1259
+ },
1260
+ {
1261
+ "inputs": [],
1262
+ "name": "getTokenHandler",
1263
+ "outputs": [
1264
+ {
1265
+ "internalType": "contract TokenHandler",
1266
+ "name": "tokenHandler",
1267
+ "type": "address"
1268
+ }
1269
+ ],
1270
+ "stateMutability": "view",
1271
+ "type": "function"
1272
+ },
1273
+ {
1274
+ "inputs": [],
1275
+ "name": "getVersion",
1276
+ "outputs": [
1277
+ {
1278
+ "internalType": "Version",
1279
+ "name": "version",
1280
+ "type": "uint24"
1281
+ }
1282
+ ],
1283
+ "stateMutability": "view",
1284
+ "type": "function"
1285
+ },
1286
+ {
1287
+ "inputs": [],
1288
+ "name": "getWallet",
1289
+ "outputs": [
1290
+ {
1291
+ "internalType": "address",
1292
+ "name": "walletAddress",
1293
+ "type": "address"
1294
+ }
1295
+ ],
1296
+ "stateMutability": "view",
1297
+ "type": "function"
1298
+ },
1299
+ {
1300
+ "inputs": [
1301
+ {
1302
+ "internalType": "string",
1303
+ "name": "cityName",
1304
+ "type": "string"
1305
+ }
1306
+ ],
1307
+ "name": "initializeCity",
1308
+ "outputs": [
1309
+ {
1310
+ "internalType": "RiskId",
1311
+ "name": "risk",
1312
+ "type": "bytes8"
1313
+ }
1314
+ ],
1315
+ "stateMutability": "nonpayable",
1316
+ "type": "function"
1317
+ },
1318
+ {
1319
+ "inputs": [],
1320
+ "name": "isActive",
1321
+ "outputs": [
1322
+ {
1323
+ "internalType": "bool",
1324
+ "name": "active",
1325
+ "type": "bool"
1326
+ }
1327
+ ],
1328
+ "stateMutability": "view",
1329
+ "type": "function"
1330
+ },
1331
+ {
1332
+ "inputs": [],
1333
+ "name": "isConsumingScheduledOp",
1334
+ "outputs": [
1335
+ {
1336
+ "internalType": "bytes4",
1337
+ "name": "",
1338
+ "type": "bytes4"
1339
+ }
1340
+ ],
1341
+ "stateMutability": "view",
1342
+ "type": "function"
1343
+ },
1344
+ {
1345
+ "inputs": [],
1346
+ "name": "isNftInterceptor",
1347
+ "outputs": [
1348
+ {
1349
+ "internalType": "bool",
1350
+ "name": "isInterceptor",
1351
+ "type": "bool"
1352
+ }
1353
+ ],
1354
+ "stateMutability": "view",
1355
+ "type": "function"
1356
+ },
1357
+ {
1358
+ "inputs": [],
1359
+ "name": "isRegistered",
1360
+ "outputs": [
1361
+ {
1362
+ "internalType": "bool",
1363
+ "name": "",
1364
+ "type": "bool"
1365
+ }
1366
+ ],
1367
+ "stateMutability": "view",
1368
+ "type": "function"
1369
+ },
1370
+ {
1371
+ "inputs": [],
1372
+ "name": "linkToRegisteredNftId",
1373
+ "outputs": [
1374
+ {
1375
+ "internalType": "NftId",
1376
+ "name": "nftId",
1377
+ "type": "uint96"
1378
+ }
1379
+ ],
1380
+ "stateMutability": "nonpayable",
1381
+ "type": "function"
1382
+ },
1383
+ {
1384
+ "inputs": [
1385
+ {
1386
+ "internalType": "address",
1387
+ "name": "from",
1388
+ "type": "address"
1389
+ },
1390
+ {
1391
+ "internalType": "address",
1392
+ "name": "to",
1393
+ "type": "address"
1394
+ },
1395
+ {
1396
+ "internalType": "uint256",
1397
+ "name": "tokenId",
1398
+ "type": "uint256"
1399
+ },
1400
+ {
1401
+ "internalType": "address",
1402
+ "name": "operator",
1403
+ "type": "address"
1404
+ }
1405
+ ],
1406
+ "name": "nftTransferFrom",
1407
+ "outputs": [],
1408
+ "stateMutability": "nonpayable",
1409
+ "type": "function"
1410
+ },
1411
+ {
1412
+ "inputs": [
1413
+ {
1414
+ "internalType": "string",
1415
+ "name": "cityName",
1416
+ "type": "string"
1417
+ }
1418
+ ],
1419
+ "name": "pauseCity",
1420
+ "outputs": [],
1421
+ "stateMutability": "nonpayable",
1422
+ "type": "function"
1423
+ },
1424
+ {
1425
+ "inputs": [
1426
+ {
1427
+ "internalType": "NftId",
1428
+ "name": "policyNftId",
1429
+ "type": "uint96"
1430
+ },
1431
+ {
1432
+ "internalType": "ClaimId",
1433
+ "name": "claimId",
1434
+ "type": "uint16"
1435
+ },
1436
+ {
1437
+ "internalType": "Amount",
1438
+ "name": "availableAmount",
1439
+ "type": "uint96"
1440
+ }
1441
+ ],
1442
+ "name": "processFundedClaim",
1443
+ "outputs": [],
1444
+ "stateMutability": "nonpayable",
1445
+ "type": "function"
1446
+ },
1447
+ {
1448
+ "inputs": [
1449
+ {
1450
+ "internalType": "address",
1451
+ "name": "component",
1452
+ "type": "address"
1453
+ }
1454
+ ],
1455
+ "name": "registerComponent",
1456
+ "outputs": [
1457
+ {
1458
+ "internalType": "NftId",
1459
+ "name": "componentNftId",
1460
+ "type": "uint96"
1461
+ }
1462
+ ],
1463
+ "stateMutability": "nonpayable",
1464
+ "type": "function"
1465
+ },
1466
+ {
1467
+ "inputs": [
1468
+ {
1469
+ "internalType": "uint256",
1470
+ "name": "fireId",
1471
+ "type": "uint256"
1472
+ },
1473
+ {
1474
+ "internalType": "string",
1475
+ "name": "cityName",
1476
+ "type": "string"
1477
+ },
1478
+ {
1479
+ "internalType": "DamageLevel",
1480
+ "name": "damageLevel",
1481
+ "type": "uint8"
1482
+ },
1483
+ {
1484
+ "internalType": "Timestamp",
1485
+ "name": "reportedAt",
1486
+ "type": "uint40"
1487
+ }
1488
+ ],
1489
+ "name": "reportFire",
1490
+ "outputs": [],
1491
+ "stateMutability": "nonpayable",
1492
+ "type": "function"
1493
+ },
1494
+ {
1495
+ "inputs": [
1496
+ {
1497
+ "internalType": "string",
1498
+ "name": "cityName",
1499
+ "type": "string"
1500
+ }
1501
+ ],
1502
+ "name": "riskId",
1503
+ "outputs": [
1504
+ {
1505
+ "internalType": "RiskId",
1506
+ "name": "",
1507
+ "type": "bytes8"
1508
+ }
1509
+ ],
1510
+ "stateMutability": "view",
1511
+ "type": "function"
1512
+ },
1513
+ {
1514
+ "inputs": [
1515
+ {
1516
+ "internalType": "address",
1517
+ "name": "newAuthority",
1518
+ "type": "address"
1519
+ }
1520
+ ],
1521
+ "name": "setAuthority",
1522
+ "outputs": [],
1523
+ "stateMutability": "nonpayable",
1524
+ "type": "function"
1525
+ },
1526
+ {
1527
+ "inputs": [
1528
+ {
1529
+ "components": [
1530
+ {
1531
+ "internalType": "UFixed",
1532
+ "name": "fractionalFee",
1533
+ "type": "uint256"
1534
+ },
1535
+ {
1536
+ "internalType": "uint256",
1537
+ "name": "fixedFee",
1538
+ "type": "uint256"
1539
+ }
1540
+ ],
1541
+ "internalType": "struct Fee",
1542
+ "name": "productFee",
1543
+ "type": "tuple"
1544
+ },
1545
+ {
1546
+ "components": [
1547
+ {
1548
+ "internalType": "UFixed",
1549
+ "name": "fractionalFee",
1550
+ "type": "uint256"
1551
+ },
1552
+ {
1553
+ "internalType": "uint256",
1554
+ "name": "fixedFee",
1555
+ "type": "uint256"
1556
+ }
1557
+ ],
1558
+ "internalType": "struct Fee",
1559
+ "name": "processingFee",
1560
+ "type": "tuple"
1561
+ }
1562
+ ],
1563
+ "name": "setFees",
1564
+ "outputs": [],
1565
+ "stateMutability": "nonpayable",
1566
+ "type": "function"
1567
+ },
1568
+ {
1569
+ "inputs": [
1570
+ {
1571
+ "internalType": "bool",
1572
+ "name": "locked",
1573
+ "type": "bool"
1574
+ }
1575
+ ],
1576
+ "name": "setLocked",
1577
+ "outputs": [],
1578
+ "stateMutability": "nonpayable",
1579
+ "type": "function"
1580
+ },
1581
+ {
1582
+ "inputs": [
1583
+ {
1584
+ "internalType": "address",
1585
+ "name": "newWallet",
1586
+ "type": "address"
1587
+ }
1588
+ ],
1589
+ "name": "setWallet",
1590
+ "outputs": [],
1591
+ "stateMutability": "nonpayable",
1592
+ "type": "function"
1593
+ },
1594
+ {
1595
+ "inputs": [
1596
+ {
1597
+ "internalType": "NftId",
1598
+ "name": "policyNftId",
1599
+ "type": "uint96"
1600
+ },
1601
+ {
1602
+ "internalType": "uint256",
1603
+ "name": "fireId",
1604
+ "type": "uint256"
1605
+ }
1606
+ ],
1607
+ "name": "submitClaim",
1608
+ "outputs": [
1609
+ {
1610
+ "internalType": "ClaimId",
1611
+ "name": "claimId",
1612
+ "type": "uint16"
1613
+ },
1614
+ {
1615
+ "internalType": "PayoutId",
1616
+ "name": "payoutId",
1617
+ "type": "uint40"
1618
+ }
1619
+ ],
1620
+ "stateMutability": "nonpayable",
1621
+ "type": "function"
1622
+ },
1623
+ {
1624
+ "inputs": [
1625
+ {
1626
+ "internalType": "bytes4",
1627
+ "name": "interfaceId",
1628
+ "type": "bytes4"
1629
+ }
1630
+ ],
1631
+ "name": "supportsInterface",
1632
+ "outputs": [
1633
+ {
1634
+ "internalType": "bool",
1635
+ "name": "",
1636
+ "type": "bool"
1637
+ }
1638
+ ],
1639
+ "stateMutability": "view",
1640
+ "type": "function"
1641
+ },
1642
+ {
1643
+ "inputs": [
1644
+ {
1645
+ "internalType": "string",
1646
+ "name": "cityName",
1647
+ "type": "string"
1648
+ }
1649
+ ],
1650
+ "name": "unpauseCity",
1651
+ "outputs": [],
1652
+ "stateMutability": "nonpayable",
1653
+ "type": "function"
1654
+ },
1655
+ {
1656
+ "inputs": [
1657
+ {
1658
+ "internalType": "Amount",
1659
+ "name": "amount",
1660
+ "type": "uint96"
1661
+ }
1662
+ ],
1663
+ "name": "withdrawFees",
1664
+ "outputs": [
1665
+ {
1666
+ "internalType": "Amount",
1667
+ "name": "withdrawnAmount",
1668
+ "type": "uint96"
1669
+ }
1670
+ ],
1671
+ "stateMutability": "nonpayable",
1672
+ "type": "function"
1673
+ }
1674
+ ],
1675
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051616dcf380380616dcf83398101604081905261002e9161160e565b3361003d868686868686610048565b5050505050506119af565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100915750825b90505f826001600160401b031660011480156100ac5750303b155b9050811580156100ba575080155b156100d85760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561010657845460ff60401b1916680100000000000000001785555b6105728b8b8b8b604051806101e001604052805f151581526020015f151581526020015f151581526020015f60ff1681526020015f60ff16815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561018a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ae91906116a5565b6001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610203573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022791906116a5565b6001600160601b031681526020015f60405190808252806020026020018201604052801561025f578160200160208202803683370190505b50815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af41580156102ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102cf91906116be565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af415801561031a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061033e91906116be565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015610389573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ad91906116be565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af41580156103f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041c91906116be565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015610467573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048b91906116be565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af41580156104d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fa91906116be565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015610545573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056991906116be565b90528c8c6105c5565b83156105b857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b6105cd6105fa565b6105f18787878787878760405180602001604052805f81525061064a60201b60201c565b50505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661064857604051631afcd79f60e31b815260040160405180910390fd5b565b6106526105fa565b61066988888888600c60208a015189908989610935565b5f7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d68008551815460208089015160408a015160608b015160808c015160a08d015160c08e015161ffff1990971697151561ff00191697909717610100941515949094029390931763ffff00001916620100009215159290920263ff000000191691909117630100000060ff9283160217600160201b600160881b0319166401000000009190921602600160281b600160881b03191617650100000000006001600160601b039485160217600160881b600160e81b031916600160881b939092169290920217825560e087015180519293508792849261076e92600185019291019061145a565b506101008201518051600283015560209081015160038301556101208301518051600484015581015160058301556101408301518051600684015581015160078301556101608301518051600884015581015160098301556101808301518051600a840155810151600b8301556101a08301518051600c840155810151600d8301556101c0909201518051600e83015590910151600f909101556108176019610b6a565b610b6a565b6011820180546001600160a01b0319166001600160a01b0392909216919091179055610844610812601490565b6012820180546001600160a01b0319166001600160a01b0392909216919091179055610871610812601590565b6013820180546001600160a01b0319166001600160a01b039290921691909117905561089e610812601790565b6014820180546001600160a01b0319166001600160a01b03929092169190911790556108cb610812601a90565b6015820180546001600160a01b0319166001600160a01b03929092169190911790556108f8610812600b90565b6010820180546001600160a01b0319166001600160a01b039290921691909117905561092a631c56415960e31b610c2c565b505050505050505050565b61093d6105fa565b5f6109498a8a88610c58565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa1580156109bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109df919061170c565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051610a7f929163bf7e214f9160048083019260209291908290030181865afa158015610a39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5d919061170c565b8c8c8c8c8c8b8b60405180602001604052805f8152508c610d0960201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610ac6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aea919061170c565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055610b28610812600b90565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610b5a634a531f3360e01b610c2c565b6105b863a9c1bc6f60e01b610c2c565b5f610b7d6001546001600160a01b031690565b6001600160a01b031663d39e604383610bbf7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3005460ff600160681b9091041690565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610c02573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c26919061170c565b92915050565b610c346105fa565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03610c7957610c708484600a610f90565b50829050610d02565b5f610c868585600c610f90565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015610cd3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cfa919081019061176d565b602001519150505b9392505050565b610d116105fa565b5f896001600160a01b031663caed98976040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d72919061170c565b90505f8b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd5919061183d565b905060ff8716600314610ea057604051637d482da160e01b81526001600160a01b0380841660048301528916602482015246604482015260ff8216606482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90637d482da190608401602060405180830381865af4158015610e4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e739190611858565b610ea057604051638071294b60e01b81526001600160a01b03891660048201526024015b60405180910390fd5b88515f03610ec15760405163591eebf360e11b815260040160405180910390fd5b610ed08c8c8c8a8a8a8a611055565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080610efc8b826118f5565b50600181018054881515600160a01b026001600160a81b03199091166001600160a01b038c161717905560028101610f3485826118f5565b50610f3f600b610b6a565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610f71634a531f3360e01b610c2c565b610f816306e9e5ff60e31b610c2c565b50505050505050505050505050565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610fde573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611005919081019061176d565b905061101c81604001518460ff9081169116141590565b1561104d57604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610e97565b509392505050565b61105d6105fa565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156110b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d79190611858565b6110ff5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610e97565b6111088761121f565b6111128683611233565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa1580156111a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c9919061183d565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b851515021781556001810161120483826118f5565b50611215634a531f3360e01b610c2c565b5050505050505050565b6112276105fa565b611230816112c5565b50565b61123b6105fa565b611244826112d6565b61124c6113a2565b6001600160a01b0381166112735760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b6112cd6105fa565b611230816113e7565b6112de6105fa565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611334573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113589190611858565b6113805760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e97565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6113aa6105fa565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b828054828255905f5260205f20906001016002900481019282156114ff579160200282015f5b838211156114ca57835183826101000a8154816001600160601b0302191690836001600160601b031602179055509260200192600c01602081600b01049283019260010302611480565b80156114fd5782816101000a8154906001600160601b030219169055600c01602081600b010492830192600103026114ca565b505b5061150b92915061150f565b5090565b5b8082111561150b575f8155600101611510565b6001600160a01b0381168114611230575f80fd5b805161154281611523565b919050565b80516001600160601b0381168114611542575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156115935761159361155d565b60405290565b5f806001600160401b038411156115b2576115b261155d565b50604051601f19601f85018116603f011681018181106001600160401b03821117156115e0576115e061155d565b6040528381529050808284018510156115f7575f80fd5b8383602083015e5f60208583010152509392505050565b5f805f805f60a08688031215611622575f80fd5b855161162d81611523565b945061163b60208701611547565b60408701519094506001600160401b03811115611656575f80fd5b8601601f81018813611666575f80fd5b61167588825160208401611599565b935050606086015161168681611523565b608087015190925061169781611523565b809150509295509295909350565b5f602082840312156116b5575f80fd5b610d0282611547565b5f60408284031280156116cf575f80fd5b50604080519081016001600160401b03811182821017156116f2576116f261155d565b604052825181526020928301519281019290925250919050565b5f6020828403121561171c575f80fd5b8151610d0281611523565b60ff81168114611230575f80fd5b805161154281611727565b80518015158114611542575f80fd5b5f82601f83011261175e575f80fd5b610d0283835160208501611599565b5f6020828403121561177d575f80fd5b81516001600160401b03811115611792575f80fd5b820160e081850312156117a3575f80fd5b6117ab611571565b6117b482611547565b81526117c260208301611547565b60208201526117d360408301611735565b60408201526117e460608301611740565b60608201526117f560808301611537565b608082015261180660a08301611537565b60a082015260c08201516001600160401b03811115611823575f80fd5b61182f8682850161174f565b60c083015250949350505050565b5f6020828403121561184d575f80fd5b8151610d0281611727565b5f60208284031215611868575f80fd5b610d0282611740565b600181811c9082168061188557607f821691505b6020821081036118a357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156118f057805f5260205f20601f840160051c810160208510156118ce5750805b601f840160051c820191505b818110156118ed575f81556001016118da565b50505b505050565b81516001600160401b0381111561190e5761190e61155d565b6119228161191c8454611871565b846118a9565b6020601f821160018114611954575f831561193d5750848201515b5f19600385901b1c1916600184901b1784556118ed565b5f84815260208120601f198516915b828110156119835787850151825560209485019460019092019101611963565b50848210156119a057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b615413806119bc5f395ff3fe608060405234801561000f575f80fd5b5060043610610319575f3560e01c80636bd1c0eb116101af578063b6b412ba116100fe578063deaa59df1161009e578063ea15869f11610079578063ea15869f14610760578063eb0df31914610787578063f179d0641461079a578063f29d9cd8146107ad575f80fd5b8063deaa59df14610726578063e1f216fa14610739578063e9b2460c1461074c575f80fd5b8063c108bd4c116100d9578063c108bd4c146106c6578063c9d87e69146106db578063d8fb2577146106e3578063de7b5d14146106f6575f80fd5b8063b6b412ba14610698578063b8bc787e146106ab578063bf7e214f146106be575f80fd5b806390edbd3511610169578063aa5ae5aa11610144578063aa5ae5aa14610656578063ad12ad6014610669578063ada9652e1461067c578063b423086c14610690575f80fd5b806390edbd351461061b5780639ffcede914610630578063a7407c7114610643575f80fd5b80636bd1c0eb1461055b57806376b707b71461058b5780637a9e5e4b146105b65780637baa9a0b146105c9578063893d20e8146105f25780638fb36037146105fa575f80fd5b8063223668441161026b5780634545177f116102255780635ab1bd53116102005780635ab1bd531461051c5780636078a3b21461052d578063644c45e01461054057806364854f9b14610548575f80fd5b80634545177f146104ee5780635349d2a8146105015780635741e5e914610514575f80fd5b8063223668441461047c57806322f3e2d4146104845780632eb3e6f41461048c578063330234fc146104b3578063419197fe146104d357806343d752d3146104e6575f80fd5b806313299604116102d65780631c6b2190116102b15780631c6b21901461042c5780631eff4b221461043f578063211e28b61461046157806321df0da714610474575f80fd5b806313299604146103d7578063138461e0146103f757806317d7de7c14610417575f80fd5b806301ffc9a71461031d578063034dac631461035e5780630aaba8e8146103735780630bb9b257146103865780630d8e6e2c146103a65780630fec111c146103c2575b5f80fd5b61034961032b366004613f0e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61037161036c3660046140a3565b6107e0565b005b61037161038136600461411e565b610a82565b610399610394366004614139565b610ae1565b604051610355919061417e565b6103ae610bcb565b60405162ffffff9091168152602001610355565b6103ca610c52565b60405161035591906141c3565b6103df610df9565b6040516001600160a01b039091168152602001610355565b6103ff610e61565b6040516001600160601b039091168152602001610355565b61041f610e6b565b604051610355919061424f565b6103ff61043a36600461411e565b610e7b565b6104535f8051602061539e83398151915281565b604051908152602001610355565b61037161046f36600461426e565b610ed1565b6103df610f18565b610349610f2a565b610349611020565b6104537fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6104c66104c1366004614289565b611097565b60405161035591906142ba565b6103716104e13660046142e3565b611276565b6103df6112c8565b61041f6104fc366004614139565b6112da565b6103ff61050f36600461432f565b611385565b610349611447565b6001546001600160a01b03166103df565b6103ff61053b3660046143c4565b611504565b6103ff6115cd565b6103ff6105563660046143df565b6115e8565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166103df565b5f8051602061539e83398151915254600160681b900460ff1660405160ff9091168152602001610355565b6103716105c43660046143c4565b611726565b6105dc6105d7366004614444565b6117a8565b60405164ffffffffff9091168152602001610355565b6103df61180d565b61060261193e565b6040516001600160e01b03199091168152602001610355565b610623611973565b6040516103559190614470565b61037161063e36600461411e565b611998565b6103ff6106513660046143df565b6119f2565b610371610664366004614444565b611b2c565b6103716106773660046144cd565b611b98565b6104535f8051602061533e83398151915281565b610623611c3a565b6103716106a636600461455e565b611c4a565b6104c66106b9366004614289565b611c98565b6103df611ca9565b6106ce611cc4565b60405161035591906145d4565b600254610453565b6103716106f1366004614289565b611fa3565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166103df565b6103716107343660046143c4565b6120a4565b61037161074736600461473d565b6120f1565b6104535f8051602061537e83398151915281565b6104537fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b610371610795366004614289565b61210e565b6103ff6107a8366004614785565b61220a565b6107c06107bb3660046147f5565b612509565b6040805161ffff909316835264ffffffffff909116602083015201610355565b6107ec335b5f366127db565b6003836040516107fc9190614836565b90815260405190819003602001812054637bc32ecf60e01b825273__$32e9ecefef68cb354d118e0496fdd3f4bc$__91637bc32ecf91610852916001600160c01b031960c09290921b91909116906004016142ba565b602060405180830381865af415801561086d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610891919061484c565b156108ba57826040516316add56760e21b81526004016108b1919061424f565b60405180910390fd5b6109388173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610905573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109299190614872565b64ffffffffff90811691161190565b156109565760405163a9f68a6b60e01b815260040160405180910390fd5b5f8481526004602081905260409182902060010154915163790a38ad60e01b815261010090920464ffffffffff169082015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156109c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e6919061484c565b610a0357604051636ec7628b60e11b815260040160405180910390fd5b6040805160608101825284815260ff841660208083019190915264ffffffffff8416828401525f87815260049091529190912081518190610a449082614909565b5060208201516001909101805460409093015164ffffffffff166101000265ffffffffffff1990931660ff9092169190911791909117905550505050565b610a8b336107e5565b610a9361180d565b6001600160a01b0316336001600160a01b031614610ac65760405163086391f760e31b81523360048201526024016108b1565b806015610ad382826128d9565b610adc83612990565b505050565b604080516060808201835281525f60208201819052918101919091525f8281526004602052604090819020815160608101909252805482908290610b249061488d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b509061488d565b8015610b9b5780601f10610b7257610100808354040283529160200191610b9b565b820191905f5260205f20905b815481529060010190602001808311610b7e57829003601f168201915b50505091835250506001919091015460ff81166020830152610100900464ffffffffff1660409091015292915050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610c29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d91906149c3565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f8051602061539e83398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ceb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d0f91906149f0565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a001610d5761180d565b6001600160a01b03168152602001826001018054610d749061488d565b80601f0160208091040260200160405190810160405280929190818152602001828054610da09061488d565b8015610deb5780601f10610dc257610100808354040283529160200191610deb565b820191905f5260205f20905b815481529060010190602001808311610dce57829003601f168201915b505050505081525091505090565b5f610e026112c8565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d9190614a16565b5f610c4d30612a0d565b6060610e75611973565b51919050565b5f610e85336107e5565b610e8d61180d565b6001600160a01b0316336001600160a01b031614610ec05760405163086391f760e31b81523360048201526024016108b1565b610ec982612c06565b90505b919050565b610ed961180d565b6001600160a01b0316336001600160a01b031614610f0c5760405163086391f760e31b81523360048201526024016108b1565b610f1581612c5e565b50565b5f610f21611973565b60200151905090565b5f610f3d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610f81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fa591906149f0565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ffc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d919061484c565b5f611029611ca9565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa15801561106d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611091919061484c565b15905090565b5f6003826040516110a89190614836565b90815260405190819003602001812054637bc32ecf60e01b825273__$32e9ecefef68cb354d118e0496fdd3f4bc$__91637bc32ecf916110fe916001600160c01b031960c09290921b91909116906004016142ba565b602060405180830381865af4158015611119573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113d919061484c565b61116a576003826040516111519190614836565b9081526040519081900360200190205460c01b92915050565b600280546001810182555f919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace016111a58382614909565b5060405163253a42dd60e11b815273__$32e9ecefef68cb354d118e0496fdd3f4bc$__90634a7485ba906111dd90859060040161424f565b602060405180830381865af41580156111f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121c9190614a3c565b90506112368160405180602001604052805f815250612cb5565b806003836040516112479190614836565b908152604051908190036020019020805460c09290921c67ffffffffffffffff19909216919091179055919050565b61127f336107e5565b61128761180d565b6001600160a01b0316336001600160a01b0316146112ba5760405163086391f760e31b81523360048201526024016108b1565b6112c48282612d2f565b5050565b5f6112d1611973565b60400151905090565b6060600282815481106112ef576112ef614a57565b905f5260205f200180546113029061488d565b80601f016020809104026020016040519081016040528092919081815260200182805461132e9061488d565b80156113795780601f1061135057610100808354040283529160200191611379565b820191905f5260205f20905b81548152906001019060200180831161135c57829003601f168201915b50505050509050919050565b5f82601f61139382826128d9565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d6815545f906001600160a01b031663f4bfe53a6113cd6115cd565b8b8d8c8c8c8c6040518863ffffffff1660e01b81526004016113f59796959493929190614a6b565b61024060405180830381865afa158015611411573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114359190614ae8565b60a001519a9950505050505050505050565b5f611450610f2a565b156114d4576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156114a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526114cb9190810190614ca9565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f61150d61180d565b6001600160a01b0316336001600160a01b0316146115405760405163086391f760e31b81523360048201526024016108b1565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d68105460405163303c51d960e11b81526001600160a01b03848116600483015290911690636078a3b2906024015b6020604051808303815f875af11580156115a9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec991906149f0565b5f8051602061533e833981519152546001600160601b031690565b5f6115f2336107e5565b81601f6115ff82826128d9565b335f61160a89611097565b90505f61168e89838a60405180602001604052805f8152508b73__$05887d5853069c88bcd4c0a2107db45f29$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561166a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050f9190614a3c565b905061171883838b848c8c73__$05887d5853069c88bcd4c0a2107db45f29$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156116e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117049190614a3c565b60405180602001604052805f815250612d8f565b9a9950505050505050505050565b3361172f611ca9565b6001600160a01b0316816001600160a01b03161461176a5760405162d1953b60e31b81526001600160a01b03821660048201526024016108b1565b816001600160a01b03163b5f0361179f576040516361798f2f60e11b81526001600160a01b03831660048201526024016108b1565b6112c482612e39565b5f6117b2336107e5565b6117ba61180d565b6001600160a01b0316336001600160a01b0316146117ed5760405163086391f760e31b81523360048201526024016108b1565b8260156117fa82826128d9565b6118048585612e99565b95945050505050565b5f805f8051602061533e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611879573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189d919061484c565b15611928576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156118fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119229190614a16565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061535e83398151915280545f9190600160a01b900460ff16611965575f611922565b638fb3603760e01b91505090565b61197b613ed6565b611983610f2a565b1561199057610c4d612f31565b610c4d611c3a565b6119a1336107e5565b6119a961180d565b6001600160a01b0316336001600160a01b0316146119dc5760405163086391f760e31b81523360048201526024016108b1565b8060156119e982826128d9565b610adc836130de565b5f81601f611a0082826128d9565b5f600388604051611a119190614836565b90815260405190819003602001812054637bc32ecf60e01b825260c01b915073__$32e9ecefef68cb354d118e0496fdd3f4bc$__90637bc32ecf90611a64906001600160c01b03198516906004016142ba565b602060405180830381865af4158015611a7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa3919061484c565b15611ac357876040516316add56760e21b81526004016108b1919061424f565b611b2087828860405180602001604052805f8152508973__$05887d5853069c88bcd4c0a2107db45f29$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561166a573d5f803e3d5ffd5b98975050505050505050565b611b35336107e5565b611b3d61180d565b6001600160a01b0316336001600160a01b031614611b705760405163086391f760e31b81523360048201526024016108b1565b816015611b7d82826128d9565b611b878484613136565b50611b9284846131c7565b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c039190614a16565b6001600160a01b0316336001600160a01b031614611c355760405162f0630960e01b81523360048201526024016108b1565b611b92565b611c42613ed6565b610c4d612f31565b611c5261180d565b6001600160a01b0316336001600160a01b031614611c855760405163086391f760e31b81523360048201526024016108b1565b611c8e336107e5565b6112c4828261322c565b5f6003826040516111519190614836565b5f8051602061535e833981519152546001600160a01b031690565b611da2604080516101e0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e08401528351808501855282815280820183905261010084015283518085018552828152808201839052610120840152835180850185528281528082018390526101408401528351808501855282815280820183905261016084015283518085018552828152808201839052610180840152835180850185528281528082018390526101a08401528351808501909452818452830152906101c082015290565b604080516101e0810182525f8051602061537e833981519152805460ff8082161515845261010082048116151560208086019190915262010000830482161515858701526301000000830482166060860152640100000000830490911660808501526001600160601b03650100000000008304811660a0860152600160881b90920490911660c08401527f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680180548551818402810184019096528086529394929360e086019392830182828015611ec657602002820191905f5260205f20905f905b82829054906101000a90046001600160601b03166001600160601b0316815260200190600c0190602082600b01049283019260010382029150808411611e835790505b505050918352505060408051808201825260028401548152600384015460208281019190915280840191909152815180830183526004850154815260058501548183015282840152815180830183526006850154815260078501548183015260608401528151808301835260088501548152600985015481830152608084015281518083018352600a8501548152600b8501548183015260a084015281518083018352600c8501548152600d8501548183015260c08401528151808301909252600e8401548252600f909301549281019290925260e00152919050565b611fac336107e5565b600381604051611fbc9190614836565b90815260405190819003602001812054637bc32ecf60e01b825273__$32e9ecefef68cb354d118e0496fdd3f4bc$__91637bc32ecf91612012916001600160c01b031960c09290921b91909116906004016142ba565b602060405180830381865af415801561202d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612051919061484c565b1561207157806040516316add56760e21b81526004016108b1919061424f565b610f156003826040516120849190614836565b9081526040519081900360200190205460c01b61209f606e90565b61327d565b6120ad336107e5565b6120b561180d565b6001600160a01b0316336001600160a01b0316146120e85760405163086391f760e31b81523360048201526024016108b1565b610f15816132df565b6120fa336107e5565b82601561210782826128d9565b5050505050565b612117336107e5565b6003816040516121279190614836565b90815260405190819003602001812054637bc32ecf60e01b825273__$32e9ecefef68cb354d118e0496fdd3f4bc$__91637bc32ecf9161217d916001600160c01b031960c09290921b91909116906004016142ba565b602060405180830381865af4158015612198573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121bc919061484c565b156121dc57806040516316add56760e21b81526004016108b1919061424f565b610f156003826040516121ef9190614836565b9081526040519081900360200190205460c01b61209f600590565b604051633682752160e21b815264ffffffffff831660048201525f90819073__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e90620151809073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af4158015612283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a79190614d79565b6122b19190614da4565b6040518263ffffffff1660e01b81526004016122cf91815260200190565b602060405180830381865af41580156122ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230e9190614d79565b90505f6123948273__$bf7bc340cbb9229ef1de2c568356e67902$__6345ebb61e6101686040518263ffffffff1660e01b815260040161235091815260200190565b602060405180830381865af415801561236b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061238f9190614d79565b613354565b60405163046e44af60e11b81526001600160601b03891660048201529091505f9073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969060149083906308dc895e90602401602060405180830381865af41580156123fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061241e9190614d79565b6124289190614da4565b6040518263ffffffff1660e01b815260040161244691815260200190565b602060405180830381865af4158015612461573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248591906149f0565b604051632c34efe560e11b81526001600160601b03821660048201526024810184905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af41580156124e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2091906149f0565b5f80612514336107e5565b836125276001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa15801561257a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061259e919061484c565b6125bd5760405163086391f760e31b81523360048201526024016108b1565b8460156125ca82826128d9565b5f6125d3613388565b60405163bd7d9d8560e01b81526001600160601b038a1660048201526001600160a01b03919091169063bd7d9d85906024015f60405180830381865afa15801561261f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126469190810190614dce565b90506126538882896133b6565b5f878152600460205260408082208151606081019092528054829082906126799061488d565b80601f01602080910402602001604051908101604052809291908181526020018280546126a59061488d565b80156126f05780601f106126c7576101008083540402835291602001916126f0565b820191905f5260205f20905b8154815290600101906020018083116126d357829003601f168201915b505050918352505060019182015460ff811660208084019190915261010090910464ffffffffff166040928301525f8c8152600582528281206001600160601b038f1682528252918220805460ff19169093179092556080850151918301519293509161275e918c916136a1565b905061278c8a828b60405160200161277891815260200190565b6040516020818303038152906040526137da565b97506127a88a898360405180602001604052805f815250613862565b6127c28a898360405180602001604052805f8152506138d7565b96506127ce8a88613959565b5050505050509250929050565b5f8051602061535e8339815191525f806128136127f6611ca9565b873061280560045f8a8c614f61565b61280e91614f88565b6139ab565b91509150816128d15763ffffffff8116156128ae57825460ff60a01b1916600160a01b178355612841611ca9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161287093929190614fc0565b5f604051808303815f87803b158015612887575f80fd5b505af1158015612899573d5f803e3d5ffd5b5050845460ff60a01b19168555506128d19050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108b1565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561293b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061295f919061484c565b6112c45760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016108b1565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681354604051630155751d60e31b81526001600160601b03831660048201526001600160a01b0390911690630aaba8e8906024015b5f604051808303815f87803b1580156129fb575f80fd5b505af1158015612107573d5f803e3d5ffd5b5f805f8051602061533e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612a79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9d919061484c565b15612ac95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612b1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b3f919061484c565b612b675760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612bb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bdd91906149f0565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f03546040516301c6b21960e41b81526001600160601b03831660048201525f916001600160a01b031690631c6b21909060240161158d565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163570fd2f360e11b815230600482015282151560248201526001600160a01b039091169063ae1fa5e6906044016129e4565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d6811546040516304af15b960e11b81526001600160a01b039091169063095e2b7290612d069085908590600401614fff565b5f604051808303815f87803b158015612d1d575f80fd5b505af11580156128d1573d5f803e3d5ffd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe90604401612d06565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681254604051639a83274160e01b81525f916001600160a01b031690639a83274190612dec908c908c908c908c908c908c908c908c90600401615023565b6020604051808303815f875af1158015612e08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e2c91906149f0565b9998505050505050505050565b5f8051602061535e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f5f8051602061537e83398151915260130154604051637baa9a0b60e01b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b0390911690637baa9a0b906044016020604051808303815f875af1158015612f06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f2a9190614872565b9392505050565b612f39613ed6565b5f612f4c6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612f90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fb491906149f0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561300d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613031919061484c565b156130d65761303e613388565b6001600160a01b031663f0ea17c36130546115cd565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015613095573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130bc919081019061508b565b60408101519092506001600160a01b0316156130d6575090565b611922613ab3565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681354604051639ffcede960e01b81526001600160601b03831660048201526001600160a01b0390911690639ffcede9906024016129e4565b5f5f8051602061537e8339815191526013015460405163552d72d560e11b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b039091169063aa5ae5aa906044016020604051808303815f875af11580156131a3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f2a91906149f0565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681354604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401612d06565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d68105460405163067ba1c160e41b81526001600160a01b03909116906367ba1c1090612d069085908590600401615154565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681154604051633e77a42160e11b81526001600160c01b03198416600482015260ff831660248201526001600160a01b0390911690637cef484290604401612d06565b6132e761180d565b6001600160a01b0316336001600160a01b03161461331a5760405163086391f760e31b81523360048201526024016108b1565b613324600b613ba5565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024016129e4565b5f815f0361337557604051630f6c8fc360e21b815260040160405180910390fd5b612f2a83670de0b6b3a764000084613c4e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b5f8181526004602081905260409182902060010154915163790a38ad60e01b815261010090920464ffffffffff169082015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015613422573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613446919061484c565b15613467576040516395b47f7b60e01b8152600481018290526024016108b1565b5f818152600460205260409081902090516134b891600391613489919061517a565b90815260405190819003602001902054606084015160c09190911b906001600160c01b03199081169116141590565b156134e8575f81815260046020819052604091829020915163d675176b60e01b81526108b19284929091016151eb565b5f8181526005602090815260408083206001600160601b038716845290915290205460ff161561352b57604051639758dd1d60e01b815260040160405180910390fd5b5f818152600460205260408082208151606081019092528054829082906135519061488d565b80601f016020809104026020016040519081016040528092919081815260200182805461357d9061488d565b80156135c85780601f1061359f576101008083540402835291602001916135c8565b820191905f5260205f20905b8154815290600101906020018083116135ab57829003601f168201915b50505091835250506001919091015460ff81166020830152610100900464ffffffffff166040918201528101516101a08501519192506136119164ffffffffff90811691161090565b1561364e576101a083015160405163fd05036760e01b81526001600160601b038616600482015264ffffffffff90911660248201526044016108b1565b60408101516101c084015164ffffffffff908116911610611b92576101c083015160405163505710d560e01b81526001600160601b038616600482015264ffffffffff90911660248201526044016108b1565b5f8073__$3bac17678db7ae928afa209f2f44deec9c$__635869dfca6001600160601b0386166136d086613d0d565b6040516001600160e01b031960e085901b1681526001600160601b0390921660048301526024820152604401602060405180830381865af4158015613717573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061373b91906149f0565b90505f613746613388565b604051630160668360e51b81526001600160601b03881660048201526001600160a01b039190911690632c0cd06090602401602060405180830381865afa158015613793573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137b791906149f0565b90506137c38183613e52565b156137d1579150612f2a9050565b50949350505050565b5f805160206153be833981519152546040516374b775eb60e01b81525f916001600160a01b0316906374b775eb9061381a90879087908790600401615279565b6020604051808303815f875af1158015613836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061385a91906152a9565b949350505050565b5f805160206153be83398151915254604051636e2cdce760e01b81526001600160a01b0390911690636e2cdce7906138a49087908790879087906004016152c4565b5f604051808303815f87803b1580156138bb575f80fd5b505af11580156138cd573d5f803e3d5ffd5b5050505050505050565b5f805160206153be83398151915254604051631e2992c760e11b81525f916001600160a01b031690633c53258e906139199088908890889088906004016152c4565b6020604051808303815f875af1158015613935573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118049190614872565b5f805160206153be8339815191525460405163137a92a760e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063137a92a790604401612d06565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613a199190614836565b5f60405180830381855afa9150503d805f8114613a51576040519150601f19603f3d011682016040523d82523d5f602084013e613a56565b606091505b50915091508115613aa8576040815110613a885780806020019051810190613a7e9190615308565b9094509250613aa8565b6020815110613aa85780806020019051810190613aa5919061484c565b93505b505094509492505050565b613abb613ed6565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f018054613af89061488d565b80601f0160208091040260200160405190810160405280929190818152602001828054613b249061488d565b8015613b6f5780601f10613b4657610100808354040283529160200191613b6f565b820191905f5260205f20905b815481529060010190602001808311613b5257829003601f168201915b505050918352505060018301546001600160a01b031660208201525f6040820152600283018054606090920191610d749061488d565b5f613bb86001546001600160a01b031690565b6001600160a01b031663d39e604383613be75f8051602061539e8339815191525460ff600160681b9091041690565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613c2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec99190614a16565b5f838302815f1985870982811083820303915050805f03613c8257838281613c7857613c78614d90565b0492505050612f2a565b808411613ca25760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f613d1f60015b60ff84811691161490565b15613d9f57604051631488c84560e01b815260196004820152600119602482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c845906044015b602060405180830381865af4158015613d7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec99190614d79565b613da96002613d14565b15613ded57604051631488c84560e01b8152600560048201525f19602482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401613d60565b613df76003613d14565b15613e34576040516322f5db0f60e11b81526001600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e90602401613d60565b6040516363d977df60e01b815260ff831660048201526024016108b1565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d6290604401602060405180830381865af4158015613eb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f2a919061484c565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613f1e575f80fd5b81356001600160e01b031981168114612f2a575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161024081016001600160401b0381118282101715613f6c57613f6c613f35565b60405290565b60405160e081016001600160401b0381118282101715613f6c57613f6c613f35565b60405161020081016001600160401b0381118282101715613f6c57613f6c613f35565b604051608081016001600160401b0381118282101715613f6c57613f6c613f35565b604051601f8201601f191681016001600160401b038111828210171561400157614001613f35565b604052919050565b5f6001600160401b0382111561402157614021613f35565b50601f01601f191660200190565b5f82601f83011261403e575f80fd5b8135602083015f61405661405184614009565b613fd9565b9050828152858383011115614069575f80fd5b828260208301375f92810160200192909252509392505050565b60ff81168114610f15575f80fd5b64ffffffffff81168114610f15575f80fd5b5f805f80608085870312156140b6575f80fd5b8435935060208501356001600160401b038111156140d2575f80fd5b6140de8782880161402f565b93505060408501356140ef81614083565b915060608501356140ff81614091565b939692955090935050565b6001600160601b0381168114610f15575f80fd5b5f6020828403121561412e575f80fd5b8135612f2a8161410a565b5f60208284031215614149575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f8251606060208401526141996080840182614150565b905060ff602085015116604084015264ffffffffff60408501511660608401528091505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161420b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261385a610100840182614150565b602081525f612f2a6020830184614150565b8015158114610f15575f80fd5b5f6020828403121561427e575f80fd5b8135612f2a81614261565b5f60208284031215614299575f80fd5b81356001600160401b038111156142ae575f80fd5b61385a8482850161402f565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114610f15575f80fd5b5f80604083850312156142f4575f80fd5b82356142ff816142cf565b9150602083013561430f8161410a565b809150509250929050565b6001600160c01b031981168114610f15575f80fd5b5f805f805f8060c08789031215614344575f80fd5b863561434f8161410a565b9550602087013561435f8161431a565b9450604087013561436f81614091565b935060608701356001600160401b03811115614389575f80fd5b61439589828a0161402f565b93505060808701356143a68161410a565b915060a08701356143b68161431a565b809150509295509295509295565b5f602082840312156143d4575f80fd5b8135612f2a816142cf565b5f805f80608085870312156143f2575f80fd5b84356001600160401b03811115614407575f80fd5b6144138782880161402f565b94505060208501356144248161410a565b9250604085013561443481614091565b915060608501356140ff8161410a565b5f8060408385031215614455575f80fd5b82356144608161410a565b9150602083013561430f81614091565b602081525f82516080602084015261448b60a0840182614150565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506118048282614150565b5f805f80608085870312156144e0575f80fd5b84356144eb816142cf565b935060208501356144fb816142cf565b92506040850135915060608501356140ff816142cf565b5f60408284031215614522575f80fd5b604080519081016001600160401b038111828210171561454457614544613f35565b604052823581526020928301359281019290925250919050565b5f806080838503121561456f575f80fd5b6145798484614512565b91506145888460408501614512565b90509250929050565b5f8151808452602084019350602083015f5b828110156145ca5781516001600160601b03168652602095860195909101906001016145a3565b5093949350505050565b602081526145e760208201835115159052565b5f60208301516145fb604084018215159052565b506040830151801515606084015250606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516102c061010084015261466e6102e0840182614591565b6101008501518051610120860152602081015161014086015290915050610120840151805161016085015260208101516101808501525061014084015180516101a085015260208101516101c08501525061016084015180516101e085015260208101516102008501525061018084015180516102208501526020810151610240850152506101a084015180516102608501526020810151610280850152506101c084015180516102a085015260208101516102c0850152509392505050565b61ffff81168114610f15575f80fd5b5f805f6060848603121561474f575f80fd5b833561475a8161410a565b9250602084013561476a8161472e565b9150604084013561477a8161410a565b809150509250925092565b5f805f8060808587031215614798575f80fd5b84356147a38161410a565b935060208501356147b38161431a565b925060408501356147c381614091565b915060608501356001600160401b038111156147dd575f80fd5b6147e98782880161402f565b91505092959194509250565b5f8060408385031215614806575f80fd5b82356148118161410a565b946020939093013593505050565b5f81518060208401855e5f93019283525090919050565b5f612f2a828461481f565b8051610ecc81614261565b5f6020828403121561485c575f80fd5b8151612f2a81614261565b8051610ecc81614091565b5f60208284031215614882575f80fd5b8151612f2a81614091565b600181811c908216806148a157607f821691505b6020821081036148bf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610adc57805f5260205f20601f840160051c810160208510156148ea5750805b601f840160051c820191505b81811015612107575f81556001016148f6565b81516001600160401b0381111561492257614922613f35565b61493681614930845461488d565b846148c5565b6020601f821160018114614968575f83156149515750848201515b5f19600385901b1c1916600184901b178455612107565b5f84815260208120601f198516915b828110156149975787850151825560209485019460019092019101614977565b50848210156149b457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156149d3575f80fd5b815162ffffff81168114612f2a575f80fd5b8051610ecc8161410a565b5f60208284031215614a00575f80fd5b8151612f2a8161410a565b8051610ecc816142cf565b5f60208284031215614a26575f80fd5b8151612f2a816142cf565b8051610ecc8161431a565b5f60208284031215614a4c575f80fd5b8151612f2a8161431a565b634e487b7160e01b5f52603260045260245ffd5b6001600160601b03881681526001600160401b0360c01b871660208201526001600160601b038616604082015264ffffffffff8516606082015260e060808201525f614aba60e0830186614150565b6001600160601b039490941660a0830152506001600160c01b03199190911660c09091015295945050505050565b5f610240828403128015614afa575f80fd5b50614b03613f49565b614b0c836149e5565b8152614b1a602084016149e5565b6020820152614b2b604084016149e5565b6040820152614b3c606084016149e5565b6060820152614b4d608084016149e5565b6080820152614b5e60a084016149e5565b60a0820152614b6f60c084016149e5565b60c0820152614b8060e084016149e5565b60e0820152614b9261010084016149e5565b610100820152614ba561012084016149e5565b610120820152614bb861014084016149e5565b610140820152614bcb61016084016149e5565b610160820152614bde61018084016149e5565b610180820152614bf16101a084016149e5565b6101a0820152614c046101c084016149e5565b6101c0820152614c176101e084016149e5565b6101e0820152614c2a61020084016149e5565b610200820152614c3d61022084016149e5565b6102208201529392505050565b8051610ecc81614083565b5f614c6261405184614009565b9050828152838383011115614c75575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112614c9a575f80fd5b612f2a83835160208501614c55565b5f60208284031215614cb9575f80fd5b81516001600160401b03811115614cce575f80fd5b820160e08185031215614cdf575f80fd5b614ce7613f72565b614cf0826149e5565b8152614cfe602083016149e5565b6020820152614d0f60408301614c4a565b6040820152614d2060608301614841565b6060820152614d3160808301614a0b565b6080820152614d4260a08301614a0b565b60a082015260c08201516001600160401b03811115614d5f575f80fd5b614d6b86828501614c8b565b60c083015250949350505050565b5f60208284031215614d89575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b5f82614dbe57634e487b7160e01b5f52601260045260245ffd5b500490565b8051610ecc8161472e565b5f60208284031215614dde575f80fd5b81516001600160401b03811115614df3575f80fd5b82016102008185031215614e05575f80fd5b614e0d613f94565b614e16826149e5565b8152614e24602083016149e5565b6020820152614e3560408301614a31565b6040820152614e4660608301614a31565b6060820152614e57608083016149e5565b6080820152614e6860a083016149e5565b60a0820152614e7960c08301614867565b60c082015260e08201516001600160401b03811115614e96575f80fd5b614ea286828501614c8b565b60e0830152506101008201516001600160401b03811115614ec1575f80fd5b614ecd86828501614c8b565b61010083015250614ee16101208301614dc3565b610120820152614ef46101408301614dc3565b610140820152614f0761016083016149e5565b610160820152614f1a61018083016149e5565b610180820152614f2d6101a08301614867565b6101a0820152614f406101c08301614867565b6101c0820152614f536101e08301614867565b6101e0820152949350505050565b5f8085851115614f6f575f80fd5b83861115614f7b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614fb9576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b6001600160401b0360c01b83168152604060208201525f61385a6040830184614150565b6001600160a01b03891681526001600160c01b031988811660208301526001600160601b038881166040840152878116606084015264ffffffffff87166080840152851660a0830152831660c082015261010060e082018190525f9061171890830184614150565b5f6020828403121561509b575f80fd5b81516001600160401b038111156150b0575f80fd5b8201608081850312156150c1575f80fd5b6150c9613fb7565b81516001600160401b038111156150de575f80fd5b8201601f810186136150ee575f80fd5b6150fd86825160208401614c55565b82525061510c60208301614a0b565b602082015261511d60408301614a0b565b604082015260608201516001600160401b0381111561513a575f80fd5b61514686828501614c8b565b606083015250949350505050565b825181526020808401518183015282516040830152820151606082015260808101612f2a565b5f8083546151878161488d565b60018216801561519e57600181146151b3576151e0565b60ff19831686528115158202860193506151e0565b865f5260205f205f5b838110156151d8578154888201526001909101906020016151bc565b505081860193505b509195945050505050565b828152604060208201525f8083546152028161488d565b806040860152600182165f8114615220576001811461523c5761526d565b60ff1983166060870152606082151560051b870101935061526d565b865f5260205f205f5b8381101561526457815488820160600152600190910190602001615245565b87016060019450505b50919695505050505050565b6001600160601b03841681526001600160601b0383166020820152606060408201525f6118046060830184614150565b5f602082840312156152b9575f80fd5b8151612f2a8161472e565b6001600160601b038516815261ffff841660208201526001600160601b0383166040820152608060608201525f6152fe6080830184614150565b9695505050505050565b5f8060408385031215615319575f80fd5b825161532481614261565b602084015190925063ffffffff8116811461430f575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a000bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d68006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3000bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d6814a26469706673582212206f716ad7aceb8c6ccd18fe0246dfdd0fb981db7139281ceb6ec672ceff81376764736f6c634300081a0033",
1676
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610319575f3560e01c80636bd1c0eb116101af578063b6b412ba116100fe578063deaa59df1161009e578063ea15869f11610079578063ea15869f14610760578063eb0df31914610787578063f179d0641461079a578063f29d9cd8146107ad575f80fd5b8063deaa59df14610726578063e1f216fa14610739578063e9b2460c1461074c575f80fd5b8063c108bd4c116100d9578063c108bd4c146106c6578063c9d87e69146106db578063d8fb2577146106e3578063de7b5d14146106f6575f80fd5b8063b6b412ba14610698578063b8bc787e146106ab578063bf7e214f146106be575f80fd5b806390edbd3511610169578063aa5ae5aa11610144578063aa5ae5aa14610656578063ad12ad6014610669578063ada9652e1461067c578063b423086c14610690575f80fd5b806390edbd351461061b5780639ffcede914610630578063a7407c7114610643575f80fd5b80636bd1c0eb1461055b57806376b707b71461058b5780637a9e5e4b146105b65780637baa9a0b146105c9578063893d20e8146105f25780638fb36037146105fa575f80fd5b8063223668441161026b5780634545177f116102255780635ab1bd53116102005780635ab1bd531461051c5780636078a3b21461052d578063644c45e01461054057806364854f9b14610548575f80fd5b80634545177f146104ee5780635349d2a8146105015780635741e5e914610514575f80fd5b8063223668441461047c57806322f3e2d4146104845780632eb3e6f41461048c578063330234fc146104b3578063419197fe146104d357806343d752d3146104e6575f80fd5b806313299604116102d65780631c6b2190116102b15780631c6b21901461042c5780631eff4b221461043f578063211e28b61461046157806321df0da714610474575f80fd5b806313299604146103d7578063138461e0146103f757806317d7de7c14610417575f80fd5b806301ffc9a71461031d578063034dac631461035e5780630aaba8e8146103735780630bb9b257146103865780630d8e6e2c146103a65780630fec111c146103c2575b5f80fd5b61034961032b366004613f0e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61037161036c3660046140a3565b6107e0565b005b61037161038136600461411e565b610a82565b610399610394366004614139565b610ae1565b604051610355919061417e565b6103ae610bcb565b60405162ffffff9091168152602001610355565b6103ca610c52565b60405161035591906141c3565b6103df610df9565b6040516001600160a01b039091168152602001610355565b6103ff610e61565b6040516001600160601b039091168152602001610355565b61041f610e6b565b604051610355919061424f565b6103ff61043a36600461411e565b610e7b565b6104535f8051602061539e83398151915281565b604051908152602001610355565b61037161046f36600461426e565b610ed1565b6103df610f18565b610349610f2a565b610349611020565b6104537fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6104c66104c1366004614289565b611097565b60405161035591906142ba565b6103716104e13660046142e3565b611276565b6103df6112c8565b61041f6104fc366004614139565b6112da565b6103ff61050f36600461432f565b611385565b610349611447565b6001546001600160a01b03166103df565b6103ff61053b3660046143c4565b611504565b6103ff6115cd565b6103ff6105563660046143df565b6115e8565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166103df565b5f8051602061539e83398151915254600160681b900460ff1660405160ff9091168152602001610355565b6103716105c43660046143c4565b611726565b6105dc6105d7366004614444565b6117a8565b60405164ffffffffff9091168152602001610355565b6103df61180d565b61060261193e565b6040516001600160e01b03199091168152602001610355565b610623611973565b6040516103559190614470565b61037161063e36600461411e565b611998565b6103ff6106513660046143df565b6119f2565b610371610664366004614444565b611b2c565b6103716106773660046144cd565b611b98565b6104535f8051602061533e83398151915281565b610623611c3a565b6103716106a636600461455e565b611c4a565b6104c66106b9366004614289565b611c98565b6103df611ca9565b6106ce611cc4565b60405161035591906145d4565b600254610453565b6103716106f1366004614289565b611fa3565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166103df565b6103716107343660046143c4565b6120a4565b61037161074736600461473d565b6120f1565b6104535f8051602061537e83398151915281565b6104537fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b610371610795366004614289565b61210e565b6103ff6107a8366004614785565b61220a565b6107c06107bb3660046147f5565b612509565b6040805161ffff909316835264ffffffffff909116602083015201610355565b6107ec335b5f366127db565b6003836040516107fc9190614836565b90815260405190819003602001812054637bc32ecf60e01b825273__$32e9ecefef68cb354d118e0496fdd3f4bc$__91637bc32ecf91610852916001600160c01b031960c09290921b91909116906004016142ba565b602060405180830381865af415801561086d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610891919061484c565b156108ba57826040516316add56760e21b81526004016108b1919061424f565b60405180910390fd5b6109388173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610905573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109299190614872565b64ffffffffff90811691161190565b156109565760405163a9f68a6b60e01b815260040160405180910390fd5b5f8481526004602081905260409182902060010154915163790a38ad60e01b815261010090920464ffffffffff169082015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156109c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e6919061484c565b610a0357604051636ec7628b60e11b815260040160405180910390fd5b6040805160608101825284815260ff841660208083019190915264ffffffffff8416828401525f87815260049091529190912081518190610a449082614909565b5060208201516001909101805460409093015164ffffffffff166101000265ffffffffffff1990931660ff9092169190911791909117905550505050565b610a8b336107e5565b610a9361180d565b6001600160a01b0316336001600160a01b031614610ac65760405163086391f760e31b81523360048201526024016108b1565b806015610ad382826128d9565b610adc83612990565b505050565b604080516060808201835281525f60208201819052918101919091525f8281526004602052604090819020815160608101909252805482908290610b249061488d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b509061488d565b8015610b9b5780601f10610b7257610100808354040283529160200191610b9b565b820191905f5260205f20905b815481529060010190602001808311610b7e57829003601f168201915b50505091835250506001919091015460ff81166020830152610100900464ffffffffff1660409091015292915050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610c29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d91906149c3565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f8051602061539e83398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ceb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d0f91906149f0565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a001610d5761180d565b6001600160a01b03168152602001826001018054610d749061488d565b80601f0160208091040260200160405190810160405280929190818152602001828054610da09061488d565b8015610deb5780601f10610dc257610100808354040283529160200191610deb565b820191905f5260205f20905b815481529060010190602001808311610dce57829003601f168201915b505050505081525091505090565b5f610e026112c8565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d9190614a16565b5f610c4d30612a0d565b6060610e75611973565b51919050565b5f610e85336107e5565b610e8d61180d565b6001600160a01b0316336001600160a01b031614610ec05760405163086391f760e31b81523360048201526024016108b1565b610ec982612c06565b90505b919050565b610ed961180d565b6001600160a01b0316336001600160a01b031614610f0c5760405163086391f760e31b81523360048201526024016108b1565b610f1581612c5e565b50565b5f610f21611973565b60200151905090565b5f610f3d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610f81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fa591906149f0565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ffc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d919061484c565b5f611029611ca9565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa15801561106d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611091919061484c565b15905090565b5f6003826040516110a89190614836565b90815260405190819003602001812054637bc32ecf60e01b825273__$32e9ecefef68cb354d118e0496fdd3f4bc$__91637bc32ecf916110fe916001600160c01b031960c09290921b91909116906004016142ba565b602060405180830381865af4158015611119573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113d919061484c565b61116a576003826040516111519190614836565b9081526040519081900360200190205460c01b92915050565b600280546001810182555f919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace016111a58382614909565b5060405163253a42dd60e11b815273__$32e9ecefef68cb354d118e0496fdd3f4bc$__90634a7485ba906111dd90859060040161424f565b602060405180830381865af41580156111f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121c9190614a3c565b90506112368160405180602001604052805f815250612cb5565b806003836040516112479190614836565b908152604051908190036020019020805460c09290921c67ffffffffffffffff19909216919091179055919050565b61127f336107e5565b61128761180d565b6001600160a01b0316336001600160a01b0316146112ba5760405163086391f760e31b81523360048201526024016108b1565b6112c48282612d2f565b5050565b5f6112d1611973565b60400151905090565b6060600282815481106112ef576112ef614a57565b905f5260205f200180546113029061488d565b80601f016020809104026020016040519081016040528092919081815260200182805461132e9061488d565b80156113795780601f1061135057610100808354040283529160200191611379565b820191905f5260205f20905b81548152906001019060200180831161135c57829003601f168201915b50505050509050919050565b5f82601f61139382826128d9565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d6815545f906001600160a01b031663f4bfe53a6113cd6115cd565b8b8d8c8c8c8c6040518863ffffffff1660e01b81526004016113f59796959493929190614a6b565b61024060405180830381865afa158015611411573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114359190614ae8565b60a001519a9950505050505050505050565b5f611450610f2a565b156114d4576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156114a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526114cb9190810190614ca9565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f61150d61180d565b6001600160a01b0316336001600160a01b0316146115405760405163086391f760e31b81523360048201526024016108b1565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d68105460405163303c51d960e11b81526001600160a01b03848116600483015290911690636078a3b2906024015b6020604051808303815f875af11580156115a9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec991906149f0565b5f8051602061533e833981519152546001600160601b031690565b5f6115f2336107e5565b81601f6115ff82826128d9565b335f61160a89611097565b90505f61168e89838a60405180602001604052805f8152508b73__$05887d5853069c88bcd4c0a2107db45f29$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561166a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050f9190614a3c565b905061171883838b848c8c73__$05887d5853069c88bcd4c0a2107db45f29$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156116e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117049190614a3c565b60405180602001604052805f815250612d8f565b9a9950505050505050505050565b3361172f611ca9565b6001600160a01b0316816001600160a01b03161461176a5760405162d1953b60e31b81526001600160a01b03821660048201526024016108b1565b816001600160a01b03163b5f0361179f576040516361798f2f60e11b81526001600160a01b03831660048201526024016108b1565b6112c482612e39565b5f6117b2336107e5565b6117ba61180d565b6001600160a01b0316336001600160a01b0316146117ed5760405163086391f760e31b81523360048201526024016108b1565b8260156117fa82826128d9565b6118048585612e99565b95945050505050565b5f805f8051602061533e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611879573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189d919061484c565b15611928576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156118fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119229190614a16565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061535e83398151915280545f9190600160a01b900460ff16611965575f611922565b638fb3603760e01b91505090565b61197b613ed6565b611983610f2a565b1561199057610c4d612f31565b610c4d611c3a565b6119a1336107e5565b6119a961180d565b6001600160a01b0316336001600160a01b0316146119dc5760405163086391f760e31b81523360048201526024016108b1565b8060156119e982826128d9565b610adc836130de565b5f81601f611a0082826128d9565b5f600388604051611a119190614836565b90815260405190819003602001812054637bc32ecf60e01b825260c01b915073__$32e9ecefef68cb354d118e0496fdd3f4bc$__90637bc32ecf90611a64906001600160c01b03198516906004016142ba565b602060405180830381865af4158015611a7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa3919061484c565b15611ac357876040516316add56760e21b81526004016108b1919061424f565b611b2087828860405180602001604052805f8152508973__$05887d5853069c88bcd4c0a2107db45f29$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561166a573d5f803e3d5ffd5b98975050505050505050565b611b35336107e5565b611b3d61180d565b6001600160a01b0316336001600160a01b031614611b705760405163086391f760e31b81523360048201526024016108b1565b816015611b7d82826128d9565b611b878484613136565b50611b9284846131c7565b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c039190614a16565b6001600160a01b0316336001600160a01b031614611c355760405162f0630960e01b81523360048201526024016108b1565b611b92565b611c42613ed6565b610c4d612f31565b611c5261180d565b6001600160a01b0316336001600160a01b031614611c855760405163086391f760e31b81523360048201526024016108b1565b611c8e336107e5565b6112c4828261322c565b5f6003826040516111519190614836565b5f8051602061535e833981519152546001600160a01b031690565b611da2604080516101e0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e08401528351808501855282815280820183905261010084015283518085018552828152808201839052610120840152835180850185528281528082018390526101408401528351808501855282815280820183905261016084015283518085018552828152808201839052610180840152835180850185528281528082018390526101a08401528351808501909452818452830152906101c082015290565b604080516101e0810182525f8051602061537e833981519152805460ff8082161515845261010082048116151560208086019190915262010000830482161515858701526301000000830482166060860152640100000000830490911660808501526001600160601b03650100000000008304811660a0860152600160881b90920490911660c08401527f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680180548551818402810184019096528086529394929360e086019392830182828015611ec657602002820191905f5260205f20905f905b82829054906101000a90046001600160601b03166001600160601b0316815260200190600c0190602082600b01049283019260010382029150808411611e835790505b505050918352505060408051808201825260028401548152600384015460208281019190915280840191909152815180830183526004850154815260058501548183015282840152815180830183526006850154815260078501548183015260608401528151808301835260088501548152600985015481830152608084015281518083018352600a8501548152600b8501548183015260a084015281518083018352600c8501548152600d8501548183015260c08401528151808301909252600e8401548252600f909301549281019290925260e00152919050565b611fac336107e5565b600381604051611fbc9190614836565b90815260405190819003602001812054637bc32ecf60e01b825273__$32e9ecefef68cb354d118e0496fdd3f4bc$__91637bc32ecf91612012916001600160c01b031960c09290921b91909116906004016142ba565b602060405180830381865af415801561202d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612051919061484c565b1561207157806040516316add56760e21b81526004016108b1919061424f565b610f156003826040516120849190614836565b9081526040519081900360200190205460c01b61209f606e90565b61327d565b6120ad336107e5565b6120b561180d565b6001600160a01b0316336001600160a01b0316146120e85760405163086391f760e31b81523360048201526024016108b1565b610f15816132df565b6120fa336107e5565b82601561210782826128d9565b5050505050565b612117336107e5565b6003816040516121279190614836565b90815260405190819003602001812054637bc32ecf60e01b825273__$32e9ecefef68cb354d118e0496fdd3f4bc$__91637bc32ecf9161217d916001600160c01b031960c09290921b91909116906004016142ba565b602060405180830381865af4158015612198573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121bc919061484c565b156121dc57806040516316add56760e21b81526004016108b1919061424f565b610f156003826040516121ef9190614836565b9081526040519081900360200190205460c01b61209f600590565b604051633682752160e21b815264ffffffffff831660048201525f90819073__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e90620151809073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af4158015612283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a79190614d79565b6122b19190614da4565b6040518263ffffffff1660e01b81526004016122cf91815260200190565b602060405180830381865af41580156122ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230e9190614d79565b90505f6123948273__$bf7bc340cbb9229ef1de2c568356e67902$__6345ebb61e6101686040518263ffffffff1660e01b815260040161235091815260200190565b602060405180830381865af415801561236b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061238f9190614d79565b613354565b60405163046e44af60e11b81526001600160601b03891660048201529091505f9073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969060149083906308dc895e90602401602060405180830381865af41580156123fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061241e9190614d79565b6124289190614da4565b6040518263ffffffff1660e01b815260040161244691815260200190565b602060405180830381865af4158015612461573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061248591906149f0565b604051632c34efe560e11b81526001600160601b03821660048201526024810184905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af41580156124e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2091906149f0565b5f80612514336107e5565b836125276001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa15801561257a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061259e919061484c565b6125bd5760405163086391f760e31b81523360048201526024016108b1565b8460156125ca82826128d9565b5f6125d3613388565b60405163bd7d9d8560e01b81526001600160601b038a1660048201526001600160a01b03919091169063bd7d9d85906024015f60405180830381865afa15801561261f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126469190810190614dce565b90506126538882896133b6565b5f878152600460205260408082208151606081019092528054829082906126799061488d565b80601f01602080910402602001604051908101604052809291908181526020018280546126a59061488d565b80156126f05780601f106126c7576101008083540402835291602001916126f0565b820191905f5260205f20905b8154815290600101906020018083116126d357829003601f168201915b505050918352505060019182015460ff811660208084019190915261010090910464ffffffffff166040928301525f8c8152600582528281206001600160601b038f1682528252918220805460ff19169093179092556080850151918301519293509161275e918c916136a1565b905061278c8a828b60405160200161277891815260200190565b6040516020818303038152906040526137da565b97506127a88a898360405180602001604052805f815250613862565b6127c28a898360405180602001604052805f8152506138d7565b96506127ce8a88613959565b5050505050509250929050565b5f8051602061535e8339815191525f806128136127f6611ca9565b873061280560045f8a8c614f61565b61280e91614f88565b6139ab565b91509150816128d15763ffffffff8116156128ae57825460ff60a01b1916600160a01b178355612841611ca9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161287093929190614fc0565b5f604051808303815f87803b158015612887575f80fd5b505af1158015612899573d5f803e3d5ffd5b5050845460ff60a01b19168555506128d19050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108b1565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561293b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061295f919061484c565b6112c45760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016108b1565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681354604051630155751d60e31b81526001600160601b03831660048201526001600160a01b0390911690630aaba8e8906024015b5f604051808303815f87803b1580156129fb575f80fd5b505af1158015612107573d5f803e3d5ffd5b5f805f8051602061533e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612a79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9d919061484c565b15612ac95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612b1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b3f919061484c565b612b675760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612bb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bdd91906149f0565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f03546040516301c6b21960e41b81526001600160601b03831660048201525f916001600160a01b031690631c6b21909060240161158d565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163570fd2f360e11b815230600482015282151560248201526001600160a01b039091169063ae1fa5e6906044016129e4565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d6811546040516304af15b960e11b81526001600160a01b039091169063095e2b7290612d069085908590600401614fff565b5f604051808303815f87803b158015612d1d575f80fd5b505af11580156128d1573d5f803e3d5ffd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe90604401612d06565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681254604051639a83274160e01b81525f916001600160a01b031690639a83274190612dec908c908c908c908c908c908c908c908c90600401615023565b6020604051808303815f875af1158015612e08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e2c91906149f0565b9998505050505050505050565b5f8051602061535e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f5f8051602061537e83398151915260130154604051637baa9a0b60e01b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b0390911690637baa9a0b906044016020604051808303815f875af1158015612f06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f2a9190614872565b9392505050565b612f39613ed6565b5f612f4c6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612f90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fb491906149f0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561300d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613031919061484c565b156130d65761303e613388565b6001600160a01b031663f0ea17c36130546115cd565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015613095573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130bc919081019061508b565b60408101519092506001600160a01b0316156130d6575090565b611922613ab3565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681354604051639ffcede960e01b81526001600160601b03831660048201526001600160a01b0390911690639ffcede9906024016129e4565b5f5f8051602061537e8339815191526013015460405163552d72d560e11b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b039091169063aa5ae5aa906044016020604051808303815f875af11580156131a3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f2a91906149f0565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681354604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401612d06565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d68105460405163067ba1c160e41b81526001600160a01b03909116906367ba1c1090612d069085908590600401615154565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d681154604051633e77a42160e11b81526001600160c01b03198416600482015260ff831660248201526001600160a01b0390911690637cef484290604401612d06565b6132e761180d565b6001600160a01b0316336001600160a01b03161461331a5760405163086391f760e31b81523360048201526024016108b1565b613324600b613ba5565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024016129e4565b5f815f0361337557604051630f6c8fc360e21b815260040160405180910390fd5b612f2a83670de0b6b3a764000084613c4e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b5f8181526004602081905260409182902060010154915163790a38ad60e01b815261010090920464ffffffffff169082015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015613422573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613446919061484c565b15613467576040516395b47f7b60e01b8152600481018290526024016108b1565b5f818152600460205260409081902090516134b891600391613489919061517a565b90815260405190819003602001902054606084015160c09190911b906001600160c01b03199081169116141590565b156134e8575f81815260046020819052604091829020915163d675176b60e01b81526108b19284929091016151eb565b5f8181526005602090815260408083206001600160601b038716845290915290205460ff161561352b57604051639758dd1d60e01b815260040160405180910390fd5b5f818152600460205260408082208151606081019092528054829082906135519061488d565b80601f016020809104026020016040519081016040528092919081815260200182805461357d9061488d565b80156135c85780601f1061359f576101008083540402835291602001916135c8565b820191905f5260205f20905b8154815290600101906020018083116135ab57829003601f168201915b50505091835250506001919091015460ff81166020830152610100900464ffffffffff166040918201528101516101a08501519192506136119164ffffffffff90811691161090565b1561364e576101a083015160405163fd05036760e01b81526001600160601b038616600482015264ffffffffff90911660248201526044016108b1565b60408101516101c084015164ffffffffff908116911610611b92576101c083015160405163505710d560e01b81526001600160601b038616600482015264ffffffffff90911660248201526044016108b1565b5f8073__$3bac17678db7ae928afa209f2f44deec9c$__635869dfca6001600160601b0386166136d086613d0d565b6040516001600160e01b031960e085901b1681526001600160601b0390921660048301526024820152604401602060405180830381865af4158015613717573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061373b91906149f0565b90505f613746613388565b604051630160668360e51b81526001600160601b03881660048201526001600160a01b039190911690632c0cd06090602401602060405180830381865afa158015613793573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137b791906149f0565b90506137c38183613e52565b156137d1579150612f2a9050565b50949350505050565b5f805160206153be833981519152546040516374b775eb60e01b81525f916001600160a01b0316906374b775eb9061381a90879087908790600401615279565b6020604051808303815f875af1158015613836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061385a91906152a9565b949350505050565b5f805160206153be83398151915254604051636e2cdce760e01b81526001600160a01b0390911690636e2cdce7906138a49087908790879087906004016152c4565b5f604051808303815f87803b1580156138bb575f80fd5b505af11580156138cd573d5f803e3d5ffd5b5050505050505050565b5f805160206153be83398151915254604051631e2992c760e11b81525f916001600160a01b031690633c53258e906139199088908890889088906004016152c4565b6020604051808303815f875af1158015613935573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118049190614872565b5f805160206153be8339815191525460405163137a92a760e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063137a92a790604401612d06565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613a199190614836565b5f60405180830381855afa9150503d805f8114613a51576040519150601f19603f3d011682016040523d82523d5f602084013e613a56565b606091505b50915091508115613aa8576040815110613a885780806020019051810190613a7e9190615308565b9094509250613aa8565b6020815110613aa85780806020019051810190613aa5919061484c565b93505b505094509492505050565b613abb613ed6565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f018054613af89061488d565b80601f0160208091040260200160405190810160405280929190818152602001828054613b249061488d565b8015613b6f5780601f10613b4657610100808354040283529160200191613b6f565b820191905f5260205f20905b815481529060010190602001808311613b5257829003601f168201915b505050918352505060018301546001600160a01b031660208201525f6040820152600283018054606090920191610d749061488d565b5f613bb86001546001600160a01b031690565b6001600160a01b031663d39e604383613be75f8051602061539e8339815191525460ff600160681b9091041690565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613c2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec99190614a16565b5f838302815f1985870982811083820303915050805f03613c8257838281613c7857613c78614d90565b0492505050612f2a565b808411613ca25760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f613d1f60015b60ff84811691161490565b15613d9f57604051631488c84560e01b815260196004820152600119602482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c845906044015b602060405180830381865af4158015613d7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec99190614d79565b613da96002613d14565b15613ded57604051631488c84560e01b8152600560048201525f19602482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401613d60565b613df76003613d14565b15613e34576040516322f5db0f60e11b81526001600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e90602401613d60565b6040516363d977df60e01b815260ff831660048201526024016108b1565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d6290604401602060405180830381865af4158015613eb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f2a919061484c565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613f1e575f80fd5b81356001600160e01b031981168114612f2a575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161024081016001600160401b0381118282101715613f6c57613f6c613f35565b60405290565b60405160e081016001600160401b0381118282101715613f6c57613f6c613f35565b60405161020081016001600160401b0381118282101715613f6c57613f6c613f35565b604051608081016001600160401b0381118282101715613f6c57613f6c613f35565b604051601f8201601f191681016001600160401b038111828210171561400157614001613f35565b604052919050565b5f6001600160401b0382111561402157614021613f35565b50601f01601f191660200190565b5f82601f83011261403e575f80fd5b8135602083015f61405661405184614009565b613fd9565b9050828152858383011115614069575f80fd5b828260208301375f92810160200192909252509392505050565b60ff81168114610f15575f80fd5b64ffffffffff81168114610f15575f80fd5b5f805f80608085870312156140b6575f80fd5b8435935060208501356001600160401b038111156140d2575f80fd5b6140de8782880161402f565b93505060408501356140ef81614083565b915060608501356140ff81614091565b939692955090935050565b6001600160601b0381168114610f15575f80fd5b5f6020828403121561412e575f80fd5b8135612f2a8161410a565b5f60208284031215614149575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f8251606060208401526141996080840182614150565b905060ff602085015116604084015264ffffffffff60408501511660608401528091505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161420b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261385a610100840182614150565b602081525f612f2a6020830184614150565b8015158114610f15575f80fd5b5f6020828403121561427e575f80fd5b8135612f2a81614261565b5f60208284031215614299575f80fd5b81356001600160401b038111156142ae575f80fd5b61385a8482850161402f565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114610f15575f80fd5b5f80604083850312156142f4575f80fd5b82356142ff816142cf565b9150602083013561430f8161410a565b809150509250929050565b6001600160c01b031981168114610f15575f80fd5b5f805f805f8060c08789031215614344575f80fd5b863561434f8161410a565b9550602087013561435f8161431a565b9450604087013561436f81614091565b935060608701356001600160401b03811115614389575f80fd5b61439589828a0161402f565b93505060808701356143a68161410a565b915060a08701356143b68161431a565b809150509295509295509295565b5f602082840312156143d4575f80fd5b8135612f2a816142cf565b5f805f80608085870312156143f2575f80fd5b84356001600160401b03811115614407575f80fd5b6144138782880161402f565b94505060208501356144248161410a565b9250604085013561443481614091565b915060608501356140ff8161410a565b5f8060408385031215614455575f80fd5b82356144608161410a565b9150602083013561430f81614091565b602081525f82516080602084015261448b60a0840182614150565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506118048282614150565b5f805f80608085870312156144e0575f80fd5b84356144eb816142cf565b935060208501356144fb816142cf565b92506040850135915060608501356140ff816142cf565b5f60408284031215614522575f80fd5b604080519081016001600160401b038111828210171561454457614544613f35565b604052823581526020928301359281019290925250919050565b5f806080838503121561456f575f80fd5b6145798484614512565b91506145888460408501614512565b90509250929050565b5f8151808452602084019350602083015f5b828110156145ca5781516001600160601b03168652602095860195909101906001016145a3565b5093949350505050565b602081526145e760208201835115159052565b5f60208301516145fb604084018215159052565b506040830151801515606084015250606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516102c061010084015261466e6102e0840182614591565b6101008501518051610120860152602081015161014086015290915050610120840151805161016085015260208101516101808501525061014084015180516101a085015260208101516101c08501525061016084015180516101e085015260208101516102008501525061018084015180516102208501526020810151610240850152506101a084015180516102608501526020810151610280850152506101c084015180516102a085015260208101516102c0850152509392505050565b61ffff81168114610f15575f80fd5b5f805f6060848603121561474f575f80fd5b833561475a8161410a565b9250602084013561476a8161472e565b9150604084013561477a8161410a565b809150509250925092565b5f805f8060808587031215614798575f80fd5b84356147a38161410a565b935060208501356147b38161431a565b925060408501356147c381614091565b915060608501356001600160401b038111156147dd575f80fd5b6147e98782880161402f565b91505092959194509250565b5f8060408385031215614806575f80fd5b82356148118161410a565b946020939093013593505050565b5f81518060208401855e5f93019283525090919050565b5f612f2a828461481f565b8051610ecc81614261565b5f6020828403121561485c575f80fd5b8151612f2a81614261565b8051610ecc81614091565b5f60208284031215614882575f80fd5b8151612f2a81614091565b600181811c908216806148a157607f821691505b6020821081036148bf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610adc57805f5260205f20601f840160051c810160208510156148ea5750805b601f840160051c820191505b81811015612107575f81556001016148f6565b81516001600160401b0381111561492257614922613f35565b61493681614930845461488d565b846148c5565b6020601f821160018114614968575f83156149515750848201515b5f19600385901b1c1916600184901b178455612107565b5f84815260208120601f198516915b828110156149975787850151825560209485019460019092019101614977565b50848210156149b457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156149d3575f80fd5b815162ffffff81168114612f2a575f80fd5b8051610ecc8161410a565b5f60208284031215614a00575f80fd5b8151612f2a8161410a565b8051610ecc816142cf565b5f60208284031215614a26575f80fd5b8151612f2a816142cf565b8051610ecc8161431a565b5f60208284031215614a4c575f80fd5b8151612f2a8161431a565b634e487b7160e01b5f52603260045260245ffd5b6001600160601b03881681526001600160401b0360c01b871660208201526001600160601b038616604082015264ffffffffff8516606082015260e060808201525f614aba60e0830186614150565b6001600160601b039490941660a0830152506001600160c01b03199190911660c09091015295945050505050565b5f610240828403128015614afa575f80fd5b50614b03613f49565b614b0c836149e5565b8152614b1a602084016149e5565b6020820152614b2b604084016149e5565b6040820152614b3c606084016149e5565b6060820152614b4d608084016149e5565b6080820152614b5e60a084016149e5565b60a0820152614b6f60c084016149e5565b60c0820152614b8060e084016149e5565b60e0820152614b9261010084016149e5565b610100820152614ba561012084016149e5565b610120820152614bb861014084016149e5565b610140820152614bcb61016084016149e5565b610160820152614bde61018084016149e5565b610180820152614bf16101a084016149e5565b6101a0820152614c046101c084016149e5565b6101c0820152614c176101e084016149e5565b6101e0820152614c2a61020084016149e5565b610200820152614c3d61022084016149e5565b6102208201529392505050565b8051610ecc81614083565b5f614c6261405184614009565b9050828152838383011115614c75575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112614c9a575f80fd5b612f2a83835160208501614c55565b5f60208284031215614cb9575f80fd5b81516001600160401b03811115614cce575f80fd5b820160e08185031215614cdf575f80fd5b614ce7613f72565b614cf0826149e5565b8152614cfe602083016149e5565b6020820152614d0f60408301614c4a565b6040820152614d2060608301614841565b6060820152614d3160808301614a0b565b6080820152614d4260a08301614a0b565b60a082015260c08201516001600160401b03811115614d5f575f80fd5b614d6b86828501614c8b565b60c083015250949350505050565b5f60208284031215614d89575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b5f82614dbe57634e487b7160e01b5f52601260045260245ffd5b500490565b8051610ecc8161472e565b5f60208284031215614dde575f80fd5b81516001600160401b03811115614df3575f80fd5b82016102008185031215614e05575f80fd5b614e0d613f94565b614e16826149e5565b8152614e24602083016149e5565b6020820152614e3560408301614a31565b6040820152614e4660608301614a31565b6060820152614e57608083016149e5565b6080820152614e6860a083016149e5565b60a0820152614e7960c08301614867565b60c082015260e08201516001600160401b03811115614e96575f80fd5b614ea286828501614c8b565b60e0830152506101008201516001600160401b03811115614ec1575f80fd5b614ecd86828501614c8b565b61010083015250614ee16101208301614dc3565b610120820152614ef46101408301614dc3565b610140820152614f0761016083016149e5565b610160820152614f1a61018083016149e5565b610180820152614f2d6101a08301614867565b6101a0820152614f406101c08301614867565b6101c0820152614f536101e08301614867565b6101e0820152949350505050565b5f8085851115614f6f575f80fd5b83861115614f7b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614fb9576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b6001600160401b0360c01b83168152604060208201525f61385a6040830184614150565b6001600160a01b03891681526001600160c01b031988811660208301526001600160601b038881166040840152878116606084015264ffffffffff87166080840152851660a0830152831660c082015261010060e082018190525f9061171890830184614150565b5f6020828403121561509b575f80fd5b81516001600160401b038111156150b0575f80fd5b8201608081850312156150c1575f80fd5b6150c9613fb7565b81516001600160401b038111156150de575f80fd5b8201601f810186136150ee575f80fd5b6150fd86825160208401614c55565b82525061510c60208301614a0b565b602082015261511d60408301614a0b565b604082015260608201516001600160401b0381111561513a575f80fd5b61514686828501614c8b565b606083015250949350505050565b825181526020808401518183015282516040830152820151606082015260808101612f2a565b5f8083546151878161488d565b60018216801561519e57600181146151b3576151e0565b60ff19831686528115158202860193506151e0565b865f5260205f205f5b838110156151d8578154888201526001909101906020016151bc565b505081860193505b509195945050505050565b828152604060208201525f8083546152028161488d565b806040860152600182165f8114615220576001811461523c5761526d565b60ff1983166060870152606082151560051b870101935061526d565b865f5260205f205f5b8381101561526457815488820160600152600190910190602001615245565b87016060019450505b50919695505050505050565b6001600160601b03841681526001600160601b0383166020820152606060408201525f6118046060830184614150565b5f602082840312156152b9575f80fd5b8151612f2a8161472e565b6001600160601b038516815261ffff841660208201526001600160601b0383166040820152608060608201525f6152fe6080830184614150565b9695505050505050565b5f8060408385031215615319575f80fd5b825161532481614261565b602084015190925063ffffffff8116811461430f575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a000bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d68006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3000bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d6814a26469706673582212206f716ad7aceb8c6ccd18fe0246dfdd0fb981db7139281ceb6ec672ceff81376764736f6c634300081a0033",
1677
+ "linkReferences": {
1678
+ "contracts/shared/ContractLib.sol": {
1679
+ "ContractLib": [
1680
+ {
1681
+ "length": 20,
1682
+ "start": 3607
1683
+ },
1684
+ {
1685
+ "length": 20,
1686
+ "start": 4219
1687
+ },
1688
+ {
1689
+ "length": 20,
1690
+ "start": 4860
1691
+ }
1692
+ ]
1693
+ },
1694
+ "contracts/type/Amount.sol": {
1695
+ "AmountLib": [
1696
+ {
1697
+ "length": 20,
1698
+ "start": 15731
1699
+ },
1700
+ {
1701
+ "length": 20,
1702
+ "start": 15977
1703
+ },
1704
+ {
1705
+ "length": 20,
1706
+ "start": 20577
1707
+ },
1708
+ {
1709
+ "length": 20,
1710
+ "start": 22582
1711
+ }
1712
+ ]
1713
+ },
1714
+ "contracts/type/Fee.sol": {
1715
+ "FeeLib": [
1716
+ {
1717
+ "length": 20,
1718
+ "start": 615
1719
+ },
1720
+ {
1721
+ "length": 20,
1722
+ "start": 726
1723
+ },
1724
+ {
1725
+ "length": 20,
1726
+ "start": 837
1727
+ },
1728
+ {
1729
+ "length": 20,
1730
+ "start": 948
1731
+ },
1732
+ {
1733
+ "length": 20,
1734
+ "start": 1059
1735
+ },
1736
+ {
1737
+ "length": 20,
1738
+ "start": 1170
1739
+ },
1740
+ {
1741
+ "length": 20,
1742
+ "start": 1281
1743
+ }
1744
+ ]
1745
+ },
1746
+ "contracts/type/NftId.sol": {
1747
+ "NftIdLib": [
1748
+ {
1749
+ "length": 20,
1750
+ "start": 325
1751
+ },
1752
+ {
1753
+ "length": 20,
1754
+ "start": 446
1755
+ },
1756
+ {
1757
+ "length": 20,
1758
+ "start": 9826
1759
+ },
1760
+ {
1761
+ "length": 20,
1762
+ "start": 10624
1763
+ },
1764
+ {
1765
+ "length": 20,
1766
+ "start": 12797
1767
+ },
1768
+ {
1769
+ "length": 20,
1770
+ "start": 17405
1771
+ },
1772
+ {
1773
+ "length": 20,
1774
+ "start": 18833
1775
+ }
1776
+ ]
1777
+ },
1778
+ "contracts/type/Referral.sol": {
1779
+ "ReferralLib": [
1780
+ {
1781
+ "length": 20,
1782
+ "start": 12257
1783
+ },
1784
+ {
1785
+ "length": 20,
1786
+ "start": 12375
1787
+ },
1788
+ {
1789
+ "length": 20,
1790
+ "start": 13463
1791
+ }
1792
+ ]
1793
+ },
1794
+ "contracts/type/RiskId.sol": {
1795
+ "RiskIdLib": [
1796
+ {
1797
+ "length": 20,
1798
+ "start": 8660
1799
+ },
1800
+ {
1801
+ "length": 20,
1802
+ "start": 10880
1803
+ },
1804
+ {
1805
+ "length": 20,
1806
+ "start": 11121
1807
+ },
1808
+ {
1809
+ "length": 20,
1810
+ "start": 13294
1811
+ },
1812
+ {
1813
+ "length": 20,
1814
+ "start": 14740
1815
+ },
1816
+ {
1817
+ "length": 20,
1818
+ "start": 15103
1819
+ }
1820
+ ]
1821
+ },
1822
+ "contracts/type/Seconds.sol": {
1823
+ "SecondsLib": [
1824
+ {
1825
+ "length": 20,
1826
+ "start": 15367
1827
+ }
1828
+ ]
1829
+ },
1830
+ "contracts/type/Timestamp.sol": {
1831
+ "TimestampLib": [
1832
+ {
1833
+ "length": 20,
1834
+ "start": 8828
1835
+ },
1836
+ {
1837
+ "length": 20,
1838
+ "start": 9030
1839
+ },
1840
+ {
1841
+ "length": 20,
1842
+ "start": 19878
1843
+ }
1844
+ ]
1845
+ },
1846
+ "contracts/type/UFixed.sol": {
1847
+ "UFixedLib": [
1848
+ {
1849
+ "length": 20,
1850
+ "start": 15334
1851
+ },
1852
+ {
1853
+ "length": 20,
1854
+ "start": 15571
1855
+ },
1856
+ {
1857
+ "length": 20,
1858
+ "start": 22270
1859
+ },
1860
+ {
1861
+ "length": 20,
1862
+ "start": 22407
1863
+ },
1864
+ {
1865
+ "length": 20,
1866
+ "start": 22478
1867
+ }
1868
+ ]
1869
+ },
1870
+ "contracts/type/Version.sol": {
1871
+ "VersionLib": [
1872
+ {
1873
+ "length": 20,
1874
+ "start": 9645
1875
+ }
1876
+ ]
1877
+ }
1878
+ },
1879
+ "deployedLinkReferences": {
1880
+ "contracts/type/Amount.sol": {
1881
+ "AmountLib": [
1882
+ {
1883
+ "length": 20,
1884
+ "start": 9143
1885
+ },
1886
+ {
1887
+ "length": 20,
1888
+ "start": 9389
1889
+ },
1890
+ {
1891
+ "length": 20,
1892
+ "start": 13989
1893
+ },
1894
+ {
1895
+ "length": 20,
1896
+ "start": 15994
1897
+ }
1898
+ ]
1899
+ },
1900
+ "contracts/type/NftId.sol": {
1901
+ "NftIdLib": [
1902
+ {
1903
+ "length": 20,
1904
+ "start": 3238
1905
+ },
1906
+ {
1907
+ "length": 20,
1908
+ "start": 4036
1909
+ },
1910
+ {
1911
+ "length": 20,
1912
+ "start": 6209
1913
+ },
1914
+ {
1915
+ "length": 20,
1916
+ "start": 10817
1917
+ },
1918
+ {
1919
+ "length": 20,
1920
+ "start": 12245
1921
+ }
1922
+ ]
1923
+ },
1924
+ "contracts/type/Referral.sol": {
1925
+ "ReferralLib": [
1926
+ {
1927
+ "length": 20,
1928
+ "start": 5669
1929
+ },
1930
+ {
1931
+ "length": 20,
1932
+ "start": 5787
1933
+ },
1934
+ {
1935
+ "length": 20,
1936
+ "start": 6875
1937
+ }
1938
+ ]
1939
+ },
1940
+ "contracts/type/RiskId.sol": {
1941
+ "RiskIdLib": [
1942
+ {
1943
+ "length": 20,
1944
+ "start": 2072
1945
+ },
1946
+ {
1947
+ "length": 20,
1948
+ "start": 4292
1949
+ },
1950
+ {
1951
+ "length": 20,
1952
+ "start": 4533
1953
+ },
1954
+ {
1955
+ "length": 20,
1956
+ "start": 6706
1957
+ },
1958
+ {
1959
+ "length": 20,
1960
+ "start": 8152
1961
+ },
1962
+ {
1963
+ "length": 20,
1964
+ "start": 8515
1965
+ }
1966
+ ]
1967
+ },
1968
+ "contracts/type/Seconds.sol": {
1969
+ "SecondsLib": [
1970
+ {
1971
+ "length": 20,
1972
+ "start": 8779
1973
+ }
1974
+ ]
1975
+ },
1976
+ "contracts/type/Timestamp.sol": {
1977
+ "TimestampLib": [
1978
+ {
1979
+ "length": 20,
1980
+ "start": 2240
1981
+ },
1982
+ {
1983
+ "length": 20,
1984
+ "start": 2442
1985
+ },
1986
+ {
1987
+ "length": 20,
1988
+ "start": 13290
1989
+ }
1990
+ ]
1991
+ },
1992
+ "contracts/type/UFixed.sol": {
1993
+ "UFixedLib": [
1994
+ {
1995
+ "length": 20,
1996
+ "start": 8746
1997
+ },
1998
+ {
1999
+ "length": 20,
2000
+ "start": 8983
2001
+ },
2002
+ {
2003
+ "length": 20,
2004
+ "start": 15682
2005
+ },
2006
+ {
2007
+ "length": 20,
2008
+ "start": 15819
2009
+ },
2010
+ {
2011
+ "length": 20,
2012
+ "start": 15890
2013
+ }
2014
+ ]
2015
+ },
2016
+ "contracts/type/Version.sol": {
2017
+ "VersionLib": [
2018
+ {
2019
+ "length": 20,
2020
+ "start": 3057
2021
+ }
2022
+ ]
2023
+ }
2024
+ }
2025
+ }