@etherisc/gif-next 0.0.2-f0d86c2-077 → 0.0.2-f0ebcc7-306

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