@etherisc/gif-next 0.0.2-bca36d7-613 → 0.0.2-bd1522a-487

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