@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff3a8a0-504

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