@etherisc/gif-next 0.0.2-d288ca9-933 → 0.0.2-d2f2474-604

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