@etherisc/gif-next 0.0.2-fbe8e04-715 → 0.0.2-fc0563c-260

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