@etherisc/gif-next 0.0.2-bdd64e2-180 → 0.0.2-be78639-672

Sign up to get free protection for your applications and to get access to all the features.
Files changed (763) hide show
  1. package/README.md +187 -284
  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/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +957 -535
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +760 -138
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +614 -2806
  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 +1821 -683
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +780 -323
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +404 -104
  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/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  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/pool/IPoolComponent.sol/IPoolComponent.json +895 -0
  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/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +404 -351
  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/product/IPricingService.sol/IPricingService.json +652 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1006 -0
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IRiskService.sol/IRiskService.json} +353 -249
  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 +641 -173
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +419 -200
  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 +969 -202
  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 +370 -309
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +389 -121
  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 +391 -80
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/shared/Component.sol/Component.json +695 -0
  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/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +300 -166
  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 +161 -154
  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 +177 -163
  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 +141 -24
  398. package/contracts/instance/IInstanceService.sol +106 -17
  399. package/contracts/instance/Instance.sol +249 -341
  400. package/contracts/instance/InstanceAdmin.sol +307 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  402. package/contracts/instance/InstanceReader.sol +502 -202
  403. package/contracts/instance/InstanceService.sol +462 -130
  404. package/contracts/instance/InstanceServiceManager.sol +14 -31
  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/base/Cloneable.sol +28 -0
  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 +82 -35
  461. package/contracts/registry/IRegistry.sol +128 -50
  462. package/contracts/registry/IRegistryService.sol +45 -16
  463. package/contracts/registry/IRelease.sol +29 -0
  464. package/contracts/registry/ITransferInterceptor.sol +1 -1
  465. package/contracts/registry/Registry.sol +551 -304
  466. package/contracts/registry/RegistryAdmin.sol +173 -0
  467. package/contracts/registry/RegistryAuthorization.sol +337 -0
  468. package/contracts/registry/RegistryService.sol +126 -284
  469. package/contracts/registry/RegistryServiceManager.sol +26 -53
  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 +265 -59
  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 +13 -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 -84
  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 +46 -33
  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/type/NftIdSet.sol +62 -0
  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/BaseComponent.sol/BaseComponent.json +0 -327
  542. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  543. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
  544. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  546. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
  548. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  549. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  550. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  551. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  552. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  553. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -873
  554. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  555. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  556. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  558. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  560. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  562. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  564. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  566. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  568. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  570. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  572. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  574. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  576. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  579. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  581. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  583. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  585. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  587. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  589. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  590. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  591. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  592. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  593. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  594. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  595. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  596. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  597. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  598. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  599. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  600. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  601. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  602. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  605. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  607. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  608. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  609. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  611. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  613. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  615. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  617. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -657
  619. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -436
  621. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  623. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  624. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  625. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  626. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -796
  629. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  631. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  632. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  633. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  634. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  635. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  636. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  637. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  638. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  639. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  640. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  641. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  642. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  643. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  644. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  645. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  646. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  647. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  648. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  649. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  650. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  651. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  652. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  653. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  654. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  655. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  656. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  657. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  658. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  659. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  660. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  661. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  662. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  663. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  665. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  667. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  669. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  671. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  672. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  673. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  675. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  676. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  677. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  679. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  681. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  683. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  685. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  687. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  689. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  691. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  693. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  695. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  697. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  699. package/contracts/components/BaseComponent.sol +0 -91
  700. package/contracts/components/Distribution.sol +0 -166
  701. package/contracts/components/IBaseComponent.sol +0 -25
  702. package/contracts/components/IDistributionComponent.sol +0 -46
  703. package/contracts/components/IPoolComponent.sol +0 -62
  704. package/contracts/components/IProductComponent.sol +0 -35
  705. package/contracts/components/Pool.sol +0 -247
  706. package/contracts/components/Product.sol +0 -297
  707. package/contracts/experiment/cloning/Cloner.sol +0 -47
  708. package/contracts/experiment/errors/Require.sol +0 -38
  709. package/contracts/experiment/errors/Revert.sol +0 -44
  710. package/contracts/experiment/inheritance/A.sol +0 -53
  711. package/contracts/experiment/inheritance/B.sol +0 -28
  712. package/contracts/experiment/inheritance/C.sol +0 -34
  713. package/contracts/experiment/inheritance/IA.sol +0 -13
  714. package/contracts/experiment/inheritance/IB.sol +0 -10
  715. package/contracts/experiment/inheritance/IC.sol +0 -12
  716. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  717. package/contracts/experiment/statemachine/ISM.sol +0 -25
  718. package/contracts/experiment/statemachine/SM.sol +0 -57
  719. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  720. package/contracts/experiment/types/TypeA.sol +0 -47
  721. package/contracts/experiment/types/TypeB.sol +0 -29
  722. package/contracts/instance/AccessManagedSimple.sol +0 -115
  723. package/contracts/instance/AccessManagerSimple.sol +0 -692
  724. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  725. package/contracts/instance/InstanceAccessManager.sol +0 -288
  726. package/contracts/instance/base/ComponentServiceBase.sol +0 -41
  727. package/contracts/instance/base/IInstanceBase.sol +0 -23
  728. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  729. package/contracts/instance/base/KeyValueStore.sol +0 -172
  730. package/contracts/instance/base/Lifecycle.sol +0 -100
  731. package/contracts/instance/module/IAccess.sol +0 -38
  732. package/contracts/instance/module/ISetup.sol +0 -44
  733. package/contracts/instance/module/ITreasury.sol +0 -23
  734. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  735. package/contracts/instance/service/DistributionService.sol +0 -105
  736. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  737. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  738. package/contracts/instance/service/IDistributionService.sol +0 -12
  739. package/contracts/instance/service/IPoolService.sol +0 -37
  740. package/contracts/instance/service/IProductService.sol +0 -107
  741. package/contracts/instance/service/PoolService.sol +0 -211
  742. package/contracts/instance/service/PoolServiceManager.sol +0 -53
  743. package/contracts/shared/ContractDeployerLib.sol +0 -72
  744. package/contracts/shared/ERC165.sol +0 -25
  745. package/contracts/shared/ProxyManager.sol +0 -94
  746. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  747. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  748. package/contracts/shared/Versionable.sol +0 -147
  749. package/contracts/test/TestFee.sol +0 -25
  750. package/contracts/test/TestRegisterable.sol +0 -18
  751. package/contracts/test/TestRoleId.sol +0 -14
  752. package/contracts/test/TestService.sol +0 -24
  753. package/contracts/test/TestToken.sol +0 -26
  754. package/contracts/test/TestVersion.sol +0 -44
  755. package/contracts/test/TestVersionable.sol +0 -17
  756. package/contracts/types/ChainId.sol +0 -38
  757. package/contracts/types/Fee.sol +0 -56
  758. package/contracts/types/NftIdSet.sol +0 -60
  759. package/contracts/types/NumberId.sol +0 -52
  760. package/contracts/types/ObjectType.sol +0 -152
  761. package/contracts/types/RiskId.sol +0 -43
  762. package/contracts/types/RoleId.sol +0 -89
  763. package/contracts/types/UFixed.sol +0 -325
@@ -3,6 +3,44 @@
3
3
  "contractName": "InstanceService",
4
4
  "sourceName": "contracts/instance/InstanceService.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
6
44
  {
7
45
  "inputs": [],
8
46
  "name": "ERC1167FailedCreateClone",
@@ -12,81 +50,340 @@
12
50
  "inputs": [
13
51
  {
14
52
  "internalType": "address",
15
- "name": "registry",
53
+ "name": "authority",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAuthorityInvalid",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorInstanceServiceAccessManagerZero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorInstanceServiceBundleSetAuthorityMismatch",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorInstanceServiceBundleSetInstanceMismatch",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorInstanceServiceBundleSetZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "component",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "componentAddress",
16
96
  "type": "address"
97
+ }
98
+ ],
99
+ "name": "ErrorInstanceServiceComponentNotRegistered",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorInstanceServiceInstanceAddressZero",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorInstanceServiceInstanceAdminZero",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "ErrorInstanceServiceInstanceAuthorityMismatch",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "instanceNftId",
122
+ "type": "uint96"
17
123
  },
18
124
  {
19
125
  "internalType": "NftId",
20
- "name": "nftId",
126
+ "name": "componentNftId",
21
127
  "type": "uint96"
22
128
  }
23
129
  ],
24
- "name": "ErrorAlreadyLinked",
130
+ "name": "ErrorInstanceServiceInstanceComponentMismatch",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [],
135
+ "name": "ErrorInstanceServiceInstanceReaderAddressZero",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [],
140
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [],
145
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [],
155
+ "name": "ErrorInstanceServiceInstanceReaderZero",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "ErrorInstanceServiceInstanceStoreZero",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [
170
+ {
171
+ "internalType": "NftId",
172
+ "name": "instanceNftId",
173
+ "type": "uint96"
174
+ },
175
+ {
176
+ "internalType": "VersionPart",
177
+ "name": "expectedRelease",
178
+ "type": "uint8"
179
+ },
180
+ {
181
+ "internalType": "VersionPart",
182
+ "name": "instanceRelease",
183
+ "type": "uint8"
184
+ }
185
+ ],
186
+ "name": "ErrorInstanceServiceInstanceVersionMismatch",
25
187
  "type": "error"
26
188
  },
27
189
  {
28
190
  "inputs": [
29
191
  {
30
192
  "internalType": "address",
31
- "name": "contractAddress",
193
+ "name": "componentAddress",
32
194
  "type": "address"
195
+ },
196
+ {
197
+ "internalType": "ObjectType",
198
+ "name": "expectedType",
199
+ "type": "uint8"
200
+ },
201
+ {
202
+ "internalType": "ObjectType",
203
+ "name": "componentType",
204
+ "type": "uint8"
33
205
  }
34
206
  ],
35
- "name": "ErrorContractNotRegistered",
207
+ "name": "ErrorInstanceServiceInvalidComponentType",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "ErrorInstanceServiceMasterBundleSetAlreadySet",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorInstanceServiceMasterRiskSetAlreadySet",
36
233
  "type": "error"
37
234
  },
38
235
  {
39
236
  "inputs": [
40
237
  {
41
238
  "internalType": "address",
42
- "name": "account",
239
+ "name": "instance",
43
240
  "type": "address"
241
+ },
242
+ {
243
+ "internalType": "ObjectType",
244
+ "name": "objectType",
245
+ "type": "uint8"
44
246
  }
45
247
  ],
46
- "name": "ErrorNotOwner",
248
+ "name": "ErrorInstanceServiceNotInstance",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [
253
+ {
254
+ "internalType": "NftId",
255
+ "name": "nftId",
256
+ "type": "uint96"
257
+ }
258
+ ],
259
+ "name": "ErrorInstanceServiceNotInstanceNftId",
47
260
  "type": "error"
48
261
  },
49
262
  {
50
263
  "inputs": [
51
264
  {
52
265
  "internalType": "address",
53
- "name": "registryAddress",
266
+ "name": "instance",
54
267
  "type": "address"
55
268
  }
56
269
  ],
57
- "name": "ErrorNotRegistry",
270
+ "name": "ErrorInstanceServiceNotRegistered",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [],
275
+ "name": "ErrorInstanceServiceProductStoreAuthorityMismatch",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "ErrorInstanceServiceProductStoreZero",
58
281
  "type": "error"
59
282
  },
60
283
  {
61
284
  "inputs": [
62
285
  {
63
286
  "internalType": "address",
64
- "name": "registryAddress",
287
+ "name": "caller",
288
+ "type": "address"
289
+ }
290
+ ],
291
+ "name": "ErrorInstanceServiceRequestUnauhorized",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [],
296
+ "name": "ErrorInstanceServiceRiskSetAuthorityMismatch",
297
+ "type": "error"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "ErrorInstanceServiceRiskSetInstanceMismatch",
302
+ "type": "error"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "ErrorInstanceServiceRiskSetZero",
307
+ "type": "error"
308
+ },
309
+ {
310
+ "inputs": [
311
+ {
312
+ "internalType": "NftId",
313
+ "name": "nftId",
314
+ "type": "uint96"
315
+ }
316
+ ],
317
+ "name": "ErrorNftOwnableAlreadyLinked",
318
+ "type": "error"
319
+ },
320
+ {
321
+ "inputs": [
322
+ {
323
+ "internalType": "address",
324
+ "name": "contractAddress",
65
325
  "type": "address"
66
326
  }
67
327
  ],
68
- "name": "ErrorRegisterableNotRegistry",
328
+ "name": "ErrorNftOwnableContractNotRegistered",
69
329
  "type": "error"
70
330
  },
71
331
  {
72
332
  "inputs": [],
73
- "name": "ErrorRegistryAddressZero",
333
+ "name": "ErrorNftOwnableInitialOwnerZero",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "NftId",
340
+ "name": "nftId",
341
+ "type": "uint96"
342
+ },
343
+ {
344
+ "internalType": "ObjectType",
345
+ "name": "expectedObjectType",
346
+ "type": "uint8"
347
+ }
348
+ ],
349
+ "name": "ErrorNftOwnableInvalidType",
74
350
  "type": "error"
75
351
  },
76
352
  {
77
353
  "inputs": [
78
354
  {
79
355
  "internalType": "address",
80
- "name": "registry",
356
+ "name": "account",
81
357
  "type": "address"
82
358
  }
83
359
  ],
84
- "name": "ErrorRegistryAlreadyInitialized",
360
+ "name": "ErrorNftOwnableNotOwner",
361
+ "type": "error"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "internalType": "address",
367
+ "name": "registryAddress",
368
+ "type": "address"
369
+ }
370
+ ],
371
+ "name": "ErrorNotRegistry",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "ErrorRegisterableNotActive",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "ErrorVersionableInitializeNotImplemented",
85
382
  "type": "error"
86
383
  },
87
384
  {
88
385
  "inputs": [],
89
- "name": "ErrorRegistryNotInitialized",
386
+ "name": "ErrorVersionableUpgradeNotImplemented",
90
387
  "type": "error"
91
388
  },
92
389
  {
@@ -99,6 +396,24 @@
99
396
  "name": "NotInitializing",
100
397
  "type": "error"
101
398
  },
399
+ {
400
+ "inputs": [],
401
+ "name": "ReentrancyGuardReentrantCall",
402
+ "type": "error"
403
+ },
404
+ {
405
+ "anonymous": false,
406
+ "inputs": [
407
+ {
408
+ "indexed": false,
409
+ "internalType": "address",
410
+ "name": "authority",
411
+ "type": "address"
412
+ }
413
+ ],
414
+ "name": "AuthorityUpdated",
415
+ "type": "event"
416
+ },
102
417
  {
103
418
  "anonymous": false,
104
419
  "inputs": [
@@ -117,30 +432,56 @@
117
432
  "inputs": [
118
433
  {
119
434
  "indexed": false,
120
- "internalType": "address",
121
- "name": "clonedAccessManagerAddress",
122
- "type": "address"
435
+ "internalType": "NftId",
436
+ "name": "instanceNftId",
437
+ "type": "uint96"
123
438
  },
124
439
  {
125
440
  "indexed": false,
126
441
  "internalType": "address",
127
- "name": "clonedInstanceAddress",
442
+ "name": "instance",
128
443
  "type": "address"
129
- },
444
+ }
445
+ ],
446
+ "name": "LogInstanceServiceInstanceCreated",
447
+ "type": "event"
448
+ },
449
+ {
450
+ "anonymous": false,
451
+ "inputs": [
130
452
  {
131
453
  "indexed": false,
132
- "internalType": "address",
133
- "name": "clonedInstanceReaderAddress",
134
- "type": "address"
454
+ "internalType": "NftId",
455
+ "name": "instanceNftId",
456
+ "type": "uint96"
135
457
  },
458
+ {
459
+ "indexed": false,
460
+ "internalType": "bool",
461
+ "name": "locked",
462
+ "type": "bool"
463
+ }
464
+ ],
465
+ "name": "LogInstanceServiceInstanceLocked",
466
+ "type": "event"
467
+ },
468
+ {
469
+ "anonymous": false,
470
+ "inputs": [
136
471
  {
137
472
  "indexed": false,
138
473
  "internalType": "NftId",
139
- "name": "clonedInstanceNftId",
474
+ "name": "instanceNfId",
140
475
  "type": "uint96"
476
+ },
477
+ {
478
+ "indexed": false,
479
+ "internalType": "address",
480
+ "name": "newInstanceReader",
481
+ "type": "address"
141
482
  }
142
483
  ],
143
- "name": "LogInstanceCloned",
484
+ "name": "LogInstanceServiceInstanceReaderUpgraded",
144
485
  "type": "event"
145
486
  },
146
487
  {
@@ -148,24 +489,37 @@
148
489
  "inputs": [
149
490
  {
150
491
  "indexed": false,
151
- "internalType": "Version",
152
- "name": "version",
153
- "type": "uint24"
492
+ "internalType": "NftId",
493
+ "name": "instanceNfId",
494
+ "type": "uint96"
154
495
  },
155
496
  {
156
497
  "indexed": false,
157
498
  "internalType": "address",
158
- "name": "implementation",
499
+ "name": "newInstanceReader",
159
500
  "type": "address"
501
+ }
502
+ ],
503
+ "name": "LogInstanceServiceMasterInstanceReaderUpgraded",
504
+ "type": "event"
505
+ },
506
+ {
507
+ "anonymous": false,
508
+ "inputs": [
509
+ {
510
+ "indexed": false,
511
+ "internalType": "NftId",
512
+ "name": "nftId",
513
+ "type": "uint96"
160
514
  },
161
515
  {
162
516
  "indexed": false,
163
517
  "internalType": "address",
164
- "name": "activatedBy",
518
+ "name": "owner",
165
519
  "type": "address"
166
520
  }
167
521
  ],
168
- "name": "LogVersionableInitialized",
522
+ "name": "LogNftOwnableNftLinkedToAddress",
169
523
  "type": "event"
170
524
  },
171
525
  {
@@ -183,12 +537,12 @@
183
537
  },
184
538
  {
185
539
  "inputs": [],
186
- "name": "NAME",
540
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
187
541
  "outputs": [
188
542
  {
189
- "internalType": "string",
543
+ "internalType": "bytes32",
190
544
  "name": "",
191
- "type": "string"
545
+ "type": "bytes32"
192
546
  }
193
547
  ],
194
548
  "stateMutability": "view",
@@ -209,27 +563,134 @@
209
563
  },
210
564
  {
211
565
  "inputs": [],
212
- "name": "createInstanceClone",
566
+ "name": "authority",
213
567
  "outputs": [
214
568
  {
215
- "internalType": "contract AccessManagerSimple",
216
- "name": "clonedAccessManager",
569
+ "internalType": "address",
570
+ "name": "",
571
+ "type": "address"
572
+ }
573
+ ],
574
+ "stateMutability": "view",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [
579
+ {
580
+ "internalType": "address",
581
+ "name": "target",
217
582
  "type": "address"
218
583
  },
219
584
  {
220
- "internalType": "contract Instance",
221
- "name": "clonedInstance",
585
+ "internalType": "RoleId",
586
+ "name": "roleId",
587
+ "type": "uint64"
588
+ },
589
+ {
590
+ "components": [
591
+ {
592
+ "internalType": "Str",
593
+ "name": "name",
594
+ "type": "bytes32"
595
+ },
596
+ {
597
+ "internalType": "Selector",
598
+ "name": "selector",
599
+ "type": "bytes4"
600
+ },
601
+ {
602
+ "internalType": "Timestamp",
603
+ "name": "createdAt",
604
+ "type": "uint40"
605
+ },
606
+ {
607
+ "internalType": "Blocknumber",
608
+ "name": "lastUpdateIn",
609
+ "type": "uint40"
610
+ }
611
+ ],
612
+ "internalType": "struct IAccess.FunctionInfo[]",
613
+ "name": "functions",
614
+ "type": "tuple[]"
615
+ }
616
+ ],
617
+ "name": "authorizeFunctions",
618
+ "outputs": [],
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [
624
+ {
625
+ "internalType": "bool",
626
+ "name": "allowAnyToken",
627
+ "type": "bool"
628
+ }
629
+ ],
630
+ "name": "createInstance",
631
+ "outputs": [
632
+ {
633
+ "internalType": "contract IInstance",
634
+ "name": "instance",
222
635
  "type": "address"
223
636
  },
224
637
  {
225
638
  "internalType": "NftId",
226
639
  "name": "instanceNftId",
227
640
  "type": "uint96"
641
+ }
642
+ ],
643
+ "stateMutability": "nonpayable",
644
+ "type": "function"
645
+ },
646
+ {
647
+ "inputs": [
648
+ {
649
+ "internalType": "string",
650
+ "name": "roleName",
651
+ "type": "string"
652
+ },
653
+ {
654
+ "internalType": "RoleId",
655
+ "name": "adminRoleId",
656
+ "type": "uint64"
228
657
  },
229
658
  {
230
- "internalType": "contract InstanceReader",
231
- "name": "clonedInstanceReader",
659
+ "internalType": "uint32",
660
+ "name": "maxMemberCount",
661
+ "type": "uint32"
662
+ }
663
+ ],
664
+ "name": "createRole",
665
+ "outputs": [
666
+ {
667
+ "internalType": "RoleId",
668
+ "name": "roleId",
669
+ "type": "uint64"
670
+ }
671
+ ],
672
+ "stateMutability": "nonpayable",
673
+ "type": "function"
674
+ },
675
+ {
676
+ "inputs": [
677
+ {
678
+ "internalType": "address",
679
+ "name": "target",
232
680
  "type": "address"
681
+ },
682
+ {
683
+ "internalType": "string",
684
+ "name": "name",
685
+ "type": "string"
686
+ }
687
+ ],
688
+ "name": "createTarget",
689
+ "outputs": [
690
+ {
691
+ "internalType": "RoleId",
692
+ "name": "contractRoleId",
693
+ "type": "uint64"
233
694
  }
234
695
  ],
235
696
  "stateMutability": "nonpayable",
@@ -237,15 +698,15 @@
237
698
  },
238
699
  {
239
700
  "inputs": [],
240
- "name": "getAccessManagerMaster",
701
+ "name": "getDomain",
241
702
  "outputs": [
242
703
  {
243
- "internalType": "address",
244
- "name": "",
245
- "type": "address"
704
+ "internalType": "ObjectType",
705
+ "name": "serviceDomain",
706
+ "type": "uint8"
246
707
  }
247
708
  ],
248
- "stateMutability": "view",
709
+ "stateMutability": "pure",
249
710
  "type": "function"
250
711
  },
251
712
  {
@@ -291,13 +752,21 @@
291
752
  }
292
753
  ],
293
754
  "internalType": "struct IRegistry.ObjectInfo",
294
- "name": "",
755
+ "name": "info",
295
756
  "type": "tuple"
296
- },
757
+ }
758
+ ],
759
+ "stateMutability": "view",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [],
764
+ "name": "getMasterInstanceReader",
765
+ "outputs": [
297
766
  {
298
- "internalType": "bytes",
299
- "name": "data",
300
- "type": "bytes"
767
+ "internalType": "address",
768
+ "name": "",
769
+ "type": "address"
301
770
  }
302
771
  ],
303
772
  "stateMutability": "view",
@@ -305,12 +774,12 @@
305
774
  },
306
775
  {
307
776
  "inputs": [],
308
- "name": "getInitializedVersion",
777
+ "name": "getNftId",
309
778
  "outputs": [
310
779
  {
311
- "internalType": "uint64",
780
+ "internalType": "NftId",
312
781
  "name": "",
313
- "type": "uint64"
782
+ "type": "uint96"
314
783
  }
315
784
  ],
316
785
  "stateMutability": "view",
@@ -318,7 +787,7 @@
318
787
  },
319
788
  {
320
789
  "inputs": [],
321
- "name": "getInstanceMaster",
790
+ "name": "getOwner",
322
791
  "outputs": [
323
792
  {
324
793
  "internalType": "address",
@@ -331,10 +800,10 @@
331
800
  },
332
801
  {
333
802
  "inputs": [],
334
- "name": "getInstanceReaderMaster",
803
+ "name": "getRegistry",
335
804
  "outputs": [
336
805
  {
337
- "internalType": "address",
806
+ "internalType": "contract IRegistry",
338
807
  "name": "",
339
808
  "type": "address"
340
809
  }
@@ -344,11 +813,11 @@
344
813
  },
345
814
  {
346
815
  "inputs": [],
347
- "name": "getMajorVersion",
816
+ "name": "getRelease",
348
817
  "outputs": [
349
818
  {
350
819
  "internalType": "VersionPart",
351
- "name": "majorVersion",
820
+ "name": "release",
352
821
  "type": "uint8"
353
822
  }
354
823
  ],
@@ -357,83 +826,87 @@
357
826
  },
358
827
  {
359
828
  "inputs": [],
360
- "name": "getName",
829
+ "name": "getRoleId",
361
830
  "outputs": [
362
831
  {
363
- "internalType": "string",
364
- "name": "",
365
- "type": "string"
832
+ "internalType": "RoleId",
833
+ "name": "serviceRoleId",
834
+ "type": "uint64"
366
835
  }
367
836
  ],
368
- "stateMutability": "pure",
837
+ "stateMutability": "view",
369
838
  "type": "function"
370
839
  },
371
840
  {
372
841
  "inputs": [],
373
- "name": "getNftId",
842
+ "name": "getVersion",
374
843
  "outputs": [
375
844
  {
376
- "internalType": "NftId",
845
+ "internalType": "Version",
377
846
  "name": "",
378
- "type": "uint96"
847
+ "type": "uint24"
379
848
  }
380
849
  ],
381
- "stateMutability": "view",
850
+ "stateMutability": "pure",
382
851
  "type": "function"
383
852
  },
384
853
  {
385
- "inputs": [],
386
- "name": "getOwner",
387
- "outputs": [
854
+ "inputs": [
855
+ {
856
+ "internalType": "RoleId",
857
+ "name": "roleId",
858
+ "type": "uint64"
859
+ },
388
860
  {
389
861
  "internalType": "address",
390
- "name": "",
862
+ "name": "account",
391
863
  "type": "address"
392
864
  }
393
865
  ],
394
- "stateMutability": "view",
866
+ "name": "grantRole",
867
+ "outputs": [],
868
+ "stateMutability": "nonpayable",
395
869
  "type": "function"
396
870
  },
397
871
  {
398
- "inputs": [],
399
- "name": "getRegistry",
400
- "outputs": [
872
+ "inputs": [
401
873
  {
402
- "internalType": "contract IRegistry",
403
- "name": "",
874
+ "internalType": "address",
875
+ "name": "activatedBy",
404
876
  "type": "address"
877
+ },
878
+ {
879
+ "internalType": "bytes",
880
+ "name": "data",
881
+ "type": "bytes"
405
882
  }
406
883
  ],
407
- "stateMutability": "view",
884
+ "name": "initializeVersionable",
885
+ "outputs": [],
886
+ "stateMutability": "nonpayable",
408
887
  "type": "function"
409
888
  },
410
889
  {
411
890
  "inputs": [],
412
- "name": "getVersion",
891
+ "name": "isActive",
413
892
  "outputs": [
414
893
  {
415
- "internalType": "Version",
416
- "name": "",
417
- "type": "uint24"
894
+ "internalType": "bool",
895
+ "name": "active",
896
+ "type": "bool"
418
897
  }
419
898
  ],
420
- "stateMutability": "pure",
899
+ "stateMutability": "view",
421
900
  "type": "function"
422
901
  },
423
902
  {
424
- "inputs": [
425
- {
426
- "internalType": "uint256",
427
- "name": "idx",
428
- "type": "uint256"
429
- }
430
- ],
431
- "name": "getVersion",
903
+ "inputs": [],
904
+ "name": "isConsumingScheduledOp",
432
905
  "outputs": [
433
906
  {
434
- "internalType": "Version",
907
+ "internalType": "bytes4",
435
908
  "name": "",
436
- "type": "uint24"
909
+ "type": "bytes4"
437
910
  }
438
911
  ],
439
912
  "stateMutability": "view",
@@ -441,111 +914,87 @@
441
914
  },
442
915
  {
443
916
  "inputs": [],
444
- "name": "getVersionCount",
917
+ "name": "linkToRegisteredNftId",
445
918
  "outputs": [
446
919
  {
447
- "internalType": "uint256",
448
- "name": "",
449
- "type": "uint256"
920
+ "internalType": "NftId",
921
+ "name": "nftId",
922
+ "type": "uint96"
450
923
  }
451
924
  ],
452
- "stateMutability": "view",
925
+ "stateMutability": "nonpayable",
453
926
  "type": "function"
454
927
  },
455
928
  {
456
929
  "inputs": [
457
930
  {
458
- "internalType": "Version",
459
- "name": "_version",
460
- "type": "uint24"
931
+ "internalType": "address",
932
+ "name": "rewardProvider",
933
+ "type": "address"
934
+ },
935
+ {
936
+ "internalType": "Amount",
937
+ "name": "dipAmount",
938
+ "type": "uint96"
461
939
  }
462
940
  ],
463
- "name": "getVersionInfo",
941
+ "name": "refillInstanceRewardReserves",
464
942
  "outputs": [
465
943
  {
466
- "components": [
467
- {
468
- "internalType": "Version",
469
- "name": "version",
470
- "type": "uint24"
471
- },
472
- {
473
- "internalType": "address",
474
- "name": "implementation",
475
- "type": "address"
476
- },
477
- {
478
- "internalType": "address",
479
- "name": "activatedBy",
480
- "type": "address"
481
- },
482
- {
483
- "internalType": "Timestamp",
484
- "name": "activatedAt",
485
- "type": "uint40"
486
- },
487
- {
488
- "internalType": "Blocknumber",
489
- "name": "activatedIn",
490
- "type": "uint32"
491
- }
492
- ],
493
- "internalType": "struct IVersionable.VersionInfo",
494
- "name": "",
495
- "type": "tuple"
944
+ "internalType": "Amount",
945
+ "name": "newBalance",
946
+ "type": "uint96"
496
947
  }
497
948
  ],
498
- "stateMutability": "view",
949
+ "stateMutability": "nonpayable",
499
950
  "type": "function"
500
951
  },
501
952
  {
502
953
  "inputs": [
503
- {
504
- "internalType": "address",
505
- "name": "account",
506
- "type": "address"
507
- },
508
954
  {
509
955
  "internalType": "RoleId",
510
- "name": "role",
956
+ "name": "roleId",
511
957
  "type": "uint64"
512
958
  },
513
959
  {
514
- "internalType": "NftId",
515
- "name": "instanceNftId",
516
- "type": "uint96"
960
+ "internalType": "address",
961
+ "name": "account",
962
+ "type": "address"
963
+ }
964
+ ],
965
+ "name": "revokeRole",
966
+ "outputs": [],
967
+ "stateMutability": "nonpayable",
968
+ "type": "function"
969
+ },
970
+ {
971
+ "inputs": [
972
+ {
973
+ "internalType": "address",
974
+ "name": "instanceAddress",
975
+ "type": "address"
517
976
  }
518
977
  ],
519
- "name": "hasRole",
978
+ "name": "setAndRegisterMasterInstance",
520
979
  "outputs": [
521
980
  {
522
- "internalType": "bool",
523
- "name": "",
524
- "type": "bool"
981
+ "internalType": "NftId",
982
+ "name": "masterInstanceNftId",
983
+ "type": "uint96"
525
984
  }
526
985
  ],
527
- "stateMutability": "view",
986
+ "stateMutability": "nonpayable",
528
987
  "type": "function"
529
988
  },
530
989
  {
531
990
  "inputs": [
532
991
  {
533
992
  "internalType": "address",
534
- "name": "implementation",
535
- "type": "address"
536
- },
537
- {
538
- "internalType": "address",
539
- "name": "activatedBy",
993
+ "name": "newAuthority",
540
994
  "type": "address"
541
- },
542
- {
543
- "internalType": "bytes",
544
- "name": "data",
545
- "type": "bytes"
546
995
  }
547
996
  ],
548
- "name": "initialize",
997
+ "name": "setAuthority",
549
998
  "outputs": [],
550
999
  "stateMutability": "nonpayable",
551
1000
  "type": "function"
@@ -553,25 +1002,43 @@
553
1002
  {
554
1003
  "inputs": [
555
1004
  {
556
- "internalType": "Version",
557
- "name": "_version",
558
- "type": "uint24"
1005
+ "internalType": "bool",
1006
+ "name": "locked",
1007
+ "type": "bool"
559
1008
  }
560
1009
  ],
561
- "name": "isInitialized",
562
- "outputs": [
1010
+ "name": "setInstanceLocked",
1011
+ "outputs": [],
1012
+ "stateMutability": "nonpayable",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [
1017
+ {
1018
+ "internalType": "RoleId",
1019
+ "name": "roleId",
1020
+ "type": "uint64"
1021
+ },
563
1022
  {
564
1023
  "internalType": "bool",
565
- "name": "",
1024
+ "name": "active",
566
1025
  "type": "bool"
567
1026
  }
568
1027
  ],
569
- "stateMutability": "view",
1028
+ "name": "setRoleActive",
1029
+ "outputs": [],
1030
+ "stateMutability": "nonpayable",
570
1031
  "type": "function"
571
1032
  },
572
1033
  {
573
- "inputs": [],
574
- "name": "linkToRegisteredNftId",
1034
+ "inputs": [
1035
+ {
1036
+ "internalType": "Seconds",
1037
+ "name": "stakeLockingPeriod",
1038
+ "type": "uint40"
1039
+ }
1040
+ ],
1041
+ "name": "setStakingLockingPeriod",
575
1042
  "outputs": [],
576
1043
  "stateMutability": "nonpayable",
577
1044
  "type": "function"
@@ -579,12 +1046,12 @@
579
1046
  {
580
1047
  "inputs": [
581
1048
  {
582
- "internalType": "address",
583
- "name": "accessManagerMaster",
584
- "type": "address"
1049
+ "internalType": "Amount",
1050
+ "name": "maxStakedAmount",
1051
+ "type": "uint96"
585
1052
  }
586
1053
  ],
587
- "name": "setAccessManagerMaster",
1054
+ "name": "setStakingMaxAmount",
588
1055
  "outputs": [],
589
1056
  "stateMutability": "nonpayable",
590
1057
  "type": "function"
@@ -592,12 +1059,12 @@
592
1059
  {
593
1060
  "inputs": [
594
1061
  {
595
- "internalType": "address",
596
- "name": "instanceMaster",
597
- "type": "address"
1062
+ "internalType": "UFixed",
1063
+ "name": "rewardRate",
1064
+ "type": "uint160"
598
1065
  }
599
1066
  ],
600
- "name": "setInstanceMaster",
1067
+ "name": "setStakingRewardRate",
601
1068
  "outputs": [],
602
1069
  "stateMutability": "nonpayable",
603
1070
  "type": "function"
@@ -606,11 +1073,16 @@
606
1073
  "inputs": [
607
1074
  {
608
1075
  "internalType": "address",
609
- "name": "instanceReaderMaster",
1076
+ "name": "target",
610
1077
  "type": "address"
1078
+ },
1079
+ {
1080
+ "internalType": "bool",
1081
+ "name": "locked",
1082
+ "type": "bool"
611
1083
  }
612
1084
  ],
613
- "name": "setInstanceReaderMaster",
1085
+ "name": "setTargetLocked",
614
1086
  "outputs": [],
615
1087
  "stateMutability": "nonpayable",
616
1088
  "type": "function"
@@ -638,252 +1110,237 @@
638
1110
  "inputs": [
639
1111
  {
640
1112
  "internalType": "address",
641
- "name": "implementation",
1113
+ "name": "target",
642
1114
  "type": "address"
643
1115
  },
1116
+ {
1117
+ "components": [
1118
+ {
1119
+ "internalType": "Str",
1120
+ "name": "name",
1121
+ "type": "bytes32"
1122
+ },
1123
+ {
1124
+ "internalType": "Selector",
1125
+ "name": "selector",
1126
+ "type": "bytes4"
1127
+ },
1128
+ {
1129
+ "internalType": "Timestamp",
1130
+ "name": "createdAt",
1131
+ "type": "uint40"
1132
+ },
1133
+ {
1134
+ "internalType": "Blocknumber",
1135
+ "name": "lastUpdateIn",
1136
+ "type": "uint40"
1137
+ }
1138
+ ],
1139
+ "internalType": "struct IAccess.FunctionInfo[]",
1140
+ "name": "functions",
1141
+ "type": "tuple[]"
1142
+ }
1143
+ ],
1144
+ "name": "unauthorizeFunctions",
1145
+ "outputs": [],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function"
1148
+ },
1149
+ {
1150
+ "inputs": [],
1151
+ "name": "upgradeInstanceReader",
1152
+ "outputs": [],
1153
+ "stateMutability": "nonpayable",
1154
+ "type": "function"
1155
+ },
1156
+ {
1157
+ "inputs": [
644
1158
  {
645
1159
  "internalType": "address",
646
- "name": "activatedBy",
1160
+ "name": "instanceReaderAddress",
647
1161
  "type": "address"
648
- },
1162
+ }
1163
+ ],
1164
+ "name": "upgradeMasterInstanceReader",
1165
+ "outputs": [],
1166
+ "stateMutability": "nonpayable",
1167
+ "type": "function"
1168
+ },
1169
+ {
1170
+ "inputs": [
649
1171
  {
650
1172
  "internalType": "bytes",
651
1173
  "name": "data",
652
1174
  "type": "bytes"
653
1175
  }
654
1176
  ],
655
- "name": "upgrade",
1177
+ "name": "upgradeVersionable",
656
1178
  "outputs": [],
657
1179
  "stateMutability": "nonpayable",
658
1180
  "type": "function"
1181
+ },
1182
+ {
1183
+ "inputs": [
1184
+ {
1185
+ "internalType": "Amount",
1186
+ "name": "dipAmount",
1187
+ "type": "uint96"
1188
+ }
1189
+ ],
1190
+ "name": "withdrawInstanceRewardReserves",
1191
+ "outputs": [
1192
+ {
1193
+ "internalType": "Amount",
1194
+ "name": "newBalance",
1195
+ "type": "uint96"
1196
+ }
1197
+ ],
1198
+ "stateMutability": "nonpayable",
1199
+ "type": "function"
659
1200
  }
660
1201
  ],
661
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613470806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063a745e3df11610097578063cde749f411610071578063cde749f414610528578063cf7a1d7714610542578063d6277f9914610555578063eeff428e1461056857600080fd5b8063a745e3df146104e2578063b3c65015146104f5578063b88da7591461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a5780639c12c9c7146104a1578063a3f4df7e146104b457600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004612b1a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610580565b60405162ffffff90911681526020016101e7565b61021461060a565b6040516101e7929190612b94565b61022a61078c565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612c3b565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612c5f565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061341b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612c5f565b6109ae565b61022a610405366004612c91565b610a61565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a610454366004612c91565b610aee565b6102ac600081565b61026d610b81565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6101db6104af366004612cd8565b610c9a565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104f0366004612db8565b610ed4565b6104fd61102e565b6040516001600160401b0390911681526020016101e7565b6101f8610523366004612e5c565b61104f565b6105306110a0565b60405160ff90911681526020016101e7565b61022a610550366004612db8565b611123565b61022a610563366004612c91565b61122c565b6105706112c0565b6040516101e79493929190612e75565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612ea9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061068d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106d5610b81565b6001600160a01b031681526020018260010180546106f290612ec6565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90612ec6565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190612f10565b15610859576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108825760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190612f10565b610917576040516372657a5160e01b81526001600160a01b0382166004820152602401610850565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190612f36565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061341b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a9190612f53565b1192915050565b6005546001600160a01b031615610acc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610850565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610850565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190612f10565b15610c8a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612f77565b506002546001600160a01b031690565b600080610caf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610cfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2691908101906130a8565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9a9190612f77565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906130f9565b909250905063ffffffff811615610ec55760009650505050505050610ecd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ef6610580565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a91906130dc565b6000805160206133fb8339815191528054600160401b900460ff1680610f8d575080546001600160401b03808416911610155b15610fab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610fd68585611975565b610fdf83611c14565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106056000805160206133fb833981519152546001600160401b031690565b600060008051602061341b833981519152600101828154811061107457611074613139565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006110aa610580565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610605919061314f565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b03166000811580156111565750825b90506000826001600160401b031660011480156111725750303b155b905081158015611180575080155b1561119e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c857845460ff60401b1916600160401b1785555b6111d28888611975565b6111dc8787611c1c565b831561122257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b03161561129e5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610850565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612f36565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156113af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d39190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612f77565b60045490915081906114f0906001600160a01b0316611d72565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505060055461156292506001600160a01b03169050611d72565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a779261159c928e9291169088903390600401612e75565b600060405180830381600087803b1580156115b657600080fd5b505af11580156115ca573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611619573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611641919081019061316c565b50805160065490995090915061165f906001600160a01b0316611d72565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506116d98a8a611de4565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a061174b612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c891906130dc565b8860006040518463ffffffff1660e01b81526004016117e9939291906131cf565b600060405180830381600087803b15801561180357600080fd5b505af1158015611817573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611832612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561188b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118af91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156118f657600080fd5b505af115801561190a573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61197d6126ee565b60008051602061341b83398151915260006119ad6000805160206133fb833981519152546001600160401b031690565b905060006119b9610580565b9050816001600160401b03166001036119e65760028301805462ffffff191662ffffff8316179055611a34565b600283015462ffffff90811690821611611a345760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610850565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0c91906131ff565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061101f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a96126ee565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b0316600081158015611c4f5750825b90506000826001600160401b03166001148015611c6b5750303b155b905081158015611c79575080155b15611c975760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cc157845460ff60401b1916600160401b1785555b600086806020019051810190611cd79190613226565b600380546001600160a01b039093166001600160a01b0319909316831790559150611d029082612727565b611d12631b4612f160e31b6127b4565b611d2263777fa14760e11b6127b4565b508315611d6957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ddf576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7c9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef5919061314f565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190612f77565b9050826001600160a01b03166325c471a0611f9c6127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ff5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201991906130dc565b8360006040518463ffffffff1660e01b815260040161203a939291906131cf565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5060009250600291506120789050565b6040519080825280602002602001820160405280156120a1578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106120bf576120bf613139565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106120f6576120f6613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d84836121286127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a591906130dc565b6040518463ffffffff1660e01b81526004016121c393929190613255565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190612f77565b9050846001600160a01b03166325c471a06123a7612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242491906130dc565b8360006040518463ffffffff1660e01b8152600401612445939291906131cf565b600060405180830381600087803b15801561245f57600080fd5b505af1158015612473573d6000803e3d6000fd5b5060009250600491506124839050565b6040519080825280602002602001820160405280156124ac578160200160208202803683370190505b5090506357f9680560e01b816000815181106124ca576124ca613139565b6001600160e01b0319909216602092830291909101909101528051635ea7f02760e11b908290600190811061250157612501613139565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061253857612538613139565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061256f5761256f613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166308d6122d86836125a1612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e91906130dc565b6040518463ffffffff1660e01b815260040161263c93929190613255565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b50505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156126ca573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906130dc565b6000805160206133fb83398151915254600160401b900460ff1661272557604051631afcd79f60e31b815260040160405180910390fd5b565b600061275560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61275d6110a0565b60405160200161276e9291906132c7565b6040516020818303038152906040529050600061278a84612851565b9050600061279d8583603c8488886128c2565b6127ad631b4612f160e31b6127b4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bc9190612f36565b92915050565b6129036301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61290d828761298e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161297d838261333b565b50611d696303fb044760e21b6127b4565b600280546001600160a01b0319166001600160a01b0384161790556129b2816129b6565b5050565b6001546001600160a01b0316156129ef5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610850565b6001600160a01b038116612a165760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612a4c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612ac6575060408051601f3d908101601f19168201909252612ac391810190612f10565b60015b612aee5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b806129b25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610850565b50565b600060208284031215612b2c57600080fd5b81356001600160e01b031981168114610ecd57600080fd5b60005b83811015612b5f578181015183820152602001612b47565b50506000910152565b60008151808452612b80816020860160208601612b44565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151612bd860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612c1e610120840182612b68565b90508281036020840152612c328185612b68565b95945050505050565b602081526000610ecd6020830184612b68565b62ffffff81168114612b1757600080fd5b600060208284031215612c7157600080fd5b8135610ecd81612c4e565b6001600160a01b0381168114612b1757600080fd5b600060208284031215612ca357600080fd5b8135610ecd81612c7c565b6001600160401b0381168114612b1757600080fd5b6001600160601b0381168114612b1757600080fd5b600080600060608486031215612ced57600080fd5b8335612cf881612c7c565b92506020840135612d0881612cae565b91506040840135612d1881612cc3565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612d5b57612d5b612d23565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d8957612d89612d23565b604052919050565b60006001600160401b03821115612daa57612daa612d23565b50601f01601f191660200190565b600080600060608486031215612dcd57600080fd5b8335612dd881612c7c565b92506020840135612de881612c7c565b915060408401356001600160401b03811115612e0357600080fd5b8401601f81018613612e1457600080fd5b8035612e27612e2282612d91565b612d61565b818152876020838501011115612e3c57600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215612e6e57600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b600060208284031215612ebb57600080fd5b8151610ecd81612c4e565b600181811c90821680612eda57607f821691505b602082108103612efa57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ddf57600080fd5b600060208284031215612f2257600080fd5b610ecd82612f00565b8051611ddf81612cc3565b600060208284031215612f4857600080fd5b8151610ecd81612cc3565b600060208284031215612f6557600080fd5b5051919050565b8051611ddf81612c7c565b600060208284031215612f8957600080fd5b8151610ecd81612c7c565b60ff81168114612b1757600080fd5b8051611ddf81612f94565b600082601f830112612fbf57600080fd5b8151612fcd612e2282612d91565b818152846020838601011115612fe257600080fd5b612ff3826020830160208701612b44565b949350505050565b600060e0828403121561300d57600080fd5b613015612d39565b905061302082612f2b565b815261302e60208301612f2b565b602082015261303f60408301612fa3565b604082015261305060608301612f00565b606082015261306160808301612f6c565b608082015261307260a08301612f6c565b60a082015260c08201516001600160401b0381111561309057600080fd5b61309c84828501612fae565b60c08301525092915050565b6000602082840312156130ba57600080fd5b81516001600160401b038111156130d057600080fd5b612ff384828501612ffb565b6000602082840312156130ee57600080fd5b8151610ecd81612cae565b6000806040838503121561310c57600080fd5b61311583612f00565b9150602083015163ffffffff8116811461312e57600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561316157600080fd5b8151610ecd81612f94565b6000806040838503121561317f57600080fd5b82516001600160401b038082111561319657600080fd5b6131a286838701612ffb565b935060208501519150808211156131b857600080fd5b506131c585828601612fae565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b60006020828403121561321157600080fd5b815164ffffffffff81168114610ecd57600080fd5b6000806040838503121561323957600080fd5b825161324481612c7c565b602084015190925061312e81612c7c565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156132a85784516001600160e01b03191683529383019391830191600101613282565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006132da6040830185612b68565b905060ff831660208301529392505050565b601f82111561333657600081815260208120601f850160051c810160208610156133135750805b601f850160051c820191505b818110156133325782815560010161331f565b5050505b505050565b81516001600160401b0381111561335457613354612d23565b613368816133628454612ec6565b846132ec565b602080601f83116001811461339d57600084156133855750858301515b600019600386901b1c1916600185901b178555613332565b600085815260208120601f198616915b828110156133cc578886015182559484019460019091019084016133ad565b50858210156133ea5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212203f5687177de4cad766e4fb7a0a01d3cc126f7dc73269ef8c1736cd801962623464736f6c63430008140033",
662
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063a745e3df11610097578063cde749f411610071578063cde749f414610528578063cf7a1d7714610542578063d6277f9914610555578063eeff428e1461056857600080fd5b8063a745e3df146104e2578063b3c65015146104f5578063b88da7591461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a5780639c12c9c7146104a1578063a3f4df7e146104b457600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004612b1a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610580565b60405162ffffff90911681526020016101e7565b61021461060a565b6040516101e7929190612b94565b61022a61078c565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612c3b565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612c5f565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061341b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612c5f565b6109ae565b61022a610405366004612c91565b610a61565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a610454366004612c91565b610aee565b6102ac600081565b61026d610b81565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6101db6104af366004612cd8565b610c9a565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104f0366004612db8565b610ed4565b6104fd61102e565b6040516001600160401b0390911681526020016101e7565b6101f8610523366004612e5c565b61104f565b6105306110a0565b60405160ff90911681526020016101e7565b61022a610550366004612db8565b611123565b61022a610563366004612c91565b61122c565b6105706112c0565b6040516101e79493929190612e75565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612ea9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061068d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106d5610b81565b6001600160a01b031681526020018260010180546106f290612ec6565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90612ec6565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190612f10565b15610859576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108825760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190612f10565b610917576040516372657a5160e01b81526001600160a01b0382166004820152602401610850565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190612f36565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061341b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a9190612f53565b1192915050565b6005546001600160a01b031615610acc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610850565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610850565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190612f10565b15610c8a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612f77565b506002546001600160a01b031690565b600080610caf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610cfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2691908101906130a8565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9a9190612f77565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906130f9565b909250905063ffffffff811615610ec55760009650505050505050610ecd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ef6610580565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a91906130dc565b6000805160206133fb8339815191528054600160401b900460ff1680610f8d575080546001600160401b03808416911610155b15610fab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610fd68585611975565b610fdf83611c14565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106056000805160206133fb833981519152546001600160401b031690565b600060008051602061341b833981519152600101828154811061107457611074613139565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006110aa610580565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610605919061314f565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b03166000811580156111565750825b90506000826001600160401b031660011480156111725750303b155b905081158015611180575080155b1561119e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c857845460ff60401b1916600160401b1785555b6111d28888611975565b6111dc8787611c1c565b831561122257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b03161561129e5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610850565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612f36565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156113af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d39190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612f77565b60045490915081906114f0906001600160a01b0316611d72565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505060055461156292506001600160a01b03169050611d72565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a779261159c928e9291169088903390600401612e75565b600060405180830381600087803b1580156115b657600080fd5b505af11580156115ca573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611619573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611641919081019061316c565b50805160065490995090915061165f906001600160a01b0316611d72565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506116d98a8a611de4565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a061174b612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c891906130dc565b8860006040518463ffffffff1660e01b81526004016117e9939291906131cf565b600060405180830381600087803b15801561180357600080fd5b505af1158015611817573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611832612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561188b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118af91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156118f657600080fd5b505af115801561190a573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61197d6126ee565b60008051602061341b83398151915260006119ad6000805160206133fb833981519152546001600160401b031690565b905060006119b9610580565b9050816001600160401b03166001036119e65760028301805462ffffff191662ffffff8316179055611a34565b600283015462ffffff90811690821611611a345760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610850565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0c91906131ff565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061101f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a96126ee565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b0316600081158015611c4f5750825b90506000826001600160401b03166001148015611c6b5750303b155b905081158015611c79575080155b15611c975760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cc157845460ff60401b1916600160401b1785555b600086806020019051810190611cd79190613226565b600380546001600160a01b039093166001600160a01b0319909316831790559150611d029082612727565b611d12631b4612f160e31b6127b4565b611d2263777fa14760e11b6127b4565b508315611d6957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ddf576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7c9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef5919061314f565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190612f77565b9050826001600160a01b03166325c471a0611f9c6127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ff5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201991906130dc565b8360006040518463ffffffff1660e01b815260040161203a939291906131cf565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5060009250600291506120789050565b6040519080825280602002602001820160405280156120a1578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106120bf576120bf613139565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106120f6576120f6613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d84836121286127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a591906130dc565b6040518463ffffffff1660e01b81526004016121c393929190613255565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190612f77565b9050846001600160a01b03166325c471a06123a7612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242491906130dc565b8360006040518463ffffffff1660e01b8152600401612445939291906131cf565b600060405180830381600087803b15801561245f57600080fd5b505af1158015612473573d6000803e3d6000fd5b5060009250600491506124839050565b6040519080825280602002602001820160405280156124ac578160200160208202803683370190505b5090506357f9680560e01b816000815181106124ca576124ca613139565b6001600160e01b0319909216602092830291909101909101528051635ea7f02760e11b908290600190811061250157612501613139565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061253857612538613139565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061256f5761256f613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166308d6122d86836125a1612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e91906130dc565b6040518463ffffffff1660e01b815260040161263c93929190613255565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b50505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156126ca573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906130dc565b6000805160206133fb83398151915254600160401b900460ff1661272557604051631afcd79f60e31b815260040160405180910390fd5b565b600061275560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61275d6110a0565b60405160200161276e9291906132c7565b6040516020818303038152906040529050600061278a84612851565b9050600061279d8583603c8488886128c2565b6127ad631b4612f160e31b6127b4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bc9190612f36565b92915050565b6129036301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61290d828761298e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161297d838261333b565b50611d696303fb044760e21b6127b4565b600280546001600160a01b0319166001600160a01b0384161790556129b2816129b6565b5050565b6001546001600160a01b0316156129ef5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610850565b6001600160a01b038116612a165760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612a4c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612ac6575060408051601f3d908101601f19168201909252612ac391810190612f10565b60015b612aee5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b806129b25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610850565b50565b600060208284031215612b2c57600080fd5b81356001600160e01b031981168114610ecd57600080fd5b60005b83811015612b5f578181015183820152602001612b47565b50506000910152565b60008151808452612b80816020860160208601612b44565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151612bd860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612c1e610120840182612b68565b90508281036020840152612c328185612b68565b95945050505050565b602081526000610ecd6020830184612b68565b62ffffff81168114612b1757600080fd5b600060208284031215612c7157600080fd5b8135610ecd81612c4e565b6001600160a01b0381168114612b1757600080fd5b600060208284031215612ca357600080fd5b8135610ecd81612c7c565b6001600160401b0381168114612b1757600080fd5b6001600160601b0381168114612b1757600080fd5b600080600060608486031215612ced57600080fd5b8335612cf881612c7c565b92506020840135612d0881612cae565b91506040840135612d1881612cc3565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612d5b57612d5b612d23565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d8957612d89612d23565b604052919050565b60006001600160401b03821115612daa57612daa612d23565b50601f01601f191660200190565b600080600060608486031215612dcd57600080fd5b8335612dd881612c7c565b92506020840135612de881612c7c565b915060408401356001600160401b03811115612e0357600080fd5b8401601f81018613612e1457600080fd5b8035612e27612e2282612d91565b612d61565b818152876020838501011115612e3c57600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215612e6e57600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b600060208284031215612ebb57600080fd5b8151610ecd81612c4e565b600181811c90821680612eda57607f821691505b602082108103612efa57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ddf57600080fd5b600060208284031215612f2257600080fd5b610ecd82612f00565b8051611ddf81612cc3565b600060208284031215612f4857600080fd5b8151610ecd81612cc3565b600060208284031215612f6557600080fd5b5051919050565b8051611ddf81612c7c565b600060208284031215612f8957600080fd5b8151610ecd81612c7c565b60ff81168114612b1757600080fd5b8051611ddf81612f94565b600082601f830112612fbf57600080fd5b8151612fcd612e2282612d91565b818152846020838601011115612fe257600080fd5b612ff3826020830160208701612b44565b949350505050565b600060e0828403121561300d57600080fd5b613015612d39565b905061302082612f2b565b815261302e60208301612f2b565b602082015261303f60408301612fa3565b604082015261305060608301612f00565b606082015261306160808301612f6c565b608082015261307260a08301612f6c565b60a082015260c08201516001600160401b0381111561309057600080fd5b61309c84828501612fae565b60c08301525092915050565b6000602082840312156130ba57600080fd5b81516001600160401b038111156130d057600080fd5b612ff384828501612ffb565b6000602082840312156130ee57600080fd5b8151610ecd81612cae565b6000806040838503121561310c57600080fd5b61311583612f00565b9150602083015163ffffffff8116811461312e57600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561316157600080fd5b8151610ecd81612f94565b6000806040838503121561317f57600080fd5b82516001600160401b038082111561319657600080fd5b6131a286838701612ffb565b935060208501519150808211156131b857600080fd5b506131c585828601612fae565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b60006020828403121561321157600080fd5b815164ffffffffff81168114610ecd57600080fd5b6000806040838503121561323957600080fd5b825161324481612c7c565b602084015190925061312e81612c7c565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156132a85784516001600160e01b03191683529383019391830191600101613282565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006132da6040830185612b68565b905060ff831660208301529392505050565b601f82111561333657600081815260208120601f850160051c810160208610156133135750805b601f850160051c820191505b818110156133325782815560010161331f565b5050505b505050565b81516001600160401b0381111561335457613354612d23565b613368816133628454612ec6565b846132ec565b602080601f83116001811461339d57600084156133855750858301515b600019600386901b1c1916600185901b178555613332565b600085815260208120601f198616915b828110156133cc578886015182559484019460019091019084016133ad565b50858210156133ea5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212203f5687177de4cad766e4fb7a0a01d3cc126f7dc73269ef8c1736cd801962623464736f6c63430008140033",
1202
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614d37806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c80636a778e731161012a57806396cdfa3f116100b4578063bf7e214f11610079578063bf7e214f1461051b578063c265172514610523578063d12738871461052b578063edabac0314610565578063fb3fc44d14610576575f80fd5b806396cdfa3f146104c7578063ada9652e146104da578063b428b0b0146104ee578063b68d180914610501578063b7d2b16214610508575f80fd5b80637de45f13116100fa5780637de45f13146104715780638689231314610484578063872309c714610497578063893d20e81461049e5780638fb36037146104a6575f80fd5b80636a778e73146104295780636c741e781461043c57806376b707b7146104445780637a9e5e4b1461045e575f80fd5b8063254f6866116101b65780633fa526151161017b5780633fa52615146103ae57806349bb9e4b146103c15780635ab1bd53146103d45780635fa8aad4146103f9578063644c45e01461040c575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e741461037557806333102c81146103885780633dfa1a3d1461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004614138565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190614181565b6102b26102ad366004614221565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004614369565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a3660046143d5565b610a39565b6102b261035d366004614221565b610b1f565b6102b261037036600461441e565b610d4d565b6102b2610383366004614439565b610e24565b6102b261039636600461453d565b610f6f565b6102bc6103a93660046145ae565b61104b565b6102bc6103bc3660046145da565b61116b565b6102b26103cf3660046145f5565b611280565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6104073660046145f5565b61137b565b5f80516020614ca2833981519152546001600160601b03166102bc565b6102bc610437366004614221565b611462565b61031c6121aa565b61044c612236565b60405160ff9091168152602001610265565b6102b261046c366004614221565b61229e565b6102b261047f3660046145da565b612324565b6102b2610492366004614641565b6123f6565b6102fb5f81565b6103e16124a7565b6104ae6125d8565b6040516001600160e01b03199091168152602001610265565b6102b26104d536600461465d565b61260d565b6102fb5f80516020614ca283398151915281565b6102b26104fc366004614678565b61279a565b600a61044c565b6102b2610516366004614678565b612852565b6103e161290a565b6102b2612925565b61053e61053936600461465d565b612ab1565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6008546001600160a01b03166103e1565b6102b26105843660046146a4565b612f1c565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906146e6565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e09190614713565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107286124a7565b6001600160a01b031681526020018260010180546107459061472e565b80601f01602080910402602001604051908101604052809291908181526020018280546107719061472e565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612fc2565b6107e7336107e2612236565b6130b8565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108629190614713565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb05906108959084908690600401614766565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b306133b4565b5f6108da336107cf565b6108e6336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a9190614788565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b8152600401610979939291906147a3565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b991906147da565b95945050505050565b5f6109cb61290a565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a339190614800565b15905090565b610a42336107cf565b610a4e336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab29190614788565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b276124a7565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c509190614788565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b600880546001600160a01b0384166001600160a01b03199091161790557fa1504e1ebc0f8c6bcbe8014d6921eafe6dfa35ede293c521db58073161319dbe610cc76001546001600160a01b031690565b600754604051632f2a35f760e11b81526001600160a01b039182166004820152911690635e546bee90602401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d329190614713565b83604051610d41929190614766565b60405180910390a15050565b610d56336107cf565b610d62336107e2612236565b5f610d756001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd9190614713565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e46610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea891906147da565b5f80516020614ce28339815191528054600160401b900460ff1680610eda575080546001600160401b03808416911610155b15610ef85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f22836135f6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b610f78336107cf565b610f84336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe89190614788565b6001600160a01b03166333102c818585856040518463ffffffff1660e01b815260040161101793929190614892565b5f604051808303815f87803b15801561102e575f80fd5b505af1158015611040573d5f803e3d5ffd5b50505050505b505050565b5f611055336107cf565b611061336107e2612236565b5f6110746001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110dc9190614713565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038881166024840152908716604483015292935091169063dec3bdde906064016020604051808303815f875af115801561113f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111639190614713565b949350505050565b5f611175336107cf565b611181336107e2612236565b5f6111946001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156111d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111fc9190614713565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015611255573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112799190614713565b9392505050565b5f80516020614ce28339815191528054600160401b810460ff1615906001600160401b03165f811580156112b15750825b90505f826001600160401b031660011480156112cc5750303b155b9050811580156112da575080155b156112f85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561132257845460ff60401b1916600160401b1785555b61132c8787613617565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f611385336107cf565b611391336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113f59190614788565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b81526004016114229291906148c4565b6020604051808303815f875af115801561143e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116391906147da565b5f61146b6124a7565b6001600160a01b0316336001600160a01b03161461149e5760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b0316156114c857604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156114f25760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b03161561151c5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b0316156115465760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b03821661156d576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d29190614788565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611611573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116359190614788565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169c9190614788565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117039190614788565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611746573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176a9190614788565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d19190614788565b90505f8190505f8c6001600160a01b031663b7b02c4e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611814573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118389190614788565b9050806001600160a01b038d16611862576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038b16611888576040516295661560e31b815260040160405180910390fd5b6001600160a01b0389166118af5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0387166118d65760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0385166118fd57604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b038316611924576040516301fa2a2b60e01b815260040160405180910390fd5b6001600160a01b03811661194b57604051637c05309760e11b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611987573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ab9190614788565b6001600160a01b03168e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a149190614788565b6001600160a01b031614611a3b576040516334ddf1a760e21b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b9190614788565b6001600160a01b0316886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b049190614788565b6001600160a01b031614611b2b5760405163e168da3760e01b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8b9190614788565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf49190614788565b6001600160a01b031614611c1b576040516303bc742960e01b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7b9190614788565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce49190614788565b6001600160a01b031614611d0b57604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6b9190614788565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd49190614788565b6001600160a01b031614611dfb576040516373f8418f60e11b815260040160405180910390fd5b8d6001600160a01b0316886001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e659190614788565b6001600160a01b031614611e8c57604051630bbd547960e01b815260040160405180910390fd5b8d6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ed2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef69190614788565b6001600160a01b031614611f1d57604051632b34b6d960e01b815260040160405180910390fd5b8d6001600160a01b03168a6001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f879190614788565b6001600160a01b031614611fae576040516331783c7160e11b815260040160405180910390fd5b8c60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508f60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555084600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600b5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600c5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050505050505050505050505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b836121316124a7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af115801561217a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121a19190810190614958565b51949350505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a6121cf612236565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015612212573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906147da565b5f61223f61290a565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561227a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614a28565b336122a761290a565b6001600160a01b0316816001600160a01b0316146122e25760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f03612317576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b612320826137b0565b5050565b61232d336107cf565b612339336107e2612236565b5f61234c6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612390573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123b49190614713565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b6123ff336107cf565b61240b336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561244b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061246f9190614788565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f80516020614ca283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612513573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125379190614800565b156125c2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125bc9190614788565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614cc283398151915280545f9190600160a01b900460ff166125ff575f6125bc565b638fb3603760e01b91505090565b612616336107cf565b612622336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612662573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126869190614788565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024015f604051808303815f87803b1580156126c8575f80fd5b505af11580156126da573d5f803e3d5ffd5b505050507faabc2aefa17583d33fc341e11bdc4d9f417f9e9879c5e200ae5df09bf7c676ed6127116001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0384811660048301529190911690635e546bee90602401602060405180830381865afa158015612757573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277b9190614713565b604080516001600160601b039092168252841515602083015201610d41565b6127a3336107cf565b6127af336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128139190614788565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b61285b336107cf565b612867336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128cb9190614788565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614cc2833981519152546001600160a01b031690565b61292e336107cf565b61293a336107e2612236565b600854339081905f90612955906001600160a01b0316613809565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612999575f80fd5b505af11580156129ab573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b1580156129ef575f80fd5b505af1158015612a01573d5f803e3d5ffd5b505050507f3ceb16815c8726af4f729a63cfef71e374192daa36372503d0d0cd50213a9158612a386001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0386811660048301529190911690635e546bee90602401602060405180830381865afa158015612a7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa29190614713565b82604051610f62929190614766565b5f80612abc336107cf565b335f612ac6613878565b9050612ad3818387613991565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612b25573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b4c9190810190614958565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ba2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bc69190614788565b9050816001600160a01b03166304d670b9612be96001546001600160a01b031690565b83612bf2612236565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b158015612c48575f80fd5b505af1158015612c5a573d5f803e3d5ffd5b50505050612c706001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cd99190614788565b6001600160a01b031614612cef57612cef614a43565b612d65856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d529190614a28565b612d5a612236565b60ff90811691161490565b612d7157612d71614a43565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ddc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e009190614a57565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e6b9190614788565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b158015612ec5575f80fd5b505af1158015612ed7573d5f803e3d5ffd5b505050507fbd6800584d7105d7fd4de0db92f641ba5543ffb40d1ec8eb59617e12e32afed28486604051612f0c929190614766565b60405180910390a1505050915091565b612f25336107cf565b612f31336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f959190614788565b6001600160a01b031663fb3fc44d84846040518363ffffffff1660e01b8152600401610aed929190614a72565b5f80516020614cc28339815191525f80612ffa612fdd61290a565b8730612fec60045f8a8c614a95565b612ff591614abc565b613b55565b91509150816108be5763ffffffff81161561309557825460ff60a01b1916600160a01b17835561302861290a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161305793929190614af4565b5f604051808303815f87803b15801561306e575f80fd5b505af1158015613080573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f6130cb6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015613114573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131389190614713565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015613191573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131b59190614800565b156131de576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561322a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526132519190810190614958565b60400151905060ff8116600a1461328f57604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af41580156132df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133039190614800565b156133ad575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613345573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133699190614a28565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f80516020614ca283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613420573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134449190614800565b156134705780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156134c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134e69190614800565b61350e5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613560573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135849190614713565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906135d06124a7565b6040516135de929190614766565b60405180910390a1546001600160601b031692915050565b6135fe613c5d565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020614ce28339815191528054600160401b810460ff1615906001600160401b03165f811580156136485750825b90505f826001600160401b031660011480156136635750303b155b905081158015613671575080155b1561368f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156136b957845460ff60401b1916600160401b1785555b5f80878060200190518101906136cf9190614b33565b915091506136de82828b613c95565b6136e86002613d32565b600280546001600160a01b0319166001600160a01b03929092169190911790556137126003613d32565b600380546001600160a01b0319166001600160a01b039290921691909117905561373c600b613d32565b600480546001600160a01b0319166001600160a01b039290921691909117905561376c633366589560e21b613dc9565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161136a565b5f80516020614cc283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610d41565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613873576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806138f660065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138f19190614788565b613809565b60065490915061390e906001600160a01b0316613809565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015613977575f80fd5b505af1158015613989573d5f803e3d5ffd5b505050505090565b6007545f9081906139aa906001600160a01b0316613809565b9050806001600160a01b031663e60c4fd06040518060c00160405280886001600160a01b031681526020016139f2600b5f9054906101000a90046001600160a01b0316613809565b6001600160a01b039081168252600c54602090920191613a129116613809565b6001600160a01b039081168252600954602090920191613a329116613809565b6001600160a01b039081168252600a54602090920191613a529116613809565b6001600160a01b039081168252600854602090920191613a729116613809565b6001600160a01b03169052613a8f6001546001600160a01b031690565b613a97612236565b604080516001600160e01b031960e087901b16815284516001600160a01b039081166004830152602086015181166024830152918501518216604482015260608501518216606482015260808501518216608482015260a090940151811660a485015291821660c484015260ff1660e48301528716610104820152851515610124820152610144015f604051808303815f87803b158015613b36575f80fd5b505af1158015613b48573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613bc39190614b60565b5f60405180830381855afa9150503d805f8114613bfb576040519150601f19603f3d011682016040523d82523d5f602084013e613c00565b606091505b50915091508115613c52576040815110613c325780806020019051810190613c289190614b76565b9094509250613c52565b6020815110613c525780806020019051810190613c4f9190614800565b93505b505094509492505050565b5f80516020614ce283398151915254600160401b900460ff16613c9357604051631afcd79f60e31b815260040160405180910390fd5b565b613c9d613c5d565b613ca5613dfc565b613d228383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ce6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d0a9190614713565b60085f8660405180602001604052805f815250613e0c565b61104663daf9067160e01b613dc9565b5f613d456001546001600160a01b031690565b6001600160a01b031663d39e604383613d5c612236565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613dc39190614788565b92915050565b613dd1613c5d565b613df9816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613e04613c5d565b613c93613f49565b613e14613c5d565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613e6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e8e9190614800565b613eb65760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613ebf87613f77565b613ec98683613f88565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f388382614be7565b50611040634a531f3360e01b613dc9565b613f51613c5d565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613f7f613c5d565b613df981613ffe565b613f90613c5d565b613f9861400f565b613fa182614057565b6001600160a01b038116613fc85760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614ca283398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614006613c5d565b613df9816137b0565b614017613c5d565b613c936301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61405f613c5d565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156140b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140d99190614800565b6141015760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613df9575f80fd5b5f60208284031215614148575f80fd5b813561127981614123565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516141c9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611163610100840182614153565b6001600160a01b0381168114613df9575f80fd5b5f60208284031215614231575f80fd5b81356112798161420d565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b03811182821017156142725761427261423c565b60405290565b60405160e081016001600160401b03811182821017156142725761427261423c565b604051601f8201601f191681016001600160401b03811182821017156142c2576142c261423c565b604052919050565b5f6001600160401b038211156142e2576142e261423c565b50601f01601f191660200190565b5f82601f8301126142ff575f80fd5b8135602083015f614317614312846142ca565b61429a565b905082815285838301111561432a575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613df9575f80fd5b63ffffffff81168114613df9575f80fd5b5f805f6060848603121561437b575f80fd5b83356001600160401b03811115614390575f80fd5b61439c868287016142f0565b93505060208401356143ad81614344565b915060408401356143bd81614358565b809150509250925092565b8015158114613df9575f80fd5b5f80604083850312156143e6575f80fd5b82356143f181614344565b91506020830135614401816143c8565b809150509250929050565b64ffffffffff81168114613df9575f80fd5b5f6020828403121561442e575f80fd5b81356112798161440c565b5f60208284031215614449575f80fd5b81356001600160401b0381111561445e575f80fd5b611163848285016142f0565b5f82601f830112614479575f80fd5b81356001600160401b038111156144925761449261423c565b6144a160208260051b0161429a565b8082825260208201915060208360071b8601019250858311156144c2575f80fd5b602085015b8381101561453357608081880312156144de575f80fd5b6144e6614250565b8135815260208201356144f881614123565b6020820152604082013561450b8161440c565b6040820152606082013561451e8161440c565b606082015283526020909201916080016144c7565b5095945050505050565b5f805f6060848603121561454f575f80fd5b833561455a8161420d565b9250602084013561456a81614344565b915060408401356001600160401b03811115614584575f80fd5b6145908682870161446a565b9150509250925092565b6001600160601b0381168114613df9575f80fd5b5f80604083850312156145bf575f80fd5b82356145ca8161420d565b915060208301356144018161459a565b5f602082840312156145ea575f80fd5b81356112798161459a565b5f8060408385031215614606575f80fd5b82356146118161420d565b915060208301356001600160401b0381111561462b575f80fd5b614637858286016142f0565b9150509250929050565b5f8060408385031215614652575f80fd5b82356143f18161420d565b5f6020828403121561466d575f80fd5b8135611279816143c8565b5f8060408385031215614689575f80fd5b823561469481614344565b915060208301356144018161420d565b5f80604083850312156146b5575f80fd5b82356146c08161420d565b915060208301356001600160401b038111156146da575f80fd5b6146378582860161446a565b5f602082840312156146f6575f80fd5b815162ffffff81168114611279575f80fd5b80516138738161459a565b5f60208284031215614723575f80fd5b81516112798161459a565b600181811c9082168061474257607f821691505b60208210810361476057634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f60208284031215614798575f80fd5b81516112798161420d565b606081525f6147b56060830186614153565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f602082840312156147ea575f80fd5b815161127981614344565b8051613873816143c8565b5f60208284031215614810575f80fd5b8151611279816143c8565b5f8151808452602084019350602083015f5b828110156148885781518051875263ffffffff60e01b602082015116602088015264ffffffffff604082015116604088015264ffffffffff60608201511660608801525060808601955060208201915060018101905061482d565b5093949350505050565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b99083018461481b565b6001600160a01b03831681526040602082018190525f9061116390830184614153565b80516138738161420d565b60ff81168114613df9575f80fd5b8051613873816148f2565b5f82601f83011261491a575f80fd5b8151614928614312826142ca565b81815284602083860101111561493c575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614968575f80fd5b81516001600160401b0381111561497d575f80fd5b820160e0818503121561498e575f80fd5b614996614278565b61499f82614708565b81526149ad60208301614708565b60208201526149be60408301614900565b60408201526149cf606083016147f5565b60608201526149e0608083016148e7565b60808201526149f160a083016148e7565b60a082015260c08201516001600160401b03811115614a0e575f80fd5b614a1a8682850161490b565b60c083015250949350505050565b5f60208284031215614a38575f80fd5b8151611279816148f2565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614a67575f80fd5b81516112798161440c565b6001600160a01b03831681526040602082018190525f906111639083018461481b565b5f8085851115614aa3575f80fd5b83861115614aaf575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614aed576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614b44575f80fd5b8251614b4f8161420d565b60208401519092506144018161420d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614b87575f80fd5b8251614b92816143c8565b602084015190925061440181614358565b601f82111561104657805f5260205f20601f840160051c81016020851015614bc85750805b601f840160051c820191505b818110156133ad575f8155600101614bd4565b81516001600160401b03811115614c0057614c0061423c565b614c1481614c0e845461472e565b84614ba3565b6020601f821160018114614c46575f8315614c2f5750848201515b5f19600385901b1c1916600184901b1784556133ad565b5f84815260208120601f198516915b82811015614c755787850151825560209485019460019092019101614c55565b5084821015614c9257868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220692ab8249692fee37556c16e79f6f3c8ebbc0ed0e488d618e5a5316da6ffe52064736f6c634300081a0033",
1203
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c80636a778e731161012a57806396cdfa3f116100b4578063bf7e214f11610079578063bf7e214f1461051b578063c265172514610523578063d12738871461052b578063edabac0314610565578063fb3fc44d14610576575f80fd5b806396cdfa3f146104c7578063ada9652e146104da578063b428b0b0146104ee578063b68d180914610501578063b7d2b16214610508575f80fd5b80637de45f13116100fa5780637de45f13146104715780638689231314610484578063872309c714610497578063893d20e81461049e5780638fb36037146104a6575f80fd5b80636a778e73146104295780636c741e781461043c57806376b707b7146104445780637a9e5e4b1461045e575f80fd5b8063254f6866116101b65780633fa526151161017b5780633fa52615146103ae57806349bb9e4b146103c15780635ab1bd53146103d45780635fa8aad4146103f9578063644c45e01461040c575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e741461037557806333102c81146103885780633dfa1a3d1461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004614138565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190614181565b6102b26102ad366004614221565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004614369565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a3660046143d5565b610a39565b6102b261035d366004614221565b610b1f565b6102b261037036600461441e565b610d4d565b6102b2610383366004614439565b610e24565b6102b261039636600461453d565b610f6f565b6102bc6103a93660046145ae565b61104b565b6102bc6103bc3660046145da565b61116b565b6102b26103cf3660046145f5565b611280565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6104073660046145f5565b61137b565b5f80516020614ca2833981519152546001600160601b03166102bc565b6102bc610437366004614221565b611462565b61031c6121aa565b61044c612236565b60405160ff9091168152602001610265565b6102b261046c366004614221565b61229e565b6102b261047f3660046145da565b612324565b6102b2610492366004614641565b6123f6565b6102fb5f81565b6103e16124a7565b6104ae6125d8565b6040516001600160e01b03199091168152602001610265565b6102b26104d536600461465d565b61260d565b6102fb5f80516020614ca283398151915281565b6102b26104fc366004614678565b61279a565b600a61044c565b6102b2610516366004614678565b612852565b6103e161290a565b6102b2612925565b61053e61053936600461465d565b612ab1565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6008546001600160a01b03166103e1565b6102b26105843660046146a4565b612f1c565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906146e6565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e09190614713565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107286124a7565b6001600160a01b031681526020018260010180546107459061472e565b80601f01602080910402602001604051908101604052809291908181526020018280546107719061472e565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612fc2565b6107e7336107e2612236565b6130b8565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108629190614713565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb05906108959084908690600401614766565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b306133b4565b5f6108da336107cf565b6108e6336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a9190614788565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b8152600401610979939291906147a3565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b991906147da565b95945050505050565b5f6109cb61290a565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a339190614800565b15905090565b610a42336107cf565b610a4e336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab29190614788565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b276124a7565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c509190614788565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b600880546001600160a01b0384166001600160a01b03199091161790557fa1504e1ebc0f8c6bcbe8014d6921eafe6dfa35ede293c521db58073161319dbe610cc76001546001600160a01b031690565b600754604051632f2a35f760e11b81526001600160a01b039182166004820152911690635e546bee90602401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d329190614713565b83604051610d41929190614766565b60405180910390a15050565b610d56336107cf565b610d62336107e2612236565b5f610d756001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd9190614713565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e46610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea891906147da565b5f80516020614ce28339815191528054600160401b900460ff1680610eda575080546001600160401b03808416911610155b15610ef85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f22836135f6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b610f78336107cf565b610f84336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe89190614788565b6001600160a01b03166333102c818585856040518463ffffffff1660e01b815260040161101793929190614892565b5f604051808303815f87803b15801561102e575f80fd5b505af1158015611040573d5f803e3d5ffd5b50505050505b505050565b5f611055336107cf565b611061336107e2612236565b5f6110746001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110dc9190614713565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038881166024840152908716604483015292935091169063dec3bdde906064016020604051808303815f875af115801561113f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111639190614713565b949350505050565b5f611175336107cf565b611181336107e2612236565b5f6111946001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156111d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111fc9190614713565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015611255573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112799190614713565b9392505050565b5f80516020614ce28339815191528054600160401b810460ff1615906001600160401b03165f811580156112b15750825b90505f826001600160401b031660011480156112cc5750303b155b9050811580156112da575080155b156112f85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561132257845460ff60401b1916600160401b1785555b61132c8787613617565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f611385336107cf565b611391336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113f59190614788565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b81526004016114229291906148c4565b6020604051808303815f875af115801561143e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116391906147da565b5f61146b6124a7565b6001600160a01b0316336001600160a01b03161461149e5760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b0316156114c857604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156114f25760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b03161561151c5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b0316156115465760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b03821661156d576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d29190614788565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611611573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116359190614788565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169c9190614788565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117039190614788565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611746573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176a9190614788565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d19190614788565b90505f8190505f8c6001600160a01b031663b7b02c4e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611814573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118389190614788565b9050806001600160a01b038d16611862576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038b16611888576040516295661560e31b815260040160405180910390fd5b6001600160a01b0389166118af5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0387166118d65760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0385166118fd57604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b038316611924576040516301fa2a2b60e01b815260040160405180910390fd5b6001600160a01b03811661194b57604051637c05309760e11b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611987573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ab9190614788565b6001600160a01b03168e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a149190614788565b6001600160a01b031614611a3b576040516334ddf1a760e21b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b9190614788565b6001600160a01b0316886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b049190614788565b6001600160a01b031614611b2b5760405163e168da3760e01b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8b9190614788565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf49190614788565b6001600160a01b031614611c1b576040516303bc742960e01b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7b9190614788565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce49190614788565b6001600160a01b031614611d0b57604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6b9190614788565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd49190614788565b6001600160a01b031614611dfb576040516373f8418f60e11b815260040160405180910390fd5b8d6001600160a01b0316886001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e659190614788565b6001600160a01b031614611e8c57604051630bbd547960e01b815260040160405180910390fd5b8d6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ed2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef69190614788565b6001600160a01b031614611f1d57604051632b34b6d960e01b815260040160405180910390fd5b8d6001600160a01b03168a6001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f879190614788565b6001600160a01b031614611fae576040516331783c7160e11b815260040160405180910390fd5b8c60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508f60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555084600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600b5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600c5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050505050505050505050505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b836121316124a7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af115801561217a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121a19190810190614958565b51949350505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a6121cf612236565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015612212573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906147da565b5f61223f61290a565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561227a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614a28565b336122a761290a565b6001600160a01b0316816001600160a01b0316146122e25760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f03612317576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b612320826137b0565b5050565b61232d336107cf565b612339336107e2612236565b5f61234c6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612390573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123b49190614713565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b6123ff336107cf565b61240b336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561244b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061246f9190614788565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f80516020614ca283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612513573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125379190614800565b156125c2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125bc9190614788565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614cc283398151915280545f9190600160a01b900460ff166125ff575f6125bc565b638fb3603760e01b91505090565b612616336107cf565b612622336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612662573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126869190614788565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024015f604051808303815f87803b1580156126c8575f80fd5b505af11580156126da573d5f803e3d5ffd5b505050507faabc2aefa17583d33fc341e11bdc4d9f417f9e9879c5e200ae5df09bf7c676ed6127116001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0384811660048301529190911690635e546bee90602401602060405180830381865afa158015612757573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277b9190614713565b604080516001600160601b039092168252841515602083015201610d41565b6127a3336107cf565b6127af336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128139190614788565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b61285b336107cf565b612867336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128cb9190614788565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614cc2833981519152546001600160a01b031690565b61292e336107cf565b61293a336107e2612236565b600854339081905f90612955906001600160a01b0316613809565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612999575f80fd5b505af11580156129ab573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b1580156129ef575f80fd5b505af1158015612a01573d5f803e3d5ffd5b505050507f3ceb16815c8726af4f729a63cfef71e374192daa36372503d0d0cd50213a9158612a386001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0386811660048301529190911690635e546bee90602401602060405180830381865afa158015612a7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa29190614713565b82604051610f62929190614766565b5f80612abc336107cf565b335f612ac6613878565b9050612ad3818387613991565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612b25573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b4c9190810190614958565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ba2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bc69190614788565b9050816001600160a01b03166304d670b9612be96001546001600160a01b031690565b83612bf2612236565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b158015612c48575f80fd5b505af1158015612c5a573d5f803e3d5ffd5b50505050612c706001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cd99190614788565b6001600160a01b031614612cef57612cef614a43565b612d65856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d529190614a28565b612d5a612236565b60ff90811691161490565b612d7157612d71614a43565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ddc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e009190614a57565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e6b9190614788565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b158015612ec5575f80fd5b505af1158015612ed7573d5f803e3d5ffd5b505050507fbd6800584d7105d7fd4de0db92f641ba5543ffb40d1ec8eb59617e12e32afed28486604051612f0c929190614766565b60405180910390a1505050915091565b612f25336107cf565b612f31336107e2612236565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f959190614788565b6001600160a01b031663fb3fc44d84846040518363ffffffff1660e01b8152600401610aed929190614a72565b5f80516020614cc28339815191525f80612ffa612fdd61290a565b8730612fec60045f8a8c614a95565b612ff591614abc565b613b55565b91509150816108be5763ffffffff81161561309557825460ff60a01b1916600160a01b17835561302861290a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161305793929190614af4565b5f604051808303815f87803b15801561306e575f80fd5b505af1158015613080573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f6130cb6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015613114573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131389190614713565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015613191573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131b59190614800565b156131de576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561322a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526132519190810190614958565b60400151905060ff8116600a1461328f57604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af41580156132df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133039190614800565b156133ad575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613345573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133699190614a28565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f80516020614ca283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613420573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134449190614800565b156134705780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156134c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134e69190614800565b61350e5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613560573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135849190614713565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906135d06124a7565b6040516135de929190614766565b60405180910390a1546001600160601b031692915050565b6135fe613c5d565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020614ce28339815191528054600160401b810460ff1615906001600160401b03165f811580156136485750825b90505f826001600160401b031660011480156136635750303b155b905081158015613671575080155b1561368f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156136b957845460ff60401b1916600160401b1785555b5f80878060200190518101906136cf9190614b33565b915091506136de82828b613c95565b6136e86002613d32565b600280546001600160a01b0319166001600160a01b03929092169190911790556137126003613d32565b600380546001600160a01b0319166001600160a01b039290921691909117905561373c600b613d32565b600480546001600160a01b0319166001600160a01b039290921691909117905561376c633366589560e21b613dc9565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161136a565b5f80516020614cc283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610d41565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613873576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806138f660065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138f19190614788565b613809565b60065490915061390e906001600160a01b0316613809565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015613977575f80fd5b505af1158015613989573d5f803e3d5ffd5b505050505090565b6007545f9081906139aa906001600160a01b0316613809565b9050806001600160a01b031663e60c4fd06040518060c00160405280886001600160a01b031681526020016139f2600b5f9054906101000a90046001600160a01b0316613809565b6001600160a01b039081168252600c54602090920191613a129116613809565b6001600160a01b039081168252600954602090920191613a329116613809565b6001600160a01b039081168252600a54602090920191613a529116613809565b6001600160a01b039081168252600854602090920191613a729116613809565b6001600160a01b03169052613a8f6001546001600160a01b031690565b613a97612236565b604080516001600160e01b031960e087901b16815284516001600160a01b039081166004830152602086015181166024830152918501518216604482015260608501518216606482015260808501518216608482015260a090940151811660a485015291821660c484015260ff1660e48301528716610104820152851515610124820152610144015f604051808303815f87803b158015613b36575f80fd5b505af1158015613b48573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613bc39190614b60565b5f60405180830381855afa9150503d805f8114613bfb576040519150601f19603f3d011682016040523d82523d5f602084013e613c00565b606091505b50915091508115613c52576040815110613c325780806020019051810190613c289190614b76565b9094509250613c52565b6020815110613c525780806020019051810190613c4f9190614800565b93505b505094509492505050565b5f80516020614ce283398151915254600160401b900460ff16613c9357604051631afcd79f60e31b815260040160405180910390fd5b565b613c9d613c5d565b613ca5613dfc565b613d228383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ce6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d0a9190614713565b60085f8660405180602001604052805f815250613e0c565b61104663daf9067160e01b613dc9565b5f613d456001546001600160a01b031690565b6001600160a01b031663d39e604383613d5c612236565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613dc39190614788565b92915050565b613dd1613c5d565b613df9816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613e04613c5d565b613c93613f49565b613e14613c5d565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613e6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e8e9190614800565b613eb65760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613ebf87613f77565b613ec98683613f88565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f388382614be7565b50611040634a531f3360e01b613dc9565b613f51613c5d565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613f7f613c5d565b613df981613ffe565b613f90613c5d565b613f9861400f565b613fa182614057565b6001600160a01b038116613fc85760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614ca283398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614006613c5d565b613df9816137b0565b614017613c5d565b613c936301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61405f613c5d565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156140b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140d99190614800565b6141015760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613df9575f80fd5b5f60208284031215614148575f80fd5b813561127981614123565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516141c9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611163610100840182614153565b6001600160a01b0381168114613df9575f80fd5b5f60208284031215614231575f80fd5b81356112798161420d565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b03811182821017156142725761427261423c565b60405290565b60405160e081016001600160401b03811182821017156142725761427261423c565b604051601f8201601f191681016001600160401b03811182821017156142c2576142c261423c565b604052919050565b5f6001600160401b038211156142e2576142e261423c565b50601f01601f191660200190565b5f82601f8301126142ff575f80fd5b8135602083015f614317614312846142ca565b61429a565b905082815285838301111561432a575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613df9575f80fd5b63ffffffff81168114613df9575f80fd5b5f805f6060848603121561437b575f80fd5b83356001600160401b03811115614390575f80fd5b61439c868287016142f0565b93505060208401356143ad81614344565b915060408401356143bd81614358565b809150509250925092565b8015158114613df9575f80fd5b5f80604083850312156143e6575f80fd5b82356143f181614344565b91506020830135614401816143c8565b809150509250929050565b64ffffffffff81168114613df9575f80fd5b5f6020828403121561442e575f80fd5b81356112798161440c565b5f60208284031215614449575f80fd5b81356001600160401b0381111561445e575f80fd5b611163848285016142f0565b5f82601f830112614479575f80fd5b81356001600160401b038111156144925761449261423c565b6144a160208260051b0161429a565b8082825260208201915060208360071b8601019250858311156144c2575f80fd5b602085015b8381101561453357608081880312156144de575f80fd5b6144e6614250565b8135815260208201356144f881614123565b6020820152604082013561450b8161440c565b6040820152606082013561451e8161440c565b606082015283526020909201916080016144c7565b5095945050505050565b5f805f6060848603121561454f575f80fd5b833561455a8161420d565b9250602084013561456a81614344565b915060408401356001600160401b03811115614584575f80fd5b6145908682870161446a565b9150509250925092565b6001600160601b0381168114613df9575f80fd5b5f80604083850312156145bf575f80fd5b82356145ca8161420d565b915060208301356144018161459a565b5f602082840312156145ea575f80fd5b81356112798161459a565b5f8060408385031215614606575f80fd5b82356146118161420d565b915060208301356001600160401b0381111561462b575f80fd5b614637858286016142f0565b9150509250929050565b5f8060408385031215614652575f80fd5b82356143f18161420d565b5f6020828403121561466d575f80fd5b8135611279816143c8565b5f8060408385031215614689575f80fd5b823561469481614344565b915060208301356144018161420d565b5f80604083850312156146b5575f80fd5b82356146c08161420d565b915060208301356001600160401b038111156146da575f80fd5b6146378582860161446a565b5f602082840312156146f6575f80fd5b815162ffffff81168114611279575f80fd5b80516138738161459a565b5f60208284031215614723575f80fd5b81516112798161459a565b600181811c9082168061474257607f821691505b60208210810361476057634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f60208284031215614798575f80fd5b81516112798161420d565b606081525f6147b56060830186614153565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f602082840312156147ea575f80fd5b815161127981614344565b8051613873816143c8565b5f60208284031215614810575f80fd5b8151611279816143c8565b5f8151808452602084019350602083015f5b828110156148885781518051875263ffffffff60e01b602082015116602088015264ffffffffff604082015116604088015264ffffffffff60608201511660608801525060808601955060208201915060018101905061482d565b5093949350505050565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b99083018461481b565b6001600160a01b03831681526040602082018190525f9061116390830184614153565b80516138738161420d565b60ff81168114613df9575f80fd5b8051613873816148f2565b5f82601f83011261491a575f80fd5b8151614928614312826142ca565b81815284602083860101111561493c575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614968575f80fd5b81516001600160401b0381111561497d575f80fd5b820160e0818503121561498e575f80fd5b614996614278565b61499f82614708565b81526149ad60208301614708565b60208201526149be60408301614900565b60408201526149cf606083016147f5565b60608201526149e0608083016148e7565b60808201526149f160a083016148e7565b60a082015260c08201516001600160401b03811115614a0e575f80fd5b614a1a8682850161490b565b60c083015250949350505050565b5f60208284031215614a38575f80fd5b8151611279816148f2565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614a67575f80fd5b81516112798161440c565b6001600160a01b03831681526040602082018190525f906111639083018461481b565b5f8085851115614aa3575f80fd5b83861115614aaf575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614aed576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614b44575f80fd5b8251614b4f8161420d565b60208401519092506144018161420d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614b87575f80fd5b8251614b92816143c8565b602084015190925061440181614358565b601f82111561104657805f5260205f20601f840160051c81016020851015614bc85750805b601f840160051c820191505b818110156133ad575f8155600101614bd4565b81516001600160401b03811115614c0057614c0061423c565b614c1481614c0e845461472e565b84614ba3565b6020601f821160018114614c46575f8315614c2f5750848201515b5f19600385901b1c1916600184901b1784556133ad565b5f84815260208120601f198516915b82811015614c755787850151825560209485019460019092019101614c55565b5084821015614c9257868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220692ab8249692fee37556c16e79f6f3c8ebbc0ed0e488d618e5a5316da6ffe52064736f6c634300081a0033",
663
1204
  "linkReferences": {
664
- "contracts/types/Blocknumber.sol": {
665
- "BlocknumberLib": [
666
- {
667
- "length": 20,
668
- "start": 2870
669
- }
670
- ]
671
- },
672
- "contracts/types/NftId.sol": {
673
- "NftIdLib": [
1205
+ "contracts/shared/ContractLib.sol": {
1206
+ "ContractLib": [
674
1207
  {
675
1208
  "length": 20,
676
- "start": 2286
1209
+ "start": 16136
677
1210
  },
678
1211
  {
679
1212
  "length": 20,
680
- "start": 3302
1213
+ "start": 16723
681
1214
  }
682
1215
  ]
683
1216
  },
684
- "contracts/types/RoleId.sol": {
685
- "RoleIdLib": [
686
- {
687
- "length": 20,
688
- "start": 3851
689
- },
690
- {
691
- "length": 20,
692
- "start": 6308
693
- },
694
- {
695
- "length": 20,
696
- "start": 6539
697
- },
1217
+ "contracts/staking/TargetManagerLib.sol": {
1218
+ "TargetManagerLib": [
698
1219
  {
699
1220
  "length": 20,
700
- "start": 8437
1221
+ "start": 11885
701
1222
  },
702
1223
  {
703
1224
  "length": 20,
704
- "start": 8833
705
- },
706
- {
707
- "length": 20,
708
- "start": 9472
709
- },
1225
+ "start": 11992
1226
+ }
1227
+ ]
1228
+ },
1229
+ "contracts/type/NftId.sol": {
1230
+ "NftIdLib": [
710
1231
  {
711
1232
  "length": 20,
712
- "start": 9978
1233
+ "start": 1869
713
1234
  },
714
1235
  {
715
1236
  "length": 20,
716
- "start": 10185
1237
+ "start": 9649
717
1238
  },
718
1239
  {
719
1240
  "length": 20,
720
- "start": 10541
1241
+ "start": 12847
721
1242
  },
722
1243
  {
723
1244
  "length": 20,
724
- "start": 10601
1245
+ "start": 13502
725
1246
  }
726
1247
  ]
727
1248
  },
728
- "contracts/types/Timestamp.sol": {
729
- "TimestampLib": [
1249
+ "contracts/type/RoleId.sol": {
1250
+ "RoleIdLib": [
730
1251
  {
731
1252
  "length": 20,
732
- "start": 7144
1253
+ "start": 8835
733
1254
  }
734
1255
  ]
735
1256
  },
736
- "contracts/types/Version.sol": {
1257
+ "contracts/type/Version.sol": {
737
1258
  "VersionLib": [
738
1259
  {
739
1260
  "length": 20,
740
- "start": 1761
741
- },
742
- {
743
- "length": 20,
744
- "start": 4112
1261
+ "start": 1669
745
1262
  },
746
1263
  {
747
1264
  "length": 20,
748
- "start": 4607
749
- },
750
- {
751
- "length": 20,
752
- "start": 5295
753
- },
754
- {
755
- "length": 20,
756
- "start": 5416
757
- },
758
- {
759
- "length": 20,
760
- "start": 8024
761
- },
762
- {
763
- "length": 20,
764
- "start": 8145
765
- },
766
- {
767
- "length": 20,
768
- "start": 9067
769
- },
1265
+ "start": 3836
1266
+ }
1267
+ ],
1268
+ "VersionPartLib": [
770
1269
  {
771
1270
  "length": 20,
772
- "start": 9188
1271
+ "start": 13181
773
1272
  }
774
1273
  ]
775
1274
  }
776
1275
  },
777
1276
  "deployedLinkReferences": {
778
- "contracts/types/Blocknumber.sol": {
779
- "BlocknumberLib": [
780
- {
781
- "length": 20,
782
- "start": 2556
783
- }
784
- ]
785
- },
786
- "contracts/types/NftId.sol": {
787
- "NftIdLib": [
1277
+ "contracts/shared/ContractLib.sol": {
1278
+ "ContractLib": [
788
1279
  {
789
1280
  "length": 20,
790
- "start": 1972
1281
+ "start": 15922
791
1282
  },
792
1283
  {
793
1284
  "length": 20,
794
- "start": 2988
1285
+ "start": 16509
795
1286
  }
796
1287
  ]
797
1288
  },
798
- "contracts/types/RoleId.sol": {
799
- "RoleIdLib": [
800
- {
801
- "length": 20,
802
- "start": 3537
803
- },
804
- {
805
- "length": 20,
806
- "start": 5994
807
- },
808
- {
809
- "length": 20,
810
- "start": 6225
811
- },
812
- {
813
- "length": 20,
814
- "start": 8123
815
- },
1289
+ "contracts/staking/TargetManagerLib.sol": {
1290
+ "TargetManagerLib": [
816
1291
  {
817
1292
  "length": 20,
818
- "start": 8519
1293
+ "start": 11671
819
1294
  },
820
1295
  {
821
1296
  "length": 20,
822
- "start": 9158
823
- },
1297
+ "start": 11778
1298
+ }
1299
+ ]
1300
+ },
1301
+ "contracts/type/NftId.sol": {
1302
+ "NftIdLib": [
824
1303
  {
825
1304
  "length": 20,
826
- "start": 9664
1305
+ "start": 1655
827
1306
  },
828
1307
  {
829
1308
  "length": 20,
830
- "start": 9871
1309
+ "start": 9435
831
1310
  },
832
1311
  {
833
1312
  "length": 20,
834
- "start": 10227
1313
+ "start": 12633
835
1314
  },
836
1315
  {
837
1316
  "length": 20,
838
- "start": 10287
1317
+ "start": 13288
839
1318
  }
840
1319
  ]
841
1320
  },
842
- "contracts/types/Timestamp.sol": {
843
- "TimestampLib": [
1321
+ "contracts/type/RoleId.sol": {
1322
+ "RoleIdLib": [
844
1323
  {
845
1324
  "length": 20,
846
- "start": 6830
1325
+ "start": 8621
847
1326
  }
848
1327
  ]
849
1328
  },
850
- "contracts/types/Version.sol": {
1329
+ "contracts/type/Version.sol": {
851
1330
  "VersionLib": [
852
1331
  {
853
1332
  "length": 20,
854
- "start": 1447
855
- },
856
- {
857
- "length": 20,
858
- "start": 3798
859
- },
860
- {
861
- "length": 20,
862
- "start": 4293
863
- },
864
- {
865
- "length": 20,
866
- "start": 4981
867
- },
868
- {
869
- "length": 20,
870
- "start": 5102
871
- },
872
- {
873
- "length": 20,
874
- "start": 7710
875
- },
876
- {
877
- "length": 20,
878
- "start": 7831
1333
+ "start": 1455
879
1334
  },
880
1335
  {
881
1336
  "length": 20,
882
- "start": 8753
883
- },
1337
+ "start": 3622
1338
+ }
1339
+ ],
1340
+ "VersionPartLib": [
884
1341
  {
885
1342
  "length": 20,
886
- "start": 8874
1343
+ "start": 12967
887
1344
  }
888
1345
  ]
889
1346
  }