@etherisc/gif-next 0.0.2-f63e99e-607 → 0.0.2-f677999-878

Sign up to get free protection for your applications and to get access to all the features.
Files changed (745) hide show
  1. package/README.md +146 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -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/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +571 -523
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1016 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1539 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +915 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1030 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -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 +1523 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +559 -559
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +440 -161
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +409 -3004
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1929 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1612 -561
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +495 -361
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -103
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3738 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +451 -322
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1161 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +287 -251
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +602 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1018 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +178 -185
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +628 -171
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +391 -201
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +958 -202
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1928 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +355 -323
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +340 -130
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1571 -0
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  221. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +182 -207
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +353 -167
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1203 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +137 -159
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +156 -171
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -0
  280. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  356. package/contracts/accounting/AccountingService.sol +262 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +45 -0
  359. package/contracts/authorization/AccessAdmin.sol +689 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  361. package/contracts/authorization/Authorization.sol +337 -0
  362. package/contracts/authorization/IAccess.sol +49 -0
  363. package/contracts/authorization/IAccessAdmin.sol +143 -0
  364. package/contracts/authorization/IAuthorization.sol +74 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  367. package/contracts/distribution/BasicDistribution.sol +141 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  369. package/contracts/distribution/Distribution.sol +289 -0
  370. package/contracts/distribution/DistributionService.sol +380 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +52 -0
  373. package/contracts/distribution/IDistributionService.sol +103 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +90 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +437 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +85 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +56 -25
  389. package/contracts/instance/IInstanceService.sol +59 -17
  390. package/contracts/instance/Instance.sol +172 -368
  391. package/contracts/instance/InstanceAdmin.sol +437 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
  393. package/contracts/instance/InstanceReader.sol +409 -78
  394. package/contracts/instance/InstanceService.sol +348 -126
  395. package/contracts/instance/InstanceServiceManager.sol +14 -31
  396. package/contracts/instance/InstanceStore.sol +298 -0
  397. package/contracts/instance/RiskSet.sol +118 -0
  398. package/contracts/instance/base/BalanceStore.sol +123 -0
  399. package/contracts/instance/base/Cloneable.sol +28 -0
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  402. package/contracts/instance/base/ObjectSet.sol +77 -0
  403. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  404. package/contracts/instance/module/IBundle.sol +8 -8
  405. package/contracts/instance/module/IComponents.sol +51 -0
  406. package/contracts/instance/module/IDistribution.sol +11 -6
  407. package/contracts/instance/module/IPolicy.sol +59 -19
  408. package/contracts/instance/module/IRisk.sol +4 -1
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +47 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  412. package/contracts/oracle/IOracle.sol +36 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +156 -0
  416. package/contracts/oracle/OracleService.sol +310 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +175 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  420. package/contracts/pool/BundleService.sol +395 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/pool/IBundleService.sol +115 -0
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +165 -0
  425. package/contracts/pool/Pool.sol +345 -0
  426. package/contracts/pool/PoolLib.sol +216 -0
  427. package/contracts/pool/PoolService.sol +757 -0
  428. package/contracts/pool/PoolServiceManager.sol +39 -0
  429. package/contracts/product/ApplicationService.sol +259 -0
  430. package/contracts/product/ApplicationServiceManager.sol +38 -0
  431. package/contracts/product/BasicProduct.sol +51 -0
  432. package/contracts/product/BasicProductAuthorization.sol +56 -0
  433. package/contracts/product/ClaimService.sol +632 -0
  434. package/contracts/product/ClaimServiceManager.sol +38 -0
  435. package/contracts/product/IApplicationService.sol +66 -0
  436. package/contracts/product/IClaimService.sol +135 -0
  437. package/contracts/product/IPolicyService.sol +95 -0
  438. package/contracts/product/IPricingService.sol +39 -0
  439. package/contracts/product/IProductComponent.sol +62 -0
  440. package/contracts/product/IRiskService.sol +30 -0
  441. package/contracts/product/PolicyService.sol +682 -0
  442. package/contracts/product/PolicyServiceLib.sol +65 -0
  443. package/contracts/product/PolicyServiceManager.sol +39 -0
  444. package/contracts/product/PricingService.sol +304 -0
  445. package/contracts/product/PricingServiceManager.sol +39 -0
  446. package/contracts/product/Product.sol +469 -0
  447. package/contracts/product/RiskService.sol +144 -0
  448. package/contracts/product/RiskServiceManager.sol +39 -0
  449. package/contracts/registry/ChainNft.sol +82 -35
  450. package/contracts/registry/IRegistry.sol +122 -50
  451. package/contracts/registry/IRegistryService.sol +45 -16
  452. package/contracts/registry/IRelease.sol +26 -0
  453. package/contracts/registry/ITransferInterceptor.sol +1 -1
  454. package/contracts/registry/Registry.sol +545 -304
  455. package/contracts/registry/RegistryAdmin.sol +354 -0
  456. package/contracts/registry/RegistryService.sol +126 -284
  457. package/contracts/registry/RegistryServiceManager.sol +26 -53
  458. package/contracts/registry/ReleaseAdmin.sol +245 -0
  459. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  460. package/contracts/registry/ReleaseRegistry.sol +511 -0
  461. package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
  462. package/contracts/registry/TokenRegistry.sol +261 -59
  463. package/contracts/shared/Component.sol +227 -0
  464. package/contracts/shared/ComponentService.sol +692 -0
  465. package/contracts/shared/ComponentServiceManager.sol +38 -0
  466. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  467. package/contracts/shared/ContractLib.sol +253 -0
  468. package/contracts/shared/IComponent.sol +61 -0
  469. package/contracts/shared/IComponentService.sol +112 -0
  470. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  471. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  472. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  473. package/contracts/shared/INftOwnable.sol +15 -12
  474. package/contracts/shared/IPolicyHolder.sol +35 -0
  475. package/contracts/shared/IRegisterable.sol +25 -5
  476. package/contracts/shared/IRegistryLinked.sol +11 -0
  477. package/contracts/shared/IService.sol +13 -5
  478. package/contracts/shared/InitializableERC165.sol +27 -0
  479. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  480. package/contracts/shared/KeyValueStore.sol +131 -0
  481. package/contracts/shared/Lifecycle.sol +88 -0
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +75 -84
  484. package/contracts/shared/PolicyHolder.sol +62 -0
  485. package/contracts/shared/Registerable.sol +57 -38
  486. package/contracts/shared/RegistryLinked.sol +38 -0
  487. package/contracts/shared/Service.sol +44 -33
  488. package/contracts/shared/TokenHandler.sol +326 -12
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +165 -0
  491. package/contracts/staking/IStakingService.sol +165 -0
  492. package/contracts/staking/StakeManagerLib.sol +224 -0
  493. package/contracts/staking/Staking.sol +526 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +52 -0
  496. package/contracts/staking/StakingReader.sol +190 -0
  497. package/contracts/staking/StakingService.sol +430 -0
  498. package/contracts/staking/StakingServiceManager.sol +45 -0
  499. package/contracts/staking/StakingStore.sol +605 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/{types → type}/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +150 -0
  503. package/contracts/{types → type}/Blocknumber.sol +27 -3
  504. package/contracts/type/ClaimId.sol +80 -0
  505. package/contracts/{types → type}/DistributorType.sol +2 -2
  506. package/contracts/{types → type}/Fee.sol +33 -23
  507. package/contracts/{types → type}/Key32.sol +2 -2
  508. package/contracts/type/Key32Set.sol +62 -0
  509. package/contracts/{types → type}/NftId.sol +28 -15
  510. package/contracts/type/NftIdSet.sol +62 -0
  511. package/contracts/type/ObjectType.sol +303 -0
  512. package/contracts/type/PayoutId.sol +82 -0
  513. package/contracts/{types → type}/Referral.sol +6 -1
  514. package/contracts/type/RequestId.sol +75 -0
  515. package/contracts/type/RiskId.sol +75 -0
  516. package/contracts/type/RoleId.sol +182 -0
  517. package/contracts/type/Seconds.sol +101 -0
  518. package/contracts/type/Selector.sol +107 -0
  519. package/contracts/{types → type}/StateId.sol +48 -4
  520. package/contracts/type/String.sol +53 -0
  521. package/contracts/{types → type}/Timestamp.sol +33 -19
  522. package/contracts/{types → type}/UFixed.sol +41 -121
  523. package/contracts/{types → type}/Version.sol +20 -7
  524. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  525. package/contracts/upgradeability/ProxyManager.sol +232 -0
  526. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  527. package/contracts/upgradeability/Versionable.sol +59 -0
  528. package/package.json +12 -8
  529. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  549. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  585. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  586. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  587. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  588. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  589. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  590. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  593. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  595. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  597. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  599. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  600. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  601. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  604. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  605. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  606. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -681
  607. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  608. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -436
  609. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  613. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -820
  615. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  617. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  618. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  619. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  620. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  621. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  622. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  623. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  624. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  625. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  626. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  627. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  628. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  629. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  630. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  631. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  632. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  633. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  634. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  635. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  636. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  637. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  638. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  639. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  640. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  641. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  642. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  643. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  644. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  645. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  646. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  647. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  648. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  649. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  651. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  653. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  655. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  657. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  658. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  659. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  661. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  662. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  663. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  665. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  667. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  669. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  671. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  672. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  673. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  675. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  677. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  679. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  681. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  683. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  685. package/contracts/components/BaseComponent.sol +0 -91
  686. package/contracts/components/Distribution.sol +0 -160
  687. package/contracts/components/IBaseComponent.sol +0 -25
  688. package/contracts/components/IDistributionComponent.sol +0 -44
  689. package/contracts/components/IPoolComponent.sol +0 -62
  690. package/contracts/components/IProductComponent.sol +0 -35
  691. package/contracts/components/Pool.sol +0 -243
  692. package/contracts/components/Product.sol +0 -297
  693. package/contracts/experiment/cloning/Cloner.sol +0 -47
  694. package/contracts/experiment/errors/Require.sol +0 -38
  695. package/contracts/experiment/errors/Revert.sol +0 -44
  696. package/contracts/experiment/inheritance/A.sol +0 -53
  697. package/contracts/experiment/inheritance/B.sol +0 -28
  698. package/contracts/experiment/inheritance/C.sol +0 -34
  699. package/contracts/experiment/inheritance/IA.sol +0 -13
  700. package/contracts/experiment/inheritance/IB.sol +0 -10
  701. package/contracts/experiment/inheritance/IC.sol +0 -12
  702. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  703. package/contracts/experiment/statemachine/ISM.sol +0 -25
  704. package/contracts/experiment/statemachine/SM.sol +0 -57
  705. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  706. package/contracts/experiment/types/TypeA.sol +0 -47
  707. package/contracts/experiment/types/TypeB.sol +0 -29
  708. package/contracts/instance/AccessManagedSimple.sol +0 -115
  709. package/contracts/instance/AccessManagerSimple.sol +0 -692
  710. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  711. package/contracts/instance/InstanceAccessManager.sol +0 -288
  712. package/contracts/instance/base/ComponentServiceBase.sol +0 -60
  713. package/contracts/instance/base/IInstanceBase.sol +0 -23
  714. package/contracts/instance/base/KeyValueStore.sol +0 -172
  715. package/contracts/instance/base/Lifecycle.sol +0 -100
  716. package/contracts/instance/module/IAccess.sol +0 -38
  717. package/contracts/instance/module/ISetup.sol +0 -44
  718. package/contracts/instance/module/ITreasury.sol +0 -23
  719. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  720. package/contracts/instance/service/DistributionService.sol +0 -102
  721. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  722. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  723. package/contracts/instance/service/IDistributionService.sol +0 -12
  724. package/contracts/instance/service/IPoolService.sol +0 -37
  725. package/contracts/instance/service/IProductService.sol +0 -107
  726. package/contracts/instance/service/PoolService.sol +0 -208
  727. package/contracts/instance/service/PoolServiceManager.sol +0 -53
  728. package/contracts/shared/ContractDeployerLib.sol +0 -72
  729. package/contracts/shared/ERC165.sol +0 -25
  730. package/contracts/shared/ProxyManager.sol +0 -94
  731. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  732. package/contracts/shared/Versionable.sol +0 -147
  733. package/contracts/test/TestFee.sol +0 -25
  734. package/contracts/test/TestRegisterable.sol +0 -18
  735. package/contracts/test/TestRoleId.sol +0 -14
  736. package/contracts/test/TestService.sol +0 -24
  737. package/contracts/test/TestToken.sol +0 -26
  738. package/contracts/test/TestVersion.sol +0 -44
  739. package/contracts/test/TestVersionable.sol +0 -17
  740. package/contracts/types/ChainId.sol +0 -38
  741. package/contracts/types/NftIdSet.sol +0 -60
  742. package/contracts/types/NumberId.sol +0 -52
  743. package/contracts/types/ObjectType.sol +0 -152
  744. package/contracts/types/RiskId.sol +0 -43
  745. package/contracts/types/RoleId.sol +0 -89
@@ -3,6 +3,44 @@
3
3
  "contractName": "InstanceService",
4
4
  "sourceName": "contracts/instance/InstanceService.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
6
44
  {
7
45
  "inputs": [],
8
46
  "name": "ERC1167FailedCreateClone",
@@ -12,135 +50,343 @@
12
50
  "inputs": [
13
51
  {
14
52
  "internalType": "address",
15
- "name": "registry",
53
+ "name": "authority",
16
54
  "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAuthorityInvalid",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorInstanceServiceAccessManagerZero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorInstanceServiceBundleSetAuthorityMismatch",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorInstanceServiceBundleSetInstanceMismatch",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorInstanceServiceBundleSetZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "component",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "componentAddress",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "ErrorInstanceServiceComponentNotRegistered",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorInstanceServiceInstanceAddressZero",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorInstanceServiceInstanceAdminZero",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "ErrorInstanceServiceInstanceAuthorityMismatch",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "instanceNftId",
122
+ "type": "uint96"
17
123
  },
18
124
  {
19
125
  "internalType": "NftId",
20
- "name": "nftId",
126
+ "name": "componentNftId",
21
127
  "type": "uint96"
22
128
  }
23
129
  ],
24
- "name": "ErrorAlreadyLinked",
130
+ "name": "ErrorInstanceServiceInstanceComponentMismatch",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [],
135
+ "name": "ErrorInstanceServiceInstanceReaderAddressZero",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [],
140
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [],
145
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [],
155
+ "name": "ErrorInstanceServiceInstanceReaderZero",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "ErrorInstanceServiceInstanceStoreZero",
25
166
  "type": "error"
26
167
  },
27
168
  {
28
169
  "inputs": [
29
170
  {
30
171
  "internalType": "address",
31
- "name": "contractAddress",
172
+ "name": "instance",
32
173
  "type": "address"
174
+ },
175
+ {
176
+ "internalType": "VersionPart",
177
+ "name": "instanceVersion",
178
+ "type": "uint8"
33
179
  }
34
180
  ],
35
- "name": "ErrorContractNotRegistered",
181
+ "name": "ErrorInstanceServiceInstanceVersionMismatch",
36
182
  "type": "error"
37
183
  },
38
184
  {
39
185
  "inputs": [
40
186
  {
41
187
  "internalType": "address",
42
- "name": "account",
188
+ "name": "componentAddress",
43
189
  "type": "address"
190
+ },
191
+ {
192
+ "internalType": "ObjectType",
193
+ "name": "expectedType",
194
+ "type": "uint8"
195
+ },
196
+ {
197
+ "internalType": "ObjectType",
198
+ "name": "componentType",
199
+ "type": "uint8"
44
200
  }
45
201
  ],
46
- "name": "ErrorNotOwner",
202
+ "name": "ErrorInstanceServiceInvalidComponentType",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [],
207
+ "name": "ErrorInstanceServiceMasterBundleSetAlreadySet",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "ErrorInstanceServiceMasterRiskSetAlreadySet",
47
228
  "type": "error"
48
229
  },
49
230
  {
50
231
  "inputs": [
51
232
  {
52
233
  "internalType": "address",
53
- "name": "registryAddress",
234
+ "name": "instance",
54
235
  "type": "address"
236
+ },
237
+ {
238
+ "internalType": "ObjectType",
239
+ "name": "objectType",
240
+ "type": "uint8"
55
241
  }
56
242
  ],
57
- "name": "ErrorNotRegistry",
243
+ "name": "ErrorInstanceServiceNotInstance",
58
244
  "type": "error"
59
245
  },
60
246
  {
61
247
  "inputs": [
62
248
  {
63
- "internalType": "address",
64
- "name": "registryAddress",
65
- "type": "address"
249
+ "internalType": "NftId",
250
+ "name": "nftId",
251
+ "type": "uint96"
66
252
  }
67
253
  ],
68
- "name": "ErrorRegisterableNotRegistry",
254
+ "name": "ErrorInstanceServiceNotInstanceNftId",
69
255
  "type": "error"
70
256
  },
71
257
  {
72
- "inputs": [],
73
- "name": "ErrorRegistryAddressZero",
258
+ "inputs": [
259
+ {
260
+ "internalType": "address",
261
+ "name": "instance",
262
+ "type": "address"
263
+ }
264
+ ],
265
+ "name": "ErrorInstanceServiceNotRegistered",
74
266
  "type": "error"
75
267
  },
76
268
  {
77
269
  "inputs": [
78
270
  {
79
271
  "internalType": "address",
80
- "name": "registry",
272
+ "name": "caller",
81
273
  "type": "address"
82
274
  }
83
275
  ],
84
- "name": "ErrorRegistryAlreadyInitialized",
276
+ "name": "ErrorInstanceServiceRequestUnauhorized",
85
277
  "type": "error"
86
278
  },
87
279
  {
88
280
  "inputs": [],
89
- "name": "ErrorRegistryNotInitialized",
281
+ "name": "ErrorInstanceServiceRiskSetAuthorityMismatch",
90
282
  "type": "error"
91
283
  },
92
284
  {
93
285
  "inputs": [],
94
- "name": "InvalidInitialization",
286
+ "name": "ErrorInstanceServiceRiskSetInstanceMismatch",
95
287
  "type": "error"
96
288
  },
97
289
  {
98
290
  "inputs": [],
99
- "name": "NotInitializing",
291
+ "name": "ErrorInstanceServiceRiskSetZero",
100
292
  "type": "error"
101
293
  },
102
294
  {
103
- "anonymous": false,
104
295
  "inputs": [
105
296
  {
106
- "indexed": false,
107
- "internalType": "uint64",
108
- "name": "version",
109
- "type": "uint64"
297
+ "internalType": "NftId",
298
+ "name": "nftId",
299
+ "type": "uint96"
110
300
  }
111
301
  ],
112
- "name": "Initialized",
113
- "type": "event"
302
+ "name": "ErrorNftOwnableAlreadyLinked",
303
+ "type": "error"
114
304
  },
115
305
  {
116
- "anonymous": false,
117
306
  "inputs": [
118
307
  {
119
- "indexed": false,
120
308
  "internalType": "address",
121
- "name": "clonedAccessManagerAddress",
309
+ "name": "contractAddress",
122
310
  "type": "address"
311
+ }
312
+ ],
313
+ "name": "ErrorNftOwnableContractNotRegistered",
314
+ "type": "error"
315
+ },
316
+ {
317
+ "inputs": [],
318
+ "name": "ErrorNftOwnableInitialOwnerZero",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "internalType": "NftId",
325
+ "name": "nftId",
326
+ "type": "uint96"
123
327
  },
124
328
  {
125
- "indexed": false,
329
+ "internalType": "ObjectType",
330
+ "name": "expectedObjectType",
331
+ "type": "uint8"
332
+ }
333
+ ],
334
+ "name": "ErrorNftOwnableInvalidType",
335
+ "type": "error"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
126
340
  "internalType": "address",
127
- "name": "clonedInstanceAddress",
341
+ "name": "account",
128
342
  "type": "address"
129
- },
343
+ }
344
+ ],
345
+ "name": "ErrorNftOwnableNotOwner",
346
+ "type": "error"
347
+ },
348
+ {
349
+ "inputs": [
130
350
  {
131
- "indexed": false,
132
351
  "internalType": "address",
133
- "name": "clonedInstanceReaderAddress",
352
+ "name": "registryAddress",
134
353
  "type": "address"
135
- },
354
+ }
355
+ ],
356
+ "name": "ErrorNotRegistry",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [],
361
+ "name": "ErrorRegisterableNotActive",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "InvalidInitialization",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "NotInitializing",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "ReentrancyGuardReentrantCall",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "anonymous": false,
381
+ "inputs": [
136
382
  {
137
383
  "indexed": false,
138
- "internalType": "NftId",
139
- "name": "clonedInstanceNftId",
140
- "type": "uint96"
384
+ "internalType": "address",
385
+ "name": "authority",
386
+ "type": "address"
141
387
  }
142
388
  ],
143
- "name": "LogInstanceCloned",
389
+ "name": "AuthorityUpdated",
144
390
  "type": "event"
145
391
  },
146
392
  {
@@ -148,24 +394,31 @@
148
394
  "inputs": [
149
395
  {
150
396
  "indexed": false,
151
- "internalType": "Version",
397
+ "internalType": "uint64",
152
398
  "name": "version",
153
- "type": "uint24"
154
- },
399
+ "type": "uint64"
400
+ }
401
+ ],
402
+ "name": "Initialized",
403
+ "type": "event"
404
+ },
405
+ {
406
+ "anonymous": false,
407
+ "inputs": [
155
408
  {
156
409
  "indexed": false,
157
- "internalType": "address",
158
- "name": "implementation",
159
- "type": "address"
410
+ "internalType": "NftId",
411
+ "name": "instanceNftId",
412
+ "type": "uint96"
160
413
  },
161
414
  {
162
415
  "indexed": false,
163
416
  "internalType": "address",
164
- "name": "activatedBy",
417
+ "name": "instance",
165
418
  "type": "address"
166
419
  }
167
420
  ],
168
- "name": "LogVersionableInitialized",
421
+ "name": "LogInstanceCloned",
169
422
  "type": "event"
170
423
  },
171
424
  {
@@ -183,12 +436,12 @@
183
436
  },
184
437
  {
185
438
  "inputs": [],
186
- "name": "NAME",
439
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
187
440
  "outputs": [
188
441
  {
189
- "internalType": "string",
442
+ "internalType": "bytes32",
190
443
  "name": "",
191
- "type": "string"
444
+ "type": "bytes32"
192
445
  }
193
446
  ],
194
447
  "stateMutability": "view",
@@ -209,27 +462,30 @@
209
462
  },
210
463
  {
211
464
  "inputs": [],
212
- "name": "createInstanceClone",
465
+ "name": "authority",
213
466
  "outputs": [
214
467
  {
215
- "internalType": "contract AccessManagerSimple",
216
- "name": "clonedAccessManager",
468
+ "internalType": "address",
469
+ "name": "",
217
470
  "type": "address"
218
- },
471
+ }
472
+ ],
473
+ "stateMutability": "view",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [],
478
+ "name": "createInstance",
479
+ "outputs": [
219
480
  {
220
- "internalType": "contract Instance",
221
- "name": "clonedInstance",
481
+ "internalType": "contract IInstance",
482
+ "name": "instance",
222
483
  "type": "address"
223
484
  },
224
485
  {
225
486
  "internalType": "NftId",
226
487
  "name": "instanceNftId",
227
488
  "type": "uint96"
228
- },
229
- {
230
- "internalType": "contract InstanceReader",
231
- "name": "clonedInstanceReader",
232
- "type": "address"
233
489
  }
234
490
  ],
235
491
  "stateMutability": "nonpayable",
@@ -237,15 +493,15 @@
237
493
  },
238
494
  {
239
495
  "inputs": [],
240
- "name": "getAccessManagerMaster",
496
+ "name": "getDomain",
241
497
  "outputs": [
242
498
  {
243
- "internalType": "address",
244
- "name": "",
245
- "type": "address"
499
+ "internalType": "ObjectType",
500
+ "name": "serviceDomain",
501
+ "type": "uint8"
246
502
  }
247
503
  ],
248
- "stateMutability": "view",
504
+ "stateMutability": "pure",
249
505
  "type": "function"
250
506
  },
251
507
  {
@@ -283,34 +539,16 @@
283
539
  "internalType": "address",
284
540
  "name": "initialOwner",
285
541
  "type": "address"
286
- },
287
- {
288
- "internalType": "bytes",
289
- "name": "data",
290
- "type": "bytes"
291
- }
292
- ],
293
- "internalType": "struct IRegistry.ObjectInfo",
294
- "name": "",
295
- "type": "tuple"
296
- },
297
- {
298
- "internalType": "bytes",
299
- "name": "data",
300
- "type": "bytes"
301
- }
302
- ],
303
- "stateMutability": "view",
304
- "type": "function"
305
- },
306
- {
307
- "inputs": [],
308
- "name": "getInitializedVersion",
309
- "outputs": [
310
- {
311
- "internalType": "uint64",
312
- "name": "",
313
- "type": "uint64"
542
+ },
543
+ {
544
+ "internalType": "bytes",
545
+ "name": "data",
546
+ "type": "bytes"
547
+ }
548
+ ],
549
+ "internalType": "struct IRegistry.ObjectInfo",
550
+ "name": "info",
551
+ "type": "tuple"
314
552
  }
315
553
  ],
316
554
  "stateMutability": "view",
@@ -318,7 +556,7 @@
318
556
  },
319
557
  {
320
558
  "inputs": [],
321
- "name": "getInstanceMaster",
559
+ "name": "getMasterInstanceReader",
322
560
  "outputs": [
323
561
  {
324
562
  "internalType": "address",
@@ -331,25 +569,12 @@
331
569
  },
332
570
  {
333
571
  "inputs": [],
334
- "name": "getInstanceReaderMaster",
572
+ "name": "getNftId",
335
573
  "outputs": [
336
574
  {
337
- "internalType": "address",
575
+ "internalType": "NftId",
338
576
  "name": "",
339
- "type": "address"
340
- }
341
- ],
342
- "stateMutability": "view",
343
- "type": "function"
344
- },
345
- {
346
- "inputs": [],
347
- "name": "getMajorVersion",
348
- "outputs": [
349
- {
350
- "internalType": "VersionPart",
351
- "name": "majorVersion",
352
- "type": "uint8"
577
+ "type": "uint96"
353
578
  }
354
579
  ],
355
580
  "stateMutability": "view",
@@ -357,25 +582,25 @@
357
582
  },
358
583
  {
359
584
  "inputs": [],
360
- "name": "getName",
585
+ "name": "getOwner",
361
586
  "outputs": [
362
587
  {
363
- "internalType": "string",
588
+ "internalType": "address",
364
589
  "name": "",
365
- "type": "string"
590
+ "type": "address"
366
591
  }
367
592
  ],
368
- "stateMutability": "pure",
593
+ "stateMutability": "view",
369
594
  "type": "function"
370
595
  },
371
596
  {
372
597
  "inputs": [],
373
- "name": "getNftId",
598
+ "name": "getRegistry",
374
599
  "outputs": [
375
600
  {
376
- "internalType": "NftId",
601
+ "internalType": "contract IRegistry",
377
602
  "name": "",
378
- "type": "uint96"
603
+ "type": "address"
379
604
  }
380
605
  ],
381
606
  "stateMutability": "view",
@@ -383,12 +608,12 @@
383
608
  },
384
609
  {
385
610
  "inputs": [],
386
- "name": "getOwner",
611
+ "name": "getRelease",
387
612
  "outputs": [
388
613
  {
389
- "internalType": "address",
390
- "name": "",
391
- "type": "address"
614
+ "internalType": "VersionPart",
615
+ "name": "release",
616
+ "type": "uint8"
392
617
  }
393
618
  ],
394
619
  "stateMutability": "view",
@@ -396,12 +621,12 @@
396
621
  },
397
622
  {
398
623
  "inputs": [],
399
- "name": "getRegistry",
624
+ "name": "getRoleId",
400
625
  "outputs": [
401
626
  {
402
- "internalType": "contract IRegistry",
403
- "name": "",
404
- "type": "address"
627
+ "internalType": "RoleId",
628
+ "name": "serviceRoleId",
629
+ "type": "uint64"
405
630
  }
406
631
  ],
407
632
  "stateMutability": "view",
@@ -423,129 +648,74 @@
423
648
  {
424
649
  "inputs": [
425
650
  {
426
- "internalType": "uint256",
427
- "name": "idx",
428
- "type": "uint256"
429
- }
430
- ],
431
- "name": "getVersion",
432
- "outputs": [
651
+ "internalType": "address",
652
+ "name": "activatedBy",
653
+ "type": "address"
654
+ },
433
655
  {
434
- "internalType": "Version",
435
- "name": "",
436
- "type": "uint24"
656
+ "internalType": "bytes",
657
+ "name": "data",
658
+ "type": "bytes"
437
659
  }
438
660
  ],
439
- "stateMutability": "view",
661
+ "name": "initializeVersionable",
662
+ "outputs": [],
663
+ "stateMutability": "nonpayable",
440
664
  "type": "function"
441
665
  },
442
666
  {
443
667
  "inputs": [],
444
- "name": "getVersionCount",
668
+ "name": "isActive",
445
669
  "outputs": [
446
670
  {
447
- "internalType": "uint256",
448
- "name": "",
449
- "type": "uint256"
671
+ "internalType": "bool",
672
+ "name": "active",
673
+ "type": "bool"
450
674
  }
451
675
  ],
452
676
  "stateMutability": "view",
453
677
  "type": "function"
454
678
  },
455
679
  {
456
- "inputs": [
457
- {
458
- "internalType": "Version",
459
- "name": "_version",
460
- "type": "uint24"
461
- }
462
- ],
463
- "name": "getVersionInfo",
680
+ "inputs": [],
681
+ "name": "isConsumingScheduledOp",
464
682
  "outputs": [
465
683
  {
466
- "components": [
467
- {
468
- "internalType": "Version",
469
- "name": "version",
470
- "type": "uint24"
471
- },
472
- {
473
- "internalType": "address",
474
- "name": "implementation",
475
- "type": "address"
476
- },
477
- {
478
- "internalType": "address",
479
- "name": "activatedBy",
480
- "type": "address"
481
- },
482
- {
483
- "internalType": "Timestamp",
484
- "name": "activatedAt",
485
- "type": "uint40"
486
- },
487
- {
488
- "internalType": "Blocknumber",
489
- "name": "activatedIn",
490
- "type": "uint32"
491
- }
492
- ],
493
- "internalType": "struct IVersionable.VersionInfo",
684
+ "internalType": "bytes4",
494
685
  "name": "",
495
- "type": "tuple"
686
+ "type": "bytes4"
496
687
  }
497
688
  ],
498
689
  "stateMutability": "view",
499
690
  "type": "function"
500
691
  },
501
692
  {
502
- "inputs": [
503
- {
504
- "internalType": "address",
505
- "name": "account",
506
- "type": "address"
507
- },
508
- {
509
- "internalType": "RoleId",
510
- "name": "role",
511
- "type": "uint64"
512
- },
693
+ "inputs": [],
694
+ "name": "linkToRegisteredNftId",
695
+ "outputs": [
513
696
  {
514
697
  "internalType": "NftId",
515
- "name": "instanceNftId",
698
+ "name": "nftId",
516
699
  "type": "uint96"
517
700
  }
518
701
  ],
519
- "name": "hasRole",
520
- "outputs": [
521
- {
522
- "internalType": "bool",
523
- "name": "",
524
- "type": "bool"
525
- }
526
- ],
527
- "stateMutability": "view",
702
+ "stateMutability": "nonpayable",
528
703
  "type": "function"
529
704
  },
530
705
  {
531
706
  "inputs": [
532
707
  {
533
708
  "internalType": "address",
534
- "name": "implementation",
709
+ "name": "rewardProvider",
535
710
  "type": "address"
536
711
  },
537
712
  {
538
- "internalType": "address",
539
- "name": "activatedBy",
540
- "type": "address"
541
- },
542
- {
543
- "internalType": "bytes",
544
- "name": "data",
545
- "type": "bytes"
713
+ "internalType": "Amount",
714
+ "name": "dipAmount",
715
+ "type": "uint96"
546
716
  }
547
717
  ],
548
- "name": "initialize",
718
+ "name": "refillStakingRewardReserves",
549
719
  "outputs": [],
550
720
  "stateMutability": "nonpayable",
551
721
  "type": "function"
@@ -553,26 +723,19 @@
553
723
  {
554
724
  "inputs": [
555
725
  {
556
- "internalType": "Version",
557
- "name": "_version",
558
- "type": "uint24"
726
+ "internalType": "address",
727
+ "name": "instanceAddress",
728
+ "type": "address"
559
729
  }
560
730
  ],
561
- "name": "isInitialized",
731
+ "name": "setAndRegisterMasterInstance",
562
732
  "outputs": [
563
733
  {
564
- "internalType": "bool",
565
- "name": "",
566
- "type": "bool"
734
+ "internalType": "NftId",
735
+ "name": "masterInstanceNftId",
736
+ "type": "uint96"
567
737
  }
568
738
  ],
569
- "stateMutability": "view",
570
- "type": "function"
571
- },
572
- {
573
- "inputs": [],
574
- "name": "linkToRegisteredNftId",
575
- "outputs": [],
576
739
  "stateMutability": "nonpayable",
577
740
  "type": "function"
578
741
  },
@@ -580,11 +743,11 @@
580
743
  "inputs": [
581
744
  {
582
745
  "internalType": "address",
583
- "name": "accessManagerMaster",
746
+ "name": "newAuthority",
584
747
  "type": "address"
585
748
  }
586
749
  ],
587
- "name": "setAccessManagerMaster",
750
+ "name": "setAuthority",
588
751
  "outputs": [],
589
752
  "stateMutability": "nonpayable",
590
753
  "type": "function"
@@ -592,12 +755,12 @@
592
755
  {
593
756
  "inputs": [
594
757
  {
595
- "internalType": "address",
596
- "name": "instanceMaster",
597
- "type": "address"
758
+ "internalType": "Seconds",
759
+ "name": "stakeLockingPeriod",
760
+ "type": "uint40"
598
761
  }
599
762
  ],
600
- "name": "setInstanceMaster",
763
+ "name": "setStakingLockingPeriod",
601
764
  "outputs": [],
602
765
  "stateMutability": "nonpayable",
603
766
  "type": "function"
@@ -605,12 +768,12 @@
605
768
  {
606
769
  "inputs": [
607
770
  {
608
- "internalType": "address",
609
- "name": "instanceReaderMaster",
610
- "type": "address"
771
+ "internalType": "UFixed",
772
+ "name": "rewardRate",
773
+ "type": "uint256"
611
774
  }
612
775
  ],
613
- "name": "setInstanceReaderMaster",
776
+ "name": "setStakingRewardRate",
614
777
  "outputs": [],
615
778
  "stateMutability": "nonpayable",
616
779
  "type": "function"
@@ -637,253 +800,224 @@
637
800
  {
638
801
  "inputs": [
639
802
  {
640
- "internalType": "address",
641
- "name": "implementation",
642
- "type": "address"
643
- },
803
+ "internalType": "NftId",
804
+ "name": "instanceNftId",
805
+ "type": "uint96"
806
+ }
807
+ ],
808
+ "name": "upgradeInstanceReader",
809
+ "outputs": [],
810
+ "stateMutability": "nonpayable",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [
644
815
  {
645
816
  "internalType": "address",
646
- "name": "activatedBy",
817
+ "name": "instanceReaderAddress",
647
818
  "type": "address"
648
- },
819
+ }
820
+ ],
821
+ "name": "upgradeMasterInstanceReader",
822
+ "outputs": [],
823
+ "stateMutability": "nonpayable",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [
649
828
  {
650
829
  "internalType": "bytes",
651
830
  "name": "data",
652
831
  "type": "bytes"
653
832
  }
654
833
  ],
655
- "name": "upgrade",
834
+ "name": "upgradeVersionable",
656
835
  "outputs": [],
657
836
  "stateMutability": "nonpayable",
658
837
  "type": "function"
838
+ },
839
+ {
840
+ "inputs": [
841
+ {
842
+ "internalType": "Amount",
843
+ "name": "dipAmount",
844
+ "type": "uint96"
845
+ }
846
+ ],
847
+ "name": "withdrawStakingRewardReserves",
848
+ "outputs": [
849
+ {
850
+ "internalType": "Amount",
851
+ "name": "newBalance",
852
+ "type": "uint96"
853
+ }
854
+ ],
855
+ "stateMutability": "nonpayable",
856
+ "type": "function"
659
857
  }
660
858
  ],
661
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613470806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063a745e3df11610097578063cde749f411610071578063cde749f414610528578063cf7a1d7714610542578063d6277f9914610555578063eeff428e1461056857600080fd5b8063a745e3df146104e2578063b3c65015146104f5578063b88da7591461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a5780639c12c9c7146104a1578063a3f4df7e146104b457600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004612b1a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610580565b60405162ffffff90911681526020016101e7565b61021461060a565b6040516101e7929190612b94565b61022a61078c565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612c3b565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612c5f565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061341b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612c5f565b6109ae565b61022a610405366004612c91565b610a61565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a610454366004612c91565b610aee565b6102ac600081565b61026d610b81565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6101db6104af366004612cd8565b610c9a565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104f0366004612db8565b610ed4565b6104fd61102e565b6040516001600160401b0390911681526020016101e7565b6101f8610523366004612e5c565b61104f565b6105306110a0565b60405160ff90911681526020016101e7565b61022a610550366004612db8565b611123565b61022a610563366004612c91565b61122c565b6105706112c0565b6040516101e79493929190612e75565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612ea9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061068d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106d5610b81565b6001600160a01b031681526020018260010180546106f290612ec6565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90612ec6565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190612f10565b15610859576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108825760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190612f10565b610917576040516372657a5160e01b81526001600160a01b0382166004820152602401610850565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190612f36565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061341b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a9190612f53565b1192915050565b6005546001600160a01b031615610acc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610850565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610850565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190612f10565b15610c8a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612f77565b506002546001600160a01b031690565b600080610caf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610cfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2691908101906130a8565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9a9190612f77565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906130f9565b909250905063ffffffff811615610ec55760009650505050505050610ecd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ef6610580565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a91906130dc565b6000805160206133fb8339815191528054600160401b900460ff1680610f8d575080546001600160401b03808416911610155b15610fab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610fd68585611975565b610fdf83611c14565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106056000805160206133fb833981519152546001600160401b031690565b600060008051602061341b833981519152600101828154811061107457611074613139565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006110aa610580565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610605919061314f565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b03166000811580156111565750825b90506000826001600160401b031660011480156111725750303b155b905081158015611180575080155b1561119e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c857845460ff60401b1916600160401b1785555b6111d28888611975565b6111dc8787611c1c565b831561122257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b03161561129e5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610850565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612f36565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156113af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d39190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612f77565b60045490915081906114f0906001600160a01b0316611d72565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505060055461156292506001600160a01b03169050611d72565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a779261159c928e9291169088903390600401612e75565b600060405180830381600087803b1580156115b657600080fd5b505af11580156115ca573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611619573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611641919081019061316c565b50805160065490995090915061165f906001600160a01b0316611d72565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506116d98a8a611de4565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a061174b612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c891906130dc565b8860006040518463ffffffff1660e01b81526004016117e9939291906131cf565b600060405180830381600087803b15801561180357600080fd5b505af1158015611817573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611832612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561188b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118af91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156118f657600080fd5b505af115801561190a573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61197d6126ee565b60008051602061341b83398151915260006119ad6000805160206133fb833981519152546001600160401b031690565b905060006119b9610580565b9050816001600160401b03166001036119e65760028301805462ffffff191662ffffff8316179055611a34565b600283015462ffffff90811690821611611a345760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610850565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0c91906131ff565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061101f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a96126ee565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b0316600081158015611c4f5750825b90506000826001600160401b03166001148015611c6b5750303b155b905081158015611c79575080155b15611c975760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cc157845460ff60401b1916600160401b1785555b600086806020019051810190611cd79190613226565b600380546001600160a01b039093166001600160a01b0319909316831790559150611d029082612727565b611d12631b4612f160e31b6127b4565b611d2263777fa14760e11b6127b4565b508315611d6957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ddf576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7c9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef5919061314f565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190612f77565b9050826001600160a01b03166325c471a0611f9c6127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ff5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201991906130dc565b8360006040518463ffffffff1660e01b815260040161203a939291906131cf565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5060009250600291506120789050565b6040519080825280602002602001820160405280156120a1578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106120bf576120bf613139565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106120f6576120f6613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d84836121286127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a591906130dc565b6040518463ffffffff1660e01b81526004016121c393929190613255565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190612f77565b9050846001600160a01b03166325c471a06123a7612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242491906130dc565b8360006040518463ffffffff1660e01b8152600401612445939291906131cf565b600060405180830381600087803b15801561245f57600080fd5b505af1158015612473573d6000803e3d6000fd5b5060009250600491506124839050565b6040519080825280602002602001820160405280156124ac578160200160208202803683370190505b5090506357f9680560e01b816000815181106124ca576124ca613139565b6001600160e01b0319909216602092830291909101909101528051635ea7f02760e11b908290600190811061250157612501613139565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061253857612538613139565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061256f5761256f613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166308d6122d86836125a1612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e91906130dc565b6040518463ffffffff1660e01b815260040161263c93929190613255565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b50505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156126ca573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906130dc565b6000805160206133fb83398151915254600160401b900460ff1661272557604051631afcd79f60e31b815260040160405180910390fd5b565b600061275560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61275d6110a0565b60405160200161276e9291906132c7565b6040516020818303038152906040529050600061278a84612851565b9050600061279d8583603c8488886128c2565b6127ad631b4612f160e31b6127b4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bc9190612f36565b92915050565b6129036301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61290d828761298e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161297d838261333b565b50611d696303fb044760e21b6127b4565b600280546001600160a01b0319166001600160a01b0384161790556129b2816129b6565b5050565b6001546001600160a01b0316156129ef5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610850565b6001600160a01b038116612a165760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612a4c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612ac6575060408051601f3d908101601f19168201909252612ac391810190612f10565b60015b612aee5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b806129b25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610850565b50565b600060208284031215612b2c57600080fd5b81356001600160e01b031981168114610ecd57600080fd5b60005b83811015612b5f578181015183820152602001612b47565b50506000910152565b60008151808452612b80816020860160208601612b44565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151612bd860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612c1e610120840182612b68565b90508281036020840152612c328185612b68565b95945050505050565b602081526000610ecd6020830184612b68565b62ffffff81168114612b1757600080fd5b600060208284031215612c7157600080fd5b8135610ecd81612c4e565b6001600160a01b0381168114612b1757600080fd5b600060208284031215612ca357600080fd5b8135610ecd81612c7c565b6001600160401b0381168114612b1757600080fd5b6001600160601b0381168114612b1757600080fd5b600080600060608486031215612ced57600080fd5b8335612cf881612c7c565b92506020840135612d0881612cae565b91506040840135612d1881612cc3565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612d5b57612d5b612d23565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d8957612d89612d23565b604052919050565b60006001600160401b03821115612daa57612daa612d23565b50601f01601f191660200190565b600080600060608486031215612dcd57600080fd5b8335612dd881612c7c565b92506020840135612de881612c7c565b915060408401356001600160401b03811115612e0357600080fd5b8401601f81018613612e1457600080fd5b8035612e27612e2282612d91565b612d61565b818152876020838501011115612e3c57600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215612e6e57600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b600060208284031215612ebb57600080fd5b8151610ecd81612c4e565b600181811c90821680612eda57607f821691505b602082108103612efa57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ddf57600080fd5b600060208284031215612f2257600080fd5b610ecd82612f00565b8051611ddf81612cc3565b600060208284031215612f4857600080fd5b8151610ecd81612cc3565b600060208284031215612f6557600080fd5b5051919050565b8051611ddf81612c7c565b600060208284031215612f8957600080fd5b8151610ecd81612c7c565b60ff81168114612b1757600080fd5b8051611ddf81612f94565b600082601f830112612fbf57600080fd5b8151612fcd612e2282612d91565b818152846020838601011115612fe257600080fd5b612ff3826020830160208701612b44565b949350505050565b600060e0828403121561300d57600080fd5b613015612d39565b905061302082612f2b565b815261302e60208301612f2b565b602082015261303f60408301612fa3565b604082015261305060608301612f00565b606082015261306160808301612f6c565b608082015261307260a08301612f6c565b60a082015260c08201516001600160401b0381111561309057600080fd5b61309c84828501612fae565b60c08301525092915050565b6000602082840312156130ba57600080fd5b81516001600160401b038111156130d057600080fd5b612ff384828501612ffb565b6000602082840312156130ee57600080fd5b8151610ecd81612cae565b6000806040838503121561310c57600080fd5b61311583612f00565b9150602083015163ffffffff8116811461312e57600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561316157600080fd5b8151610ecd81612f94565b6000806040838503121561317f57600080fd5b82516001600160401b038082111561319657600080fd5b6131a286838701612ffb565b935060208501519150808211156131b857600080fd5b506131c585828601612fae565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b60006020828403121561321157600080fd5b815164ffffffffff81168114610ecd57600080fd5b6000806040838503121561323957600080fd5b825161324481612c7c565b602084015190925061312e81612c7c565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156132a85784516001600160e01b03191683529383019391830191600101613282565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006132da6040830185612b68565b905060ff831660208301529392505050565b601f82111561333657600081815260208120601f850160051c810160208610156133135750805b601f850160051c820191505b818110156133325782815560010161331f565b5050505b505050565b81516001600160401b0381111561335457613354612d23565b613368816133628454612ec6565b846132ec565b602080601f83116001811461339d57600084156133855750858301515b600019600386901b1c1916600185901b178555613332565b600085815260208120601f198616915b828110156133cc578886015182559484019460019091019084016133ad565b50858210156133ea5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220703bc18ee6e50982270d3b6fe9a27b2a4437b06665f13f84dfec72c9967ff9bb64736f6c63430008140033",
662
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063a745e3df11610097578063cde749f411610071578063cde749f414610528578063cf7a1d7714610542578063d6277f9914610555578063eeff428e1461056857600080fd5b8063a745e3df146104e2578063b3c65015146104f5578063b88da7591461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a5780639c12c9c7146104a1578063a3f4df7e146104b457600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004612b1a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610580565b60405162ffffff90911681526020016101e7565b61021461060a565b6040516101e7929190612b94565b61022a61078c565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612c3b565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612c5f565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061341b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612c5f565b6109ae565b61022a610405366004612c91565b610a61565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a610454366004612c91565b610aee565b6102ac600081565b61026d610b81565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6101db6104af366004612cd8565b610c9a565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104f0366004612db8565b610ed4565b6104fd61102e565b6040516001600160401b0390911681526020016101e7565b6101f8610523366004612e5c565b61104f565b6105306110a0565b60405160ff90911681526020016101e7565b61022a610550366004612db8565b611123565b61022a610563366004612c91565b61122c565b6105706112c0565b6040516101e79493929190612e75565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612ea9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061068d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106d5610b81565b6001600160a01b031681526020018260010180546106f290612ec6565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90612ec6565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190612f10565b15610859576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108825760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190612f10565b610917576040516372657a5160e01b81526001600160a01b0382166004820152602401610850565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190612f36565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061341b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a9190612f53565b1192915050565b6005546001600160a01b031615610acc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610850565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610850565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190612f10565b15610c8a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612f77565b506002546001600160a01b031690565b600080610caf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610cfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2691908101906130a8565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9a9190612f77565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906130f9565b909250905063ffffffff811615610ec55760009650505050505050610ecd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ef6610580565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a91906130dc565b6000805160206133fb8339815191528054600160401b900460ff1680610f8d575080546001600160401b03808416911610155b15610fab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610fd68585611975565b610fdf83611c14565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106056000805160206133fb833981519152546001600160401b031690565b600060008051602061341b833981519152600101828154811061107457611074613139565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006110aa610580565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610605919061314f565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b03166000811580156111565750825b90506000826001600160401b031660011480156111725750303b155b905081158015611180575080155b1561119e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c857845460ff60401b1916600160401b1785555b6111d28888611975565b6111dc8787611c1c565b831561122257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b03161561129e5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610850565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612f36565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156113af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d39190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612f77565b60045490915081906114f0906001600160a01b0316611d72565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505060055461156292506001600160a01b03169050611d72565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a779261159c928e9291169088903390600401612e75565b600060405180830381600087803b1580156115b657600080fd5b505af11580156115ca573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611619573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611641919081019061316c565b50805160065490995090915061165f906001600160a01b0316611d72565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506116d98a8a611de4565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a061174b612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c891906130dc565b8860006040518463ffffffff1660e01b81526004016117e9939291906131cf565b600060405180830381600087803b15801561180357600080fd5b505af1158015611817573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611832612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561188b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118af91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156118f657600080fd5b505af115801561190a573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61197d6126ee565b60008051602061341b83398151915260006119ad6000805160206133fb833981519152546001600160401b031690565b905060006119b9610580565b9050816001600160401b03166001036119e65760028301805462ffffff191662ffffff8316179055611a34565b600283015462ffffff90811690821611611a345760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610850565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0c91906131ff565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061101f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a96126ee565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b0316600081158015611c4f5750825b90506000826001600160401b03166001148015611c6b5750303b155b905081158015611c79575080155b15611c975760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cc157845460ff60401b1916600160401b1785555b600086806020019051810190611cd79190613226565b600380546001600160a01b039093166001600160a01b0319909316831790559150611d029082612727565b611d12631b4612f160e31b6127b4565b611d2263777fa14760e11b6127b4565b508315611d6957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ddf576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7c9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef5919061314f565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190612f77565b9050826001600160a01b03166325c471a0611f9c6127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ff5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201991906130dc565b8360006040518463ffffffff1660e01b815260040161203a939291906131cf565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5060009250600291506120789050565b6040519080825280602002602001820160405280156120a1578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106120bf576120bf613139565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106120f6576120f6613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d84836121286127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a591906130dc565b6040518463ffffffff1660e01b81526004016121c393929190613255565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190612f77565b9050846001600160a01b03166325c471a06123a7612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242491906130dc565b8360006040518463ffffffff1660e01b8152600401612445939291906131cf565b600060405180830381600087803b15801561245f57600080fd5b505af1158015612473573d6000803e3d6000fd5b5060009250600491506124839050565b6040519080825280602002602001820160405280156124ac578160200160208202803683370190505b5090506357f9680560e01b816000815181106124ca576124ca613139565b6001600160e01b0319909216602092830291909101909101528051635ea7f02760e11b908290600190811061250157612501613139565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061253857612538613139565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061256f5761256f613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166308d6122d86836125a1612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e91906130dc565b6040518463ffffffff1660e01b815260040161263c93929190613255565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b50505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156126ca573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906130dc565b6000805160206133fb83398151915254600160401b900460ff1661272557604051631afcd79f60e31b815260040160405180910390fd5b565b600061275560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61275d6110a0565b60405160200161276e9291906132c7565b6040516020818303038152906040529050600061278a84612851565b9050600061279d8583603c8488886128c2565b6127ad631b4612f160e31b6127b4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bc9190612f36565b92915050565b6129036301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61290d828761298e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161297d838261333b565b50611d696303fb044760e21b6127b4565b600280546001600160a01b0319166001600160a01b0384161790556129b2816129b6565b5050565b6001546001600160a01b0316156129ef5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610850565b6001600160a01b038116612a165760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612a4c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612ac6575060408051601f3d908101601f19168201909252612ac391810190612f10565b60015b612aee5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b806129b25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610850565b50565b600060208284031215612b2c57600080fd5b81356001600160e01b031981168114610ecd57600080fd5b60005b83811015612b5f578181015183820152602001612b47565b50506000910152565b60008151808452612b80816020860160208601612b44565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151612bd860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612c1e610120840182612b68565b90508281036020840152612c328185612b68565b95945050505050565b602081526000610ecd6020830184612b68565b62ffffff81168114612b1757600080fd5b600060208284031215612c7157600080fd5b8135610ecd81612c4e565b6001600160a01b0381168114612b1757600080fd5b600060208284031215612ca357600080fd5b8135610ecd81612c7c565b6001600160401b0381168114612b1757600080fd5b6001600160601b0381168114612b1757600080fd5b600080600060608486031215612ced57600080fd5b8335612cf881612c7c565b92506020840135612d0881612cae565b91506040840135612d1881612cc3565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612d5b57612d5b612d23565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d8957612d89612d23565b604052919050565b60006001600160401b03821115612daa57612daa612d23565b50601f01601f191660200190565b600080600060608486031215612dcd57600080fd5b8335612dd881612c7c565b92506020840135612de881612c7c565b915060408401356001600160401b03811115612e0357600080fd5b8401601f81018613612e1457600080fd5b8035612e27612e2282612d91565b612d61565b818152876020838501011115612e3c57600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215612e6e57600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b600060208284031215612ebb57600080fd5b8151610ecd81612c4e565b600181811c90821680612eda57607f821691505b602082108103612efa57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ddf57600080fd5b600060208284031215612f2257600080fd5b610ecd82612f00565b8051611ddf81612cc3565b600060208284031215612f4857600080fd5b8151610ecd81612cc3565b600060208284031215612f6557600080fd5b5051919050565b8051611ddf81612c7c565b600060208284031215612f8957600080fd5b8151610ecd81612c7c565b60ff81168114612b1757600080fd5b8051611ddf81612f94565b600082601f830112612fbf57600080fd5b8151612fcd612e2282612d91565b818152846020838601011115612fe257600080fd5b612ff3826020830160208701612b44565b949350505050565b600060e0828403121561300d57600080fd5b613015612d39565b905061302082612f2b565b815261302e60208301612f2b565b602082015261303f60408301612fa3565b604082015261305060608301612f00565b606082015261306160808301612f6c565b608082015261307260a08301612f6c565b60a082015260c08201516001600160401b0381111561309057600080fd5b61309c84828501612fae565b60c08301525092915050565b6000602082840312156130ba57600080fd5b81516001600160401b038111156130d057600080fd5b612ff384828501612ffb565b6000602082840312156130ee57600080fd5b8151610ecd81612cae565b6000806040838503121561310c57600080fd5b61311583612f00565b9150602083015163ffffffff8116811461312e57600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561316157600080fd5b8151610ecd81612f94565b6000806040838503121561317f57600080fd5b82516001600160401b038082111561319657600080fd5b6131a286838701612ffb565b935060208501519150808211156131b857600080fd5b506131c585828601612fae565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b60006020828403121561321157600080fd5b815164ffffffffff81168114610ecd57600080fd5b6000806040838503121561323957600080fd5b825161324481612c7c565b602084015190925061312e81612c7c565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156132a85784516001600160e01b03191683529383019391830191600101613282565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006132da6040830185612b68565b905060ff831660208301529392505050565b601f82111561333657600081815260208120601f850160051c810160208610156133135750805b601f850160051c820191505b818110156133325782815560010161331f565b5050505b505050565b81516001600160401b0381111561335457613354612d23565b613368816133628454612ec6565b846132ec565b602080601f83116001811461339d57600084156133855750858301515b600019600386901b1c1916600185901b178555613332565b600085815260208120601f198616915b828110156133cc578886015182559484019460019091019084016133ad565b50858210156133ea5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220703bc18ee6e50982270d3b6fe9a27b2a4437b06665f13f84dfec72c9967ff9bb64736f6c63430008140033",
859
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61444a806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101bb575f3560e01c806376b707b7116100f3578063ada9652e11610093578063bf7e214f1161006e578063bf7e214f1461040b578063c22f980d14610413578063e52ba1cb14610426578063edabac0314610439575f80fd5b8063ada9652e146103dd578063b68d1809146103f1578063b7d68519146103f8575f80fd5b8063893d20e8116100ce578063893d20e8146103725780638fb360371461037a578063a2356b3a1461039b578063ad501467146103ae575f80fd5b806376b707b71461033e5780637a9e5e4b14610358578063872309c71461036b575f80fd5b80632d764ef81161015e5780635ab1bd53116101395780635ab1bd53146102c9578063644c45e0146102ee5780636a778e731461030b5780636c741e781461031e575f80fd5b80632d764ef814610290578063329d6e74146102a357806349bb9e4b146102b6575f80fd5b8063138461e011610199578063138461e0146102315780631eff4b221461025157806322f3e2d414610273578063254f68661461027b575f80fd5b806301ffc9a7146101bf5780630d8e6e2c146102005780630fec111c1461021c575b5f80fd5b6101eb6101cd366004613bb6565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61020861044a565b60405162ffffff90911681526020016101f7565b6102246104d1565b6040516101f79190613c12565b610239610678565b6040516001600160601b0390911681526020016101f7565b6102655f805160206143d583398151915281565b6040519081526020016101f7565b6101eb610682565b61028e610289366004613cba565b6106f9565b005b61028e61029e366004613ce7565b610874565b61028e6102b1366004613de6565b610c5e565b61028e6102c4366004613e17565b610da8565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101f7565b5f80516020614395833981519152546001600160601b0316610239565b610239610319366004613cba565b610ea4565b610326611a4c565b6040516001600160401b0390911681526020016101f7565b610346611ad8565b60405160ff90911681526020016101f7565b61028e610366366004613cba565b611af4565b6102655f81565b6102d6611b7a565b610382611cab565b6040516001600160e01b031990911681526020016101f7565b61028e6103a9366004613e77565b611ce0565b6103b6612061565b604080516001600160a01b0390931683526001600160601b039091166020830152016101f7565b6102655f8051602061439583398151915281565b600a610346565b61028e610406366004613eae565b6123f5565b6102d6612726565b61028e610421366004613ec5565b612741565b610239610434366004613ec5565b6129a2565b6008546001600160a01b03166102d6565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104cc9190613ee0565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f805160206143d583398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561056a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058e9190613f0d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016105d6611b7a565b6001600160a01b031681526020018260010180546105f390613f28565b80601f016020809104026020016040519081016040528092919081815260200182805461061f90613f28565b801561066a5780601f106106415761010080835404028352916020019161066a565b820191905f5260205f20905b81548152906001019060200180831161064d57829003601f168201915b505050505081525091505090565b5f6104cc30612d1b565b5f61068b612726565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156106cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f39190613f6f565b15905090565b610701611b7a565b6001600160a01b0316336001600160a01b0316146107395760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610762576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661078957604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b03908116908216036107b857604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610806573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082a9190613f88565b6001600160a01b0316146108515760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610880335b5f36612f14565b335f6108946001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156108d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fc9190613f0d565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610955573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109799190613f6f565b156109a2576040516308afbeb960e31b81526001600160a01b0383166004820152602401610730565b5f6109b56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015610a01573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a289190810190614014565b604001519050610a4181600a5b60ff9081169116141590565b15610a63578281604051632e87cd2360e11b81526004016107309291906140e4565b5f836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aa0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac49190614100565b9050610b4981610ad261044a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015610b25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a359190614100565b15610b6b578381604051637f8084f960e01b81526004016107309291906140e4565b5f610b7e6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610bc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be69190613f0d565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff891660248201529192506001600160a01b03169063db1e36e7906044015b5f604051808303815f87803b158015610c40575f80fd5b505af1158015610c52573d5f803e3d5ffd5b50505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c8061044a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce2919061412f565b5f805160206143f58339815191528054600160401b900460ff1680610d14575080546001600160401b03808416911610155b15610d325760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d5c83613012565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206143f58339815191528054600160401b810460ff1615906001600160401b03165f81158015610dd95750825b90505f826001600160401b03166001148015610df45750303b155b905081158015610e02575080155b15610e205760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610e4a57845460ff60401b1916600160401b1785555b610e54878761301a565b8315610e9b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610ead611b7a565b6001600160a01b0316336001600160a01b031614610ee05760405163086391f760e31b8152336004820152602401610730565b6007546001600160a01b031615610f0a57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b031615610f345760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b031615610f5e5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b031615610f885760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216610faf576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110149190613f88565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611053573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110779190613f88565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110de9190613f88565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611121573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111459190613f88565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611188573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ac9190613f88565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112139190613f88565b9050806001600160a01b038b1661123d576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611263576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661128a5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166112b15760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166112d857604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b0381166112ff576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561133b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135f9190613f88565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c89190613f88565b6001600160a01b0316146113ef576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561142b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144f9190613f88565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611494573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b89190613f88565b6001600160a01b0316146114df5760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561151b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153f9190613f88565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611584573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a89190613f88565b6001600160a01b0316146115cf576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561160b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162f9190613f88565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611674573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116989190613f88565b6001600160a01b0316146116bf57604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611705573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117299190613f88565b6001600160a01b03161461175057604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611796573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117ba9190613f88565b6001600160a01b0316146117e157604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611827573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061184b9190613f88565b6001600160a01b031614611872576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b836119c1611b7a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611a0a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a319190810190614014565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600a611a71611ad8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611ab4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104cc919061412f565b5f805160206143d583398151915254600160681b900460ff1690565b33611afd612726565b6001600160a01b0316816001600160a01b031614611b385760405162d1953b60e31b81526001600160a01b0382166004820152602401610730565b816001600160a01b03163b5f03611b6d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610730565b611b76826131b3565b5050565b5f805f8051602061439583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611be6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0a9190613f6f565b15611c95576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611c6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c8f9190613f88565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206143b583398151915280545f9190600160a01b900460ff16611cd2575f611c8f565b638fb3603760e01b91505090565b611ce933610879565b335f611cfd6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611d41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d659190613f0d565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de29190613f6f565b15611e0b576040516308afbeb960e31b81526001600160a01b0383166004820152602401610730565b5f611e1e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015611e6a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e919190810190614014565b604001519050611ea281600a610a35565b15611ec4578281604051632e87cd2360e11b81526004016107309291906140e4565b5f836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f259190614100565b9050611f3381610ad261044a565b15611f55578381604051637f8084f960e01b81526004016107309291906140e4565b5f611f686001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611fac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd09190613f0d565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038b81166024840152908a16604483015292935091169063dec3bdde906064016020604051808303815f875af1158015612033573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120579190613f0d565b5050505050505050565b5f8061206c33610879565b335f612076613213565b905061208281836132d9565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af11580156120d4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120fb9190810190614014565b5f0151925060035f9054906101000a90046001600160a01b03166001600160a01b03166381d9b45f8473__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af415801561216b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218f919061414a565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af41580156121d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121fa9190614165565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff909116602483015260448201526064015f604051808303815f87803b15801561224b575f80fd5b505af115801561225d573d5f803e3d5ffd5b505050505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122d69190613f88565b90505f6122e1612726565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561231c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123409190614100565b6040516348468b2f60e01b81526001600160a01b0388811660048301528481166024830152919250908416906348468b2f906044015f604051808303815f87803b15801561238c575f80fd5b505af115801561239e573d5f803e3d5ffd5b5050604080516001600160601b03891681526001600160a01b038a1660208201527f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa8935001905060405180910390a1505050509091565b6123fe33610879565b335f6124126001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247a9190613f0d565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156124d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f79190613f6f565b15612520576040516308afbeb960e31b81526001600160a01b0383166004820152602401610730565b5f6125336001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa15801561257f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526125a69190810190614014565b6040015190506125b781600a610a35565b156125d9578281604051632e87cd2360e11b81526004016107309291906140e4565b5f836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263a9190614100565b905061264881610ad261044a565b1561266a578381604051637f8084f960e01b81526004016107309291906140e4565b5f61267d6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156126c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126e59190613f0d565b60035460405163545c994560e11b81526001600160601b0383166004820152602481018990529192506001600160a01b03169063a8b9328a90604401610c29565b5f805160206143b5833981519152546001600160a01b031690565b612749613410565b61275233610879565b806127656001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127d69190613f88565b6001600160a01b0316336001600160a01b031614612809576040516302613e9f60e51b8152336004820152602401610730565b81600a612816828261345a565b5f6128296001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612878573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261289f9190810190614014565b6080810151600854919250905f906128bf906001600160a01b0316613511565b604051636791f7ab60e01b81526001600160a01b03848116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612903575f80fd5b505af1158015612915573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b158015612959575f80fd5b505af115801561296b573d5f803e3d5ffd5b505050505050505050505061299f60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b50565b5f6129ac33610879565b335f6129c06001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a289190613f0d565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612a81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa59190613f6f565b15612ace576040516308afbeb960e31b81526001600160a01b0383166004820152602401610730565b5f612ae16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612b2d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b549190810190614014565b604001519050612b6581600a610a35565b15612b87578281604051632e87cd2360e11b81526004016107309291906140e4565b5f836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612be89190614100565b9050612bf681610ad261044a565b15612c18578381604051637f8084f960e01b81526004016107309291906140e4565b5f612c2b6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612c6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c939190613f0d565b6003546040516321ece65760e01b81526001600160601b0380841660048301528a1660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015612cec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d109190613f0d565b505050505050919050565b5f805f8051602061439583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612d87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dab9190613f6f565b15612dd75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610730565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612e29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4d9190613f6f565b612e755760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610730565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612ec7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eeb9190613f0d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206143b58339815191525f80612f4c612f2f612726565b8730612f3e60045f8a8c61417c565b612f47916141a3565b6135a6565b915091508161300a5763ffffffff811615612fe757825460ff60a01b1916600160a01b178355612f7a612726565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612fa9939291906141db565b5f604051808303815f87803b158015612fc0575f80fd5b505af1158015612fd2573d5f803e3d5ffd5b5050845460ff60a01b191685555061300a9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610730565b505050505050565b6101bb6136ae565b5f805160206143f58339815191528054600160401b810460ff1615906001600160401b03165f8115801561304b5750825b90505f826001600160401b031660011480156130665750303b155b905081158015613074575080155b156130925760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156130bc57845460ff60401b1916600160401b1785555b5f80878060200190518101906130d2919061421a565b915091506130e182828b6136e6565b6130eb6002613788565b600280546001600160a01b0319166001600160a01b03929092169190911790556131156003613788565b600380546001600160a01b0319166001600160a01b039290921691909117905561313f600b613788565b600480546001600160a01b0319166001600160a01b039290921691909117905561316f6325e3b94760e21b61381f565b50508315610e9b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610e92565b5f805160206143b583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6005545f90819061322c906001600160a01b0316613511565b600654909150613244906001600160a01b0316613511565b9150816001600160a01b03166389232a00826132686001546001600160a01b031690565b613270611ad8565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff1660448201526064015f604051808303815f87803b1580156132bf575f80fd5b505af11580156132d1573d5f803e3d5ffd5b505050505090565b600b545f9081906132f2906001600160a01b0316613511565b6009549091505f9061330c906001600160a01b0316613511565b600a549091505f90613326906001600160a01b0316613511565b6008549091505f90613340906001600160a01b0316613511565b6007549091505f9061335a906001600160a01b0316613511565b9050806001600160a01b0316633587647689878787876133826001546001600160a01b031690565b6040516001600160e01b031960e089901b1681526001600160a01b03968716600482015294861660248601529285166044850152908416606484015283166084830152821660a4820152908a1660c482015260e4015f604051808303815f87803b1580156133ee575f80fd5b505af1158015613400573d5f803e3d5ffd5b50929a9950505050505050505050565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0080546001190161345457604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156134bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134e09190613f6f565b611b765760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610730565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b03811661357b576040516330be1a3d60e21b815260040160405180910390fd5b919050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516136149190614247565b5f60405180830381855afa9150503d805f811461364c576040519150601f19603f3d011682016040523d82523d5f602084013e613651565b606091505b509150915081156136a35760408151106136835780806020019051810190613679919061425d565b90945092506136a3565b60208151106136a357808060200190518101906136a09190613f6f565b93505b505094509492505050565b5f805160206143f583398151915254600160401b900460ff166136e457604051631afcd79f60e31b815260040160405180910390fd5b565b6136ee6136ae565b6136f661384b565b6137738383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613737573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061375b9190613f0d565b60085f8660405180602001604052805f81525061385b565b61378363daf9067160e01b61381f565b505050565b5f61379b6001546001600160a01b031690565b6001600160a01b031663d39e6043836137b2611ad8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156137f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138199190613f88565b92915050565b6138276136ae565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6138536136ae565b6136e4613a05565b6138636136ae565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156138b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138dd9190613f6f565b6139055760405163cf6935e560e01b81526001600160a01b0388166004820152602401610730565b61390e87613a0d565b6139188683613a1e565b5f805160206143d583398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015613995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139b99190614100565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b85151502178155600181016139f483826142da565b50612057634a531f3360e01b61381f565b6135806136ae565b613a156136ae565b61299f81613a94565b613a266136ae565b613a2f82613aa5565b613a37613b71565b6001600160a01b038116613a5e5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061439583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613a9c6136ae565b61299f816131b3565b613aad6136ae565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613b03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b279190613f6f565b613b4f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610730565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b613b796136ae565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215613bc6575f80fd5b81356001600160e01b031981168114613bdd575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613c5a608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152613c9e610100840182613be4565b949350505050565b6001600160a01b038116811461299f575f80fd5b5f60208284031215613cca575f80fd5b8135613bdd81613ca6565b64ffffffffff8116811461299f575f80fd5b5f60208284031215613cf7575f80fd5b8135613bdd81613cd5565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715613d3857613d38613d02565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613d6657613d66613d02565b604052919050565b5f6001600160401b03821115613d8657613d86613d02565b50601f01601f191660200190565b5f82601f830112613da3575f80fd5b8135613db6613db182613d6e565b613d3e565b818152846020838601011115613dca575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613df6575f80fd5b81356001600160401b03811115613e0b575f80fd5b613c9e84828501613d94565b5f8060408385031215613e28575f80fd5b8235613e3381613ca6565b915060208301356001600160401b03811115613e4d575f80fd5b613e5985828601613d94565b9150509250929050565b6001600160601b038116811461299f575f80fd5b5f8060408385031215613e88575f80fd5b8235613e9381613ca6565b91506020830135613ea381613e63565b809150509250929050565b5f60208284031215613ebe575f80fd5b5035919050565b5f60208284031215613ed5575f80fd5b8135613bdd81613e63565b5f60208284031215613ef0575f80fd5b815162ffffff81168114613bdd575f80fd5b805161357b81613e63565b5f60208284031215613f1d575f80fd5b8151613bdd81613e63565b600181811c90821680613f3c57607f821691505b602082108103613f5a57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051801515811461357b575f80fd5b5f60208284031215613f7f575f80fd5b613bdd82613f60565b5f60208284031215613f98575f80fd5b8151613bdd81613ca6565b60ff8116811461299f575f80fd5b805161357b81613fa3565b805161357b81613ca6565b5f82601f830112613fd6575f80fd5b8151613fe4613db182613d6e565b818152846020838601011115613ff8575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614024575f80fd5b81516001600160401b03811115614039575f80fd5b820160e0818503121561404a575f80fd5b614052613d16565b61405b82613f02565b815261406960208301613f02565b602082015261407a60408301613fb1565b604082015261408b60608301613f60565b606082015261409c60808301613fbc565b60808201526140ad60a08301613fbc565b60a082015260c08201516001600160401b038111156140ca575f80fd5b6140d686828501613fc7565b60c083015250949350505050565b6001600160a01b0392909216825260ff16602082015260400190565b5f60208284031215614110575f80fd5b8151613bdd81613fa3565b6001600160401b038116811461299f575f80fd5b5f6020828403121561413f575f80fd5b8151613bdd8161411b565b5f6020828403121561415a575f80fd5b8151613bdd81613cd5565b5f60208284031215614175575f80fd5b5051919050565b5f808585111561418a575f80fd5b83861115614196575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156141d4576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f806040838503121561422b575f80fd5b825161423681613ca6565b6020840151909250613ea381613ca6565b5f82518060208501845e5f920191825250919050565b5f806040838503121561426e575f80fd5b61427783613f60565b9150602083015163ffffffff81168114613ea3575f80fd5b601f82111561378357805f5260205f20601f840160051c810160208510156142b45750805b601f840160051c820191505b818110156142d3575f81556001016142c0565b5050505050565b81516001600160401b038111156142f3576142f3613d02565b614307816143018454613f28565b8461428f565b6020601f821160018114614339575f83156143225750848201515b5f19600385901b1c1916600184901b1784556142d3565b5f84815260208120601f198516915b828110156143685787850151825560209485019460019092019101614348565b508482101561438557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200ad681514849243a91402f47282e587c4fe965153490d7892ab36eb54c03421164736f6c634300081a0033",
860
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101bb575f3560e01c806376b707b7116100f3578063ada9652e11610093578063bf7e214f1161006e578063bf7e214f1461040b578063c22f980d14610413578063e52ba1cb14610426578063edabac0314610439575f80fd5b8063ada9652e146103dd578063b68d1809146103f1578063b7d68519146103f8575f80fd5b8063893d20e8116100ce578063893d20e8146103725780638fb360371461037a578063a2356b3a1461039b578063ad501467146103ae575f80fd5b806376b707b71461033e5780637a9e5e4b14610358578063872309c71461036b575f80fd5b80632d764ef81161015e5780635ab1bd53116101395780635ab1bd53146102c9578063644c45e0146102ee5780636a778e731461030b5780636c741e781461031e575f80fd5b80632d764ef814610290578063329d6e74146102a357806349bb9e4b146102b6575f80fd5b8063138461e011610199578063138461e0146102315780631eff4b221461025157806322f3e2d414610273578063254f68661461027b575f80fd5b806301ffc9a7146101bf5780630d8e6e2c146102005780630fec111c1461021c575b5f80fd5b6101eb6101cd366004613bb6565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61020861044a565b60405162ffffff90911681526020016101f7565b6102246104d1565b6040516101f79190613c12565b610239610678565b6040516001600160601b0390911681526020016101f7565b6102655f805160206143d583398151915281565b6040519081526020016101f7565b6101eb610682565b61028e610289366004613cba565b6106f9565b005b61028e61029e366004613ce7565b610874565b61028e6102b1366004613de6565b610c5e565b61028e6102c4366004613e17565b610da8565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101f7565b5f80516020614395833981519152546001600160601b0316610239565b610239610319366004613cba565b610ea4565b610326611a4c565b6040516001600160401b0390911681526020016101f7565b610346611ad8565b60405160ff90911681526020016101f7565b61028e610366366004613cba565b611af4565b6102655f81565b6102d6611b7a565b610382611cab565b6040516001600160e01b031990911681526020016101f7565b61028e6103a9366004613e77565b611ce0565b6103b6612061565b604080516001600160a01b0390931683526001600160601b039091166020830152016101f7565b6102655f8051602061439583398151915281565b600a610346565b61028e610406366004613eae565b6123f5565b6102d6612726565b61028e610421366004613ec5565b612741565b610239610434366004613ec5565b6129a2565b6008546001600160a01b03166102d6565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104cc9190613ee0565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f805160206143d583398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561056a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058e9190613f0d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a0016105d6611b7a565b6001600160a01b031681526020018260010180546105f390613f28565b80601f016020809104026020016040519081016040528092919081815260200182805461061f90613f28565b801561066a5780601f106106415761010080835404028352916020019161066a565b820191905f5260205f20905b81548152906001019060200180831161064d57829003601f168201915b505050505081525091505090565b5f6104cc30612d1b565b5f61068b612726565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156106cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f39190613f6f565b15905090565b610701611b7a565b6001600160a01b0316336001600160a01b0316146107395760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610762576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661078957604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b03908116908216036107b857604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610806573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082a9190613f88565b6001600160a01b0316146108515760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610880335b5f36612f14565b335f6108946001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156108d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fc9190613f0d565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610955573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109799190613f6f565b156109a2576040516308afbeb960e31b81526001600160a01b0383166004820152602401610730565b5f6109b56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015610a01573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a289190810190614014565b604001519050610a4181600a5b60ff9081169116141590565b15610a63578281604051632e87cd2360e11b81526004016107309291906140e4565b5f836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aa0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac49190614100565b9050610b4981610ad261044a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015610b25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a359190614100565b15610b6b578381604051637f8084f960e01b81526004016107309291906140e4565b5f610b7e6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610bc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be69190613f0d565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff891660248201529192506001600160a01b03169063db1e36e7906044015b5f604051808303815f87803b158015610c40575f80fd5b505af1158015610c52573d5f803e3d5ffd5b50505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c8061044a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce2919061412f565b5f805160206143f58339815191528054600160401b900460ff1680610d14575080546001600160401b03808416911610155b15610d325760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d5c83613012565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206143f58339815191528054600160401b810460ff1615906001600160401b03165f81158015610dd95750825b90505f826001600160401b03166001148015610df45750303b155b905081158015610e02575080155b15610e205760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610e4a57845460ff60401b1916600160401b1785555b610e54878761301a565b8315610e9b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610ead611b7a565b6001600160a01b0316336001600160a01b031614610ee05760405163086391f760e31b8152336004820152602401610730565b6007546001600160a01b031615610f0a57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b031615610f345760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b031615610f5e5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b031615610f885760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216610faf576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110149190613f88565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611053573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110779190613f88565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110de9190613f88565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611121573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111459190613f88565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611188573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ac9190613f88565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112139190613f88565b9050806001600160a01b038b1661123d576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611263576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661128a5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166112b15760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166112d857604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b0381166112ff576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561133b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135f9190613f88565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c89190613f88565b6001600160a01b0316146113ef576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561142b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144f9190613f88565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611494573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b89190613f88565b6001600160a01b0316146114df5760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561151b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153f9190613f88565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611584573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a89190613f88565b6001600160a01b0316146115cf576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561160b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162f9190613f88565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611674573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116989190613f88565b6001600160a01b0316146116bf57604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611705573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117299190613f88565b6001600160a01b03161461175057604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611796573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117ba9190613f88565b6001600160a01b0316146117e157604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611827573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061184b9190613f88565b6001600160a01b031614611872576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b836119c1611b7a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611a0a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a319190810190614014565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600a611a71611ad8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611ab4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104cc919061412f565b5f805160206143d583398151915254600160681b900460ff1690565b33611afd612726565b6001600160a01b0316816001600160a01b031614611b385760405162d1953b60e31b81526001600160a01b0382166004820152602401610730565b816001600160a01b03163b5f03611b6d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610730565b611b76826131b3565b5050565b5f805f8051602061439583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611be6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0a9190613f6f565b15611c95576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611c6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c8f9190613f88565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206143b583398151915280545f9190600160a01b900460ff16611cd2575f611c8f565b638fb3603760e01b91505090565b611ce933610879565b335f611cfd6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611d41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d659190613f0d565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de29190613f6f565b15611e0b576040516308afbeb960e31b81526001600160a01b0383166004820152602401610730565b5f611e1e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015611e6a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e919190810190614014565b604001519050611ea281600a610a35565b15611ec4578281604051632e87cd2360e11b81526004016107309291906140e4565b5f836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f259190614100565b9050611f3381610ad261044a565b15611f55578381604051637f8084f960e01b81526004016107309291906140e4565b5f611f686001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611fac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd09190613f0d565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038b81166024840152908a16604483015292935091169063dec3bdde906064016020604051808303815f875af1158015612033573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120579190613f0d565b5050505050505050565b5f8061206c33610879565b335f612076613213565b905061208281836132d9565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af11580156120d4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120fb9190810190614014565b5f0151925060035f9054906101000a90046001600160a01b03166001600160a01b03166381d9b45f8473__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af415801561216b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218f919061414a565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af41580156121d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121fa9190614165565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff909116602483015260448201526064015f604051808303815f87803b15801561224b575f80fd5b505af115801561225d573d5f803e3d5ffd5b505050505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122d69190613f88565b90505f6122e1612726565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561231c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123409190614100565b6040516348468b2f60e01b81526001600160a01b0388811660048301528481166024830152919250908416906348468b2f906044015f604051808303815f87803b15801561238c575f80fd5b505af115801561239e573d5f803e3d5ffd5b5050604080516001600160601b03891681526001600160a01b038a1660208201527f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa8935001905060405180910390a1505050509091565b6123fe33610879565b335f6124126001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247a9190613f0d565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156124d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f79190613f6f565b15612520576040516308afbeb960e31b81526001600160a01b0383166004820152602401610730565b5f6125336001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa15801561257f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526125a69190810190614014565b6040015190506125b781600a610a35565b156125d9578281604051632e87cd2360e11b81526004016107309291906140e4565b5f836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263a9190614100565b905061264881610ad261044a565b1561266a578381604051637f8084f960e01b81526004016107309291906140e4565b5f61267d6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156126c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126e59190613f0d565b60035460405163545c994560e11b81526001600160601b0383166004820152602481018990529192506001600160a01b03169063a8b9328a90604401610c29565b5f805160206143b5833981519152546001600160a01b031690565b612749613410565b61275233610879565b806127656001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127d69190613f88565b6001600160a01b0316336001600160a01b031614612809576040516302613e9f60e51b8152336004820152602401610730565b81600a612816828261345a565b5f6128296001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612878573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261289f9190810190614014565b6080810151600854919250905f906128bf906001600160a01b0316613511565b604051636791f7ab60e01b81526001600160a01b03848116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612903575f80fd5b505af1158015612915573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b158015612959575f80fd5b505af115801561296b573d5f803e3d5ffd5b505050505050505050505061299f60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b50565b5f6129ac33610879565b335f6129c06001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a289190613f0d565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612a81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa59190613f6f565b15612ace576040516308afbeb960e31b81526001600160a01b0383166004820152602401610730565b5f612ae16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612b2d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b549190810190614014565b604001519050612b6581600a610a35565b15612b87578281604051632e87cd2360e11b81526004016107309291906140e4565b5f836001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612be89190614100565b9050612bf681610ad261044a565b15612c18578381604051637f8084f960e01b81526004016107309291906140e4565b5f612c2b6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612c6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c939190613f0d565b6003546040516321ece65760e01b81526001600160601b0380841660048301528a1660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015612cec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d109190613f0d565b505050505050919050565b5f805f8051602061439583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612d87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dab9190613f6f565b15612dd75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610730565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612e29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4d9190613f6f565b612e755760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610730565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612ec7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eeb9190613f0d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206143b58339815191525f80612f4c612f2f612726565b8730612f3e60045f8a8c61417c565b612f47916141a3565b6135a6565b915091508161300a5763ffffffff811615612fe757825460ff60a01b1916600160a01b178355612f7a612726565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612fa9939291906141db565b5f604051808303815f87803b158015612fc0575f80fd5b505af1158015612fd2573d5f803e3d5ffd5b5050845460ff60a01b191685555061300a9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610730565b505050505050565b6101bb6136ae565b5f805160206143f58339815191528054600160401b810460ff1615906001600160401b03165f8115801561304b5750825b90505f826001600160401b031660011480156130665750303b155b905081158015613074575080155b156130925760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156130bc57845460ff60401b1916600160401b1785555b5f80878060200190518101906130d2919061421a565b915091506130e182828b6136e6565b6130eb6002613788565b600280546001600160a01b0319166001600160a01b03929092169190911790556131156003613788565b600380546001600160a01b0319166001600160a01b039290921691909117905561313f600b613788565b600480546001600160a01b0319166001600160a01b039290921691909117905561316f6325e3b94760e21b61381f565b50508315610e9b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610e92565b5f805160206143b583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6005545f90819061322c906001600160a01b0316613511565b600654909150613244906001600160a01b0316613511565b9150816001600160a01b03166389232a00826132686001546001600160a01b031690565b613270611ad8565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff1660448201526064015f604051808303815f87803b1580156132bf575f80fd5b505af11580156132d1573d5f803e3d5ffd5b505050505090565b600b545f9081906132f2906001600160a01b0316613511565b6009549091505f9061330c906001600160a01b0316613511565b600a549091505f90613326906001600160a01b0316613511565b6008549091505f90613340906001600160a01b0316613511565b6007549091505f9061335a906001600160a01b0316613511565b9050806001600160a01b0316633587647689878787876133826001546001600160a01b031690565b6040516001600160e01b031960e089901b1681526001600160a01b03968716600482015294861660248601529285166044850152908416606484015283166084830152821660a4820152908a1660c482015260e4015f604051808303815f87803b1580156133ee575f80fd5b505af1158015613400573d5f803e3d5ffd5b50929a9950505050505050505050565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0080546001190161345457604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156134bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134e09190613f6f565b611b765760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610730565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b03811661357b576040516330be1a3d60e21b815260040160405180910390fd5b919050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516136149190614247565b5f60405180830381855afa9150503d805f811461364c576040519150601f19603f3d011682016040523d82523d5f602084013e613651565b606091505b509150915081156136a35760408151106136835780806020019051810190613679919061425d565b90945092506136a3565b60208151106136a357808060200190518101906136a09190613f6f565b93505b505094509492505050565b5f805160206143f583398151915254600160401b900460ff166136e457604051631afcd79f60e31b815260040160405180910390fd5b565b6136ee6136ae565b6136f661384b565b6137738383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613737573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061375b9190613f0d565b60085f8660405180602001604052805f81525061385b565b61378363daf9067160e01b61381f565b505050565b5f61379b6001546001600160a01b031690565b6001600160a01b031663d39e6043836137b2611ad8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156137f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138199190613f88565b92915050565b6138276136ae565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6138536136ae565b6136e4613a05565b6138636136ae565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156138b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138dd9190613f6f565b6139055760405163cf6935e560e01b81526001600160a01b0388166004820152602401610730565b61390e87613a0d565b6139188683613a1e565b5f805160206143d583398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015613995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139b99190614100565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b85151502178155600181016139f483826142da565b50612057634a531f3360e01b61381f565b6135806136ae565b613a156136ae565b61299f81613a94565b613a266136ae565b613a2f82613aa5565b613a37613b71565b6001600160a01b038116613a5e5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061439583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613a9c6136ae565b61299f816131b3565b613aad6136ae565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613b03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b279190613f6f565b613b4f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610730565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b613b796136ae565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215613bc6575f80fd5b81356001600160e01b031981168114613bdd575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613c5a608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152613c9e610100840182613be4565b949350505050565b6001600160a01b038116811461299f575f80fd5b5f60208284031215613cca575f80fd5b8135613bdd81613ca6565b64ffffffffff8116811461299f575f80fd5b5f60208284031215613cf7575f80fd5b8135613bdd81613cd5565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715613d3857613d38613d02565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613d6657613d66613d02565b604052919050565b5f6001600160401b03821115613d8657613d86613d02565b50601f01601f191660200190565b5f82601f830112613da3575f80fd5b8135613db6613db182613d6e565b613d3e565b818152846020838601011115613dca575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613df6575f80fd5b81356001600160401b03811115613e0b575f80fd5b613c9e84828501613d94565b5f8060408385031215613e28575f80fd5b8235613e3381613ca6565b915060208301356001600160401b03811115613e4d575f80fd5b613e5985828601613d94565b9150509250929050565b6001600160601b038116811461299f575f80fd5b5f8060408385031215613e88575f80fd5b8235613e9381613ca6565b91506020830135613ea381613e63565b809150509250929050565b5f60208284031215613ebe575f80fd5b5035919050565b5f60208284031215613ed5575f80fd5b8135613bdd81613e63565b5f60208284031215613ef0575f80fd5b815162ffffff81168114613bdd575f80fd5b805161357b81613e63565b5f60208284031215613f1d575f80fd5b8151613bdd81613e63565b600181811c90821680613f3c57607f821691505b602082108103613f5a57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051801515811461357b575f80fd5b5f60208284031215613f7f575f80fd5b613bdd82613f60565b5f60208284031215613f98575f80fd5b8151613bdd81613ca6565b60ff8116811461299f575f80fd5b805161357b81613fa3565b805161357b81613ca6565b5f82601f830112613fd6575f80fd5b8151613fe4613db182613d6e565b818152846020838601011115613ff8575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614024575f80fd5b81516001600160401b03811115614039575f80fd5b820160e0818503121561404a575f80fd5b614052613d16565b61405b82613f02565b815261406960208301613f02565b602082015261407a60408301613fb1565b604082015261408b60608301613f60565b606082015261409c60808301613fbc565b60808201526140ad60a08301613fbc565b60a082015260c08201516001600160401b038111156140ca575f80fd5b6140d686828501613fc7565b60c083015250949350505050565b6001600160a01b0392909216825260ff16602082015260400190565b5f60208284031215614110575f80fd5b8151613bdd81613fa3565b6001600160401b038116811461299f575f80fd5b5f6020828403121561413f575f80fd5b8151613bdd8161411b565b5f6020828403121561415a575f80fd5b8151613bdd81613cd5565b5f60208284031215614175575f80fd5b5051919050565b5f808585111561418a575f80fd5b83861115614196575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156141d4576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f806040838503121561422b575f80fd5b825161423681613ca6565b6020840151909250613ea381613ca6565b5f82518060208501845e5f920191825250919050565b5f806040838503121561426e575f80fd5b61427783613f60565b9150602083015163ffffffff81168114613ea3575f80fd5b601f82111561378357805f5260205f20601f840160051c810160208510156142b45750805b601f840160051c820191505b818110156142d3575f81556001016142c0565b5050505050565b81516001600160401b038111156142f3576142f3613d02565b614307816143018454613f28565b8461428f565b6020601f821160018114614339575f83156143225750848201515b5f19600385901b1c1916600184901b1784556142d3565b5f84815260208120601f198516915b828110156143685787850151825560209485019460019092019101614348565b508482101561438557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200ad681514849243a91402f47282e587c4fe965153490d7892ab36eb54c03421164736f6c634300081a0033",
663
861
  "linkReferences": {
664
- "contracts/types/Blocknumber.sol": {
665
- "BlocknumberLib": [
666
- {
667
- "length": 20,
668
- "start": 2870
669
- }
670
- ]
671
- },
672
- "contracts/types/NftId.sol": {
673
- "NftIdLib": [
862
+ "contracts/shared/ContractLib.sol": {
863
+ "ContractLib": [
674
864
  {
675
865
  "length": 20,
676
- "start": 2286
866
+ "start": 14679
677
867
  },
678
868
  {
679
869
  "length": 20,
680
- "start": 3302
870
+ "start": 15265
681
871
  }
682
872
  ]
683
873
  },
684
- "contracts/types/RoleId.sol": {
685
- "RoleIdLib": [
686
- {
687
- "length": 20,
688
- "start": 3851
689
- },
874
+ "contracts/staking/TargetManagerLib.sol": {
875
+ "TargetManagerLib": [
690
876
  {
691
877
  "length": 20,
692
- "start": 6308
878
+ "start": 8700
693
879
  },
694
880
  {
695
881
  "length": 20,
696
- "start": 6539
697
- },
882
+ "start": 8807
883
+ }
884
+ ]
885
+ },
886
+ "contracts/type/NftId.sol": {
887
+ "NftIdLib": [
698
888
  {
699
889
  "length": 20,
700
- "start": 8437
890
+ "start": 1531
701
891
  },
702
892
  {
703
893
  "length": 20,
704
- "start": 8833
894
+ "start": 2547
705
895
  },
706
896
  {
707
897
  "length": 20,
708
- "start": 9472
898
+ "start": 7300
709
899
  },
710
900
  {
711
901
  "length": 20,
712
- "start": 9978
902
+ "start": 7772
713
903
  },
714
904
  {
715
905
  "length": 20,
716
- "start": 10185
906
+ "start": 9585
717
907
  },
718
908
  {
719
909
  "length": 20,
720
- "start": 10541
910
+ "start": 11039
721
911
  },
722
912
  {
723
913
  "length": 20,
724
- "start": 10601
914
+ "start": 11813
725
915
  }
726
916
  ]
727
917
  },
728
- "contracts/types/Timestamp.sol": {
729
- "TimestampLib": [
918
+ "contracts/type/RoleId.sol": {
919
+ "RoleIdLib": [
730
920
  {
731
921
  "length": 20,
732
- "start": 7144
922
+ "start": 6949
733
923
  }
734
924
  ]
735
925
  },
736
- "contracts/types/Version.sol": {
926
+ "contracts/type/Version.sol": {
737
927
  "VersionLib": [
738
928
  {
739
929
  "length": 20,
740
- "start": 1761
741
- },
742
- {
743
- "length": 20,
744
- "start": 4112
745
- },
746
- {
747
- "length": 20,
748
- "start": 4607
749
- },
750
- {
751
- "length": 20,
752
- "start": 5295
753
- },
754
- {
755
- "length": 20,
756
- "start": 5416
930
+ "start": 1350
757
931
  },
758
932
  {
759
933
  "length": 20,
760
- "start": 8024
934
+ "start": 3011
761
935
  },
762
936
  {
763
937
  "length": 20,
764
- "start": 8145
765
- },
766
- {
767
- "length": 20,
768
- "start": 9067
769
- },
770
- {
771
- "length": 20,
772
- "start": 9188
938
+ "start": 3382
773
939
  }
774
940
  ]
775
941
  }
776
942
  },
777
943
  "deployedLinkReferences": {
778
- "contracts/types/Blocknumber.sol": {
779
- "BlocknumberLib": [
780
- {
781
- "length": 20,
782
- "start": 2556
783
- }
784
- ]
785
- },
786
- "contracts/types/NftId.sol": {
787
- "NftIdLib": [
944
+ "contracts/shared/ContractLib.sol": {
945
+ "ContractLib": [
788
946
  {
789
947
  "length": 20,
790
- "start": 1972
948
+ "start": 14465
791
949
  },
792
950
  {
793
951
  "length": 20,
794
- "start": 2988
952
+ "start": 15051
795
953
  }
796
954
  ]
797
955
  },
798
- "contracts/types/RoleId.sol": {
799
- "RoleIdLib": [
800
- {
801
- "length": 20,
802
- "start": 3537
803
- },
956
+ "contracts/staking/TargetManagerLib.sol": {
957
+ "TargetManagerLib": [
804
958
  {
805
959
  "length": 20,
806
- "start": 5994
960
+ "start": 8486
807
961
  },
808
962
  {
809
963
  "length": 20,
810
- "start": 6225
811
- },
964
+ "start": 8593
965
+ }
966
+ ]
967
+ },
968
+ "contracts/type/NftId.sol": {
969
+ "NftIdLib": [
812
970
  {
813
971
  "length": 20,
814
- "start": 8123
972
+ "start": 1317
815
973
  },
816
974
  {
817
975
  "length": 20,
818
- "start": 8519
976
+ "start": 2333
819
977
  },
820
978
  {
821
979
  "length": 20,
822
- "start": 9158
980
+ "start": 7086
823
981
  },
824
982
  {
825
983
  "length": 20,
826
- "start": 9664
984
+ "start": 7558
827
985
  },
828
986
  {
829
987
  "length": 20,
830
- "start": 9871
988
+ "start": 9371
831
989
  },
832
990
  {
833
991
  "length": 20,
834
- "start": 10227
992
+ "start": 10825
835
993
  },
836
994
  {
837
995
  "length": 20,
838
- "start": 10287
996
+ "start": 11599
839
997
  }
840
998
  ]
841
999
  },
842
- "contracts/types/Timestamp.sol": {
843
- "TimestampLib": [
1000
+ "contracts/type/RoleId.sol": {
1001
+ "RoleIdLib": [
844
1002
  {
845
1003
  "length": 20,
846
- "start": 6830
1004
+ "start": 6735
847
1005
  }
848
1006
  ]
849
1007
  },
850
- "contracts/types/Version.sol": {
1008
+ "contracts/type/Version.sol": {
851
1009
  "VersionLib": [
852
1010
  {
853
1011
  "length": 20,
854
- "start": 1447
855
- },
856
- {
857
- "length": 20,
858
- "start": 3798
859
- },
860
- {
861
- "length": 20,
862
- "start": 4293
863
- },
864
- {
865
- "length": 20,
866
- "start": 4981
867
- },
868
- {
869
- "length": 20,
870
- "start": 5102
871
- },
872
- {
873
- "length": 20,
874
- "start": 7710
875
- },
876
- {
877
- "length": 20,
878
- "start": 7831
1012
+ "start": 1136
879
1013
  },
880
1014
  {
881
1015
  "length": 20,
882
- "start": 8753
1016
+ "start": 2797
883
1017
  },
884
1018
  {
885
1019
  "length": 20,
886
- "start": 8874
1020
+ "start": 3168
887
1021
  }
888
1022
  ]
889
1023
  }