@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff596ab-857

Sign up to get free protection for your applications and to get access to all the features.
Files changed (587) 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/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +174 -601
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +788 -535
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +278 -128
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +178 -330
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +622 -178
  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 +522 -56
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +594 -219
  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 +1833 -761
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +542 -193
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +210 -94
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1647 -702
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +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 +550 -400
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +272 -102
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +384 -86
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +233 -423
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +749 -377
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  138. package/artifacts/contracts/pool/Pool.sol/Pool.json +247 -629
  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 +954 -743
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +271 -113
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +370 -252
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +231 -89
  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 +491 -341
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +253 -115
  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 +454 -69
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +217 -75
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +380 -225
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +289 -66
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +507 -384
  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 +237 -123
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +261 -333
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +235 -109
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  180. package/artifacts/contracts/product/Product.sol/Product.json +428 -509
  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 +478 -61
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +280 -127
  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 +920 -125
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +332 -245
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +208 -92
  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 +361 -125
  215. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Component.sol/Component.json +128 -296
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1076 -156
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  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 +129 -135
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  236. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +52 -20
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  238. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  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 +4 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  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 -90
  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 +615 -6
  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 +2576 -128
  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/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  279. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2914 -226
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +298 -74
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +754 -207
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +218 -84
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  294. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  295. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +92 -15
  304. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  306. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  308. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  310. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.json +119 -58
  312. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  314. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  316. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +66 -4
  318. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  320. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  322. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  324. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  326. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  328. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  330. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
  332. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
  334. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  338. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  340. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  342. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  344. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  346. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  348. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  350. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  351. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  352. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  354. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  356. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  357. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  358. package/contracts/accounting/AccountingService.sol +274 -0
  359. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  360. package/contracts/accounting/IAccountingService.sol +47 -0
  361. package/contracts/authorization/AccessAdmin.sol +780 -0
  362. package/contracts/authorization/AccessAdminLib.sol +396 -0
  363. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  364. package/contracts/authorization/Authorization.sol +169 -0
  365. package/contracts/authorization/IAccess.sol +67 -0
  366. package/contracts/authorization/IAccessAdmin.sol +144 -0
  367. package/contracts/authorization/IAuthorization.sol +26 -0
  368. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  369. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  370. package/contracts/distribution/BasicDistribution.sol +141 -0
  371. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  372. package/contracts/distribution/Distribution.sol +137 -175
  373. package/contracts/distribution/DistributionService.sol +314 -215
  374. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  375. package/contracts/distribution/IDistributionComponent.sol +23 -49
  376. package/contracts/distribution/IDistributionService.sol +61 -33
  377. package/contracts/examples/fire/DamageLevel.sol +59 -0
  378. package/contracts/examples/fire/FirePool.sol +86 -0
  379. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  380. package/contracts/examples/fire/FireProduct.sol +433 -0
  381. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  382. package/contracts/examples/fire/FireUSD.sol +26 -0
  383. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  384. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  386. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  387. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  389. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  390. package/contracts/instance/BundleSet.sol +130 -0
  391. package/contracts/instance/IInstance.sol +117 -49
  392. package/contracts/instance/IInstanceService.sol +81 -37
  393. package/contracts/instance/Instance.sol +252 -134
  394. package/contracts/instance/InstanceAdmin.sol +383 -0
  395. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  396. package/contracts/instance/InstanceReader.sol +505 -241
  397. package/contracts/instance/InstanceService.sol +388 -196
  398. package/contracts/instance/InstanceServiceManager.sol +14 -29
  399. package/contracts/instance/InstanceStore.sol +151 -64
  400. package/contracts/instance/RiskSet.sol +126 -0
  401. package/contracts/instance/base/BalanceStore.sol +121 -0
  402. package/contracts/instance/base/Cloneable.sol +2 -25
  403. package/contracts/instance/base/ObjectCounter.sol +20 -0
  404. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  405. package/contracts/instance/base/ObjectSet.sol +77 -0
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -8
  408. package/contracts/instance/module/IComponents.sol +40 -19
  409. package/contracts/instance/module/IDistribution.sol +21 -9
  410. package/contracts/instance/module/IPolicy.sol +57 -30
  411. package/contracts/instance/module/IRisk.sol +5 -0
  412. package/contracts/mock/Dip.sol +26 -0
  413. package/contracts/oracle/BasicOracle.sol +45 -0
  414. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  415. package/contracts/oracle/IOracle.sol +41 -0
  416. package/contracts/oracle/IOracleComponent.sol +33 -0
  417. package/contracts/oracle/IOracleService.sol +66 -0
  418. package/contracts/oracle/Oracle.sol +154 -0
  419. package/contracts/oracle/OracleService.sol +310 -0
  420. package/contracts/oracle/OracleServiceManager.sol +39 -0
  421. package/contracts/pool/BasicPool.sol +162 -0
  422. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  423. package/contracts/pool/BundleService.sol +250 -246
  424. package/contracts/pool/BundleServiceManager.sol +13 -25
  425. package/contracts/pool/IBundleService.sol +47 -49
  426. package/contracts/pool/IPoolComponent.sol +23 -75
  427. package/contracts/pool/IPoolService.sol +112 -56
  428. package/contracts/pool/Pool.sol +200 -169
  429. package/contracts/pool/PoolLib.sol +341 -0
  430. package/contracts/pool/PoolService.sol +475 -264
  431. package/contracts/pool/PoolServiceManager.sol +12 -24
  432. package/contracts/product/ApplicationService.sol +222 -81
  433. package/contracts/product/ApplicationServiceManager.sol +12 -9
  434. package/contracts/product/BasicProduct.sol +49 -0
  435. package/contracts/product/BasicProductAuthorization.sol +63 -0
  436. package/contracts/product/ClaimService.sol +389 -201
  437. package/contracts/product/ClaimServiceManager.sol +12 -9
  438. package/contracts/product/IApplicationService.sol +30 -4
  439. package/contracts/product/IClaimService.sol +52 -9
  440. package/contracts/product/IPolicyService.sol +62 -40
  441. package/contracts/product/IPricingService.sol +14 -11
  442. package/contracts/product/IProductComponent.sol +31 -10
  443. package/contracts/product/IRiskService.sol +48 -0
  444. package/contracts/product/PolicyService.sol +503 -234
  445. package/contracts/product/PolicyServiceLib.sol +139 -0
  446. package/contracts/product/PolicyServiceManager.sol +12 -27
  447. package/contracts/product/PricingService.sol +133 -102
  448. package/contracts/product/PricingServiceManager.sol +12 -24
  449. package/contracts/product/Product.sol +267 -153
  450. package/contracts/product/RiskService.sol +190 -0
  451. package/contracts/product/RiskServiceManager.sol +39 -0
  452. package/contracts/registry/ChainNft.sol +72 -39
  453. package/contracts/registry/IRegistry.sol +100 -38
  454. package/contracts/registry/IRegistryService.sol +28 -35
  455. package/contracts/registry/IRelease.sol +29 -0
  456. package/contracts/registry/ITransferInterceptor.sol +1 -2
  457. package/contracts/registry/Registry.sol +453 -222
  458. package/contracts/registry/RegistryAdmin.sol +191 -0
  459. package/contracts/registry/RegistryAuthorization.sol +336 -0
  460. package/contracts/registry/RegistryService.sol +75 -138
  461. package/contracts/registry/RegistryServiceManager.sol +23 -30
  462. package/contracts/registry/ReleaseAdmin.sol +195 -0
  463. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  464. package/contracts/registry/ReleaseRegistry.sol +525 -0
  465. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  466. package/contracts/registry/TokenRegistry.sol +264 -63
  467. package/contracts/shared/Component.sol +126 -183
  468. package/contracts/shared/ComponentService.sol +636 -99
  469. package/contracts/shared/ComponentServiceManager.sol +38 -0
  470. package/contracts/shared/ContractLib.sol +312 -0
  471. package/contracts/shared/IComponent.sol +18 -50
  472. package/contracts/shared/IComponentService.sol +111 -0
  473. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  474. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  475. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  476. package/contracts/shared/INftOwnable.sol +5 -1
  477. package/contracts/shared/IPolicyHolder.sol +12 -17
  478. package/contracts/shared/IRegisterable.sol +22 -1
  479. package/contracts/shared/IService.sol +11 -6
  480. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  481. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  482. package/contracts/shared/KeyValueStore.sol +131 -0
  483. package/contracts/shared/Lifecycle.sol +88 -0
  484. package/contracts/shared/NftIdSet.sol +65 -0
  485. package/contracts/shared/NftOwnable.sol +35 -24
  486. package/contracts/shared/PolicyHolder.sol +19 -50
  487. package/contracts/shared/Registerable.sol +54 -23
  488. package/contracts/shared/RegistryLinked.sol +9 -14
  489. package/contracts/shared/Service.sol +36 -41
  490. package/contracts/shared/TokenHandler.sol +320 -13
  491. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  492. package/contracts/staking/IStaking.sol +358 -6
  493. package/contracts/staking/IStakingService.sol +98 -76
  494. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  495. package/contracts/staking/Staking.sol +761 -27
  496. package/contracts/staking/StakingLib.sol +195 -0
  497. package/contracts/staking/StakingManager.sol +27 -18
  498. package/contracts/staking/StakingReader.sol +171 -0
  499. package/contracts/staking/StakingService.sol +175 -58
  500. package/contracts/staking/StakingServiceManager.sol +13 -8
  501. package/contracts/staking/StakingStore.sol +1368 -0
  502. package/contracts/staking/TargetHandler.sol +132 -0
  503. package/contracts/staking/TargetManagerLib.sol +234 -0
  504. package/contracts/type/AddressSet.sol +1 -1
  505. package/contracts/type/Amount.sol +48 -3
  506. package/contracts/type/Blocknumber.sol +36 -13
  507. package/contracts/type/ChainId.sol +101 -0
  508. package/contracts/type/ClaimId.sol +6 -1
  509. package/contracts/type/Fee.sol +22 -21
  510. package/contracts/type/Key32.sol +2 -2
  511. package/contracts/type/Key32Set.sol +62 -0
  512. package/contracts/type/NftId.sol +21 -16
  513. package/contracts/type/NftIdSet.sol +1 -1
  514. package/contracts/type/ObjectType.sol +204 -63
  515. package/contracts/type/PayoutId.sol +10 -10
  516. package/contracts/type/Referral.sol +2 -1
  517. package/contracts/type/RequestId.sol +75 -0
  518. package/contracts/type/RiskId.sol +39 -7
  519. package/contracts/type/RoleId.sol +122 -74
  520. package/contracts/type/Seconds.sol +67 -1
  521. package/contracts/type/Selector.sol +107 -0
  522. package/contracts/type/StateId.sol +41 -2
  523. package/contracts/type/String.sol +65 -0
  524. package/contracts/type/Timestamp.sol +20 -9
  525. package/contracts/type/UFixed.sol +62 -125
  526. package/contracts/type/Version.sol +58 -7
  527. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  528. package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
  529. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  530. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  531. package/package.json +12 -8
  532. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  533. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  534. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  535. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  536. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  537. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  538. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  539. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  540. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  541. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  542. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  543. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  544. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  546. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  547. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  548. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  549. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  550. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  551. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  552. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  553. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  554. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  555. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  556. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  557. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  558. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  559. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -620
  560. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  561. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  562. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  563. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  564. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  565. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  566. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  567. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  568. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  569. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  570. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  571. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  572. package/contracts/instance/BundleManager.sol +0 -126
  573. package/contracts/instance/InstanceAccessManager.sol +0 -543
  574. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  575. package/contracts/instance/base/KeyValueStore.sol +0 -169
  576. package/contracts/instance/base/Lifecycle.sol +0 -121
  577. package/contracts/instance/base/ObjectManager.sol +0 -82
  578. package/contracts/instance/module/IAccess.sol +0 -54
  579. package/contracts/instance/module/ISetup.sol +0 -33
  580. package/contracts/instance/module/ITreasury.sol +0 -23
  581. package/contracts/product/IProductService.sol +0 -40
  582. package/contracts/product/ProductService.sol +0 -210
  583. package/contracts/product/ProductServiceManager.sol +0 -54
  584. package/contracts/registry/RegistryAccessManager.sol +0 -207
  585. package/contracts/registry/ReleaseManager.sol +0 -360
  586. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  587. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -46,19 +46,46 @@
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
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorInstanceServiceAccessManagerZero",
63
+ "type": "error"
64
+ },
49
65
  {
50
66
  "inputs": [],
51
- "name": "ErrorInstanceServiceBundleManagerAuthorityMismatch",
67
+ "name": "ErrorInstanceServiceBundleSetAuthorityMismatch",
52
68
  "type": "error"
53
69
  },
54
70
  {
55
71
  "inputs": [],
56
- "name": "ErrorInstanceServiceBundleManagerZero",
72
+ "name": "ErrorInstanceServiceBundleSetInstanceMismatch",
57
73
  "type": "error"
58
74
  },
59
75
  {
60
76
  "inputs": [],
61
- "name": "ErrorInstanceServiceBundleMangerInstanceMismatch",
77
+ "name": "ErrorInstanceServiceBundleSetZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "component",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
62
89
  "type": "error"
63
90
  },
64
91
  {
@@ -74,12 +101,12 @@
74
101
  },
75
102
  {
76
103
  "inputs": [],
77
- "name": "ErrorInstanceServiceInstanceAccessManagerZero",
104
+ "name": "ErrorInstanceServiceInstanceAddressZero",
78
105
  "type": "error"
79
106
  },
80
107
  {
81
108
  "inputs": [],
82
- "name": "ErrorInstanceServiceInstanceAddressZero",
109
+ "name": "ErrorInstanceServiceInstanceAdminZero",
83
110
  "type": "error"
84
111
  },
85
112
  {
@@ -138,6 +165,27 @@
138
165
  "name": "ErrorInstanceServiceInstanceStoreZero",
139
166
  "type": "error"
140
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
+ },
141
189
  {
142
190
  "inputs": [
143
191
  {
@@ -161,12 +209,12 @@
161
209
  },
162
210
  {
163
211
  "inputs": [],
164
- "name": "ErrorInstanceServiceMasterBundleManagerAlreadySet",
212
+ "name": "ErrorInstanceServiceMasterBundleSetAlreadySet",
165
213
  "type": "error"
166
214
  },
167
215
  {
168
216
  "inputs": [],
169
- "name": "ErrorInstanceServiceMasterInstanceAccessManagerAlreadySet",
217
+ "name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
170
218
  "type": "error"
171
219
  },
172
220
  {
@@ -181,7 +229,23 @@
181
229
  },
182
230
  {
183
231
  "inputs": [],
184
- "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",
185
249
  "type": "error"
186
250
  },
187
251
  {
@@ -192,23 +256,18 @@
192
256
  "type": "uint96"
193
257
  }
194
258
  ],
195
- "name": "ErrorInstanceServiceNotInstance",
259
+ "name": "ErrorInstanceServiceNotInstanceNftId",
196
260
  "type": "error"
197
261
  },
198
262
  {
199
263
  "inputs": [
200
264
  {
201
265
  "internalType": "address",
202
- "name": "caller",
266
+ "name": "instance",
203
267
  "type": "address"
204
- },
205
- {
206
- "internalType": "NftId",
207
- "name": "instanceNftId",
208
- "type": "uint96"
209
268
  }
210
269
  ],
211
- "name": "ErrorInstanceServiceNotInstanceOwner",
270
+ "name": "ErrorInstanceServiceNotRegistered",
212
271
  "type": "error"
213
272
  },
214
273
  {
@@ -222,6 +281,21 @@
222
281
  "name": "ErrorInstanceServiceRequestUnauhorized",
223
282
  "type": "error"
224
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
+ },
225
299
  {
226
300
  "inputs": [
227
301
  {
@@ -249,6 +323,22 @@
249
323
  "name": "ErrorNftOwnableInitialOwnerZero",
250
324
  "type": "error"
251
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
+ },
252
342
  {
253
343
  "inputs": [
254
344
  {
@@ -273,7 +363,17 @@
273
363
  },
274
364
  {
275
365
  "inputs": [],
276
- "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",
277
377
  "type": "error"
278
378
  },
279
379
  {
@@ -286,6 +386,11 @@
286
386
  "name": "NotInitializing",
287
387
  "type": "error"
288
388
  },
389
+ {
390
+ "inputs": [],
391
+ "name": "ReentrancyGuardReentrantCall",
392
+ "type": "error"
393
+ },
289
394
  {
290
395
  "anonymous": false,
291
396
  "inputs": [
@@ -317,48 +422,94 @@
317
422
  "inputs": [
318
423
  {
319
424
  "indexed": false,
320
- "internalType": "address",
321
- "name": "clonedOzAccessManager",
322
- "type": "address"
425
+ "internalType": "NftId",
426
+ "name": "instanceNftId",
427
+ "type": "uint96"
323
428
  },
324
429
  {
325
430
  "indexed": false,
326
431
  "internalType": "address",
327
- "name": "clonedInstanceAccessManager",
432
+ "name": "instance",
328
433
  "type": "address"
329
- },
434
+ }
435
+ ],
436
+ "name": "LogInstanceServiceInstanceCreated",
437
+ "type": "event"
438
+ },
439
+ {
440
+ "anonymous": false,
441
+ "inputs": [
330
442
  {
331
443
  "indexed": false,
332
- "internalType": "address",
333
- "name": "clonedInstance",
334
- "type": "address"
444
+ "internalType": "NftId",
445
+ "name": "instanceNftId",
446
+ "type": "uint96"
335
447
  },
336
448
  {
337
449
  "indexed": false,
338
- "internalType": "address",
339
- "name": "clonedInstanceStore",
340
- "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"
341
466
  },
342
467
  {
343
468
  "indexed": false,
344
469
  "internalType": "address",
345
- "name": "clonedBundleManager",
470
+ "name": "newInstanceReader",
346
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"
347
485
  },
348
486
  {
349
487
  "indexed": false,
350
488
  "internalType": "address",
351
- "name": "clonedInstanceReader",
489
+ "name": "newInstanceReader",
352
490
  "type": "address"
353
- },
491
+ }
492
+ ],
493
+ "name": "LogInstanceServiceMasterInstanceReaderUpgraded",
494
+ "type": "event"
495
+ },
496
+ {
497
+ "anonymous": false,
498
+ "inputs": [
354
499
  {
355
500
  "indexed": false,
356
501
  "internalType": "NftId",
357
- "name": "clonedInstanceNftId",
502
+ "name": "nftId",
358
503
  "type": "uint96"
504
+ },
505
+ {
506
+ "indexed": false,
507
+ "internalType": "address",
508
+ "name": "owner",
509
+ "type": "address"
359
510
  }
360
511
  ],
361
- "name": "LogInstanceCloned",
512
+ "name": "LogNftOwnableNftLinkedToAddress",
362
513
  "type": "event"
363
514
  },
364
515
  {
@@ -416,49 +567,115 @@
416
567
  {
417
568
  "inputs": [
418
569
  {
419
- "internalType": "NftId",
420
- "name": "instanceNftId",
421
- "type": "uint96"
570
+ "internalType": "address",
571
+ "name": "target",
572
+ "type": "address"
422
573
  },
423
574
  {
424
- "internalType": "address",
425
- "name": "targetAddress",
575
+ "internalType": "RoleId",
576
+ "name": "roleId",
577
+ "type": "uint64"
578
+ },
579
+ {
580
+ "components": [
581
+ {
582
+ "internalType": "Str",
583
+ "name": "name",
584
+ "type": "bytes32"
585
+ },
586
+ {
587
+ "internalType": "Selector",
588
+ "name": "selector",
589
+ "type": "bytes4"
590
+ },
591
+ {
592
+ "internalType": "Timestamp",
593
+ "name": "createdAt",
594
+ "type": "uint40"
595
+ }
596
+ ],
597
+ "internalType": "struct IAccess.FunctionInfo[]",
598
+ "name": "functions",
599
+ "type": "tuple[]"
600
+ }
601
+ ],
602
+ "name": "authorizeFunctions",
603
+ "outputs": [],
604
+ "stateMutability": "nonpayable",
605
+ "type": "function"
606
+ },
607
+ {
608
+ "inputs": [
609
+ {
610
+ "internalType": "bool",
611
+ "name": "allowAnyToken",
612
+ "type": "bool"
613
+ }
614
+ ],
615
+ "name": "createInstance",
616
+ "outputs": [
617
+ {
618
+ "internalType": "contract IInstance",
619
+ "name": "instance",
426
620
  "type": "address"
427
621
  },
622
+ {
623
+ "internalType": "NftId",
624
+ "name": "instanceNftId",
625
+ "type": "uint96"
626
+ }
627
+ ],
628
+ "stateMutability": "nonpayable",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [
428
633
  {
429
634
  "internalType": "string",
430
- "name": "targetName",
635
+ "name": "roleName",
431
636
  "type": "string"
432
637
  },
433
638
  {
434
- "internalType": "bytes4[][]",
435
- "name": "selectors",
436
- "type": "bytes4[][]"
639
+ "internalType": "RoleId",
640
+ "name": "adminRoleId",
641
+ "type": "uint64"
437
642
  },
438
643
  {
439
- "internalType": "RoleId[]",
440
- "name": "roles",
441
- "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"
442
655
  }
443
656
  ],
444
- "name": "createGifTarget",
445
- "outputs": [],
446
657
  "stateMutability": "nonpayable",
447
658
  "type": "function"
448
659
  },
449
660
  {
450
- "inputs": [],
451
- "name": "createInstanceClone",
452
- "outputs": [
661
+ "inputs": [
453
662
  {
454
- "internalType": "contract Instance",
455
- "name": "clonedInstance",
663
+ "internalType": "address",
664
+ "name": "target",
456
665
  "type": "address"
457
666
  },
458
667
  {
459
- "internalType": "NftId",
460
- "name": "clonedInstanceNftId",
461
- "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"
462
679
  }
463
680
  ],
464
681
  "stateMutability": "nonpayable",
@@ -470,7 +687,7 @@
470
687
  "outputs": [
471
688
  {
472
689
  "internalType": "ObjectType",
473
- "name": "",
690
+ "name": "serviceDomain",
474
691
  "type": "uint8"
475
692
  }
476
693
  ],
@@ -581,112 +798,57 @@
581
798
  },
582
799
  {
583
800
  "inputs": [],
584
- "name": "getVersion",
801
+ "name": "getRelease",
585
802
  "outputs": [
586
803
  {
587
- "internalType": "Version",
588
- "name": "",
589
- "type": "uint24"
804
+ "internalType": "VersionPart",
805
+ "name": "release",
806
+ "type": "uint8"
590
807
  }
591
808
  ],
592
- "stateMutability": "pure",
809
+ "stateMutability": "view",
593
810
  "type": "function"
594
811
  },
595
812
  {
596
813
  "inputs": [],
597
- "name": "initializeERC165",
598
- "outputs": [],
599
- "stateMutability": "nonpayable",
600
- "type": "function"
601
- },
602
- {
603
- "inputs": [
604
- {
605
- "internalType": "address",
606
- "name": "initialOwner",
607
- "type": "address"
608
- },
609
- {
610
- "internalType": "address",
611
- "name": "registryAddress",
612
- "type": "address"
613
- }
614
- ],
615
- "name": "initializeNftOwnable",
616
- "outputs": [],
617
- "stateMutability": "nonpayable",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "address",
624
- "name": "registryAddress",
625
- "type": "address"
626
- },
627
- {
628
- "internalType": "NftId",
629
- "name": "parentNftId",
630
- "type": "uint96"
631
- },
632
- {
633
- "internalType": "ObjectType",
634
- "name": "objectType",
635
- "type": "uint8"
636
- },
637
- {
638
- "internalType": "bool",
639
- "name": "isInterceptor",
640
- "type": "bool"
641
- },
642
- {
643
- "internalType": "address",
644
- "name": "initialOwner",
645
- "type": "address"
646
- },
814
+ "name": "getRoleId",
815
+ "outputs": [
647
816
  {
648
- "internalType": "bytes",
649
- "name": "registryData",
650
- "type": "bytes"
817
+ "internalType": "RoleId",
818
+ "name": "serviceRoleId",
819
+ "type": "uint64"
651
820
  }
652
821
  ],
653
- "name": "initializeRegisterable",
654
- "outputs": [],
655
- "stateMutability": "nonpayable",
822
+ "stateMutability": "view",
656
823
  "type": "function"
657
824
  },
658
825
  {
659
- "inputs": [
826
+ "inputs": [],
827
+ "name": "getVersion",
828
+ "outputs": [
660
829
  {
661
- "internalType": "address",
662
- "name": "registryAddress",
663
- "type": "address"
830
+ "internalType": "Version",
831
+ "name": "",
832
+ "type": "uint24"
664
833
  }
665
834
  ],
666
- "name": "initializeRegistryLinked",
667
- "outputs": [],
668
- "stateMutability": "nonpayable",
835
+ "stateMutability": "pure",
669
836
  "type": "function"
670
837
  },
671
838
  {
672
839
  "inputs": [
673
840
  {
674
- "internalType": "address",
675
- "name": "registry",
676
- "type": "address"
677
- },
678
- {
679
- "internalType": "address",
680
- "name": "authority",
681
- "type": "address"
841
+ "internalType": "RoleId",
842
+ "name": "roleId",
843
+ "type": "uint64"
682
844
  },
683
845
  {
684
846
  "internalType": "address",
685
- "name": "initialOwner",
847
+ "name": "account",
686
848
  "type": "address"
687
849
  }
688
850
  ],
689
- "name": "initializeService",
851
+ "name": "grantRole",
690
852
  "outputs": [],
691
853
  "stateMutability": "nonpayable",
692
854
  "type": "function"
@@ -709,6 +871,19 @@
709
871
  "stateMutability": "nonpayable",
710
872
  "type": "function"
711
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
+ },
712
887
  {
713
888
  "inputs": [],
714
889
  "name": "isConsumingScheduledOp",
@@ -725,19 +900,54 @@
725
900
  {
726
901
  "inputs": [],
727
902
  "name": "linkToRegisteredNftId",
728
- "outputs": [],
903
+ "outputs": [
904
+ {
905
+ "internalType": "NftId",
906
+ "name": "nftId",
907
+ "type": "uint96"
908
+ }
909
+ ],
729
910
  "stateMutability": "nonpayable",
730
911
  "type": "function"
731
912
  },
732
913
  {
733
914
  "inputs": [
734
915
  {
735
- "internalType": "bytes4",
736
- "name": "interfaceId",
737
- "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"
738
948
  }
739
949
  ],
740
- "name": "registerInterface",
950
+ "name": "revokeRole",
741
951
  "outputs": [],
742
952
  "stateMutability": "nonpayable",
743
953
  "type": "function"
@@ -782,7 +992,64 @@
782
992
  "type": "bool"
783
993
  }
784
994
  ],
785
- "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",
786
1053
  "outputs": [],
787
1054
  "stateMutability": "nonpayable",
788
1055
  "type": "function"
@@ -791,11 +1058,16 @@
791
1058
  "inputs": [
792
1059
  {
793
1060
  "internalType": "address",
794
- "name": "instanceReaderAddress",
1061
+ "name": "target",
795
1062
  "type": "address"
1063
+ },
1064
+ {
1065
+ "internalType": "bool",
1066
+ "name": "locked",
1067
+ "type": "bool"
796
1068
  }
797
1069
  ],
798
- "name": "setMasterInstanceReader",
1070
+ "name": "setTargetLocked",
799
1071
  "outputs": [],
800
1072
  "stateMutability": "nonpayable",
801
1073
  "type": "function"
@@ -822,16 +1094,58 @@
822
1094
  {
823
1095
  "inputs": [
824
1096
  {
825
- "internalType": "NftId",
826
- "name": "instanceNftId",
827
- "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[]"
828
1122
  }
829
1123
  ],
1124
+ "name": "unauthorizeFunctions",
1125
+ "outputs": [],
1126
+ "stateMutability": "nonpayable",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [],
830
1131
  "name": "upgradeInstanceReader",
831
1132
  "outputs": [],
832
1133
  "stateMutability": "nonpayable",
833
1134
  "type": "function"
834
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
+ },
835
1149
  {
836
1150
  "inputs": [
837
1151
  {
@@ -844,134 +1158,169 @@
844
1158
  "outputs": [],
845
1159
  "stateMutability": "nonpayable",
846
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"
847
1180
  }
848
1181
  ],
849
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613c2a80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636c6fbb2811610104578063b03d2a8e116100a2578063edabac0311610071578063edabac0314610429578063eeff428e1461043a578063f7c34ee014610469578063feec11901461047c57600080fd5b8063b03d2a8e146103d6578063b68d1809146103e9578063bf7e214f146103f8578063c22f980d1461041657600080fd5b8063893d20e8116100de578063893d20e8146103855780638e32e9791461038d5780638fb36037146103a0578063ada9652e146103c157600080fd5b80636c6fbb28146103575780637a9e5e4b1461036a578063872309c71461037d57600080fd5b8063329d6e74116101715780635ab1bd531161014b5780635ab1bd53146102da578063644c45e0146102ff578063675393bf146103315780636a778e731461034457600080fd5b8063329d6e74146102ac57806336fc697e146102bf57806349bb9e4b146102c757600080fd5b8063138461e0116101ad578063138461e0146102475780631eff4b2214610251578063214cdb801461028657806327bb7a331461029957600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e23660046130d2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e61048f565b60405162ffffff909116815260200161020d565b61023a610519565b60405161020d9190613144565b61024f61066c565b005b6102787f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b61024f6102943660046130d2565b610873565b61024f6102a7366004613309565b6108a0565b61024f6102ba3660046133a1565b610945565b61024f610a92565b61024f6102d53660046133d5565b610ad8565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b600080516020613b95833981519152546001600160601b03165b6040516001600160601b03909116815260200161020d565b61024f61033f366004613424565b610bd7565b610319610352366004613424565b610ce5565b61024f6103653660046135cf565b61159c565b61024f610378366004613424565b6117ba565b610278600081565b6102e7611854565b61024f61039b366004613693565b61198b565b6103a8611bc4565b6040516001600160e01b0319909116815260200161020d565b610278600080516020613b9583398151915281565b61024f6103e43660046136de565b611bfc565b6040516046815260200161020d565b600080516020613bb5833981519152546001600160a01b03166102e7565b61024f6104243660046136fb565b611e6d565b6006546001600160a01b03166102e7565b610442612098565b604080516001600160a01b0390931683526001600160601b0390911660208301520161020d565b61024f610477366004613718565b61292d565b61024f61048a366004613424565b6129a4565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105149190613751565b905090565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c8611854565b6001600160a01b031681526020018260010180546105e590613776565b80601f016020809104026020016040519081016040528092919081815260200182805461061190613776565b801561065e5780601f106106335761010080835404028352916020019161065e565b820191906000526020600020905b81548152906001019060200180831161064157829003601f168201915b505050505081525091505090565b6000600080516020613b9583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff91906137bb565b156107305780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107436001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561078b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107af91906137bb565b6107d75760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610727565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561082b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084f91906137e3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61087b612b1c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108a8612b1c565b6108b2828761292d565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161093b838261384e565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61096761048f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cb919061390d565b600080516020613bd58339815191528054600160401b900460ff16806109fe575080546001600160401b03808416911610155b15610a1c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a4683612b55565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a9a612b1c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020613bd58339815191528054600160401b810460ff1615906001600160401b0316600081158015610b0b5750825b90506000826001600160401b03166001148015610b275750303b155b905081158015610b35575080155b15610b535760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b7d57845460ff60401b1916600160401b1785555b610b878787612b5d565b8315610bce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610bdf612b1c565b806001600160a01b03163b600003610c155760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610727565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152631373a18560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610c8f575060408051601f3d908101601f19168201909252610c8c918101906137bb565b60015b610cb75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610727565b80610ce05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610727565b505b50565b6000610cef611854565b6001600160a01b0316336001600160a01b031614610d225760405163086391f760e31b8152336004820152602401610727565b6005546001600160a01b031615610d4c57604051632c237de760e11b815260040160405180910390fd5b6003546001600160a01b031615610d7657604051636519f6b960e01b815260040160405180910390fd5b6004546001600160a01b031615610da057604051630157f74960e01b815260040160405180910390fd5b6007546001600160a01b031615610dca57604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610df1576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a919061392a565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec5919061392a565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f30919061392a565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9b919061392a565b9050806001600160a01b038716610fc55760405163459e9b9760e01b815260040160405180910390fd5b6001600160a01b038516610fec5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b03831661101357604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b03811661103a576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611078573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109c919061392a565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611107919061392a565b6001600160a01b03161461112e576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561116c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611190919061392a565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fb919061392a565b6001600160a01b031614611222576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611260573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611284919061392a565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ef919061392a565b6001600160a01b03161461131657604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611382919061392a565b6001600160a01b0316146113a957604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611415919061392a565b6001600160a01b03161461143c576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149e919061392a565b600380546001600160a01b03199081166001600160a01b03938416179091556004805482168a84161790556005805482168e8416908117909155600680548316898516179055600780548316878516179055600880549092168484161790915560025490916000911663026bc43b83611515611854565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015611562573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261158a91908101906139a2565b519d9c50505050505050505050505050565b6001546001600160a01b0316604051632b91e0a960e01b81523360048201526001600160a01b039190911690632b91e0a990602401602060405180830381865afa1580156115ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161291906137bb565b611631576040516302613e9f60e51b8152336004820152602401610727565b600061163d8686612d9e565b5090506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a4919061392a565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c30906116d59089908990600401613a74565b600060405180830381600087803b1580156116ef57600080fd5b505af1158015611703573d6000803e3d6000fd5b5050505060005b835181101561093b57816001600160a01b0316630c8ae53e8787848151811061173557611735613a98565b602002602001015187858151811061174f5761174f613a98565b60200260200101516040518463ffffffff1660e01b815260040161177593929190613aae565b600060405180830381600087803b15801561178f57600080fd5b505af11580156117a3573d6000803e3d6000fd5b5050505080806117b290613b21565b91505061170a565b336117da600080516020613bb5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146118155760405162d1953b60e31b81526001600160a01b0382166004820152602401610727565b816001600160a01b03163b60000361184b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610727565b610ce082612f4e565b600080600080516020613b9583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e891906137bb565b15611975576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561194b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196f919061392a565b91505090565b54600160601b90046001600160a01b0316919050565b611993612b1c565b611a1383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f991906137e3565b603c600085604051806020016040528060008152506108a0565b6001600160a01b03821615611a3057611a2b82612faf565b611b9f565b6000611a446001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac89190613b48565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b31919061392a565b9050611b9d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b98919061392a565b612faf565b505b611baf634a531f3360e01b610873565b611bbf63b68d180960e01b610873565b505050565b600080516020613bb5833981519152805460009190600160a01b900460ff16611bee57600061196f565b638fb3603760e01b91505090565b6001546001600160a01b0316604051630bee2f1560e11b81523360048201526001600160a01b0391909116906317dc5e2a90602401602060405180830381865afa158015611c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7291906137bb565b611c91576040516302613e9f60e51b8152336004820152602401610727565b336000611ca66001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611cf2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d1a91908101906139a2565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611d71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d9991908101906139a2565b608001519050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e01919061392a565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611e4e57600080fd5b505af1158015611e62573d6000803e3d6000fd5b505050505050505050565b80611e806001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ecf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef3919061392a565b6001600160a01b0316336001600160a01b031614611f26576040516302613e9f60e51b8152336004820152602401610727565b6000611f3a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611f8d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fb591908101906139a2565b608081015160065491925090600090611fd6906001600160a01b0316612fc0565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561201d57600080fd5b505af1158015612031573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b15801561207857600080fd5b505af115801561208c573d6000803e3d6000fd5b50505050505050505050565b6003546000908190339082906120b6906001600160a01b0316612fc0565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b1580156120fa57600080fd5b505af115801561210e573d6000803e3d6000fd5b505060055461212892506001600160a01b03169050612fc0565b9350836001600160a01b031663c0c53b8b8261214c6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b15801561219d57600080fd5b505af11580156121b1573d6000803e3d6000fd5b5050600854600092506121cd91506001600160a01b0316612fc0565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561221457600080fd5b505af1158015612228573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561226f57600080fd5b505af1158015612283573d6000803e3d6000fd5b50506006546000925061229f91506001600160a01b0316612fc0565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156122e657600080fd5b505af11580156122fa573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b15801561234157600080fd5b505af1158015612355573d6000803e3d6000fd5b50506007546000925061237191506001600160a01b0316612fc0565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156123b857600080fd5b505af11580156123cc573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b15801561241257600080fd5b505af1158015612426573d6000803e3d6000fd5b50506004546000925061244291506001600160a01b0316612fc0565b9050846001600160a01b03166325c471a061245b613032565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156124b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d8919061390d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b15801561252f57600080fd5b505af1158015612543573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b15801561258a57600080fd5b505af115801561259e573d6000803e3d6000fd5b5050604051630f749a8960e01b81526001600160a01b0384811660048301528b169250630f749a899150602401600060405180830381600087803b1580156125e557600080fd5b505af11580156125f9573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__63a1b61ad4828a85888b61262e6001546001600160a01b031690565b61263661048f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561268b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126af9190613b48565b60405160e089901b6001600160e01b03191681526001600160a01b0397881660048201529587166024870152938616604486015291851660648501528416608484015290921660a482015260ff90911660c482015260e40160006040518083038186803b15801561271f57600080fd5b505af4158015612733573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f561274e613032565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156127a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cb919061390d565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b15801561281257600080fd5b505af1158015612826573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af1158015612881573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128a991908101906139a2565b8051604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b03831660c08201529051919a509192507eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d9181900360e00190a1505050505050509091565b612935612b1c565b61293e81610bd7565b612946610a92565b6001600160a01b03821661296d5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613b9583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6129ac611854565b6001600160a01b0316336001600160a01b0316146129df5760405163086391f760e31b8152336004820152602401610727565b6006546001600160a01b0316612a08576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116612a2f57604051631aa1808560e31b815260040160405180910390fd5b6006546001600160a01b0390811690821603612a5e57604051630666e2a560e01b815260040160405180910390fd5b6005546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015612aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad2919061392a565b6001600160a01b031614612af95760405163f026367160e01b815260040160405180910390fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080516020613bd583398151915254600160401b900460ff16612b5357604051631afcd79f60e31b815260040160405180910390fd5b565b6101cf612b1c565b600080516020613bd58339815191528054600160401b810460ff1615906001600160401b0316600081158015612b905750825b90506000826001600160401b03166001148015612bac5750303b155b905081158015612bba575080155b15612bd85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612c0257845460ff60401b1916600160401b1785555b60008087806020019051810190612c199190613b65565b91509150816001600160a01b031663d39e6043612c34602890565b612c3c61048f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb59190613b48565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1e919061392a565b600280546001600160a01b0319166001600160a01b0392909216919091179055612d4a8260008b61198b565b612d5a630655ba6560e31b610873565b50508315610bce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bc5565b6000806000612db56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612e08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e3091908101906139a2565b9050612e4e8160400151612e42604690565b60ff9081169116141590565b15612e775760405163e3c2794960e01b81526001600160601b0387166004820152602401610727565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa158015612ec1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ee991908101906139a2565b9050612f068160200151886001600160601b039081169116141590565b15612f3a57805160405163a811346560e01b81526001600160601b03808a1660048301529091166024820152604401610727565b608090910151905190969095509350505050565b600080516020613bb583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612fb7612b1c565b610ce2816130a9565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b03811661302d576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613085573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610514919061390d565b6130b1612b1c565b610ce281612f4e565b80356001600160e01b03198116811461302d57600080fd5b6000602082840312156130e457600080fd5b6130ed826130ba565b9392505050565b60005b8381101561310f5781810151838201526020016130f7565b50506000910152565b600081518084526131308160208601602086016130f4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516131ad60c08401826001600160a01b03169052565b5060c083015160e0808401526131c7610100840182613118565b949350505050565b6001600160a01b0381168114610ce257600080fd5b6001600160601b0381168114610ce257600080fd5b60ff81168114610ce257600080fd5b8015158114610ce257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561324e5761324e613216565b60405290565b604051601f8201601f191681016001600160401b038111828210171561327c5761327c613216565b604052919050565b60006001600160401b0382111561329d5761329d613216565b50601f01601f191660200190565b60006132be6132b984613284565b613254565b90508281528383830111156132d257600080fd5b828260208301376000602084830101529392505050565b600082601f8301126132fa57600080fd5b6130ed838335602085016132ab565b60008060008060008060c0878903121561332257600080fd5b863561332d816131cf565b9550602087013561333d816131e4565b9450604087013561334d816131f9565b9350606087013561335d81613208565b9250608087013561336d816131cf565b915060a08701356001600160401b0381111561338857600080fd5b61339489828a016132e9565b9150509295509295509295565b6000602082840312156133b357600080fd5b81356001600160401b038111156133c957600080fd5b6131c7848285016132e9565b600080604083850312156133e857600080fd5b82356133f3816131cf565b915060208301356001600160401b0381111561340e57600080fd5b61341a858286016132e9565b9150509250929050565b60006020828403121561343657600080fd5b81356130ed816131cf565b60006001600160401b0382111561345a5761345a613216565b5060051b60200190565b600082601f83011261347557600080fd5b813560206134856132b983613441565b828152600592831b85018201928282019190878511156134a457600080fd5b8387015b8581101561353e5780356001600160401b038111156134c75760008081fd5b8801603f81018a136134d95760008081fd5b8581013560406134eb6132b983613441565b82815291851b8301810191888101908d8411156135085760008081fd5b938201935b8385101561352d5761351e856130ba565b8252938901939089019061350d565b8852505050938501935084016134a8565b5090979650505050505050565b6001600160401b0381168114610ce257600080fd5b600082601f83011261357157600080fd5b813560206135816132b983613441565b82815260059290921b840181019181810190868411156135a057600080fd5b8286015b848110156135c45780356135b78161354b565b83529183019183016135a4565b509695505050505050565b600080600080600060a086880312156135e757600080fd5b85356135f2816131e4565b94506020860135613602816131cf565b935060408601356001600160401b038082111561361e57600080fd5b818801915088601f83011261363257600080fd5b613641898335602085016132ab565b9450606088013591508082111561365757600080fd5b61366389838a01613464565b9350608088013591508082111561367957600080fd5b5061368688828901613560565b9150509295509295909350565b6000806000606084860312156136a857600080fd5b83356136b3816131cf565b925060208401356136c3816131cf565b915060408401356136d3816131cf565b809150509250925092565b6000602082840312156136f057600080fd5b81356130ed81613208565b60006020828403121561370d57600080fd5b81356130ed816131e4565b6000806040838503121561372b57600080fd5b8235613736816131cf565b91506020830135613746816131cf565b809150509250929050565b60006020828403121561376357600080fd5b815162ffffff811681146130ed57600080fd5b600181811c9082168061378a57607f821691505b6020821081036137aa57634e487b7160e01b600052602260045260246000fd5b50919050565b805161302d81613208565b6000602082840312156137cd57600080fd5b81516130ed81613208565b805161302d816131e4565b6000602082840312156137f557600080fd5b81516130ed816131e4565b601f821115611bbf57600081815260208120601f850160051c810160208610156138275750805b601f850160051c820191505b8181101561384657828155600101613833565b505050505050565b81516001600160401b0381111561386757613867613216565b61387b816138758454613776565b84613800565b602080601f8311600181146138b057600084156138985750858301515b600019600386901b1c1916600185901b178555613846565b600085815260208120601f198616915b828110156138df578886015182559484019460019091019084016138c0565b50858210156138fd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561391f57600080fd5b81516130ed8161354b565b60006020828403121561393c57600080fd5b81516130ed816131cf565b805161302d816131cf565b805161302d816131f9565b600082601f83011261396e57600080fd5b815161397c6132b982613284565b81815284602083860101111561399157600080fd5b6131c78260208301602087016130f4565b6000602082840312156139b457600080fd5b81516001600160401b03808211156139cb57600080fd5b9083019060e082860312156139df57600080fd5b6139e761322c565b6139f0836137d8565b81526139fe602084016137d8565b6020820152613a0f60408401613952565b6040820152613a20606084016137b0565b6060820152613a3160808401613947565b6080820152613a4260a08401613947565b60a082015260c083015182811115613a5957600080fd5b613a658782860161395d565b60c08301525095945050505050565b6001600160a01b03831681526040602082018190526000906131c790830184613118565b634e487b7160e01b600052603260045260246000fd5b606081526000613ac16060830186613118565b82810360208481019190915285518083528682019282019060005b81811015613b025784516001600160e01b03191683529383019391830191600101613adc565b50508093505050506001600160401b0383166040830152949350505050565b600060018201613b4157634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215613b5a57600080fd5b81516130ed816131f9565b60008060408385031215613b7857600080fd5b8251613b83816131cf565b6020840151909250613746816131cf56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220de414236af48c956bb3cf75ed560fc660b856202b0741d2b571ab5f7f291265f64736f6c63430008140033",
850
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636c6fbb2811610104578063b03d2a8e116100a2578063edabac0311610071578063edabac0314610429578063eeff428e1461043a578063f7c34ee014610469578063feec11901461047c57600080fd5b8063b03d2a8e146103d6578063b68d1809146103e9578063bf7e214f146103f8578063c22f980d1461041657600080fd5b8063893d20e8116100de578063893d20e8146103855780638e32e9791461038d5780638fb36037146103a0578063ada9652e146103c157600080fd5b80636c6fbb28146103575780637a9e5e4b1461036a578063872309c71461037d57600080fd5b8063329d6e74116101715780635ab1bd531161014b5780635ab1bd53146102da578063644c45e0146102ff578063675393bf146103315780636a778e731461034457600080fd5b8063329d6e74146102ac57806336fc697e146102bf57806349bb9e4b146102c757600080fd5b8063138461e0116101ad578063138461e0146102475780631eff4b2214610251578063214cdb801461028657806327bb7a331461029957600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e23660046130d2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e61048f565b60405162ffffff909116815260200161020d565b61023a610519565b60405161020d9190613144565b61024f61066c565b005b6102787f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b61024f6102943660046130d2565b610873565b61024f6102a7366004613309565b6108a0565b61024f6102ba3660046133a1565b610945565b61024f610a92565b61024f6102d53660046133d5565b610ad8565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b600080516020613b95833981519152546001600160601b03165b6040516001600160601b03909116815260200161020d565b61024f61033f366004613424565b610bd7565b610319610352366004613424565b610ce5565b61024f6103653660046135cf565b61159c565b61024f610378366004613424565b6117ba565b610278600081565b6102e7611854565b61024f61039b366004613693565b61198b565b6103a8611bc4565b6040516001600160e01b0319909116815260200161020d565b610278600080516020613b9583398151915281565b61024f6103e43660046136de565b611bfc565b6040516046815260200161020d565b600080516020613bb5833981519152546001600160a01b03166102e7565b61024f6104243660046136fb565b611e6d565b6006546001600160a01b03166102e7565b610442612098565b604080516001600160a01b0390931683526001600160601b0390911660208301520161020d565b61024f610477366004613718565b61292d565b61024f61048a366004613424565b6129a4565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105149190613751565b905090565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c8611854565b6001600160a01b031681526020018260010180546105e590613776565b80601f016020809104026020016040519081016040528092919081815260200182805461061190613776565b801561065e5780601f106106335761010080835404028352916020019161065e565b820191906000526020600020905b81548152906001019060200180831161064157829003601f168201915b505050505081525091505090565b6000600080516020613b9583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff91906137bb565b156107305780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107436001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561078b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107af91906137bb565b6107d75760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610727565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561082b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084f91906137e3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61087b612b1c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108a8612b1c565b6108b2828761292d565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161093b838261384e565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61096761048f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cb919061390d565b600080516020613bd58339815191528054600160401b900460ff16806109fe575080546001600160401b03808416911610155b15610a1c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a4683612b55565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a9a612b1c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020613bd58339815191528054600160401b810460ff1615906001600160401b0316600081158015610b0b5750825b90506000826001600160401b03166001148015610b275750303b155b905081158015610b35575080155b15610b535760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b7d57845460ff60401b1916600160401b1785555b610b878787612b5d565b8315610bce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610bdf612b1c565b806001600160a01b03163b600003610c155760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610727565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152631373a18560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610c8f575060408051601f3d908101601f19168201909252610c8c918101906137bb565b60015b610cb75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610727565b80610ce05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610727565b505b50565b6000610cef611854565b6001600160a01b0316336001600160a01b031614610d225760405163086391f760e31b8152336004820152602401610727565b6005546001600160a01b031615610d4c57604051632c237de760e11b815260040160405180910390fd5b6003546001600160a01b031615610d7657604051636519f6b960e01b815260040160405180910390fd5b6004546001600160a01b031615610da057604051630157f74960e01b815260040160405180910390fd5b6007546001600160a01b031615610dca57604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610df1576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a919061392a565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec5919061392a565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f30919061392a565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9b919061392a565b9050806001600160a01b038716610fc55760405163459e9b9760e01b815260040160405180910390fd5b6001600160a01b038516610fec5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b03831661101357604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b03811661103a576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611078573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109c919061392a565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611107919061392a565b6001600160a01b03161461112e576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561116c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611190919061392a565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fb919061392a565b6001600160a01b031614611222576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611260573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611284919061392a565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ef919061392a565b6001600160a01b03161461131657604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611382919061392a565b6001600160a01b0316146113a957604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611415919061392a565b6001600160a01b03161461143c576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149e919061392a565b600380546001600160a01b03199081166001600160a01b03938416179091556004805482168a84161790556005805482168e8416908117909155600680548316898516179055600780548316878516179055600880549092168484161790915560025490916000911663026bc43b83611515611854565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015611562573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261158a91908101906139a2565b519d9c50505050505050505050505050565b6001546001600160a01b0316604051632b91e0a960e01b81523360048201526001600160a01b039190911690632b91e0a990602401602060405180830381865afa1580156115ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161291906137bb565b611631576040516302613e9f60e51b8152336004820152602401610727565b600061163d8686612d9e565b5090506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a4919061392a565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c30906116d59089908990600401613a74565b600060405180830381600087803b1580156116ef57600080fd5b505af1158015611703573d6000803e3d6000fd5b5050505060005b835181101561093b57816001600160a01b0316630c8ae53e8787848151811061173557611735613a98565b602002602001015187858151811061174f5761174f613a98565b60200260200101516040518463ffffffff1660e01b815260040161177593929190613aae565b600060405180830381600087803b15801561178f57600080fd5b505af11580156117a3573d6000803e3d6000fd5b5050505080806117b290613b21565b91505061170a565b336117da600080516020613bb5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146118155760405162d1953b60e31b81526001600160a01b0382166004820152602401610727565b816001600160a01b03163b60000361184b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610727565b610ce082612f4e565b600080600080516020613b9583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e891906137bb565b15611975576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561194b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196f919061392a565b91505090565b54600160601b90046001600160a01b0316919050565b611993612b1c565b611a1383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f991906137e3565b603c600085604051806020016040528060008152506108a0565b6001600160a01b03821615611a3057611a2b82612faf565b611b9f565b6000611a446001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac89190613b48565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b31919061392a565b9050611b9d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b98919061392a565b612faf565b505b611baf634a531f3360e01b610873565b611bbf63b68d180960e01b610873565b505050565b600080516020613bb5833981519152805460009190600160a01b900460ff16611bee57600061196f565b638fb3603760e01b91505090565b6001546001600160a01b0316604051630bee2f1560e11b81523360048201526001600160a01b0391909116906317dc5e2a90602401602060405180830381865afa158015611c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7291906137bb565b611c91576040516302613e9f60e51b8152336004820152602401610727565b336000611ca66001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611cf2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d1a91908101906139a2565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611d71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d9991908101906139a2565b608001519050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e01919061392a565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611e4e57600080fd5b505af1158015611e62573d6000803e3d6000fd5b505050505050505050565b80611e806001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ecf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef3919061392a565b6001600160a01b0316336001600160a01b031614611f26576040516302613e9f60e51b8152336004820152602401610727565b6000611f3a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611f8d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fb591908101906139a2565b608081015160065491925090600090611fd6906001600160a01b0316612fc0565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561201d57600080fd5b505af1158015612031573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b15801561207857600080fd5b505af115801561208c573d6000803e3d6000fd5b50505050505050505050565b6003546000908190339082906120b6906001600160a01b0316612fc0565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b1580156120fa57600080fd5b505af115801561210e573d6000803e3d6000fd5b505060055461212892506001600160a01b03169050612fc0565b9350836001600160a01b031663c0c53b8b8261214c6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b15801561219d57600080fd5b505af11580156121b1573d6000803e3d6000fd5b5050600854600092506121cd91506001600160a01b0316612fc0565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561221457600080fd5b505af1158015612228573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561226f57600080fd5b505af1158015612283573d6000803e3d6000fd5b50506006546000925061229f91506001600160a01b0316612fc0565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156122e657600080fd5b505af11580156122fa573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b15801561234157600080fd5b505af1158015612355573d6000803e3d6000fd5b50506007546000925061237191506001600160a01b0316612fc0565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156123b857600080fd5b505af11580156123cc573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b15801561241257600080fd5b505af1158015612426573d6000803e3d6000fd5b50506004546000925061244291506001600160a01b0316612fc0565b9050846001600160a01b03166325c471a061245b613032565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156124b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d8919061390d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b15801561252f57600080fd5b505af1158015612543573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b15801561258a57600080fd5b505af115801561259e573d6000803e3d6000fd5b5050604051630f749a8960e01b81526001600160a01b0384811660048301528b169250630f749a899150602401600060405180830381600087803b1580156125e557600080fd5b505af11580156125f9573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__63a1b61ad4828a85888b61262e6001546001600160a01b031690565b61263661048f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561268b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126af9190613b48565b60405160e089901b6001600160e01b03191681526001600160a01b0397881660048201529587166024870152938616604486015291851660648501528416608484015290921660a482015260ff90911660c482015260e40160006040518083038186803b15801561271f57600080fd5b505af4158015612733573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f561274e613032565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156127a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cb919061390d565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b15801561281257600080fd5b505af1158015612826573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af1158015612881573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128a991908101906139a2565b8051604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b03831660c08201529051919a509192507eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d9181900360e00190a1505050505050509091565b612935612b1c565b61293e81610bd7565b612946610a92565b6001600160a01b03821661296d5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613b9583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6129ac611854565b6001600160a01b0316336001600160a01b0316146129df5760405163086391f760e31b8152336004820152602401610727565b6006546001600160a01b0316612a08576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116612a2f57604051631aa1808560e31b815260040160405180910390fd5b6006546001600160a01b0390811690821603612a5e57604051630666e2a560e01b815260040160405180910390fd5b6005546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015612aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad2919061392a565b6001600160a01b031614612af95760405163f026367160e01b815260040160405180910390fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080516020613bd583398151915254600160401b900460ff16612b5357604051631afcd79f60e31b815260040160405180910390fd5b565b6101cf612b1c565b600080516020613bd58339815191528054600160401b810460ff1615906001600160401b0316600081158015612b905750825b90506000826001600160401b03166001148015612bac5750303b155b905081158015612bba575080155b15612bd85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612c0257845460ff60401b1916600160401b1785555b60008087806020019051810190612c199190613b65565b91509150816001600160a01b031663d39e6043612c34602890565b612c3c61048f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb59190613b48565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1e919061392a565b600280546001600160a01b0319166001600160a01b0392909216919091179055612d4a8260008b61198b565b612d5a630655ba6560e31b610873565b50508315610bce57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bc5565b6000806000612db56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612e08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e3091908101906139a2565b9050612e4e8160400151612e42604690565b60ff9081169116141590565b15612e775760405163e3c2794960e01b81526001600160601b0387166004820152602401610727565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa158015612ec1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ee991908101906139a2565b9050612f068160200151886001600160601b039081169116141590565b15612f3a57805160405163a811346560e01b81526001600160601b03808a1660048301529091166024820152604401610727565b608090910151905190969095509350505050565b600080516020613bb583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612fb7612b1c565b610ce2816130a9565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b03811661302d576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613085573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610514919061390d565b6130b1612b1c565b610ce281612f4e565b80356001600160e01b03198116811461302d57600080fd5b6000602082840312156130e457600080fd5b6130ed826130ba565b9392505050565b60005b8381101561310f5781810151838201526020016130f7565b50506000910152565b600081518084526131308160208601602086016130f4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516131ad60c08401826001600160a01b03169052565b5060c083015160e0808401526131c7610100840182613118565b949350505050565b6001600160a01b0381168114610ce257600080fd5b6001600160601b0381168114610ce257600080fd5b60ff81168114610ce257600080fd5b8015158114610ce257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561324e5761324e613216565b60405290565b604051601f8201601f191681016001600160401b038111828210171561327c5761327c613216565b604052919050565b60006001600160401b0382111561329d5761329d613216565b50601f01601f191660200190565b60006132be6132b984613284565b613254565b90508281528383830111156132d257600080fd5b828260208301376000602084830101529392505050565b600082601f8301126132fa57600080fd5b6130ed838335602085016132ab565b60008060008060008060c0878903121561332257600080fd5b863561332d816131cf565b9550602087013561333d816131e4565b9450604087013561334d816131f9565b9350606087013561335d81613208565b9250608087013561336d816131cf565b915060a08701356001600160401b0381111561338857600080fd5b61339489828a016132e9565b9150509295509295509295565b6000602082840312156133b357600080fd5b81356001600160401b038111156133c957600080fd5b6131c7848285016132e9565b600080604083850312156133e857600080fd5b82356133f3816131cf565b915060208301356001600160401b0381111561340e57600080fd5b61341a858286016132e9565b9150509250929050565b60006020828403121561343657600080fd5b81356130ed816131cf565b60006001600160401b0382111561345a5761345a613216565b5060051b60200190565b600082601f83011261347557600080fd5b813560206134856132b983613441565b828152600592831b85018201928282019190878511156134a457600080fd5b8387015b8581101561353e5780356001600160401b038111156134c75760008081fd5b8801603f81018a136134d95760008081fd5b8581013560406134eb6132b983613441565b82815291851b8301810191888101908d8411156135085760008081fd5b938201935b8385101561352d5761351e856130ba565b8252938901939089019061350d565b8852505050938501935084016134a8565b5090979650505050505050565b6001600160401b0381168114610ce257600080fd5b600082601f83011261357157600080fd5b813560206135816132b983613441565b82815260059290921b840181019181810190868411156135a057600080fd5b8286015b848110156135c45780356135b78161354b565b83529183019183016135a4565b509695505050505050565b600080600080600060a086880312156135e757600080fd5b85356135f2816131e4565b94506020860135613602816131cf565b935060408601356001600160401b038082111561361e57600080fd5b818801915088601f83011261363257600080fd5b613641898335602085016132ab565b9450606088013591508082111561365757600080fd5b61366389838a01613464565b9350608088013591508082111561367957600080fd5b5061368688828901613560565b9150509295509295909350565b6000806000606084860312156136a857600080fd5b83356136b3816131cf565b925060208401356136c3816131cf565b915060408401356136d3816131cf565b809150509250925092565b6000602082840312156136f057600080fd5b81356130ed81613208565b60006020828403121561370d57600080fd5b81356130ed816131e4565b6000806040838503121561372b57600080fd5b8235613736816131cf565b91506020830135613746816131cf565b809150509250929050565b60006020828403121561376357600080fd5b815162ffffff811681146130ed57600080fd5b600181811c9082168061378a57607f821691505b6020821081036137aa57634e487b7160e01b600052602260045260246000fd5b50919050565b805161302d81613208565b6000602082840312156137cd57600080fd5b81516130ed81613208565b805161302d816131e4565b6000602082840312156137f557600080fd5b81516130ed816131e4565b601f821115611bbf57600081815260208120601f850160051c810160208610156138275750805b601f850160051c820191505b8181101561384657828155600101613833565b505050505050565b81516001600160401b0381111561386757613867613216565b61387b816138758454613776565b84613800565b602080601f8311600181146138b057600084156138985750858301515b600019600386901b1c1916600185901b178555613846565b600085815260208120601f198616915b828110156138df578886015182559484019460019091019084016138c0565b50858210156138fd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561391f57600080fd5b81516130ed8161354b565b60006020828403121561393c57600080fd5b81516130ed816131cf565b805161302d816131cf565b805161302d816131f9565b600082601f83011261396e57600080fd5b815161397c6132b982613284565b81815284602083860101111561399157600080fd5b6131c78260208301602087016130f4565b6000602082840312156139b457600080fd5b81516001600160401b03808211156139cb57600080fd5b9083019060e082860312156139df57600080fd5b6139e761322c565b6139f0836137d8565b81526139fe602084016137d8565b6020820152613a0f60408401613952565b6040820152613a20606084016137b0565b6060820152613a3160808401613947565b6080820152613a4260a08401613947565b60a082015260c083015182811115613a5957600080fd5b613a658782860161395d565b60c08301525095945050505050565b6001600160a01b03831681526040602082018190526000906131c790830184613118565b634e487b7160e01b600052603260045260246000fd5b606081526000613ac16060830186613118565b82810360208481019190915285518083528682019282019060005b81811015613b025784516001600160e01b03191683529383019391830191600101613adc565b50508093505050506001600160401b0383166040830152949350505050565b600060018201613b4157634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215613b5a57600080fd5b81516130ed816131f9565b60008060408385031215613b7857600080fd5b8251613b83816131cf565b6020840151909250613746816131cf56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220de414236af48c956bb3cf75ed560fc660b856202b0741d2b571ab5f7f291265f64736f6c63430008140033",
1182
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614ad9806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c80636c741e781161012a578063ada9652e116100b4578063c265172511610079578063c265172514610510578063d127388714610518578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063ada9652e146104c7578063b428b0b0146104db578063b68d1809146104ee578063b7d2b162146104f5578063bf7e214f14610508575f80fd5b806386892313116100fa5780638689231314610471578063872309c714610484578063893d20e81461048b5780638fb360371461049357806396cdfa3f146104b4575f80fd5b80636c741e781461042957806376b707b7146104315780637a9e5e4b1461044b5780637de45f131461045e575f80fd5b8063254f6866116101b657806349bb9e4b1161017b57806349bb9e4b146103ae5780635ab1bd53146103c15780635fa8aad4146103e6578063644c45e0146103f95780636a778e7314610416575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e74146103755780633dfa1a3d146103885780633fa526151461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004613f00565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190613f49565b6102b26102ad366004613fe9565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004614131565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a36600461419d565b610a39565b6102b261035d366004613fe9565b610b1f565b6102b26103703660046141e6565b610d4d565b6102b2610383366004614201565b610e24565b6102bc610396366004614246565b610f6f565b6102bc6103a9366004614272565b61108f565b6102b26103bc36600461428d565b6111a4565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103f436600461428d565b61129f565b5f80516020614a44833981519152546001600160601b03166102bc565b6102bc610424366004613fe9565b611386565b61031c611f2e565b610439611fba565b60405160ff9091168152602001610265565b6102b2610459366004613fe9565b612022565b6102b261046c366004614272565b6120a8565b6102b261047f3660046142d9565b61217a565b6102fb5f81565b6103ce61222b565b61049b61235c565b6040516001600160e01b03199091168152602001610265565b6102b26104c23660046142f5565b612391565b6102fb5f80516020614a4483398151915281565b6102b26104e9366004614310565b61251e565b600a610439565b6102b2610503366004614310565b6125d6565b6103ce61268e565b6102b26126a9565b61052b6105263660046142f5565b612835565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6008546001600160a01b03166103ce565b6102b26105713660046143fc565b612ca0565b6102b261058436600461443e565b612d46565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061449b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e091906144c8565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161072861222b565b6001600160a01b03168152602001826001018054610745906144e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610771906144e3565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612e22565b6107e7336107e2611fba565b612f18565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086291906144c8565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb0590610895908490869060040161451b565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b30613214565b5f6108da336107cf565b6108e6336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a919061453d565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b815260040161097993929190614558565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b9919061458f565b95945050505050565b5f6109cb61268e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3391906145b5565b15905090565b610a42336107cf565b610a4e336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab2919061453d565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b2761222b565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c50919061453d565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b600880546001600160a01b0384166001600160a01b03199091161790557fa1504e1ebc0f8c6bcbe8014d6921eafe6dfa35ede293c521db58073161319dbe610cc76001546001600160a01b031690565b600754604051632f2a35f760e11b81526001600160a01b039182166004820152911690635e546bee90602401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3291906144c8565b83604051610d4192919061451b565b60405180910390a15050565b610d56336107cf565b610d62336107e2611fba565b5f610d756001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd91906144c8565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e46610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea8919061458f565b5f80516020614a848339815191528054600160401b900460ff1680610eda575080546001600160401b03808416911610155b15610ef85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f2283613456565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b5f610f79336107cf565b610f85336107e2611fba565b5f610f986001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610fdc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100091906144c8565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038881166024840152908716604483015292935091169063dec3bdde906064016020604051808303815f875af1158015611063573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108791906144c8565b949350505050565b5f611099336107cf565b6110a5336107e2611fba565b5f6110b86001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112091906144c8565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015611179573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119d91906144c8565b9392505050565b5f80516020614a848339815191528054600160401b810460ff1615906001600160401b03165f811580156111d55750825b90505f826001600160401b031660011480156111f05750303b155b9050811580156111fe575080155b1561121c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561124657845460ff60401b1916600160401b1785555b6112508787613477565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f6112a9336107cf565b6112b5336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611319919061453d565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b81526004016113469291906145d0565b6020604051808303815f875af1158015611362573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611087919061458f565b5f61138f61222b565b6001600160a01b0316336001600160a01b0316146113c25760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b0316156113ec57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156114165760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b0316156114405760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b03161561146a5760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216611491576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f6919061453d565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611535573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611559919061453d565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561159c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c0919061453d565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611603573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611627919061453d565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561166a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168e919061453d565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116f5919061453d565b9050806001600160a01b038b1661171f576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611745576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661176c5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166117935760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166117ba57604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b0381166117e1576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561181d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611841919061453d565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118aa919061453d565b6001600160a01b0316146118d1576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561190d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611931919061453d565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611976573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061199a919061453d565b6001600160a01b0316146119c15760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a21919061453d565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a8a919061453d565b6001600160a01b031614611ab1576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b11919061453d565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7a919061453d565b6001600160a01b031614611ba157604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0b919061453d565b6001600160a01b031614611c3257604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9c919061453d565b6001600160a01b031614611cc357604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d2d919061453d565b6001600160a01b031614611d54576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611ea361222b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611eec573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f139190810190614664565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611f53611fba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611f96573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061458f565b5f611fc361268e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ffe573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614734565b3361202b61268e565b6001600160a01b0316816001600160a01b0316146120665760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f0361209b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b6120a48261360f565b5050565b6120b1336107cf565b6120bd336107e2611fba565b5f6120d06001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612114573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061213891906144c8565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b612183336107cf565b61218f336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f3919061453d565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f80516020614a4483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612297573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bb91906145b5565b15612346576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561231c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612340919061453d565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614a6483398151915280545f9190600160a01b900460ff16612383575f612340565b638fb3603760e01b91505090565b61239a336107cf565b6123a6336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240a919061453d565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024015f604051808303815f87803b15801561244c575f80fd5b505af115801561245e573d5f803e3d5ffd5b505050507faabc2aefa17583d33fc341e11bdc4d9f417f9e9879c5e200ae5df09bf7c676ed6124956001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0384811660048301529190911690635e546bee90602401602060405180830381865afa1580156124db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ff91906144c8565b604080516001600160601b039092168252841515602083015201610d41565b612527336107cf565b612533336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612573573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612597919061453d565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b6125df336107cf565b6125eb336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561262b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264f919061453d565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614a64833981519152546001600160a01b031690565b6126b2336107cf565b6126be336107e2611fba565b600854339081905f906126d9906001600160a01b0316613668565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b15801561271d575f80fd5b505af115801561272f573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b158015612773575f80fd5b505af1158015612785573d5f803e3d5ffd5b505050507f3ceb16815c8726af4f729a63cfef71e374192daa36372503d0d0cd50213a91586127bc6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0386811660048301529190911690635e546bee90602401602060405180830381865afa158015612802573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061282691906144c8565b82604051610f6292919061451b565b5f80612840336107cf565b335f61284a6136d7565b90506128578183876137f0565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af11580156128a9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128d09190810190614664565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa158015612926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061294a919061453d565b9050816001600160a01b03166304d670b961296d6001546001600160a01b031690565b83612976611fba565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b1580156129cc575f80fd5b505af11580156129de573d5f803e3d5ffd5b505050506129f46001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5d919061453d565b6001600160a01b031614612a7357612a7361474f565b612ae9856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ab2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ad69190614734565b612ade611fba565b60ff90811691161490565b612af557612af561474f565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b849190614763565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612bcb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bef919061453d565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b158015612c49575f80fd5b505af1158015612c5b573d5f803e3d5ffd5b505050507fbd6800584d7105d7fd4de0db92f641ba5543ffb40d1ec8eb59617e12e32afed28486604051612c9092919061451b565b60405180910390a1505050915091565b612ca9336107cf565b612cb5336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d19919061453d565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610aed9291906147e2565b612d4f336107cf565b612d5b336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d9b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dbf919061453d565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612dee93929190614805565b5f604051808303815f87803b158015612e05575f80fd5b505af1158015612e17573d5f803e3d5ffd5b50505050505b505050565b5f80516020614a648339815191525f80612e5a612e3d61268e565b8730612e4c60045f8a8c614837565b612e559161485e565b61391d565b91509150816108be5763ffffffff811615612ef557825460ff60a01b1916600160a01b178355612e8861268e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612eb793929190614896565b5f604051808303815f87803b158015612ece575f80fd5b505af1158015612ee0573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f612f2b6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612f74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9891906144c8565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612ff1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061301591906145b5565b1561303e576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561308a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130b19190810190614664565b60400151905060ff8116600a146130ef57604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af415801561313f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061316391906145b5565b1561320d575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131c99190614734565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f80516020614a4483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613280573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a491906145b5565b156132d05780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613322573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061334691906145b5565b61336e5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156133c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133e491906144c8565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061343061222b565b60405161343e92919061451b565b60405180910390a1546001600160601b031692915050565b61345e613a25565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020614a848339815191528054600160401b810460ff1615906001600160401b03165f811580156134a85750825b90505f826001600160401b031660011480156134c35750303b155b9050811580156134d1575080155b156134ef5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561351957845460ff60401b1916600160401b1785555b5f808780602001905181019061352f91906148d5565b9150915061353e82828b613a5d565b6135486002613afa565b600280546001600160a01b0319166001600160a01b03929092169190911790556135726003613afa565b600380546001600160a01b0319166001600160a01b039290921691909117905561359c600b613afa565b600480546001600160a01b0319166001600160a01b03929092169190911790556135cb62519cf160e01b613b91565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161128e565b5f80516020614a6483398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610d41565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b0381166136d2576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f8061375560065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561372c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613750919061453d565b613668565b60065490915061376d906001600160a01b0316613668565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b1580156137d6575f80fd5b505af11580156137e8573d5f803e3d5ffd5b505050505090565b6007545f908190613809906001600160a01b0316613668565b600b549091506001600160a01b038083169163d6d0a65b91889161382d9116613668565b600954613842906001600160a01b0316613668565b600a54613857906001600160a01b0316613668565b60085461386c906001600160a01b0316613668565b6001546001600160a01b0316613880611fba565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b1580156138fe575f80fd5b505af1158015613910573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161398b9190614902565b5f60405180830381855afa9150503d805f81146139c3576040519150601f19603f3d011682016040523d82523d5f602084013e6139c8565b606091505b50915091508115613a1a5760408151106139fa57808060200190518101906139f09190614918565b9094509250613a1a565b6020815110613a1a5780806020019051810190613a1791906145b5565b93505b505094509492505050565b5f80516020614a8483398151915254600160401b900460ff16613a5b57604051631afcd79f60e31b815260040160405180910390fd5b565b613a65613a25565b613a6d613bc4565b613aea8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613aae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ad291906144c8565b60085f8660405180602001604052805f815250613bd4565b612e1d63daf9067160e01b613b91565b5f613b0d6001546001600160a01b031690565b6001600160a01b031663d39e604383613b24611fba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613b67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b8b919061453d565b92915050565b613b99613a25565b613bc1816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613bcc613a25565b613a5b613d11565b613bdc613a25565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613c32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c5691906145b5565b613c7e5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613c8787613d3f565b613c918683613d50565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613d008382614989565b50612e17634a531f3360e01b613b91565b613d19613a25565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613d47613a25565b613bc181613dc6565b613d58613a25565b613d60613dd7565b613d6982613e1f565b6001600160a01b038116613d905760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614a4483398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613dce613a25565b613bc18161360f565b613ddf613a25565b613a5b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613e27613a25565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613e7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ea191906145b5565b613ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613bc1575f80fd5b5f60208284031215613f10575f80fd5b813561119d81613eeb565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613f91608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611087610100840182613f1b565b6001600160a01b0381168114613bc1575f80fd5b5f60208284031215613ff9575f80fd5b813561119d81613fd5565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b038111828210171561403a5761403a614004565b60405290565b60405160e081016001600160401b038111828210171561403a5761403a614004565b604051601f8201601f191681016001600160401b038111828210171561408a5761408a614004565b604052919050565b5f6001600160401b038211156140aa576140aa614004565b50601f01601f191660200190565b5f82601f8301126140c7575f80fd5b8135602083015f6140df6140da84614092565b614062565b90508281528583830111156140f2575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613bc1575f80fd5b63ffffffff81168114613bc1575f80fd5b5f805f60608486031215614143575f80fd5b83356001600160401b03811115614158575f80fd5b614164868287016140b8565b93505060208401356141758161410c565b9150604084013561418581614120565b809150509250925092565b8015158114613bc1575f80fd5b5f80604083850312156141ae575f80fd5b82356141b98161410c565b915060208301356141c981614190565b809150509250929050565b64ffffffffff81168114613bc1575f80fd5b5f602082840312156141f6575f80fd5b813561119d816141d4565b5f60208284031215614211575f80fd5b81356001600160401b03811115614226575f80fd5b611087848285016140b8565b6001600160601b0381168114613bc1575f80fd5b5f8060408385031215614257575f80fd5b823561426281613fd5565b915060208301356141c981614232565b5f60208284031215614282575f80fd5b813561119d81614232565b5f806040838503121561429e575f80fd5b82356142a981613fd5565b915060208301356001600160401b038111156142c3575f80fd5b6142cf858286016140b8565b9150509250929050565b5f80604083850312156142ea575f80fd5b82356141b981613fd5565b5f60208284031215614305575f80fd5b813561119d81614190565b5f8060408385031215614321575f80fd5b823561432c8161410c565b915060208301356141c981613fd5565b5f82601f83011261434b575f80fd5b81356001600160401b0381111561436457614364614004565b61437360208260051b01614062565b80828252602082019150602060608402860101925085831115614394575f80fd5b602085015b838110156143f257606081880312156143b0575f80fd5b6143b8614018565b8135815260208201356143ca81613eeb565b602082015260408201356143dd816141d4565b60408201528352602090920191606001614399565b5095945050505050565b5f806040838503121561440d575f80fd5b823561441881613fd5565b915060208301356001600160401b03811115614432575f80fd5b6142cf8582860161433c565b5f805f60608486031215614450575f80fd5b833561445b81613fd5565b9250602084013561446b8161410c565b915060408401356001600160401b03811115614485575f80fd5b6144918682870161433c565b9150509250925092565b5f602082840312156144ab575f80fd5b815162ffffff8116811461119d575f80fd5b80516136d281614232565b5f602082840312156144d8575f80fd5b815161119d81614232565b600181811c908216806144f757607f821691505b60208210810361451557634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f6020828403121561454d575f80fd5b815161119d81613fd5565b606081525f61456a6060830186613f1b565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561459f575f80fd5b815161119d8161410c565b80516136d281614190565b5f602082840312156145c5575f80fd5b815161119d81614190565b6001600160a01b03831681526040602082018190525f9061108790830184613f1b565b80516136d281613fd5565b60ff81168114613bc1575f80fd5b80516136d2816145fe565b5f82601f830112614626575f80fd5b81516146346140da82614092565b818152846020838601011115614648575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614674575f80fd5b81516001600160401b03811115614689575f80fd5b820160e0818503121561469a575f80fd5b6146a2614040565b6146ab826144bd565b81526146b9602083016144bd565b60208201526146ca6040830161460c565b60408201526146db606083016145aa565b60608201526146ec608083016145f3565b60808201526146fd60a083016145f3565b60a082015260c08201516001600160401b0381111561471a575f80fd5b61472686828501614617565b60c083015250949350505050565b5f60208284031215614744575f80fd5b815161119d816145fe565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614773575f80fd5b815161119d816141d4565b5f8151808452602084019350602083015f5b828110156147d8578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101614790565b5093949350505050565b6001600160a01b03831681526040602082018190525f906110879083018461477e565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b99083018461477e565b5f8085851115614845575f80fd5b83861115614851575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561488f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156148e6575f80fd5b82516148f181613fd5565b60208401519092506141c981613fd5565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614929575f80fd5b825161493481614190565b60208401519092506141c981614120565b601f821115612e1d57805f5260205f20601f840160051c8101602085101561496a5750805b601f840160051c820191505b8181101561320d575f8155600101614976565b81516001600160401b038111156149a2576149a2614004565b6149b6816149b084546144e3565b84614945565b6020601f8211600181146149e8575f83156149d15750848201515b5f19600385901b1c1916600184901b17845561320d565b5f84815260208120601f198516915b82811015614a1757878501518255602094850194600190920191016149f7565b5084821015614a3457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122064f202041bf77a65daec3b06f85a58516a48bde98018f0043aa18268bdfd844c64736f6c634300081a0033",
1183
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c80636c741e781161012a578063ada9652e116100b4578063c265172511610079578063c265172514610510578063d127388714610518578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063ada9652e146104c7578063b428b0b0146104db578063b68d1809146104ee578063b7d2b162146104f5578063bf7e214f14610508575f80fd5b806386892313116100fa5780638689231314610471578063872309c714610484578063893d20e81461048b5780638fb360371461049357806396cdfa3f146104b4575f80fd5b80636c741e781461042957806376b707b7146104315780637a9e5e4b1461044b5780637de45f131461045e575f80fd5b8063254f6866116101b657806349bb9e4b1161017b57806349bb9e4b146103ae5780635ab1bd53146103c15780635fa8aad4146103e6578063644c45e0146103f95780636a778e7314610416575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e74146103755780633dfa1a3d146103885780633fa526151461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004613f00565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190613f49565b6102b26102ad366004613fe9565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004614131565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a36600461419d565b610a39565b6102b261035d366004613fe9565b610b1f565b6102b26103703660046141e6565b610d4d565b6102b2610383366004614201565b610e24565b6102bc610396366004614246565b610f6f565b6102bc6103a9366004614272565b61108f565b6102b26103bc36600461428d565b6111a4565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103f436600461428d565b61129f565b5f80516020614a44833981519152546001600160601b03166102bc565b6102bc610424366004613fe9565b611386565b61031c611f2e565b610439611fba565b60405160ff9091168152602001610265565b6102b2610459366004613fe9565b612022565b6102b261046c366004614272565b6120a8565b6102b261047f3660046142d9565b61217a565b6102fb5f81565b6103ce61222b565b61049b61235c565b6040516001600160e01b03199091168152602001610265565b6102b26104c23660046142f5565b612391565b6102fb5f80516020614a4483398151915281565b6102b26104e9366004614310565b61251e565b600a610439565b6102b2610503366004614310565b6125d6565b6103ce61268e565b6102b26126a9565b61052b6105263660046142f5565b612835565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6008546001600160a01b03166103ce565b6102b26105713660046143fc565b612ca0565b6102b261058436600461443e565b612d46565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061449b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e091906144c8565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161072861222b565b6001600160a01b03168152602001826001018054610745906144e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610771906144e3565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612e22565b6107e7336107e2611fba565b612f18565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086291906144c8565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb0590610895908490869060040161451b565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b30613214565b5f6108da336107cf565b6108e6336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a919061453d565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b815260040161097993929190614558565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b9919061458f565b95945050505050565b5f6109cb61268e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3391906145b5565b15905090565b610a42336107cf565b610a4e336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab2919061453d565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b2761222b565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c50919061453d565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b600880546001600160a01b0384166001600160a01b03199091161790557fa1504e1ebc0f8c6bcbe8014d6921eafe6dfa35ede293c521db58073161319dbe610cc76001546001600160a01b031690565b600754604051632f2a35f760e11b81526001600160a01b039182166004820152911690635e546bee90602401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3291906144c8565b83604051610d4192919061451b565b60405180910390a15050565b610d56336107cf565b610d62336107e2611fba565b5f610d756001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd91906144c8565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e46610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea8919061458f565b5f80516020614a848339815191528054600160401b900460ff1680610eda575080546001600160401b03808416911610155b15610ef85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f2283613456565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b5f610f79336107cf565b610f85336107e2611fba565b5f610f986001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610fdc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100091906144c8565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038881166024840152908716604483015292935091169063dec3bdde906064016020604051808303815f875af1158015611063573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108791906144c8565b949350505050565b5f611099336107cf565b6110a5336107e2611fba565b5f6110b86001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112091906144c8565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015611179573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119d91906144c8565b9392505050565b5f80516020614a848339815191528054600160401b810460ff1615906001600160401b03165f811580156111d55750825b90505f826001600160401b031660011480156111f05750303b155b9050811580156111fe575080155b1561121c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561124657845460ff60401b1916600160401b1785555b6112508787613477565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f6112a9336107cf565b6112b5336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611319919061453d565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b81526004016113469291906145d0565b6020604051808303815f875af1158015611362573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611087919061458f565b5f61138f61222b565b6001600160a01b0316336001600160a01b0316146113c25760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b0316156113ec57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156114165760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b0316156114405760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b03161561146a5760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216611491576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f6919061453d565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611535573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611559919061453d565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561159c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c0919061453d565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611603573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611627919061453d565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561166a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168e919061453d565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116f5919061453d565b9050806001600160a01b038b1661171f576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611745576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661176c5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166117935760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166117ba57604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b0381166117e1576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561181d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611841919061453d565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118aa919061453d565b6001600160a01b0316146118d1576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561190d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611931919061453d565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611976573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061199a919061453d565b6001600160a01b0316146119c15760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a21919061453d565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a8a919061453d565b6001600160a01b031614611ab1576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b11919061453d565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7a919061453d565b6001600160a01b031614611ba157604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0b919061453d565b6001600160a01b031614611c3257604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9c919061453d565b6001600160a01b031614611cc357604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d2d919061453d565b6001600160a01b031614611d54576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611ea361222b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611eec573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f139190810190614664565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611f53611fba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611f96573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061458f565b5f611fc361268e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ffe573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614734565b3361202b61268e565b6001600160a01b0316816001600160a01b0316146120665760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f0361209b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b6120a48261360f565b5050565b6120b1336107cf565b6120bd336107e2611fba565b5f6120d06001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612114573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061213891906144c8565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b612183336107cf565b61218f336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f3919061453d565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f80516020614a4483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612297573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bb91906145b5565b15612346576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561231c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612340919061453d565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614a6483398151915280545f9190600160a01b900460ff16612383575f612340565b638fb3603760e01b91505090565b61239a336107cf565b6123a6336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240a919061453d565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024015f604051808303815f87803b15801561244c575f80fd5b505af115801561245e573d5f803e3d5ffd5b505050507faabc2aefa17583d33fc341e11bdc4d9f417f9e9879c5e200ae5df09bf7c676ed6124956001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0384811660048301529190911690635e546bee90602401602060405180830381865afa1580156124db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ff91906144c8565b604080516001600160601b039092168252841515602083015201610d41565b612527336107cf565b612533336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612573573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612597919061453d565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b6125df336107cf565b6125eb336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561262b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264f919061453d565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614a64833981519152546001600160a01b031690565b6126b2336107cf565b6126be336107e2611fba565b600854339081905f906126d9906001600160a01b0316613668565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b15801561271d575f80fd5b505af115801561272f573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b158015612773575f80fd5b505af1158015612785573d5f803e3d5ffd5b505050507f3ceb16815c8726af4f729a63cfef71e374192daa36372503d0d0cd50213a91586127bc6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0386811660048301529190911690635e546bee90602401602060405180830381865afa158015612802573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061282691906144c8565b82604051610f6292919061451b565b5f80612840336107cf565b335f61284a6136d7565b90506128578183876137f0565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af11580156128a9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128d09190810190614664565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa158015612926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061294a919061453d565b9050816001600160a01b03166304d670b961296d6001546001600160a01b031690565b83612976611fba565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b1580156129cc575f80fd5b505af11580156129de573d5f803e3d5ffd5b505050506129f46001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5d919061453d565b6001600160a01b031614612a7357612a7361474f565b612ae9856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ab2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ad69190614734565b612ade611fba565b60ff90811691161490565b612af557612af561474f565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b849190614763565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612bcb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bef919061453d565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b158015612c49575f80fd5b505af1158015612c5b573d5f803e3d5ffd5b505050507fbd6800584d7105d7fd4de0db92f641ba5543ffb40d1ec8eb59617e12e32afed28486604051612c9092919061451b565b60405180910390a1505050915091565b612ca9336107cf565b612cb5336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d19919061453d565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610aed9291906147e2565b612d4f336107cf565b612d5b336107e2611fba565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d9b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dbf919061453d565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612dee93929190614805565b5f604051808303815f87803b158015612e05575f80fd5b505af1158015612e17573d5f803e3d5ffd5b50505050505b505050565b5f80516020614a648339815191525f80612e5a612e3d61268e565b8730612e4c60045f8a8c614837565b612e559161485e565b61391d565b91509150816108be5763ffffffff811615612ef557825460ff60a01b1916600160a01b178355612e8861268e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612eb793929190614896565b5f604051808303815f87803b158015612ece575f80fd5b505af1158015612ee0573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f612f2b6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612f74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9891906144c8565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612ff1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061301591906145b5565b1561303e576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561308a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130b19190810190614664565b60400151905060ff8116600a146130ef57604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af415801561313f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061316391906145b5565b1561320d575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131c99190614734565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f80516020614a4483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613280573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a491906145b5565b156132d05780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613322573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061334691906145b5565b61336e5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156133c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133e491906144c8565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061343061222b565b60405161343e92919061451b565b60405180910390a1546001600160601b031692915050565b61345e613a25565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020614a848339815191528054600160401b810460ff1615906001600160401b03165f811580156134a85750825b90505f826001600160401b031660011480156134c35750303b155b9050811580156134d1575080155b156134ef5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561351957845460ff60401b1916600160401b1785555b5f808780602001905181019061352f91906148d5565b9150915061353e82828b613a5d565b6135486002613afa565b600280546001600160a01b0319166001600160a01b03929092169190911790556135726003613afa565b600380546001600160a01b0319166001600160a01b039290921691909117905561359c600b613afa565b600480546001600160a01b0319166001600160a01b03929092169190911790556135cb62519cf160e01b613b91565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161128e565b5f80516020614a6483398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610d41565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b0381166136d2576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f8061375560065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561372c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613750919061453d565b613668565b60065490915061376d906001600160a01b0316613668565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b1580156137d6575f80fd5b505af11580156137e8573d5f803e3d5ffd5b505050505090565b6007545f908190613809906001600160a01b0316613668565b600b549091506001600160a01b038083169163d6d0a65b91889161382d9116613668565b600954613842906001600160a01b0316613668565b600a54613857906001600160a01b0316613668565b60085461386c906001600160a01b0316613668565b6001546001600160a01b0316613880611fba565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b1580156138fe575f80fd5b505af1158015613910573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161398b9190614902565b5f60405180830381855afa9150503d805f81146139c3576040519150601f19603f3d011682016040523d82523d5f602084013e6139c8565b606091505b50915091508115613a1a5760408151106139fa57808060200190518101906139f09190614918565b9094509250613a1a565b6020815110613a1a5780806020019051810190613a1791906145b5565b93505b505094509492505050565b5f80516020614a8483398151915254600160401b900460ff16613a5b57604051631afcd79f60e31b815260040160405180910390fd5b565b613a65613a25565b613a6d613bc4565b613aea8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613aae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ad291906144c8565b60085f8660405180602001604052805f815250613bd4565b612e1d63daf9067160e01b613b91565b5f613b0d6001546001600160a01b031690565b6001600160a01b031663d39e604383613b24611fba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613b67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b8b919061453d565b92915050565b613b99613a25565b613bc1816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613bcc613a25565b613a5b613d11565b613bdc613a25565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613c32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c5691906145b5565b613c7e5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613c8787613d3f565b613c918683613d50565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613d008382614989565b50612e17634a531f3360e01b613b91565b613d19613a25565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613d47613a25565b613bc181613dc6565b613d58613a25565b613d60613dd7565b613d6982613e1f565b6001600160a01b038116613d905760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614a4483398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613dce613a25565b613bc18161360f565b613ddf613a25565b613a5b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613e27613a25565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613e7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ea191906145b5565b613ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613bc1575f80fd5b5f60208284031215613f10575f80fd5b813561119d81613eeb565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613f91608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611087610100840182613f1b565b6001600160a01b0381168114613bc1575f80fd5b5f60208284031215613ff9575f80fd5b813561119d81613fd5565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b038111828210171561403a5761403a614004565b60405290565b60405160e081016001600160401b038111828210171561403a5761403a614004565b604051601f8201601f191681016001600160401b038111828210171561408a5761408a614004565b604052919050565b5f6001600160401b038211156140aa576140aa614004565b50601f01601f191660200190565b5f82601f8301126140c7575f80fd5b8135602083015f6140df6140da84614092565b614062565b90508281528583830111156140f2575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613bc1575f80fd5b63ffffffff81168114613bc1575f80fd5b5f805f60608486031215614143575f80fd5b83356001600160401b03811115614158575f80fd5b614164868287016140b8565b93505060208401356141758161410c565b9150604084013561418581614120565b809150509250925092565b8015158114613bc1575f80fd5b5f80604083850312156141ae575f80fd5b82356141b98161410c565b915060208301356141c981614190565b809150509250929050565b64ffffffffff81168114613bc1575f80fd5b5f602082840312156141f6575f80fd5b813561119d816141d4565b5f60208284031215614211575f80fd5b81356001600160401b03811115614226575f80fd5b611087848285016140b8565b6001600160601b0381168114613bc1575f80fd5b5f8060408385031215614257575f80fd5b823561426281613fd5565b915060208301356141c981614232565b5f60208284031215614282575f80fd5b813561119d81614232565b5f806040838503121561429e575f80fd5b82356142a981613fd5565b915060208301356001600160401b038111156142c3575f80fd5b6142cf858286016140b8565b9150509250929050565b5f80604083850312156142ea575f80fd5b82356141b981613fd5565b5f60208284031215614305575f80fd5b813561119d81614190565b5f8060408385031215614321575f80fd5b823561432c8161410c565b915060208301356141c981613fd5565b5f82601f83011261434b575f80fd5b81356001600160401b0381111561436457614364614004565b61437360208260051b01614062565b80828252602082019150602060608402860101925085831115614394575f80fd5b602085015b838110156143f257606081880312156143b0575f80fd5b6143b8614018565b8135815260208201356143ca81613eeb565b602082015260408201356143dd816141d4565b60408201528352602090920191606001614399565b5095945050505050565b5f806040838503121561440d575f80fd5b823561441881613fd5565b915060208301356001600160401b03811115614432575f80fd5b6142cf8582860161433c565b5f805f60608486031215614450575f80fd5b833561445b81613fd5565b9250602084013561446b8161410c565b915060408401356001600160401b03811115614485575f80fd5b6144918682870161433c565b9150509250925092565b5f602082840312156144ab575f80fd5b815162ffffff8116811461119d575f80fd5b80516136d281614232565b5f602082840312156144d8575f80fd5b815161119d81614232565b600181811c908216806144f757607f821691505b60208210810361451557634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f6020828403121561454d575f80fd5b815161119d81613fd5565b606081525f61456a6060830186613f1b565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561459f575f80fd5b815161119d8161410c565b80516136d281614190565b5f602082840312156145c5575f80fd5b815161119d81614190565b6001600160a01b03831681526040602082018190525f9061108790830184613f1b565b80516136d281613fd5565b60ff81168114613bc1575f80fd5b80516136d2816145fe565b5f82601f830112614626575f80fd5b81516146346140da82614092565b818152846020838601011115614648575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614674575f80fd5b81516001600160401b03811115614689575f80fd5b820160e0818503121561469a575f80fd5b6146a2614040565b6146ab826144bd565b81526146b9602083016144bd565b60208201526146ca6040830161460c565b60408201526146db606083016145aa565b60608201526146ec608083016145f3565b60808201526146fd60a083016145f3565b60a082015260c08201516001600160401b0381111561471a575f80fd5b61472686828501614617565b60c083015250949350505050565b5f60208284031215614744575f80fd5b815161119d816145fe565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215614773575f80fd5b815161119d816141d4565b5f8151808452602084019350602083015f5b828110156147d8578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101614790565b5093949350505050565b6001600160a01b03831681526040602082018190525f906110879083018461477e565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b99083018461477e565b5f8085851115614845575f80fd5b83861115614851575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561488f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156148e6575f80fd5b82516148f181613fd5565b60208401519092506141c981613fd5565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614929575f80fd5b825161493481614190565b60208401519092506141c981614120565b601f821115612e1d57805f5260205f20601f840160051c8101602085101561496a5750805b601f840160051c820191505b8181101561320d575f8155600101614976565b81516001600160401b038111156149a2576149a2614004565b6149b6816149b084546144e3565b84614945565b6020601f8211600181146149e8575f83156149d15750848201515b5f19600385901b1c1916600184901b17845561320d565b5f84815260208120601f198516915b82811015614a1757878501518255602094850194600190920191016149f7565b5084821015614a3457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122064f202041bf77a65daec3b06f85a58516a48bde98018f0043aa18268bdfd844c64736f6c634300081a0033",
851
1184
  "linkReferences": {
852
- "contracts/instance/InstanceAuthorizationsLib.sol": {
853
- "InstanceAuthorizationsLib": [
1185
+ "contracts/shared/ContractLib.sol": {
1186
+ "ContractLib": [
854
1187
  {
855
1188
  "length": 20,
856
- "start": 9957
1189
+ "start": 15568
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 16155
857
1194
  }
858
1195
  ]
859
1196
  },
860
- "contracts/type/NftId.sol": {
861
- "NftIdLib": [
1197
+ "contracts/staking/TargetManagerLib.sol": {
1198
+ "TargetManagerLib": [
862
1199
  {
863
1200
  "length": 20,
864
- "start": 1927
1201
+ "start": 11249
865
1202
  },
866
1203
  {
867
1204
  "length": 20,
868
- "start": 6512
1205
+ "start": 11356
869
1206
  }
870
1207
  ]
871
1208
  },
872
- "contracts/type/RoleId.sol": {
873
- "RoleIdLib": [
1209
+ "contracts/type/NftId.sol": {
1210
+ "NftIdLib": [
1211
+ {
1212
+ "length": 20,
1213
+ "start": 1869
1214
+ },
874
1215
  {
875
1216
  "length": 20,
876
- "start": 9568
1217
+ "start": 9013
877
1218
  },
878
1219
  {
879
1220
  "length": 20,
880
- "start": 10323
1221
+ "start": 12431
881
1222
  },
882
1223
  {
883
1224
  "length": 20,
884
- "start": 12593
1225
+ "start": 13086
885
1226
  }
886
1227
  ]
887
1228
  },
888
- "contracts/type/Version.sol": {
889
- "VersionLib": [
890
- {
891
- "length": 20,
892
- "start": 1436
893
- },
1229
+ "contracts/type/RoleId.sol": {
1230
+ "RoleIdLib": [
894
1231
  {
895
1232
  "length": 20,
896
- "start": 2605
897
- },
1233
+ "start": 8199
1234
+ }
1235
+ ]
1236
+ },
1237
+ "contracts/type/Version.sol": {
1238
+ "VersionLib": [
898
1239
  {
899
1240
  "length": 20,
900
- "start": 10039
1241
+ "start": 1669
901
1242
  },
902
1243
  {
903
1244
  "length": 20,
904
- "start": 11581
1245
+ "start": 3836
905
1246
  }
906
1247
  ],
907
1248
  "VersionPartLib": [
908
1249
  {
909
1250
  "length": 20,
910
- "start": 6992
1251
+ "start": 12765
911
1252
  }
912
1253
  ]
913
1254
  }
914
1255
  },
915
1256
  "deployedLinkReferences": {
916
- "contracts/instance/InstanceAuthorizationsLib.sol": {
917
- "InstanceAuthorizationsLib": [
1257
+ "contracts/shared/ContractLib.sol": {
1258
+ "ContractLib": [
1259
+ {
1260
+ "length": 20,
1261
+ "start": 15354
1262
+ },
918
1263
  {
919
1264
  "length": 20,
920
- "start": 9727
1265
+ "start": 15941
921
1266
  }
922
1267
  ]
923
1268
  },
924
- "contracts/type/NftId.sol": {
925
- "NftIdLib": [
1269
+ "contracts/staking/TargetManagerLib.sol": {
1270
+ "TargetManagerLib": [
926
1271
  {
927
1272
  "length": 20,
928
- "start": 1697
1273
+ "start": 11035
929
1274
  },
930
1275
  {
931
1276
  "length": 20,
932
- "start": 6282
1277
+ "start": 11142
933
1278
  }
934
1279
  ]
935
1280
  },
936
- "contracts/type/RoleId.sol": {
937
- "RoleIdLib": [
1281
+ "contracts/type/NftId.sol": {
1282
+ "NftIdLib": [
938
1283
  {
939
1284
  "length": 20,
940
- "start": 9338
1285
+ "start": 1655
941
1286
  },
942
1287
  {
943
1288
  "length": 20,
944
- "start": 10093
1289
+ "start": 8799
945
1290
  },
946
1291
  {
947
1292
  "length": 20,
948
- "start": 12363
1293
+ "start": 12217
1294
+ },
1295
+ {
1296
+ "length": 20,
1297
+ "start": 12872
949
1298
  }
950
1299
  ]
951
1300
  },
952
- "contracts/type/Version.sol": {
953
- "VersionLib": [
954
- {
955
- "length": 20,
956
- "start": 1206
957
- },
1301
+ "contracts/type/RoleId.sol": {
1302
+ "RoleIdLib": [
958
1303
  {
959
1304
  "length": 20,
960
- "start": 2375
961
- },
1305
+ "start": 7985
1306
+ }
1307
+ ]
1308
+ },
1309
+ "contracts/type/Version.sol": {
1310
+ "VersionLib": [
962
1311
  {
963
1312
  "length": 20,
964
- "start": 9809
1313
+ "start": 1455
965
1314
  },
966
1315
  {
967
1316
  "length": 20,
968
- "start": 11351
1317
+ "start": 3622
969
1318
  }
970
1319
  ],
971
1320
  "VersionPartLib": [
972
1321
  {
973
1322
  "length": 20,
974
- "start": 6762
1323
+ "start": 12551
975
1324
  }
976
1325
  ]
977
1326
  }