@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e7a5428-226

Sign up to get free protection for your applications and to get access to all the features.
Files changed (577) hide show
  1. package/README.md +133 -10
  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/authorization/IAccess.sol/IAccess.json +10 -0
  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 +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +146 -607
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +767 -301
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +288 -118
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +152 -273
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +553 -77
  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 +595 -96
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +497 -75
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +617 -250
  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 +1789 -713
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +509 -220
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +204 -96
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1109 -817
  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 +1 -1
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  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 +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +582 -235
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +278 -96
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +398 -49
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +151 -394
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +770 -365
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  138. package/artifacts/contracts/pool/Pool.sol/Pool.json +148 -682
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +940 -518
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +283 -97
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +382 -166
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +222 -92
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +502 -230
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +251 -113
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +436 -101
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +202 -80
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +291 -264
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +295 -150
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +564 -292
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +259 -97
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +262 -299
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +220 -122
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  180. package/artifacts/contracts/product/Product.sol/Product.json +322 -596
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +454 -42
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +275 -193
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  195. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/Registry.sol/Registry.json +806 -97
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1061 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +320 -312
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +206 -94
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +257 -147
  215. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Component.sol/Component.json +92 -277
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +632 -542
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +241 -115
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +99 -94
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +549 -228
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +138 -130
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +51 -19
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +131 -366
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +61 -104
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +45 -55
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -98
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  266. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1388 -635
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
  278. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  279. package/artifacts/contracts/staking/Staking.sol/Staking.json +1703 -957
  280. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  282. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +274 -92
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +544 -0
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +751 -212
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +215 -85
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2637 -0
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +657 -0
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +81 -17
  302. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +26 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +126 -142
  371. package/contracts/distribution/DistributionService.sol +288 -137
  372. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  373. package/contracts/distribution/IDistributionComponent.sol +22 -43
  374. package/contracts/distribution/IDistributionService.sol +61 -27
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +117 -49
  390. package/contracts/instance/IInstanceService.sol +80 -46
  391. package/contracts/instance/Instance.sol +252 -133
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +499 -233
  395. package/contracts/instance/InstanceService.sol +370 -218
  396. package/contracts/instance/InstanceServiceManager.sol +14 -29
  397. package/contracts/instance/InstanceStore.sol +94 -55
  398. package/contracts/instance/RiskSet.sol +126 -0
  399. package/contracts/instance/base/BalanceStore.sol +16 -13
  400. package/contracts/instance/base/Cloneable.sol +2 -25
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +6 -5
  406. package/contracts/instance/module/IComponents.sol +30 -20
  407. package/contracts/instance/module/IDistribution.sol +21 -9
  408. package/contracts/instance/module/IPolicy.sol +50 -29
  409. package/contracts/instance/module/IRisk.sol +5 -0
  410. package/contracts/mock/Dip.sol +26 -0
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +162 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  421. package/contracts/pool/BundleService.sol +225 -152
  422. package/contracts/pool/BundleServiceManager.sol +13 -25
  423. package/contracts/pool/IBundleService.sol +44 -34
  424. package/contracts/pool/IPoolComponent.sol +20 -70
  425. package/contracts/pool/IPoolService.sol +99 -76
  426. package/contracts/pool/Pool.sol +198 -164
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +448 -255
  429. package/contracts/pool/PoolServiceManager.sol +12 -24
  430. package/contracts/product/ApplicationService.sol +160 -86
  431. package/contracts/product/ApplicationServiceManager.sol +12 -9
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +389 -195
  435. package/contracts/product/ClaimServiceManager.sol +12 -9
  436. package/contracts/product/IApplicationService.sol +30 -4
  437. package/contracts/product/IClaimService.sol +52 -9
  438. package/contracts/product/IPolicyService.sol +62 -38
  439. package/contracts/product/IPricingService.sol +12 -11
  440. package/contracts/product/IProductComponent.sol +29 -9
  441. package/contracts/product/IRiskService.sol +48 -0
  442. package/contracts/product/PolicyService.sol +450 -276
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +12 -27
  445. package/contracts/product/PricingService.sol +97 -91
  446. package/contracts/product/PricingServiceManager.sol +12 -24
  447. package/contracts/product/Product.sol +263 -147
  448. package/contracts/product/RiskService.sol +190 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +72 -39
  451. package/contracts/registry/IRegistry.sol +99 -38
  452. package/contracts/registry/IRegistryService.sol +26 -43
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -2
  455. package/contracts/registry/Registry.sol +439 -232
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +309 -0
  458. package/contracts/registry/RegistryService.sol +66 -152
  459. package/contracts/registry/RegistryServiceManager.sol +23 -30
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +525 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  464. package/contracts/registry/TokenRegistry.sol +211 -81
  465. package/contracts/shared/Component.sol +71 -143
  466. package/contracts/shared/ComponentService.sol +460 -369
  467. package/contracts/shared/ComponentServiceManager.sol +10 -7
  468. package/contracts/shared/ContractLib.sol +312 -0
  469. package/contracts/shared/IComponent.sol +7 -23
  470. package/contracts/shared/IComponentService.sol +51 -31
  471. package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
  472. package/contracts/shared/IKeyValueStore.sol +3 -2
  473. package/contracts/shared/ILifecycle.sol +3 -2
  474. package/contracts/shared/INftOwnable.sol +5 -1
  475. package/contracts/shared/IPolicyHolder.sol +12 -17
  476. package/contracts/shared/IRegisterable.sol +22 -1
  477. package/contracts/shared/IService.sol +11 -6
  478. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  479. package/contracts/shared/InstanceLinkedComponent.sol +95 -46
  480. package/contracts/shared/KeyValueStore.sol +32 -70
  481. package/contracts/shared/Lifecycle.sol +30 -63
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +35 -24
  484. package/contracts/shared/PolicyHolder.sol +19 -50
  485. package/contracts/shared/Registerable.sol +52 -21
  486. package/contracts/shared/RegistryLinked.sol +9 -14
  487. package/contracts/shared/Service.sol +32 -42
  488. package/contracts/shared/TokenHandler.sol +310 -26
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +229 -42
  491. package/contracts/staking/IStakingService.sol +98 -76
  492. package/contracts/staking/Staking.sol +633 -99
  493. package/contracts/staking/StakingLib.sol +195 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +25 -20
  496. package/contracts/staking/StakingReader.sol +151 -0
  497. package/contracts/staking/StakingService.sol +174 -53
  498. package/contracts/staking/StakingServiceManager.sol +13 -8
  499. package/contracts/staking/StakingStore.sol +973 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/type/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +43 -3
  503. package/contracts/type/Blocknumber.sol +34 -16
  504. package/contracts/type/ChainId.sol +101 -0
  505. package/contracts/type/ClaimId.sol +6 -1
  506. package/contracts/type/Fee.sol +9 -9
  507. package/contracts/type/Key32.sol +2 -2
  508. package/contracts/type/Key32Set.sol +62 -0
  509. package/contracts/type/NftId.sol +16 -4
  510. package/contracts/type/NftIdSet.sol +1 -1
  511. package/contracts/type/ObjectType.sol +204 -62
  512. package/contracts/type/PayoutId.sol +10 -10
  513. package/contracts/type/Referral.sol +2 -1
  514. package/contracts/type/RequestId.sol +75 -0
  515. package/contracts/type/RiskId.sol +39 -7
  516. package/contracts/type/RoleId.sol +122 -80
  517. package/contracts/type/Seconds.sol +62 -1
  518. package/contracts/type/Selector.sol +107 -0
  519. package/contracts/type/StateId.sol +41 -2
  520. package/contracts/type/String.sol +65 -0
  521. package/contracts/type/Timestamp.sol +20 -9
  522. package/contracts/type/UFixed.sol +62 -125
  523. package/contracts/type/Version.sol +58 -7
  524. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  525. package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
  526. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  527. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  528. package/package.json +12 -8
  529. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  530. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  531. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  532. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  533. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  534. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -132
  535. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  536. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  537. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  538. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  539. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  540. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -381
  541. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  542. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
  543. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  544. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -636
  545. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  546. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -308
  547. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  548. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -688
  549. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
  550. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
  551. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  552. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  553. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  554. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  555. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  556. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  557. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  558. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  559. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  560. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  561. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  562. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  563. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  564. package/contracts/instance/BundleManager.sol +0 -126
  565. package/contracts/instance/InstanceAccessManager.sol +0 -543
  566. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -336
  567. package/contracts/instance/base/ObjectManager.sol +0 -82
  568. package/contracts/instance/module/IAccess.sol +0 -54
  569. package/contracts/product/IProductService.sol +0 -33
  570. package/contracts/product/ProductService.sol +0 -122
  571. package/contracts/product/ProductServiceManager.sol +0 -54
  572. package/contracts/registry/RegistryAccessManager.sol +0 -213
  573. package/contracts/registry/ReleaseManager.sol +0 -375
  574. package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
  575. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  576. package/contracts/shared/ComponentVerifyingService.sol +0 -111
  577. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -46,19 +46,35 @@
46
46
  "name": "ERC1167FailedCreateClone",
47
47
  "type": "error"
48
48
  },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "authority",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAuthorityInvalid",
58
+ "type": "error"
59
+ },
49
60
  {
50
61
  "inputs": [],
51
- "name": "ErrorInstanceServiceBundleManagerAuthorityMismatch",
62
+ "name": "ErrorInstanceServiceAccessManagerZero",
52
63
  "type": "error"
53
64
  },
54
65
  {
55
66
  "inputs": [],
56
- "name": "ErrorInstanceServiceBundleManagerZero",
67
+ "name": "ErrorInstanceServiceBundleSetAuthorityMismatch",
57
68
  "type": "error"
58
69
  },
59
70
  {
60
71
  "inputs": [],
61
- "name": "ErrorInstanceServiceBundleMangerInstanceMismatch",
72
+ "name": "ErrorInstanceServiceBundleSetInstanceMismatch",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorInstanceServiceBundleSetZero",
62
78
  "type": "error"
63
79
  },
64
80
  {
@@ -85,12 +101,12 @@
85
101
  },
86
102
  {
87
103
  "inputs": [],
88
- "name": "ErrorInstanceServiceInstanceAccessManagerZero",
104
+ "name": "ErrorInstanceServiceInstanceAddressZero",
89
105
  "type": "error"
90
106
  },
91
107
  {
92
108
  "inputs": [],
93
- "name": "ErrorInstanceServiceInstanceAddressZero",
109
+ "name": "ErrorInstanceServiceInstanceAdminZero",
94
110
  "type": "error"
95
111
  },
96
112
  {
@@ -149,6 +165,27 @@
149
165
  "name": "ErrorInstanceServiceInstanceStoreZero",
150
166
  "type": "error"
151
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",
187
+ "type": "error"
188
+ },
152
189
  {
153
190
  "inputs": [
154
191
  {
@@ -172,12 +209,12 @@
172
209
  },
173
210
  {
174
211
  "inputs": [],
175
- "name": "ErrorInstanceServiceMasterBundleManagerAlreadySet",
212
+ "name": "ErrorInstanceServiceMasterBundleSetAlreadySet",
176
213
  "type": "error"
177
214
  },
178
215
  {
179
216
  "inputs": [],
180
- "name": "ErrorInstanceServiceMasterInstanceAccessManagerAlreadySet",
217
+ "name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
181
218
  "type": "error"
182
219
  },
183
220
  {
@@ -192,7 +229,23 @@
192
229
  },
193
230
  {
194
231
  "inputs": [],
195
- "name": "ErrorInstanceServiceMasterOzAccessManagerAlreadySet",
232
+ "name": "ErrorInstanceServiceMasterRiskSetAlreadySet",
233
+ "type": "error"
234
+ },
235
+ {
236
+ "inputs": [
237
+ {
238
+ "internalType": "address",
239
+ "name": "instance",
240
+ "type": "address"
241
+ },
242
+ {
243
+ "internalType": "ObjectType",
244
+ "name": "objectType",
245
+ "type": "uint8"
246
+ }
247
+ ],
248
+ "name": "ErrorInstanceServiceNotInstance",
196
249
  "type": "error"
197
250
  },
198
251
  {
@@ -203,23 +256,18 @@
203
256
  "type": "uint96"
204
257
  }
205
258
  ],
206
- "name": "ErrorInstanceServiceNotInstance",
259
+ "name": "ErrorInstanceServiceNotInstanceNftId",
207
260
  "type": "error"
208
261
  },
209
262
  {
210
263
  "inputs": [
211
264
  {
212
265
  "internalType": "address",
213
- "name": "caller",
266
+ "name": "instance",
214
267
  "type": "address"
215
- },
216
- {
217
- "internalType": "NftId",
218
- "name": "instanceNftId",
219
- "type": "uint96"
220
268
  }
221
269
  ],
222
- "name": "ErrorInstanceServiceNotInstanceOwner",
270
+ "name": "ErrorInstanceServiceNotRegistered",
223
271
  "type": "error"
224
272
  },
225
273
  {
@@ -233,6 +281,21 @@
233
281
  "name": "ErrorInstanceServiceRequestUnauhorized",
234
282
  "type": "error"
235
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
+ },
236
299
  {
237
300
  "inputs": [
238
301
  {
@@ -260,6 +323,22 @@
260
323
  "name": "ErrorNftOwnableInitialOwnerZero",
261
324
  "type": "error"
262
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
+ },
263
342
  {
264
343
  "inputs": [
265
344
  {
@@ -284,7 +363,17 @@
284
363
  },
285
364
  {
286
365
  "inputs": [],
287
- "name": "ErrorServiceNotImplemented",
366
+ "name": "ErrorRegisterableNotActive",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "ErrorVersionableInitializeNotImplemented",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "ErrorVersionableUpgradeNotImplemented",
288
377
  "type": "error"
289
378
  },
290
379
  {
@@ -297,6 +386,11 @@
297
386
  "name": "NotInitializing",
298
387
  "type": "error"
299
388
  },
389
+ {
390
+ "inputs": [],
391
+ "name": "ReentrancyGuardReentrantCall",
392
+ "type": "error"
393
+ },
300
394
  {
301
395
  "anonymous": false,
302
396
  "inputs": [
@@ -328,48 +422,94 @@
328
422
  "inputs": [
329
423
  {
330
424
  "indexed": false,
331
- "internalType": "address",
332
- "name": "clonedOzAccessManager",
333
- "type": "address"
425
+ "internalType": "NftId",
426
+ "name": "instanceNftId",
427
+ "type": "uint96"
334
428
  },
335
429
  {
336
430
  "indexed": false,
337
431
  "internalType": "address",
338
- "name": "clonedInstanceAccessManager",
432
+ "name": "instance",
339
433
  "type": "address"
340
- },
434
+ }
435
+ ],
436
+ "name": "LogInstanceServiceInstanceCreated",
437
+ "type": "event"
438
+ },
439
+ {
440
+ "anonymous": false,
441
+ "inputs": [
341
442
  {
342
443
  "indexed": false,
343
- "internalType": "address",
344
- "name": "clonedInstance",
345
- "type": "address"
444
+ "internalType": "NftId",
445
+ "name": "instanceNftId",
446
+ "type": "uint96"
346
447
  },
347
448
  {
348
449
  "indexed": false,
349
- "internalType": "address",
350
- "name": "clonedInstanceStore",
351
- "type": "address"
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"
352
466
  },
353
467
  {
354
468
  "indexed": false,
355
469
  "internalType": "address",
356
- "name": "clonedBundleManager",
470
+ "name": "newInstanceReader",
357
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"
358
485
  },
359
486
  {
360
487
  "indexed": false,
361
488
  "internalType": "address",
362
- "name": "clonedInstanceReader",
489
+ "name": "newInstanceReader",
363
490
  "type": "address"
364
- },
491
+ }
492
+ ],
493
+ "name": "LogInstanceServiceMasterInstanceReaderUpgraded",
494
+ "type": "event"
495
+ },
496
+ {
497
+ "anonymous": false,
498
+ "inputs": [
365
499
  {
366
500
  "indexed": false,
367
501
  "internalType": "NftId",
368
- "name": "clonedInstanceNftId",
502
+ "name": "nftId",
369
503
  "type": "uint96"
504
+ },
505
+ {
506
+ "indexed": false,
507
+ "internalType": "address",
508
+ "name": "owner",
509
+ "type": "address"
370
510
  }
371
511
  ],
372
- "name": "LogInstanceCloned",
512
+ "name": "LogNftOwnableNftLinkedToAddress",
373
513
  "type": "event"
374
514
  },
375
515
  {
@@ -426,33 +566,40 @@
426
566
  },
427
567
  {
428
568
  "inputs": [
429
- {
430
- "internalType": "NftId",
431
- "name": "instanceNftId",
432
- "type": "uint96"
433
- },
434
569
  {
435
570
  "internalType": "address",
436
- "name": "targetAddress",
571
+ "name": "target",
437
572
  "type": "address"
438
573
  },
439
574
  {
440
- "internalType": "string",
441
- "name": "targetName",
442
- "type": "string"
443
- },
444
- {
445
- "internalType": "bytes4[][]",
446
- "name": "selectors",
447
- "type": "bytes4[][]"
575
+ "internalType": "RoleId",
576
+ "name": "roleId",
577
+ "type": "uint64"
448
578
  },
449
579
  {
450
- "internalType": "RoleId[]",
451
- "name": "roles",
452
- "type": "uint64[]"
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[]"
453
600
  }
454
601
  ],
455
- "name": "createComponentTarget",
602
+ "name": "authorizeFunctions",
456
603
  "outputs": [],
457
604
  "stateMutability": "nonpayable",
458
605
  "type": "function"
@@ -460,49 +607,75 @@
460
607
  {
461
608
  "inputs": [
462
609
  {
463
- "internalType": "NftId",
464
- "name": "instanceNftId",
465
- "type": "uint96"
466
- },
610
+ "internalType": "bool",
611
+ "name": "allowAnyToken",
612
+ "type": "bool"
613
+ }
614
+ ],
615
+ "name": "createInstance",
616
+ "outputs": [
467
617
  {
468
- "internalType": "address",
469
- "name": "targetAddress",
618
+ "internalType": "contract IInstance",
619
+ "name": "instance",
470
620
  "type": "address"
471
621
  },
622
+ {
623
+ "internalType": "NftId",
624
+ "name": "instanceNftId",
625
+ "type": "uint96"
626
+ }
627
+ ],
628
+ "stateMutability": "nonpayable",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [
472
633
  {
473
634
  "internalType": "string",
474
- "name": "targetName",
635
+ "name": "roleName",
475
636
  "type": "string"
476
637
  },
477
638
  {
478
- "internalType": "bytes4[][]",
479
- "name": "selectors",
480
- "type": "bytes4[][]"
639
+ "internalType": "RoleId",
640
+ "name": "adminRoleId",
641
+ "type": "uint64"
481
642
  },
482
643
  {
483
- "internalType": "RoleId[]",
484
- "name": "roles",
485
- "type": "uint64[]"
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"
486
655
  }
487
656
  ],
488
- "name": "createGifTarget",
489
- "outputs": [],
490
657
  "stateMutability": "nonpayable",
491
658
  "type": "function"
492
659
  },
493
660
  {
494
- "inputs": [],
495
- "name": "createInstanceClone",
496
- "outputs": [
661
+ "inputs": [
497
662
  {
498
- "internalType": "contract Instance",
499
- "name": "clonedInstance",
663
+ "internalType": "address",
664
+ "name": "target",
500
665
  "type": "address"
501
666
  },
502
667
  {
503
- "internalType": "NftId",
504
- "name": "clonedInstanceNftId",
505
- "type": "uint96"
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"
506
679
  }
507
680
  ],
508
681
  "stateMutability": "nonpayable",
@@ -514,7 +687,7 @@
514
687
  "outputs": [
515
688
  {
516
689
  "internalType": "ObjectType",
517
- "name": "",
690
+ "name": "serviceDomain",
518
691
  "type": "uint8"
519
692
  }
520
693
  ],
@@ -625,112 +798,57 @@
625
798
  },
626
799
  {
627
800
  "inputs": [],
628
- "name": "getVersion",
801
+ "name": "getRelease",
629
802
  "outputs": [
630
803
  {
631
- "internalType": "Version",
632
- "name": "",
633
- "type": "uint24"
804
+ "internalType": "VersionPart",
805
+ "name": "release",
806
+ "type": "uint8"
634
807
  }
635
808
  ],
636
- "stateMutability": "pure",
809
+ "stateMutability": "view",
637
810
  "type": "function"
638
811
  },
639
812
  {
640
813
  "inputs": [],
641
- "name": "initializeERC165",
642
- "outputs": [],
643
- "stateMutability": "nonpayable",
644
- "type": "function"
645
- },
646
- {
647
- "inputs": [
648
- {
649
- "internalType": "address",
650
- "name": "initialOwner",
651
- "type": "address"
652
- },
653
- {
654
- "internalType": "address",
655
- "name": "registryAddress",
656
- "type": "address"
657
- }
658
- ],
659
- "name": "initializeNftOwnable",
660
- "outputs": [],
661
- "stateMutability": "nonpayable",
662
- "type": "function"
663
- },
664
- {
665
- "inputs": [
666
- {
667
- "internalType": "address",
668
- "name": "registryAddress",
669
- "type": "address"
670
- },
671
- {
672
- "internalType": "NftId",
673
- "name": "parentNftId",
674
- "type": "uint96"
675
- },
676
- {
677
- "internalType": "ObjectType",
678
- "name": "objectType",
679
- "type": "uint8"
680
- },
681
- {
682
- "internalType": "bool",
683
- "name": "isInterceptor",
684
- "type": "bool"
685
- },
686
- {
687
- "internalType": "address",
688
- "name": "initialOwner",
689
- "type": "address"
690
- },
814
+ "name": "getRoleId",
815
+ "outputs": [
691
816
  {
692
- "internalType": "bytes",
693
- "name": "registryData",
694
- "type": "bytes"
817
+ "internalType": "RoleId",
818
+ "name": "serviceRoleId",
819
+ "type": "uint64"
695
820
  }
696
821
  ],
697
- "name": "initializeRegisterable",
698
- "outputs": [],
699
- "stateMutability": "nonpayable",
822
+ "stateMutability": "view",
700
823
  "type": "function"
701
824
  },
702
825
  {
703
- "inputs": [
826
+ "inputs": [],
827
+ "name": "getVersion",
828
+ "outputs": [
704
829
  {
705
- "internalType": "address",
706
- "name": "registryAddress",
707
- "type": "address"
830
+ "internalType": "Version",
831
+ "name": "",
832
+ "type": "uint24"
708
833
  }
709
834
  ],
710
- "name": "initializeRegistryLinked",
711
- "outputs": [],
712
- "stateMutability": "nonpayable",
835
+ "stateMutability": "pure",
713
836
  "type": "function"
714
837
  },
715
838
  {
716
839
  "inputs": [
717
840
  {
718
- "internalType": "address",
719
- "name": "registry",
720
- "type": "address"
721
- },
722
- {
723
- "internalType": "address",
724
- "name": "authority",
725
- "type": "address"
841
+ "internalType": "RoleId",
842
+ "name": "roleId",
843
+ "type": "uint64"
726
844
  },
727
845
  {
728
846
  "internalType": "address",
729
- "name": "initialOwner",
847
+ "name": "account",
730
848
  "type": "address"
731
849
  }
732
850
  ],
733
- "name": "initializeService",
851
+ "name": "grantRole",
734
852
  "outputs": [],
735
853
  "stateMutability": "nonpayable",
736
854
  "type": "function"
@@ -753,6 +871,19 @@
753
871
  "stateMutability": "nonpayable",
754
872
  "type": "function"
755
873
  },
874
+ {
875
+ "inputs": [],
876
+ "name": "isActive",
877
+ "outputs": [
878
+ {
879
+ "internalType": "bool",
880
+ "name": "active",
881
+ "type": "bool"
882
+ }
883
+ ],
884
+ "stateMutability": "view",
885
+ "type": "function"
886
+ },
756
887
  {
757
888
  "inputs": [],
758
889
  "name": "isConsumingScheduledOp",
@@ -769,19 +900,54 @@
769
900
  {
770
901
  "inputs": [],
771
902
  "name": "linkToRegisteredNftId",
772
- "outputs": [],
903
+ "outputs": [
904
+ {
905
+ "internalType": "NftId",
906
+ "name": "nftId",
907
+ "type": "uint96"
908
+ }
909
+ ],
773
910
  "stateMutability": "nonpayable",
774
911
  "type": "function"
775
912
  },
776
913
  {
777
914
  "inputs": [
778
915
  {
779
- "internalType": "bytes4",
780
- "name": "interfaceId",
781
- "type": "bytes4"
916
+ "internalType": "address",
917
+ "name": "rewardProvider",
918
+ "type": "address"
919
+ },
920
+ {
921
+ "internalType": "Amount",
922
+ "name": "dipAmount",
923
+ "type": "uint96"
924
+ }
925
+ ],
926
+ "name": "refillInstanceRewardReserves",
927
+ "outputs": [
928
+ {
929
+ "internalType": "Amount",
930
+ "name": "newBalance",
931
+ "type": "uint96"
932
+ }
933
+ ],
934
+ "stateMutability": "nonpayable",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [
939
+ {
940
+ "internalType": "RoleId",
941
+ "name": "roleId",
942
+ "type": "uint64"
943
+ },
944
+ {
945
+ "internalType": "address",
946
+ "name": "account",
947
+ "type": "address"
782
948
  }
783
949
  ],
784
- "name": "registerInterface",
950
+ "name": "revokeRole",
785
951
  "outputs": [],
786
952
  "stateMutability": "nonpayable",
787
953
  "type": "function"
@@ -826,7 +992,64 @@
826
992
  "type": "bool"
827
993
  }
828
994
  ],
829
- "name": "setComponentLocked",
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
+ },
1007
+ {
1008
+ "internalType": "bool",
1009
+ "name": "active",
1010
+ "type": "bool"
1011
+ }
1012
+ ],
1013
+ "name": "setRoleActive",
1014
+ "outputs": [],
1015
+ "stateMutability": "nonpayable",
1016
+ "type": "function"
1017
+ },
1018
+ {
1019
+ "inputs": [
1020
+ {
1021
+ "internalType": "Seconds",
1022
+ "name": "stakeLockingPeriod",
1023
+ "type": "uint40"
1024
+ }
1025
+ ],
1026
+ "name": "setStakingLockingPeriod",
1027
+ "outputs": [],
1028
+ "stateMutability": "nonpayable",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [
1033
+ {
1034
+ "internalType": "Amount",
1035
+ "name": "maxStakedAmount",
1036
+ "type": "uint96"
1037
+ }
1038
+ ],
1039
+ "name": "setStakingMaxAmount",
1040
+ "outputs": [],
1041
+ "stateMutability": "nonpayable",
1042
+ "type": "function"
1043
+ },
1044
+ {
1045
+ "inputs": [
1046
+ {
1047
+ "internalType": "UFixed",
1048
+ "name": "rewardRate",
1049
+ "type": "uint160"
1050
+ }
1051
+ ],
1052
+ "name": "setStakingRewardRate",
830
1053
  "outputs": [],
831
1054
  "stateMutability": "nonpayable",
832
1055
  "type": "function"
@@ -835,11 +1058,16 @@
835
1058
  "inputs": [
836
1059
  {
837
1060
  "internalType": "address",
838
- "name": "instanceReaderAddress",
1061
+ "name": "target",
839
1062
  "type": "address"
1063
+ },
1064
+ {
1065
+ "internalType": "bool",
1066
+ "name": "locked",
1067
+ "type": "bool"
840
1068
  }
841
1069
  ],
842
- "name": "setMasterInstanceReader",
1070
+ "name": "setTargetLocked",
843
1071
  "outputs": [],
844
1072
  "stateMutability": "nonpayable",
845
1073
  "type": "function"
@@ -866,16 +1094,58 @@
866
1094
  {
867
1095
  "inputs": [
868
1096
  {
869
- "internalType": "NftId",
870
- "name": "instanceNftId",
871
- "type": "uint96"
1097
+ "internalType": "address",
1098
+ "name": "target",
1099
+ "type": "address"
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[]"
872
1122
  }
873
1123
  ],
1124
+ "name": "unauthorizeFunctions",
1125
+ "outputs": [],
1126
+ "stateMutability": "nonpayable",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [],
874
1131
  "name": "upgradeInstanceReader",
875
1132
  "outputs": [],
876
1133
  "stateMutability": "nonpayable",
877
1134
  "type": "function"
878
1135
  },
1136
+ {
1137
+ "inputs": [
1138
+ {
1139
+ "internalType": "address",
1140
+ "name": "instanceReaderAddress",
1141
+ "type": "address"
1142
+ }
1143
+ ],
1144
+ "name": "upgradeMasterInstanceReader",
1145
+ "outputs": [],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function"
1148
+ },
879
1149
  {
880
1150
  "inputs": [
881
1151
  {
@@ -888,16 +1158,51 @@
888
1158
  "outputs": [],
889
1159
  "stateMutability": "nonpayable",
890
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"
891
1180
  }
892
1181
  ],
893
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613fc980620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80637a9e5e4b11610104578063b68d1809116100a2578063edabac0311610071578063edabac0314610431578063eeff428e14610442578063f7c34ee014610471578063feec11901461048457600080fd5b8063b68d1809146103f4578063bf7e214f14610403578063c22f980d1461040b578063dd38b49e1461041e57600080fd5b80638e32e979116100de5780638e32e979146103985780638fb36037146103ab578063ada9652e146103cc578063b03d2a8e146103e157600080fd5b80637a9e5e4b14610375578063872309c714610388578063893d20e81461039057600080fd5b8063329d6e741161017c578063644c45e01161014b578063644c45e01461030a578063675393bf1461033c5780636a778e731461034f5780636c6fbb281461036257600080fd5b8063329d6e74146102b757806336fc697e146102ca57806349bb9e4b146102d25780635ab1bd53146102e557600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461338b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610497565b60405162ffffff9091168152602001610218565b610245610521565b60405161021891906133fd565b61025a6106e5565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f36600461338b565b6108ec565b61025a6102b23660046135c2565b610919565b61025a6102c536600461365a565b6109be565b61025a610b0b565b61025a6102e036600461368e565b610b51565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b600080516020613f34833981519152546001600160601b03165b6040516001600160601b039091168152602001610218565b61025a61034a3660046136dd565b610c50565b61032461035d3660046136dd565b610d5e565b61025a610370366004613888565b611615565b61025a6103833660046136dd565b611635565b610283600081565b6102f26116b8565b61025a6103a636600461394c565b6117ef565b6103b3611a28565b6040516001600160e01b03199091168152602001610218565b610283600080516020613f3483398151915281565b61025a6103ef366004613997565b611a60565b60405160468152602001610218565b6102f2611d6f565b61025a6104193660046139b4565b611d8b565b61025a61042c366004613888565b611621565b6006546001600160a01b03166102f2565b61044a611fb6565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61025a61047f3660046139d1565b61284b565b61025a6104923660046136dd565b6128c2565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613a0a565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190613a3a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106416116b8565b6001600160a01b0316815260200182600101805461065e90613a57565b80601f016020809104026020016040519081016040528092919081815260200182805461068a90613a57565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b505050505081525091505090565b6000600080516020613f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107789190613a9c565b156107a95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bc6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108289190613a9c565b6108505760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c89190613a3a565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f4612a3a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610921612a3a565b61092b828761284b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109b48382613aff565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109e0610497565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a449190613bbe565b600080516020613f748339815191528054600160401b900460ff1680610a77575080546001600160401b03808416911610155b15610a955760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610abf83612a73565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b13612a3a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020613f748339815191528054600160401b810460ff1615906001600160401b0316600081158015610b845750825b90506000826001600160401b03166001148015610ba05750303b155b905081158015610bae575080155b15610bcc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bf657845460ff60401b1916600160401b1785555b610c008787612a7b565b8315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c58612a3a565b806001600160a01b03163b600003610c8e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610d08575060408051601f3d908101601f19168201909252610d0591810190613a9c565b60015b610d305760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b80610d595760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a0565b505b50565b6000610d686116b8565b6001600160a01b0316336001600160a01b031614610d9b5760405163086391f760e31b81523360048201526024016107a0565b6005546001600160a01b031615610dc557604051632c237de760e11b815260040160405180910390fd5b6003546001600160a01b031615610def57604051636519f6b960e01b815260040160405180910390fd5b6004546001600160a01b031615610e1957604051630157f74960e01b815260040160405180910390fd5b6007546001600160a01b031615610e4357604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610e6a576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed39190613bdb565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e9190613bdb565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190613bdb565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190613bdb565b9050806001600160a01b03871661103e5760405163459e9b9760e01b815260040160405180910390fd5b6001600160a01b0385166110655760405163e267254160e01b815260040160405180910390fd5b6001600160a01b03831661108c57604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b0381166110b3576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111159190613bdb565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561115c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111809190613bdb565b6001600160a01b0316146111a7576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112099190613bdb565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112749190613bdb565b6001600160a01b03161461129b576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fd9190613bdb565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190613bdb565b6001600160a01b03161461138f57604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190613bdb565b6001600160a01b03161461142257604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e9190613bdb565b6001600160a01b0316146114b5576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115179190613bdb565b600380546001600160a01b03199081166001600160a01b03938416179091556004805482168a84161790556005805482168e8416908117909155600680548316898516179055600780548316878516179055600880549092168484161790915560025490916000911663026bc43b8361158e6116b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156115db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116039190810190613c53565b519d9c50505050505050505050505050565b61162133600036612cbc565b61162e8585858486612dc2565b5050505050565b3361163e611d6f565b6001600160a01b0316816001600160a01b0316146116795760405162d1953b60e31b81526001600160a01b03821660048201526024016107a0565b816001600160a01b03163b6000036116af576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a0565b610d5982612f4b565b600080600080516020613f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174c9190613a9c565b156117d9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d39190613bdb565b91505090565b54600160601b90046001600160a01b0316919050565b6117f7612a3a565b61187783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190613a3a565b603c60008560405180602001604052806000815250610919565b6001600160a01b038216156118945761188f82612fac565b611a03565b60006118a86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c9190613d25565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190613bdb565b9050611a01816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190613bdb565b612fac565b505b611a13634a531f3360e01b6108ec565b611a2363b68d180960e01b6108ec565b505050565b600080516020613f54833981519152805460009190600160a01b900460ff16611a525760006117d3565b638fb3603760e01b91505090565b6040516301ffc9a760e01b8152639a29895960e01b6004820152339081906301ffc9a790602401602060405180830381865afa158015611aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac89190613a9c565b611aef576040516236c14d60e71b81526001600160a01b03821660048201526024016107a0565b6000611b036001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611b4f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b779190810190613c53565b60200151604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfa9190613a9c565b15611c235760405163aef351c360e01b81526001600160a01b03841660048201526024016107a0565b6040516305247a1760e51b81526001600160601b03821660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611c73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c9b9190810190613c53565b608001519050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d039190613bdb565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611d5057600080fd5b505af1158015611d64573d6000803e3d6000fd5b505050505050505050565b600080516020613f54833981519152546001600160a01b031690565b80611d9e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e119190613bdb565b6001600160a01b0316336001600160a01b031614611e44576040516302613e9f60e51b81523360048201526024016107a0565b6000611e586001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611eab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed39190810190613c53565b608081015160065491925090600090611ef4906001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611f3b57600080fd5b505af1158015611f4f573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b158015611f9657600080fd5b505af1158015611faa573d6000803e3d6000fd5b50505050505050505050565b600354600090819033908290611fd4906001600160a01b0316612fbd565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b15801561201857600080fd5b505af115801561202c573d6000803e3d6000fd5b505060055461204692506001600160a01b03169050612fbd565b9350836001600160a01b031663c0c53b8b8261206a6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b1580156120bb57600080fd5b505af11580156120cf573d6000803e3d6000fd5b5050600854600092506120eb91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561213257600080fd5b505af1158015612146573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561218d57600080fd5b505af11580156121a1573d6000803e3d6000fd5b5050600654600092506121bd91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561220457600080fd5b505af1158015612218573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b15801561225f57600080fd5b505af1158015612273573d6000803e3d6000fd5b50506007546000925061228f91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156122d657600080fd5b505af11580156122ea573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b15801561233057600080fd5b505af1158015612344573d6000803e3d6000fd5b50506004546000925061236091506001600160a01b0316612fbd565b9050846001600160a01b03166325c471a061237961302f565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156123d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f69190613bbe565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b15801561244d57600080fd5b505af1158015612461573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b1580156124a857600080fd5b505af11580156124bc573d6000803e3d6000fd5b5050604051630f749a8960e01b81526001600160a01b0384811660048301528b169250630f749a899150602401600060405180830381600087803b15801561250357600080fd5b505af1158015612517573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__63a1b61ad4828a85888b61254c6001546001600160a01b031690565b612554610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156125a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cd9190613d25565b60405160e089901b6001600160e01b03191681526001600160a01b0397881660048201529587166024870152938616604486015291851660648501528416608484015290921660a482015260ff90911660c482015260e40160006040518083038186803b15801561263d57600080fd5b505af4158015612651573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f561266c61302f565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156126c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e99190613bbe565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b15801561273057600080fd5b505af1158015612744573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af115801561279f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127c79190810190613c53565b8051604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b03831660c08201529051919a509192507eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d9181900360e00190a1505050505050509091565b612853612a3a565b61285c81610c50565b612864610b0b565b6001600160a01b03821661288b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613f3483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6128ca6116b8565b6001600160a01b0316336001600160a01b0316146128fd5760405163086391f760e31b81523360048201526024016107a0565b6006546001600160a01b0316612926576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661294d57604051631aa1808560e31b815260040160405180910390fd5b6006546001600160a01b039081169082160361297c57604051630666e2a560e01b815260040160405180910390fd5b6005546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa1580156129cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f09190613bdb565b6001600160a01b031614612a175760405163f026367160e01b815260040160405180910390fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080516020613f7483398151915254600160401b900460ff16612a7157604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612a3a565b600080516020613f748339815191528054600160401b810460ff1615906001600160401b0316600081158015612aae5750825b90506000826001600160401b03166001148015612aca5750303b155b905081158015612ad8575080155b15612af65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612b2057845460ff60401b1916600160401b1785555b60008087806020019051810190612b379190613d42565b91509150816001600160a01b031663d39e6043612b52602890565b612b5a610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd39190613d25565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3c9190613bdb565b600280546001600160a01b0319166001600160a01b0392909216919091179055612c688260008b6117ef565b612c786377cab3db60e11b6108ec565b50508315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c3e565b600080516020613f54833981519152600080612cf7612cd9611d6f565b8730612ce9600460008a8c613d71565b612cf291613d9b565b6130a6565b9150915081612dba5763ffffffff811615612d9757825460ff60a01b1916600160a01b178355612d25611d6f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612d5493929190613dcb565b600060405180830381600087803b158015612d6e57600080fd5b505af1158015612d82573d6000803e3d6000fd5b5050845460ff60a01b1916855550612dba9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107a0565b505050505050565b6000612dce86866131b2565b5090506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e359190613bdb565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090612e669089908990600401613e0b565b600060405180830381600087803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b5050505060005b84518110156109b457816001600160a01b0316630c8ae53e87868481518110612ec657612ec6613e2f565b6020026020010151888581518110612ee057612ee0613e2f565b60200260200101516040518463ffffffff1660e01b8152600401612f0693929190613e45565b600060405180830381600087803b158015612f2057600080fd5b505af1158015612f34573d6000803e3d6000fd5b505050508080612f4390613eb8565b915050612e9b565b600080516020613f5483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612fb4612a3a565b610d5b81613362565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b03811661302a576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613082573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613bbe565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131159190613edf565b600060405180830381855afa9150503d8060008114613150576040519150601f19603f3d011682016040523d82523d6000602084013e613155565b606091505b509150915081156131a7576040815110613187578080602001905181019061317d9190613efb565b90945092506131a7565b60208151106131a757808060200190518101906131a49190613a9c565b93505b505094509492505050565b60008060006131c96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561321c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132449190810190613c53565b90506132628160400151613256604690565b60ff9081169116141590565b1561328b5760405163e3c2794960e01b81526001600160601b03871660048201526024016107a0565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa1580156132d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132fd9190810190613c53565b905061331a8160200151886001600160601b039081169116141590565b1561334e57805160405163a811346560e01b81526001600160601b03808a16600483015290911660248201526044016107a0565b608090910151905190969095509350505050565b61336a612a3a565b610d5b81612f4b565b80356001600160e01b03198116811461302a57600080fd5b60006020828403121561339d57600080fd5b6133a682613373565b9392505050565b60005b838110156133c85781810151838201526020016133b0565b50506000910152565b600081518084526133e98160208601602086016133ad565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161346660c08401826001600160a01b03169052565b5060c083015160e0808401526134806101008401826133d1565b949350505050565b6001600160a01b0381168114610d5b57600080fd5b6001600160601b0381168114610d5b57600080fd5b60ff81168114610d5b57600080fd5b8015158114610d5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613507576135076134cf565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613535576135356134cf565b604052919050565b60006001600160401b03821115613556576135566134cf565b50601f01601f191660200190565b60006135776135728461353d565b61350d565b905082815283838301111561358b57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126135b357600080fd5b6133a683833560208501613564565b60008060008060008060c087890312156135db57600080fd5b86356135e681613488565b955060208701356135f68161349d565b94506040870135613606816134b2565b93506060870135613616816134c1565b9250608087013561362681613488565b915060a08701356001600160401b0381111561364157600080fd5b61364d89828a016135a2565b9150509295509295509295565b60006020828403121561366c57600080fd5b81356001600160401b0381111561368257600080fd5b613480848285016135a2565b600080604083850312156136a157600080fd5b82356136ac81613488565b915060208301356001600160401b038111156136c757600080fd5b6136d3858286016135a2565b9150509250929050565b6000602082840312156136ef57600080fd5b81356133a681613488565b60006001600160401b03821115613713576137136134cf565b5060051b60200190565b600082601f83011261372e57600080fd5b8135602061373e613572836136fa565b828152600592831b850182019282820191908785111561375d57600080fd5b8387015b858110156137f75780356001600160401b038111156137805760008081fd5b8801603f81018a136137925760008081fd5b8581013560406137a4613572836136fa565b82815291851b8301810191888101908d8411156137c15760008081fd5b938201935b838510156137e6576137d785613373565b825293890193908901906137c6565b885250505093850193508401613761565b5090979650505050505050565b6001600160401b0381168114610d5b57600080fd5b600082601f83011261382a57600080fd5b8135602061383a613572836136fa565b82815260059290921b8401810191818101908684111561385957600080fd5b8286015b8481101561387d57803561387081613804565b835291830191830161385d565b509695505050505050565b600080600080600060a086880312156138a057600080fd5b85356138ab8161349d565b945060208601356138bb81613488565b935060408601356001600160401b03808211156138d757600080fd5b818801915088601f8301126138eb57600080fd5b6138fa89833560208501613564565b9450606088013591508082111561391057600080fd5b61391c89838a0161371d565b9350608088013591508082111561393257600080fd5b5061393f88828901613819565b9150509295509295909350565b60008060006060848603121561396157600080fd5b833561396c81613488565b9250602084013561397c81613488565b9150604084013561398c81613488565b809150509250925092565b6000602082840312156139a957600080fd5b81356133a6816134c1565b6000602082840312156139c657600080fd5b81356133a68161349d565b600080604083850312156139e457600080fd5b82356139ef81613488565b915060208301356139ff81613488565b809150509250929050565b600060208284031215613a1c57600080fd5b815162ffffff811681146133a657600080fd5b805161302a8161349d565b600060208284031215613a4c57600080fd5b81516133a68161349d565b600181811c90821680613a6b57607f821691505b602082108103613a8b57634e487b7160e01b600052602260045260246000fd5b50919050565b805161302a816134c1565b600060208284031215613aae57600080fd5b81516133a6816134c1565b601f821115611a2357600081815260208120601f850160051c81016020861015613ae05750805b601f850160051c820191505b81811015612dba57828155600101613aec565b81516001600160401b03811115613b1857613b186134cf565b613b2c81613b268454613a57565b84613ab9565b602080601f831160018114613b615760008415613b495750858301515b600019600386901b1c1916600185901b178555612dba565b600085815260208120601f198616915b82811015613b9057888601518255948401946001909101908401613b71565b5085821015613bae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613bd057600080fd5b81516133a681613804565b600060208284031215613bed57600080fd5b81516133a681613488565b805161302a81613488565b805161302a816134b2565b600082601f830112613c1f57600080fd5b8151613c2d6135728261353d565b818152846020838601011115613c4257600080fd5b6134808260208301602087016133ad565b600060208284031215613c6557600080fd5b81516001600160401b0380821115613c7c57600080fd5b9083019060e08286031215613c9057600080fd5b613c986134e5565b613ca183613a2f565b8152613caf60208401613a2f565b6020820152613cc060408401613c03565b6040820152613cd160608401613a91565b6060820152613ce260808401613bf8565b6080820152613cf360a08401613bf8565b60a082015260c083015182811115613d0a57600080fd5b613d1687828601613c0e565b60c08301525095945050505050565b600060208284031215613d3757600080fd5b81516133a6816134b2565b60008060408385031215613d5557600080fd5b8251613d6081613488565b60208401519092506139ff81613488565b60008085851115613d8157600080fd5b83861115613d8e57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015613dc35780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b0383168152604060208201819052600090613480908301846133d1565b634e487b7160e01b600052603260045260246000fd5b606081526000613e5860608301866133d1565b82810360208481019190915285518083528682019282019060005b81811015613e995784516001600160e01b03191683529383019391830191600101613e73565b50508093505050506001600160401b0383166040830152949350505050565b600060018201613ed857634e487b7160e01b600052601160045260246000fd5b5060010190565b60008251613ef18184602087016133ad565b9190910192915050565b60008060408385031215613f0e57600080fd5b8251613f19816134c1565b602084015190925063ffffffff811681146139ff57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207bff0a228908fcd7d3ea39404670769a28aadde05293e0d706be0c28c830c0fa64736f6c63430008140033",
894
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80637a9e5e4b11610104578063b68d1809116100a2578063edabac0311610071578063edabac0314610431578063eeff428e14610442578063f7c34ee014610471578063feec11901461048457600080fd5b8063b68d1809146103f4578063bf7e214f14610403578063c22f980d1461040b578063dd38b49e1461041e57600080fd5b80638e32e979116100de5780638e32e979146103985780638fb36037146103ab578063ada9652e146103cc578063b03d2a8e146103e157600080fd5b80637a9e5e4b14610375578063872309c714610388578063893d20e81461039057600080fd5b8063329d6e741161017c578063644c45e01161014b578063644c45e01461030a578063675393bf1461033c5780636a778e731461034f5780636c6fbb281461036257600080fd5b8063329d6e74146102b757806336fc697e146102ca57806349bb9e4b146102d25780635ab1bd53146102e557600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461338b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610497565b60405162ffffff9091168152602001610218565b610245610521565b60405161021891906133fd565b61025a6106e5565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f36600461338b565b6108ec565b61025a6102b23660046135c2565b610919565b61025a6102c536600461365a565b6109be565b61025a610b0b565b61025a6102e036600461368e565b610b51565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b600080516020613f34833981519152546001600160601b03165b6040516001600160601b039091168152602001610218565b61025a61034a3660046136dd565b610c50565b61032461035d3660046136dd565b610d5e565b61025a610370366004613888565b611615565b61025a6103833660046136dd565b611635565b610283600081565b6102f26116b8565b61025a6103a636600461394c565b6117ef565b6103b3611a28565b6040516001600160e01b03199091168152602001610218565b610283600080516020613f3483398151915281565b61025a6103ef366004613997565b611a60565b60405160468152602001610218565b6102f2611d6f565b61025a6104193660046139b4565b611d8b565b61025a61042c366004613888565b611621565b6006546001600160a01b03166102f2565b61044a611fb6565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61025a61047f3660046139d1565b61284b565b61025a6104923660046136dd565b6128c2565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613a0a565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190613a3a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106416116b8565b6001600160a01b0316815260200182600101805461065e90613a57565b80601f016020809104026020016040519081016040528092919081815260200182805461068a90613a57565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b505050505081525091505090565b6000600080516020613f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107789190613a9c565b156107a95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bc6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108289190613a9c565b6108505760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c89190613a3a565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f4612a3a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610921612a3a565b61092b828761284b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109b48382613aff565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109e0610497565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a449190613bbe565b600080516020613f748339815191528054600160401b900460ff1680610a77575080546001600160401b03808416911610155b15610a955760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610abf83612a73565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b13612a3a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020613f748339815191528054600160401b810460ff1615906001600160401b0316600081158015610b845750825b90506000826001600160401b03166001148015610ba05750303b155b905081158015610bae575080155b15610bcc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bf657845460ff60401b1916600160401b1785555b610c008787612a7b565b8315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c58612a3a565b806001600160a01b03163b600003610c8e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610d08575060408051601f3d908101601f19168201909252610d0591810190613a9c565b60015b610d305760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b80610d595760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a0565b505b50565b6000610d686116b8565b6001600160a01b0316336001600160a01b031614610d9b5760405163086391f760e31b81523360048201526024016107a0565b6005546001600160a01b031615610dc557604051632c237de760e11b815260040160405180910390fd5b6003546001600160a01b031615610def57604051636519f6b960e01b815260040160405180910390fd5b6004546001600160a01b031615610e1957604051630157f74960e01b815260040160405180910390fd5b6007546001600160a01b031615610e4357604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610e6a576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed39190613bdb565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e9190613bdb565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190613bdb565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190613bdb565b9050806001600160a01b03871661103e5760405163459e9b9760e01b815260040160405180910390fd5b6001600160a01b0385166110655760405163e267254160e01b815260040160405180910390fd5b6001600160a01b03831661108c57604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b0381166110b3576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111159190613bdb565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561115c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111809190613bdb565b6001600160a01b0316146111a7576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112099190613bdb565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112749190613bdb565b6001600160a01b03161461129b576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fd9190613bdb565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190613bdb565b6001600160a01b03161461138f57604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190613bdb565b6001600160a01b03161461142257604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e9190613bdb565b6001600160a01b0316146114b5576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115179190613bdb565b600380546001600160a01b03199081166001600160a01b03938416179091556004805482168a84161790556005805482168e8416908117909155600680548316898516179055600780548316878516179055600880549092168484161790915560025490916000911663026bc43b8361158e6116b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156115db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116039190810190613c53565b519d9c50505050505050505050505050565b61162133600036612cbc565b61162e8585858486612dc2565b5050505050565b3361163e611d6f565b6001600160a01b0316816001600160a01b0316146116795760405162d1953b60e31b81526001600160a01b03821660048201526024016107a0565b816001600160a01b03163b6000036116af576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a0565b610d5982612f4b565b600080600080516020613f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174c9190613a9c565b156117d9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d39190613bdb565b91505090565b54600160601b90046001600160a01b0316919050565b6117f7612a3a565b61187783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190613a3a565b603c60008560405180602001604052806000815250610919565b6001600160a01b038216156118945761188f82612fac565b611a03565b60006118a86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c9190613d25565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190613bdb565b9050611a01816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190613bdb565b612fac565b505b611a13634a531f3360e01b6108ec565b611a2363b68d180960e01b6108ec565b505050565b600080516020613f54833981519152805460009190600160a01b900460ff16611a525760006117d3565b638fb3603760e01b91505090565b6040516301ffc9a760e01b8152639a29895960e01b6004820152339081906301ffc9a790602401602060405180830381865afa158015611aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac89190613a9c565b611aef576040516236c14d60e71b81526001600160a01b03821660048201526024016107a0565b6000611b036001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611b4f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b779190810190613c53565b60200151604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfa9190613a9c565b15611c235760405163aef351c360e01b81526001600160a01b03841660048201526024016107a0565b6040516305247a1760e51b81526001600160601b03821660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611c73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c9b9190810190613c53565b608001519050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d039190613bdb565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611d5057600080fd5b505af1158015611d64573d6000803e3d6000fd5b505050505050505050565b600080516020613f54833981519152546001600160a01b031690565b80611d9e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e119190613bdb565b6001600160a01b0316336001600160a01b031614611e44576040516302613e9f60e51b81523360048201526024016107a0565b6000611e586001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611eab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed39190810190613c53565b608081015160065491925090600090611ef4906001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611f3b57600080fd5b505af1158015611f4f573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b158015611f9657600080fd5b505af1158015611faa573d6000803e3d6000fd5b50505050505050505050565b600354600090819033908290611fd4906001600160a01b0316612fbd565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b15801561201857600080fd5b505af115801561202c573d6000803e3d6000fd5b505060055461204692506001600160a01b03169050612fbd565b9350836001600160a01b031663c0c53b8b8261206a6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b1580156120bb57600080fd5b505af11580156120cf573d6000803e3d6000fd5b5050600854600092506120eb91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561213257600080fd5b505af1158015612146573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561218d57600080fd5b505af11580156121a1573d6000803e3d6000fd5b5050600654600092506121bd91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561220457600080fd5b505af1158015612218573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b15801561225f57600080fd5b505af1158015612273573d6000803e3d6000fd5b50506007546000925061228f91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156122d657600080fd5b505af11580156122ea573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b15801561233057600080fd5b505af1158015612344573d6000803e3d6000fd5b50506004546000925061236091506001600160a01b0316612fbd565b9050846001600160a01b03166325c471a061237961302f565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156123d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f69190613bbe565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b15801561244d57600080fd5b505af1158015612461573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b1580156124a857600080fd5b505af11580156124bc573d6000803e3d6000fd5b5050604051630f749a8960e01b81526001600160a01b0384811660048301528b169250630f749a899150602401600060405180830381600087803b15801561250357600080fd5b505af1158015612517573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__63a1b61ad4828a85888b61254c6001546001600160a01b031690565b612554610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156125a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cd9190613d25565b60405160e089901b6001600160e01b03191681526001600160a01b0397881660048201529587166024870152938616604486015291851660648501528416608484015290921660a482015260ff90911660c482015260e40160006040518083038186803b15801561263d57600080fd5b505af4158015612651573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f561266c61302f565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156126c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e99190613bbe565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b15801561273057600080fd5b505af1158015612744573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af115801561279f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127c79190810190613c53565b8051604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b03831660c08201529051919a509192507eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d9181900360e00190a1505050505050509091565b612853612a3a565b61285c81610c50565b612864610b0b565b6001600160a01b03821661288b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613f3483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6128ca6116b8565b6001600160a01b0316336001600160a01b0316146128fd5760405163086391f760e31b81523360048201526024016107a0565b6006546001600160a01b0316612926576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661294d57604051631aa1808560e31b815260040160405180910390fd5b6006546001600160a01b039081169082160361297c57604051630666e2a560e01b815260040160405180910390fd5b6005546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa1580156129cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f09190613bdb565b6001600160a01b031614612a175760405163f026367160e01b815260040160405180910390fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080516020613f7483398151915254600160401b900460ff16612a7157604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612a3a565b600080516020613f748339815191528054600160401b810460ff1615906001600160401b0316600081158015612aae5750825b90506000826001600160401b03166001148015612aca5750303b155b905081158015612ad8575080155b15612af65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612b2057845460ff60401b1916600160401b1785555b60008087806020019051810190612b379190613d42565b91509150816001600160a01b031663d39e6043612b52602890565b612b5a610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd39190613d25565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3c9190613bdb565b600280546001600160a01b0319166001600160a01b0392909216919091179055612c688260008b6117ef565b612c786377cab3db60e11b6108ec565b50508315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c3e565b600080516020613f54833981519152600080612cf7612cd9611d6f565b8730612ce9600460008a8c613d71565b612cf291613d9b565b6130a6565b9150915081612dba5763ffffffff811615612d9757825460ff60a01b1916600160a01b178355612d25611d6f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612d5493929190613dcb565b600060405180830381600087803b158015612d6e57600080fd5b505af1158015612d82573d6000803e3d6000fd5b5050845460ff60a01b1916855550612dba9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107a0565b505050505050565b6000612dce86866131b2565b5090506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e359190613bdb565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090612e669089908990600401613e0b565b600060405180830381600087803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b5050505060005b84518110156109b457816001600160a01b0316630c8ae53e87868481518110612ec657612ec6613e2f565b6020026020010151888581518110612ee057612ee0613e2f565b60200260200101516040518463ffffffff1660e01b8152600401612f0693929190613e45565b600060405180830381600087803b158015612f2057600080fd5b505af1158015612f34573d6000803e3d6000fd5b505050508080612f4390613eb8565b915050612e9b565b600080516020613f5483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612fb4612a3a565b610d5b81613362565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b03811661302a576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613082573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613bbe565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131159190613edf565b600060405180830381855afa9150503d8060008114613150576040519150601f19603f3d011682016040523d82523d6000602084013e613155565b606091505b509150915081156131a7576040815110613187578080602001905181019061317d9190613efb565b90945092506131a7565b60208151106131a757808060200190518101906131a49190613a9c565b93505b505094509492505050565b60008060006131c96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561321c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132449190810190613c53565b90506132628160400151613256604690565b60ff9081169116141590565b1561328b5760405163e3c2794960e01b81526001600160601b03871660048201526024016107a0565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa1580156132d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132fd9190810190613c53565b905061331a8160200151886001600160601b039081169116141590565b1561334e57805160405163a811346560e01b81526001600160601b03808a16600483015290911660248201526044016107a0565b608090910151905190969095509350505050565b61336a612a3a565b610d5b81612f4b565b80356001600160e01b03198116811461302a57600080fd5b60006020828403121561339d57600080fd5b6133a682613373565b9392505050565b60005b838110156133c85781810151838201526020016133b0565b50506000910152565b600081518084526133e98160208601602086016133ad565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161346660c08401826001600160a01b03169052565b5060c083015160e0808401526134806101008401826133d1565b949350505050565b6001600160a01b0381168114610d5b57600080fd5b6001600160601b0381168114610d5b57600080fd5b60ff81168114610d5b57600080fd5b8015158114610d5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613507576135076134cf565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613535576135356134cf565b604052919050565b60006001600160401b03821115613556576135566134cf565b50601f01601f191660200190565b60006135776135728461353d565b61350d565b905082815283838301111561358b57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126135b357600080fd5b6133a683833560208501613564565b60008060008060008060c087890312156135db57600080fd5b86356135e681613488565b955060208701356135f68161349d565b94506040870135613606816134b2565b93506060870135613616816134c1565b9250608087013561362681613488565b915060a08701356001600160401b0381111561364157600080fd5b61364d89828a016135a2565b9150509295509295509295565b60006020828403121561366c57600080fd5b81356001600160401b0381111561368257600080fd5b613480848285016135a2565b600080604083850312156136a157600080fd5b82356136ac81613488565b915060208301356001600160401b038111156136c757600080fd5b6136d3858286016135a2565b9150509250929050565b6000602082840312156136ef57600080fd5b81356133a681613488565b60006001600160401b03821115613713576137136134cf565b5060051b60200190565b600082601f83011261372e57600080fd5b8135602061373e613572836136fa565b828152600592831b850182019282820191908785111561375d57600080fd5b8387015b858110156137f75780356001600160401b038111156137805760008081fd5b8801603f81018a136137925760008081fd5b8581013560406137a4613572836136fa565b82815291851b8301810191888101908d8411156137c15760008081fd5b938201935b838510156137e6576137d785613373565b825293890193908901906137c6565b885250505093850193508401613761565b5090979650505050505050565b6001600160401b0381168114610d5b57600080fd5b600082601f83011261382a57600080fd5b8135602061383a613572836136fa565b82815260059290921b8401810191818101908684111561385957600080fd5b8286015b8481101561387d57803561387081613804565b835291830191830161385d565b509695505050505050565b600080600080600060a086880312156138a057600080fd5b85356138ab8161349d565b945060208601356138bb81613488565b935060408601356001600160401b03808211156138d757600080fd5b818801915088601f8301126138eb57600080fd5b6138fa89833560208501613564565b9450606088013591508082111561391057600080fd5b61391c89838a0161371d565b9350608088013591508082111561393257600080fd5b5061393f88828901613819565b9150509295509295909350565b60008060006060848603121561396157600080fd5b833561396c81613488565b9250602084013561397c81613488565b9150604084013561398c81613488565b809150509250925092565b6000602082840312156139a957600080fd5b81356133a6816134c1565b6000602082840312156139c657600080fd5b81356133a68161349d565b600080604083850312156139e457600080fd5b82356139ef81613488565b915060208301356139ff81613488565b809150509250929050565b600060208284031215613a1c57600080fd5b815162ffffff811681146133a657600080fd5b805161302a8161349d565b600060208284031215613a4c57600080fd5b81516133a68161349d565b600181811c90821680613a6b57607f821691505b602082108103613a8b57634e487b7160e01b600052602260045260246000fd5b50919050565b805161302a816134c1565b600060208284031215613aae57600080fd5b81516133a6816134c1565b601f821115611a2357600081815260208120601f850160051c81016020861015613ae05750805b601f850160051c820191505b81811015612dba57828155600101613aec565b81516001600160401b03811115613b1857613b186134cf565b613b2c81613b268454613a57565b84613ab9565b602080601f831160018114613b615760008415613b495750858301515b600019600386901b1c1916600185901b178555612dba565b600085815260208120601f198616915b82811015613b9057888601518255948401946001909101908401613b71565b5085821015613bae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613bd057600080fd5b81516133a681613804565b600060208284031215613bed57600080fd5b81516133a681613488565b805161302a81613488565b805161302a816134b2565b600082601f830112613c1f57600080fd5b8151613c2d6135728261353d565b818152846020838601011115613c4257600080fd5b6134808260208301602087016133ad565b600060208284031215613c6557600080fd5b81516001600160401b0380821115613c7c57600080fd5b9083019060e08286031215613c9057600080fd5b613c986134e5565b613ca183613a2f565b8152613caf60208401613a2f565b6020820152613cc060408401613c03565b6040820152613cd160608401613a91565b6060820152613ce260808401613bf8565b6080820152613cf360a08401613bf8565b60a082015260c083015182811115613d0a57600080fd5b613d1687828601613c0e565b60c08301525095945050505050565b600060208284031215613d3757600080fd5b81516133a6816134b2565b60008060408385031215613d5557600080fd5b8251613d6081613488565b60208401519092506139ff81613488565b60008085851115613d8157600080fd5b83861115613d8e57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015613dc35780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b0383168152604060208201819052600090613480908301846133d1565b634e487b7160e01b600052603260045260246000fd5b606081526000613e5860608301866133d1565b82810360208481019190915285518083528682019282019060005b81811015613e995784516001600160e01b03191683529383019391830191600101613e73565b50508093505050506001600160401b0383166040830152949350505050565b600060018201613ed857634e487b7160e01b600052601160045260246000fd5b5060010190565b60008251613ef18184602087016133ad565b9190910192915050565b60008060408385031215613f0e57600080fd5b8251613f19816134c1565b602084015190925063ffffffff811681146139ff57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207bff0a228908fcd7d3ea39404670769a28aadde05293e0d706be0c28c830c0fa64736f6c63430008140033",
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$__90633334d16b90602401602060405180830381865af4158015613e7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ea191906145b5565b613ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613bc1575f80fd5b5f60208284031215613f10575f80fd5b813561119d81613eeb565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613f91608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611087610100840182613f1b565b6001600160a01b0381168114613bc1575f80fd5b5f60208284031215613ff9575f80fd5b813561119d81613fd5565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b038111828210171561403a5761403a614004565b60405290565b60405160e081016001600160401b038111828210171561403a5761403a614004565b604051601f8201601f191681016001600160401b038111828210171561408a5761408a614004565b604052919050565b5f6001600160401b038211156140aa576140aa614004565b50601f01601f191660200190565b5f82601f8301126140c7575f80fd5b8135602083015f6140df6140da84614092565b614062565b90508281528583830111156140f2575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613bc1575f80fd5b63ffffffff81168114613bc1575f80fd5b5f805f60608486031215614143575f80fd5b83356001600160401b03811115614158575f80fd5b614164868287016140b8565b93505060208401356141758161410c565b9150604084013561418581614120565b809150509250925092565b8015158114613bc1575f80fd5b5f80604083850312156141ae575f80fd5b82356141b98161410c565b915060208301356141c981614190565b809150509250929050565b64ffffffffff81168114613bc1575f80fd5b5f602082840312156141f6575f80fd5b813561119d816141d4565b5f60208284031215614211575f80fd5b81356001600160401b03811115614226575f80fd5b611087848285016140b8565b6001600160601b0381168114613bc1575f80fd5b5f8060408385031215614257575f80fd5b823561426281613fd5565b915060208301356141c981614232565b5f60208284031215614282575f80fd5b813561119d81614232565b5f806040838503121561429e575f80fd5b82356142a981613fd5565b915060208301356001600160401b038111156142c3575f80fd5b6142cf858286016140b8565b9150509250929050565b5f80604083850312156142ea575f80fd5b82356141b981613fd5565b5f60208284031215614305575f80fd5b813561119d81614190565b5f8060408385031215614321575f80fd5b823561432c8161410c565b915060208301356141c981613fd5565b5f82601f83011261434b575f80fd5b81356001600160401b0381111561436457614364614004565b61437360208260051b01614062565b80828252602082019150602060608402860101925085831115614394575f80fd5b602085015b838110156143f257606081880312156143b0575f80fd5b6143b8614018565b8135815260208201356143ca81613eeb565b602082015260408201356143dd816141d4565b60408201528352602090920191606001614399565b5095945050505050565b5f806040838503121561440d575f80fd5b823561441881613fd5565b915060208301356001600160401b03811115614432575f80fd5b6142cf8582860161433c565b5f805f60608486031215614450575f80fd5b833561445b81613fd5565b9250602084013561446b8161410c565b915060408401356001600160401b03811115614485575f80fd5b6144918682870161433c565b9150509250925092565b5f602082840312156144ab575f80fd5b815162ffffff8116811461119d575f80fd5b80516136d281614232565b5f602082840312156144d8575f80fd5b815161119d81614232565b600181811c908216806144f757607f821691505b60208210810361451557634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f6020828403121561454d575f80fd5b815161119d81613fd5565b606081525f61456a6060830186613f1b565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561459f575f80fd5b815161119d8161410c565b80516136d281614190565b5f602082840312156145c5575f80fd5b815161119d81614190565b6001600160a01b03831681526040602082018190525f9061108790830184613f1b565b80516136d281613fd5565b60ff81168114613bc1575f80fd5b80516136d2816145fe565b5f82601f830112614626575f80fd5b81516146346140da82614092565b818152846020838601011115614648575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614674575f80fd5b81516001600160401b03811115614689575f80fd5b820160e0818503121561469a575f80fd5b6146a2614040565b6146ab826144bd565b81526146b9602083016144bd565b60208201526146ca6040830161460c565b60408201526146db606083016145aa565b60608201526146ec608083016145f3565b60808201526146fd60a083016145f3565b60a082015260c08201516001600160401b0381111561471a575f80fd5b61472686828501614617565b60c083015250949350505050565b5f60208284031215614744575f80fd5b815161119d816145fe565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614773575f80fd5b815161119d816141d4565b5f8151808452602084019350602083015f5b828110156147d8578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101614790565b5093949350505050565b6001600160a01b03831681526040602082018190525f906110879083018461477e565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b99083018461477e565b5f8085851115614845575f80fd5b83861115614851575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561488f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156148e6575f80fd5b82516148f181613fd5565b60208401519092506141c981613fd5565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614929575f80fd5b825161493481614190565b60208401519092506141c981614120565b601f821115612e1d57805f5260205f20601f840160051c8101602085101561496a5750805b601f840160051c820191505b8181101561320d575f8155600101614976565b81516001600160401b038111156149a2576149a2614004565b6149b6816149b084546144e3565b84614945565b6020601f8211600181146149e8575f83156149d15750848201515b5f19600385901b1c1916600184901b17845561320d565b5f84815260208120601f198516915b82811015614a1757878501518255602094850194600190920191016149f7565b5084821015614a3457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ea07ae57290a2b7055e5da2b1b4945906ed70e0502cf483bd47b9384fcc9a95164736f6c634300081a0033",
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$__90633334d16b90602401602060405180830381865af4158015613e7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ea191906145b5565b613ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613bc1575f80fd5b5f60208284031215613f10575f80fd5b813561119d81613eeb565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613f91608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611087610100840182613f1b565b6001600160a01b0381168114613bc1575f80fd5b5f60208284031215613ff9575f80fd5b813561119d81613fd5565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b038111828210171561403a5761403a614004565b60405290565b60405160e081016001600160401b038111828210171561403a5761403a614004565b604051601f8201601f191681016001600160401b038111828210171561408a5761408a614004565b604052919050565b5f6001600160401b038211156140aa576140aa614004565b50601f01601f191660200190565b5f82601f8301126140c7575f80fd5b8135602083015f6140df6140da84614092565b614062565b90508281528583830111156140f2575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613bc1575f80fd5b63ffffffff81168114613bc1575f80fd5b5f805f60608486031215614143575f80fd5b83356001600160401b03811115614158575f80fd5b614164868287016140b8565b93505060208401356141758161410c565b9150604084013561418581614120565b809150509250925092565b8015158114613bc1575f80fd5b5f80604083850312156141ae575f80fd5b82356141b98161410c565b915060208301356141c981614190565b809150509250929050565b64ffffffffff81168114613bc1575f80fd5b5f602082840312156141f6575f80fd5b813561119d816141d4565b5f60208284031215614211575f80fd5b81356001600160401b03811115614226575f80fd5b611087848285016140b8565b6001600160601b0381168114613bc1575f80fd5b5f8060408385031215614257575f80fd5b823561426281613fd5565b915060208301356141c981614232565b5f60208284031215614282575f80fd5b813561119d81614232565b5f806040838503121561429e575f80fd5b82356142a981613fd5565b915060208301356001600160401b038111156142c3575f80fd5b6142cf858286016140b8565b9150509250929050565b5f80604083850312156142ea575f80fd5b82356141b981613fd5565b5f60208284031215614305575f80fd5b813561119d81614190565b5f8060408385031215614321575f80fd5b823561432c8161410c565b915060208301356141c981613fd5565b5f82601f83011261434b575f80fd5b81356001600160401b0381111561436457614364614004565b61437360208260051b01614062565b80828252602082019150602060608402860101925085831115614394575f80fd5b602085015b838110156143f257606081880312156143b0575f80fd5b6143b8614018565b8135815260208201356143ca81613eeb565b602082015260408201356143dd816141d4565b60408201528352602090920191606001614399565b5095945050505050565b5f806040838503121561440d575f80fd5b823561441881613fd5565b915060208301356001600160401b03811115614432575f80fd5b6142cf8582860161433c565b5f805f60608486031215614450575f80fd5b833561445b81613fd5565b9250602084013561446b8161410c565b915060408401356001600160401b03811115614485575f80fd5b6144918682870161433c565b9150509250925092565b5f602082840312156144ab575f80fd5b815162ffffff8116811461119d575f80fd5b80516136d281614232565b5f602082840312156144d8575f80fd5b815161119d81614232565b600181811c908216806144f757607f821691505b60208210810361451557634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f6020828403121561454d575f80fd5b815161119d81613fd5565b606081525f61456a6060830186613f1b565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561459f575f80fd5b815161119d8161410c565b80516136d281614190565b5f602082840312156145c5575f80fd5b815161119d81614190565b6001600160a01b03831681526040602082018190525f9061108790830184613f1b565b80516136d281613fd5565b60ff81168114613bc1575f80fd5b80516136d2816145fe565b5f82601f830112614626575f80fd5b81516146346140da82614092565b818152846020838601011115614648575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614674575f80fd5b81516001600160401b03811115614689575f80fd5b820160e0818503121561469a575f80fd5b6146a2614040565b6146ab826144bd565b81526146b9602083016144bd565b60208201526146ca6040830161460c565b60408201526146db606083016145aa565b60608201526146ec608083016145f3565b60808201526146fd60a083016145f3565b60a082015260c08201516001600160401b0381111561471a575f80fd5b61472686828501614617565b60c083015250949350505050565b5f60208284031215614744575f80fd5b815161119d816145fe565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614773575f80fd5b815161119d816141d4565b5f8151808452602084019350602083015f5b828110156147d8578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101614790565b5093949350505050565b6001600160a01b03831681526040602082018190525f906110879083018461477e565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b99083018461477e565b5f8085851115614845575f80fd5b83861115614851575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561488f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156148e6575f80fd5b82516148f181613fd5565b60208401519092506141c981613fd5565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614929575f80fd5b825161493481614190565b60208401519092506141c981614120565b601f821115612e1d57805f5260205f20601f840160051c8101602085101561496a5750805b601f840160051c820191505b8181101561320d575f8155600101614976565b81516001600160401b038111156149a2576149a2614004565b6149b6816149b084546144e3565b84614945565b6020601f8211600181146149e8575f83156149d15750848201515b5f19600385901b1c1916600184901b17845561320d565b5f84815260208120601f198516915b82811015614a1757878501518255602094850194600190920191016149f7565b5084821015614a3457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ea07ae57290a2b7055e5da2b1b4945906ed70e0502cf483bd47b9384fcc9a95164736f6c634300081a0033",
895
1184
  "linkReferences": {
896
- "contracts/instance/InstanceAuthorizationsLib.sol": {
897
- "InstanceAuthorizationsLib": [
1185
+ "contracts/shared/ContractLib.sol": {
1186
+ "ContractLib": [
1187
+ {
1188
+ "length": 20,
1189
+ "start": 15568
1190
+ },
898
1191
  {
899
1192
  "length": 20,
900
- "start": 9731
1193
+ "start": 16155
1194
+ }
1195
+ ]
1196
+ },
1197
+ "contracts/staking/TargetManagerLib.sol": {
1198
+ "TargetManagerLib": [
1199
+ {
1200
+ "length": 20,
1201
+ "start": 11249
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 11356
901
1206
  }
902
1207
  ]
903
1208
  },
@@ -905,19 +1210,19 @@
905
1210
  "NftIdLib": [
906
1211
  {
907
1212
  "length": 20,
908
- "start": 1652
1213
+ "start": 1869
909
1214
  },
910
1215
  {
911
1216
  "length": 20,
912
- "start": 2048
1217
+ "start": 9013
913
1218
  },
914
1219
  {
915
1220
  "length": 20,
916
- "start": 6100
1221
+ "start": 12431
917
1222
  },
918
1223
  {
919
1224
  "length": 20,
920
- "start": 7298
1225
+ "start": 13086
921
1226
  }
922
1227
  ]
923
1228
  },
@@ -925,15 +1230,7 @@
925
1230
  "RoleIdLib": [
926
1231
  {
927
1232
  "length": 20,
928
- "start": 9342
929
- },
930
- {
931
- "length": 20,
932
- "start": 10097
933
- },
934
- {
935
- "length": 20,
936
- "start": 12590
1233
+ "start": 8199
937
1234
  }
938
1235
  ]
939
1236
  },
@@ -941,35 +1238,43 @@
941
1238
  "VersionLib": [
942
1239
  {
943
1240
  "length": 20,
944
- "start": 1444
945
- },
946
- {
947
- "length": 20,
948
- "start": 2726
1241
+ "start": 1669
949
1242
  },
950
1243
  {
951
1244
  "length": 20,
952
- "start": 9813
953
- },
954
- {
955
- "length": 20,
956
- "start": 11355
1245
+ "start": 3836
957
1246
  }
958
1247
  ],
959
1248
  "VersionPartLib": [
960
1249
  {
961
1250
  "length": 20,
962
- "start": 6580
1251
+ "start": 12765
963
1252
  }
964
1253
  ]
965
1254
  }
966
1255
  },
967
1256
  "deployedLinkReferences": {
968
- "contracts/instance/InstanceAuthorizationsLib.sol": {
969
- "InstanceAuthorizationsLib": [
1257
+ "contracts/shared/ContractLib.sol": {
1258
+ "ContractLib": [
1259
+ {
1260
+ "length": 20,
1261
+ "start": 15354
1262
+ },
1263
+ {
1264
+ "length": 20,
1265
+ "start": 15941
1266
+ }
1267
+ ]
1268
+ },
1269
+ "contracts/staking/TargetManagerLib.sol": {
1270
+ "TargetManagerLib": [
970
1271
  {
971
1272
  "length": 20,
972
- "start": 9501
1273
+ "start": 11035
1274
+ },
1275
+ {
1276
+ "length": 20,
1277
+ "start": 11142
973
1278
  }
974
1279
  ]
975
1280
  },
@@ -977,19 +1282,19 @@
977
1282
  "NftIdLib": [
978
1283
  {
979
1284
  "length": 20,
980
- "start": 1422
1285
+ "start": 1655
981
1286
  },
982
1287
  {
983
1288
  "length": 20,
984
- "start": 1818
1289
+ "start": 8799
985
1290
  },
986
1291
  {
987
1292
  "length": 20,
988
- "start": 5870
1293
+ "start": 12217
989
1294
  },
990
1295
  {
991
1296
  "length": 20,
992
- "start": 7068
1297
+ "start": 12872
993
1298
  }
994
1299
  ]
995
1300
  },
@@ -997,15 +1302,7 @@
997
1302
  "RoleIdLib": [
998
1303
  {
999
1304
  "length": 20,
1000
- "start": 9112
1001
- },
1002
- {
1003
- "length": 20,
1004
- "start": 9867
1005
- },
1006
- {
1007
- "length": 20,
1008
- "start": 12360
1305
+ "start": 7985
1009
1306
  }
1010
1307
  ]
1011
1308
  },
@@ -1013,25 +1310,17 @@
1013
1310
  "VersionLib": [
1014
1311
  {
1015
1312
  "length": 20,
1016
- "start": 1214
1017
- },
1018
- {
1019
- "length": 20,
1020
- "start": 2496
1021
- },
1022
- {
1023
- "length": 20,
1024
- "start": 9583
1313
+ "start": 1455
1025
1314
  },
1026
1315
  {
1027
1316
  "length": 20,
1028
- "start": 11125
1317
+ "start": 3622
1029
1318
  }
1030
1319
  ],
1031
1320
  "VersionPartLib": [
1032
1321
  {
1033
1322
  "length": 20,
1034
- "start": 6350
1323
+ "start": 12551
1035
1324
  }
1036
1325
  ]
1037
1326
  }