@etherisc/gif-next 0.0.2-d372e08-980 → 0.0.2-d3a9310-013

Sign up to get free protection for your applications and to get access to all the features.
Files changed (756) hide show
  1. package/README.md +202 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1472 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2551 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +677 -1216
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +736 -140
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +575 -2851
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1963 -739
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +770 -379
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +385 -121
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +394 -350
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +340 -357
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +372 -173
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +689 -113
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +351 -226
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1027 -149
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +327 -322
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +375 -119
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/shared/Component.sol/Component.json +705 -0
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +291 -201
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +161 -154
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +177 -163
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +27 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +247 -0
  371. package/contracts/distribution/DistributionService.sol +448 -0
  372. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  373. package/contracts/distribution/IDistributionComponent.sol +45 -0
  374. package/contracts/distribution/IDistributionService.sol +115 -0
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +422 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +127 -36
  390. package/contracts/instance/IInstanceService.sol +103 -17
  391. package/contracts/instance/Instance.sol +245 -342
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +525 -208
  395. package/contracts/instance/InstanceService.sol +462 -161
  396. package/contracts/instance/InstanceServiceManager.sol +14 -32
  397. package/contracts/instance/InstanceStore.sol +298 -0
  398. package/contracts/instance/RiskSet.sol +126 -0
  399. package/contracts/instance/base/BalanceStore.sol +121 -0
  400. package/contracts/instance/base/Cloneable.sol +28 -0
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +10 -9
  406. package/contracts/instance/module/IComponents.sol +62 -0
  407. package/contracts/instance/module/IDistribution.sol +25 -10
  408. package/contracts/instance/module/IPolicy.sol +81 -21
  409. package/contracts/instance/module/IRisk.sol +6 -1
  410. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +162 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  421. package/contracts/pool/BundleService.sol +386 -0
  422. package/contracts/pool/BundleServiceManager.sol +39 -0
  423. package/contracts/pool/IBundleService.sol +116 -0
  424. package/contracts/pool/IPoolComponent.sol +62 -0
  425. package/contracts/pool/IPoolService.sol +170 -0
  426. package/contracts/pool/Pool.sol +333 -0
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +614 -0
  429. package/contracts/pool/PoolServiceManager.sol +39 -0
  430. package/contracts/product/ApplicationService.sol +327 -0
  431. package/contracts/product/ApplicationServiceManager.sol +38 -0
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +632 -0
  435. package/contracts/product/ClaimServiceManager.sol +38 -0
  436. package/contracts/product/IApplicationService.sol +88 -0
  437. package/contracts/product/IClaimService.sol +136 -0
  438. package/contracts/product/IPolicyService.sol +102 -0
  439. package/contracts/product/IPricingService.sol +40 -0
  440. package/contracts/product/IProductComponent.sol +62 -0
  441. package/contracts/product/IRiskService.sol +48 -0
  442. package/contracts/product/PolicyService.sol +645 -0
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +39 -0
  445. package/contracts/product/PricingService.sol +306 -0
  446. package/contracts/product/PricingServiceManager.sol +39 -0
  447. package/contracts/product/Product.sol +493 -0
  448. package/contracts/product/RiskService.sol +190 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +82 -35
  451. package/contracts/registry/IRegistry.sol +126 -32
  452. package/contracts/registry/IRegistryService.sol +40 -28
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -1
  455. package/contracts/registry/Registry.sol +561 -273
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +284 -0
  458. package/contracts/registry/RegistryService.sol +116 -233
  459. package/contracts/registry/RegistryServiceManager.sol +26 -53
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +520 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  464. package/contracts/registry/TokenRegistry.sol +263 -60
  465. package/contracts/shared/Component.sol +210 -0
  466. package/contracts/shared/ComponentService.sol +679 -0
  467. package/contracts/shared/ComponentServiceManager.sol +38 -0
  468. package/contracts/shared/ContractLib.sol +311 -0
  469. package/contracts/shared/IComponent.sol +58 -0
  470. package/contracts/shared/IComponentService.sol +111 -0
  471. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  472. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  473. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  474. package/contracts/shared/INftOwnable.sol +17 -12
  475. package/contracts/shared/IPolicyHolder.sol +35 -0
  476. package/contracts/shared/IRegisterable.sol +24 -5
  477. package/contracts/shared/IRegistryLinked.sol +11 -0
  478. package/contracts/shared/IService.sol +13 -5
  479. package/contracts/shared/InitializableERC165.sol +35 -0
  480. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  481. package/contracts/shared/KeyValueStore.sol +131 -0
  482. package/contracts/shared/Lifecycle.sol +88 -0
  483. package/contracts/shared/NftIdSet.sol +65 -0
  484. package/contracts/shared/NftOwnable.sol +77 -82
  485. package/contracts/shared/PolicyHolder.sol +63 -0
  486. package/contracts/shared/Registerable.sol +54 -38
  487. package/contracts/shared/RegistryLinked.sol +38 -0
  488. package/contracts/shared/Service.sol +45 -33
  489. package/contracts/shared/TokenHandler.sol +327 -12
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +195 -0
  492. package/contracts/staking/IStakingService.sol +170 -0
  493. package/contracts/staking/Staking.sol +605 -0
  494. package/contracts/staking/StakingLib.sol +281 -0
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +52 -0
  497. package/contracts/staking/StakingReader.sol +199 -0
  498. package/contracts/staking/StakingService.sol +468 -0
  499. package/contracts/staking/StakingServiceManager.sol +45 -0
  500. package/contracts/staking/StakingStore.sol +606 -0
  501. package/contracts/staking/TargetManagerLib.sol +211 -0
  502. package/contracts/{types → type}/AddressSet.sol +1 -1
  503. package/contracts/type/Amount.sol +150 -0
  504. package/contracts/{types → type}/Blocknumber.sol +27 -3
  505. package/contracts/type/ClaimId.sol +80 -0
  506. package/contracts/{types → type}/DistributorType.sol +2 -2
  507. package/contracts/type/Fee.sol +66 -0
  508. package/contracts/{types → type}/Key32.sol +2 -2
  509. package/contracts/type/Key32Set.sol +62 -0
  510. package/contracts/{types → type}/NftId.sol +28 -15
  511. package/contracts/type/NftIdSet.sol +62 -0
  512. package/contracts/type/ObjectType.sol +307 -0
  513. package/contracts/type/PayoutId.sol +82 -0
  514. package/contracts/{types → type}/Referral.sol +6 -1
  515. package/contracts/type/RequestId.sol +75 -0
  516. package/contracts/type/RiskId.sol +75 -0
  517. package/contracts/type/RoleId.sol +180 -0
  518. package/contracts/type/Seconds.sol +105 -0
  519. package/contracts/type/Selector.sol +107 -0
  520. package/contracts/{types → type}/StateId.sol +48 -4
  521. package/contracts/type/String.sol +65 -0
  522. package/contracts/{types → type}/Timestamp.sol +33 -19
  523. package/contracts/type/UFixed.sol +262 -0
  524. package/contracts/{types → type}/Version.sol +59 -7
  525. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  526. package/contracts/upgradeability/ProxyManager.sol +246 -0
  527. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  528. package/contracts/upgradeability/Versionable.sol +62 -0
  529. package/package.json +12 -8
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  533. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  534. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  542. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  543. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -787
  544. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  545. package/artifacts/contracts/components/Product.sol/Product.json +0 -729
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  549. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  552. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  554. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  556. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  558. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  560. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  562. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  566. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  585. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  586. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  587. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  588. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  589. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  590. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  591. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  592. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  595. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  597. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  599. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  601. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  603. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  605. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  606. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  607. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  608. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  609. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  611. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  613. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  614. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  615. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  617. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -971
  618. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  619. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -460
  620. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  621. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
  622. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  623. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
  624. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  625. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  626. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  627. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  628. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  629. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  630. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  631. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  632. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  633. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  634. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  635. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  636. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  637. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  638. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  639. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  640. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  641. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  642. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  643. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  644. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  645. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  646. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  647. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  648. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  649. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  650. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  651. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  652. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  653. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  654. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  655. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  656. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  658. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  660. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  662. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  664. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  665. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  666. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  668. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  669. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  670. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  672. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  673. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  674. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  675. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  676. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  677. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  678. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  680. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  681. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  682. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  684. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  685. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  686. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  688. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  689. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  690. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  691. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  692. package/contracts/components/BaseComponent.sol +0 -91
  693. package/contracts/components/Distribution.sol +0 -163
  694. package/contracts/components/IBaseComponent.sol +0 -25
  695. package/contracts/components/IDistributionComponent.sol +0 -44
  696. package/contracts/components/IPoolComponent.sol +0 -62
  697. package/contracts/components/IProductComponent.sol +0 -35
  698. package/contracts/components/Pool.sol +0 -247
  699. package/contracts/components/Product.sol +0 -289
  700. package/contracts/experiment/cloning/Cloner.sol +0 -47
  701. package/contracts/experiment/errors/Require.sol +0 -38
  702. package/contracts/experiment/errors/Revert.sol +0 -44
  703. package/contracts/experiment/inheritance/A.sol +0 -53
  704. package/contracts/experiment/inheritance/B.sol +0 -28
  705. package/contracts/experiment/inheritance/C.sol +0 -34
  706. package/contracts/experiment/inheritance/IA.sol +0 -13
  707. package/contracts/experiment/inheritance/IB.sol +0 -10
  708. package/contracts/experiment/inheritance/IC.sol +0 -12
  709. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  710. package/contracts/experiment/statemachine/ISM.sol +0 -25
  711. package/contracts/experiment/statemachine/SM.sol +0 -57
  712. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  713. package/contracts/experiment/types/TypeA.sol +0 -47
  714. package/contracts/experiment/types/TypeB.sol +0 -29
  715. package/contracts/instance/AccessManagedSimple.sol +0 -115
  716. package/contracts/instance/AccessManagerSimple.sol +0 -692
  717. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  718. package/contracts/instance/InstanceAccessManager.sol +0 -288
  719. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  720. package/contracts/instance/base/IInstanceBase.sol +0 -23
  721. package/contracts/instance/base/KeyValueStore.sol +0 -172
  722. package/contracts/instance/base/Lifecycle.sol +0 -100
  723. package/contracts/instance/module/IAccess.sol +0 -38
  724. package/contracts/instance/module/ISetup.sol +0 -47
  725. package/contracts/instance/module/ITreasury.sol +0 -23
  726. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  727. package/contracts/instance/service/DistributionService.sol +0 -88
  728. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  729. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  730. package/contracts/instance/service/IDistributionService.sol +0 -12
  731. package/contracts/instance/service/IPoolService.sol +0 -43
  732. package/contracts/instance/service/IProductService.sol +0 -110
  733. package/contracts/instance/service/PoolService.sol +0 -204
  734. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  735. package/contracts/instance/service/ProductService.sol +0 -561
  736. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  737. package/contracts/shared/ContractDeployerLib.sol +0 -72
  738. package/contracts/shared/ERC165.sol +0 -25
  739. package/contracts/shared/ProxyManager.sol +0 -94
  740. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  741. package/contracts/shared/Versionable.sol +0 -147
  742. package/contracts/test/TestFee.sol +0 -25
  743. package/contracts/test/TestRegisterable.sol +0 -18
  744. package/contracts/test/TestRoleId.sol +0 -14
  745. package/contracts/test/TestService.sol +0 -24
  746. package/contracts/test/TestToken.sol +0 -26
  747. package/contracts/test/TestVersion.sol +0 -44
  748. package/contracts/test/TestVersionable.sol +0 -17
  749. package/contracts/types/ChainId.sol +0 -38
  750. package/contracts/types/Fee.sol +0 -56
  751. package/contracts/types/NftIdSet.sol +0 -60
  752. package/contracts/types/NumberId.sol +0 -52
  753. package/contracts/types/ObjectType.sol +0 -152
  754. package/contracts/types/RiskId.sol +0 -43
  755. package/contracts/types/RoleId.sol +0 -90
  756. 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,330 @@
12
50
  "inputs": [
13
51
  {
14
52
  "internalType": "address",
15
- "name": "registry",
53
+ "name": "authority",
16
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",
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",
127
+ "type": "uint96"
128
+ }
129
+ ],
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",
21
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"
22
184
  }
23
185
  ],
24
- "name": "ErrorAlreadyLinked",
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",
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"
205
+ }
206
+ ],
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",
233
+ "type": "error"
234
+ },
235
+ {
236
+ "inputs": [
237
+ {
238
+ "internalType": "address",
239
+ "name": "instance",
32
240
  "type": "address"
241
+ },
242
+ {
243
+ "internalType": "ObjectType",
244
+ "name": "objectType",
245
+ "type": "uint8"
33
246
  }
34
247
  ],
35
- "name": "ErrorContractNotRegistered",
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",
36
260
  "type": "error"
37
261
  },
38
262
  {
39
263
  "inputs": [
40
264
  {
41
265
  "internalType": "address",
42
- "name": "account",
266
+ "name": "instance",
43
267
  "type": "address"
44
268
  }
45
269
  ],
46
- "name": "ErrorNotOwner",
270
+ "name": "ErrorInstanceServiceNotRegistered",
47
271
  "type": "error"
48
272
  },
49
273
  {
50
274
  "inputs": [
51
275
  {
52
276
  "internalType": "address",
53
- "name": "registryAddress",
277
+ "name": "caller",
54
278
  "type": "address"
55
279
  }
56
280
  ],
57
- "name": "ErrorNotRegistry",
281
+ "name": "ErrorInstanceServiceRequestUnauhorized",
282
+ "type": "error"
283
+ },
284
+ {
285
+ "inputs": [],
286
+ "name": "ErrorInstanceServiceRiskSetAuthorityMismatch",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [],
291
+ "name": "ErrorInstanceServiceRiskSetInstanceMismatch",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [],
296
+ "name": "ErrorInstanceServiceRiskSetZero",
297
+ "type": "error"
298
+ },
299
+ {
300
+ "inputs": [
301
+ {
302
+ "internalType": "NftId",
303
+ "name": "nftId",
304
+ "type": "uint96"
305
+ }
306
+ ],
307
+ "name": "ErrorNftOwnableAlreadyLinked",
58
308
  "type": "error"
59
309
  },
60
310
  {
61
311
  "inputs": [
62
312
  {
63
313
  "internalType": "address",
64
- "name": "registryAddress",
314
+ "name": "contractAddress",
65
315
  "type": "address"
66
316
  }
67
317
  ],
68
- "name": "ErrorRegisterableNotRegistry",
318
+ "name": "ErrorNftOwnableContractNotRegistered",
69
319
  "type": "error"
70
320
  },
71
321
  {
72
322
  "inputs": [],
73
- "name": "ErrorRegistryAddressZero",
323
+ "name": "ErrorNftOwnableInitialOwnerZero",
324
+ "type": "error"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "NftId",
330
+ "name": "nftId",
331
+ "type": "uint96"
332
+ },
333
+ {
334
+ "internalType": "ObjectType",
335
+ "name": "expectedObjectType",
336
+ "type": "uint8"
337
+ }
338
+ ],
339
+ "name": "ErrorNftOwnableInvalidType",
74
340
  "type": "error"
75
341
  },
76
342
  {
77
343
  "inputs": [
78
344
  {
79
345
  "internalType": "address",
80
- "name": "registry",
346
+ "name": "account",
81
347
  "type": "address"
82
348
  }
83
349
  ],
84
- "name": "ErrorRegistryAlreadyInitialized",
350
+ "name": "ErrorNftOwnableNotOwner",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "registryAddress",
358
+ "type": "address"
359
+ }
360
+ ],
361
+ "name": "ErrorNotRegistry",
85
362
  "type": "error"
86
363
  },
87
364
  {
88
365
  "inputs": [],
89
- "name": "ErrorRegistryNotInitialized",
366
+ "name": "ErrorRegisterableNotActive",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "ErrorVersionableInitializeNotImplemented",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "ErrorVersionableUpgradeNotImplemented",
90
377
  "type": "error"
91
378
  },
92
379
  {
@@ -99,17 +386,73 @@
99
386
  "name": "NotInitializing",
100
387
  "type": "error"
101
388
  },
389
+ {
390
+ "inputs": [],
391
+ "name": "ReentrancyGuardReentrantCall",
392
+ "type": "error"
393
+ },
394
+ {
395
+ "anonymous": false,
396
+ "inputs": [
397
+ {
398
+ "indexed": false,
399
+ "internalType": "address",
400
+ "name": "authority",
401
+ "type": "address"
402
+ }
403
+ ],
404
+ "name": "AuthorityUpdated",
405
+ "type": "event"
406
+ },
407
+ {
408
+ "anonymous": false,
409
+ "inputs": [
410
+ {
411
+ "indexed": false,
412
+ "internalType": "uint64",
413
+ "name": "version",
414
+ "type": "uint64"
415
+ }
416
+ ],
417
+ "name": "Initialized",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
423
+ {
424
+ "indexed": false,
425
+ "internalType": "NftId",
426
+ "name": "instanceNftId",
427
+ "type": "uint96"
428
+ },
429
+ {
430
+ "indexed": false,
431
+ "internalType": "address",
432
+ "name": "instance",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "name": "LogInstanceServiceInstanceCreated",
437
+ "type": "event"
438
+ },
102
439
  {
103
440
  "anonymous": false,
104
441
  "inputs": [
105
442
  {
106
443
  "indexed": false,
107
- "internalType": "uint64",
108
- "name": "version",
109
- "type": "uint64"
444
+ "internalType": "NftId",
445
+ "name": "instanceNftId",
446
+ "type": "uint96"
447
+ },
448
+ {
449
+ "indexed": false,
450
+ "internalType": "bool",
451
+ "name": "locked",
452
+ "type": "bool"
110
453
  }
111
454
  ],
112
- "name": "Initialized",
455
+ "name": "LogInstanceServiceInstanceLocked",
113
456
  "type": "event"
114
457
  },
115
458
  {
@@ -117,30 +460,18 @@
117
460
  "inputs": [
118
461
  {
119
462
  "indexed": false,
120
- "internalType": "address",
121
- "name": "clonedAccessManagerAddress",
122
- "type": "address"
123
- },
124
- {
125
- "indexed": false,
126
- "internalType": "address",
127
- "name": "clonedInstanceAddress",
128
- "type": "address"
463
+ "internalType": "NftId",
464
+ "name": "instanceNfId",
465
+ "type": "uint96"
129
466
  },
130
467
  {
131
468
  "indexed": false,
132
469
  "internalType": "address",
133
- "name": "clonedInstanceReaderAddress",
470
+ "name": "newInstanceReader",
134
471
  "type": "address"
135
- },
136
- {
137
- "indexed": false,
138
- "internalType": "NftId",
139
- "name": "clonedInstanceNftId",
140
- "type": "uint96"
141
472
  }
142
473
  ],
143
- "name": "LogInstanceCloned",
474
+ "name": "LogInstanceServiceInstanceReaderUpgraded",
144
475
  "type": "event"
145
476
  },
146
477
  {
@@ -148,24 +479,37 @@
148
479
  "inputs": [
149
480
  {
150
481
  "indexed": false,
151
- "internalType": "Version",
152
- "name": "version",
153
- "type": "uint24"
482
+ "internalType": "NftId",
483
+ "name": "instanceNfId",
484
+ "type": "uint96"
154
485
  },
155
486
  {
156
487
  "indexed": false,
157
488
  "internalType": "address",
158
- "name": "implementation",
489
+ "name": "newInstanceReader",
159
490
  "type": "address"
491
+ }
492
+ ],
493
+ "name": "LogInstanceServiceMasterInstanceReaderUpgraded",
494
+ "type": "event"
495
+ },
496
+ {
497
+ "anonymous": false,
498
+ "inputs": [
499
+ {
500
+ "indexed": false,
501
+ "internalType": "NftId",
502
+ "name": "nftId",
503
+ "type": "uint96"
160
504
  },
161
505
  {
162
506
  "indexed": false,
163
507
  "internalType": "address",
164
- "name": "activatedBy",
508
+ "name": "owner",
165
509
  "type": "address"
166
510
  }
167
511
  ],
168
- "name": "LogVersionableInitialized",
512
+ "name": "LogNftOwnableNftLinkedToAddress",
169
513
  "type": "event"
170
514
  },
171
515
  {
@@ -183,12 +527,12 @@
183
527
  },
184
528
  {
185
529
  "inputs": [],
186
- "name": "NAME",
530
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
187
531
  "outputs": [
188
532
  {
189
- "internalType": "string",
533
+ "internalType": "bytes32",
190
534
  "name": "",
191
- "type": "string"
535
+ "type": "bytes32"
192
536
  }
193
537
  ],
194
538
  "stateMutability": "view",
@@ -209,27 +553,129 @@
209
553
  },
210
554
  {
211
555
  "inputs": [],
212
- "name": "createInstanceClone",
556
+ "name": "authority",
213
557
  "outputs": [
214
558
  {
215
- "internalType": "contract AccessManagerSimple",
216
- "name": "clonedAccessManager",
559
+ "internalType": "address",
560
+ "name": "",
561
+ "type": "address"
562
+ }
563
+ ],
564
+ "stateMutability": "view",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "inputs": [
569
+ {
570
+ "internalType": "address",
571
+ "name": "target",
217
572
  "type": "address"
218
573
  },
219
574
  {
220
- "internalType": "contract Instance",
221
- "name": "clonedInstance",
575
+ "internalType": "RoleId",
576
+ "name": "roleId",
577
+ "type": "uint64"
578
+ },
579
+ {
580
+ "components": [
581
+ {
582
+ "internalType": "Str",
583
+ "name": "name",
584
+ "type": "bytes32"
585
+ },
586
+ {
587
+ "internalType": "Selector",
588
+ "name": "selector",
589
+ "type": "bytes4"
590
+ },
591
+ {
592
+ "internalType": "Timestamp",
593
+ "name": "createdAt",
594
+ "type": "uint40"
595
+ }
596
+ ],
597
+ "internalType": "struct IAccess.FunctionInfo[]",
598
+ "name": "functions",
599
+ "type": "tuple[]"
600
+ }
601
+ ],
602
+ "name": "authorizeFunctions",
603
+ "outputs": [],
604
+ "stateMutability": "nonpayable",
605
+ "type": "function"
606
+ },
607
+ {
608
+ "inputs": [
609
+ {
610
+ "internalType": "bool",
611
+ "name": "allowAnyToken",
612
+ "type": "bool"
613
+ }
614
+ ],
615
+ "name": "createInstance",
616
+ "outputs": [
617
+ {
618
+ "internalType": "contract IInstance",
619
+ "name": "instance",
222
620
  "type": "address"
223
621
  },
224
622
  {
225
623
  "internalType": "NftId",
226
624
  "name": "instanceNftId",
227
625
  "type": "uint96"
626
+ }
627
+ ],
628
+ "stateMutability": "nonpayable",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [
633
+ {
634
+ "internalType": "string",
635
+ "name": "roleName",
636
+ "type": "string"
637
+ },
638
+ {
639
+ "internalType": "RoleId",
640
+ "name": "adminRoleId",
641
+ "type": "uint64"
228
642
  },
229
643
  {
230
- "internalType": "contract InstanceReader",
231
- "name": "clonedInstanceReader",
644
+ "internalType": "uint32",
645
+ "name": "maxMemberCount",
646
+ "type": "uint32"
647
+ }
648
+ ],
649
+ "name": "createRole",
650
+ "outputs": [
651
+ {
652
+ "internalType": "RoleId",
653
+ "name": "roleId",
654
+ "type": "uint64"
655
+ }
656
+ ],
657
+ "stateMutability": "nonpayable",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "inputs": [
662
+ {
663
+ "internalType": "address",
664
+ "name": "target",
232
665
  "type": "address"
666
+ },
667
+ {
668
+ "internalType": "string",
669
+ "name": "name",
670
+ "type": "string"
671
+ }
672
+ ],
673
+ "name": "createTarget",
674
+ "outputs": [
675
+ {
676
+ "internalType": "RoleId",
677
+ "name": "contractRoleId",
678
+ "type": "uint64"
233
679
  }
234
680
  ],
235
681
  "stateMutability": "nonpayable",
@@ -237,15 +683,15 @@
237
683
  },
238
684
  {
239
685
  "inputs": [],
240
- "name": "getAccessManagerMaster",
686
+ "name": "getDomain",
241
687
  "outputs": [
242
688
  {
243
- "internalType": "address",
244
- "name": "",
245
- "type": "address"
689
+ "internalType": "ObjectType",
690
+ "name": "serviceDomain",
691
+ "type": "uint8"
246
692
  }
247
693
  ],
248
- "stateMutability": "view",
694
+ "stateMutability": "pure",
249
695
  "type": "function"
250
696
  },
251
697
  {
@@ -291,13 +737,8 @@
291
737
  }
292
738
  ],
293
739
  "internalType": "struct IRegistry.ObjectInfo",
294
- "name": "",
740
+ "name": "info",
295
741
  "type": "tuple"
296
- },
297
- {
298
- "internalType": "bytes",
299
- "name": "data",
300
- "type": "bytes"
301
742
  }
302
743
  ],
303
744
  "stateMutability": "view",
@@ -305,12 +746,12 @@
305
746
  },
306
747
  {
307
748
  "inputs": [],
308
- "name": "getInitializedVersion",
749
+ "name": "getMasterInstanceReader",
309
750
  "outputs": [
310
751
  {
311
- "internalType": "uint64",
752
+ "internalType": "address",
312
753
  "name": "",
313
- "type": "uint64"
754
+ "type": "address"
314
755
  }
315
756
  ],
316
757
  "stateMutability": "view",
@@ -318,12 +759,12 @@
318
759
  },
319
760
  {
320
761
  "inputs": [],
321
- "name": "getInstanceMaster",
762
+ "name": "getNftId",
322
763
  "outputs": [
323
764
  {
324
- "internalType": "address",
765
+ "internalType": "NftId",
325
766
  "name": "",
326
- "type": "address"
767
+ "type": "uint96"
327
768
  }
328
769
  ],
329
770
  "stateMutability": "view",
@@ -331,7 +772,7 @@
331
772
  },
332
773
  {
333
774
  "inputs": [],
334
- "name": "getInstanceReaderMaster",
775
+ "name": "getOwner",
335
776
  "outputs": [
336
777
  {
337
778
  "internalType": "address",
@@ -344,12 +785,12 @@
344
785
  },
345
786
  {
346
787
  "inputs": [],
347
- "name": "getMajorVersion",
788
+ "name": "getRegistry",
348
789
  "outputs": [
349
790
  {
350
- "internalType": "VersionPart",
351
- "name": "majorVersion",
352
- "type": "uint8"
791
+ "internalType": "contract IRegistry",
792
+ "name": "",
793
+ "type": "address"
353
794
  }
354
795
  ],
355
796
  "stateMutability": "view",
@@ -357,25 +798,25 @@
357
798
  },
358
799
  {
359
800
  "inputs": [],
360
- "name": "getName",
801
+ "name": "getRelease",
361
802
  "outputs": [
362
803
  {
363
- "internalType": "string",
364
- "name": "",
365
- "type": "string"
804
+ "internalType": "VersionPart",
805
+ "name": "release",
806
+ "type": "uint8"
366
807
  }
367
808
  ],
368
- "stateMutability": "pure",
809
+ "stateMutability": "view",
369
810
  "type": "function"
370
811
  },
371
812
  {
372
813
  "inputs": [],
373
- "name": "getNftId",
814
+ "name": "getRoleId",
374
815
  "outputs": [
375
816
  {
376
- "internalType": "NftId",
377
- "name": "",
378
- "type": "uint96"
817
+ "internalType": "RoleId",
818
+ "name": "serviceRoleId",
819
+ "type": "uint64"
379
820
  }
380
821
  ],
381
822
  "stateMutability": "view",
@@ -383,57 +824,61 @@
383
824
  },
384
825
  {
385
826
  "inputs": [],
386
- "name": "getOwner",
827
+ "name": "getVersion",
387
828
  "outputs": [
388
829
  {
389
- "internalType": "address",
830
+ "internalType": "Version",
390
831
  "name": "",
391
- "type": "address"
832
+ "type": "uint24"
392
833
  }
393
834
  ],
394
- "stateMutability": "view",
835
+ "stateMutability": "pure",
395
836
  "type": "function"
396
837
  },
397
838
  {
398
- "inputs": [],
399
- "name": "getRegistry",
400
- "outputs": [
839
+ "inputs": [
401
840
  {
402
- "internalType": "contract IRegistry",
403
- "name": "",
841
+ "internalType": "RoleId",
842
+ "name": "roleId",
843
+ "type": "uint64"
844
+ },
845
+ {
846
+ "internalType": "address",
847
+ "name": "account",
404
848
  "type": "address"
405
849
  }
406
850
  ],
407
- "stateMutability": "view",
851
+ "name": "grantRole",
852
+ "outputs": [],
853
+ "stateMutability": "nonpayable",
408
854
  "type": "function"
409
855
  },
410
856
  {
411
- "inputs": [],
412
- "name": "getVersion",
413
- "outputs": [
857
+ "inputs": [
414
858
  {
415
- "internalType": "Version",
416
- "name": "",
417
- "type": "uint24"
859
+ "internalType": "address",
860
+ "name": "activatedBy",
861
+ "type": "address"
862
+ },
863
+ {
864
+ "internalType": "bytes",
865
+ "name": "data",
866
+ "type": "bytes"
418
867
  }
419
868
  ],
420
- "stateMutability": "pure",
869
+ "name": "initializeVersionable",
870
+ "outputs": [],
871
+ "stateMutability": "nonpayable",
421
872
  "type": "function"
422
873
  },
423
874
  {
424
- "inputs": [
425
- {
426
- "internalType": "uint256",
427
- "name": "idx",
428
- "type": "uint256"
429
- }
430
- ],
431
- "name": "getVersion",
875
+ "inputs": [],
876
+ "name": "isActive",
432
877
  "outputs": [
433
878
  {
434
- "internalType": "Version",
435
- "name": "",
436
- "type": "uint24"
879
+ "internalType": "bool",
880
+ "name": "active",
881
+ "type": "bool"
437
882
  }
438
883
  ],
439
884
  "stateMutability": "view",
@@ -441,111 +886,94 @@
441
886
  },
442
887
  {
443
888
  "inputs": [],
444
- "name": "getVersionCount",
889
+ "name": "isConsumingScheduledOp",
445
890
  "outputs": [
446
891
  {
447
- "internalType": "uint256",
892
+ "internalType": "bytes4",
448
893
  "name": "",
449
- "type": "uint256"
894
+ "type": "bytes4"
450
895
  }
451
896
  ],
452
897
  "stateMutability": "view",
453
898
  "type": "function"
454
899
  },
455
900
  {
456
- "inputs": [
457
- {
458
- "internalType": "Version",
459
- "name": "_version",
460
- "type": "uint24"
461
- }
462
- ],
463
- "name": "getVersionInfo",
901
+ "inputs": [],
902
+ "name": "linkToRegisteredNftId",
464
903
  "outputs": [
465
- {
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"
904
+ {
905
+ "internalType": "NftId",
906
+ "name": "nftId",
907
+ "type": "uint96"
496
908
  }
497
909
  ],
498
- "stateMutability": "view",
910
+ "stateMutability": "nonpayable",
499
911
  "type": "function"
500
912
  },
501
913
  {
502
914
  "inputs": [
503
915
  {
504
916
  "internalType": "address",
505
- "name": "account",
917
+ "name": "rewardProvider",
506
918
  "type": "address"
507
919
  },
920
+ {
921
+ "internalType": "Amount",
922
+ "name": "dipAmount",
923
+ "type": "uint96"
924
+ }
925
+ ],
926
+ "name": "refillStakingRewardReserves",
927
+ "outputs": [],
928
+ "stateMutability": "nonpayable",
929
+ "type": "function"
930
+ },
931
+ {
932
+ "inputs": [
508
933
  {
509
934
  "internalType": "RoleId",
510
- "name": "role",
935
+ "name": "roleId",
511
936
  "type": "uint64"
512
937
  },
513
938
  {
514
- "internalType": "NftId",
515
- "name": "instanceNftId",
516
- "type": "uint96"
939
+ "internalType": "address",
940
+ "name": "account",
941
+ "type": "address"
942
+ }
943
+ ],
944
+ "name": "revokeRole",
945
+ "outputs": [],
946
+ "stateMutability": "nonpayable",
947
+ "type": "function"
948
+ },
949
+ {
950
+ "inputs": [
951
+ {
952
+ "internalType": "address",
953
+ "name": "instanceAddress",
954
+ "type": "address"
517
955
  }
518
956
  ],
519
- "name": "hasRole",
957
+ "name": "setAndRegisterMasterInstance",
520
958
  "outputs": [
521
959
  {
522
- "internalType": "bool",
523
- "name": "",
524
- "type": "bool"
960
+ "internalType": "NftId",
961
+ "name": "masterInstanceNftId",
962
+ "type": "uint96"
525
963
  }
526
964
  ],
527
- "stateMutability": "view",
965
+ "stateMutability": "nonpayable",
528
966
  "type": "function"
529
967
  },
530
968
  {
531
969
  "inputs": [
532
970
  {
533
971
  "internalType": "address",
534
- "name": "implementation",
535
- "type": "address"
536
- },
537
- {
538
- "internalType": "address",
539
- "name": "activatedBy",
972
+ "name": "newAuthority",
540
973
  "type": "address"
541
- },
542
- {
543
- "internalType": "bytes",
544
- "name": "data",
545
- "type": "bytes"
546
974
  }
547
975
  ],
548
- "name": "initialize",
976
+ "name": "setAuthority",
549
977
  "outputs": [],
550
978
  "stateMutability": "nonpayable",
551
979
  "type": "function"
@@ -553,25 +981,43 @@
553
981
  {
554
982
  "inputs": [
555
983
  {
556
- "internalType": "Version",
557
- "name": "_version",
558
- "type": "uint24"
984
+ "internalType": "bool",
985
+ "name": "locked",
986
+ "type": "bool"
559
987
  }
560
988
  ],
561
- "name": "isInitialized",
562
- "outputs": [
989
+ "name": "setInstanceLocked",
990
+ "outputs": [],
991
+ "stateMutability": "nonpayable",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [
996
+ {
997
+ "internalType": "RoleId",
998
+ "name": "roleId",
999
+ "type": "uint64"
1000
+ },
563
1001
  {
564
1002
  "internalType": "bool",
565
- "name": "",
1003
+ "name": "active",
566
1004
  "type": "bool"
567
1005
  }
568
1006
  ],
569
- "stateMutability": "view",
1007
+ "name": "setRoleActive",
1008
+ "outputs": [],
1009
+ "stateMutability": "nonpayable",
570
1010
  "type": "function"
571
1011
  },
572
1012
  {
573
- "inputs": [],
574
- "name": "linkToRegisteredNftId",
1013
+ "inputs": [
1014
+ {
1015
+ "internalType": "Seconds",
1016
+ "name": "stakeLockingPeriod",
1017
+ "type": "uint40"
1018
+ }
1019
+ ],
1020
+ "name": "setStakingLockingPeriod",
575
1021
  "outputs": [],
576
1022
  "stateMutability": "nonpayable",
577
1023
  "type": "function"
@@ -579,12 +1025,12 @@
579
1025
  {
580
1026
  "inputs": [
581
1027
  {
582
- "internalType": "address",
583
- "name": "accessManagerMaster",
584
- "type": "address"
1028
+ "internalType": "Amount",
1029
+ "name": "maxStakedAmount",
1030
+ "type": "uint96"
585
1031
  }
586
1032
  ],
587
- "name": "setAccessManagerMaster",
1033
+ "name": "setStakingMaxAmount",
588
1034
  "outputs": [],
589
1035
  "stateMutability": "nonpayable",
590
1036
  "type": "function"
@@ -592,12 +1038,12 @@
592
1038
  {
593
1039
  "inputs": [
594
1040
  {
595
- "internalType": "address",
596
- "name": "instanceMaster",
597
- "type": "address"
1041
+ "internalType": "UFixed",
1042
+ "name": "rewardRate",
1043
+ "type": "uint160"
598
1044
  }
599
1045
  ],
600
- "name": "setInstanceMaster",
1046
+ "name": "setStakingRewardRate",
601
1047
  "outputs": [],
602
1048
  "stateMutability": "nonpayable",
603
1049
  "type": "function"
@@ -606,11 +1052,16 @@
606
1052
  "inputs": [
607
1053
  {
608
1054
  "internalType": "address",
609
- "name": "instanceReaderMaster",
1055
+ "name": "target",
610
1056
  "type": "address"
1057
+ },
1058
+ {
1059
+ "internalType": "bool",
1060
+ "name": "locked",
1061
+ "type": "bool"
611
1062
  }
612
1063
  ],
613
- "name": "setInstanceReaderMaster",
1064
+ "name": "setTargetLocked",
614
1065
  "outputs": [],
615
1066
  "stateMutability": "nonpayable",
616
1067
  "type": "function"
@@ -638,292 +1089,232 @@
638
1089
  "inputs": [
639
1090
  {
640
1091
  "internalType": "address",
641
- "name": "implementation",
1092
+ "name": "target",
642
1093
  "type": "address"
643
1094
  },
1095
+ {
1096
+ "components": [
1097
+ {
1098
+ "internalType": "Str",
1099
+ "name": "name",
1100
+ "type": "bytes32"
1101
+ },
1102
+ {
1103
+ "internalType": "Selector",
1104
+ "name": "selector",
1105
+ "type": "bytes4"
1106
+ },
1107
+ {
1108
+ "internalType": "Timestamp",
1109
+ "name": "createdAt",
1110
+ "type": "uint40"
1111
+ }
1112
+ ],
1113
+ "internalType": "struct IAccess.FunctionInfo[]",
1114
+ "name": "functions",
1115
+ "type": "tuple[]"
1116
+ }
1117
+ ],
1118
+ "name": "unauthorizeFunctions",
1119
+ "outputs": [],
1120
+ "stateMutability": "nonpayable",
1121
+ "type": "function"
1122
+ },
1123
+ {
1124
+ "inputs": [],
1125
+ "name": "upgradeInstanceReader",
1126
+ "outputs": [],
1127
+ "stateMutability": "nonpayable",
1128
+ "type": "function"
1129
+ },
1130
+ {
1131
+ "inputs": [
644
1132
  {
645
1133
  "internalType": "address",
646
- "name": "activatedBy",
1134
+ "name": "instanceReaderAddress",
647
1135
  "type": "address"
648
- },
1136
+ }
1137
+ ],
1138
+ "name": "upgradeMasterInstanceReader",
1139
+ "outputs": [],
1140
+ "stateMutability": "nonpayable",
1141
+ "type": "function"
1142
+ },
1143
+ {
1144
+ "inputs": [
649
1145
  {
650
1146
  "internalType": "bytes",
651
1147
  "name": "data",
652
1148
  "type": "bytes"
653
1149
  }
654
1150
  ],
655
- "name": "upgrade",
1151
+ "name": "upgradeVersionable",
656
1152
  "outputs": [],
657
1153
  "stateMutability": "nonpayable",
658
1154
  "type": "function"
1155
+ },
1156
+ {
1157
+ "inputs": [
1158
+ {
1159
+ "internalType": "Amount",
1160
+ "name": "dipAmount",
1161
+ "type": "uint96"
1162
+ }
1163
+ ],
1164
+ "name": "withdrawStakingRewardReserves",
1165
+ "outputs": [
1166
+ {
1167
+ "internalType": "Amount",
1168
+ "name": "newBalance",
1169
+ "type": "uint96"
1170
+ }
1171
+ ],
1172
+ "stateMutability": "nonpayable",
1173
+ "type": "function"
659
1174
  }
660
1175
  ],
661
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613a5b806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063a745e3df11610097578063cde749f411610071578063cde749f414610528578063cf7a1d7714610542578063d6277f9914610555578063eeff428e1461056857600080fd5b8063a745e3df146104e2578063b3c65015146104f5578063b88da7591461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a5780639c12c9c7146104a1578063a3f4df7e146104b457600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004613105565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610580565b60405162ffffff90911681526020016101e7565b61021461060a565b6040516101e792919061317f565b61022a61078c565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190613226565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d936600461324a565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613a0683398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f236600461324a565b6109ae565b61022a61040536600461327c565b610a61565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a61045436600461327c565b610aee565b6102ac600081565b61026d610b81565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6101db6104af3660046132c3565b610c9a565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104f03660046133a3565b610ed4565b6104fd61102e565b6040516001600160401b0390911681526020016101e7565b6101f8610523366004613447565b61104f565b6105306110a0565b60405160ff90911681526020016101e7565b61022a6105503660046133a3565b611123565b61022a61056336600461327c565b61122c565b6105706112c0565b6040516101e79493929190613460565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190613494565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061068d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106d5610b81565b6001600160a01b031681526020018260010180546106f2906134b1565b80601f016020809104026020016040519081016040528092919081815260200182805461071e906134b1565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081291906134fb565b15610859576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108825760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef91906134fb565b610917576040516372657a5160e01b81526001600160a01b0382166004820152602401610850565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190613521565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020613a0683398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a919061353e565b1192915050565b6005546001600160a01b031615610acc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610850565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610850565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a91906134fb565b15610c8a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190613562565b506002546001600160a01b031690565b600080610caf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610cfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d269190810190613693565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9a9190613562565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906136c7565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906136e4565b909250905063ffffffff811615610ec55760009650505050505050610ecd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ef6610580565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a91906136c7565b6000805160206139e68339815191528054600160401b900460ff1680610f8d575080546001600160401b03808416911610155b15610fab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610fd68585611975565b610fdf83611c14565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106056000805160206139e6833981519152546001600160401b031690565b6000600080516020613a06833981519152600101828154811061107457611074613724565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006110aa610580565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610605919061373a565b6000805160206139e68339815191528054600160401b810460ff1615906001600160401b03166000811580156111565750825b90506000826001600160401b031660011480156111725750303b155b905081158015611180575080155b1561119e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c857845460ff60401b1916600160401b1785555b6111d28888611975565b6111dc8787611c1c565b831561122257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b03161561129e5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610850565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190613521565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156113af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d39190613494565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c919061373a565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190613562565b60045490915081906114f0906001600160a01b0316611d72565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505060055461156292506001600160a01b03169050611d72565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a779261159c928e9291169088903390600401613460565b600060405180830381600087803b1580156115b657600080fd5b505af11580156115ca573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611619573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116419190810190613757565b50805160065490995090915061165f906001600160a01b0316611d72565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506116d98a8a611de4565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a061174b612bcf565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c891906136c7565b8860006040518463ffffffff1660e01b81526004016117e9939291906137ba565b600060405180830381600087803b15801561180357600080fd5b505af1158015611817573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611832612bcf565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561188b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118af91906136c7565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156118f657600080fd5b505af115801561190a573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61197d612c47565b600080516020613a0683398151915260006119ad6000805160206139e6833981519152546001600160401b031690565b905060006119b9610580565b9050816001600160401b03166001036119e65760028301805462ffffff191662ffffff8316179055611a34565b600283015462ffffff90811690821611611a345760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610850565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0c91906137ea565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061101f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a9612c47565b6000805160206139e68339815191528054600160401b810460ff1615906001600160401b0316600081158015611c4f5750825b90506000826001600160401b03166001148015611c6b5750303b155b905081158015611c79575080155b15611c975760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cc157845460ff60401b1916600160401b1785555b600086806020019051810190611cd79190613811565b600380546001600160a01b039093166001600160a01b0319909316831790559150611d029089612c80565b611d12631b4612f160e31b612d0d565b611d2263777fa14760e11b612d0d565b508315611d6957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ddf576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7c9190613494565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef5919061373a565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190613562565b9050826001600160a01b03166325c471a0611f9c612d32565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ff5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201991906136c7565b8360006040518463ffffffff1660e01b815260040161203a939291906137ba565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5060009250600291506120789050565b6040519080825280602002602001820160405280156120a1578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106120bf576120bf613724565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106120f6576120f6613724565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d8483612128612d32565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a591906136c7565b6040518463ffffffff1660e01b81526004016121c393929190613840565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190613494565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061373a565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190613562565b9050846001600160a01b03166325c471a06123a7612d6e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242491906136c7565b8360006040518463ffffffff1660e01b8152600401612445939291906137ba565b600060405180830381600087803b15801561245f57600080fd5b505af1158015612473573d6000803e3d6000fd5b5060009250600491506124839050565b6040519080825280602002602001820160405280156124ac578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106124ca576124ca613724565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061250157612501613724565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061253857612538613724565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061256f5761256f613724565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166308d6122d86836125a1612d6e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e91906136c7565b6040518463ffffffff1660e01b815260040161263c93929190613840565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156126e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127089190613494565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561275d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612781919061373a565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa1580156127e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280a9190613562565b9050866001600160a01b03166325c471a0612823612daa565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561287c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a091906136c7565b8360006040518463ffffffff1660e01b81526004016128c1939291906137ba565b600060405180830381600087803b1580156128db57600080fd5b505af11580156128ef573d6000803e3d6000fd5b5060009250600991506128ff9050565b604051908082528060200260200182016040528015612928578160200160208202803683370190505b5090506391ff6eaa60e01b8160008151811061294657612946613724565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061297d5761297d613724565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106129b4576129b4613724565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106129eb576129eb613724565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b9082906004908110612a2257612a22613724565b6001600160e01b03199092166020928302919091019091015280516202f23560ee1b9082906005908110612a5857612a58613724565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906006908110612a8f57612a8f613724565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906007908110612ac657612ac6613724565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d8883612af8612daa565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7591906136c7565b6040518463ffffffff1660e01b8152600401612b9393929190613840565b600060405180830381600087803b158015612bad57600080fd5b505af1158015612bc1573d6000803e3d6000fd5b505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612c23573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906136c7565b6000805160206139e683398151915254600160401b900460ff16612c7e57604051631afcd79f60e31b815260040160405180910390fd5b565b6000612cae60408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b612cb66110a0565b604051602001612cc79291906138b2565b60405160208183030381529060405290506000612ce384612de6565b90506000612cf68583603c848888612e57565b612d06631b4612f160e31b612d0d565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612c06565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612c06565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612c06565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612e2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e519190613521565b92915050565b612e986301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612ea28287612f23565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612f128382613926565b50611d696303fb044760e21b612d0d565b6001600160a01b038216612f795760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610850565b600280546001600160a01b0319166001600160a01b038416179055612f9d81612fa1565b5050565b6001546001600160a01b031615612fda5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610850565b6001600160a01b0381166130015760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036130375760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156130b1575060408051601f3d908101601f191682019092526130ae918101906134fb565b60015b6130d95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b80612f9d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610850565b50565b60006020828403121561311757600080fd5b81356001600160e01b031981168114610ecd57600080fd5b60005b8381101561314a578181015183820152602001613132565b50506000910152565b6000815180845261316b81602086016020860161312f565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516131c360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613209610120840182613153565b9050828103602084015261321d8185613153565b95945050505050565b602081526000610ecd6020830184613153565b62ffffff8116811461310257600080fd5b60006020828403121561325c57600080fd5b8135610ecd81613239565b6001600160a01b038116811461310257600080fd5b60006020828403121561328e57600080fd5b8135610ecd81613267565b6001600160401b038116811461310257600080fd5b6001600160601b038116811461310257600080fd5b6000806000606084860312156132d857600080fd5b83356132e381613267565b925060208401356132f381613299565b91506040840135613303816132ae565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156133465761334661330e565b60405290565b604051601f8201601f191681016001600160401b03811182821017156133745761337461330e565b604052919050565b60006001600160401b038211156133955761339561330e565b50601f01601f191660200190565b6000806000606084860312156133b857600080fd5b83356133c381613267565b925060208401356133d381613267565b915060408401356001600160401b038111156133ee57600080fd5b8401601f810186136133ff57600080fd5b803561341261340d8261337c565b61334c565b81815287602083850101111561342757600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561345957600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b6000602082840312156134a657600080fd5b8151610ecd81613239565b600181811c908216806134c557607f821691505b6020821081036134e557634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ddf57600080fd5b60006020828403121561350d57600080fd5b610ecd826134eb565b8051611ddf816132ae565b60006020828403121561353357600080fd5b8151610ecd816132ae565b60006020828403121561355057600080fd5b5051919050565b8051611ddf81613267565b60006020828403121561357457600080fd5b8151610ecd81613267565b60ff8116811461310257600080fd5b8051611ddf8161357f565b600082601f8301126135aa57600080fd5b81516135b861340d8261337c565b8181528460208386010111156135cd57600080fd5b6135de82602083016020870161312f565b949350505050565b600060e082840312156135f857600080fd5b613600613324565b905061360b82613516565b815261361960208301613516565b602082015261362a6040830161358e565b604082015261363b606083016134eb565b606082015261364c60808301613557565b608082015261365d60a08301613557565b60a082015260c08201516001600160401b0381111561367b57600080fd5b61368784828501613599565b60c08301525092915050565b6000602082840312156136a557600080fd5b81516001600160401b038111156136bb57600080fd5b6135de848285016135e6565b6000602082840312156136d957600080fd5b8151610ecd81613299565b600080604083850312156136f757600080fd5b613700836134eb565b9150602083015163ffffffff8116811461371957600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561374c57600080fd5b8151610ecd8161357f565b6000806040838503121561376a57600080fd5b82516001600160401b038082111561378157600080fd5b61378d868387016135e6565b935060208501519150808211156137a357600080fd5b506137b085828601613599565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156137fc57600080fd5b815164ffffffffff81168114610ecd57600080fd5b6000806040838503121561382457600080fd5b825161382f81613267565b602084015190925061371981613267565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156138935784516001600160e01b0319168352938301939183019160010161386d565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006138c56040830185613153565b905060ff831660208301529392505050565b601f82111561392157600081815260208120601f850160051c810160208610156138fe5750805b601f850160051c820191505b8181101561391d5782815560010161390a565b5050505b505050565b81516001600160401b0381111561393f5761393f61330e565b6139538161394d84546134b1565b846138d7565b602080601f83116001811461398857600084156139705750858301515b600019600386901b1c1916600185901b17855561391d565b600085815260208120601f198616915b828110156139b757888601518255948401946001909101908401613998565b50858210156139d55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d97055cb1e502d599ee0e9265d4899bb0a52b70c6e1cd2d733ebbc7d8bf9811964736f6c63430008140033",
662
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063a745e3df11610097578063cde749f411610071578063cde749f414610528578063cf7a1d7714610542578063d6277f9914610555578063eeff428e1461056857600080fd5b8063a745e3df146104e2578063b3c65015146104f5578063b88da7591461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a5780639c12c9c7146104a1578063a3f4df7e146104b457600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004613105565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610580565b60405162ffffff90911681526020016101e7565b61021461060a565b6040516101e792919061317f565b61022a61078c565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190613226565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d936600461324a565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613a0683398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f236600461324a565b6109ae565b61022a61040536600461327c565b610a61565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a61045436600461327c565b610aee565b6102ac600081565b61026d610b81565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6101db6104af3660046132c3565b610c9a565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104f03660046133a3565b610ed4565b6104fd61102e565b6040516001600160401b0390911681526020016101e7565b6101f8610523366004613447565b61104f565b6105306110a0565b60405160ff90911681526020016101e7565b61022a6105503660046133a3565b611123565b61022a61056336600461327c565b61122c565b6105706112c0565b6040516101e79493929190613460565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190613494565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061068d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106d5610b81565b6001600160a01b031681526020018260010180546106f2906134b1565b80601f016020809104026020016040519081016040528092919081815260200182805461071e906134b1565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081291906134fb565b15610859576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108825760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef91906134fb565b610917576040516372657a5160e01b81526001600160a01b0382166004820152602401610850565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190613521565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020613a0683398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a919061353e565b1192915050565b6005546001600160a01b031615610acc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610850565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610850565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a91906134fb565b15610c8a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190613562565b506002546001600160a01b031690565b600080610caf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610cfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d269190810190613693565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9a9190613562565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906136c7565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906136e4565b909250905063ffffffff811615610ec55760009650505050505050610ecd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ef6610580565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a91906136c7565b6000805160206139e68339815191528054600160401b900460ff1680610f8d575080546001600160401b03808416911610155b15610fab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610fd68585611975565b610fdf83611c14565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106056000805160206139e6833981519152546001600160401b031690565b6000600080516020613a06833981519152600101828154811061107457611074613724565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006110aa610580565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610605919061373a565b6000805160206139e68339815191528054600160401b810460ff1615906001600160401b03166000811580156111565750825b90506000826001600160401b031660011480156111725750303b155b905081158015611180575080155b1561119e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c857845460ff60401b1916600160401b1785555b6111d28888611975565b6111dc8787611c1c565b831561122257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b03161561129e5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610850565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190613521565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156113af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d39190613494565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c919061373a565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190613562565b60045490915081906114f0906001600160a01b0316611d72565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505060055461156292506001600160a01b03169050611d72565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a779261159c928e9291169088903390600401613460565b600060405180830381600087803b1580156115b657600080fd5b505af11580156115ca573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611619573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116419190810190613757565b50805160065490995090915061165f906001600160a01b0316611d72565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506116d98a8a611de4565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a061174b612bcf565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c891906136c7565b8860006040518463ffffffff1660e01b81526004016117e9939291906137ba565b600060405180830381600087803b15801561180357600080fd5b505af1158015611817573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611832612bcf565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561188b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118af91906136c7565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156118f657600080fd5b505af115801561190a573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61197d612c47565b600080516020613a0683398151915260006119ad6000805160206139e6833981519152546001600160401b031690565b905060006119b9610580565b9050816001600160401b03166001036119e65760028301805462ffffff191662ffffff8316179055611a34565b600283015462ffffff90811690821611611a345760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610850565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0c91906137ea565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061101f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a9612c47565b6000805160206139e68339815191528054600160401b810460ff1615906001600160401b0316600081158015611c4f5750825b90506000826001600160401b03166001148015611c6b5750303b155b905081158015611c79575080155b15611c975760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cc157845460ff60401b1916600160401b1785555b600086806020019051810190611cd79190613811565b600380546001600160a01b039093166001600160a01b0319909316831790559150611d029089612c80565b611d12631b4612f160e31b612d0d565b611d2263777fa14760e11b612d0d565b508315611d6957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ddf576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7c9190613494565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef5919061373a565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190613562565b9050826001600160a01b03166325c471a0611f9c612d32565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ff5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201991906136c7565b8360006040518463ffffffff1660e01b815260040161203a939291906137ba565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5060009250600291506120789050565b6040519080825280602002602001820160405280156120a1578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106120bf576120bf613724565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106120f6576120f6613724565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d8483612128612d32565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a591906136c7565b6040518463ffffffff1660e01b81526004016121c393929190613840565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190613494565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061373a565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190613562565b9050846001600160a01b03166325c471a06123a7612d6e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242491906136c7565b8360006040518463ffffffff1660e01b8152600401612445939291906137ba565b600060405180830381600087803b15801561245f57600080fd5b505af1158015612473573d6000803e3d6000fd5b5060009250600491506124839050565b6040519080825280602002602001820160405280156124ac578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106124ca576124ca613724565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061250157612501613724565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061253857612538613724565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061256f5761256f613724565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166308d6122d86836125a1612d6e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e91906136c7565b6040518463ffffffff1660e01b815260040161263c93929190613840565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156126e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127089190613494565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561275d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612781919061373a565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa1580156127e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280a9190613562565b9050866001600160a01b03166325c471a0612823612daa565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561287c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a091906136c7565b8360006040518463ffffffff1660e01b81526004016128c1939291906137ba565b600060405180830381600087803b1580156128db57600080fd5b505af11580156128ef573d6000803e3d6000fd5b5060009250600991506128ff9050565b604051908082528060200260200182016040528015612928578160200160208202803683370190505b5090506391ff6eaa60e01b8160008151811061294657612946613724565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061297d5761297d613724565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106129b4576129b4613724565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106129eb576129eb613724565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b9082906004908110612a2257612a22613724565b6001600160e01b03199092166020928302919091019091015280516202f23560ee1b9082906005908110612a5857612a58613724565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906006908110612a8f57612a8f613724565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906007908110612ac657612ac6613724565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d8883612af8612daa565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7591906136c7565b6040518463ffffffff1660e01b8152600401612b9393929190613840565b600060405180830381600087803b158015612bad57600080fd5b505af1158015612bc1573d6000803e3d6000fd5b505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612c23573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906136c7565b6000805160206139e683398151915254600160401b900460ff16612c7e57604051631afcd79f60e31b815260040160405180910390fd5b565b6000612cae60408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b612cb66110a0565b604051602001612cc79291906138b2565b60405160208183030381529060405290506000612ce384612de6565b90506000612cf68583603c848888612e57565b612d06631b4612f160e31b612d0d565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612c06565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612c06565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612c06565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612e2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e519190613521565b92915050565b612e986301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612ea28287612f23565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612f128382613926565b50611d696303fb044760e21b612d0d565b6001600160a01b038216612f795760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610850565b600280546001600160a01b0319166001600160a01b038416179055612f9d81612fa1565b5050565b6001546001600160a01b031615612fda5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610850565b6001600160a01b0381166130015760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036130375760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156130b1575060408051601f3d908101601f191682019092526130ae918101906134fb565b60015b6130d95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b80612f9d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610850565b50565b60006020828403121561311757600080fd5b81356001600160e01b031981168114610ecd57600080fd5b60005b8381101561314a578181015183820152602001613132565b50506000910152565b6000815180845261316b81602086016020860161312f565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516131c360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613209610120840182613153565b9050828103602084015261321d8185613153565b95945050505050565b602081526000610ecd6020830184613153565b62ffffff8116811461310257600080fd5b60006020828403121561325c57600080fd5b8135610ecd81613239565b6001600160a01b038116811461310257600080fd5b60006020828403121561328e57600080fd5b8135610ecd81613267565b6001600160401b038116811461310257600080fd5b6001600160601b038116811461310257600080fd5b6000806000606084860312156132d857600080fd5b83356132e381613267565b925060208401356132f381613299565b91506040840135613303816132ae565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156133465761334661330e565b60405290565b604051601f8201601f191681016001600160401b03811182821017156133745761337461330e565b604052919050565b60006001600160401b038211156133955761339561330e565b50601f01601f191660200190565b6000806000606084860312156133b857600080fd5b83356133c381613267565b925060208401356133d381613267565b915060408401356001600160401b038111156133ee57600080fd5b8401601f810186136133ff57600080fd5b803561341261340d8261337c565b61334c565b81815287602083850101111561342757600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561345957600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b6000602082840312156134a657600080fd5b8151610ecd81613239565b600181811c908216806134c557607f821691505b6020821081036134e557634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ddf57600080fd5b60006020828403121561350d57600080fd5b610ecd826134eb565b8051611ddf816132ae565b60006020828403121561353357600080fd5b8151610ecd816132ae565b60006020828403121561355057600080fd5b5051919050565b8051611ddf81613267565b60006020828403121561357457600080fd5b8151610ecd81613267565b60ff8116811461310257600080fd5b8051611ddf8161357f565b600082601f8301126135aa57600080fd5b81516135b861340d8261337c565b8181528460208386010111156135cd57600080fd5b6135de82602083016020870161312f565b949350505050565b600060e082840312156135f857600080fd5b613600613324565b905061360b82613516565b815261361960208301613516565b602082015261362a6040830161358e565b604082015261363b606083016134eb565b606082015261364c60808301613557565b608082015261365d60a08301613557565b60a082015260c08201516001600160401b0381111561367b57600080fd5b61368784828501613599565b60c08301525092915050565b6000602082840312156136a557600080fd5b81516001600160401b038111156136bb57600080fd5b6135de848285016135e6565b6000602082840312156136d957600080fd5b8151610ecd81613299565b600080604083850312156136f757600080fd5b613700836134eb565b9150602083015163ffffffff8116811461371957600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561374c57600080fd5b8151610ecd8161357f565b6000806040838503121561376a57600080fd5b82516001600160401b038082111561378157600080fd5b61378d868387016135e6565b935060208501519150808211156137a357600080fd5b506137b085828601613599565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156137fc57600080fd5b815164ffffffffff81168114610ecd57600080fd5b6000806040838503121561382457600080fd5b825161382f81613267565b602084015190925061371981613267565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156138935784516001600160e01b0319168352938301939183019160010161386d565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006138c56040830185613153565b905060ff831660208301529392505050565b601f82111561392157600081815260208120601f850160051c810160208610156138fe5750805b601f850160051c820191505b8181101561391d5782815560010161390a565b5050505b505050565b81516001600160401b0381111561393f5761393f61330e565b6139538161394d84546134b1565b846138d7565b602080601f83116001811461398857600084156139705750858301515b600019600386901b1c1916600185901b17855561391d565b600085815260208120601f198616915b828110156139b757888601518255948401946001909101908401613998565b50858210156139d55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d97055cb1e502d599ee0e9265d4899bb0a52b70c6e1cd2d733ebbc7d8bf9811964736f6c63430008140033",
1176
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614adf806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c80637a9e5e4b1161012a578063b428b0b0116100b4578063d127388711610079578063d127388714610505578063e52ba1cb1461053f578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063b428b0b0146104c8578063b68d1809146104db578063b7d2b162146104e2578063bf7e214f146104f5578063c2651725146104fd575f80fd5b8063893d20e8116100fa578063893d20e8146104655780638fb360371461046d57806396cdfa3f1461048e578063a2356b3a146104a1578063ada9652e146104b4575f80fd5b80637a9e5e4b146104255780637de45f1314610438578063868923131461044b578063872309c71461045e575f80fd5b8063254f6866116101b65780635fa8aad41161017b5780635fa8aad4146103c0578063644c45e0146103d35780636a778e73146103f05780636c741e781461040357806376b707b71461040b575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e741461037557806349bb9e4b146103885780635ab1bd531461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004613f06565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190613f4f565b6102b26102ad366004613fef565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004614137565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a3660046141a3565b610a39565b6102b261035d366004613fef565b610b1f565b6102b26103703660046141ec565b610d4d565b6102b2610383366004614207565b610e24565b6102b2610396366004614238565b610f6f565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103ce366004614238565b61106a565b5f80516020614a4a833981519152546001600160601b03166102bc565b6102bc6103fe366004613fef565b611159565b61031c611d01565b610413611d8d565b60405160ff9091168152602001610265565b6102b2610433366004613fef565b611df5565b6102b2610446366004614298565b611e7b565b6102b26104593660046142b3565b611f4d565b6102fb5f81565b6103a8611ffe565b61047561212f565b6040516001600160e01b03199091168152602001610265565b6102b261049c3660046142cf565b612164565b6102b26104af3660046142ea565b6122f1565b6102fb5f80516020614a4a83398151915281565b6102b26104d6366004614316565b61240e565b600a610413565b6102b26104f0366004614316565b6124c6565b6103a861257e565b6102b2612599565b6105186105133660046142cf565b612725565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6102bc61054d366004614298565b612b90565b6008546001600160a01b03166103a8565b6102b2610571366004614402565b612ca5565b6102b2610584366004614444565b612d4b565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906144a1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e091906144ce565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610728611ffe565b6001600160a01b03168152602001826001018054610745906144e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610771906144e9565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612e27565b6107e7336107e2611d8d565b612f1d565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086291906144ce565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb05906108959084908690600401614521565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b30613219565b5f6108da336107cf565b6108e6336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a9190614543565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b81526004016109799392919061455e565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b99190614595565b95945050505050565b5f6109cb61257e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3391906145bb565b15905090565b610a42336107cf565b610a4e336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab29190614543565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b27611ffe565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c509190614543565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b600880546001600160a01b0384166001600160a01b03199091161790557fa1504e1ebc0f8c6bcbe8014d6921eafe6dfa35ede293c521db58073161319dbe610cc76001546001600160a01b031690565b600754604051632f2a35f760e11b81526001600160a01b039182166004820152911690635e546bee90602401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3291906144ce565b83604051610d41929190614521565b60405180910390a15050565b610d56336107cf565b610d62336107e2611d8d565b5f610d756001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd91906144ce565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e46610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea89190614595565b5f80516020614a8a8339815191528054600160401b900460ff1680610eda575080546001600160401b03808416911610155b15610ef85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f228361345b565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b5f80516020614a8a8339815191528054600160401b810460ff1615906001600160401b03165f81158015610fa05750825b90505f826001600160401b03166001148015610fbb5750303b155b905081158015610fc9575080155b15610fe75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561101157845460ff60401b1916600160401b1785555b61101b878761347c565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f611074336107cf565b611080336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e49190614543565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b81526004016111119291906145d6565b6020604051808303815f875af115801561112d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111519190614595565b949350505050565b5f611162611ffe565b6001600160a01b0316336001600160a01b0316146111955760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b0316156111bf57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156111e95760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b0316156112135760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b03161561123d5760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216611264576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c99190614543565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611308573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132c9190614543565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113939190614543565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113fa9190614543565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561143d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114619190614543565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c89190614543565b9050806001600160a01b038b166114f2576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611518576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661153f5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166115665760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b03831661158d57604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b0381166115b4576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116149190614543565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611659573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167d9190614543565b6001600160a01b0316146116a4576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117049190614543565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611749573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176d9190614543565b6001600160a01b0316146117945760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f49190614543565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185d9190614543565b6001600160a01b031614611884576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e49190614543565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611929573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061194d9190614543565b6001600160a01b03161461197457604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119de9190614543565b6001600160a01b031614611a0557604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6f9190614543565b6001600160a01b031614611a9657604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611adc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b009190614543565b6001600160a01b031614611b27576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611c76611ffe565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611cbf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ce6919081019061466a565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611d26611d8d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611d69573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614595565b5f611d9661257e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dd1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061473a565b33611dfe61257e565b6001600160a01b0316816001600160a01b031614611e395760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f03611e6e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b611e7782613615565b5050565b611e84336107cf565b611e90336107e2611d8d565b5f611ea36001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611ee7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f0b91906144ce565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b611f56336107cf565b611f62336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc69190614543565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f80516020614a4a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561206a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061208e91906145bb565b15612119576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156120ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121139190614543565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614a6a83398151915280545f9190600160a01b900460ff16612156575f612113565b638fb3603760e01b91505090565b61216d336107cf565b612179336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121dd9190614543565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024015f604051808303815f87803b15801561221f575f80fd5b505af1158015612231573d5f803e3d5ffd5b505050507faabc2aefa17583d33fc341e11bdc4d9f417f9e9879c5e200ae5df09bf7c676ed6122686001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0384811660048301529190911690635e546bee90602401602060405180830381865afa1580156122ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122d291906144ce565b604080516001600160601b039092168252841515602083015201610d41565b6122fa336107cf565b612306336107e2611d8d565b5f6123196001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561235d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061238191906144ce565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af11580156123e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240891906144ce565b50505050565b612417336107cf565b612423336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612463573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124879190614543565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b6124cf336107cf565b6124db336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561251b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253f9190614543565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614a6a833981519152546001600160a01b031690565b6125a2336107cf565b6125ae336107e2611d8d565b600854339081905f906125c9906001600160a01b031661366e565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b15801561260d575f80fd5b505af115801561261f573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b158015612663575f80fd5b505af1158015612675573d5f803e3d5ffd5b505050507f3ceb16815c8726af4f729a63cfef71e374192daa36372503d0d0cd50213a91586126ac6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0386811660048301529190911690635e546bee90602401602060405180830381865afa1580156126f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271691906144ce565b82604051610f62929190614521565b5f80612730336107cf565b335f61273a6136dd565b90506127478183876137f6565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612799573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526127c0919081019061466a565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa158015612816573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061283a9190614543565b9050816001600160a01b03166304d670b961285d6001546001600160a01b031690565b83612866611d8d565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b1580156128bc575f80fd5b505af11580156128ce573d5f803e3d5ffd5b505050506128e46001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015612929573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061294d9190614543565b6001600160a01b03161461296357612963614755565b6129d9856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129c6919061473a565b6129ce611d8d565b60ff90811691161490565b6129e5576129e5614755565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a749190614769565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612abb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612adf9190614543565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b158015612b39575f80fd5b505af1158015612b4b573d5f803e3d5ffd5b505050507fbd6800584d7105d7fd4de0db92f641ba5543ffb40d1ec8eb59617e12e32afed28486604051612b80929190614521565b60405180910390a1505050915091565b5f612b9a336107cf565b612ba6336107e2611d8d565b5f612bb96001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612bfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c2191906144ce565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015612c7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c9e91906144ce565b9392505050565b612cae336107cf565b612cba336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cfa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d1e9190614543565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610aed9291906147e8565b612d54336107cf565b612d60336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612da0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dc49190614543565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612df39392919061480b565b5f604051808303815f87803b158015612e0a575f80fd5b505af1158015612e1c573d5f803e3d5ffd5b50505050505b505050565b5f80516020614a6a8339815191525f80612e5f612e4261257e565b8730612e5160045f8a8c61483d565b612e5a91614864565b613923565b91509150816108be5763ffffffff811615612efa57825460ff60a01b1916600160a01b178355612e8d61257e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ebc9392919061489c565b5f604051808303815f87803b158015612ed3575f80fd5b505af1158015612ee5573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f612f306001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612f79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9d91906144ce565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612ff6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061301a91906145bb565b15613043576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561308f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130b6919081019061466a565b60400151905060ff8116600a146130f457604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015613144573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061316891906145bb565b15613212575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131ce919061473a565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f80516020614a4a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613285573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a991906145bb565b156132d55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613327573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061334b91906145bb565b6133735760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156133c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133e991906144ce565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490613435611ffe565b604051613443929190614521565b60405180910390a1546001600160601b031692915050565b613463613a2b565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020614a8a8339815191528054600160401b810460ff1615906001600160401b03165f811580156134ad5750825b90505f826001600160401b031660011480156134c85750303b155b9050811580156134d6575080155b156134f45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561351e57845460ff60401b1916600160401b1785555b5f808780602001905181019061353491906148db565b9150915061354382828b613a63565b61354d6002613b00565b600280546001600160a01b0319166001600160a01b03929092169190911790556135776003613b00565b600380546001600160a01b0319166001600160a01b03929092169190911790556135a1600b613b00565b600480546001600160a01b0319166001600160a01b03929092169190911790556135d16308a20d4560e31b613b97565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611059565b5f80516020614a6a83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610d41565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b0381166136d8576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f8061375b60065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613732573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137569190614543565b61366e565b600654909150613773906001600160a01b031661366e565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b1580156137dc575f80fd5b505af11580156137ee573d5f803e3d5ffd5b505050505090565b6007545f90819061380f906001600160a01b031661366e565b600b549091506001600160a01b038083169163d6d0a65b918891613833911661366e565b600954613848906001600160a01b031661366e565b600a5461385d906001600160a01b031661366e565b600854613872906001600160a01b031661366e565b6001546001600160a01b0316613886611d8d565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b158015613904575f80fd5b505af1158015613916573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516139919190614908565b5f60405180830381855afa9150503d805f81146139c9576040519150601f19603f3d011682016040523d82523d5f602084013e6139ce565b606091505b50915091508115613a20576040815110613a0057808060200190518101906139f6919061491e565b9094509250613a20565b6020815110613a205780806020019051810190613a1d91906145bb565b93505b505094509492505050565b5f80516020614a8a83398151915254600160401b900460ff16613a6157604051631afcd79f60e31b815260040160405180910390fd5b565b613a6b613a2b565b613a73613bca565b613af08383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ab4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ad891906144ce565b60085f8660405180602001604052805f815250613bda565b612e2263daf9067160e01b613b97565b5f613b136001546001600160a01b031690565b6001600160a01b031663d39e604383613b2a611d8d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b919190614543565b92915050565b613b9f613a2b565b613bc7816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613bd2613a2b565b613a61613d17565b613be2613a2b565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c5c91906145bb565b613c845760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613c8d87613d45565b613c978683613d56565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613d06838261498f565b50612e1c634a531f3360e01b613b97565b613d1f613a2b565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613d4d613a2b565b613bc781613dcc565b613d5e613a2b565b613d66613ddd565b613d6f82613e25565b6001600160a01b038116613d965760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614a4a83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613dd4613a2b565b613bc781613615565b613de5613a2b565b613a616301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613e2d613a2b565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613e83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ea791906145bb565b613ecf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613bc7575f80fd5b5f60208284031215613f16575f80fd5b8135612c9e81613ef1565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613f97608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611151610100840182613f21565b6001600160a01b0381168114613bc7575f80fd5b5f60208284031215613fff575f80fd5b8135612c9e81613fdb565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156140405761404061400a565b60405290565b60405160e081016001600160401b03811182821017156140405761404061400a565b604051601f8201601f191681016001600160401b03811182821017156140905761409061400a565b604052919050565b5f6001600160401b038211156140b0576140b061400a565b50601f01601f191660200190565b5f82601f8301126140cd575f80fd5b8135602083015f6140e56140e084614098565b614068565b90508281528583830111156140f8575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613bc7575f80fd5b63ffffffff81168114613bc7575f80fd5b5f805f60608486031215614149575f80fd5b83356001600160401b0381111561415e575f80fd5b61416a868287016140be565b935050602084013561417b81614112565b9150604084013561418b81614126565b809150509250925092565b8015158114613bc7575f80fd5b5f80604083850312156141b4575f80fd5b82356141bf81614112565b915060208301356141cf81614196565b809150509250929050565b64ffffffffff81168114613bc7575f80fd5b5f602082840312156141fc575f80fd5b8135612c9e816141da565b5f60208284031215614217575f80fd5b81356001600160401b0381111561422c575f80fd5b611151848285016140be565b5f8060408385031215614249575f80fd5b823561425481613fdb565b915060208301356001600160401b0381111561426e575f80fd5b61427a858286016140be565b9150509250929050565b6001600160601b0381168114613bc7575f80fd5b5f602082840312156142a8575f80fd5b8135612c9e81614284565b5f80604083850312156142c4575f80fd5b82356141bf81613fdb565b5f602082840312156142df575f80fd5b8135612c9e81614196565b5f80604083850312156142fb575f80fd5b823561430681613fdb565b915060208301356141cf81614284565b5f8060408385031215614327575f80fd5b823561433281614112565b915060208301356141cf81613fdb565b5f82601f830112614351575f80fd5b81356001600160401b0381111561436a5761436a61400a565b61437960208260051b01614068565b8082825260208201915060206060840286010192508583111561439a575f80fd5b602085015b838110156143f857606081880312156143b6575f80fd5b6143be61401e565b8135815260208201356143d081613ef1565b602082015260408201356143e3816141da565b6040820152835260209092019160600161439f565b5095945050505050565b5f8060408385031215614413575f80fd5b823561441e81613fdb565b915060208301356001600160401b03811115614438575f80fd5b61427a85828601614342565b5f805f60608486031215614456575f80fd5b833561446181613fdb565b9250602084013561447181614112565b915060408401356001600160401b0381111561448b575f80fd5b61449786828701614342565b9150509250925092565b5f602082840312156144b1575f80fd5b815162ffffff81168114612c9e575f80fd5b80516136d881614284565b5f602082840312156144de575f80fd5b8151612c9e81614284565b600181811c908216806144fd57607f821691505b60208210810361451b57634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f60208284031215614553575f80fd5b8151612c9e81613fdb565b606081525f6145706060830186613f21565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f602082840312156145a5575f80fd5b8151612c9e81614112565b80516136d881614196565b5f602082840312156145cb575f80fd5b8151612c9e81614196565b6001600160a01b03831681526040602082018190525f9061115190830184613f21565b80516136d881613fdb565b60ff81168114613bc7575f80fd5b80516136d881614604565b5f82601f83011261462c575f80fd5b815161463a6140e082614098565b81815284602083860101111561464e575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561467a575f80fd5b81516001600160401b0381111561468f575f80fd5b820160e081850312156146a0575f80fd5b6146a8614046565b6146b1826144c3565b81526146bf602083016144c3565b60208201526146d060408301614612565b60408201526146e1606083016145b0565b60608201526146f2608083016145f9565b608082015261470360a083016145f9565b60a082015260c08201516001600160401b03811115614720575f80fd5b61472c8682850161461d565b60c083015250949350505050565b5f6020828403121561474a575f80fd5b8151612c9e81614604565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614779575f80fd5b8151612c9e816141da565b5f8151808452602084019350602083015f5b828110156147de578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101614796565b5093949350505050565b6001600160a01b03831681526040602082018190525f9061115190830184614784565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b990830184614784565b5f808585111561484b575f80fd5b83861115614857575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614895576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156148ec575f80fd5b82516148f781613fdb565b60208401519092506141cf81613fdb565b5f82518060208501845e5f920191825250919050565b5f806040838503121561492f575f80fd5b825161493a81614196565b60208401519092506141cf81614126565b601f821115612e2257805f5260205f20601f840160051c810160208510156149705750805b601f840160051c820191505b81811015613212575f815560010161497c565b81516001600160401b038111156149a8576149a861400a565b6149bc816149b684546144e9565b8461494b565b6020601f8211600181146149ee575f83156149d75750848201515b5f19600385901b1c1916600184901b178455613212565b5f84815260208120601f198516915b82811015614a1d57878501518255602094850194600190920191016149fd565b5084821015614a3a57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220414d9a89ecc3768839dd120a7e1f58402b65a74e68ab411e3aee41ac89f3e37664736f6c634300081a0033",
1177
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c80637a9e5e4b1161012a578063b428b0b0116100b4578063d127388711610079578063d127388714610505578063e52ba1cb1461053f578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063b428b0b0146104c8578063b68d1809146104db578063b7d2b162146104e2578063bf7e214f146104f5578063c2651725146104fd575f80fd5b8063893d20e8116100fa578063893d20e8146104655780638fb360371461046d57806396cdfa3f1461048e578063a2356b3a146104a1578063ada9652e146104b4575f80fd5b80637a9e5e4b146104255780637de45f1314610438578063868923131461044b578063872309c71461045e575f80fd5b8063254f6866116101b65780635fa8aad41161017b5780635fa8aad4146103c0578063644c45e0146103d35780636a778e73146103f05780636c741e781461040357806376b707b71461040b575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e741461037557806349bb9e4b146103885780635ab1bd531461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004613f06565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190613f4f565b6102b26102ad366004613fef565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004614137565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a3660046141a3565b610a39565b6102b261035d366004613fef565b610b1f565b6102b26103703660046141ec565b610d4d565b6102b2610383366004614207565b610e24565b6102b2610396366004614238565b610f6f565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103ce366004614238565b61106a565b5f80516020614a4a833981519152546001600160601b03166102bc565b6102bc6103fe366004613fef565b611159565b61031c611d01565b610413611d8d565b60405160ff9091168152602001610265565b6102b2610433366004613fef565b611df5565b6102b2610446366004614298565b611e7b565b6102b26104593660046142b3565b611f4d565b6102fb5f81565b6103a8611ffe565b61047561212f565b6040516001600160e01b03199091168152602001610265565b6102b261049c3660046142cf565b612164565b6102b26104af3660046142ea565b6122f1565b6102fb5f80516020614a4a83398151915281565b6102b26104d6366004614316565b61240e565b600a610413565b6102b26104f0366004614316565b6124c6565b6103a861257e565b6102b2612599565b6105186105133660046142cf565b612725565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6102bc61054d366004614298565b612b90565b6008546001600160a01b03166103a8565b6102b2610571366004614402565b612ca5565b6102b2610584366004614444565b612d4b565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906144a1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e091906144ce565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610728611ffe565b6001600160a01b03168152602001826001018054610745906144e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610771906144e9565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612e27565b6107e7336107e2611d8d565b612f1d565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086291906144ce565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb05906108959084908690600401614521565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b30613219565b5f6108da336107cf565b6108e6336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a9190614543565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b81526004016109799392919061455e565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b99190614595565b95945050505050565b5f6109cb61257e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3391906145bb565b15905090565b610a42336107cf565b610a4e336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab29190614543565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b27611ffe565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c509190614543565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b600880546001600160a01b0384166001600160a01b03199091161790557fa1504e1ebc0f8c6bcbe8014d6921eafe6dfa35ede293c521db58073161319dbe610cc76001546001600160a01b031690565b600754604051632f2a35f760e11b81526001600160a01b039182166004820152911690635e546bee90602401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3291906144ce565b83604051610d41929190614521565b60405180910390a15050565b610d56336107cf565b610d62336107e2611d8d565b5f610d756001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd91906144ce565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e46610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea89190614595565b5f80516020614a8a8339815191528054600160401b900460ff1680610eda575080546001600160401b03808416911610155b15610ef85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f228361345b565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b5f80516020614a8a8339815191528054600160401b810460ff1615906001600160401b03165f81158015610fa05750825b90505f826001600160401b03166001148015610fbb5750303b155b905081158015610fc9575080155b15610fe75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561101157845460ff60401b1916600160401b1785555b61101b878761347c565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f611074336107cf565b611080336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e49190614543565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b81526004016111119291906145d6565b6020604051808303815f875af115801561112d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111519190614595565b949350505050565b5f611162611ffe565b6001600160a01b0316336001600160a01b0316146111955760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b0316156111bf57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156111e95760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b0316156112135760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b03161561123d5760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216611264576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c99190614543565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611308573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132c9190614543565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113939190614543565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113fa9190614543565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561143d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114619190614543565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c89190614543565b9050806001600160a01b038b166114f2576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611518576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661153f5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166115665760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b03831661158d57604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b0381166115b4576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116149190614543565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611659573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167d9190614543565b6001600160a01b0316146116a4576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117049190614543565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611749573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176d9190614543565b6001600160a01b0316146117945760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f49190614543565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185d9190614543565b6001600160a01b031614611884576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e49190614543565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611929573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061194d9190614543565b6001600160a01b03161461197457604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119de9190614543565b6001600160a01b031614611a0557604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6f9190614543565b6001600160a01b031614611a9657604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611adc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b009190614543565b6001600160a01b031614611b27576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611c76611ffe565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611cbf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ce6919081019061466a565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611d26611d8d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611d69573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614595565b5f611d9661257e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dd1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061473a565b33611dfe61257e565b6001600160a01b0316816001600160a01b031614611e395760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f03611e6e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b611e7782613615565b5050565b611e84336107cf565b611e90336107e2611d8d565b5f611ea36001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611ee7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f0b91906144ce565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b611f56336107cf565b611f62336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc69190614543565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f80516020614a4a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561206a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061208e91906145bb565b15612119576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156120ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121139190614543565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614a6a83398151915280545f9190600160a01b900460ff16612156575f612113565b638fb3603760e01b91505090565b61216d336107cf565b612179336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121dd9190614543565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024015f604051808303815f87803b15801561221f575f80fd5b505af1158015612231573d5f803e3d5ffd5b505050507faabc2aefa17583d33fc341e11bdc4d9f417f9e9879c5e200ae5df09bf7c676ed6122686001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0384811660048301529190911690635e546bee90602401602060405180830381865afa1580156122ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122d291906144ce565b604080516001600160601b039092168252841515602083015201610d41565b6122fa336107cf565b612306336107e2611d8d565b5f6123196001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561235d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061238191906144ce565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af11580156123e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240891906144ce565b50505050565b612417336107cf565b612423336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612463573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124879190614543565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b6124cf336107cf565b6124db336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561251b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253f9190614543565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614a6a833981519152546001600160a01b031690565b6125a2336107cf565b6125ae336107e2611d8d565b600854339081905f906125c9906001600160a01b031661366e565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b15801561260d575f80fd5b505af115801561261f573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b158015612663575f80fd5b505af1158015612675573d5f803e3d5ffd5b505050507f3ceb16815c8726af4f729a63cfef71e374192daa36372503d0d0cd50213a91586126ac6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0386811660048301529190911690635e546bee90602401602060405180830381865afa1580156126f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271691906144ce565b82604051610f62929190614521565b5f80612730336107cf565b335f61273a6136dd565b90506127478183876137f6565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612799573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526127c0919081019061466a565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa158015612816573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061283a9190614543565b9050816001600160a01b03166304d670b961285d6001546001600160a01b031690565b83612866611d8d565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b1580156128bc575f80fd5b505af11580156128ce573d5f803e3d5ffd5b505050506128e46001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015612929573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061294d9190614543565b6001600160a01b03161461296357612963614755565b6129d9856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129c6919061473a565b6129ce611d8d565b60ff90811691161490565b6129e5576129e5614755565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a749190614769565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612abb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612adf9190614543565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b158015612b39575f80fd5b505af1158015612b4b573d5f803e3d5ffd5b505050507fbd6800584d7105d7fd4de0db92f641ba5543ffb40d1ec8eb59617e12e32afed28486604051612b80929190614521565b60405180910390a1505050915091565b5f612b9a336107cf565b612ba6336107e2611d8d565b5f612bb96001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612bfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c2191906144ce565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015612c7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c9e91906144ce565b9392505050565b612cae336107cf565b612cba336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cfa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d1e9190614543565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610aed9291906147e8565b612d54336107cf565b612d60336107e2611d8d565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612da0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dc49190614543565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612df39392919061480b565b5f604051808303815f87803b158015612e0a575f80fd5b505af1158015612e1c573d5f803e3d5ffd5b50505050505b505050565b5f80516020614a6a8339815191525f80612e5f612e4261257e565b8730612e5160045f8a8c61483d565b612e5a91614864565b613923565b91509150816108be5763ffffffff811615612efa57825460ff60a01b1916600160a01b178355612e8d61257e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ebc9392919061489c565b5f604051808303815f87803b158015612ed3575f80fd5b505af1158015612ee5573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f612f306001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612f79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9d91906144ce565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612ff6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061301a91906145bb565b15613043576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561308f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130b6919081019061466a565b60400151905060ff8116600a146130f457604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015613144573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061316891906145bb565b15613212575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131ce919061473a565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f80516020614a4a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613285573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a991906145bb565b156132d55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613327573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061334b91906145bb565b6133735760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156133c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133e991906144ce565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490613435611ffe565b604051613443929190614521565b60405180910390a1546001600160601b031692915050565b613463613a2b565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020614a8a8339815191528054600160401b810460ff1615906001600160401b03165f811580156134ad5750825b90505f826001600160401b031660011480156134c85750303b155b9050811580156134d6575080155b156134f45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561351e57845460ff60401b1916600160401b1785555b5f808780602001905181019061353491906148db565b9150915061354382828b613a63565b61354d6002613b00565b600280546001600160a01b0319166001600160a01b03929092169190911790556135776003613b00565b600380546001600160a01b0319166001600160a01b03929092169190911790556135a1600b613b00565b600480546001600160a01b0319166001600160a01b03929092169190911790556135d16308a20d4560e31b613b97565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611059565b5f80516020614a6a83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610d41565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b0381166136d8576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f8061375b60065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613732573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137569190614543565b61366e565b600654909150613773906001600160a01b031661366e565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b1580156137dc575f80fd5b505af11580156137ee573d5f803e3d5ffd5b505050505090565b6007545f90819061380f906001600160a01b031661366e565b600b549091506001600160a01b038083169163d6d0a65b918891613833911661366e565b600954613848906001600160a01b031661366e565b600a5461385d906001600160a01b031661366e565b600854613872906001600160a01b031661366e565b6001546001600160a01b0316613886611d8d565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b158015613904575f80fd5b505af1158015613916573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516139919190614908565b5f60405180830381855afa9150503d805f81146139c9576040519150601f19603f3d011682016040523d82523d5f602084013e6139ce565b606091505b50915091508115613a20576040815110613a0057808060200190518101906139f6919061491e565b9094509250613a20565b6020815110613a205780806020019051810190613a1d91906145bb565b93505b505094509492505050565b5f80516020614a8a83398151915254600160401b900460ff16613a6157604051631afcd79f60e31b815260040160405180910390fd5b565b613a6b613a2b565b613a73613bca565b613af08383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ab4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ad891906144ce565b60085f8660405180602001604052805f815250613bda565b612e2263daf9067160e01b613b97565b5f613b136001546001600160a01b031690565b6001600160a01b031663d39e604383613b2a611d8d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b919190614543565b92915050565b613b9f613a2b565b613bc7816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613bd2613a2b565b613a61613d17565b613be2613a2b565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c5c91906145bb565b613c845760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613c8d87613d45565b613c978683613d56565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613d06838261498f565b50612e1c634a531f3360e01b613b97565b613d1f613a2b565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613d4d613a2b565b613bc781613dcc565b613d5e613a2b565b613d66613ddd565b613d6f82613e25565b6001600160a01b038116613d965760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614a4a83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613dd4613a2b565b613bc781613615565b613de5613a2b565b613a616301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613e2d613a2b565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613e83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ea791906145bb565b613ecf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613bc7575f80fd5b5f60208284031215613f16575f80fd5b8135612c9e81613ef1565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613f97608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611151610100840182613f21565b6001600160a01b0381168114613bc7575f80fd5b5f60208284031215613fff575f80fd5b8135612c9e81613fdb565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156140405761404061400a565b60405290565b60405160e081016001600160401b03811182821017156140405761404061400a565b604051601f8201601f191681016001600160401b03811182821017156140905761409061400a565b604052919050565b5f6001600160401b038211156140b0576140b061400a565b50601f01601f191660200190565b5f82601f8301126140cd575f80fd5b8135602083015f6140e56140e084614098565b614068565b90508281528583830111156140f8575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613bc7575f80fd5b63ffffffff81168114613bc7575f80fd5b5f805f60608486031215614149575f80fd5b83356001600160401b0381111561415e575f80fd5b61416a868287016140be565b935050602084013561417b81614112565b9150604084013561418b81614126565b809150509250925092565b8015158114613bc7575f80fd5b5f80604083850312156141b4575f80fd5b82356141bf81614112565b915060208301356141cf81614196565b809150509250929050565b64ffffffffff81168114613bc7575f80fd5b5f602082840312156141fc575f80fd5b8135612c9e816141da565b5f60208284031215614217575f80fd5b81356001600160401b0381111561422c575f80fd5b611151848285016140be565b5f8060408385031215614249575f80fd5b823561425481613fdb565b915060208301356001600160401b0381111561426e575f80fd5b61427a858286016140be565b9150509250929050565b6001600160601b0381168114613bc7575f80fd5b5f602082840312156142a8575f80fd5b8135612c9e81614284565b5f80604083850312156142c4575f80fd5b82356141bf81613fdb565b5f602082840312156142df575f80fd5b8135612c9e81614196565b5f80604083850312156142fb575f80fd5b823561430681613fdb565b915060208301356141cf81614284565b5f8060408385031215614327575f80fd5b823561433281614112565b915060208301356141cf81613fdb565b5f82601f830112614351575f80fd5b81356001600160401b0381111561436a5761436a61400a565b61437960208260051b01614068565b8082825260208201915060206060840286010192508583111561439a575f80fd5b602085015b838110156143f857606081880312156143b6575f80fd5b6143be61401e565b8135815260208201356143d081613ef1565b602082015260408201356143e3816141da565b6040820152835260209092019160600161439f565b5095945050505050565b5f8060408385031215614413575f80fd5b823561441e81613fdb565b915060208301356001600160401b03811115614438575f80fd5b61427a85828601614342565b5f805f60608486031215614456575f80fd5b833561446181613fdb565b9250602084013561447181614112565b915060408401356001600160401b0381111561448b575f80fd5b61449786828701614342565b9150509250925092565b5f602082840312156144b1575f80fd5b815162ffffff81168114612c9e575f80fd5b80516136d881614284565b5f602082840312156144de575f80fd5b8151612c9e81614284565b600181811c908216806144fd57607f821691505b60208210810361451b57634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f60208284031215614553575f80fd5b8151612c9e81613fdb565b606081525f6145706060830186613f21565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f602082840312156145a5575f80fd5b8151612c9e81614112565b80516136d881614196565b5f602082840312156145cb575f80fd5b8151612c9e81614196565b6001600160a01b03831681526040602082018190525f9061115190830184613f21565b80516136d881613fdb565b60ff81168114613bc7575f80fd5b80516136d881614604565b5f82601f83011261462c575f80fd5b815161463a6140e082614098565b81815284602083860101111561464e575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561467a575f80fd5b81516001600160401b0381111561468f575f80fd5b820160e081850312156146a0575f80fd5b6146a8614046565b6146b1826144c3565b81526146bf602083016144c3565b60208201526146d060408301614612565b60408201526146e1606083016145b0565b60608201526146f2608083016145f9565b608082015261470360a083016145f9565b60a082015260c08201516001600160401b03811115614720575f80fd5b61472c8682850161461d565b60c083015250949350505050565b5f6020828403121561474a575f80fd5b8151612c9e81614604565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614779575f80fd5b8151612c9e816141da565b5f8151808452602084019350602083015f5b828110156147de578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101614796565b5093949350505050565b6001600160a01b03831681526040602082018190525f9061115190830184614784565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b990830184614784565b5f808585111561484b575f80fd5b83861115614857575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614895576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156148ec575f80fd5b82516148f781613fdb565b60208401519092506141cf81613fdb565b5f82518060208501845e5f920191825250919050565b5f806040838503121561492f575f80fd5b825161493a81614196565b60208401519092506141cf81614126565b601f821115612e2257805f5260205f20601f840160051c810160208510156149705750805b601f840160051c820191505b81811015613212575f815560010161497c565b81516001600160401b038111156149a8576149a861400a565b6149bc816149b684546144e9565b8461494b565b6020601f8211600181146149ee575f83156149d75750848201515b5f19600385901b1c1916600184901b178455613212565b5f84815260208120601f198516915b82811015614a1d57878501518255602094850194600190920191016149fd565b5084821015614a3a57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220414d9a89ecc3768839dd120a7e1f58402b65a74e68ab411e3aee41ac89f3e37664736f6c634300081a0033",
663
1178
  "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": [
1179
+ "contracts/shared/ContractLib.sol": {
1180
+ "ContractLib": [
674
1181
  {
675
1182
  "length": 20,
676
- "start": 2286
1183
+ "start": 15574
677
1184
  },
678
1185
  {
679
1186
  "length": 20,
680
- "start": 3302
1187
+ "start": 16161
681
1188
  }
682
1189
  ]
683
1190
  },
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
- },
698
- {
699
- "length": 20,
700
- "start": 8437
701
- },
702
- {
703
- "length": 20,
704
- "start": 8833
705
- },
706
- {
707
- "length": 20,
708
- "start": 9472
709
- },
710
- {
711
- "length": 20,
712
- "start": 9978
713
- },
1191
+ "contracts/staking/TargetManagerLib.sol": {
1192
+ "TargetManagerLib": [
714
1193
  {
715
1194
  "length": 20,
716
- "start": 10620
1195
+ "start": 10977
717
1196
  },
718
1197
  {
719
1198
  "length": 20,
720
- "start": 11345
721
- },
1199
+ "start": 11084
1200
+ }
1201
+ ]
1202
+ },
1203
+ "contracts/type/NftId.sol": {
1204
+ "NftIdLib": [
722
1205
  {
723
1206
  "length": 20,
724
- "start": 11554
1207
+ "start": 1869
725
1208
  },
726
1209
  {
727
1210
  "length": 20,
728
- "start": 11910
1211
+ "start": 8456
729
1212
  },
730
1213
  {
731
1214
  "length": 20,
732
- "start": 11970
1215
+ "start": 12436
733
1216
  },
734
1217
  {
735
1218
  "length": 20,
736
- "start": 12030
1219
+ "start": 13091
737
1220
  }
738
1221
  ]
739
1222
  },
740
- "contracts/types/Timestamp.sol": {
741
- "TimestampLib": [
1223
+ "contracts/type/RoleId.sol": {
1224
+ "RoleIdLib": [
742
1225
  {
743
1226
  "length": 20,
744
- "start": 7144
1227
+ "start": 7642
745
1228
  }
746
1229
  ]
747
1230
  },
748
- "contracts/types/Version.sol": {
1231
+ "contracts/type/Version.sol": {
749
1232
  "VersionLib": [
750
1233
  {
751
1234
  "length": 20,
752
- "start": 1761
753
- },
754
- {
755
- "length": 20,
756
- "start": 4112
757
- },
758
- {
759
- "length": 20,
760
- "start": 4607
761
- },
762
- {
763
- "length": 20,
764
- "start": 5295
765
- },
766
- {
767
- "length": 20,
768
- "start": 5416
769
- },
770
- {
771
- "length": 20,
772
- "start": 8024
773
- },
774
- {
775
- "length": 20,
776
- "start": 8145
777
- },
778
- {
779
- "length": 20,
780
- "start": 9067
781
- },
782
- {
783
- "length": 20,
784
- "start": 9188
1235
+ "start": 1669
785
1236
  },
786
1237
  {
787
1238
  "length": 20,
788
- "start": 10212
789
- },
1239
+ "start": 3836
1240
+ }
1241
+ ],
1242
+ "VersionPartLib": [
790
1243
  {
791
1244
  "length": 20,
792
- "start": 10333
1245
+ "start": 12770
793
1246
  }
794
1247
  ]
795
1248
  }
796
1249
  },
797
1250
  "deployedLinkReferences": {
798
- "contracts/types/Blocknumber.sol": {
799
- "BlocknumberLib": [
800
- {
801
- "length": 20,
802
- "start": 2556
803
- }
804
- ]
805
- },
806
- "contracts/types/NftId.sol": {
807
- "NftIdLib": [
1251
+ "contracts/shared/ContractLib.sol": {
1252
+ "ContractLib": [
808
1253
  {
809
1254
  "length": 20,
810
- "start": 1972
1255
+ "start": 15360
811
1256
  },
812
1257
  {
813
1258
  "length": 20,
814
- "start": 2988
1259
+ "start": 15947
815
1260
  }
816
1261
  ]
817
1262
  },
818
- "contracts/types/RoleId.sol": {
819
- "RoleIdLib": [
820
- {
821
- "length": 20,
822
- "start": 3537
823
- },
824
- {
825
- "length": 20,
826
- "start": 5994
827
- },
1263
+ "contracts/staking/TargetManagerLib.sol": {
1264
+ "TargetManagerLib": [
828
1265
  {
829
1266
  "length": 20,
830
- "start": 6225
1267
+ "start": 10763
831
1268
  },
832
1269
  {
833
1270
  "length": 20,
834
- "start": 8123
835
- },
836
- {
837
- "length": 20,
838
- "start": 8519
839
- },
840
- {
841
- "length": 20,
842
- "start": 9158
843
- },
844
- {
845
- "length": 20,
846
- "start": 9664
847
- },
848
- {
849
- "length": 20,
850
- "start": 10306
851
- },
852
- {
853
- "length": 20,
854
- "start": 11031
855
- },
1271
+ "start": 10870
1272
+ }
1273
+ ]
1274
+ },
1275
+ "contracts/type/NftId.sol": {
1276
+ "NftIdLib": [
856
1277
  {
857
1278
  "length": 20,
858
- "start": 11240
1279
+ "start": 1655
859
1280
  },
860
1281
  {
861
1282
  "length": 20,
862
- "start": 11596
1283
+ "start": 8242
863
1284
  },
864
1285
  {
865
1286
  "length": 20,
866
- "start": 11656
1287
+ "start": 12222
867
1288
  },
868
1289
  {
869
1290
  "length": 20,
870
- "start": 11716
1291
+ "start": 12877
871
1292
  }
872
1293
  ]
873
1294
  },
874
- "contracts/types/Timestamp.sol": {
875
- "TimestampLib": [
1295
+ "contracts/type/RoleId.sol": {
1296
+ "RoleIdLib": [
876
1297
  {
877
1298
  "length": 20,
878
- "start": 6830
1299
+ "start": 7428
879
1300
  }
880
1301
  ]
881
1302
  },
882
- "contracts/types/Version.sol": {
1303
+ "contracts/type/Version.sol": {
883
1304
  "VersionLib": [
884
1305
  {
885
1306
  "length": 20,
886
- "start": 1447
887
- },
888
- {
889
- "length": 20,
890
- "start": 3798
891
- },
892
- {
893
- "length": 20,
894
- "start": 4293
895
- },
896
- {
897
- "length": 20,
898
- "start": 4981
899
- },
900
- {
901
- "length": 20,
902
- "start": 5102
903
- },
904
- {
905
- "length": 20,
906
- "start": 7710
907
- },
908
- {
909
- "length": 20,
910
- "start": 7831
911
- },
912
- {
913
- "length": 20,
914
- "start": 8753
915
- },
916
- {
917
- "length": 20,
918
- "start": 8874
1307
+ "start": 1455
919
1308
  },
920
1309
  {
921
1310
  "length": 20,
922
- "start": 9898
923
- },
1311
+ "start": 3622
1312
+ }
1313
+ ],
1314
+ "VersionPartLib": [
924
1315
  {
925
1316
  "length": 20,
926
- "start": 10019
1317
+ "start": 12556
927
1318
  }
928
1319
  ]
929
1320
  }