@etherisc/gif-next 0.0.2-bb7b80e-316 → 0.0.2-bb9ecaf-723

Sign up to get free protection for your applications and to get access to all the features.
Files changed (789) hide show
  1. package/README.md +138 -325
  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 +810 -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 +1735 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -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 +817 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1400 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +465 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +407 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +652 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1234 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +844 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +939 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +950 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +838 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1474 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -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 +1429 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +87 -184
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/{IInstanceBase.sol/IInstanceBase.json → IBaseStore.sol/IBaseStore.json} +66 -210
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +619 -1245
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +696 -164
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +700 -2362
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2400 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +872 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1829 -725
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +710 -325
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +419 -87
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3039 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  108. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  109. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  111. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +947 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +849 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +762 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +863 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +830 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1232 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +844 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +886 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +392 -350
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +1015 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +886 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +810 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1149 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  159. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +844 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +906 -0
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +328 -295
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +321 -389
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +531 -311
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +328 -199
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +874 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +834 -0
  186. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  187. package/artifacts/contracts/product/Product.sol/Product.json +1107 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +794 -0
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +607 -30
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +306 -210
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  199. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  202. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/Registry.sol/Registry.json +1033 -73
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2255 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  209. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +363 -260
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +415 -73
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1401 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +705 -0
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  221. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +400 -76
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/Component.sol/Component.json} +269 -260
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +882 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  237. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +269 -142
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +697 -0
  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 +1 -1
  245. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  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 +162 -15
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IService.sol/IService.json +148 -141
  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 +785 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  259. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  261. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  265. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  269. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  270. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Service.sol/Service.json +165 -151
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2747 -0
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  282. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  283. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/Staking.sol/Staking.json +3175 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +867 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +786 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  298. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -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 +270 -0
  308. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  354. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +672 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  360. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  362. package/contracts/accounting/AccountingService.sol +274 -0
  363. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  364. package/contracts/accounting/IAccountingService.sol +47 -0
  365. package/contracts/authorization/AccessAdmin.sol +679 -0
  366. package/contracts/authorization/AccessAdminLib.sol +678 -0
  367. package/contracts/authorization/AccessManagerCloneable.sol +140 -0
  368. package/contracts/authorization/Authorization.sol +190 -0
  369. package/contracts/authorization/IAccess.sol +66 -0
  370. package/contracts/authorization/IAccessAdmin.sol +142 -0
  371. package/contracts/authorization/IAuthorization.sol +26 -0
  372. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  373. package/contracts/authorization/ServiceAuthorization.sol +300 -0
  374. package/contracts/distribution/BasicDistribution.sol +140 -0
  375. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  376. package/contracts/distribution/Distribution.sol +245 -0
  377. package/contracts/distribution/DistributionService.sol +448 -0
  378. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  379. package/contracts/distribution/IDistributionComponent.sol +45 -0
  380. package/contracts/distribution/IDistributionService.sol +115 -0
  381. package/contracts/examples/fire/DamageLevel.sol +59 -0
  382. package/contracts/examples/fire/FirePool.sol +86 -0
  383. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  384. package/contracts/examples/fire/FireProduct.sol +433 -0
  385. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  386. package/contracts/examples/fire/FireUSD.sol +26 -0
  387. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  388. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  390. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  391. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  392. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  393. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  394. package/contracts/instance/BaseStore.sol +93 -0
  395. package/contracts/instance/BundleSet.sol +130 -0
  396. package/contracts/instance/IBaseStore.sol +37 -0
  397. package/contracts/instance/IInstance.sol +147 -51
  398. package/contracts/instance/IInstanceService.sol +101 -22
  399. package/contracts/instance/Instance.sol +263 -174
  400. package/contracts/instance/InstanceAdmin.sol +307 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  402. package/contracts/instance/InstanceReader.sol +500 -209
  403. package/contracts/instance/InstanceService.sol +432 -263
  404. package/contracts/instance/InstanceServiceManager.sol +14 -29
  405. package/contracts/instance/InstanceStore.sol +323 -0
  406. package/contracts/instance/ProductStore.sol +290 -0
  407. package/contracts/instance/RiskSet.sol +126 -0
  408. package/contracts/instance/TargetNames.sol +10 -0
  409. package/contracts/instance/base/BalanceStore.sol +121 -0
  410. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  411. package/contracts/instance/base/ObjectCounter.sol +20 -0
  412. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  413. package/contracts/instance/base/ObjectSet.sol +77 -0
  414. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  415. package/contracts/instance/module/IBundle.sol +10 -9
  416. package/contracts/instance/module/IComponents.sol +60 -0
  417. package/contracts/instance/module/IDistribution.sol +25 -10
  418. package/contracts/instance/module/IPolicy.sol +81 -21
  419. package/contracts/instance/module/IRisk.sol +6 -1
  420. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  421. package/contracts/oracle/BasicOracle.sol +44 -0
  422. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  423. package/contracts/oracle/IOracle.sol +41 -0
  424. package/contracts/oracle/IOracleComponent.sol +33 -0
  425. package/contracts/oracle/IOracleService.sol +66 -0
  426. package/contracts/oracle/Oracle.sol +152 -0
  427. package/contracts/oracle/OracleService.sol +310 -0
  428. package/contracts/oracle/OracleServiceManager.sol +39 -0
  429. package/contracts/pool/BasicPool.sol +161 -0
  430. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  431. package/contracts/pool/BundleService.sol +386 -0
  432. package/contracts/pool/BundleServiceManager.sol +39 -0
  433. package/contracts/pool/IBundleService.sol +116 -0
  434. package/contracts/pool/IPoolComponent.sol +62 -0
  435. package/contracts/pool/IPoolService.sol +170 -0
  436. package/contracts/pool/Pool.sol +331 -0
  437. package/contracts/pool/PoolLib.sol +341 -0
  438. package/contracts/pool/PoolService.sol +614 -0
  439. package/contracts/pool/PoolServiceManager.sol +39 -0
  440. package/contracts/product/ApplicationService.sol +327 -0
  441. package/contracts/product/ApplicationServiceManager.sol +38 -0
  442. package/contracts/product/BasicProduct.sol +48 -0
  443. package/contracts/product/BasicProductAuthorization.sol +63 -0
  444. package/contracts/product/ClaimService.sol +626 -0
  445. package/contracts/product/ClaimServiceManager.sol +38 -0
  446. package/contracts/product/IApplicationService.sol +88 -0
  447. package/contracts/product/IClaimService.sol +136 -0
  448. package/contracts/product/IPolicyService.sol +102 -0
  449. package/contracts/product/IPricingService.sol +40 -0
  450. package/contracts/product/IProductComponent.sol +62 -0
  451. package/contracts/product/IRiskService.sol +48 -0
  452. package/contracts/product/PolicyService.sol +645 -0
  453. package/contracts/product/PolicyServiceLib.sol +139 -0
  454. package/contracts/product/PolicyServiceManager.sol +39 -0
  455. package/contracts/product/PricingService.sol +306 -0
  456. package/contracts/product/PricingServiceManager.sol +39 -0
  457. package/contracts/product/Product.sol +491 -0
  458. package/contracts/product/RiskService.sol +189 -0
  459. package/contracts/product/RiskServiceManager.sol +39 -0
  460. package/contracts/registry/ChainNft.sol +83 -36
  461. package/contracts/registry/IRegistry.sol +111 -30
  462. package/contracts/registry/IRegistryService.sol +38 -34
  463. package/contracts/registry/IRelease.sol +29 -0
  464. package/contracts/registry/ITransferInterceptor.sol +1 -1
  465. package/contracts/registry/Registry.sol +551 -211
  466. package/contracts/registry/RegistryAdmin.sol +173 -0
  467. package/contracts/registry/RegistryAuthorization.sol +337 -0
  468. package/contracts/registry/RegistryService.sol +119 -198
  469. package/contracts/registry/RegistryServiceManager.sol +24 -33
  470. package/contracts/registry/ReleaseAdmin.sol +199 -0
  471. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  472. package/contracts/registry/ReleaseRegistry.sol +525 -0
  473. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  474. package/contracts/registry/TokenRegistry.sol +267 -60
  475. package/contracts/shared/Component.sol +210 -0
  476. package/contracts/shared/ComponentService.sol +691 -0
  477. package/contracts/shared/ComponentServiceManager.sol +38 -0
  478. package/contracts/shared/ContractLib.sol +312 -0
  479. package/contracts/shared/IComponent.sol +58 -0
  480. package/contracts/shared/IComponentService.sol +111 -0
  481. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  482. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  483. package/contracts/shared/INftOwnable.sol +17 -12
  484. package/contracts/shared/IPolicyHolder.sol +35 -0
  485. package/contracts/shared/IRegisterable.sol +24 -5
  486. package/contracts/shared/IRegistryLinked.sol +11 -0
  487. package/contracts/shared/IService.sol +12 -5
  488. package/contracts/shared/InitializableERC165.sol +35 -0
  489. package/contracts/shared/InstanceLinkedComponent.sol +192 -0
  490. package/contracts/shared/Lifecycle.sol +88 -0
  491. package/contracts/shared/NftIdSet.sol +65 -0
  492. package/contracts/shared/NftOwnable.sol +77 -82
  493. package/contracts/shared/PolicyHolder.sol +63 -0
  494. package/contracts/shared/Registerable.sol +54 -38
  495. package/contracts/shared/RegistryLinked.sol +38 -0
  496. package/contracts/shared/Service.sol +44 -35
  497. package/contracts/shared/TokenHandler.sol +327 -12
  498. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  499. package/contracts/staking/IStaking.sol +366 -0
  500. package/contracts/staking/IStakingService.sol +127 -0
  501. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  502. package/contracts/staking/Staking.sol +797 -0
  503. package/contracts/staking/StakingLib.sol +195 -0
  504. package/contracts/staking/StakingManager.sol +53 -0
  505. package/contracts/staking/StakingReader.sol +171 -0
  506. package/contracts/staking/StakingService.sol +321 -0
  507. package/contracts/staking/StakingServiceManager.sol +46 -0
  508. package/contracts/staking/StakingStore.sol +1368 -0
  509. package/contracts/staking/TargetHandler.sol +132 -0
  510. package/contracts/staking/TargetManagerLib.sol +234 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +154 -0
  513. package/contracts/{types → type}/Blocknumber.sol +38 -19
  514. package/contracts/type/ChainId.sol +101 -0
  515. package/contracts/type/ClaimId.sol +80 -0
  516. package/contracts/{types → type}/DistributorType.sol +2 -2
  517. package/contracts/type/Fee.sol +66 -0
  518. package/contracts/{types → type}/Key32.sol +2 -2
  519. package/contracts/type/Key32Set.sol +62 -0
  520. package/contracts/{types → type}/NftId.sol +28 -15
  521. package/contracts/{types → type}/NftIdSet.sol +2 -2
  522. package/contracts/type/ObjectType.sol +307 -0
  523. package/contracts/type/PayoutId.sol +82 -0
  524. package/contracts/{types → type}/Referral.sol +6 -1
  525. package/contracts/type/RequestId.sol +75 -0
  526. package/contracts/type/RiskId.sol +75 -0
  527. package/contracts/type/RoleId.sol +180 -0
  528. package/contracts/type/Seconds.sol +120 -0
  529. package/contracts/type/Selector.sol +107 -0
  530. package/contracts/{types → type}/StateId.sol +48 -4
  531. package/contracts/type/String.sol +65 -0
  532. package/contracts/{types → type}/Timestamp.sol +36 -20
  533. package/contracts/type/UFixed.sol +263 -0
  534. package/contracts/{types → type}/Version.sol +59 -7
  535. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  536. package/contracts/upgradeability/ProxyManager.sol +246 -0
  537. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  538. package/contracts/upgradeability/Versionable.sol +62 -0
  539. package/package.json +12 -8
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  542. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -408
  544. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  546. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  548. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  549. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  550. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  551. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  554. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  556. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  558. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  560. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  562. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  564. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  566. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  568. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  570. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  572. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  575. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  577. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  579. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  581. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  583. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  585. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  587. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  589. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  590. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  591. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  592. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  593. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  594. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  595. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  596. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  597. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  598. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  599. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  601. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  602. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  603. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -532
  605. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -100
  607. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  608. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  609. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  610. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  611. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  612. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  613. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
  615. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  617. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  619. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  621. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  623. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  624. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  625. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  626. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  628. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  629. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  631. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  633. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  634. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  635. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  636. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  637. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  638. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  639. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  640. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  641. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  642. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  643. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  644. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  645. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  646. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  647. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -530
  648. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  649. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  650. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  651. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  652. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  653. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  654. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  655. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  656. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  657. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  658. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  659. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  660. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  661. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  662. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  663. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  664. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  665. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  666. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  667. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  668. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  669. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  670. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  671. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  672. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  674. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  675. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  676. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  677. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  678. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  679. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  680. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  681. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  682. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  684. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  685. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  686. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  688. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  689. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  690. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  691. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  692. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  693. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  694. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  696. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  697. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  698. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  700. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  702. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  704. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  706. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  707. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  708. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  710. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  711. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  712. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  714. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  716. package/contracts/components/BaseComponent.sol +0 -168
  717. package/contracts/components/Distribution.sol +0 -154
  718. package/contracts/components/IBaseComponent.sol +0 -35
  719. package/contracts/components/IDistributionComponent.sol +0 -44
  720. package/contracts/components/IPoolComponent.sol +0 -66
  721. package/contracts/components/IProductComponent.sol +0 -35
  722. package/contracts/components/Pool.sol +0 -258
  723. package/contracts/components/Product.sol +0 -295
  724. package/contracts/experiment/cloning/Cloner.sol +0 -47
  725. package/contracts/experiment/errors/Require.sol +0 -38
  726. package/contracts/experiment/errors/Revert.sol +0 -44
  727. package/contracts/experiment/inheritance/A.sol +0 -53
  728. package/contracts/experiment/inheritance/B.sol +0 -28
  729. package/contracts/experiment/inheritance/C.sol +0 -34
  730. package/contracts/experiment/inheritance/IA.sol +0 -13
  731. package/contracts/experiment/inheritance/IB.sol +0 -10
  732. package/contracts/experiment/inheritance/IC.sol +0 -12
  733. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  734. package/contracts/experiment/statemachine/ISM.sol +0 -25
  735. package/contracts/experiment/statemachine/SM.sol +0 -57
  736. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  737. package/contracts/experiment/types/TypeA.sol +0 -47
  738. package/contracts/experiment/types/TypeB.sol +0 -29
  739. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  740. package/contracts/instance/BundleManager.sol +0 -129
  741. package/contracts/instance/IInstanceBase.sol +0 -25
  742. package/contracts/instance/InstanceAccessManager.sol +0 -303
  743. package/contracts/instance/InstanceBase.sol +0 -39
  744. package/contracts/instance/ObjectManager.sol +0 -101
  745. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  746. package/contracts/instance/base/IInstanceBase.sol +0 -21
  747. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  748. package/contracts/instance/base/KeyValueStore.sol +0 -172
  749. package/contracts/instance/base/Lifecycle.sol +0 -100
  750. package/contracts/instance/module/IAccess.sol +0 -48
  751. package/contracts/instance/module/ISetup.sol +0 -46
  752. package/contracts/instance/module/ITreasury.sol +0 -23
  753. package/contracts/instance/service/BundleService.sol +0 -294
  754. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  755. package/contracts/instance/service/DistributionService.sol +0 -120
  756. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  757. package/contracts/instance/service/IBundleService.sol +0 -44
  758. package/contracts/instance/service/IDistributionService.sol +0 -12
  759. package/contracts/instance/service/IPolicyService.sol +0 -94
  760. package/contracts/instance/service/IPoolService.sol +0 -20
  761. package/contracts/instance/service/IProductService.sol +0 -40
  762. package/contracts/instance/service/PolicyService.sol +0 -539
  763. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  764. package/contracts/instance/service/PoolService.sol +0 -145
  765. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  766. package/contracts/instance/service/ProductService.sol +0 -213
  767. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  768. package/contracts/registry/RegistryAccessManager.sol +0 -210
  769. package/contracts/registry/ReleaseManager.sol +0 -342
  770. package/contracts/shared/ContractDeployerLib.sol +0 -72
  771. package/contracts/shared/ERC165.sol +0 -25
  772. package/contracts/shared/ProxyManager.sol +0 -94
  773. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  774. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  775. package/contracts/shared/Versionable.sol +0 -147
  776. package/contracts/test/TestFee.sol +0 -25
  777. package/contracts/test/TestRegisterable.sol +0 -18
  778. package/contracts/test/TestRoleId.sol +0 -14
  779. package/contracts/test/TestService.sol +0 -25
  780. package/contracts/test/TestToken.sol +0 -26
  781. package/contracts/test/TestVersion.sol +0 -44
  782. package/contracts/test/TestVersionable.sol +0 -17
  783. package/contracts/types/ChainId.sol +0 -38
  784. package/contracts/types/Fee.sol +0 -56
  785. package/contracts/types/NumberId.sol +0 -52
  786. package/contracts/types/ObjectType.sol +0 -152
  787. package/contracts/types/RiskId.sol +0 -43
  788. package/contracts/types/RoleId.sol +0 -90
  789. package/contracts/types/UFixed.sol +0 -325
@@ -1,530 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "ReleaseManager",
4
- "sourceName": "contracts/registry/ReleaseManager.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "contract RegistryAccessManager",
10
- "name": "accessManager",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "VersionPart",
15
- "name": "initialVersion",
16
- "type": "uint8"
17
- }
18
- ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
21
- },
22
- {
23
- "inputs": [
24
- {
25
- "internalType": "address",
26
- "name": "authority",
27
- "type": "address"
28
- }
29
- ],
30
- "name": "AccessManagedInvalidAuthority",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "address",
37
- "name": "caller",
38
- "type": "address"
39
- },
40
- {
41
- "internalType": "uint32",
42
- "name": "delay",
43
- "type": "uint32"
44
- }
45
- ],
46
- "name": "AccessManagedRequiredDelay",
47
- "type": "error"
48
- },
49
- {
50
- "inputs": [
51
- {
52
- "internalType": "address",
53
- "name": "caller",
54
- "type": "address"
55
- }
56
- ],
57
- "name": "AccessManagedUnauthorized",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [],
62
- "name": "ConfigMissing",
63
- "type": "error"
64
- },
65
- {
66
- "inputs": [
67
- {
68
- "internalType": "uint256",
69
- "name": "configArrayIndex",
70
- "type": "uint256"
71
- }
72
- ],
73
- "name": "ConfigSelectorZero",
74
- "type": "error"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "uint256",
80
- "name": "configArrayIndex",
81
- "type": "uint256"
82
- },
83
- {
84
- "internalType": "ObjectType",
85
- "name": "domain",
86
- "type": "uint8"
87
- }
88
- ],
89
- "name": "ConfigServiceDomainInvalid",
90
- "type": "error"
91
- },
92
- {
93
- "inputs": [
94
- {
95
- "internalType": "address",
96
- "name": "notOwner",
97
- "type": "address"
98
- }
99
- ],
100
- "name": "NotRegisterableOwner",
101
- "type": "error"
102
- },
103
- {
104
- "inputs": [],
105
- "name": "NotRegistryService",
106
- "type": "error"
107
- },
108
- {
109
- "inputs": [],
110
- "name": "NotService",
111
- "type": "error"
112
- },
113
- {
114
- "inputs": [],
115
- "name": "RegisterableOwnerIsRegistered",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [
120
- {
121
- "internalType": "VersionPart",
122
- "name": "releaseVersion",
123
- "type": "uint8"
124
- },
125
- {
126
- "internalType": "ObjectType",
127
- "name": "serviceDomain",
128
- "type": "uint8"
129
- }
130
- ],
131
- "name": "SelectorAlreadyExists",
132
- "type": "error"
133
- },
134
- {
135
- "inputs": [],
136
- "name": "SelfRegistration",
137
- "type": "error"
138
- },
139
- {
140
- "inputs": [
141
- {
142
- "internalType": "ObjectType",
143
- "name": "expected",
144
- "type": "uint8"
145
- },
146
- {
147
- "internalType": "ObjectType",
148
- "name": "found",
149
- "type": "uint8"
150
- }
151
- ],
152
- "name": "UnexpectedRegisterableType",
153
- "type": "error"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "internalType": "address",
159
- "name": "expected",
160
- "type": "address"
161
- },
162
- {
163
- "internalType": "address",
164
- "name": "found",
165
- "type": "address"
166
- }
167
- ],
168
- "name": "UnexpectedServiceAuthority",
169
- "type": "error"
170
- },
171
- {
172
- "inputs": [
173
- {
174
- "internalType": "ObjectType",
175
- "name": "expected",
176
- "type": "uint8"
177
- },
178
- {
179
- "internalType": "ObjectType",
180
- "name": "found",
181
- "type": "uint8"
182
- }
183
- ],
184
- "name": "UnexpectedServiceDomain",
185
- "type": "error"
186
- },
187
- {
188
- "inputs": [
189
- {
190
- "internalType": "VersionPart",
191
- "name": "expected",
192
- "type": "uint8"
193
- },
194
- {
195
- "internalType": "VersionPart",
196
- "name": "found",
197
- "type": "uint8"
198
- }
199
- ],
200
- "name": "UnexpectedServiceVersion",
201
- "type": "error"
202
- },
203
- {
204
- "anonymous": false,
205
- "inputs": [
206
- {
207
- "indexed": false,
208
- "internalType": "address",
209
- "name": "authority",
210
- "type": "address"
211
- }
212
- ],
213
- "name": "AuthorityUpdated",
214
- "type": "event"
215
- },
216
- {
217
- "anonymous": false,
218
- "inputs": [
219
- {
220
- "indexed": false,
221
- "internalType": "VersionPart",
222
- "name": "version",
223
- "type": "uint8"
224
- }
225
- ],
226
- "name": "LogReleaseActivation",
227
- "type": "event"
228
- },
229
- {
230
- "anonymous": false,
231
- "inputs": [
232
- {
233
- "indexed": false,
234
- "internalType": "VersionPart",
235
- "name": "version",
236
- "type": "uint8"
237
- },
238
- {
239
- "indexed": false,
240
- "internalType": "contract IService",
241
- "name": "registryService",
242
- "type": "address"
243
- }
244
- ],
245
- "name": "LogReleaseCreation",
246
- "type": "event"
247
- },
248
- {
249
- "inputs": [],
250
- "name": "authority",
251
- "outputs": [
252
- {
253
- "internalType": "address",
254
- "name": "",
255
- "type": "address"
256
- }
257
- ],
258
- "stateMutability": "view",
259
- "type": "function"
260
- },
261
- {
262
- "inputs": [
263
- {
264
- "internalType": "contract IRegistryService",
265
- "name": "service",
266
- "type": "address"
267
- }
268
- ],
269
- "name": "createNextRelease",
270
- "outputs": [
271
- {
272
- "internalType": "NftId",
273
- "name": "nftId",
274
- "type": "uint96"
275
- }
276
- ],
277
- "stateMutability": "nonpayable",
278
- "type": "function"
279
- },
280
- {
281
- "inputs": [],
282
- "name": "getInitialVersion",
283
- "outputs": [
284
- {
285
- "internalType": "VersionPart",
286
- "name": "",
287
- "type": "uint8"
288
- }
289
- ],
290
- "stateMutability": "view",
291
- "type": "function"
292
- },
293
- {
294
- "inputs": [],
295
- "name": "getLatestVersion",
296
- "outputs": [
297
- {
298
- "internalType": "VersionPart",
299
- "name": "",
300
- "type": "uint8"
301
- }
302
- ],
303
- "stateMutability": "view",
304
- "type": "function"
305
- },
306
- {
307
- "inputs": [],
308
- "name": "getNextVersion",
309
- "outputs": [
310
- {
311
- "internalType": "VersionPart",
312
- "name": "",
313
- "type": "uint8"
314
- }
315
- ],
316
- "stateMutability": "view",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [],
321
- "name": "getRegistry",
322
- "outputs": [
323
- {
324
- "internalType": "address",
325
- "name": "",
326
- "type": "address"
327
- }
328
- ],
329
- "stateMutability": "view",
330
- "type": "function"
331
- },
332
- {
333
- "inputs": [
334
- {
335
- "internalType": "VersionPart",
336
- "name": "version",
337
- "type": "uint8"
338
- }
339
- ],
340
- "name": "getReleaseInfo",
341
- "outputs": [
342
- {
343
- "components": [
344
- {
345
- "internalType": "ObjectType[]",
346
- "name": "domains",
347
- "type": "uint8[]"
348
- },
349
- {
350
- "internalType": "Timestamp",
351
- "name": "createdAt",
352
- "type": "uint40"
353
- }
354
- ],
355
- "internalType": "struct IRegistry.ReleaseInfo",
356
- "name": "",
357
- "type": "tuple"
358
- }
359
- ],
360
- "stateMutability": "view",
361
- "type": "function"
362
- },
363
- {
364
- "inputs": [
365
- {
366
- "internalType": "address",
367
- "name": "service",
368
- "type": "address"
369
- }
370
- ],
371
- "name": "isActiveRegistryService",
372
- "outputs": [
373
- {
374
- "internalType": "bool",
375
- "name": "",
376
- "type": "bool"
377
- }
378
- ],
379
- "stateMutability": "view",
380
- "type": "function"
381
- },
382
- {
383
- "inputs": [],
384
- "name": "isConsumingScheduledOp",
385
- "outputs": [
386
- {
387
- "internalType": "bytes4",
388
- "name": "",
389
- "type": "bytes4"
390
- }
391
- ],
392
- "stateMutability": "view",
393
- "type": "function"
394
- },
395
- {
396
- "inputs": [
397
- {
398
- "internalType": "contract IService",
399
- "name": "service",
400
- "type": "address"
401
- }
402
- ],
403
- "name": "registerService",
404
- "outputs": [
405
- {
406
- "internalType": "NftId",
407
- "name": "nftId",
408
- "type": "uint96"
409
- }
410
- ],
411
- "stateMutability": "nonpayable",
412
- "type": "function"
413
- },
414
- {
415
- "inputs": [
416
- {
417
- "internalType": "address",
418
- "name": "newAuthority",
419
- "type": "address"
420
- }
421
- ],
422
- "name": "setAuthority",
423
- "outputs": [],
424
- "stateMutability": "nonpayable",
425
- "type": "function"
426
- }
427
- ],
428
- "bytecode": "0x60e06040523480156200001157600080fd5b506040516200663a3803806200663a83398101604081905262000034916200024f565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000073573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000099919062000293565b620000a481620001d4565b50604051632b10f60d60e21b815260ff8216600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620000fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001219190620002ba565b116200017f5760405162461bcd60e51b8152602060048201526024808201527f52656c656173654d616e616765723a20696e697469616c2076657273696f6e206044820152630697320360e41b606482015260840160405180910390fd5b6001600160a01b03821660805260ff811660c052604051620001a19062000228565b604051809103906000f080158015620001be573d6000803e3d6000fd5b506001600160a01b031660a05250620002d49050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b61468f8062001fab83390190565b6001600160a01b03811681146200024c57600080fd5b50565b600080604083850312156200026357600080fd5b8251620002708162000236565b602084015190925060ff811681146200028857600080fd5b809150509250929050565b600060208284031215620002a657600080fd5b8151620002b38162000236565b9392505050565b600060208284031215620002cd57600080fd5b5051919050565b60805160a05160c051611c86620003256000396000818160b0015261074f01526000818160fb015281816104680152818161088d01528181610b090152610ec3015260006109e30152611c866000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80639d1e9404116100715780639d1e9404146101695780639ef6ddc914610194578063bf7e214f146101d0578063d2213b5b146101e1578063f40d7c3014610201578063fdd9ec7d1461020957600080fd5b80630e41142e146100ae5780630e6d1de9146100e75780635ab1bd53146100f95780637a9e5e4b146101335780638fb3603714610148575b600080fd5b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff90911681526020015b60405180910390f35b600054600160a81b900460ff166100d0565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100de565b6101466101413660046114a9565b61021c565b005b61015061029b565b6040516001600160e01b031990911681526020016100de565b61017c6101773660046114a9565b6102bf565b6040516001600160601b0390911681526020016100de565b6101c06101a23660046114a9565b6001600160a01b031660009081526004602052604090205460ff1690565b60405190151581526020016100de565b6000546001600160a01b031661011b565b6101f46101ef3660046114dc565b610588565b6040516100de91906114f9565b6100d0610639565b61017c6102173660046114a9565b610775565b60005433906001600160a01b031681146102585760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b60000361028e576040516361798f2f60e11b81526001600160a01b038316600482015260240161024f565b61029782610be4565b5050565b60008054600160a01b900460ff166102b35750600090565b50638fb3603760e01b90565b60006102ce335b600036610c38565b6040516301ffc9a760e01b815263bdc07c9b60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033d9190611574565b61035a576040516395d3b24b60e01b815260040160405180910390fd5b6000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061159a565b90506103d26000546001600160a01b031690565b6001600160a01b0316816001600160a01b03161461041a57600054604051630f93ce7d60e41b81526001600160a01b039182166004820152908216602482015260440161024f565b60008061042a85603c5b33610d38565b915091506000610438610639565b90506028610447848383610f55565b5061045183611064565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906104a190879086908690600401611607565b6020604051808303816000875af11580156104c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e491906116c5565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561052157600080fd5b505af1158015610535573d6000803e3d6000fd5b50506040805160ff861681526001600160a01b038b1660208201527ff7d028a430f2a37026667fd5444515ac5d8be80a482ec6478f24b6561e91ad20935001905060405180910390a15050505050919050565b60408051808201825260608082526000602080840182905260ff8616825260018152908490208451815492830281018401865294850182815293949390928492849184018282801561061757602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116105e85790505b50505091835250506001919091015464ffffffffff1660209091015292915050565b60008054604051632b10f60d60e21b8152600160a81b90910460ff166004820152819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906116e0565b9050801561074d5773__$9dab98ad7ae1a426029e5739f922230a41$__638e4ad86c6106e983600161170f565b6040518263ffffffff1660e01b815260040161070791815260200190565b602060405180830381865af4158015610724573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610748919061172d565b61076f565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b6000610780336102c6565b6040516301ffc9a760e01b8152637b6a51fd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa1580156107cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ef9190611574565b61080c57604051635458064d60e11b815260040160405180910390fd5b600061081983603c610424565b5090506000610826610639565b60ff811660009081526001602052604081206003548154939450919290919081106108535761085361174a565b90600052602060002090602091828204019190069054906101000a900460ff169050610880838383610f55565b5060006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360286040516001600160e01b031960e084901b16815260ff91821660048201529086166024820152604401602060405180830381865afa1580156108fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091e919061159a565b604080516001808252818301909252919250600091906020808301908036833750505060ff8581166000908152600260209081526040808320938816835292905290812054825192935060e01b9183919061097b5761097b61174a565b60200260200101906001600160e01b03191690816001600160e01b03191681525050806000815181106109b0576109b061174a565b60200260200101516001600160e01b031916600060e01b14610a61576040516361bc3b4160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906361bc3b4190610a1c908a9086908690600401611776565b6020604051808303816000875af1158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906117e2565b505b60038054906000610a718361180c565b9190505550600354600003610af2576000805460ff60a81b1916600160a81b60ff87169081029190911782556001600160a01b038416825260046020908152604092839020805460ff1916600117905591519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a5690610b4290889088908890600401611607565b6020604051808303816000875af1158015610b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8591906116c5565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610bc257600080fd5b505af1158015610bd6573d6000803e3d6000fd5b505050505050505050919050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080610c6e610c506000546001600160a01b031690565b8630610c6060046000898b611823565b610c699161184d565b611374565b9150915081610d315763ffffffff811615610d0e576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90610cc99088908890889060040161187d565b600060405180830381600087803b158015610ce357600080fd5b505af1158015610cf7573d6000803e3d6000fd5b50506000805460ff60a01b1916905550610d319050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161024f565b5050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610db3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddb919081019061199e565b6001600160a01b03871660808301526000606083015260408201519193509150610e059085611480565b15610e36576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161024f565b60a08201516001600160a01b0380821690851614610e725760405163dfc430cb60e01b81526001600160a01b038516600482015260240161024f565b856001600160a01b0316816001600160a01b031603610ea4576040516317faf4db60e11b815260040160405180910390fd5b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015610f0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190611574565b15610f4c57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008060008560c00151806020019051810190610f729190611a97565b91509150610f808186611480565b15610fab57604051632ac811e560e01b815260ff80871660048301528216602482015260440161024f565b60405163b2466acf60e01b815260ff8516600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015610ffd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110219190611574565b1561105b576110308285611480565b1561105b5760405163344254bf60e11b815260ff80861660048301528316602482015260440161024f565b50949350505050565b600061106e610639565b90506000828060200190518101906110869190611ad1565b905080516000036110aa5760405163b3327ef160e01b815260040160405180910390fd5b60ff828116600090815260016020818152604083208054928301815583528083209082040180546028601f9093166101000a9283029290940219909316179091555b81518110156112cd5760008282815181106111095761110961174a565b6020026020010151600001519050600083838151811061112b5761112b61174a565b602002602001015160200151905061115082611145602890565b60ff90811691161490565b806111cc575060405163037c8cb160e51b815260ff8316600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__90636f91962090602401602060405180830381865af41580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190611574565b156111f657604051633c04bbaf60e01b81526004810184905260ff8316602482015260440161024f565b60ff85811660009081526002602090815260408083209386168352929052205460e01b6001600160e01b0319161561124e57604051632d4af7a360e01b815260ff80871660048301528316602482015260440161024f565b60ff8581166000818152600260209081526040808320968516808452968252808320805463ffffffff191660e09790971c969096179095559181526001808352938120805494850181558152819020908304018054601f9093166101000a918202199092169202919091179055806112c581611bbf565b9150506110ec565b5073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190611bd8565b60ff92909216600090815260016020819052604090912001805464ffffffffff191664ffffffffff909316929092179091555160035550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516113e39190611bff565b600060405180830381855afa9150503d806000811461141e576040519150601f19603f3d011682016040523d82523d6000602084013e611423565b606091505b50915091508115611475576040815110611455578080602001905181019061144b9190611c1b565b9094509250611475565b602081511061147557808060200190518101906114729190611574565b93505b505094509492505050565b60ff82811690821614155b92915050565b6001600160a01b03811681146114a657600080fd5b50565b6000602082840312156114bb57600080fd5b81356114c681611491565b9392505050565b60ff811681146114a657600080fd5b6000602082840312156114ee57600080fd5b81356114c6816114cd565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561154157835160ff16825292840192600192909201919084019061151e565b5064ffffffffff848801511660408701528094505050505092915050565b8051801515811461156f57600080fd5b919050565b60006020828403121561158657600080fd5b6114c68261155f565b805161156f81611491565b6000602082840312156115ac57600080fd5b81516114c681611491565b60005b838110156115d25781810151838201526020016115ba565b50506000910152565b600081518084526115f38160208601602086016115b7565b601f01601f19169290920160200192915050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261168a6101408401826115db565b91505061169c602083018560ff169052565b60ff831660408301525b949350505050565b80516001600160601b038116811461156f57600080fd5b6000602082840312156116d757600080fd5b6114c6826116ae565b6000602082840312156116f257600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561148b5761148b6116f9565b805161156f816114cd565b60006020828403121561173f57600080fd5b81516114c6816114cd565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0384811682528316602080830191909152606060408301819052835190830181905260009184810191608085019190845b818110156117d45784516001600160e01b031916845293820193928201926001016117ae565b509198975050505050505050565b6000602082840312156117f457600080fd5b815167ffffffffffffffff811681146114c657600080fd5b60008161181b5761181b6116f9565b506000190190565b6000808585111561183357600080fd5b8386111561184057600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156118755780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60405160e0810167ffffffffffffffff811182821017156118e0576118e0611760565b60405290565b6040805190810167ffffffffffffffff811182821017156118e0576118e0611760565b604051601f8201601f1916810167ffffffffffffffff8111828210171561193257611932611760565b604052919050565b600082601f83011261194b57600080fd5b815167ffffffffffffffff81111561196557611965611760565b611978601f8201601f1916602001611909565b81815284602083860101111561198d57600080fd5b6116a68260208301602087016115b7565b600080604083850312156119b157600080fd5b825167ffffffffffffffff808211156119c957600080fd5b9084019060e082870312156119dd57600080fd5b6119e56118bd565b6119ee836116ae565b81526119fc602084016116ae565b6020820152611a0d60408401611722565b6040820152611a1e6060840161155f565b6060820152611a2f6080840161158f565b6080820152611a4060a0840161158f565b60a082015260c083015182811115611a5757600080fd5b611a638882860161193a565b60c0830152506020860151909450915080821115611a8057600080fd5b50611a8d8582860161193a565b9150509250929050565b60008060408385031215611aaa57600080fd5b8251611ab5816114cd565b6020840151909250611ac6816114cd565b809150509250929050565b60006020808385031215611ae457600080fd5b825167ffffffffffffffff80821115611afc57600080fd5b818501915085601f830112611b1057600080fd5b815181811115611b2257611b22611760565b611b30848260051b01611909565b818152848101925060069190911b830184019087821115611b5057600080fd5b928401925b81841015611bb45760408489031215611b6e5760008081fd5b611b766118e6565b8451611b81816114cd565b8152848601516001600160e01b031981168114611b9e5760008081fd5b8187015283526040939093019291840191611b55565b979650505050505050565b600060018201611bd157611bd16116f9565b5060010190565b600060208284031215611bea57600080fd5b815164ffffffffff811681146114c657600080fd5b60008251611c118184602087016115b7565b9190910192915050565b60008060408385031215611c2e57600080fd5b611c378361155f565b9150602083015163ffffffff81168114611ac657600080fdfea2646970667358221220c1d1c928c2bf56e3b125c4e0f281eb40b2e011cd16979bc3a06cef047e9b450164736f6c6343000814003360806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600780546001600160a01b031916331790556040513090620000769062000b89565b6001600160a01b039091168152602001604051809103906000f080158015620000a3573d6000803e3d6000fd5b50600680546001600160a01b03929092166c01000000000000000000000000026001600160601b03909216919091179055620000de62000134565b620000e862000356565b620000f262000713565b63102da10360e01b60009081526020527fda2f1c7c93249a15b6e94303c502da92707bd3eefa34d80caa06d9c10412fded805460ff1916600117905562000d1e565b60006006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200018a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b0919062000b97565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c08201516003820190620002d9908262000c52565b50506006546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200033957600080fd5b505af11580156200034e573d6000803e3d6000fd5b505050505050565b600654604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa158015620003b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d7919062000b97565b9050600081905060006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000434573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045a919062000b97565b8314620004f4576200046b62000a6d565b620004ec6006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e9919062000b97565b90565b90506200054f565b6200054c6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529581905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b031991821617909155925160028201805491909616931692909217909355915190919060038201906200065d908262000c52565b5050306000908152600260205260409081902080546001600160601b0386166001600160601b03199182168117909255600680549091169091179081905590516340c10f1960e01b815260016004820152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b158015620006f557600080fd5b505af11580156200070a573d6000803e3d6000fd5b50505050505050565b7f018c877a3c1f175f42ac2fd4d91e2c99e438afe50496f22ceaf98c7ffc168eb2805460ff19166001908117909155603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd09062000779602890565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620007ad604690565b60ff1660ff1681526020019081526020016000206000620007d362000b7560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000807606e90565b60ff1660ff16815260200190815260200160002060006200082d62000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000861607890565b60ff1660ff16815260200190815260200160002060006200088762000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008bb608290565b60ff1660ff1681526020019081526020016000206000620008e162000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000915608c90565b60ff1660ff16815260200190815260200160002060006200093b62000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906005906200096f60d290565b60ff1660ff16815260200190815260200160002060006200099562000b7f60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600590620009c960dc90565b60ff1660ff1681526020019081526020016000206000620009ef62000b8460201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000a23605090565b60ff1660ff168152602001908152602001600020600062000a4962000b8460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000ac3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae9919062000b97565b905060008190506040518060e00160405280826001600160601b0316815260200162000b626006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b6001600160601b03168152602001620001d85b602890565b604690565b606e90565b608c90565b611e3d806200285283390190565b60006020828403121562000baa57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000bdc57607f821691505b60208210810362000bfd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c4d57600081815260208120601f850160051c8101602086101562000c2c5750805b601f850160051c820191505b818110156200034e5782815560010162000c38565b505050565b81516001600160401b0381111562000c6e5762000c6e62000bb1565b62000c868162000c7f845462000bc7565b8462000c03565b602080601f83116001811462000cbe576000841562000ca55750858301515b600019600386901b1c1916600185901b1785556200034e565b600085815260208120601f198616915b8281101562000cef5788860151825594840194600190910190840162000cce565b508582101562000d0e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b248062000d2e6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063a48f42e0116100c3578063cde749f41161007c578063cde749f4146102f9578063d2213b5b14610301578063d272ac1e14610321578063d39e604314610353578063e285c9c414610390578063e74d052f1461039857600080fd5b8063a48f42e01461028d578063a5df9e4e146102a0578063a7050a56146102b3578063ae8dfb79146102c6578063bc36dc91146102ce578063c3c5a547146102e657600080fd5b806338e19a751161011557806338e19a75146101fb5780633fe9300e14610215578063644c45e0146102385780637374162b1461025d578063893d20e8146102655780638b09a5f01461026d57600080fd5b806301ffc9a71461015257806314afd79e146101945780631a848cfb146101bf5780632b91e0a9146101d557806338bb429a146101e8575b600080fd5b61017f610160366004611316565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a76101a236600461136f565b6103ab565b6040516001600160a01b03909116815260200161018b565b6101c76104c7565b60405190815260200161018b565b61017f6101e336600461136f565b610545565b6101a76101f63660046113ac565b610632565b61020361068f565b60405160ff909116815260200161018b565b61022b6040518060200160405280600081525081565b60405161018b919061140f565b6006546001600160601b03165b6040516001600160601b03909116815260200161018b565b6102036106fd565b6101a7610747565b61028061027b36600461136f565b610752565b60405161018b9190611422565b61028061029b3660046113ac565b6108b9565b6102456102ae366004611689565b61098b565b6102456102c13660046116be565b610a4c565b6101c7600281565b600654600160601b90046001600160a01b03166101a7565b61017f6102f436600461136f565b610b68565b610203610bff565b61031461030f366004611722565b610c49565b60405161018b919061173f565b61024561032f36600461136f565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101a76103613660046117a5565b60ff8082166000908152600360209081526040808320938616835292905220546001600160a01b031692915050565b6101a7600181565b61017f6103a63660046113ac565b610ccf565b6006546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610435573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045991906117de565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c191906117fb565b92915050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561051c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105409190611818565b905090565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611831565b80156104c157506001600160a01b0382166000908152600260209081526040808320546001600160601b0316835260019091529020546104c190600160c01b900460ff16610627603c90565b60ff90811691161490565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610418565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610540919061184e565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b6000610540306103ab565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906108309061186b565b80601f016020809104026020016040519081016040528092919081815260200182805461085c9061186b565b80156108a95780601f1061087e576101008083540402835291602001916108a9565b820191906000526020600020905b81548152906001019060200180831161088c57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906108309061186b565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa1580156109d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f89190611831565b610a1557604051638fe695a360e01b815260040160405180910390fd5b610a258260400151610627603c90565b15610a435760405163b4a7fc9360e01b815260040160405180910390fd5b6104c182610d29565b6007546000906001600160a01b03163314610a7a576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600360209081526040808320938616835292905220546001600160a01b031615610ad75760808401516040516353752f3960e11b81526001600160a01b0390911660048201526024015b60405180910390fd5b608084015160ff848116600090815260036020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610b2184610d29565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610bdb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c19190611831565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b6040805180820182526060815260006020820152600754915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610ca7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104c191908101906118ba565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610bbe565b6040808201516020808401516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c0840191610dcb9061186b565b80601f0160208091040260200160405190810160405280929190818152602001828054610df79061186b565b8015610e445780601f10610e1957610100808354040283529160200191610e44565b820191906000526020600020905b815481529060010190602001808311610e2757829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e835760405163b0014c0760e01b815260040160405180910390fd5b6000610e9d886060015189608001518660600151856112d8565b60065460a08a01516040805160208101825260008082529151631109bad360e11b81529495509093600160601b9093046001600160a01b03169263221375a692610eee9290918791906004016119aa565b6020604051808303816000875af1158015610f0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f319190611818565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110849190611a2e565b50505060808901516001600160a01b0316156111eb5760ff80881660009081526004602090815260408083208885168452909152812054909116151590036110ec57604051638880f20760e01b815260ff808916600483015285166024820152604401610ace565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111889190611831565b156111b15760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610ace565b6001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038a1617905561123d565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361123d57604051638880f20760e01b815260ff808916600483015285166024820152604401610ace565b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a001516040516112c4969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a150505050505050919050565b60006001600160a01b0384166112fd5782156112f557508061130e565b50600061130e565b841561130a57508261130e565b5060005b949350505050565b60006020828403121561132857600080fd5b81356001600160e01b03198116811461134057600080fd5b9392505050565b6001600160a01b038116811461135c57600080fd5b50565b803561136a81611347565b919050565b60006020828403121561138157600080fd5b813561134081611347565b6001600160601b038116811461135c57600080fd5b803561136a8161138c565b6000602082840312156113be57600080fd5b81356113408161138c565b6000815180845260005b818110156113ef576020818501810151868301820152016113d3565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061134060208301846113c9565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161148b60c08401826001600160a01b03169052565b5060c083015160e08084015261130e6101008401826113c9565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156114de576114de6114a5565b60405290565b6040805190810167ffffffffffffffff811182821017156114de576114de6114a5565b604051601f8201601f1916810167ffffffffffffffff81118282101715611530576115306114a5565b604052919050565b60ff8116811461135c57600080fd5b803561136a81611538565b801515811461135c57600080fd5b803561136a81611552565b600082601f83011261157c57600080fd5b813567ffffffffffffffff811115611596576115966114a5565b6115a9601f8201601f1916602001611507565b8181528460208386010111156115be57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e082840312156115ed57600080fd5b6115f56114bb565b9050611600826113a1565b815261160e602083016113a1565b602082015261161f60408301611547565b604082015261163060608301611560565b60608201526116416080830161135f565b608082015261165260a0830161135f565b60a082015260c082013567ffffffffffffffff81111561167157600080fd5b61167d8482850161156b565b60c08301525092915050565b60006020828403121561169b57600080fd5b813567ffffffffffffffff8111156116b257600080fd5b61130e848285016115db565b6000806000606084860312156116d357600080fd5b833567ffffffffffffffff8111156116ea57600080fd5b6116f6868287016115db565b935050602084013561170781611538565b9150604084013561171781611538565b809150509250925092565b60006020828403121561173457600080fd5b813561134081611538565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561178757835160ff168252928401926001929092019190840190611764565b5064ffffffffff848801511660408701528094505050505092915050565b600080604083850312156117b857600080fd5b82356117c381611538565b915060208301356117d381611538565b809150509250929050565b6000602082840312156117f057600080fd5b81516113408161138c565b60006020828403121561180d57600080fd5b815161134081611347565b60006020828403121561182a57600080fd5b5051919050565b60006020828403121561184357600080fd5b815161134081611552565b60006020828403121561186057600080fd5b815161134081611538565b600181811c9082168061187f57607f821691505b60208210810361189f57634e487b7160e01b600052602260045260246000fd5b50919050565b805164ffffffffff8116811461136a57600080fd5b600060208083850312156118cd57600080fd5b825167ffffffffffffffff808211156118e557600080fd5b90840190604082870312156118f957600080fd5b6119016114e4565b82518281111561191057600080fd5b8301601f8101881361192157600080fd5b805183811115611933576119336114a5565b8060051b9350611944868501611507565b818152938201860193868101908a86111561195e57600080fd5b928701925b85841015611988578351925061197883611538565b8282529287019290870190611963565b8452506119999150508385016118a5565b848201528094505050505092915050565b6001600160a01b038481168252831660208201526060604082018190526000906119d6908301846113c9565b95945050505050565b601f821115611a2957600081815260208120601f850160051c81016020861015611a065750805b601f850160051c820191505b81811015611a2557828155600101611a12565b5050505b505050565b815167ffffffffffffffff811115611a4857611a486114a5565b611a5c81611a56845461186b565b846119df565b602080601f831160018114611a915760008415611a795750858301515b600019600386901b1c1916600185901b178555611a25565b600085815260208120601f198616915b82811015611ac057888601518255948401946001909101908401611aa1565b5085821015611ade5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220e29302c0ead458ba7027a074699648d86ee350e5ffd26b4adb7a4529b4e82e1d64736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220ea83661feb8d07247ba4fc77cce2760aa9afb7f2f6a802089397d027ee33b3bd64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
429
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80639d1e9404116100715780639d1e9404146101695780639ef6ddc914610194578063bf7e214f146101d0578063d2213b5b146101e1578063f40d7c3014610201578063fdd9ec7d1461020957600080fd5b80630e41142e146100ae5780630e6d1de9146100e75780635ab1bd53146100f95780637a9e5e4b146101335780638fb3603714610148575b600080fd5b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff90911681526020015b60405180910390f35b600054600160a81b900460ff166100d0565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100de565b6101466101413660046114a9565b61021c565b005b61015061029b565b6040516001600160e01b031990911681526020016100de565b61017c6101773660046114a9565b6102bf565b6040516001600160601b0390911681526020016100de565b6101c06101a23660046114a9565b6001600160a01b031660009081526004602052604090205460ff1690565b60405190151581526020016100de565b6000546001600160a01b031661011b565b6101f46101ef3660046114dc565b610588565b6040516100de91906114f9565b6100d0610639565b61017c6102173660046114a9565b610775565b60005433906001600160a01b031681146102585760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b60000361028e576040516361798f2f60e11b81526001600160a01b038316600482015260240161024f565b61029782610be4565b5050565b60008054600160a01b900460ff166102b35750600090565b50638fb3603760e01b90565b60006102ce335b600036610c38565b6040516301ffc9a760e01b815263bdc07c9b60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033d9190611574565b61035a576040516395d3b24b60e01b815260040160405180910390fd5b6000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061159a565b90506103d26000546001600160a01b031690565b6001600160a01b0316816001600160a01b03161461041a57600054604051630f93ce7d60e41b81526001600160a01b039182166004820152908216602482015260440161024f565b60008061042a85603c5b33610d38565b915091506000610438610639565b90506028610447848383610f55565b5061045183611064565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906104a190879086908690600401611607565b6020604051808303816000875af11580156104c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e491906116c5565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561052157600080fd5b505af1158015610535573d6000803e3d6000fd5b50506040805160ff861681526001600160a01b038b1660208201527ff7d028a430f2a37026667fd5444515ac5d8be80a482ec6478f24b6561e91ad20935001905060405180910390a15050505050919050565b60408051808201825260608082526000602080840182905260ff8616825260018152908490208451815492830281018401865294850182815293949390928492849184018282801561061757602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116105e85790505b50505091835250506001919091015464ffffffffff1660209091015292915050565b60008054604051632b10f60d60e21b8152600160a81b90910460ff166004820152819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906116e0565b9050801561074d5773__$9dab98ad7ae1a426029e5739f922230a41$__638e4ad86c6106e983600161170f565b6040518263ffffffff1660e01b815260040161070791815260200190565b602060405180830381865af4158015610724573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610748919061172d565b61076f565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b6000610780336102c6565b6040516301ffc9a760e01b8152637b6a51fd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa1580156107cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ef9190611574565b61080c57604051635458064d60e11b815260040160405180910390fd5b600061081983603c610424565b5090506000610826610639565b60ff811660009081526001602052604081206003548154939450919290919081106108535761085361174a565b90600052602060002090602091828204019190069054906101000a900460ff169050610880838383610f55565b5060006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360286040516001600160e01b031960e084901b16815260ff91821660048201529086166024820152604401602060405180830381865afa1580156108fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091e919061159a565b604080516001808252818301909252919250600091906020808301908036833750505060ff8581166000908152600260209081526040808320938816835292905290812054825192935060e01b9183919061097b5761097b61174a565b60200260200101906001600160e01b03191690816001600160e01b03191681525050806000815181106109b0576109b061174a565b60200260200101516001600160e01b031916600060e01b14610a61576040516361bc3b4160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906361bc3b4190610a1c908a9086908690600401611776565b6020604051808303816000875af1158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906117e2565b505b60038054906000610a718361180c565b9190505550600354600003610af2576000805460ff60a81b1916600160a81b60ff87169081029190911782556001600160a01b038416825260046020908152604092839020805460ff1916600117905591519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a5690610b4290889088908890600401611607565b6020604051808303816000875af1158015610b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8591906116c5565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610bc257600080fd5b505af1158015610bd6573d6000803e3d6000fd5b505050505050505050919050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080610c6e610c506000546001600160a01b031690565b8630610c6060046000898b611823565b610c699161184d565b611374565b9150915081610d315763ffffffff811615610d0e576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90610cc99088908890889060040161187d565b600060405180830381600087803b158015610ce357600080fd5b505af1158015610cf7573d6000803e3d6000fd5b50506000805460ff60a01b1916905550610d319050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161024f565b5050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610db3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddb919081019061199e565b6001600160a01b03871660808301526000606083015260408201519193509150610e059085611480565b15610e36576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161024f565b60a08201516001600160a01b0380821690851614610e725760405163dfc430cb60e01b81526001600160a01b038516600482015260240161024f565b856001600160a01b0316816001600160a01b031603610ea4576040516317faf4db60e11b815260040160405180910390fd5b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015610f0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190611574565b15610f4c57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008060008560c00151806020019051810190610f729190611a97565b91509150610f808186611480565b15610fab57604051632ac811e560e01b815260ff80871660048301528216602482015260440161024f565b60405163b2466acf60e01b815260ff8516600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015610ffd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110219190611574565b1561105b576110308285611480565b1561105b5760405163344254bf60e11b815260ff80861660048301528316602482015260440161024f565b50949350505050565b600061106e610639565b90506000828060200190518101906110869190611ad1565b905080516000036110aa5760405163b3327ef160e01b815260040160405180910390fd5b60ff828116600090815260016020818152604083208054928301815583528083209082040180546028601f9093166101000a9283029290940219909316179091555b81518110156112cd5760008282815181106111095761110961174a565b6020026020010151600001519050600083838151811061112b5761112b61174a565b602002602001015160200151905061115082611145602890565b60ff90811691161490565b806111cc575060405163037c8cb160e51b815260ff8316600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__90636f91962090602401602060405180830381865af41580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190611574565b156111f657604051633c04bbaf60e01b81526004810184905260ff8316602482015260440161024f565b60ff85811660009081526002602090815260408083209386168352929052205460e01b6001600160e01b0319161561124e57604051632d4af7a360e01b815260ff80871660048301528316602482015260440161024f565b60ff8581166000818152600260209081526040808320968516808452968252808320805463ffffffff191660e09790971c969096179095559181526001808352938120805494850181558152819020908304018054601f9093166101000a918202199092169202919091179055806112c581611bbf565b9150506110ec565b5073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190611bd8565b60ff92909216600090815260016020819052604090912001805464ffffffffff191664ffffffffff909316929092179091555160035550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516113e39190611bff565b600060405180830381855afa9150503d806000811461141e576040519150601f19603f3d011682016040523d82523d6000602084013e611423565b606091505b50915091508115611475576040815110611455578080602001905181019061144b9190611c1b565b9094509250611475565b602081511061147557808060200190518101906114729190611574565b93505b505094509492505050565b60ff82811690821614155b92915050565b6001600160a01b03811681146114a657600080fd5b50565b6000602082840312156114bb57600080fd5b81356114c681611491565b9392505050565b60ff811681146114a657600080fd5b6000602082840312156114ee57600080fd5b81356114c6816114cd565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561154157835160ff16825292840192600192909201919084019061151e565b5064ffffffffff848801511660408701528094505050505092915050565b8051801515811461156f57600080fd5b919050565b60006020828403121561158657600080fd5b6114c68261155f565b805161156f81611491565b6000602082840312156115ac57600080fd5b81516114c681611491565b60005b838110156115d25781810151838201526020016115ba565b50506000910152565b600081518084526115f38160208601602086016115b7565b601f01601f19169290920160200192915050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261168a6101408401826115db565b91505061169c602083018560ff169052565b60ff831660408301525b949350505050565b80516001600160601b038116811461156f57600080fd5b6000602082840312156116d757600080fd5b6114c6826116ae565b6000602082840312156116f257600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561148b5761148b6116f9565b805161156f816114cd565b60006020828403121561173f57600080fd5b81516114c6816114cd565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0384811682528316602080830191909152606060408301819052835190830181905260009184810191608085019190845b818110156117d45784516001600160e01b031916845293820193928201926001016117ae565b509198975050505050505050565b6000602082840312156117f457600080fd5b815167ffffffffffffffff811681146114c657600080fd5b60008161181b5761181b6116f9565b506000190190565b6000808585111561183357600080fd5b8386111561184057600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156118755780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60405160e0810167ffffffffffffffff811182821017156118e0576118e0611760565b60405290565b6040805190810167ffffffffffffffff811182821017156118e0576118e0611760565b604051601f8201601f1916810167ffffffffffffffff8111828210171561193257611932611760565b604052919050565b600082601f83011261194b57600080fd5b815167ffffffffffffffff81111561196557611965611760565b611978601f8201601f1916602001611909565b81815284602083860101111561198d57600080fd5b6116a68260208301602087016115b7565b600080604083850312156119b157600080fd5b825167ffffffffffffffff808211156119c957600080fd5b9084019060e082870312156119dd57600080fd5b6119e56118bd565b6119ee836116ae565b81526119fc602084016116ae565b6020820152611a0d60408401611722565b6040820152611a1e6060840161155f565b6060820152611a2f6080840161158f565b6080820152611a4060a0840161158f565b60a082015260c083015182811115611a5757600080fd5b611a638882860161193a565b60c0830152506020860151909450915080821115611a8057600080fd5b50611a8d8582860161193a565b9150509250929050565b60008060408385031215611aaa57600080fd5b8251611ab5816114cd565b6020840151909250611ac6816114cd565b809150509250929050565b60006020808385031215611ae457600080fd5b825167ffffffffffffffff80821115611afc57600080fd5b818501915085601f830112611b1057600080fd5b815181811115611b2257611b22611760565b611b30848260051b01611909565b818152848101925060069190911b830184019087821115611b5057600080fd5b928401925b81841015611bb45760408489031215611b6e5760008081fd5b611b766118e6565b8451611b81816114cd565b8152848601516001600160e01b031981168114611b9e5760008081fd5b8187015283526040939093019291840191611b55565b979650505050505050565b600060018201611bd157611bd16116f9565b5060010190565b600060208284031215611bea57600080fd5b815164ffffffffff811681146114c657600080fd5b60008251611c118184602087016115b7565b9190910192915050565b60008060408385031215611c2e57600080fd5b611c378361155f565b9150602083015163ffffffff81168114611ac657600080fdfea2646970667358221220c1d1c928c2bf56e3b125c4e0f281eb40b2e011cd16979bc3a06cef047e9b450164736f6c63430008140033",
430
- "linkReferences": {
431
- "contracts/types/NftId.sol": {
432
- "NftIdLib": [
433
- {
434
- "length": 20,
435
- "start": 12499
436
- },
437
- {
438
- "length": 20,
439
- "start": 12886
440
- },
441
- {
442
- "length": 20,
443
- "start": 13126
444
- },
445
- {
446
- "length": 20,
447
- "start": 14457
448
- },
449
- {
450
- "length": 20,
451
- "start": 15875
452
- }
453
- ]
454
- },
455
- "contracts/types/ObjectType.sol": {
456
- "ObjectTypeLib": [
457
- {
458
- "length": 20,
459
- "start": 4840
460
- },
461
- {
462
- "length": 20,
463
- "start": 5267
464
- },
465
- {
466
- "length": 20,
467
- "start": 14816
468
- }
469
- ]
470
- },
471
- "contracts/types/Timestamp.sol": {
472
- "TimestampLib": [
473
- {
474
- "length": 20,
475
- "start": 5621
476
- }
477
- ]
478
- },
479
- "contracts/types/Version.sol": {
480
- "VersionPartLib": [
481
- {
482
- "length": 20,
483
- "start": 192
484
- },
485
- {
486
- "length": 20,
487
- "start": 2435
488
- },
489
- {
490
- "length": 20,
491
- "start": 2539
492
- }
493
- ]
494
- }
495
- },
496
- "deployedLinkReferences": {
497
- "contracts/types/ObjectType.sol": {
498
- "ObjectTypeLib": [
499
- {
500
- "length": 20,
501
- "start": 4035
502
- },
503
- {
504
- "length": 20,
505
- "start": 4462
506
- }
507
- ]
508
- },
509
- "contracts/types/Timestamp.sol": {
510
- "TimestampLib": [
511
- {
512
- "length": 20,
513
- "start": 4816
514
- }
515
- ]
516
- },
517
- "contracts/types/Version.sol": {
518
- "VersionPartLib": [
519
- {
520
- "length": 20,
521
- "start": 1630
522
- },
523
- {
524
- "length": 20,
525
- "start": 1734
526
- }
527
- ]
528
- }
529
- }
530
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2ed28d37f387338e4c50355843a72c1f.json"
4
- }