@etherisc/gif-next 0.0.2-efef0ea-320 → 0.0.2-f00a368-815

Sign up to get free protection for your applications and to get access to all the features.
Files changed (814) hide show
  1. package/README.md +345 -46
  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/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +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 +1850 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +950 -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 +1285 -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 +1480 -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 +1647 -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 +2471 -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 +555 -1457
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +1019 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +639 -1805
  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 +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2646 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1265 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +772 -0
  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 +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +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 +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1250 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1454 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +870 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1041 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1552 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +894 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +804 -0
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +263 -362
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +780 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1035 -119
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1072 -0
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1473 -231
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1298 -0
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +773 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +705 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +630 -0
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  245. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +62 -70
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +248 -21
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  253. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +212 -189
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +228 -0
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +294 -18
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  273. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +242 -223
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  288. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  303. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  342. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  348. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  360. package/contracts/accounting/AccountingService.sol +274 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +47 -0
  363. package/contracts/authorization/AccessAdmin.sol +780 -0
  364. package/contracts/authorization/AccessAdminLib.sol +396 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +169 -0
  367. package/contracts/authorization/IAccess.sol +67 -0
  368. package/contracts/authorization/IAccessAdmin.sol +144 -0
  369. package/contracts/authorization/IAuthorization.sol +27 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  374. package/contracts/distribution/Distribution.sol +247 -0
  375. package/contracts/distribution/DistributionService.sol +448 -0
  376. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  377. package/contracts/distribution/IDistributionComponent.sol +45 -0
  378. package/contracts/distribution/IDistributionService.sol +115 -0
  379. package/contracts/examples/fire/DamageLevel.sol +59 -0
  380. package/contracts/examples/fire/FirePool.sol +86 -0
  381. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  382. package/contracts/examples/fire/FireProduct.sol +433 -0
  383. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  384. package/contracts/examples/fire/FireUSD.sol +26 -0
  385. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  386. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  388. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  389. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  390. package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IInstance.sol +139 -47
  394. package/contracts/instance/IInstanceService.sol +113 -0
  395. package/contracts/instance/Instance.sol +338 -66
  396. package/contracts/instance/InstanceAdmin.sol +383 -0
  397. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  398. package/contracts/instance/InstanceReader.sol +632 -0
  399. package/contracts/instance/InstanceService.sol +512 -0
  400. package/contracts/instance/InstanceServiceManager.sol +39 -0
  401. package/contracts/instance/InstanceStore.sol +298 -0
  402. package/contracts/instance/RiskSet.sol +118 -0
  403. package/contracts/instance/base/BalanceStore.sol +121 -0
  404. package/contracts/instance/base/Cloneable.sol +28 -0
  405. package/contracts/instance/base/ObjectCounter.sol +20 -0
  406. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  407. package/contracts/instance/base/ObjectSet.sol +77 -0
  408. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  409. package/contracts/instance/module/IBundle.sol +21 -0
  410. package/contracts/instance/module/IComponents.sol +62 -0
  411. package/contracts/instance/module/IDistribution.sol +54 -0
  412. package/contracts/instance/module/IPolicy.sol +105 -0
  413. package/contracts/instance/module/IRisk.sol +16 -0
  414. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  415. package/contracts/oracle/BasicOracle.sol +45 -0
  416. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  417. package/contracts/oracle/IOracle.sol +41 -0
  418. package/contracts/oracle/IOracleComponent.sol +33 -0
  419. package/contracts/oracle/IOracleService.sol +66 -0
  420. package/contracts/oracle/Oracle.sol +154 -0
  421. package/contracts/oracle/OracleService.sol +310 -0
  422. package/contracts/oracle/OracleServiceManager.sol +39 -0
  423. package/contracts/pool/BasicPool.sol +173 -0
  424. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  425. package/contracts/pool/BundleService.sol +406 -0
  426. package/contracts/pool/BundleServiceManager.sol +39 -0
  427. package/contracts/pool/IBundleService.sol +121 -0
  428. package/contracts/pool/IPoolComponent.sol +62 -0
  429. package/contracts/pool/IPoolService.sol +170 -0
  430. package/contracts/pool/Pool.sol +343 -0
  431. package/contracts/pool/PoolLib.sol +359 -0
  432. package/contracts/pool/PoolService.sol +614 -0
  433. package/contracts/pool/PoolServiceManager.sol +39 -0
  434. package/contracts/product/ApplicationService.sol +327 -0
  435. package/contracts/product/ApplicationServiceManager.sol +38 -0
  436. package/contracts/product/BasicProduct.sol +49 -0
  437. package/contracts/product/BasicProductAuthorization.sol +63 -0
  438. package/contracts/product/ClaimService.sol +641 -0
  439. package/contracts/product/ClaimServiceManager.sol +38 -0
  440. package/contracts/product/IApplicationService.sol +88 -0
  441. package/contracts/product/IClaimService.sol +135 -0
  442. package/contracts/product/IPolicyService.sol +102 -0
  443. package/contracts/product/IPricingService.sol +40 -0
  444. package/contracts/product/IProductComponent.sol +62 -0
  445. package/contracts/product/IRiskService.sol +37 -0
  446. package/contracts/product/PolicyService.sol +645 -0
  447. package/contracts/product/PolicyServiceLib.sol +139 -0
  448. package/contracts/product/PolicyServiceManager.sol +39 -0
  449. package/contracts/product/PricingService.sol +306 -0
  450. package/contracts/product/PricingServiceManager.sol +39 -0
  451. package/contracts/product/Product.sol +472 -0
  452. package/contracts/product/RiskService.sol +163 -0
  453. package/contracts/product/RiskServiceManager.sol +39 -0
  454. package/contracts/registry/ChainNft.sol +130 -40
  455. package/contracts/registry/IRegistry.sol +147 -29
  456. package/contracts/registry/IRegistryService.sol +62 -0
  457. package/contracts/registry/IRelease.sol +29 -0
  458. package/contracts/registry/ITransferInterceptor.sol +6 -0
  459. package/contracts/registry/Registry.sol +637 -282
  460. package/contracts/registry/RegistryAdmin.sol +188 -0
  461. package/contracts/registry/RegistryAuthorization.sol +284 -0
  462. package/contracts/registry/RegistryService.sol +241 -0
  463. package/contracts/registry/RegistryServiceManager.sol +53 -0
  464. package/contracts/registry/ReleaseAdmin.sol +195 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  466. package/contracts/registry/ReleaseRegistry.sol +520 -0
  467. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  468. package/contracts/registry/TokenRegistry.sol +314 -0
  469. package/contracts/shared/Component.sol +210 -0
  470. package/contracts/shared/ComponentService.sol +679 -0
  471. package/contracts/shared/ComponentServiceManager.sol +38 -0
  472. package/contracts/shared/ContractLib.sol +311 -0
  473. package/contracts/shared/IComponent.sol +58 -0
  474. package/contracts/shared/IComponentService.sol +111 -0
  475. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  476. package/contracts/shared/IKeyValueStore.sol +54 -0
  477. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  478. package/contracts/shared/INftOwnable.sol +27 -0
  479. package/contracts/shared/IPolicyHolder.sol +35 -0
  480. package/contracts/shared/IRegisterable.sol +31 -19
  481. package/contracts/shared/IRegistryLinked.sol +11 -0
  482. package/contracts/shared/IService.sol +23 -0
  483. package/contracts/shared/InitializableERC165.sol +35 -0
  484. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  485. package/contracts/shared/KeyValueStore.sol +131 -0
  486. package/contracts/shared/Lifecycle.sol +88 -0
  487. package/contracts/shared/NftIdSet.sol +65 -0
  488. package/contracts/shared/NftOwnable.sol +129 -0
  489. package/contracts/shared/PolicyHolder.sol +63 -0
  490. package/contracts/shared/Registerable.sol +80 -60
  491. package/contracts/shared/RegistryLinked.sol +38 -0
  492. package/contracts/shared/Service.sol +67 -0
  493. package/contracts/shared/TokenHandler.sol +342 -0
  494. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  495. package/contracts/staking/IStaking.sol +195 -0
  496. package/contracts/staking/IStakingService.sol +170 -0
  497. package/contracts/staking/Staking.sol +605 -0
  498. package/contracts/staking/StakingLib.sol +281 -0
  499. package/contracts/staking/StakingLifecycle.sol +23 -0
  500. package/contracts/staking/StakingManager.sol +52 -0
  501. package/contracts/staking/StakingReader.sol +199 -0
  502. package/contracts/staking/StakingService.sol +468 -0
  503. package/contracts/staking/StakingServiceManager.sol +45 -0
  504. package/contracts/staking/StakingStore.sol +606 -0
  505. package/contracts/staking/TargetManagerLib.sol +211 -0
  506. package/contracts/{types → type}/AddressSet.sol +1 -1
  507. package/contracts/type/Amount.sol +150 -0
  508. package/contracts/{types → type}/Blocknumber.sol +27 -3
  509. package/contracts/type/ClaimId.sol +80 -0
  510. package/contracts/type/DistributorType.sol +55 -0
  511. package/contracts/type/Fee.sol +66 -0
  512. package/contracts/{types → type}/Key32.sol +10 -5
  513. package/contracts/type/Key32Set.sol +62 -0
  514. package/contracts/{types → type}/NftId.sol +28 -15
  515. package/contracts/type/NftIdSet.sol +62 -0
  516. package/contracts/type/ObjectType.sol +307 -0
  517. package/contracts/type/PayoutId.sol +82 -0
  518. package/contracts/type/Referral.sol +90 -0
  519. package/contracts/type/RequestId.sol +75 -0
  520. package/contracts/type/RiskId.sol +75 -0
  521. package/contracts/type/RoleId.sol +180 -0
  522. package/contracts/type/Seconds.sol +105 -0
  523. package/contracts/type/Selector.sol +107 -0
  524. package/contracts/{types → type}/StateId.sol +53 -5
  525. package/contracts/type/String.sol +65 -0
  526. package/contracts/{types → type}/Timestamp.sol +37 -19
  527. package/contracts/{types → type}/UFixed.sol +72 -19
  528. package/contracts/{types → type}/Version.sol +62 -6
  529. package/contracts/upgradeability/IVersionable.sol +56 -0
  530. package/contracts/upgradeability/ProxyManager.sol +246 -0
  531. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +20 -0
  532. package/contracts/upgradeability/Versionable.sol +62 -0
  533. package/package.json +13 -8
  534. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  536. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  537. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -405
  538. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -340
  541. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -487
  543. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -370
  545. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  546. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -578
  547. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  548. package/artifacts/contracts/components/Product.sol/Product.json +0 -444
  549. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  551. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  553. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  555. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  557. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  559. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  561. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  565. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  567. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  569. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  571. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  575. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  577. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  579. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  581. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  583. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  584. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -387
  586. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  587. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  588. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -341
  592. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  595. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  597. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -387
  600. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  601. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  602. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  605. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  607. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  610. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  612. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  614. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  616. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  618. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  621. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  622. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  624. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  626. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  628. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  630. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  631. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  632. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  633. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  635. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  637. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  638. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  639. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  641. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  642. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  643. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  644. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  645. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  646. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -618
  647. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  648. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -507
  649. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  650. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -366
  652. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  653. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -481
  654. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  655. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -630
  657. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  658. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -945
  659. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  660. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  661. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  662. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
  663. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
  664. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  666. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  667. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  668. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  669. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
  670. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
  671. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  672. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.json +0 -129
  673. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  674. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -251
  675. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
  676. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
  677. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  678. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  679. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  680. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  681. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  682. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  683. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  684. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  685. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  686. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  687. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  688. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  689. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  690. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -466
  691. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  692. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  693. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  694. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  695. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  696. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -293
  697. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  698. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  699. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  700. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  701. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  703. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  712. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  713. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  714. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  715. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  716. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  717. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  718. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  719. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  720. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  721. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  722. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  723. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  724. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  725. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  726. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  727. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  728. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  729. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  730. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  731. package/contracts/components/BaseComponent.sol +0 -94
  732. package/contracts/components/Distribution.sol +0 -132
  733. package/contracts/components/IBaseComponent.sol +0 -19
  734. package/contracts/components/IDistributionComponent.sol +0 -47
  735. package/contracts/components/IPoolComponent.sol +0 -71
  736. package/contracts/components/IProductComponent.sol +0 -38
  737. package/contracts/components/Pool.sol +0 -235
  738. package/contracts/components/Product.sol +0 -227
  739. package/contracts/experiment/errors/Require.sol +0 -38
  740. package/contracts/experiment/errors/Revert.sol +0 -44
  741. package/contracts/experiment/inheritance/A.sol +0 -53
  742. package/contracts/experiment/inheritance/B.sol +0 -28
  743. package/contracts/experiment/inheritance/C.sol +0 -34
  744. package/contracts/experiment/inheritance/IA.sol +0 -13
  745. package/contracts/experiment/inheritance/IB.sol +0 -10
  746. package/contracts/experiment/inheritance/IC.sol +0 -12
  747. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  748. package/contracts/experiment/statemachine/ISM.sol +0 -25
  749. package/contracts/experiment/statemachine/README.md +0 -112
  750. package/contracts/experiment/statemachine/SM.sol +0 -57
  751. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  752. package/contracts/experiment/types/TypeA.sol +0 -47
  753. package/contracts/experiment/types/TypeB.sol +0 -29
  754. package/contracts/instance/IInstanceLinked.sol +0 -8
  755. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  756. package/contracts/instance/base/IInstanceBase.sol +0 -22
  757. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  758. package/contracts/instance/base/IService.sol +0 -15
  759. package/contracts/instance/base/InstanceBase.sol +0 -91
  760. package/contracts/instance/base/KeyValueStore.sol +0 -161
  761. package/contracts/instance/base/Lifecycle.sol +0 -100
  762. package/contracts/instance/base/ModuleBase.sol +0 -57
  763. package/contracts/instance/base/ServiceBase.sol +0 -37
  764. package/contracts/instance/module/access/Access.sol +0 -149
  765. package/contracts/instance/module/access/IAccess.sol +0 -53
  766. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  767. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  768. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  769. package/contracts/instance/module/component/IComponent.sol +0 -28
  770. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  771. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  772. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  773. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  774. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  775. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  776. package/contracts/instance/module/risk/IRisk.sol +0 -26
  777. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  778. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  779. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  780. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  781. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  782. package/contracts/instance/service/DistributionService.sol +0 -59
  783. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  784. package/contracts/instance/service/IDistributionService.sol +0 -12
  785. package/contracts/instance/service/IPoolService.sol +0 -37
  786. package/contracts/instance/service/IProductService.sol +0 -107
  787. package/contracts/instance/service/PoolService.sol +0 -149
  788. package/contracts/instance/service/ProductService.sol +0 -509
  789. package/contracts/registry/IChainNft.sol +0 -21
  790. package/contracts/registry/IRegistryLinked.sol +0 -8
  791. package/contracts/registry/RegistryUpgradeable.sol +0 -488
  792. package/contracts/shared/ERC165.sol +0 -21
  793. package/contracts/shared/IOwnable.sol +0 -6
  794. package/contracts/shared/IVersionable.sol +0 -65
  795. package/contracts/shared/Proxy.sol +0 -94
  796. package/contracts/shared/Versionable.sol +0 -99
  797. package/contracts/shared/VersionableUpgradeable.sol +0 -136
  798. package/contracts/test/TestDistribution.sol +0 -21
  799. package/contracts/test/TestFee.sol +0 -25
  800. package/contracts/test/TestPool.sol +0 -25
  801. package/contracts/test/TestProduct.sol +0 -72
  802. package/contracts/test/TestRegisterable.sol +0 -19
  803. package/contracts/test/TestRoleId.sol +0 -14
  804. package/contracts/test/TestService.sol +0 -32
  805. package/contracts/test/TestToken.sol +0 -26
  806. package/contracts/test/TestVersion.sol +0 -44
  807. package/contracts/test/TestVersionable.sol +0 -17
  808. package/contracts/types/ChainId.sol +0 -38
  809. package/contracts/types/Fee.sol +0 -56
  810. package/contracts/types/NftIdSet.sol +0 -60
  811. package/contracts/types/ObjectType.sol +0 -131
  812. package/contracts/types/ReferralId.sol +0 -48
  813. package/contracts/types/RiskId.sol +0 -43
  814. package/contracts/types/RoleId.sol +0 -38
@@ -1,724 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "RegistryUpgradeable",
4
- "sourceName": "contracts/registry/RegistryUpgradeable.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "name": "InvalidInitialization",
9
- "type": "error"
10
- },
11
- {
12
- "inputs": [],
13
- "name": "NotInitializing",
14
- "type": "error"
15
- },
16
- {
17
- "anonymous": false,
18
- "inputs": [
19
- {
20
- "indexed": false,
21
- "internalType": "uint64",
22
- "name": "version",
23
- "type": "uint64"
24
- }
25
- ],
26
- "name": "Initialized",
27
- "type": "event"
28
- },
29
- {
30
- "anonymous": false,
31
- "inputs": [
32
- {
33
- "indexed": false,
34
- "internalType": "Version",
35
- "name": "version",
36
- "type": "uint24"
37
- },
38
- {
39
- "indexed": false,
40
- "internalType": "address",
41
- "name": "implementation",
42
- "type": "address"
43
- },
44
- {
45
- "indexed": false,
46
- "internalType": "address",
47
- "name": "activatedBy",
48
- "type": "address"
49
- }
50
- ],
51
- "name": "LogVersionableActivated",
52
- "type": "event"
53
- },
54
- {
55
- "inputs": [],
56
- "name": "EMPTY_URI",
57
- "outputs": [
58
- {
59
- "internalType": "string",
60
- "name": "",
61
- "type": "string"
62
- }
63
- ],
64
- "stateMutability": "view",
65
- "type": "function"
66
- },
67
- {
68
- "inputs": [],
69
- "name": "getChainNft",
70
- "outputs": [
71
- {
72
- "internalType": "contract IChainNft",
73
- "name": "",
74
- "type": "address"
75
- }
76
- ],
77
- "stateMutability": "view",
78
- "type": "function"
79
- },
80
- {
81
- "inputs": [],
82
- "name": "getData",
83
- "outputs": [
84
- {
85
- "internalType": "bytes",
86
- "name": "data",
87
- "type": "bytes"
88
- }
89
- ],
90
- "stateMutability": "pure",
91
- "type": "function"
92
- },
93
- {
94
- "inputs": [],
95
- "name": "getInitializedVersion",
96
- "outputs": [
97
- {
98
- "internalType": "uint64",
99
- "name": "",
100
- "type": "uint64"
101
- }
102
- ],
103
- "stateMutability": "view",
104
- "type": "function"
105
- },
106
- {
107
- "inputs": [
108
- {
109
- "internalType": "NftId",
110
- "name": "nftId",
111
- "type": "uint96"
112
- }
113
- ],
114
- "name": "getName",
115
- "outputs": [
116
- {
117
- "internalType": "string",
118
- "name": "name",
119
- "type": "string"
120
- }
121
- ],
122
- "stateMutability": "view",
123
- "type": "function"
124
- },
125
- {
126
- "inputs": [],
127
- "name": "getNftId",
128
- "outputs": [
129
- {
130
- "internalType": "NftId",
131
- "name": "nftId",
132
- "type": "uint96"
133
- }
134
- ],
135
- "stateMutability": "view",
136
- "type": "function"
137
- },
138
- {
139
- "inputs": [
140
- {
141
- "internalType": "address",
142
- "name": "object",
143
- "type": "address"
144
- }
145
- ],
146
- "name": "getNftId",
147
- "outputs": [
148
- {
149
- "internalType": "NftId",
150
- "name": "id",
151
- "type": "uint96"
152
- }
153
- ],
154
- "stateMutability": "view",
155
- "type": "function"
156
- },
157
- {
158
- "inputs": [],
159
- "name": "getObjectCount",
160
- "outputs": [
161
- {
162
- "internalType": "uint256",
163
- "name": "",
164
- "type": "uint256"
165
- }
166
- ],
167
- "stateMutability": "view",
168
- "type": "function"
169
- },
170
- {
171
- "inputs": [
172
- {
173
- "internalType": "NftId",
174
- "name": "nftId",
175
- "type": "uint96"
176
- }
177
- ],
178
- "name": "getObjectInfo",
179
- "outputs": [
180
- {
181
- "components": [
182
- {
183
- "internalType": "NftId",
184
- "name": "nftId",
185
- "type": "uint96"
186
- },
187
- {
188
- "internalType": "NftId",
189
- "name": "parentNftId",
190
- "type": "uint96"
191
- },
192
- {
193
- "internalType": "ObjectType",
194
- "name": "objectType",
195
- "type": "uint8"
196
- },
197
- {
198
- "internalType": "address",
199
- "name": "objectAddress",
200
- "type": "address"
201
- },
202
- {
203
- "internalType": "address",
204
- "name": "initialOwner",
205
- "type": "address"
206
- },
207
- {
208
- "internalType": "bytes",
209
- "name": "data",
210
- "type": "bytes"
211
- }
212
- ],
213
- "internalType": "struct IRegistry.ObjectInfo",
214
- "name": "info",
215
- "type": "tuple"
216
- }
217
- ],
218
- "stateMutability": "view",
219
- "type": "function"
220
- },
221
- {
222
- "inputs": [],
223
- "name": "getOwner",
224
- "outputs": [
225
- {
226
- "internalType": "address",
227
- "name": "owner",
228
- "type": "address"
229
- }
230
- ],
231
- "stateMutability": "view",
232
- "type": "function"
233
- },
234
- {
235
- "inputs": [
236
- {
237
- "internalType": "NftId",
238
- "name": "nftId",
239
- "type": "uint96"
240
- }
241
- ],
242
- "name": "getOwner",
243
- "outputs": [
244
- {
245
- "internalType": "address",
246
- "name": "",
247
- "type": "address"
248
- }
249
- ],
250
- "stateMutability": "view",
251
- "type": "function"
252
- },
253
- {
254
- "inputs": [],
255
- "name": "getParentNftId",
256
- "outputs": [
257
- {
258
- "internalType": "NftId",
259
- "name": "nftId",
260
- "type": "uint96"
261
- }
262
- ],
263
- "stateMutability": "view",
264
- "type": "function"
265
- },
266
- {
267
- "inputs": [],
268
- "name": "getProtocolOwner",
269
- "outputs": [
270
- {
271
- "internalType": "address",
272
- "name": "",
273
- "type": "address"
274
- }
275
- ],
276
- "stateMutability": "view",
277
- "type": "function"
278
- },
279
- {
280
- "inputs": [],
281
- "name": "getRegistry",
282
- "outputs": [
283
- {
284
- "internalType": "contract IRegistry",
285
- "name": "registry",
286
- "type": "address"
287
- }
288
- ],
289
- "stateMutability": "view",
290
- "type": "function"
291
- },
292
- {
293
- "inputs": [
294
- {
295
- "internalType": "string",
296
- "name": "serviceName",
297
- "type": "string"
298
- },
299
- {
300
- "internalType": "VersionPart",
301
- "name": "majorVersion",
302
- "type": "uint8"
303
- }
304
- ],
305
- "name": "getServiceAddress",
306
- "outputs": [
307
- {
308
- "internalType": "address",
309
- "name": "serviceAddress",
310
- "type": "address"
311
- }
312
- ],
313
- "stateMutability": "view",
314
- "type": "function"
315
- },
316
- {
317
- "inputs": [],
318
- "name": "getType",
319
- "outputs": [
320
- {
321
- "internalType": "ObjectType",
322
- "name": "objectType",
323
- "type": "uint8"
324
- }
325
- ],
326
- "stateMutability": "pure",
327
- "type": "function"
328
- },
329
- {
330
- "inputs": [],
331
- "name": "getVersion",
332
- "outputs": [
333
- {
334
- "internalType": "Version",
335
- "name": "",
336
- "type": "uint24"
337
- }
338
- ],
339
- "stateMutability": "pure",
340
- "type": "function"
341
- },
342
- {
343
- "inputs": [
344
- {
345
- "internalType": "uint256",
346
- "name": "idx",
347
- "type": "uint256"
348
- }
349
- ],
350
- "name": "getVersion",
351
- "outputs": [
352
- {
353
- "internalType": "Version",
354
- "name": "",
355
- "type": "uint24"
356
- }
357
- ],
358
- "stateMutability": "view",
359
- "type": "function"
360
- },
361
- {
362
- "inputs": [],
363
- "name": "getVersionCount",
364
- "outputs": [
365
- {
366
- "internalType": "uint256",
367
- "name": "",
368
- "type": "uint256"
369
- }
370
- ],
371
- "stateMutability": "view",
372
- "type": "function"
373
- },
374
- {
375
- "inputs": [
376
- {
377
- "internalType": "Version",
378
- "name": "_version",
379
- "type": "uint24"
380
- }
381
- ],
382
- "name": "getVersionInfo",
383
- "outputs": [
384
- {
385
- "components": [
386
- {
387
- "internalType": "Version",
388
- "name": "version",
389
- "type": "uint24"
390
- },
391
- {
392
- "internalType": "address",
393
- "name": "implementation",
394
- "type": "address"
395
- },
396
- {
397
- "internalType": "address",
398
- "name": "activatedBy",
399
- "type": "address"
400
- },
401
- {
402
- "internalType": "Timestamp",
403
- "name": "activatedAt",
404
- "type": "uint40"
405
- },
406
- {
407
- "internalType": "Blocknumber",
408
- "name": "activatedIn",
409
- "type": "uint32"
410
- }
411
- ],
412
- "internalType": "struct IVersionable.VersionInfo",
413
- "name": "",
414
- "type": "tuple"
415
- }
416
- ],
417
- "stateMutability": "view",
418
- "type": "function"
419
- },
420
- {
421
- "inputs": [
422
- {
423
- "internalType": "address",
424
- "name": "implementation",
425
- "type": "address"
426
- },
427
- {
428
- "internalType": "address",
429
- "name": "activatedBy",
430
- "type": "address"
431
- },
432
- {
433
- "internalType": "bytes",
434
- "name": "data",
435
- "type": "bytes"
436
- }
437
- ],
438
- "name": "initialize",
439
- "outputs": [],
440
- "stateMutability": "nonpayable",
441
- "type": "function"
442
- },
443
- {
444
- "inputs": [
445
- {
446
- "internalType": "Version",
447
- "name": "_version",
448
- "type": "uint24"
449
- }
450
- ],
451
- "name": "isActivated",
452
- "outputs": [
453
- {
454
- "internalType": "bool",
455
- "name": "",
456
- "type": "bool"
457
- }
458
- ],
459
- "stateMutability": "view",
460
- "type": "function"
461
- },
462
- {
463
- "inputs": [
464
- {
465
- "internalType": "address",
466
- "name": "object",
467
- "type": "address"
468
- }
469
- ],
470
- "name": "isRegistered",
471
- "outputs": [
472
- {
473
- "internalType": "bool",
474
- "name": "",
475
- "type": "bool"
476
- }
477
- ],
478
- "stateMutability": "view",
479
- "type": "function"
480
- },
481
- {
482
- "inputs": [
483
- {
484
- "internalType": "NftId",
485
- "name": "nftId",
486
- "type": "uint96"
487
- }
488
- ],
489
- "name": "isRegistered",
490
- "outputs": [
491
- {
492
- "internalType": "bool",
493
- "name": "",
494
- "type": "bool"
495
- }
496
- ],
497
- "stateMutability": "view",
498
- "type": "function"
499
- },
500
- {
501
- "inputs": [],
502
- "name": "locationV1",
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": "register",
516
- "outputs": [
517
- {
518
- "internalType": "NftId",
519
- "name": "nftId",
520
- "type": "uint96"
521
- }
522
- ],
523
- "stateMutability": "pure",
524
- "type": "function"
525
- },
526
- {
527
- "inputs": [
528
- {
529
- "internalType": "address",
530
- "name": "objectAddress",
531
- "type": "address"
532
- }
533
- ],
534
- "name": "register",
535
- "outputs": [
536
- {
537
- "internalType": "NftId",
538
- "name": "nftId",
539
- "type": "uint96"
540
- }
541
- ],
542
- "stateMutability": "nonpayable",
543
- "type": "function"
544
- },
545
- {
546
- "inputs": [
547
- {
548
- "internalType": "NftId",
549
- "name": "parentNftId",
550
- "type": "uint96"
551
- },
552
- {
553
- "internalType": "ObjectType",
554
- "name": "objectType",
555
- "type": "uint8"
556
- },
557
- {
558
- "internalType": "address",
559
- "name": "initialOwner",
560
- "type": "address"
561
- },
562
- {
563
- "internalType": "bytes",
564
- "name": "data",
565
- "type": "bytes"
566
- }
567
- ],
568
- "name": "registerObjectForInstance",
569
- "outputs": [
570
- {
571
- "internalType": "NftId",
572
- "name": "nftId",
573
- "type": "uint96"
574
- }
575
- ],
576
- "stateMutability": "nonpayable",
577
- "type": "function"
578
- },
579
- {
580
- "inputs": [
581
- {
582
- "internalType": "bytes4",
583
- "name": "interfaceId",
584
- "type": "bytes4"
585
- }
586
- ],
587
- "name": "supportsInterface",
588
- "outputs": [
589
- {
590
- "internalType": "bool",
591
- "name": "",
592
- "type": "bool"
593
- }
594
- ],
595
- "stateMutability": "pure",
596
- "type": "function"
597
- },
598
- {
599
- "inputs": [
600
- {
601
- "internalType": "address",
602
- "name": "implementation",
603
- "type": "address"
604
- },
605
- {
606
- "internalType": "address",
607
- "name": "activatedBy",
608
- "type": "address"
609
- },
610
- {
611
- "internalType": "bytes",
612
- "name": "data",
613
- "type": "bytes"
614
- }
615
- ],
616
- "name": "upgrade",
617
- "outputs": [],
618
- "stateMutability": "nonpayable",
619
- "type": "function"
620
- }
621
- ],
622
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61561280620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002015760003560e01c806379a4f1ae1162000119578063b88da75911620000af578063d272ac1e116200007a578063d272ac1e146200059f578063df33330b14620005b6578063e74d052f14620005cd578063f16f93c214620005e457600080fd5b8063b88da7591462000550578063bc36dc911462000567578063c3c5a5471462000571578063cf7a1d77146200058857600080fd5b8063a3bcd81d11620000f0578063a3bcd81d14620004d7578063a48f42e014620004ee578063a745e3df1462000514578063b3c65015146200052d57600080fd5b806379a4f1ae146200047d578063893d20e814620004a5578063946dfcfe14620004af57600080fd5b806331b62a3b116200019b5780634d459c9011620001665780634d459c9014620003375780635ab1bd5314620004555780635ef14b5e146200045c578063644c45e0146200047357600080fd5b806331b62a3b14620002e05780633bc5de3014620002ea5780633fe9300e14620003095780634420e486146200032057600080fd5b80630d8e6e2c11620001dc5780630d8e6e2c146200027c57806315dae03e146200029b5780631a848cfb14620002ab5780631aa3a00814620002c457600080fd5b8063015654ff146200020657806301ffc9a7146200022d5780630abd84341462000265575b600080fd5b62000210620005fb565b6040516001600160a01b0390911681526020015b60405180910390f35b620002546200023e36600462002c6d565b6001600160e01b0319166306ecd8ef60e01b1490565b604051901515815260200162000224565b620002546200027636600462002cb5565b62000619565b62000286620006d0565b60405162ffffff909116815260200162000224565b6040516014815260200162000224565b620002b56200075d565b60405190815260200162000224565b60005b6040516001600160601b03909116815260200162000224565b620002c7620007e4565b6040805160208101909152600081525b60405162000224919062002d29565b620002fa6040518060200160405280600081525081565b620002c76200033136600462002d54565b62000820565b620003f76200034836600462002cb5565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020620055bd83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00162000224565b3062000210565b620002c76200046d36600462002e73565b6200104b565b620002c7620012da565b620002b57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b62000210620012f8565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154620002b5565b62000210620004e836600462002ef1565b6200141d565b62000505620004ff36600462002f5d565b62001484565b60405162000224919062002f7d565b6200052b6200052536600462002ff2565b620015d2565b005b6200053762001736565b6040516001600160401b03909116815260200162000224565b62000286620005613660046200305b565b62001759565b62000210620017ae565b620002546200058236600462002d54565b620017d3565b6200052b6200059936600462002ff2565b62001884565b620002c7620005b036600462002d54565b62001997565b62000210620005c736600462002f5d565b620019ce565b62000254620005de36600462002f5d565b62001ae0565b620002fa620005f536600462002f5d565b62001b49565b60006200060762001c09565b600901546001600160a01b0316919050565b600080600080516020620055bd83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015620006a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006c9919062003075565b1192915050565b604051632efe011360e01b815260016004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200075891906200308f565b905090565b60006200076962001c09565b600601600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620007be573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000758919062003075565b600080620007f162001c09565b60068101546001600160601b039081166000908152602092909252604090912054600160601b90041692915050565b6000806200082d62001c09565b6001600160a01b038416600090815260018201602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620008a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008cc9190620030af565b6200091e5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015283906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200096c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009929190620030af565b620009e05760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000604482015260640162000915565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000a21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a479190620030d3565b60ff80821660009081526002860160205260409020549192501662000aaf5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c4944000000000000604482015260640162000915565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000af0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b169190620030f3565b905062000b238162001ae0565b62000b7d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b606482015260840162000915565b60ff808316600090815260038601602090815260408083206001600160601b038616845288835281842054600160c01b9004851684529091529020541662000c125760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b606482015260840162000915565b600084600601600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c79573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c9f919062003113565b604051806020016040528060008152506040518363ffffffff1660e01b815260040162000cce92919062003133565b6020604051808303816000875af115801562000cee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d14919062003075565b905080955062000d90846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d5c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d829190620030d3565b60285b60ff90811691161490565b1562001035576040516301ffc9a760e01b8152631b4612f160e31b600482015287906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000de4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e0a9190620030af565b62000e585760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f5345525649434500000000000000604482015260640162000915565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000e99573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000ec391908101906200318f565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000f06573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f2c9190620030d3565b905060008260405160200162000f43919062002d29565b60408051601f1981840301815291815281516020928301206001600160601b038d16600090815260048d01909352912090915062000f8284826200326a565b50600081815260058a016020908152604080832060ff861684529091529020546001600160a01b03161562000ffa5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f52454749535445524544604482015260640162000915565b6000908152600589016020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038b1617905550505b62001041848762001c2d565b5050505050919050565b6000806200105862001c09565b9050620010678560d262000d85565b806200107b57506200107b8560dc62000d85565b620010c95760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c4944000000000000604482015260640162000915565b6006810154604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191620011139189919060040162003133565b6020604051808303816000875af115801562001133573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001159919062003075565b905080925060006040518060c00160405280856001600160601b03168152602001896001600160601b031681526020018860ff16815260200160006001600160a01b03168152602001876001600160a01b0316815260200186815250905080836000016000866001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816003019081620012cb91906200326a565b50905050505050949350505050565b6000620012e662001c09565b600601546001600160601b0316919050565b6000806200130562001c09565b60068101546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001367573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200138d9190620030af565b620013a65760088101546001600160a01b031662001417565b600681015460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa158015620013f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001417919062003113565b91505090565b6000808360405160200162001433919062002d29565b6040516020818303038152906040528051906020012090506200145562001c09565b60009182526005016020908152604080832060ff861684529091529020546001600160a01b0316905092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a0810191909152620014c262001c09565b6001600160601b0383811660009081526020928352604090819020815160c08101835281548085168252600160601b810490941694810194909452600160c01b90920460ff169083015260018101546001600160a01b039081166060840152600282015416608083015260038101805460a0840191906200154390620031dc565b80601f01602080910402602001604051908101604052809291908181526020018280546200157190620031dc565b8015620015c25780601f106200159657610100808354040283529160200191620015c2565b820191906000526020600020905b815481529060010190602001808311620015a457829003601f168201915b5050505050815250509050919050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c620015f6620006d0565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562001637573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200165d919062003336565b6000805160206200559d8339815191528054600160401b900460ff168062001692575080546001600160401b03808416911610155b15620016b15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155620016de858562001f1e565b620016e7600080fd5b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000620007586000805160206200559d833981519152546001600160401b031690565b6000600080516020620055bd833981519152600101828154811062001782576200178262003361565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000620017ba62001c09565b60060154600160601b90046001600160a01b0316919050565b6000620017df62001c09565b6001600160a01b03831660009081526001919091016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af415801562001858573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200187e9190620030af565b92915050565b6000805160206200559d8339815191528054600160401b810460ff1615906001600160401b0316600081158015620018b95750825b90506000826001600160401b03166001148015620018d65750303b155b905081158015620018e5575080155b15620019045760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200192f57845460ff60401b1916600160401b1785555b6200193b888862001f1e565b62001946866200214e565b83156200198d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000620019a362001c09565b6001600160a01b0390921660009081526001929092016020525060409020546001600160601b031690565b6000620019da62001c09565b6006015460405163046e44af60e11b81526001600160601b0384166004820152600160601b9091046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af415801562001a4f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a759190620030f3565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801562001aba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200187e919062003113565b600062001aec62001c09565b6001600160601b038316600090815260209190915260409081902054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016200183a565b606062001b5562001c09565b6001600160601b038316600090815260049190910160205260409020805462001b7e90620031dc565b80601f016020809104026020016040519081016040528092919081815260200182805462001bac90620031dc565b801562001bfd5780601f1062001bd15761010080835404028352916020019162001bfd565b820191906000526020600020905b81548152906001019060200180831162001bdf57829003601f168201915b50505050509050919050565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090565b600082905060006040518060c00160405280846001600160601b03168152602001856001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c8d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cb39190620030f3565b6001600160601b03168152602001856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d00573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d269190620030d3565b60ff168152602001836001600160a01b03168152602001856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d7c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001da2919062003113565b6001600160a01b03168152602001856001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001def573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e1991908101906200318f565b90529050600062001e2962001c09565b6001600160601b038086166000908152602083815260409182902086518154928801519388015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608401516001820180546001600160a01b039283166001600160a01b031991821617909155608086015160028401805491909316911617905560a08401519192508391600382019062001edc90826200326a565b5050506001600160a01b0390921660009081526001909201602052506040902080546001600160601b039092166001600160601b031990921691909117905550565b62001f2862002279565b600080516020620055bd833981519152600062001f5b6000805160206200559d833981519152546001600160401b031690565b9050600062001f69620006d0565b9050816001600160401b031660010362001f985760028301805462ffffff191662ffffff831617905562001fd0565b600283015462ffffff9081169082161162001fd05760405162461bcd60e51b8152602060048201526000602482015260440162000915565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101620020454290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620017279083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6200215862002279565b60008180602001905181019062002170919062003113565b905060006200217e62001c09565b600881018054336001600160a01b0319918216179091556009820180549091166001600160a01b0385161790556040519091503090620021be9062002c5f565b6001600160a01b039091168152602001604051809103906000f080158015620021eb573d6000803e3d6000fd5b506007820180546001600160a01b0319166001600160a01b039290921691821790556006820180546001600160601b0316600160601b90920291909117905562002234620022b4565b6200223e620024e5565b6006820180546001600160601b0319166001600160601b03929092169190911790556200226a620028a0565b620022746200298f565b505050565b6000805160206200559d83398151915254600160401b900460ff16620022b257604051631afcd79f60e31b815260040160405180910390fd5b565b620022be62002279565b6000620022ca62001c09565b905060008160070160009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002324573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200234a919062003075565b600783015460098401546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015620023a157600080fd5b505af1158015620023b6573d6000803e3d6000fd5b505050506000620023c48290565b905060006040518060c00160405280836001600160601b03168152602001620023eb600090565b6001600160601b03168152602001600a5b60ff90811682526000602080840182905260098901546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a1685528b845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a082015191925082916003820190620024dc90826200326a565b50505050505050565b6000620024f162002279565b6000620024fd62001c09565b6007810154604051630559ea4760e01b8152600260048201529192506000916001600160a01b0390911690630559ea4790602401602060405180830381865afa1580156200254f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002575919062003075565b90508092508160070160009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620025d0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025f6919062003075565b811462002607576200260762002ac1565b600782015460098301546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b1580156200265c57600080fd5b505af115801562002671573d6000803e3d6000fd5b505050506000466001036200270057600783015460408051632cc7144960e11b81529051620026f8926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620026cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026f5919062003075565b90565b905062002752565b600783015460408051632e85b1f360e01b815290516200274f926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015620026cf573d6000803e3d6000fd5b90505b60006040518060c00160405280866001600160601b03168152602001836001600160601b0316815260200162002786601490565b60ff90811682523060208084019190915260098801546001600160a01b039081166040808601919091528051808401825260008082526060968701919091526001600160601b03808d1682528b855290829020875181549589015193890151909616600160c01b0260ff60c01b19938316600160601b026001600160c01b031990961696909216959095179390931716919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a0820151919250829160038201906200286890826200326a565b50503060009081526001959095016020525050604090922080546001600160601b0319166001600160601b0385161790555090919050565b620028aa62002279565b6000620028b662001c09565b6014600090815260028201602081905260408083208054600160ff199182168117909255601e85528285208054821683179055602885528285208054821683179055603285528285208054821683179055603c85528285208054821683179055606e85528285208054821683179055608285528285208054821683179055608c8552828520805482168317905560788552828520805482168317905560d28552918420805490921681179091559293509060dc5b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b6200299962002279565b6000620029a562001c09565b601e6000908152600382016020818152604080842060148086529083528185208054600160ff199182168117909255602887528585528387208388528552838720805482168317905560328088528686528488209388529285528387208054821683179055606e8088528686528488208489528652848820805483168417905560788852868652848820848952865284882080548316841790556082885286865284882084895286528488208054831684179055608c808952878752858920948952938652848820805483168417905560d288528686528488209088528552838720805482168317905560dc87528585528387208388528552838720805490911682179055603c8652939092528320939450909291906200296a565b62002acb62002279565b600062002ad762001c09565b905060008160070160009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002b31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b57919062003075565b600783015460098401546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b15801562002bae57600080fd5b505af115801562002bc3573d6000803e3d6000fd5b50505050600062002bd18290565b905060006040518060c00160405280836001600160601b0316815260200162002c498660070160009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620026cf573d6000803e3d6000fd5b6001600160601b031681526020016014620023fc565b612225806200337883390190565b60006020828403121562002c8057600080fd5b81356001600160e01b03198116811462002c9957600080fd5b9392505050565b62ffffff8116811462002cb257600080fd5b50565b60006020828403121562002cc857600080fd5b813562002c998162002ca0565b60005b8381101562002cf257818101518382015260200162002cd8565b50506000910152565b6000815180845262002d1581602086016020860162002cd5565b601f01601f19169290920160200192915050565b60208152600062002c99602083018462002cfb565b6001600160a01b038116811462002cb257600080fd5b60006020828403121562002d6757600080fd5b813562002c998162002d3e565b6001600160601b038116811462002cb257600080fd5b60ff8116811462002cb257600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562002ddb5762002ddb62002d9a565b604052919050565b60006001600160401b0382111562002dff5762002dff62002d9a565b50601f01601f191660200190565b600062002e2462002e1e8462002de3565b62002db0565b905082815283838301111562002e3957600080fd5b828260208301376000602084830101529392505050565b600082601f83011262002e6257600080fd5b62002c998383356020850162002e0d565b6000806000806080858703121562002e8a57600080fd5b843562002e978162002d74565b9350602085013562002ea98162002d8a565b9250604085013562002ebb8162002d3e565b915060608501356001600160401b0381111562002ed757600080fd5b62002ee58782880162002e50565b91505092959194509250565b6000806040838503121562002f0557600080fd5b82356001600160401b0381111562002f1c57600080fd5b8301601f8101851362002f2e57600080fd5b62002f3f8582356020840162002e0d565b925050602083013562002f528162002d8a565b809150509250929050565b60006020828403121562002f7057600080fd5b813562002c998162002d74565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015262002fea60e084018262002cfb565b949350505050565b6000806000606084860312156200300857600080fd5b8335620030158162002d3e565b92506020840135620030278162002d3e565b915060408401356001600160401b038111156200304357600080fd5b620030518682870162002e50565b9150509250925092565b6000602082840312156200306e57600080fd5b5035919050565b6000602082840312156200308857600080fd5b5051919050565b600060208284031215620030a257600080fd5b815162002c998162002ca0565b600060208284031215620030c257600080fd5b8151801515811462002c9957600080fd5b600060208284031215620030e657600080fd5b815162002c998162002d8a565b6000602082840312156200310657600080fd5b815162002c998162002d74565b6000602082840312156200312657600080fd5b815162002c998162002d3e565b6001600160a01b038316815260406020820181905260009062002fea9083018462002cfb565b60006200316a62002e1e8462002de3565b90508281528383830111156200317f57600080fd5b62002c9983602083018462002cd5565b600060208284031215620031a257600080fd5b81516001600160401b03811115620031b957600080fd5b8201601f81018413620031cb57600080fd5b62002fea8482516020840162003159565b600181811c90821680620031f157607f821691505b6020821081036200321257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200227457600081815260208120601f850160051c81016020861015620032415750805b601f850160051c820191505b8181101562003262578281556001016200324d565b505050505050565b81516001600160401b0381111562003286576200328662002d9a565b6200329e81620032978454620031dc565b8462003218565b602080601f831160018114620032d65760008415620032bd5750858301515b600019600386901b1c1916600185901b17855562003262565b600085815260208120601f198616915b828110156200330757888601518255948401946001909101908401620032e6565b5085821015620033265787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200334957600080fd5b81516001600160401b038116811462002c9957600080fd5b634e487b7160e01b600052603260045260246000fdfe60806040523480156200001157600080fd5b506040516200222538038062002225833981016040819052620000349162000165565b604051806060016040528060298152602001620021fc602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200023c565b5060016200008682826200023c565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600b80546001600160a01b0319166001600160a01b03831617905546600c819055620001109062000131565b600d8190556200012290600a6200041d565b600e55506003600f556200046a565b60005b811562000160578062000147816200042b565b9150620001589050600a8362000447565b915062000134565b919050565b6000602082840312156200017857600080fd5b81516001600160a01b03811681146200019057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c257607f821691505b602082108103620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620002125750805b601f850160051c820191505b8181101562000233578281556001016200021e565b5050505b505050565b81516001600160401b0381111562000258576200025862000197565b6200027081620002698454620001ad565b84620001e9565b602080601f831160018114620002a857600084156200028f5750858301515b600019600386901b1c1916600185901b17855562000233565b600085815260208120601f198616915b82811015620002d957888601518255948401946001909101908401620002b8565b5085821015620002f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200035f57816000190482111562000343576200034362000308565b808516156200035157918102915b93841c939080029062000323565b509250929050565b600082620003785750600162000417565b81620003875750600062000417565b8160018114620003a05760028114620003ab57620003cb565b600191505062000417565b60ff841115620003bf57620003bf62000308565b50506001821b62000417565b5060208310610133831016604e8410600b8410161715620003f0575081810a62000417565b620003fc83836200031e565b806000190482111562000413576200041362000308565b0290505b92915050565b600062000190838362000367565b60006001820162000440576200044062000308565b5060010190565b6000826200046557634e487b7160e01b600052601260045260246000fd5b500490565b611d82806200047a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063598e2892116100f9578063a3f4df7e11610097578063d0def52111610071578063d0def52114610390578063e985e9c5146103a3578063f21de1e8146103df578063f76f8d78146103f057600080fd5b8063a3f4df7e14610362578063b88d4fde1461036a578063c87b56dd1461037d57600080fd5b8063862440e2116100d3578063862440e21461032c57806395d89b411461033f578063a22cb46514610347578063a2309ff81461035a57600080fd5b8063598e2892146102fd5780636352211e1461030657806370a082311461031957600080fd5b80632e85b1f31161016657806342842e0e1161014057806342842e0e146102b157806342966c68146102c45780634f558e79146102d75780634f6ccce7146102ea57600080fd5b80632e85b1f3146102825780632f745c591461028b57806340c10f191461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd1461026757806323b872dd1461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d736600461167b565b610413565b60405190151581526020015b60405180910390f35b6102046101ff36600461169f565b61043e565b6040519081526020016101e8565b61021a610473565b6040516101e891906116fe565b61023a61023536600461169f565b610505565b6040516001600160a01b0390911681526020016101e8565b61026561026036600461172d565b61052c565b005b600854610204565b61026561027d366004611757565b610646565b61020461083581565b61020461029936600461172d565b610677565b6102656102ac36600461172d565b61070d565b6102656102bf366004611757565b61075a565b6102656102d236600461169f565b610775565b6101dc6102e536600461169f565b6107cb565b6102046102f836600461169f565b6107ea565b61020461044d81565b61023a61031436600461169f565b61087d565b610204610327366004611793565b6108dd565b61026561033a36600461185a565b610963565b61021a6109ff565b6102656103553660046118a1565b610a0e565b601054610204565b61021a610a19565b6102656103783660046118dd565b610a35565b61021a61038b36600461169f565b610a6d565b61020461039e366004611959565b610b16565b6101dc6103b1366004611991565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610438575061043882610b94565b92915050565b6000600d54600c54600e548461045491906119da565b61045e91906119f1565b6104699060646119da565b61043891906119f1565b60606000805461048290611a04565b80601f01602080910402602001604051908101604052809291908181526020018280546104ae90611a04565b80156104fb5780601f106104d0576101008083540402835291602001916104fb565b820191906000526020600020905b8154815290600101906020018083116104de57829003601f168201915b5050505050905090565b600061051082610be4565b506000908152600460205260409020546001600160a01b031690565b60006105378261087d565b9050806001600160a01b0316836001600160a01b0316036105a95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105c557506105c581336103b1565b6106375760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105a0565b6106418383610c43565b505050565b6106503382610cb1565b61066c5760405162461bcd60e51b81526004016105a090611a3e565b610641838383610d30565b6000610682836108dd565b82106106e45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633146107375760405162461bcd60e51b81526004016105a090611a8b565b6010805490600061074783611acc565b91905055506107568282610ea1565b5050565b61064183838360405180602001604052806000815250610a35565b600b546001600160a01b0316331461079f5760405162461bcd60e51b81526004016105a090611a8b565b6107a881610be4565b6107b181610ebb565b6000818152600a602052604081206107c891611617565b50565b6000818152600260205260408120546001600160a01b03161515610438565b60006107f560085490565b82106108585760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a0565b6008828154811061086b5761086b611ae5565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104385760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b60006001600160a01b0382166109475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105a0565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461098d5760405162461bcd60e51b81526004016105a090611a8b565b60008151116109de5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d50545900000000000000000060448201526064016105a0565b6109e782610be4565b6000828152600a602052604090206106418282611b49565b60606001805461048290611a04565b610756338383610f5e565b604051806060016040528060298152602001611d246029913981565b610a3f3383610cb1565b610a5b5760405162461bcd60e51b81526004016105a090611a3e565b610a678484848461102c565b50505050565b6060610a7882610be4565b6000828152600a602052604090208054610a9190611a04565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd90611a04565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b50505050509050919050565b600b546000906001600160a01b03163314610b435760405162461bcd60e51b81526004016105a090611a8b565b610b4b61105f565b825190915015610b6f576000818152600a60205260409020610b6d8382611b49565b505b610b798382610ea1565b60108054906000610b8983611acc565b919050555092915050565b60006001600160e01b031982166380ac58cd60e01b1480610bc557506001600160e01b03198216635b5e139f60e01b145b8061043857506301ffc9a760e01b6001600160e01b0319831614610438565b6000818152600260205260409020546001600160a01b03166107c85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c788261087d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610cbd8361087d565b9050806001600160a01b0316846001600160a01b03161480610d0457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d285750836001600160a01b0316610d1d84610505565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d438261087d565b6001600160a01b031614610d695760405162461bcd60e51b81526004016105a090611c09565b6001600160a01b038216610dcb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a0565b610dd88383836001611086565b826001600160a01b0316610deb8261087d565b6001600160a01b031614610e115760405162461bcd60e51b81526004016105a090611c09565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107568282604051806020016040528060008152506111ba565b6000610ec68261087d565b9050610ed6816000846001611086565b610edf8261087d565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031603610fbf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611037848484610d30565b611043848484846111ed565b610a675760405162461bcd60e51b81526004016105a090611c4e565b600061106c600f5461043e565b600f8054919250600061107e83611acc565b919050555090565b60018111156110f55760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105a0565b816001600160a01b0385166111515761114c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611174565b836001600160a01b0316856001600160a01b0316146111745761117485826112ee565b6001600160a01b0384166111905761118b8161138b565b6111b3565b846001600160a01b0316846001600160a01b0316146111b3576111b3848261143a565b5050505050565b6111c4838361147e565b6111d160008484846111ed565b6106415760405162461bcd60e51b81526004016105a090611c4e565b60006001600160a01b0384163b156112e357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611231903390899088908890600401611ca0565b6020604051808303816000875af192505050801561126c575060408051601f3d908101601f1916820190925261126991810190611cdd565b60015b6112c9573d80801561129a576040519150601f19603f3d011682016040523d82523d6000602084013e61129f565b606091505b5080516000036112c15760405162461bcd60e51b81526004016105a090611c4e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d28565b506001949350505050565b600060016112fb846108dd565b6113059190611cfa565b600083815260076020526040902054909150808214611358576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061139d90600190611cfa565b600083815260096020526040812054600880549394509092849081106113c5576113c5611ae5565b9060005260206000200154905080600883815481106113e6576113e6611ae5565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061141e5761141e611d0d565b6001900381819060005260206000200160009055905550505050565b6000611445836108dd565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166114d45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a0565b6000818152600260205260409020546001600160a01b0316156115395760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b611547600083836001611086565b6000818152600260205260409020546001600160a01b0316156115ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b50805461162390611a04565b6000825580601f10611633575050565b601f0160209004906000526020600020908101906107c891905b80821115611661576000815560010161164d565b5090565b6001600160e01b0319811681146107c857600080fd5b60006020828403121561168d57600080fd5b813561169881611665565b9392505050565b6000602082840312156116b157600080fd5b5035919050565b6000815180845260005b818110156116de576020818501810151868301820152016116c2565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061169860208301846116b8565b80356001600160a01b038116811461172857600080fd5b919050565b6000806040838503121561174057600080fd5b61174983611711565b946020939093013593505050565b60008060006060848603121561176c57600080fd5b61177584611711565b925061178360208501611711565b9150604084013590509250925092565b6000602082840312156117a557600080fd5b61169882611711565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117df576117df6117ae565b604051601f8501601f19908116603f01168101908282118183101715611807576118076117ae565b8160405280935085815286868601111561182057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261184b57600080fd5b611698838335602085016117c4565b6000806040838503121561186d57600080fd5b82359150602083013567ffffffffffffffff81111561188b57600080fd5b6118978582860161183a565b9150509250929050565b600080604083850312156118b457600080fd5b6118bd83611711565b9150602083013580151581146118d257600080fd5b809150509250929050565b600080600080608085870312156118f357600080fd5b6118fc85611711565b935061190a60208601611711565b925060408501359150606085013567ffffffffffffffff81111561192d57600080fd5b8501601f8101871361193e57600080fd5b61194d878235602084016117c4565b91505092959194509250565b6000806040838503121561196c57600080fd5b61197583611711565b9150602083013567ffffffffffffffff81111561188b57600080fd5b600080604083850312156119a457600080fd5b6119ad83611711565b91506119bb60208401611711565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610438576104386119c4565b80820180821115610438576104386119c4565b600181811c90821680611a1857607f821691505b602082108103611a3857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b600060018201611ade57611ade6119c4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561064157600081815260208120601f850160051c81016020861015611b225750805b601f850160051c820191505b81811015611b4157828155600101611b2e565b505050505050565b815167ffffffffffffffff811115611b6357611b636117ae565b611b7781611b718454611a04565b84611afb565b602080601f831160018114611bac5760008415611b945750858301515b600019600386901b1c1916600185901b178555611b41565b600085815260208120601f198616915b82811015611bdb57888601518255948401946001909101908401611bbc565b5085821015611bf95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cd3908301846116b8565b9695505050505050565b600060208284031215611cef57600080fd5b815161169881611665565b81810381811115610438576104386119c4565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220bfafc16bdaf37d7e7f030e76f63504310b1b0873a8baeb39dcc08423f8b1c99e64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200177578e71d273c8435c3634a50c5496ffa13f647bf8a11b5bca188cb25c876664736f6c63430008140033",
623
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002015760003560e01c806379a4f1ae1162000119578063b88da75911620000af578063d272ac1e116200007a578063d272ac1e146200059f578063df33330b14620005b6578063e74d052f14620005cd578063f16f93c214620005e457600080fd5b8063b88da7591462000550578063bc36dc911462000567578063c3c5a5471462000571578063cf7a1d77146200058857600080fd5b8063a3bcd81d11620000f0578063a3bcd81d14620004d7578063a48f42e014620004ee578063a745e3df1462000514578063b3c65015146200052d57600080fd5b806379a4f1ae146200047d578063893d20e814620004a5578063946dfcfe14620004af57600080fd5b806331b62a3b116200019b5780634d459c9011620001665780634d459c9014620003375780635ab1bd5314620004555780635ef14b5e146200045c578063644c45e0146200047357600080fd5b806331b62a3b14620002e05780633bc5de3014620002ea5780633fe9300e14620003095780634420e486146200032057600080fd5b80630d8e6e2c11620001dc5780630d8e6e2c146200027c57806315dae03e146200029b5780631a848cfb14620002ab5780631aa3a00814620002c457600080fd5b8063015654ff146200020657806301ffc9a7146200022d5780630abd84341462000265575b600080fd5b62000210620005fb565b6040516001600160a01b0390911681526020015b60405180910390f35b620002546200023e36600462002c6d565b6001600160e01b0319166306ecd8ef60e01b1490565b604051901515815260200162000224565b620002546200027636600462002cb5565b62000619565b62000286620006d0565b60405162ffffff909116815260200162000224565b6040516014815260200162000224565b620002b56200075d565b60405190815260200162000224565b60005b6040516001600160601b03909116815260200162000224565b620002c7620007e4565b6040805160208101909152600081525b60405162000224919062002d29565b620002fa6040518060200160405280600081525081565b620002c76200033136600462002d54565b62000820565b620003f76200034836600462002cb5565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020620055bd83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00162000224565b3062000210565b620002c76200046d36600462002e73565b6200104b565b620002c7620012da565b620002b57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b62000210620012f8565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154620002b5565b62000210620004e836600462002ef1565b6200141d565b62000505620004ff36600462002f5d565b62001484565b60405162000224919062002f7d565b6200052b6200052536600462002ff2565b620015d2565b005b6200053762001736565b6040516001600160401b03909116815260200162000224565b62000286620005613660046200305b565b62001759565b62000210620017ae565b620002546200058236600462002d54565b620017d3565b6200052b6200059936600462002ff2565b62001884565b620002c7620005b036600462002d54565b62001997565b62000210620005c736600462002f5d565b620019ce565b62000254620005de36600462002f5d565b62001ae0565b620002fa620005f536600462002f5d565b62001b49565b60006200060762001c09565b600901546001600160a01b0316919050565b600080600080516020620055bd83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015620006a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006c9919062003075565b1192915050565b604051632efe011360e01b815260016004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200075891906200308f565b905090565b60006200076962001c09565b600601600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620007be573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000758919062003075565b600080620007f162001c09565b60068101546001600160601b039081166000908152602092909252604090912054600160601b90041692915050565b6000806200082d62001c09565b6001600160a01b038416600090815260018201602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620008a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008cc9190620030af565b6200091e5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015283906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200096c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009929190620030af565b620009e05760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000604482015260640162000915565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000a21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a479190620030d3565b60ff80821660009081526002860160205260409020549192501662000aaf5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c4944000000000000604482015260640162000915565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000af0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b169190620030f3565b905062000b238162001ae0565b62000b7d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b606482015260840162000915565b60ff808316600090815260038601602090815260408083206001600160601b038616845288835281842054600160c01b9004851684529091529020541662000c125760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b606482015260840162000915565b600084600601600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c79573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c9f919062003113565b604051806020016040528060008152506040518363ffffffff1660e01b815260040162000cce92919062003133565b6020604051808303816000875af115801562000cee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d14919062003075565b905080955062000d90846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d5c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d829190620030d3565b60285b60ff90811691161490565b1562001035576040516301ffc9a760e01b8152631b4612f160e31b600482015287906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000de4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e0a9190620030af565b62000e585760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f5345525649434500000000000000604482015260640162000915565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000e99573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000ec391908101906200318f565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000f06573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f2c9190620030d3565b905060008260405160200162000f43919062002d29565b60408051601f1981840301815291815281516020928301206001600160601b038d16600090815260048d01909352912090915062000f8284826200326a565b50600081815260058a016020908152604080832060ff861684529091529020546001600160a01b03161562000ffa5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f52454749535445524544604482015260640162000915565b6000908152600589016020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038b1617905550505b62001041848762001c2d565b5050505050919050565b6000806200105862001c09565b9050620010678560d262000d85565b806200107b57506200107b8560dc62000d85565b620010c95760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c4944000000000000604482015260640162000915565b6006810154604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191620011139189919060040162003133565b6020604051808303816000875af115801562001133573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001159919062003075565b905080925060006040518060c00160405280856001600160601b03168152602001896001600160601b031681526020018860ff16815260200160006001600160a01b03168152602001876001600160a01b0316815260200186815250905080836000016000866001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816003019081620012cb91906200326a565b50905050505050949350505050565b6000620012e662001c09565b600601546001600160601b0316919050565b6000806200130562001c09565b60068101546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001367573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200138d9190620030af565b620013a65760088101546001600160a01b031662001417565b600681015460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa158015620013f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001417919062003113565b91505090565b6000808360405160200162001433919062002d29565b6040516020818303038152906040528051906020012090506200145562001c09565b60009182526005016020908152604080832060ff861684529091529020546001600160a01b0316905092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a0810191909152620014c262001c09565b6001600160601b0383811660009081526020928352604090819020815160c08101835281548085168252600160601b810490941694810194909452600160c01b90920460ff169083015260018101546001600160a01b039081166060840152600282015416608083015260038101805460a0840191906200154390620031dc565b80601f01602080910402602001604051908101604052809291908181526020018280546200157190620031dc565b8015620015c25780601f106200159657610100808354040283529160200191620015c2565b820191906000526020600020905b815481529060010190602001808311620015a457829003601f168201915b5050505050815250509050919050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c620015f6620006d0565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562001637573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200165d919062003336565b6000805160206200559d8339815191528054600160401b900460ff168062001692575080546001600160401b03808416911610155b15620016b15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155620016de858562001f1e565b620016e7600080fd5b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000620007586000805160206200559d833981519152546001600160401b031690565b6000600080516020620055bd833981519152600101828154811062001782576200178262003361565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000620017ba62001c09565b60060154600160601b90046001600160a01b0316919050565b6000620017df62001c09565b6001600160a01b03831660009081526001919091016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af415801562001858573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200187e9190620030af565b92915050565b6000805160206200559d8339815191528054600160401b810460ff1615906001600160401b0316600081158015620018b95750825b90506000826001600160401b03166001148015620018d65750303b155b905081158015620018e5575080155b15620019045760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200192f57845460ff60401b1916600160401b1785555b6200193b888862001f1e565b62001946866200214e565b83156200198d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000620019a362001c09565b6001600160a01b0390921660009081526001929092016020525060409020546001600160601b031690565b6000620019da62001c09565b6006015460405163046e44af60e11b81526001600160601b0384166004820152600160601b9091046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af415801562001a4f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a759190620030f3565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801562001aba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200187e919062003113565b600062001aec62001c09565b6001600160601b038316600090815260209190915260409081902054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016200183a565b606062001b5562001c09565b6001600160601b038316600090815260049190910160205260409020805462001b7e90620031dc565b80601f016020809104026020016040519081016040528092919081815260200182805462001bac90620031dc565b801562001bfd5780601f1062001bd15761010080835404028352916020019162001bfd565b820191906000526020600020905b81548152906001019060200180831162001bdf57829003601f168201915b50505050509050919050565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090565b600082905060006040518060c00160405280846001600160601b03168152602001856001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c8d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cb39190620030f3565b6001600160601b03168152602001856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d00573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d269190620030d3565b60ff168152602001836001600160a01b03168152602001856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d7c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001da2919062003113565b6001600160a01b03168152602001856001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001def573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e1991908101906200318f565b90529050600062001e2962001c09565b6001600160601b038086166000908152602083815260409182902086518154928801519388015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608401516001820180546001600160a01b039283166001600160a01b031991821617909155608086015160028401805491909316911617905560a08401519192508391600382019062001edc90826200326a565b5050506001600160a01b0390921660009081526001909201602052506040902080546001600160601b039092166001600160601b031990921691909117905550565b62001f2862002279565b600080516020620055bd833981519152600062001f5b6000805160206200559d833981519152546001600160401b031690565b9050600062001f69620006d0565b9050816001600160401b031660010362001f985760028301805462ffffff191662ffffff831617905562001fd0565b600283015462ffffff9081169082161162001fd05760405162461bcd60e51b8152602060048201526000602482015260440162000915565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101620020454290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620017279083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6200215862002279565b60008180602001905181019062002170919062003113565b905060006200217e62001c09565b600881018054336001600160a01b0319918216179091556009820180549091166001600160a01b0385161790556040519091503090620021be9062002c5f565b6001600160a01b039091168152602001604051809103906000f080158015620021eb573d6000803e3d6000fd5b506007820180546001600160a01b0319166001600160a01b039290921691821790556006820180546001600160601b0316600160601b90920291909117905562002234620022b4565b6200223e620024e5565b6006820180546001600160601b0319166001600160601b03929092169190911790556200226a620028a0565b620022746200298f565b505050565b6000805160206200559d83398151915254600160401b900460ff16620022b257604051631afcd79f60e31b815260040160405180910390fd5b565b620022be62002279565b6000620022ca62001c09565b905060008160070160009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002324573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200234a919062003075565b600783015460098401546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015620023a157600080fd5b505af1158015620023b6573d6000803e3d6000fd5b505050506000620023c48290565b905060006040518060c00160405280836001600160601b03168152602001620023eb600090565b6001600160601b03168152602001600a5b60ff90811682526000602080840182905260098901546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a1685528b845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a082015191925082916003820190620024dc90826200326a565b50505050505050565b6000620024f162002279565b6000620024fd62001c09565b6007810154604051630559ea4760e01b8152600260048201529192506000916001600160a01b0390911690630559ea4790602401602060405180830381865afa1580156200254f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002575919062003075565b90508092508160070160009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620025d0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025f6919062003075565b811462002607576200260762002ac1565b600782015460098301546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b1580156200265c57600080fd5b505af115801562002671573d6000803e3d6000fd5b505050506000466001036200270057600783015460408051632cc7144960e11b81529051620026f8926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620026cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026f5919062003075565b90565b905062002752565b600783015460408051632e85b1f360e01b815290516200274f926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015620026cf573d6000803e3d6000fd5b90505b60006040518060c00160405280866001600160601b03168152602001836001600160601b0316815260200162002786601490565b60ff90811682523060208084019190915260098801546001600160a01b039081166040808601919091528051808401825260008082526060968701919091526001600160601b03808d1682528b855290829020875181549589015193890151909616600160c01b0260ff60c01b19938316600160601b026001600160c01b031990961696909216959095179390931716919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a0820151919250829160038201906200286890826200326a565b50503060009081526001959095016020525050604090922080546001600160601b0319166001600160601b0385161790555090919050565b620028aa62002279565b6000620028b662001c09565b6014600090815260028201602081905260408083208054600160ff199182168117909255601e85528285208054821683179055602885528285208054821683179055603285528285208054821683179055603c85528285208054821683179055606e85528285208054821683179055608285528285208054821683179055608c8552828520805482168317905560788552828520805482168317905560d28552918420805490921681179091559293509060dc5b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b6200299962002279565b6000620029a562001c09565b601e6000908152600382016020818152604080842060148086529083528185208054600160ff199182168117909255602887528585528387208388528552838720805482168317905560328088528686528488209388529285528387208054821683179055606e8088528686528488208489528652848820805483168417905560788852868652848820848952865284882080548316841790556082885286865284882084895286528488208054831684179055608c808952878752858920948952938652848820805483168417905560d288528686528488209088528552838720805482168317905560dc87528585528387208388528552838720805490911682179055603c8652939092528320939450909291906200296a565b62002acb62002279565b600062002ad762001c09565b905060008160070160009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002b31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b57919062003075565b600783015460098401546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b15801562002bae57600080fd5b505af115801562002bc3573d6000803e3d6000fd5b50505050600062002bd18290565b905060006040518060c00160405280836001600160601b0316815260200162002c498660070160009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620026cf573d6000803e3d6000fd5b6001600160601b031681526020016014620023fc565b612225806200337883390190565b60006020828403121562002c8057600080fd5b81356001600160e01b03198116811462002c9957600080fd5b9392505050565b62ffffff8116811462002cb257600080fd5b50565b60006020828403121562002cc857600080fd5b813562002c998162002ca0565b60005b8381101562002cf257818101518382015260200162002cd8565b50506000910152565b6000815180845262002d1581602086016020860162002cd5565b601f01601f19169290920160200192915050565b60208152600062002c99602083018462002cfb565b6001600160a01b038116811462002cb257600080fd5b60006020828403121562002d6757600080fd5b813562002c998162002d3e565b6001600160601b038116811462002cb257600080fd5b60ff8116811462002cb257600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562002ddb5762002ddb62002d9a565b604052919050565b60006001600160401b0382111562002dff5762002dff62002d9a565b50601f01601f191660200190565b600062002e2462002e1e8462002de3565b62002db0565b905082815283838301111562002e3957600080fd5b828260208301376000602084830101529392505050565b600082601f83011262002e6257600080fd5b62002c998383356020850162002e0d565b6000806000806080858703121562002e8a57600080fd5b843562002e978162002d74565b9350602085013562002ea98162002d8a565b9250604085013562002ebb8162002d3e565b915060608501356001600160401b0381111562002ed757600080fd5b62002ee58782880162002e50565b91505092959194509250565b6000806040838503121562002f0557600080fd5b82356001600160401b0381111562002f1c57600080fd5b8301601f8101851362002f2e57600080fd5b62002f3f8582356020840162002e0d565b925050602083013562002f528162002d8a565b809150509250929050565b60006020828403121562002f7057600080fd5b813562002c998162002d74565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015262002fea60e084018262002cfb565b949350505050565b6000806000606084860312156200300857600080fd5b8335620030158162002d3e565b92506020840135620030278162002d3e565b915060408401356001600160401b038111156200304357600080fd5b620030518682870162002e50565b9150509250925092565b6000602082840312156200306e57600080fd5b5035919050565b6000602082840312156200308857600080fd5b5051919050565b600060208284031215620030a257600080fd5b815162002c998162002ca0565b600060208284031215620030c257600080fd5b8151801515811462002c9957600080fd5b600060208284031215620030e657600080fd5b815162002c998162002d8a565b6000602082840312156200310657600080fd5b815162002c998162002d74565b6000602082840312156200312657600080fd5b815162002c998162002d3e565b6001600160a01b038316815260406020820181905260009062002fea9083018462002cfb565b60006200316a62002e1e8462002de3565b90508281528383830111156200317f57600080fd5b62002c9983602083018462002cd5565b600060208284031215620031a257600080fd5b81516001600160401b03811115620031b957600080fd5b8201601f81018413620031cb57600080fd5b62002fea8482516020840162003159565b600181811c90821680620031f157607f821691505b6020821081036200321257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200227457600081815260208120601f850160051c81016020861015620032415750805b601f850160051c820191505b8181101562003262578281556001016200324d565b505050505050565b81516001600160401b0381111562003286576200328662002d9a565b6200329e81620032978454620031dc565b8462003218565b602080601f831160018114620032d65760008415620032bd5750858301515b600019600386901b1c1916600185901b17855562003262565b600085815260208120601f198616915b828110156200330757888601518255948401946001909101908401620032e6565b5085821015620033265787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200334957600080fd5b81516001600160401b038116811462002c9957600080fd5b634e487b7160e01b600052603260045260246000fdfe60806040523480156200001157600080fd5b506040516200222538038062002225833981016040819052620000349162000165565b604051806060016040528060298152602001620021fc602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200023c565b5060016200008682826200023c565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600b80546001600160a01b0319166001600160a01b03831617905546600c819055620001109062000131565b600d8190556200012290600a6200041d565b600e55506003600f556200046a565b60005b811562000160578062000147816200042b565b9150620001589050600a8362000447565b915062000134565b919050565b6000602082840312156200017857600080fd5b81516001600160a01b03811681146200019057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c257607f821691505b602082108103620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620002125750805b601f850160051c820191505b8181101562000233578281556001016200021e565b5050505b505050565b81516001600160401b0381111562000258576200025862000197565b6200027081620002698454620001ad565b84620001e9565b602080601f831160018114620002a857600084156200028f5750858301515b600019600386901b1c1916600185901b17855562000233565b600085815260208120601f198616915b82811015620002d957888601518255948401946001909101908401620002b8565b5085821015620002f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200035f57816000190482111562000343576200034362000308565b808516156200035157918102915b93841c939080029062000323565b509250929050565b600082620003785750600162000417565b81620003875750600062000417565b8160018114620003a05760028114620003ab57620003cb565b600191505062000417565b60ff841115620003bf57620003bf62000308565b50506001821b62000417565b5060208310610133831016604e8410600b8410161715620003f0575081810a62000417565b620003fc83836200031e565b806000190482111562000413576200041362000308565b0290505b92915050565b600062000190838362000367565b60006001820162000440576200044062000308565b5060010190565b6000826200046557634e487b7160e01b600052601260045260246000fd5b500490565b611d82806200047a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063598e2892116100f9578063a3f4df7e11610097578063d0def52111610071578063d0def52114610390578063e985e9c5146103a3578063f21de1e8146103df578063f76f8d78146103f057600080fd5b8063a3f4df7e14610362578063b88d4fde1461036a578063c87b56dd1461037d57600080fd5b8063862440e2116100d3578063862440e21461032c57806395d89b411461033f578063a22cb46514610347578063a2309ff81461035a57600080fd5b8063598e2892146102fd5780636352211e1461030657806370a082311461031957600080fd5b80632e85b1f31161016657806342842e0e1161014057806342842e0e146102b157806342966c68146102c45780634f558e79146102d75780634f6ccce7146102ea57600080fd5b80632e85b1f3146102825780632f745c591461028b57806340c10f191461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd1461026757806323b872dd1461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d736600461167b565b610413565b60405190151581526020015b60405180910390f35b6102046101ff36600461169f565b61043e565b6040519081526020016101e8565b61021a610473565b6040516101e891906116fe565b61023a61023536600461169f565b610505565b6040516001600160a01b0390911681526020016101e8565b61026561026036600461172d565b61052c565b005b600854610204565b61026561027d366004611757565b610646565b61020461083581565b61020461029936600461172d565b610677565b6102656102ac36600461172d565b61070d565b6102656102bf366004611757565b61075a565b6102656102d236600461169f565b610775565b6101dc6102e536600461169f565b6107cb565b6102046102f836600461169f565b6107ea565b61020461044d81565b61023a61031436600461169f565b61087d565b610204610327366004611793565b6108dd565b61026561033a36600461185a565b610963565b61021a6109ff565b6102656103553660046118a1565b610a0e565b601054610204565b61021a610a19565b6102656103783660046118dd565b610a35565b61021a61038b36600461169f565b610a6d565b61020461039e366004611959565b610b16565b6101dc6103b1366004611991565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610438575061043882610b94565b92915050565b6000600d54600c54600e548461045491906119da565b61045e91906119f1565b6104699060646119da565b61043891906119f1565b60606000805461048290611a04565b80601f01602080910402602001604051908101604052809291908181526020018280546104ae90611a04565b80156104fb5780601f106104d0576101008083540402835291602001916104fb565b820191906000526020600020905b8154815290600101906020018083116104de57829003601f168201915b5050505050905090565b600061051082610be4565b506000908152600460205260409020546001600160a01b031690565b60006105378261087d565b9050806001600160a01b0316836001600160a01b0316036105a95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105c557506105c581336103b1565b6106375760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105a0565b6106418383610c43565b505050565b6106503382610cb1565b61066c5760405162461bcd60e51b81526004016105a090611a3e565b610641838383610d30565b6000610682836108dd565b82106106e45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633146107375760405162461bcd60e51b81526004016105a090611a8b565b6010805490600061074783611acc565b91905055506107568282610ea1565b5050565b61064183838360405180602001604052806000815250610a35565b600b546001600160a01b0316331461079f5760405162461bcd60e51b81526004016105a090611a8b565b6107a881610be4565b6107b181610ebb565b6000818152600a602052604081206107c891611617565b50565b6000818152600260205260408120546001600160a01b03161515610438565b60006107f560085490565b82106108585760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a0565b6008828154811061086b5761086b611ae5565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104385760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b60006001600160a01b0382166109475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105a0565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461098d5760405162461bcd60e51b81526004016105a090611a8b565b60008151116109de5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d50545900000000000000000060448201526064016105a0565b6109e782610be4565b6000828152600a602052604090206106418282611b49565b60606001805461048290611a04565b610756338383610f5e565b604051806060016040528060298152602001611d246029913981565b610a3f3383610cb1565b610a5b5760405162461bcd60e51b81526004016105a090611a3e565b610a678484848461102c565b50505050565b6060610a7882610be4565b6000828152600a602052604090208054610a9190611a04565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd90611a04565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b50505050509050919050565b600b546000906001600160a01b03163314610b435760405162461bcd60e51b81526004016105a090611a8b565b610b4b61105f565b825190915015610b6f576000818152600a60205260409020610b6d8382611b49565b505b610b798382610ea1565b60108054906000610b8983611acc565b919050555092915050565b60006001600160e01b031982166380ac58cd60e01b1480610bc557506001600160e01b03198216635b5e139f60e01b145b8061043857506301ffc9a760e01b6001600160e01b0319831614610438565b6000818152600260205260409020546001600160a01b03166107c85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c788261087d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610cbd8361087d565b9050806001600160a01b0316846001600160a01b03161480610d0457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d285750836001600160a01b0316610d1d84610505565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d438261087d565b6001600160a01b031614610d695760405162461bcd60e51b81526004016105a090611c09565b6001600160a01b038216610dcb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a0565b610dd88383836001611086565b826001600160a01b0316610deb8261087d565b6001600160a01b031614610e115760405162461bcd60e51b81526004016105a090611c09565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107568282604051806020016040528060008152506111ba565b6000610ec68261087d565b9050610ed6816000846001611086565b610edf8261087d565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031603610fbf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611037848484610d30565b611043848484846111ed565b610a675760405162461bcd60e51b81526004016105a090611c4e565b600061106c600f5461043e565b600f8054919250600061107e83611acc565b919050555090565b60018111156110f55760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105a0565b816001600160a01b0385166111515761114c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611174565b836001600160a01b0316856001600160a01b0316146111745761117485826112ee565b6001600160a01b0384166111905761118b8161138b565b6111b3565b846001600160a01b0316846001600160a01b0316146111b3576111b3848261143a565b5050505050565b6111c4838361147e565b6111d160008484846111ed565b6106415760405162461bcd60e51b81526004016105a090611c4e565b60006001600160a01b0384163b156112e357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611231903390899088908890600401611ca0565b6020604051808303816000875af192505050801561126c575060408051601f3d908101601f1916820190925261126991810190611cdd565b60015b6112c9573d80801561129a576040519150601f19603f3d011682016040523d82523d6000602084013e61129f565b606091505b5080516000036112c15760405162461bcd60e51b81526004016105a090611c4e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d28565b506001949350505050565b600060016112fb846108dd565b6113059190611cfa565b600083815260076020526040902054909150808214611358576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061139d90600190611cfa565b600083815260096020526040812054600880549394509092849081106113c5576113c5611ae5565b9060005260206000200154905080600883815481106113e6576113e6611ae5565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061141e5761141e611d0d565b6001900381819060005260206000200160009055905550505050565b6000611445836108dd565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166114d45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a0565b6000818152600260205260409020546001600160a01b0316156115395760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b611547600083836001611086565b6000818152600260205260409020546001600160a01b0316156115ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b50805461162390611a04565b6000825580601f10611633575050565b601f0160209004906000526020600020908101906107c891905b80821115611661576000815560010161164d565b5090565b6001600160e01b0319811681146107c857600080fd5b60006020828403121561168d57600080fd5b813561169881611665565b9392505050565b6000602082840312156116b157600080fd5b5035919050565b6000815180845260005b818110156116de576020818501810151868301820152016116c2565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061169860208301846116b8565b80356001600160a01b038116811461172857600080fd5b919050565b6000806040838503121561174057600080fd5b61174983611711565b946020939093013593505050565b60008060006060848603121561176c57600080fd5b61177584611711565b925061178360208501611711565b9150604084013590509250925092565b6000602082840312156117a557600080fd5b61169882611711565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117df576117df6117ae565b604051601f8501601f19908116603f01168101908282118183101715611807576118076117ae565b8160405280935085815286868601111561182057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261184b57600080fd5b611698838335602085016117c4565b6000806040838503121561186d57600080fd5b82359150602083013567ffffffffffffffff81111561188b57600080fd5b6118978582860161183a565b9150509250929050565b600080604083850312156118b457600080fd5b6118bd83611711565b9150602083013580151581146118d257600080fd5b809150509250929050565b600080600080608085870312156118f357600080fd5b6118fc85611711565b935061190a60208601611711565b925060408501359150606085013567ffffffffffffffff81111561192d57600080fd5b8501601f8101871361193e57600080fd5b61194d878235602084016117c4565b91505092959194509250565b6000806040838503121561196c57600080fd5b61197583611711565b9150602083013567ffffffffffffffff81111561188b57600080fd5b600080604083850312156119a457600080fd5b6119ad83611711565b91506119bb60208401611711565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610438576104386119c4565b80820180821115610438576104386119c4565b600181811c90821680611a1857607f821691505b602082108103611a3857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b600060018201611ade57611ade6119c4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561064157600081815260208120601f850160051c81016020861015611b225750805b601f850160051c820191505b81811015611b4157828155600101611b2e565b505050505050565b815167ffffffffffffffff811115611b6357611b636117ae565b611b7781611b718454611a04565b84611afb565b602080601f831160018114611bac5760008415611b945750858301515b600019600386901b1c1916600185901b178555611b41565b600085815260208120601f198616915b82811015611bdb57888601518255948401946001909101908401611bbc565b5085821015611bf95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cd3908301846116b8565b9695505050505050565b600060208284031215611cef57600080fd5b815161169881611665565b81810381811115610438576104386119c4565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220bfafc16bdaf37d7e7f030e76f63504310b1b0873a8baeb39dcc08423f8b1c99e64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200177578e71d273c8435c3634a50c5496ffa13f647bf8a11b5bca188cb25c876664736f6c63430008140033",
624
- "linkReferences": {
625
- "contracts/types/Blocknumber.sol": {
626
- "BlocknumberLib": [
627
- {
628
- "length": 20,
629
- "start": 1870
630
- }
631
- ]
632
- },
633
- "contracts/types/NftId.sol": {
634
- "NftIdLib": [
635
- {
636
- "length": 20,
637
- "start": 2385
638
- },
639
- {
640
- "length": 20,
641
- "start": 5138
642
- },
643
- {
644
- "length": 20,
645
- "start": 6402
646
- },
647
- {
648
- "length": 20,
649
- "start": 6906
650
- }
651
- ]
652
- },
653
- "contracts/types/ObjectType.sol": {
654
- "ObjectTypeLib": [
655
- {
656
- "length": 20,
657
- "start": 7180
658
- }
659
- ]
660
- },
661
- "contracts/types/Version.sol": {
662
- "VersionLib": [
663
- {
664
- "length": 20,
665
- "start": 2013
666
- },
667
- {
668
- "length": 20,
669
- "start": 5818
670
- }
671
- ]
672
- }
673
- },
674
- "deployedLinkReferences": {
675
- "contracts/types/Blocknumber.sol": {
676
- "BlocknumberLib": [
677
- {
678
- "length": 20,
679
- "start": 1640
680
- }
681
- ]
682
- },
683
- "contracts/types/NftId.sol": {
684
- "NftIdLib": [
685
- {
686
- "length": 20,
687
- "start": 2155
688
- },
689
- {
690
- "length": 20,
691
- "start": 4908
692
- },
693
- {
694
- "length": 20,
695
- "start": 6172
696
- },
697
- {
698
- "length": 20,
699
- "start": 6676
700
- }
701
- ]
702
- },
703
- "contracts/types/ObjectType.sol": {
704
- "ObjectTypeLib": [
705
- {
706
- "length": 20,
707
- "start": 6950
708
- }
709
- ]
710
- },
711
- "contracts/types/Version.sol": {
712
- "VersionLib": [
713
- {
714
- "length": 20,
715
- "start": 1783
716
- },
717
- {
718
- "length": 20,
719
- "start": 5588
720
- }
721
- ]
722
- }
723
- }
724
- }