@etherisc/gif-next 0.0.2-9542215-990 → 0.0.2-95b223b-528

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