@etherisc/gif-next 0.0.2-e545d2c-624 → 0.0.2-e586bbf-616

Sign up to get free protection for your applications and to get access to all the features.
Files changed (782) hide show
  1. package/README.md +138 -23
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1056 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +771 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +824 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1831 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +931 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1266 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2026 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2452 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +567 -1254
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +604 -174
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +663 -2398
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1963 -739
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +637 -354
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +386 -93
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +384 -361
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1023 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +791 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1435 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +851 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1022 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +391 -347
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1430 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1814 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +847 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1017 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +771 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1533 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +875 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +313 -299
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1085 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1017 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPricingService.sol/IPricingService.json} +328 -231
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +527 -305
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +192 -168
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1385 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +835 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +913 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +795 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +698 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +755 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +605 -28
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +299 -222
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1031 -71
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +358 -274
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +381 -78
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +361 -97
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/Component.sol/Component.json} +264 -253
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1497 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +835 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +264 -135
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1137 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +96 -34
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +133 -145
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +129 -20
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +154 -159
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1627 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1177 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2035 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +823 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1406 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +763 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +637 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +27 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +247 -0
  371. package/contracts/distribution/DistributionService.sol +448 -0
  372. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  373. package/contracts/distribution/IDistributionComponent.sol +45 -0
  374. package/contracts/distribution/IDistributionService.sol +115 -0
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +136 -53
  390. package/contracts/instance/IInstanceService.sol +95 -22
  391. package/contracts/instance/Instance.sol +256 -182
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +525 -208
  395. package/contracts/instance/InstanceService.sol +425 -258
  396. package/contracts/instance/InstanceServiceManager.sol +14 -29
  397. package/contracts/instance/InstanceStore.sol +298 -0
  398. package/contracts/instance/RiskSet.sol +118 -0
  399. package/contracts/instance/base/BalanceStore.sol +121 -0
  400. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +10 -9
  406. package/contracts/instance/module/IComponents.sol +62 -0
  407. package/contracts/instance/module/IDistribution.sol +25 -10
  408. package/contracts/instance/module/IPolicy.sol +81 -21
  409. package/contracts/instance/module/IRisk.sol +6 -1
  410. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +173 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  421. package/contracts/pool/BundleService.sol +406 -0
  422. package/contracts/pool/BundleServiceManager.sol +39 -0
  423. package/contracts/pool/IBundleService.sol +121 -0
  424. package/contracts/pool/IPoolComponent.sol +62 -0
  425. package/contracts/pool/IPoolService.sol +170 -0
  426. package/contracts/pool/Pool.sol +343 -0
  427. package/contracts/pool/PoolLib.sol +359 -0
  428. package/contracts/pool/PoolService.sol +614 -0
  429. package/contracts/pool/PoolServiceManager.sol +39 -0
  430. package/contracts/product/ApplicationService.sol +327 -0
  431. package/contracts/product/ApplicationServiceManager.sol +38 -0
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +639 -0
  435. package/contracts/product/ClaimServiceManager.sol +38 -0
  436. package/contracts/product/IApplicationService.sol +88 -0
  437. package/contracts/product/IClaimService.sol +135 -0
  438. package/contracts/product/IPolicyService.sol +102 -0
  439. package/contracts/product/IPricingService.sol +40 -0
  440. package/contracts/product/IProductComponent.sol +62 -0
  441. package/contracts/product/IRiskService.sol +33 -0
  442. package/contracts/product/PolicyService.sol +645 -0
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +39 -0
  445. package/contracts/product/PricingService.sol +306 -0
  446. package/contracts/product/PricingServiceManager.sol +39 -0
  447. package/contracts/product/Product.sol +472 -0
  448. package/contracts/product/RiskService.sol +157 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +83 -36
  451. package/contracts/registry/IRegistry.sol +113 -29
  452. package/contracts/registry/IRegistryService.sol +38 -34
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -1
  455. package/contracts/registry/Registry.sol +550 -210
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +284 -0
  458. package/contracts/registry/RegistryService.sol +119 -198
  459. package/contracts/registry/RegistryServiceManager.sol +24 -33
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +520 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  464. package/contracts/registry/TokenRegistry.sol +265 -61
  465. package/contracts/shared/Component.sol +210 -0
  466. package/contracts/shared/ComponentService.sol +678 -0
  467. package/contracts/shared/ComponentServiceManager.sol +38 -0
  468. package/contracts/shared/ContractLib.sol +311 -0
  469. package/contracts/shared/IComponent.sol +58 -0
  470. package/contracts/shared/IComponentService.sol +110 -0
  471. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  472. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  473. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  474. package/contracts/shared/INftOwnable.sol +15 -12
  475. package/contracts/shared/IPolicyHolder.sol +35 -0
  476. package/contracts/shared/IRegisterable.sol +24 -5
  477. package/contracts/shared/IRegistryLinked.sol +11 -0
  478. package/contracts/shared/IService.sol +12 -5
  479. package/contracts/shared/InitializableERC165.sol +35 -0
  480. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  481. package/contracts/shared/KeyValueStore.sol +131 -0
  482. package/contracts/shared/Lifecycle.sol +88 -0
  483. package/contracts/shared/NftIdSet.sol +65 -0
  484. package/contracts/shared/NftOwnable.sol +75 -82
  485. package/contracts/shared/PolicyHolder.sol +63 -0
  486. package/contracts/shared/Registerable.sol +54 -38
  487. package/contracts/shared/RegistryLinked.sol +38 -0
  488. package/contracts/shared/Service.sol +44 -35
  489. package/contracts/shared/TokenHandler.sol +327 -12
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +195 -0
  492. package/contracts/staking/IStakingService.sol +170 -0
  493. package/contracts/staking/Staking.sol +605 -0
  494. package/contracts/staking/StakingLib.sol +281 -0
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +52 -0
  497. package/contracts/staking/StakingReader.sol +199 -0
  498. package/contracts/staking/StakingService.sol +468 -0
  499. package/contracts/staking/StakingServiceManager.sol +45 -0
  500. package/contracts/staking/StakingStore.sol +606 -0
  501. package/contracts/staking/TargetManagerLib.sol +211 -0
  502. package/contracts/{types → type}/AddressSet.sol +1 -1
  503. package/contracts/type/Amount.sol +150 -0
  504. package/contracts/{types → type}/Blocknumber.sol +27 -3
  505. package/contracts/type/ClaimId.sol +80 -0
  506. package/contracts/{types → type}/DistributorType.sol +2 -2
  507. package/contracts/type/Fee.sol +66 -0
  508. package/contracts/{types → type}/Key32.sol +2 -2
  509. package/contracts/type/Key32Set.sol +62 -0
  510. package/contracts/{types → type}/NftId.sol +28 -15
  511. package/contracts/{types → type}/NftIdSet.sol +2 -2
  512. package/contracts/type/ObjectType.sol +307 -0
  513. package/contracts/type/PayoutId.sol +82 -0
  514. package/contracts/{types → type}/Referral.sol +6 -1
  515. package/contracts/type/RequestId.sol +75 -0
  516. package/contracts/type/RiskId.sol +75 -0
  517. package/contracts/type/RoleId.sol +180 -0
  518. package/contracts/type/Seconds.sol +105 -0
  519. package/contracts/type/Selector.sol +107 -0
  520. package/contracts/{types → type}/StateId.sol +48 -4
  521. package/contracts/type/String.sol +65 -0
  522. package/contracts/{types → type}/Timestamp.sol +33 -19
  523. package/contracts/type/UFixed.sol +262 -0
  524. package/contracts/{types → type}/Version.sol +59 -7
  525. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  526. package/contracts/upgradeability/ProxyManager.sol +246 -0
  527. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  528. package/contracts/upgradeability/Versionable.sol +62 -0
  529. package/package.json +12 -8
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  534. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  536. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  538. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  540. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  541. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  542. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  544. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  548. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  549. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  550. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  552. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  554. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  556. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  558. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  560. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  565. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  567. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  569. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  571. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  573. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  575. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  577. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  579. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  581. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  582. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  583. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  584. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  585. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  586. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  587. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  588. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  589. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  591. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  592. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  593. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -532
  595. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  597. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  601. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  603. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
  605. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  607. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  608. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  609. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  611. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  613. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  615. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  617. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  619. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  621. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  623. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  624. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  625. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  626. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  627. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  629. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  631. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  633. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  634. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  635. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  636. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  637. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  638. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  639. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  640. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -530
  641. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  642. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  643. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  644. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  645. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  646. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  647. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  648. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  649. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  650. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  651. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  652. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  653. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  654. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  655. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  656. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  657. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  658. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  659. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  660. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  661. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  662. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  663. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  664. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  665. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  666. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  667. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  669. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  670. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  671. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  672. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  673. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  675. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  677. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  679. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  681. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  683. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  685. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  686. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  687. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  689. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  691. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  693. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  695. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  697. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  699. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  700. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  701. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  703. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  705. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  707. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  709. package/contracts/components/BaseComponent.sol +0 -159
  710. package/contracts/components/Distribution.sol +0 -164
  711. package/contracts/components/IBaseComponent.sol +0 -34
  712. package/contracts/components/IDistributionComponent.sol +0 -44
  713. package/contracts/components/IPoolComponent.sol +0 -66
  714. package/contracts/components/IProductComponent.sol +0 -35
  715. package/contracts/components/Pool.sol +0 -272
  716. package/contracts/components/Product.sol +0 -301
  717. package/contracts/experiment/cloning/Cloner.sol +0 -47
  718. package/contracts/experiment/errors/Require.sol +0 -38
  719. package/contracts/experiment/errors/Revert.sol +0 -44
  720. package/contracts/experiment/inheritance/A.sol +0 -53
  721. package/contracts/experiment/inheritance/B.sol +0 -28
  722. package/contracts/experiment/inheritance/C.sol +0 -34
  723. package/contracts/experiment/inheritance/IA.sol +0 -13
  724. package/contracts/experiment/inheritance/IB.sol +0 -10
  725. package/contracts/experiment/inheritance/IC.sol +0 -12
  726. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  727. package/contracts/experiment/statemachine/ISM.sol +0 -25
  728. package/contracts/experiment/statemachine/SM.sol +0 -57
  729. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  730. package/contracts/experiment/types/TypeA.sol +0 -47
  731. package/contracts/experiment/types/TypeB.sol +0 -29
  732. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  733. package/contracts/instance/BundleManager.sol +0 -129
  734. package/contracts/instance/IInstanceBase.sol +0 -26
  735. package/contracts/instance/InstanceAccessManager.sol +0 -303
  736. package/contracts/instance/InstanceBase.sol +0 -41
  737. package/contracts/instance/ObjectManager.sol +0 -101
  738. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  739. package/contracts/instance/base/IInstanceBase.sol +0 -23
  740. package/contracts/instance/base/KeyValueStore.sol +0 -172
  741. package/contracts/instance/base/Lifecycle.sol +0 -100
  742. package/contracts/instance/module/IAccess.sol +0 -48
  743. package/contracts/instance/module/ISetup.sol +0 -46
  744. package/contracts/instance/module/ITreasury.sol +0 -23
  745. package/contracts/instance/service/BundleService.sol +0 -294
  746. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  747. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  748. package/contracts/instance/service/DistributionService.sol +0 -120
  749. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  750. package/contracts/instance/service/IBundleService.sol +0 -44
  751. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  752. package/contracts/instance/service/IDistributionService.sol +0 -12
  753. package/contracts/instance/service/IPolicyService.sol +0 -94
  754. package/contracts/instance/service/IPoolService.sol +0 -20
  755. package/contracts/instance/service/IProductService.sol +0 -40
  756. package/contracts/instance/service/PolicyService.sol +0 -539
  757. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  758. package/contracts/instance/service/PoolService.sol +0 -145
  759. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  760. package/contracts/instance/service/ProductService.sol +0 -213
  761. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  762. package/contracts/registry/RegistryAccessManager.sol +0 -210
  763. package/contracts/registry/ReleaseManager.sol +0 -342
  764. package/contracts/shared/ContractDeployerLib.sol +0 -72
  765. package/contracts/shared/ERC165.sol +0 -25
  766. package/contracts/shared/ProxyManager.sol +0 -94
  767. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  768. package/contracts/shared/Versionable.sol +0 -147
  769. package/contracts/test/TestFee.sol +0 -25
  770. package/contracts/test/TestRegisterable.sol +0 -18
  771. package/contracts/test/TestRoleId.sol +0 -14
  772. package/contracts/test/TestService.sol +0 -25
  773. package/contracts/test/TestToken.sol +0 -26
  774. package/contracts/test/TestVersion.sol +0 -44
  775. package/contracts/test/TestVersionable.sol +0 -17
  776. package/contracts/types/ChainId.sol +0 -38
  777. package/contracts/types/Fee.sol +0 -56
  778. package/contracts/types/NumberId.sol +0 -52
  779. package/contracts/types/ObjectType.sol +0 -152
  780. package/contracts/types/RiskId.sol +0 -43
  781. package/contracts/types/RoleId.sol +0 -90
  782. package/contracts/types/UFixed.sol +0 -325
@@ -4,181 +4,404 @@
4
4
  "sourceName": "contracts/instance/InstanceService.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [],
8
- "name": "ERC1167FailedCreateClone",
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
9
15
  "type": "error"
10
16
  },
11
17
  {
12
18
  "inputs": [
13
19
  {
14
20
  "internalType": "address",
15
- "name": "registry",
21
+ "name": "caller",
16
22
  "type": "address"
17
23
  },
18
24
  {
19
- "internalType": "NftId",
20
- "name": "nftId",
21
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
22
28
  }
23
29
  ],
24
- "name": "ErrorAlreadyLinked",
30
+ "name": "AccessManagedRequiredDelay",
25
31
  "type": "error"
26
32
  },
27
33
  {
28
34
  "inputs": [
29
35
  {
30
36
  "internalType": "address",
31
- "name": "contractAddress",
37
+ "name": "caller",
32
38
  "type": "address"
33
39
  }
34
40
  ],
35
- "name": "ErrorContractNotRegistered",
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ERC1167FailedCreateClone",
36
47
  "type": "error"
37
48
  },
38
49
  {
39
50
  "inputs": [
40
51
  {
41
52
  "internalType": "address",
42
- "name": "componentAddress",
53
+ "name": "authority",
43
54
  "type": "address"
44
55
  }
45
56
  ],
46
- "name": "ErrorInstanceServiceComponentNotRegistered",
57
+ "name": "ErrorAuthorityInvalid",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorInstanceServiceAccessManagerZero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorInstanceServiceBundleSetAuthorityMismatch",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorInstanceServiceBundleSetInstanceMismatch",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorInstanceServiceBundleSetZero",
47
78
  "type": "error"
48
79
  },
49
80
  {
50
81
  "inputs": [
51
82
  {
52
83
  "internalType": "address",
53
- "name": "caller",
84
+ "name": "component",
54
85
  "type": "address"
55
- },
86
+ }
87
+ ],
88
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "componentAddress",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "ErrorInstanceServiceComponentNotRegistered",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorInstanceServiceInstanceAddressZero",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorInstanceServiceInstanceAdminZero",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "ErrorInstanceServiceInstanceAuthorityMismatch",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
56
119
  {
57
120
  "internalType": "NftId",
58
121
  "name": "instanceNftId",
59
122
  "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "componentNftId",
127
+ "type": "uint96"
60
128
  }
61
129
  ],
62
- "name": "ErrorInstanceServiceNotInstanceOwner",
130
+ "name": "ErrorInstanceServiceInstanceComponentMismatch",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [],
135
+ "name": "ErrorInstanceServiceInstanceReaderAddressZero",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [],
140
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [],
145
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [],
155
+ "name": "ErrorInstanceServiceInstanceReaderZero",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "ErrorInstanceServiceInstanceStoreZero",
63
166
  "type": "error"
64
167
  },
65
168
  {
66
169
  "inputs": [
67
170
  {
68
- "internalType": "address",
69
- "name": "caller",
70
- "type": "address"
171
+ "internalType": "NftId",
172
+ "name": "instanceNftId",
173
+ "type": "uint96"
174
+ },
175
+ {
176
+ "internalType": "VersionPart",
177
+ "name": "expectedRelease",
178
+ "type": "uint8"
179
+ },
180
+ {
181
+ "internalType": "VersionPart",
182
+ "name": "instanceRelease",
183
+ "type": "uint8"
71
184
  }
72
185
  ],
73
- "name": "ErrorInstanceServiceRequestUnauhorized",
186
+ "name": "ErrorInstanceServiceInstanceVersionMismatch",
74
187
  "type": "error"
75
188
  },
76
189
  {
77
190
  "inputs": [
78
191
  {
79
192
  "internalType": "address",
80
- "name": "account",
193
+ "name": "componentAddress",
81
194
  "type": "address"
195
+ },
196
+ {
197
+ "internalType": "ObjectType",
198
+ "name": "expectedType",
199
+ "type": "uint8"
200
+ },
201
+ {
202
+ "internalType": "ObjectType",
203
+ "name": "componentType",
204
+ "type": "uint8"
82
205
  }
83
206
  ],
84
- "name": "ErrorNotOwner",
207
+ "name": "ErrorInstanceServiceInvalidComponentType",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "ErrorInstanceServiceMasterBundleSetAlreadySet",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorInstanceServiceMasterRiskSetAlreadySet",
85
233
  "type": "error"
86
234
  },
87
235
  {
88
236
  "inputs": [
89
237
  {
90
238
  "internalType": "address",
91
- "name": "registryAddress",
239
+ "name": "instance",
92
240
  "type": "address"
241
+ },
242
+ {
243
+ "internalType": "ObjectType",
244
+ "name": "objectType",
245
+ "type": "uint8"
93
246
  }
94
247
  ],
95
- "name": "ErrorNotRegistry",
248
+ "name": "ErrorInstanceServiceNotInstance",
96
249
  "type": "error"
97
250
  },
98
251
  {
99
252
  "inputs": [
100
253
  {
101
- "internalType": "address",
102
- "name": "registryAddress",
103
- "type": "address"
254
+ "internalType": "NftId",
255
+ "name": "nftId",
256
+ "type": "uint96"
104
257
  }
105
258
  ],
106
- "name": "ErrorRegisterableNotRegistry",
259
+ "name": "ErrorInstanceServiceNotInstanceNftId",
107
260
  "type": "error"
108
261
  },
109
262
  {
110
- "inputs": [],
111
- "name": "ErrorRegistryAddressZero",
263
+ "inputs": [
264
+ {
265
+ "internalType": "address",
266
+ "name": "instance",
267
+ "type": "address"
268
+ }
269
+ ],
270
+ "name": "ErrorInstanceServiceNotRegistered",
112
271
  "type": "error"
113
272
  },
114
273
  {
115
274
  "inputs": [
116
275
  {
117
276
  "internalType": "address",
118
- "name": "registry",
277
+ "name": "caller",
119
278
  "type": "address"
120
279
  }
121
280
  ],
122
- "name": "ErrorRegistryAlreadyInitialized",
281
+ "name": "ErrorInstanceServiceRequestUnauhorized",
123
282
  "type": "error"
124
283
  },
125
284
  {
126
285
  "inputs": [],
127
- "name": "ErrorRegistryNotInitialized",
286
+ "name": "ErrorInstanceServiceRiskSetAuthorityMismatch",
128
287
  "type": "error"
129
288
  },
130
289
  {
131
290
  "inputs": [],
132
- "name": "InvalidInitialization",
291
+ "name": "ErrorInstanceServiceRiskSetInstanceMismatch",
133
292
  "type": "error"
134
293
  },
135
294
  {
136
295
  "inputs": [],
137
- "name": "NotInitializing",
296
+ "name": "ErrorInstanceServiceRiskSetZero",
138
297
  "type": "error"
139
298
  },
140
299
  {
141
- "anonymous": false,
142
300
  "inputs": [
143
301
  {
144
- "indexed": false,
145
- "internalType": "uint64",
146
- "name": "version",
147
- "type": "uint64"
302
+ "internalType": "NftId",
303
+ "name": "nftId",
304
+ "type": "uint96"
148
305
  }
149
306
  ],
150
- "name": "Initialized",
151
- "type": "event"
307
+ "name": "ErrorNftOwnableAlreadyLinked",
308
+ "type": "error"
152
309
  },
153
310
  {
154
- "anonymous": false,
155
311
  "inputs": [
156
312
  {
157
- "indexed": false,
158
313
  "internalType": "address",
159
- "name": "clonedAccessManagerAddress",
314
+ "name": "contractAddress",
160
315
  "type": "address"
316
+ }
317
+ ],
318
+ "name": "ErrorNftOwnableContractNotRegistered",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "inputs": [],
323
+ "name": "ErrorNftOwnableInitialOwnerZero",
324
+ "type": "error"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "NftId",
330
+ "name": "nftId",
331
+ "type": "uint96"
161
332
  },
162
333
  {
163
- "indexed": false,
334
+ "internalType": "ObjectType",
335
+ "name": "expectedObjectType",
336
+ "type": "uint8"
337
+ }
338
+ ],
339
+ "name": "ErrorNftOwnableInvalidType",
340
+ "type": "error"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
164
345
  "internalType": "address",
165
- "name": "clonedInstanceAddress",
346
+ "name": "account",
166
347
  "type": "address"
167
- },
348
+ }
349
+ ],
350
+ "name": "ErrorNftOwnableNotOwner",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
168
355
  {
169
- "indexed": false,
170
356
  "internalType": "address",
171
- "name": "clonedInstanceReaderAddress",
357
+ "name": "registryAddress",
172
358
  "type": "address"
173
- },
359
+ }
360
+ ],
361
+ "name": "ErrorNotRegistry",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "ErrorRegisterableNotActive",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "ErrorVersionableInitializeNotImplemented",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "ErrorVersionableUpgradeNotImplemented",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "InvalidInitialization",
382
+ "type": "error"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "NotInitializing",
387
+ "type": "error"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "ReentrancyGuardReentrantCall",
392
+ "type": "error"
393
+ },
394
+ {
395
+ "anonymous": false,
396
+ "inputs": [
174
397
  {
175
398
  "indexed": false,
176
- "internalType": "NftId",
177
- "name": "clonedInstanceNftId",
178
- "type": "uint96"
399
+ "internalType": "address",
400
+ "name": "authority",
401
+ "type": "address"
179
402
  }
180
403
  ],
181
- "name": "LogInstanceCloned",
404
+ "name": "AuthorityUpdated",
182
405
  "type": "event"
183
406
  },
184
407
  {
@@ -186,24 +409,31 @@
186
409
  "inputs": [
187
410
  {
188
411
  "indexed": false,
189
- "internalType": "Version",
412
+ "internalType": "uint64",
190
413
  "name": "version",
191
- "type": "uint24"
192
- },
414
+ "type": "uint64"
415
+ }
416
+ ],
417
+ "name": "Initialized",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
193
423
  {
194
424
  "indexed": false,
195
- "internalType": "address",
196
- "name": "implementation",
197
- "type": "address"
425
+ "internalType": "NftId",
426
+ "name": "instanceNftId",
427
+ "type": "uint96"
198
428
  },
199
429
  {
200
430
  "indexed": false,
201
431
  "internalType": "address",
202
- "name": "activatedBy",
432
+ "name": "instance",
203
433
  "type": "address"
204
434
  }
205
435
  ],
206
- "name": "LogVersionableInitialized",
436
+ "name": "LogInstanceCloned",
207
437
  "type": "event"
208
438
  },
209
439
  {
@@ -221,12 +451,12 @@
221
451
  },
222
452
  {
223
453
  "inputs": [],
224
- "name": "NAME",
454
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
225
455
  "outputs": [
226
456
  {
227
- "internalType": "string",
457
+ "internalType": "bytes32",
228
458
  "name": "",
229
- "type": "string"
459
+ "type": "bytes32"
230
460
  }
231
461
  ],
232
462
  "stateMutability": "view",
@@ -247,57 +477,131 @@
247
477
  },
248
478
  {
249
479
  "inputs": [],
250
- "name": "createInstanceClone",
480
+ "name": "authority",
251
481
  "outputs": [
252
482
  {
253
- "internalType": "contract InstanceAccessManager",
254
- "name": "clonedAccessManager",
483
+ "internalType": "address",
484
+ "name": "",
255
485
  "type": "address"
256
- },
486
+ }
487
+ ],
488
+ "stateMutability": "view",
489
+ "type": "function"
490
+ },
491
+ {
492
+ "inputs": [
257
493
  {
258
- "internalType": "contract Instance",
259
- "name": "clonedInstance",
494
+ "internalType": "address",
495
+ "name": "target",
260
496
  "type": "address"
261
497
  },
262
498
  {
263
- "internalType": "NftId",
264
- "name": "clonedInstanceNftId",
265
- "type": "uint96"
266
- },
267
- {
268
- "internalType": "contract InstanceReader",
269
- "name": "clonedInstanceReader",
270
- "type": "address"
499
+ "internalType": "RoleId",
500
+ "name": "roleId",
501
+ "type": "uint64"
271
502
  },
272
503
  {
273
- "internalType": "contract BundleManager",
274
- "name": "clonedBundleManager",
275
- "type": "address"
504
+ "components": [
505
+ {
506
+ "internalType": "Str",
507
+ "name": "name",
508
+ "type": "bytes32"
509
+ },
510
+ {
511
+ "internalType": "Selector",
512
+ "name": "selector",
513
+ "type": "bytes4"
514
+ },
515
+ {
516
+ "internalType": "Timestamp",
517
+ "name": "createdAt",
518
+ "type": "uint40"
519
+ }
520
+ ],
521
+ "internalType": "struct IAccess.FunctionInfo[]",
522
+ "name": "functions",
523
+ "type": "tuple[]"
276
524
  }
277
525
  ],
526
+ "name": "authorizeFunctions",
527
+ "outputs": [],
278
528
  "stateMutability": "nonpayable",
279
529
  "type": "function"
280
530
  },
281
531
  {
282
532
  "inputs": [
533
+ {
534
+ "internalType": "bool",
535
+ "name": "allowAnyToken",
536
+ "type": "bool"
537
+ }
538
+ ],
539
+ "name": "createInstance",
540
+ "outputs": [
541
+ {
542
+ "internalType": "contract IInstance",
543
+ "name": "instance",
544
+ "type": "address"
545
+ },
283
546
  {
284
547
  "internalType": "NftId",
285
548
  "name": "instanceNftId",
286
549
  "type": "uint96"
550
+ }
551
+ ],
552
+ "stateMutability": "nonpayable",
553
+ "type": "function"
554
+ },
555
+ {
556
+ "inputs": [
557
+ {
558
+ "internalType": "string",
559
+ "name": "roleName",
560
+ "type": "string"
287
561
  },
562
+ {
563
+ "internalType": "RoleId",
564
+ "name": "adminRoleId",
565
+ "type": "uint64"
566
+ },
567
+ {
568
+ "internalType": "uint32",
569
+ "name": "maxMemberCount",
570
+ "type": "uint32"
571
+ }
572
+ ],
573
+ "name": "createRole",
574
+ "outputs": [
575
+ {
576
+ "internalType": "RoleId",
577
+ "name": "roleId",
578
+ "type": "uint64"
579
+ }
580
+ ],
581
+ "stateMutability": "nonpayable",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
288
586
  {
289
587
  "internalType": "address",
290
- "name": "targetAddress",
588
+ "name": "target",
291
589
  "type": "address"
292
590
  },
293
591
  {
294
592
  "internalType": "string",
295
- "name": "targetName",
593
+ "name": "name",
296
594
  "type": "string"
297
595
  }
298
596
  ],
299
597
  "name": "createTarget",
300
- "outputs": [],
598
+ "outputs": [
599
+ {
600
+ "internalType": "RoleId",
601
+ "name": "contractRoleId",
602
+ "type": "uint64"
603
+ }
604
+ ],
301
605
  "stateMutability": "nonpayable",
302
606
  "type": "function"
303
607
  },
@@ -307,7 +611,7 @@
307
611
  "outputs": [
308
612
  {
309
613
  "internalType": "ObjectType",
310
- "name": "",
614
+ "name": "serviceDomain",
311
615
  "type": "uint8"
312
616
  }
313
617
  ],
@@ -357,13 +661,8 @@
357
661
  }
358
662
  ],
359
663
  "internalType": "struct IRegistry.ObjectInfo",
360
- "name": "",
664
+ "name": "info",
361
665
  "type": "tuple"
362
- },
363
- {
364
- "internalType": "bytes",
365
- "name": "data",
366
- "type": "bytes"
367
666
  }
368
667
  ],
369
668
  "stateMutability": "view",
@@ -371,33 +670,7 @@
371
670
  },
372
671
  {
373
672
  "inputs": [],
374
- "name": "getInitializedVersion",
375
- "outputs": [
376
- {
377
- "internalType": "uint64",
378
- "name": "",
379
- "type": "uint64"
380
- }
381
- ],
382
- "stateMutability": "view",
383
- "type": "function"
384
- },
385
- {
386
- "inputs": [],
387
- "name": "getMajorVersion",
388
- "outputs": [
389
- {
390
- "internalType": "VersionPart",
391
- "name": "majorVersion",
392
- "type": "uint8"
393
- }
394
- ],
395
- "stateMutability": "view",
396
- "type": "function"
397
- },
398
- {
399
- "inputs": [],
400
- "name": "getMasterInstance",
673
+ "name": "getMasterInstanceReader",
401
674
  "outputs": [
402
675
  {
403
676
  "internalType": "address",
@@ -410,12 +683,12 @@
410
683
  },
411
684
  {
412
685
  "inputs": [],
413
- "name": "getMasterInstanceAccessManager",
686
+ "name": "getNftId",
414
687
  "outputs": [
415
688
  {
416
- "internalType": "address",
689
+ "internalType": "NftId",
417
690
  "name": "",
418
- "type": "address"
691
+ "type": "uint96"
419
692
  }
420
693
  ],
421
694
  "stateMutability": "view",
@@ -423,7 +696,7 @@
423
696
  },
424
697
  {
425
698
  "inputs": [],
426
- "name": "getMasterInstanceBundleManager",
699
+ "name": "getOwner",
427
700
  "outputs": [
428
701
  {
429
702
  "internalType": "address",
@@ -436,10 +709,10 @@
436
709
  },
437
710
  {
438
711
  "inputs": [],
439
- "name": "getMasterInstanceReader",
712
+ "name": "getRegistry",
440
713
  "outputs": [
441
714
  {
442
- "internalType": "address",
715
+ "internalType": "contract IRegistry",
443
716
  "name": "",
444
717
  "type": "address"
445
718
  }
@@ -449,12 +722,12 @@
449
722
  },
450
723
  {
451
724
  "inputs": [],
452
- "name": "getNftId",
725
+ "name": "getRelease",
453
726
  "outputs": [
454
727
  {
455
- "internalType": "NftId",
456
- "name": "",
457
- "type": "uint96"
728
+ "internalType": "VersionPart",
729
+ "name": "release",
730
+ "type": "uint8"
458
731
  }
459
732
  ],
460
733
  "stateMutability": "view",
@@ -462,12 +735,12 @@
462
735
  },
463
736
  {
464
737
  "inputs": [],
465
- "name": "getOwner",
738
+ "name": "getRoleId",
466
739
  "outputs": [
467
740
  {
468
- "internalType": "address",
469
- "name": "",
470
- "type": "address"
741
+ "internalType": "RoleId",
742
+ "name": "serviceRoleId",
743
+ "type": "uint64"
471
744
  }
472
745
  ],
473
746
  "stateMutability": "view",
@@ -475,44 +748,61 @@
475
748
  },
476
749
  {
477
750
  "inputs": [],
478
- "name": "getRegistry",
751
+ "name": "getVersion",
479
752
  "outputs": [
480
753
  {
481
- "internalType": "contract IRegistry",
754
+ "internalType": "Version",
482
755
  "name": "",
483
- "type": "address"
756
+ "type": "uint24"
484
757
  }
485
758
  ],
486
- "stateMutability": "view",
759
+ "stateMutability": "pure",
487
760
  "type": "function"
488
761
  },
489
762
  {
490
- "inputs": [],
491
- "name": "getVersion",
492
- "outputs": [
763
+ "inputs": [
493
764
  {
494
- "internalType": "Version",
495
- "name": "",
496
- "type": "uint24"
765
+ "internalType": "RoleId",
766
+ "name": "roleId",
767
+ "type": "uint64"
768
+ },
769
+ {
770
+ "internalType": "address",
771
+ "name": "account",
772
+ "type": "address"
497
773
  }
498
774
  ],
499
- "stateMutability": "pure",
775
+ "name": "grantRole",
776
+ "outputs": [],
777
+ "stateMutability": "nonpayable",
500
778
  "type": "function"
501
779
  },
502
780
  {
503
781
  "inputs": [
504
782
  {
505
- "internalType": "uint256",
506
- "name": "idx",
507
- "type": "uint256"
783
+ "internalType": "address",
784
+ "name": "activatedBy",
785
+ "type": "address"
786
+ },
787
+ {
788
+ "internalType": "bytes",
789
+ "name": "data",
790
+ "type": "bytes"
508
791
  }
509
792
  ],
510
- "name": "getVersion",
793
+ "name": "initializeVersionable",
794
+ "outputs": [],
795
+ "stateMutability": "nonpayable",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [],
800
+ "name": "isActive",
511
801
  "outputs": [
512
802
  {
513
- "internalType": "Version",
514
- "name": "",
515
- "type": "uint24"
803
+ "internalType": "bool",
804
+ "name": "active",
805
+ "type": "bool"
516
806
  }
517
807
  ],
518
808
  "stateMutability": "view",
@@ -520,111 +810,94 @@
520
810
  },
521
811
  {
522
812
  "inputs": [],
523
- "name": "getVersionCount",
813
+ "name": "isConsumingScheduledOp",
524
814
  "outputs": [
525
815
  {
526
- "internalType": "uint256",
816
+ "internalType": "bytes4",
527
817
  "name": "",
528
- "type": "uint256"
818
+ "type": "bytes4"
529
819
  }
530
820
  ],
531
821
  "stateMutability": "view",
532
822
  "type": "function"
533
823
  },
534
824
  {
535
- "inputs": [
536
- {
537
- "internalType": "Version",
538
- "name": "_version",
539
- "type": "uint24"
540
- }
541
- ],
542
- "name": "getVersionInfo",
825
+ "inputs": [],
826
+ "name": "linkToRegisteredNftId",
543
827
  "outputs": [
544
828
  {
545
- "components": [
546
- {
547
- "internalType": "Version",
548
- "name": "version",
549
- "type": "uint24"
550
- },
551
- {
552
- "internalType": "address",
553
- "name": "implementation",
554
- "type": "address"
555
- },
556
- {
557
- "internalType": "address",
558
- "name": "activatedBy",
559
- "type": "address"
560
- },
561
- {
562
- "internalType": "Timestamp",
563
- "name": "activatedAt",
564
- "type": "uint40"
565
- },
566
- {
567
- "internalType": "Blocknumber",
568
- "name": "activatedIn",
569
- "type": "uint32"
570
- }
571
- ],
572
- "internalType": "struct IVersionable.VersionInfo",
573
- "name": "",
574
- "type": "tuple"
829
+ "internalType": "NftId",
830
+ "name": "nftId",
831
+ "type": "uint96"
575
832
  }
576
833
  ],
577
- "stateMutability": "view",
834
+ "stateMutability": "nonpayable",
578
835
  "type": "function"
579
836
  },
580
837
  {
581
838
  "inputs": [
582
839
  {
583
840
  "internalType": "address",
584
- "name": "account",
841
+ "name": "rewardProvider",
585
842
  "type": "address"
586
843
  },
844
+ {
845
+ "internalType": "Amount",
846
+ "name": "dipAmount",
847
+ "type": "uint96"
848
+ }
849
+ ],
850
+ "name": "refillStakingRewardReserves",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [
587
857
  {
588
858
  "internalType": "RoleId",
589
- "name": "role",
859
+ "name": "roleId",
590
860
  "type": "uint64"
591
861
  },
862
+ {
863
+ "internalType": "address",
864
+ "name": "account",
865
+ "type": "address"
866
+ }
867
+ ],
868
+ "name": "revokeRole",
869
+ "outputs": [],
870
+ "stateMutability": "nonpayable",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [
592
875
  {
593
876
  "internalType": "address",
594
877
  "name": "instanceAddress",
595
878
  "type": "address"
596
879
  }
597
880
  ],
598
- "name": "hasRole",
881
+ "name": "setAndRegisterMasterInstance",
599
882
  "outputs": [
600
883
  {
601
- "internalType": "bool",
602
- "name": "",
603
- "type": "bool"
884
+ "internalType": "NftId",
885
+ "name": "masterInstanceNftId",
886
+ "type": "uint96"
604
887
  }
605
888
  ],
606
- "stateMutability": "view",
889
+ "stateMutability": "nonpayable",
607
890
  "type": "function"
608
891
  },
609
892
  {
610
893
  "inputs": [
611
894
  {
612
895
  "internalType": "address",
613
- "name": "implementation",
896
+ "name": "newAuthority",
614
897
  "type": "address"
615
- },
616
- {
617
- "internalType": "address",
618
- "name": "activatedBy",
619
- "type": "address"
620
- },
621
- {
622
- "internalType": "bytes",
623
- "name": "data",
624
- "type": "bytes"
625
898
  }
626
899
  ],
627
- "name": "initialize",
900
+ "name": "setAuthority",
628
901
  "outputs": [],
629
902
  "stateMutability": "nonpayable",
630
903
  "type": "function"
@@ -632,25 +905,43 @@
632
905
  {
633
906
  "inputs": [
634
907
  {
635
- "internalType": "Version",
636
- "name": "_version",
637
- "type": "uint24"
908
+ "internalType": "bool",
909
+ "name": "locked",
910
+ "type": "bool"
638
911
  }
639
912
  ],
640
- "name": "isInitialized",
641
- "outputs": [
913
+ "name": "setInstanceLocked",
914
+ "outputs": [],
915
+ "stateMutability": "nonpayable",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [
920
+ {
921
+ "internalType": "RoleId",
922
+ "name": "roleId",
923
+ "type": "uint64"
924
+ },
642
925
  {
643
926
  "internalType": "bool",
644
- "name": "",
927
+ "name": "active",
645
928
  "type": "bool"
646
929
  }
647
930
  ],
648
- "stateMutability": "view",
931
+ "name": "setRoleActive",
932
+ "outputs": [],
933
+ "stateMutability": "nonpayable",
649
934
  "type": "function"
650
935
  },
651
936
  {
652
- "inputs": [],
653
- "name": "linkToRegisteredNftId",
937
+ "inputs": [
938
+ {
939
+ "internalType": "Seconds",
940
+ "name": "stakeLockingPeriod",
941
+ "type": "uint40"
942
+ }
943
+ ],
944
+ "name": "setStakingLockingPeriod",
654
945
  "outputs": [],
655
946
  "stateMutability": "nonpayable",
656
947
  "type": "function"
@@ -658,27 +949,12 @@
658
949
  {
659
950
  "inputs": [
660
951
  {
661
- "internalType": "address",
662
- "name": "accessManagerAddress",
663
- "type": "address"
664
- },
665
- {
666
- "internalType": "address",
667
- "name": "instanceAddress",
668
- "type": "address"
669
- },
670
- {
671
- "internalType": "address",
672
- "name": "instanceReaderAddress",
673
- "type": "address"
674
- },
675
- {
676
- "internalType": "address",
677
- "name": "bundleManagerAddress",
678
- "type": "address"
952
+ "internalType": "Amount",
953
+ "name": "maxStakedAmount",
954
+ "type": "uint96"
679
955
  }
680
956
  ],
681
- "name": "setMasterInstance",
957
+ "name": "setStakingMaxAmount",
682
958
  "outputs": [],
683
959
  "stateMutability": "nonpayable",
684
960
  "type": "function"
@@ -686,12 +962,12 @@
686
962
  {
687
963
  "inputs": [
688
964
  {
689
- "internalType": "address",
690
- "name": "instanceReaderAddress",
691
- "type": "address"
965
+ "internalType": "UFixed",
966
+ "name": "rewardRate",
967
+ "type": "uint160"
692
968
  }
693
969
  ],
694
- "name": "setMasterInstanceReader",
970
+ "name": "setStakingRewardRate",
695
971
  "outputs": [],
696
972
  "stateMutability": "nonpayable",
697
973
  "type": "function"
@@ -699,9 +975,9 @@
699
975
  {
700
976
  "inputs": [
701
977
  {
702
- "internalType": "string",
703
- "name": "targetName",
704
- "type": "string"
978
+ "internalType": "address",
979
+ "name": "target",
980
+ "type": "address"
705
981
  },
706
982
  {
707
983
  "internalType": "bool",
@@ -737,21 +1013,66 @@
737
1013
  "inputs": [
738
1014
  {
739
1015
  "internalType": "address",
740
- "name": "implementation",
1016
+ "name": "target",
741
1017
  "type": "address"
742
1018
  },
1019
+ {
1020
+ "components": [
1021
+ {
1022
+ "internalType": "Str",
1023
+ "name": "name",
1024
+ "type": "bytes32"
1025
+ },
1026
+ {
1027
+ "internalType": "Selector",
1028
+ "name": "selector",
1029
+ "type": "bytes4"
1030
+ },
1031
+ {
1032
+ "internalType": "Timestamp",
1033
+ "name": "createdAt",
1034
+ "type": "uint40"
1035
+ }
1036
+ ],
1037
+ "internalType": "struct IAccess.FunctionInfo[]",
1038
+ "name": "functions",
1039
+ "type": "tuple[]"
1040
+ }
1041
+ ],
1042
+ "name": "unauthorizeFunctions",
1043
+ "outputs": [],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ },
1047
+ {
1048
+ "inputs": [],
1049
+ "name": "upgradeInstanceReader",
1050
+ "outputs": [],
1051
+ "stateMutability": "nonpayable",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
743
1056
  {
744
1057
  "internalType": "address",
745
- "name": "activatedBy",
1058
+ "name": "instanceReaderAddress",
746
1059
  "type": "address"
747
- },
1060
+ }
1061
+ ],
1062
+ "name": "upgradeMasterInstanceReader",
1063
+ "outputs": [],
1064
+ "stateMutability": "nonpayable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "inputs": [
748
1069
  {
749
1070
  "internalType": "bytes",
750
1071
  "name": "data",
751
1072
  "type": "bytes"
752
1073
  }
753
1074
  ],
754
- "name": "upgrade",
1075
+ "name": "upgradeVersionable",
755
1076
  "outputs": [],
756
1077
  "stateMutability": "nonpayable",
757
1078
  "type": "function"
@@ -759,203 +1080,165 @@
759
1080
  {
760
1081
  "inputs": [
761
1082
  {
762
- "internalType": "NftId",
763
- "name": "instanceNftId",
1083
+ "internalType": "Amount",
1084
+ "name": "dipAmount",
1085
+ "type": "uint96"
1086
+ }
1087
+ ],
1088
+ "name": "withdrawStakingRewardReserves",
1089
+ "outputs": [
1090
+ {
1091
+ "internalType": "Amount",
1092
+ "name": "newBalance",
764
1093
  "type": "uint96"
765
1094
  }
766
1095
  ],
767
- "name": "upgradeInstanceReader",
768
- "outputs": [],
769
1096
  "stateMutability": "nonpayable",
770
1097
  "type": "function"
771
1098
  }
772
1099
  ],
773
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614e90806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063c22f980d116100a2578063eb59c6b111610071578063eb59c6b114610577578063edabac0314610588578063eeff428e14610599578063feec1190146105e457600080fd5b8063c22f980d14610538578063cde749f41461054b578063cf7a1d7714610553578063e338e27b1461056657600080fd5b8063a745e3df116100de578063a745e3df146104dd578063b3c65015146104f0578063b68d180914610510578063b88da7591461052557600080fd5b8063893d20e814610473578063946dfcfe1461047b578063a3f4df7e146104a257600080fd5b80633bd516ef1161017c57806363709eaf1161014b57806363709eaf1461041a578063644c45e01461042d57806386ebbf4214610458578063872309c71461046b57600080fd5b80633bd516ef146102ca5780634d459c90146102dd5780634f421333146103f65780635ab1bd531461040957600080fd5b8063103bd5da116101b8578063103bd5da14610253578063138461e0146102665780631eff4b22146102705780632b440bc9146102a557600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed366004614350565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296105f7565b60405162ffffff9091168152602001610218565b610245610681565b6040516102189291906143d1565b61020c6102613660046144a2565b610803565b61026e6108e9565b005b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61026e6102d83660046144ed565b610b0b565b6103996102eb36600461455a565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614e3b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c61040436600461455a565b611120565b6001546001600160a01b03166102b2565b61026e610428366004614678565b6111d3565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610218565b61026e6104663660046146de565b611461565b610297600081565b6102b2611637565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6104d06040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b604051610218919061473f565b61026e6104eb366004614752565b611750565b6104f86118aa565b6040516001600160401b039091168152602001610218565b60465b60405160ff9091168152602001610218565b6102296105333660046147bd565b6118cb565b61026e6105463660046147d6565b61191c565b610513611b26565b61026e610561366004614752565b611ba9565b6004546001600160a01b03166102b2565b6006546001600160a01b03166102b2565b6005546001600160a01b03166102b2565b6105a1611cb2565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610218565b61026e6105f23660046147f3565b612264565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614810565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107046001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161074c611637565b6001600160a01b031681526020018260010180546107699061482d565b80601f01602080910402602001604051908101604052809291908181526020018280546107959061482d565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d9190614872565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee9061089e9088908a9060040161488f565b602060405180830381865afa1580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108df91906148bc565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561094b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f91906148bc565b156109b6576001546040516316322c0f60e31b81526109ad916001600160a01b03811691600160a01b9091046001600160601b0316906004016148d9565b60405180910390fd5b6001546001600160a01b03166109df5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4c91906148bc565b610a74576040516372657a5160e01b81526001600160a01b03821660048201526024016109ad565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae29190614906565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b13611637565b6001600160a01b0316336001600160a01b031614610b465760405163700dd81160e01b81523360048201526024016109ad565b6003546001600160a01b031615610bb75760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ad565b6004546001600160a01b031615610c225760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016109ad565b6006546001600160a01b031615610c935760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ad565b6001600160a01b038416610cf35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ad565b6001600160a01b038316610d495760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f000000000060448201526064016109ad565b6001600160a01b038216610daa5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ad565b6001600160a01b038116610e0a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ad565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e859190614872565b6001600160a01b031614610eed5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b60648201526084016109ad565b610fc5826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f529190614906565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb49190614906565b6001600160601b0390811691161490565b6110295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ad565b61106a816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2e573d6000803e3d6000fd5b6110cd5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b60648201526084016109ad565b5050600380546001600160a01b039687166001600160a01b031991821617909155600480549587169582169590951790945550600580549285169284169290921790915560068054919093169116179055565b600080600080516020614e3b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190614923565b1192915050565b3360006111e86001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611234573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261125c9190810190614a50565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de91906148bc565b156113075760405163aef351c360e01b81526001600160a01b03841660048201526024016109ad565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561135d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113859190810190614a50565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f49190614872565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611425908b908b90600401614a84565b600060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050505050505050505050565b336114746001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156114bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e091906148bc565b611508576040516302613e9f60e51b81526001600160a01b03821660048201526024016109ad565b600061151c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561156f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115979190810190614a50565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116069190614872565b6040516317ea2ab560e21b81529091506001600160a01b03821690635fa8aad490611425908a908a90600401614aa8565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561169c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c091906148bc565b1561174057600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561171c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614872565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6117726105f7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156117b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d69190614acc565b600080516020614e1b8339815191528054600160401b900460ff1680611809575080546001600160401b03808416911610155b156118275760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611852858561251c565b61185b836127bb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061067c600080516020614e1b833981519152546001600160401b031690565b6000600080516020614e3b83398151915260010182815481106118f0576118f0614ae9565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006119306001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611983573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119ab9190810190614a50565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1a9190614872565b9050336001600160a01b03821614611a47576040516302613e9f60e51b81523360048201526024016109ad565b600554600090611a5f906001600160a01b03166127c3565b604051633ca904dd60e21b81529091506001600160a01b0382169063f2a4137490611a909088908a906004016148d9565b600060405180830381600087803b158015611aaa57600080fd5b505af1158015611abe573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b50505050505050505050565b6000611b306105f7565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611b85573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614aff565b600080516020614e1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611bdc5750825b90506000826001600160401b03166001148015611bf85750303b155b905081158015611c06575080155b15611c245760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c4e57845460ff60401b1916600160401b1785555b611c58888861251c565b611c628787612835565b8315611ca857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381611ccc6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3c9190614906565b905060006001600160a01b03841663d39e60436028611d59611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc29190614872565b6003549091508190611ddc906001600160a01b03166127c3565b604051637bee8e7d60e11b8152306004820152909b506001600160a01b038c169063f7dd1cfa90602401600060405180830381600087803b158015611e2057600080fd5b505af1158015611e34573d6000803e3d6000fd5b5050600454611e4e92506001600160a01b031690506127c3565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611eb257600080fd5b505af1158015611ec6573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038d81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611f15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f3d9190810190614b1c565b508051600554909b50909150611f5b906001600160a01b03166127c3565b604051633ca904dd60e21b81529099506001600160a01b038a169063f2a4137490611f8c9088908e906004016148d9565b600060405180830381600087803b158015611fa657600080fd5b505af1158015611fba573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038c811660048301528e16925063f7bc431c9150602401600060405180830381600087803b15801561200157600080fd5b505af1158015612015573d6000803e3d6000fd5b505060065461202f92506001600160a01b031690506127c3565b604051630c861c2560e41b81526001600160a01b038e8116600483015287811660248301526001600160601b038d1660448301529199509089169063c861c25090606401600060405180830381600087803b15801561208d57600080fd5b505af11580156120a1573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038b811660048301528e16925063422c9d009150602401600060405180830381600087803b1580156120e757600080fd5b505af11580156120fb573d6000803e3d6000fd5b5050505061210a8c8c8a612960565b8b6001600160a01b031663b428b0b06121216129b6565b896040518363ffffffff1660e01b815260040161213f92919061488f565b6020604051808303816000875af115801561215e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218291906148bc565b508b6001600160a01b031663b7d2b16261219a6129b6565b306040518363ffffffff1660e01b81526004016121b892919061488f565b6020604051808303816000875af11580156121d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fb91906148bc565b50604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39181900360800190a1505050505050509091929394565b61226c611637565b6001600160a01b0316336001600160a01b03161461229f5760405163700dd81160e01b81523360048201526024016109ad565b6005546001600160a01b031661230c5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b60648201526084016109ad565b6001600160a01b03811661236d5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ad565b6005546001600160a01b03908116908216036123e45760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b60648201526084016109ad565b6000819050612495816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561242a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244e9190614906565b6004805460408051630322622f60e51b815290516001600160a01b039092169263644c45e09282820192602092908290030181865afa158015610f90573d6000803e3d6000fd5b6124f95760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ad565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b612524612a2e565b600080516020614e3b8339815191526000612554600080516020614e1b833981519152546001600160401b031690565b905060006125606105f7565b9050816001600160401b031660010361258d5760028301805462ffffff191662ffffff83161790556125db565b600283015462ffffff908116908216116125db5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ad565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561268f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b39190614b7f565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061189b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da612a2e565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612830576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614e1b8339815191528054600160401b810460ff1615906001600160401b03166000811580156128685750825b90506000826001600160401b031660011480156128845750303b155b905081158015612892575080155b156128b05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156128da57845460ff60401b1916600160401b1785555b600080878060200190518101906128f19190614ba6565b925090506128ff818a612a67565b61290f639db409fb60e01b612ad2565b5050831561295757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b61296983612af7565b61297483838361304e565b61297e8383613106565b6129888383613315565b6129928383613508565b61299c8383613755565b6129a7838383613934565b6129b18383613ca6565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612a0a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614acc565b600080516020614e1b83398151915254600160401b900460ff16612a6557604051631afcd79f60e31b815260040160405180910390fd5b565b60006046612a73611b26565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612aa884613e16565b90506000612abb8583603c848888613e87565b612acb637b6a51fd60e01b612ad2565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a612b0e613f53565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015612b7a57600080fd5b505af1158015612b8e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ba9613f8e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015612c0d57600080fd5b505af1158015612c21573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612c3c613fca565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015612ca357600080fd5b505af1158015612cb7573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612cd2614006565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015612d4657600080fd5b505af1158015612d5a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612d75614042565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015612ddb57600080fd5b505af1158015612def573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612e0a61407e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015612e7357600080fd5b505af1158015612e87573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ea26140ba565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612f0a57600080fd5b505af1158015612f1e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612f396140f6565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612fa157600080fd5b505af1158015612fb5573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612fd0614132565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561303a57600080fd5b505af1158015612acb573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c309061307a908590600401614bd5565b600060405180830381600087803b15801561309457600080fd5b505af11580156130a8573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506130d8908490600401614c0c565b600060405180830381600087803b1580156130f257600080fd5b505af1158015612957573d6000803e3d6000fd5b600061311a6001546001600160a01b031690565b905060006001600160a01b03821663d39e60436078613137611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561317c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a09190614872565b9050836001600160a01b031663b428b0b06131b9614006565b836040518363ffffffff1660e01b81526004016131d792919061488f565b6020604051808303816000875af11580156131f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321a91906148bc565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061325757613257614ae9565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061328e5761328e614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826132bf614006565b6040518363ffffffff1660e01b81526004016132dc929190614c8d565b600060405180830381600087803b1580156132f657600080fd5b505af115801561330a573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c613333611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613378573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339c9190614872565b9050826001600160a01b031663b428b0b06133b5614042565b836040518363ffffffff1660e01b81526004016133d392919061488f565b6020604051808303816000875af11580156133f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061341691906148bc565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061345557613455614ae9565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061348c5761348c614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd614042565b6040518363ffffffff1660e01b81526004016134da929190614c8d565b600060405180830381600087803b1580156134f457600080fd5b505af1158015611ca8573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e613526611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561356b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061358f9190614872565b9050826001600160a01b031663b428b0b06135a861407e565b836040518363ffffffff1660e01b81526004016135c692919061488f565b6020604051808303816000875af11580156135e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360991906148bc565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061364857613648614ae9565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061367f5761367f614ae9565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106136b6576136b6614ae9565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106136ed576136ed614ae9565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061372457613724614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd61407e565b6001546000906001600160a01b031663d39e604360d2613773611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156137b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137dc9190614872565b9050826001600160a01b031663b428b0b06137f56140ba565b836040518363ffffffff1660e01b815260040161381392919061488f565b6020604051808303816000875af1158015613832573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061385691906148bc565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061389557613895614ae9565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106138cc576138cc614ae9565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600290811061390357613903614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd6140ba565b6001546000906001600160a01b031663d39e604360dc613952611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139bb9190614872565b9050836001600160a01b031663b428b0b06139d46140f6565b836040518363ffffffff1660e01b81526004016139f292919061488f565b6020604051808303816000875af1158015613a11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a3591906148bc565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613a7257613a72614ae9565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613aa957613aa9614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82613ada6140f6565b6040518363ffffffff1660e01b8152600401613af7929190614c8d565b600060405180830381600087803b158015613b1157600080fd5b505af1158015613b25573d6000803e3d6000fd5b506000925060059150613b359050565b604051908082528060200260200182016040528015613b5e578160200160208202803683370190505b509050630cc7e61460e01b81600081518110613b7c57613b7c614ae9565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613bb357613bb3614ae9565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110613bea57613bea614ae9565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613c2157613c21614ae9565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613c5857613c58614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613c896140f6565b6040518363ffffffff1660e01b8152600401611aec929190614ce0565b6001546000906001600160a01b031663d39e60436046613cc4611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2d9190614872565b9050826001600160a01b031663b428b0b0613d46614132565b836040518363ffffffff1660e01b8152600401613d6492919061488f565b6020604051808303816000875af1158015613d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613da791906148bc565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613de557613de5614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd614132565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613e5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e819190614906565b92915050565b613ec86301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613ed2828761416e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f428382614d5b565b506129576303fb044760e21b612ad2565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6001600160a01b0382166141c45760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ad565b600280546001600160a01b0319166001600160a01b0384161790556141e8816141ec565b5050565b6001546001600160a01b0316156142255760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ad565b6001600160a01b03811661424c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036142825760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156142fc575060408051601f3d908101601f191682019092526142f9918101906148bc565b60015b6143245760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ad565b806141e85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ad565b50565b60006020828403121561436257600080fd5b81356001600160e01b03198116811461437a57600080fd5b9392505050565b60005b8381101561439c578181015183820152602001614384565b50506000910152565b600081518084526143bd816020860160208601614381565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161441560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261445b6101208401826143a5565b9050828103602084015261446f81856143a5565b95945050505050565b6001600160a01b038116811461434d57600080fd5b6001600160401b038116811461434d57600080fd5b6000806000606084860312156144b757600080fd5b83356144c281614478565b925060208401356144d28161448d565b915060408401356144e281614478565b809150509250925092565b6000806000806080858703121561450357600080fd5b843561450e81614478565b9350602085013561451e81614478565b9250604085013561452e81614478565b9150606085013561453e81614478565b939692955090935050565b62ffffff8116811461434d57600080fd5b60006020828403121561456c57600080fd5b813561437a81614549565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156145af576145af614577565b60405290565b604051601f8201601f191681016001600160401b03811182821017156145dd576145dd614577565b604052919050565b60006001600160401b038211156145fe576145fe614577565b50601f01601f191660200190565b600061461f61461a846145e5565b6145b5565b905082815283838301111561463357600080fd5b828260208301376000602084830101529392505050565b600082601f83011261465b57600080fd5b61437a8383356020850161460c565b801515811461434d57600080fd5b6000806040838503121561468b57600080fd5b82356001600160401b038111156146a157600080fd5b6146ad8582860161464a565b92505060208301356146be8161466a565b809150509250929050565b6001600160601b038116811461434d57600080fd5b6000806000606084860312156146f357600080fd5b83356146fe816146c9565b9250602084013561470e81614478565b915060408401356001600160401b0381111561472957600080fd5b6147358682870161464a565b9150509250925092565b60208152600061437a60208301846143a5565b60008060006060848603121561476757600080fd5b833561477281614478565b9250602084013561478281614478565b915060408401356001600160401b0381111561479d57600080fd5b8401601f810186136147ae57600080fd5b6147358682356020840161460c565b6000602082840312156147cf57600080fd5b5035919050565b6000602082840312156147e857600080fd5b813561437a816146c9565b60006020828403121561480557600080fd5b813561437a81614478565b60006020828403121561482257600080fd5b815161437a81614549565b600181811c9082168061484157607f821691505b60208210810361486157634e487b7160e01b600052602260045260246000fd5b50919050565b805161283081614478565b60006020828403121561488457600080fd5b815161437a81614478565b6001600160401b039290921682526001600160a01b0316602082015260400190565b80516128308161466a565b6000602082840312156148ce57600080fd5b815161437a8161466a565b6001600160a01b039290921682526001600160601b0316602082015260400190565b8051612830816146c9565b60006020828403121561491857600080fd5b815161437a816146c9565b60006020828403121561493557600080fd5b5051919050565b60ff8116811461434d57600080fd5b80516128308161493c565b600082601f83011261496757600080fd5b815161497561461a826145e5565b81815284602083860101111561498a57600080fd5b61499b826020830160208701614381565b949350505050565b600060e082840312156149b557600080fd5b6149bd61458d565b90506149c8826148fb565b81526149d6602083016148fb565b60208201526149e76040830161494b565b60408201526149f8606083016148b1565b6060820152614a0960808301614867565b6080820152614a1a60a08301614867565b60a082015260c08201516001600160401b03811115614a3857600080fd5b614a4484828501614956565b60c08301525092915050565b600060208284031215614a6257600080fd5b81516001600160401b03811115614a7857600080fd5b61499b848285016149a3565b604081526000614a9760408301856143a5565b905082151560208301529392505050565b6001600160a01b038316815260406020820181905260009061499b908301846143a5565b600060208284031215614ade57600080fd5b815161437a8161448d565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614b1157600080fd5b815161437a8161493c565b60008060408385031215614b2f57600080fd5b82516001600160401b0380821115614b4657600080fd5b614b52868387016149a3565b93506020850151915080821115614b6857600080fd5b50614b7585828601614956565b9150509250929050565b600060208284031215614b9157600080fd5b815164ffffffffff8116811461437a57600080fd5b60008060408385031215614bb957600080fd5b8251614bc481614478565b60208401519092506146be81614478565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161437a565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161437a565b600081518084526020808501945080840160005b83811015614c825781516001600160e01b03191687529582019590820190600101614c5c565b509495945050505050565b606081526000614cb5606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152614cc78186614c48565b9150506001600160401b03831660408301529392505050565b606081526000614cb560608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f8211156129b157600081815260208120601f850160051c81016020861015614d345750805b601f850160051c820191505b81811015614d5357828155600101614d40565b505050505050565b81516001600160401b03811115614d7457614d74614577565b614d8881614d82845461482d565b84614d0d565b602080601f831160018114614dbd5760008415614da55750858301515b600019600386901b1c1916600185901b178555614d53565b600085815260208120601f198616915b82811015614dec57888601518255948401946001909101908401614dcd565b5085821015614e0a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200aca5b1d4f4e20284f8d6fbb3f1a4d16059a1b1deb311efa546749521844661164736f6c63430008140033",
774
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063c22f980d116100a2578063eb59c6b111610071578063eb59c6b114610577578063edabac0314610588578063eeff428e14610599578063feec1190146105e457600080fd5b8063c22f980d14610538578063cde749f41461054b578063cf7a1d7714610553578063e338e27b1461056657600080fd5b8063a745e3df116100de578063a745e3df146104dd578063b3c65015146104f0578063b68d180914610510578063b88da7591461052557600080fd5b8063893d20e814610473578063946dfcfe1461047b578063a3f4df7e146104a257600080fd5b80633bd516ef1161017c57806363709eaf1161014b57806363709eaf1461041a578063644c45e01461042d57806386ebbf4214610458578063872309c71461046b57600080fd5b80633bd516ef146102ca5780634d459c90146102dd5780634f421333146103f65780635ab1bd531461040957600080fd5b8063103bd5da116101b8578063103bd5da14610253578063138461e0146102665780631eff4b22146102705780632b440bc9146102a557600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed366004614350565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296105f7565b60405162ffffff9091168152602001610218565b610245610681565b6040516102189291906143d1565b61020c6102613660046144a2565b610803565b61026e6108e9565b005b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61026e6102d83660046144ed565b610b0b565b6103996102eb36600461455a565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614e3b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c61040436600461455a565b611120565b6001546001600160a01b03166102b2565b61026e610428366004614678565b6111d3565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610218565b61026e6104663660046146de565b611461565b610297600081565b6102b2611637565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6104d06040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b604051610218919061473f565b61026e6104eb366004614752565b611750565b6104f86118aa565b6040516001600160401b039091168152602001610218565b60465b60405160ff9091168152602001610218565b6102296105333660046147bd565b6118cb565b61026e6105463660046147d6565b61191c565b610513611b26565b61026e610561366004614752565b611ba9565b6004546001600160a01b03166102b2565b6006546001600160a01b03166102b2565b6005546001600160a01b03166102b2565b6105a1611cb2565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610218565b61026e6105f23660046147f3565b612264565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614810565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107046001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161074c611637565b6001600160a01b031681526020018260010180546107699061482d565b80601f01602080910402602001604051908101604052809291908181526020018280546107959061482d565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d9190614872565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee9061089e9088908a9060040161488f565b602060405180830381865afa1580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108df91906148bc565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561094b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f91906148bc565b156109b6576001546040516316322c0f60e31b81526109ad916001600160a01b03811691600160a01b9091046001600160601b0316906004016148d9565b60405180910390fd5b6001546001600160a01b03166109df5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4c91906148bc565b610a74576040516372657a5160e01b81526001600160a01b03821660048201526024016109ad565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae29190614906565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b13611637565b6001600160a01b0316336001600160a01b031614610b465760405163700dd81160e01b81523360048201526024016109ad565b6003546001600160a01b031615610bb75760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ad565b6004546001600160a01b031615610c225760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016109ad565b6006546001600160a01b031615610c935760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ad565b6001600160a01b038416610cf35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ad565b6001600160a01b038316610d495760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f000000000060448201526064016109ad565b6001600160a01b038216610daa5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ad565b6001600160a01b038116610e0a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ad565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e859190614872565b6001600160a01b031614610eed5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b60648201526084016109ad565b610fc5826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f529190614906565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb49190614906565b6001600160601b0390811691161490565b6110295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ad565b61106a816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2e573d6000803e3d6000fd5b6110cd5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b60648201526084016109ad565b5050600380546001600160a01b039687166001600160a01b031991821617909155600480549587169582169590951790945550600580549285169284169290921790915560068054919093169116179055565b600080600080516020614e3b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190614923565b1192915050565b3360006111e86001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611234573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261125c9190810190614a50565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de91906148bc565b156113075760405163aef351c360e01b81526001600160a01b03841660048201526024016109ad565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561135d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113859190810190614a50565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f49190614872565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611425908b908b90600401614a84565b600060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050505050505050505050565b336114746001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156114bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e091906148bc565b611508576040516302613e9f60e51b81526001600160a01b03821660048201526024016109ad565b600061151c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561156f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115979190810190614a50565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116069190614872565b6040516317ea2ab560e21b81529091506001600160a01b03821690635fa8aad490611425908a908a90600401614aa8565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561169c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c091906148bc565b1561174057600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561171c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614872565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6117726105f7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156117b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d69190614acc565b600080516020614e1b8339815191528054600160401b900460ff1680611809575080546001600160401b03808416911610155b156118275760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611852858561251c565b61185b836127bb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061067c600080516020614e1b833981519152546001600160401b031690565b6000600080516020614e3b83398151915260010182815481106118f0576118f0614ae9565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006119306001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611983573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119ab9190810190614a50565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1a9190614872565b9050336001600160a01b03821614611a47576040516302613e9f60e51b81523360048201526024016109ad565b600554600090611a5f906001600160a01b03166127c3565b604051633ca904dd60e21b81529091506001600160a01b0382169063f2a4137490611a909088908a906004016148d9565b600060405180830381600087803b158015611aaa57600080fd5b505af1158015611abe573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b50505050505050505050565b6000611b306105f7565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611b85573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614aff565b600080516020614e1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611bdc5750825b90506000826001600160401b03166001148015611bf85750303b155b905081158015611c06575080155b15611c245760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c4e57845460ff60401b1916600160401b1785555b611c58888861251c565b611c628787612835565b8315611ca857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381611ccc6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3c9190614906565b905060006001600160a01b03841663d39e60436028611d59611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc29190614872565b6003549091508190611ddc906001600160a01b03166127c3565b604051637bee8e7d60e11b8152306004820152909b506001600160a01b038c169063f7dd1cfa90602401600060405180830381600087803b158015611e2057600080fd5b505af1158015611e34573d6000803e3d6000fd5b5050600454611e4e92506001600160a01b031690506127c3565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611eb257600080fd5b505af1158015611ec6573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038d81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611f15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f3d9190810190614b1c565b508051600554909b50909150611f5b906001600160a01b03166127c3565b604051633ca904dd60e21b81529099506001600160a01b038a169063f2a4137490611f8c9088908e906004016148d9565b600060405180830381600087803b158015611fa657600080fd5b505af1158015611fba573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038c811660048301528e16925063f7bc431c9150602401600060405180830381600087803b15801561200157600080fd5b505af1158015612015573d6000803e3d6000fd5b505060065461202f92506001600160a01b031690506127c3565b604051630c861c2560e41b81526001600160a01b038e8116600483015287811660248301526001600160601b038d1660448301529199509089169063c861c25090606401600060405180830381600087803b15801561208d57600080fd5b505af11580156120a1573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038b811660048301528e16925063422c9d009150602401600060405180830381600087803b1580156120e757600080fd5b505af11580156120fb573d6000803e3d6000fd5b5050505061210a8c8c8a612960565b8b6001600160a01b031663b428b0b06121216129b6565b896040518363ffffffff1660e01b815260040161213f92919061488f565b6020604051808303816000875af115801561215e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218291906148bc565b508b6001600160a01b031663b7d2b16261219a6129b6565b306040518363ffffffff1660e01b81526004016121b892919061488f565b6020604051808303816000875af11580156121d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fb91906148bc565b50604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39181900360800190a1505050505050509091929394565b61226c611637565b6001600160a01b0316336001600160a01b03161461229f5760405163700dd81160e01b81523360048201526024016109ad565b6005546001600160a01b031661230c5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b60648201526084016109ad565b6001600160a01b03811661236d5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ad565b6005546001600160a01b03908116908216036123e45760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b60648201526084016109ad565b6000819050612495816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561242a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244e9190614906565b6004805460408051630322622f60e51b815290516001600160a01b039092169263644c45e09282820192602092908290030181865afa158015610f90573d6000803e3d6000fd5b6124f95760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ad565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b612524612a2e565b600080516020614e3b8339815191526000612554600080516020614e1b833981519152546001600160401b031690565b905060006125606105f7565b9050816001600160401b031660010361258d5760028301805462ffffff191662ffffff83161790556125db565b600283015462ffffff908116908216116125db5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ad565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561268f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b39190614b7f565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061189b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da612a2e565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612830576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614e1b8339815191528054600160401b810460ff1615906001600160401b03166000811580156128685750825b90506000826001600160401b031660011480156128845750303b155b905081158015612892575080155b156128b05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156128da57845460ff60401b1916600160401b1785555b600080878060200190518101906128f19190614ba6565b925090506128ff818a612a67565b61290f639db409fb60e01b612ad2565b5050831561295757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b61296983612af7565b61297483838361304e565b61297e8383613106565b6129888383613315565b6129928383613508565b61299c8383613755565b6129a7838383613934565b6129b18383613ca6565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612a0a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190614acc565b600080516020614e1b83398151915254600160401b900460ff16612a6557604051631afcd79f60e31b815260040160405180910390fd5b565b60006046612a73611b26565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612aa884613e16565b90506000612abb8583603c848888613e87565b612acb637b6a51fd60e01b612ad2565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a612b0e613f53565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015612b7a57600080fd5b505af1158015612b8e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ba9613f8e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015612c0d57600080fd5b505af1158015612c21573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612c3c613fca565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015612ca357600080fd5b505af1158015612cb7573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612cd2614006565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015612d4657600080fd5b505af1158015612d5a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612d75614042565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015612ddb57600080fd5b505af1158015612def573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612e0a61407e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015612e7357600080fd5b505af1158015612e87573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ea26140ba565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612f0a57600080fd5b505af1158015612f1e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612f396140f6565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612fa157600080fd5b505af1158015612fb5573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612fd0614132565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561303a57600080fd5b505af1158015612acb573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c309061307a908590600401614bd5565b600060405180830381600087803b15801561309457600080fd5b505af11580156130a8573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506130d8908490600401614c0c565b600060405180830381600087803b1580156130f257600080fd5b505af1158015612957573d6000803e3d6000fd5b600061311a6001546001600160a01b031690565b905060006001600160a01b03821663d39e60436078613137611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561317c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a09190614872565b9050836001600160a01b031663b428b0b06131b9614006565b836040518363ffffffff1660e01b81526004016131d792919061488f565b6020604051808303816000875af11580156131f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321a91906148bc565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061325757613257614ae9565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061328e5761328e614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826132bf614006565b6040518363ffffffff1660e01b81526004016132dc929190614c8d565b600060405180830381600087803b1580156132f657600080fd5b505af115801561330a573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c613333611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613378573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339c9190614872565b9050826001600160a01b031663b428b0b06133b5614042565b836040518363ffffffff1660e01b81526004016133d392919061488f565b6020604051808303816000875af11580156133f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061341691906148bc565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061345557613455614ae9565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061348c5761348c614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd614042565b6040518363ffffffff1660e01b81526004016134da929190614c8d565b600060405180830381600087803b1580156134f457600080fd5b505af1158015611ca8573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e613526611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561356b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061358f9190614872565b9050826001600160a01b031663b428b0b06135a861407e565b836040518363ffffffff1660e01b81526004016135c692919061488f565b6020604051808303816000875af11580156135e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360991906148bc565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061364857613648614ae9565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061367f5761367f614ae9565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106136b6576136b6614ae9565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106136ed576136ed614ae9565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061372457613724614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd61407e565b6001546000906001600160a01b031663d39e604360d2613773611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156137b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137dc9190614872565b9050826001600160a01b031663b428b0b06137f56140ba565b836040518363ffffffff1660e01b815260040161381392919061488f565b6020604051808303816000875af1158015613832573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061385691906148bc565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061389557613895614ae9565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106138cc576138cc614ae9565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600290811061390357613903614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd6140ba565b6001546000906001600160a01b031663d39e604360dc613952611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139bb9190614872565b9050836001600160a01b031663b428b0b06139d46140f6565b836040518363ffffffff1660e01b81526004016139f292919061488f565b6020604051808303816000875af1158015613a11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a3591906148bc565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613a7257613a72614ae9565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613aa957613aa9614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82613ada6140f6565b6040518363ffffffff1660e01b8152600401613af7929190614c8d565b600060405180830381600087803b158015613b1157600080fd5b505af1158015613b25573d6000803e3d6000fd5b506000925060059150613b359050565b604051908082528060200260200182016040528015613b5e578160200160208202803683370190505b509050630cc7e61460e01b81600081518110613b7c57613b7c614ae9565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613bb357613bb3614ae9565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110613bea57613bea614ae9565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613c2157613c21614ae9565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613c5857613c58614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613c896140f6565b6040518363ffffffff1660e01b8152600401611aec929190614ce0565b6001546000906001600160a01b031663d39e60436046613cc4611b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2d9190614872565b9050826001600160a01b031663b428b0b0613d46614132565b836040518363ffffffff1660e01b8152600401613d6492919061488f565b6020604051808303816000875af1158015613d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613da791906148bc565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613de557613de5614ae9565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826134bd614132565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613e5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e819190614906565b92915050565b613ec86301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613ed2828761416e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f428382614d5b565b506129576303fb044760e21b612ad2565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016129ed565b6001600160a01b0382166141c45760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ad565b600280546001600160a01b0319166001600160a01b0384161790556141e8816141ec565b5050565b6001546001600160a01b0316156142255760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ad565b6001600160a01b03811661424c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036142825760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156142fc575060408051601f3d908101601f191682019092526142f9918101906148bc565b60015b6143245760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ad565b806141e85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ad565b50565b60006020828403121561436257600080fd5b81356001600160e01b03198116811461437a57600080fd5b9392505050565b60005b8381101561439c578181015183820152602001614384565b50506000910152565b600081518084526143bd816020860160208601614381565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161441560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261445b6101208401826143a5565b9050828103602084015261446f81856143a5565b95945050505050565b6001600160a01b038116811461434d57600080fd5b6001600160401b038116811461434d57600080fd5b6000806000606084860312156144b757600080fd5b83356144c281614478565b925060208401356144d28161448d565b915060408401356144e281614478565b809150509250925092565b6000806000806080858703121561450357600080fd5b843561450e81614478565b9350602085013561451e81614478565b9250604085013561452e81614478565b9150606085013561453e81614478565b939692955090935050565b62ffffff8116811461434d57600080fd5b60006020828403121561456c57600080fd5b813561437a81614549565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156145af576145af614577565b60405290565b604051601f8201601f191681016001600160401b03811182821017156145dd576145dd614577565b604052919050565b60006001600160401b038211156145fe576145fe614577565b50601f01601f191660200190565b600061461f61461a846145e5565b6145b5565b905082815283838301111561463357600080fd5b828260208301376000602084830101529392505050565b600082601f83011261465b57600080fd5b61437a8383356020850161460c565b801515811461434d57600080fd5b6000806040838503121561468b57600080fd5b82356001600160401b038111156146a157600080fd5b6146ad8582860161464a565b92505060208301356146be8161466a565b809150509250929050565b6001600160601b038116811461434d57600080fd5b6000806000606084860312156146f357600080fd5b83356146fe816146c9565b9250602084013561470e81614478565b915060408401356001600160401b0381111561472957600080fd5b6147358682870161464a565b9150509250925092565b60208152600061437a60208301846143a5565b60008060006060848603121561476757600080fd5b833561477281614478565b9250602084013561478281614478565b915060408401356001600160401b0381111561479d57600080fd5b8401601f810186136147ae57600080fd5b6147358682356020840161460c565b6000602082840312156147cf57600080fd5b5035919050565b6000602082840312156147e857600080fd5b813561437a816146c9565b60006020828403121561480557600080fd5b813561437a81614478565b60006020828403121561482257600080fd5b815161437a81614549565b600181811c9082168061484157607f821691505b60208210810361486157634e487b7160e01b600052602260045260246000fd5b50919050565b805161283081614478565b60006020828403121561488457600080fd5b815161437a81614478565b6001600160401b039290921682526001600160a01b0316602082015260400190565b80516128308161466a565b6000602082840312156148ce57600080fd5b815161437a8161466a565b6001600160a01b039290921682526001600160601b0316602082015260400190565b8051612830816146c9565b60006020828403121561491857600080fd5b815161437a816146c9565b60006020828403121561493557600080fd5b5051919050565b60ff8116811461434d57600080fd5b80516128308161493c565b600082601f83011261496757600080fd5b815161497561461a826145e5565b81815284602083860101111561498a57600080fd5b61499b826020830160208701614381565b949350505050565b600060e082840312156149b557600080fd5b6149bd61458d565b90506149c8826148fb565b81526149d6602083016148fb565b60208201526149e76040830161494b565b60408201526149f8606083016148b1565b6060820152614a0960808301614867565b6080820152614a1a60a08301614867565b60a082015260c08201516001600160401b03811115614a3857600080fd5b614a4484828501614956565b60c08301525092915050565b600060208284031215614a6257600080fd5b81516001600160401b03811115614a7857600080fd5b61499b848285016149a3565b604081526000614a9760408301856143a5565b905082151560208301529392505050565b6001600160a01b038316815260406020820181905260009061499b908301846143a5565b600060208284031215614ade57600080fd5b815161437a8161448d565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614b1157600080fd5b815161437a8161493c565b60008060408385031215614b2f57600080fd5b82516001600160401b0380821115614b4657600080fd5b614b52868387016149a3565b93506020850151915080821115614b6857600080fd5b50614b7585828601614956565b9150509250929050565b600060208284031215614b9157600080fd5b815164ffffffffff8116811461437a57600080fd5b60008060408385031215614bb957600080fd5b8251614bc481614478565b60208401519092506146be81614478565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161437a565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161437a565b600081518084526020808501945080840160005b83811015614c825781516001600160e01b03191687529582019590820190600101614c5c565b509495945050505050565b606081526000614cb5606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152614cc78186614c48565b9150506001600160401b03831660408301529392505050565b606081526000614cb560608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f8211156129b157600081815260208120601f850160051c81016020861015614d345750805b601f850160051c820191505b81811015614d5357828155600101614d40565b505050505050565b81516001600160401b03811115614d7457614d74614577565b614d8881614d82845461482d565b84614d0d565b602080601f831160018114614dbd5760008415614da55750858301515b600019600386901b1c1916600185901b178555614d53565b600085815260208120601f198616915b82811015614dec57888601518255948401946001909101908401614dcd565b5085821015614e0a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200aca5b1d4f4e20284f8d6fbb3f1a4d16059a1b1deb311efa546749521844661164736f6c63430008140033",
1100
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61482d806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c80637a9e5e4b1161012a578063b428b0b0116100b4578063d127388711610079578063d127388714610505578063e52ba1cb1461053f578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063b428b0b0146104c8578063b68d1809146104db578063b7d2b162146104e2578063bf7e214f146104f5578063c2651725146104fd575f80fd5b8063893d20e8116100fa578063893d20e8146104655780638fb360371461046d57806396cdfa3f1461048e578063a2356b3a146104a1578063ada9652e146104b4575f80fd5b80637a9e5e4b146104255780637de45f1314610438578063868923131461044b578063872309c71461045e575f80fd5b8063254f6866116101b65780635fa8aad41161017b5780635fa8aad4146103c0578063644c45e0146103d35780636a778e73146103f05780636c741e781461040357806376b707b71461040b575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e741461037557806349bb9e4b146103885780635ab1bd531461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004613c76565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190613cbf565b6102b26102ad366004613d5f565b6107ca565b005b6102bc6108d2565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004613ea7565b6108dc565b6040516001600160401b039091168152602001610265565b6102596109ce565b6102b261034a366004613f13565b610a45565b6102b261035d366004613d5f565b610b2b565b6102b2610370366004613f5c565b610ca6565b6102b2610383366004613f77565b610d7d565b6102b2610396366004613fa8565b610ec7565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103ce366004613fa8565b610fc2565b5f80516020614798833981519152546001600160601b03166102bc565b6102bc6103fe366004613d5f565b6110b1565b61031c611c59565b610413611ce5565b60405160ff9091168152602001610265565b6102b2610433366004613d5f565b611d4d565b6102b2610446366004614008565b611dd3565b6102b2610459366004614023565b611ea5565b6102fb5f81565b6103a8611f56565b610475612087565b6040516001600160e01b03199091168152602001610265565b6102b261049c36600461403f565b6120bc565b6102b26104af36600461405a565b612165565b6102fb5f8051602061479883398151915281565b6102b26104d6366004614086565b612282565b600a610413565b6102b26104f0366004614086565b61233a565b6103a86123f2565b6102b261240d565b61051861051336600461403f565b6124c5565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6102bc61054d366004614008565b612942565b6008546001600160a01b03166103a8565b6102b2610571366004614172565b612a57565b6102b26105843660046141b4565b612afd565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614211565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e0919061423e565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610728611f56565b6001600160a01b0316815260200182600101805461074590614259565b80601f016020809104026020016040519081016040528092919081815260200182805461077190614259565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612bd9565b6107e7336107e2611ce5565b612ccf565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610862919061423e565b60035460405163c26efb0560e01b81526001600160601b03831660048201526001600160a01b03858116602483015292935091169063c26efb05906044015b5f604051808303815f87803b1580156108b8575f80fd5b505af11580156108ca573d5f803e3d5ffd5b505050505050565b5f61060b30612fcb565b5f6108e6336107cf565b6108f2336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610932573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109569190614291565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b8152600401610985939291906142ac565b6020604051808303815f875af11580156109a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c591906142e3565b95945050505050565b5f6109d76123f2565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3f9190614309565b15905090565b610a4e336107cf565b610a5a336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610abe9190614291565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b10575f80fd5b505af1158015610b22573d5f803e3d5ffd5b50505050505050565b610b33611f56565b6001600160a01b0316336001600160a01b031614610b6b5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b94576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610bbb57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bea57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5c9190614291565b6001600160a01b031614610c835760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610caf336107cf565b610cbb336107e2611ce5565b5f610cce6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610d12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d36919061423e565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e7906044016108a1565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610d9f610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ddd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0191906142e3565b5f805160206147d88339815191528054600160401b900460ff1680610e33575080546001600160401b03808416911610155b15610e515760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610e7b836131c4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206147d88339815191528054600160401b810460ff1615906001600160401b03165f81158015610ef85750825b90505f826001600160401b03166001148015610f135750303b155b905081158015610f21575080155b15610f3f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f6957845460ff60401b1916600160401b1785555b610f7387876131e5565b8315610b2257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f610fcc336107cf565b610fd8336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611018573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103c9190614291565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b8152600401611069929190614324565b6020604051808303815f875af1158015611085573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a991906142e3565b949350505050565b5f6110ba611f56565b6001600160a01b0316336001600160a01b0316146110ed5760405163086391f760e31b8152336004820152602401610b62565b6007546001600160a01b03161561111757604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156111415760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b03161561116b5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b0316156111955760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b0382166111bc576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111fd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112219190614291565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611260573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112849190614291565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112eb9190614291565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561132e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113529190614291565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611395573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b99190614291565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114209190614291565b9050806001600160a01b038b1661144a576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611470576040516295661560e31b815260040160405180910390fd5b6001600160a01b0387166114975760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166114be5760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166114e557604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b03811661150c576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156c9190614291565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d59190614291565b6001600160a01b0316146115fc576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611638573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061165c9190614291565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c59190614291565b6001600160a01b0316146116ec5760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611728573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174c9190614291565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611791573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b59190614291565b6001600160a01b0316146117dc576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611818573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183c9190614291565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611881573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a59190614291565b6001600160a01b0316146118cc57604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611912573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119369190614291565b6001600160a01b03161461195d57604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c79190614291565b6001600160a01b0316146119ee57604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a589190614291565b6001600160a01b031614611a7f576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611bce611f56565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611c17573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c3e91908101906143b8565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611c7e611ce5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611cc1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906142e3565b5f611cee6123f2565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d29573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614488565b33611d566123f2565b6001600160a01b0316816001600160a01b031614611d915760405162d1953b60e31b81526001600160a01b0382166004820152602401610b62565b816001600160a01b03163b5f03611dc6576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b62565b611dcf8261337e565b5050565b611ddc336107cf565b611de8336107e2611ce5565b5f611dfb6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e63919061423e565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b906044016108a1565b611eae336107cf565b611eba336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f1e9190614291565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610af9565b5f805f8051602061479883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe69190614309565b15612071576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612047573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061206b9190614291565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206147b883398151915280545f9190600160a01b900460ff166120ae575f61206b565b638fb3603760e01b91505090565b6120c5336107cf565b6120d1336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612111573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121359190614291565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024016108a1565b61216e336107cf565b61217a336107e2611ce5565b5f61218d6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156121d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f5919061423e565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af1158015612258573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061227c919061423e565b50505050565b61228b336107cf565b612297336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122fb9190614291565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610af9565b612343336107cf565b61234f336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561238f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123b39190614291565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610af9565b5f805160206147b8833981519152546001600160a01b031690565b612416336107cf565b612422336107e2611ce5565b600854339081905f9061243d906001600160a01b03166133de565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612481575f80fd5b505af1158015612493573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401610af9565b5f806124d0336107cf565b335f6124da61344d565b90506124e7818387613566565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612539573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261256091908101906143b8565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125da9190614291565b9050816001600160a01b03166304d670b96125fd6001546001600160a01b031690565b83612606611ce5565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b15801561265c575f80fd5b505af115801561266e573d5f803e3d5ffd5b505050506126846001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ed9190614291565b6001600160a01b031614612703576127036144a3565b612779856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612742573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127669190614488565b61276e611ce5565b60ff90811691161490565b612785576127856144a3565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156127f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061281491906144b7565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af415801561285b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287f9190614291565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b1580156128d9575f80fd5b505af11580156128eb573d5f803e3d5ffd5b5050604080516001600160601b03881681526001600160a01b03891660208201527f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa8935001905060405180910390a1505050915091565b5f61294c336107cf565b612958336107e2611ce5565b5f61296b6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156129af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129d3919061423e565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015612a2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a50919061423e565b9392505050565b612a60336107cf565b612a6c336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ad09190614291565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610af9929190614536565b612b06336107cf565b612b12336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b769190614291565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612ba593929190614559565b5f604051808303815f87803b158015612bbc575f80fd5b505af1158015612bce573d5f803e3d5ffd5b50505050505b505050565b5f805160206147b88339815191525f80612c11612bf46123f2565b8730612c0360045f8a8c61458b565b612c0c916145b2565b613693565b91509150816108ca5763ffffffff811615612cac57825460ff60a01b1916600160a01b178355612c3f6123f2565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612c6e939291906145ea565b5f604051808303815f87803b158015612c85575f80fd5b505af1158015612c97573d5f803e3d5ffd5b5050845460ff60a01b19168555506108ca9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b62565b5f612ce26001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612d2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d4f919061423e565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612da8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dcc9190614309565b15612df5576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b62565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015612e41573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e6891908101906143b8565b60400151905060ff8116600a14612ea657604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b62565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015612ef6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f1a9190614309565b15612fc4575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f809190614488565b905060ff808216908616146108ca57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b62565b5050505050565b5f805f8051602061479883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613037573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305b9190614309565b156130875780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b62565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156130d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130fd9190614309565b6131255760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b62565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613177573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061319b919061423e565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6131cc61379b565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206147d88339815191528054600160401b810460ff1615906001600160401b03165f811580156132165750825b90505f826001600160401b031660011480156132315750303b155b90508115801561323f575080155b1561325d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561328757845460ff60401b1916600160401b1785555b5f808780602001905181019061329d9190614629565b915091506132ac82828b6137d3565b6132b66002613870565b600280546001600160a01b0319166001600160a01b03929092169190911790556132e06003613870565b600380546001600160a01b0319166001600160a01b039290921691909117905561330a600b613870565b600480546001600160a01b0319166001600160a01b039290921691909117905561333a6308a20d4560e31b613907565b50508315610b2257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610fb1565b5f805160206147b883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613448576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806134cb60065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134c69190614291565b6133de565b6006549091506134e3906001600160a01b03166133de565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b15801561354c575f80fd5b505af115801561355e573d5f803e3d5ffd5b505050505090565b6007545f90819061357f906001600160a01b03166133de565b600b549091506001600160a01b038083169163d6d0a65b9188916135a391166133de565b6009546135b8906001600160a01b03166133de565b600a546135cd906001600160a01b03166133de565b6008546135e2906001600160a01b03166133de565b6001546001600160a01b03166135f6611ce5565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b158015613674575f80fd5b505af1158015613686573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516137019190614656565b5f60405180830381855afa9150503d805f8114613739576040519150601f19603f3d011682016040523d82523d5f602084013e61373e565b606091505b509150915081156137905760408151106137705780806020019051810190613766919061466c565b9094509250613790565b6020815110613790578080602001905181019061378d9190614309565b93505b505094509492505050565b5f805160206147d883398151915254600160401b900460ff166137d157604051631afcd79f60e31b815260040160405180910390fd5b565b6137db61379b565b6137e361393a565b6138608383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613824573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613848919061423e565b60085f8660405180602001604052805f81525061394a565b612bd463daf9067160e01b613907565b5f6138836001546001600160a01b031690565b6001600160a01b031663d39e60438361389a611ce5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156138dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139019190614291565b92915050565b61390f61379b565b613937816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b61394261379b565b6137d1613a87565b61395261379b565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156139a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139cc9190614309565b6139f45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b62565b6139fd87613ab5565b613a078683613ac6565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613a7683826146dd565b50612bce634a531f3360e01b613907565b613a8f61379b565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613abd61379b565b61393781613b3c565b613ace61379b565b613ad6613b4d565b613adf82613b95565b6001600160a01b038116613b065760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061479883398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613b4461379b565b6139378161337e565b613b5561379b565b6137d16301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613b9d61379b565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613bf3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c179190614309565b613c3f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b62565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613937575f80fd5b5f60208284031215613c86575f80fd5b8135612a5081613c61565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613d07608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526110a9610100840182613c91565b6001600160a01b0381168114613937575f80fd5b5f60208284031215613d6f575f80fd5b8135612a5081613d4b565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715613db057613db0613d7a565b60405290565b60405160e081016001600160401b0381118282101715613db057613db0613d7a565b604051601f8201601f191681016001600160401b0381118282101715613e0057613e00613d7a565b604052919050565b5f6001600160401b03821115613e2057613e20613d7a565b50601f01601f191660200190565b5f82601f830112613e3d575f80fd5b8135602083015f613e55613e5084613e08565b613dd8565b9050828152858383011115613e68575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613937575f80fd5b63ffffffff81168114613937575f80fd5b5f805f60608486031215613eb9575f80fd5b83356001600160401b03811115613ece575f80fd5b613eda86828701613e2e565b9350506020840135613eeb81613e82565b91506040840135613efb81613e96565b809150509250925092565b8015158114613937575f80fd5b5f8060408385031215613f24575f80fd5b8235613f2f81613e82565b91506020830135613f3f81613f06565b809150509250929050565b64ffffffffff81168114613937575f80fd5b5f60208284031215613f6c575f80fd5b8135612a5081613f4a565b5f60208284031215613f87575f80fd5b81356001600160401b03811115613f9c575f80fd5b6110a984828501613e2e565b5f8060408385031215613fb9575f80fd5b8235613fc481613d4b565b915060208301356001600160401b03811115613fde575f80fd5b613fea85828601613e2e565b9150509250929050565b6001600160601b0381168114613937575f80fd5b5f60208284031215614018575f80fd5b8135612a5081613ff4565b5f8060408385031215614034575f80fd5b8235613f2f81613d4b565b5f6020828403121561404f575f80fd5b8135612a5081613f06565b5f806040838503121561406b575f80fd5b823561407681613d4b565b91506020830135613f3f81613ff4565b5f8060408385031215614097575f80fd5b82356140a281613e82565b91506020830135613f3f81613d4b565b5f82601f8301126140c1575f80fd5b81356001600160401b038111156140da576140da613d7a565b6140e960208260051b01613dd8565b8082825260208201915060206060840286010192508583111561410a575f80fd5b602085015b838110156141685760608188031215614126575f80fd5b61412e613d8e565b81358152602082013561414081613c61565b6020820152604082013561415381613f4a565b6040820152835260209092019160600161410f565b5095945050505050565b5f8060408385031215614183575f80fd5b823561418e81613d4b565b915060208301356001600160401b038111156141a8575f80fd5b613fea858286016140b2565b5f805f606084860312156141c6575f80fd5b83356141d181613d4b565b925060208401356141e181613e82565b915060408401356001600160401b038111156141fb575f80fd5b614207868287016140b2565b9150509250925092565b5f60208284031215614221575f80fd5b815162ffffff81168114612a50575f80fd5b805161344881613ff4565b5f6020828403121561424e575f80fd5b8151612a5081613ff4565b600181811c9082168061426d57607f821691505b60208210810361428b57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156142a1575f80fd5b8151612a5081613d4b565b606081525f6142be6060830186613c91565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f602082840312156142f3575f80fd5b8151612a5081613e82565b805161344881613f06565b5f60208284031215614319575f80fd5b8151612a5081613f06565b6001600160a01b03831681526040602082018190525f906110a990830184613c91565b805161344881613d4b565b60ff81168114613937575f80fd5b805161344881614352565b5f82601f83011261437a575f80fd5b8151614388613e5082613e08565b81815284602083860101111561439c575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156143c8575f80fd5b81516001600160401b038111156143dd575f80fd5b820160e081850312156143ee575f80fd5b6143f6613db6565b6143ff82614233565b815261440d60208301614233565b602082015261441e60408301614360565b604082015261442f606083016142fe565b606082015261444060808301614347565b608082015261445160a08301614347565b60a082015260c08201516001600160401b0381111561446e575f80fd5b61447a8682850161436b565b60c083015250949350505050565b5f60208284031215614498575f80fd5b8151612a5081614352565b634e487b7160e01b5f52600160045260245ffd5b5f602082840312156144c7575f80fd5b8151612a5081613f4a565b5f8151808452602084019350602083015f5b8281101561452c578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff1691880191909152606090960195909101906001016144e4565b5093949350505050565b6001600160a01b03831681526040602082018190525f906110a9908301846144d2565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109c5908301846144d2565b5f8085851115614599575f80fd5b838611156145a5575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156145e3576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f806040838503121561463a575f80fd5b825161464581613d4b565b6020840151909250613f3f81613d4b565b5f82518060208501845e5f920191825250919050565b5f806040838503121561467d575f80fd5b825161468881613f06565b6020840151909250613f3f81613e96565b601f821115612bd457805f5260205f20601f840160051c810160208510156146be5750805b601f840160051c820191505b81811015612fc4575f81556001016146ca565b81516001600160401b038111156146f6576146f6613d7a565b61470a816147048454614259565b84614699565b6020601f82116001811461473c575f83156147255750848201515b5f19600385901b1c1916600184901b178455612fc4565b5f84815260208120601f198516915b8281101561476b578785015182556020948501946001909201910161474b565b508482101561478857868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122044039b2bcd80608ce3fbafe45c224ec9e54b4e63ad4473fca7186a4041a9246664736f6c634300081a0033",
1101
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c80637a9e5e4b1161012a578063b428b0b0116100b4578063d127388711610079578063d127388714610505578063e52ba1cb1461053f578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063b428b0b0146104c8578063b68d1809146104db578063b7d2b162146104e2578063bf7e214f146104f5578063c2651725146104fd575f80fd5b8063893d20e8116100fa578063893d20e8146104655780638fb360371461046d57806396cdfa3f1461048e578063a2356b3a146104a1578063ada9652e146104b4575f80fd5b80637a9e5e4b146104255780637de45f1314610438578063868923131461044b578063872309c71461045e575f80fd5b8063254f6866116101b65780635fa8aad41161017b5780635fa8aad4146103c0578063644c45e0146103d35780636a778e73146103f05780636c741e781461040357806376b707b71461040b575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e741461037557806349bb9e4b146103885780635ab1bd531461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004613c76565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190613cbf565b6102b26102ad366004613d5f565b6107ca565b005b6102bc6108d2565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004613ea7565b6108dc565b6040516001600160401b039091168152602001610265565b6102596109ce565b6102b261034a366004613f13565b610a45565b6102b261035d366004613d5f565b610b2b565b6102b2610370366004613f5c565b610ca6565b6102b2610383366004613f77565b610d7d565b6102b2610396366004613fa8565b610ec7565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103ce366004613fa8565b610fc2565b5f80516020614798833981519152546001600160601b03166102bc565b6102bc6103fe366004613d5f565b6110b1565b61031c611c59565b610413611ce5565b60405160ff9091168152602001610265565b6102b2610433366004613d5f565b611d4d565b6102b2610446366004614008565b611dd3565b6102b2610459366004614023565b611ea5565b6102fb5f81565b6103a8611f56565b610475612087565b6040516001600160e01b03199091168152602001610265565b6102b261049c36600461403f565b6120bc565b6102b26104af36600461405a565b612165565b6102fb5f8051602061479883398151915281565b6102b26104d6366004614086565b612282565b600a610413565b6102b26104f0366004614086565b61233a565b6103a86123f2565b6102b261240d565b61051861051336600461403f565b6124c5565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6102bc61054d366004614008565b612942565b6008546001600160a01b03166103a8565b6102b2610571366004614172565b612a57565b6102b26105843660046141b4565b612afd565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614211565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e0919061423e565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610728611f56565b6001600160a01b0316815260200182600101805461074590614259565b80601f016020809104026020016040519081016040528092919081815260200182805461077190614259565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612bd9565b6107e7336107e2611ce5565b612ccf565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610862919061423e565b60035460405163c26efb0560e01b81526001600160601b03831660048201526001600160a01b03858116602483015292935091169063c26efb05906044015b5f604051808303815f87803b1580156108b8575f80fd5b505af11580156108ca573d5f803e3d5ffd5b505050505050565b5f61060b30612fcb565b5f6108e6336107cf565b6108f2336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610932573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109569190614291565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b8152600401610985939291906142ac565b6020604051808303815f875af11580156109a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c591906142e3565b95945050505050565b5f6109d76123f2565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3f9190614309565b15905090565b610a4e336107cf565b610a5a336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610abe9190614291565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b10575f80fd5b505af1158015610b22573d5f803e3d5ffd5b50505050505050565b610b33611f56565b6001600160a01b0316336001600160a01b031614610b6b5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b94576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610bbb57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bea57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5c9190614291565b6001600160a01b031614610c835760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610caf336107cf565b610cbb336107e2611ce5565b5f610cce6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610d12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d36919061423e565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e7906044016108a1565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610d9f610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ddd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e0191906142e3565b5f805160206147d88339815191528054600160401b900460ff1680610e33575080546001600160401b03808416911610155b15610e515760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610e7b836131c4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206147d88339815191528054600160401b810460ff1615906001600160401b03165f81158015610ef85750825b90505f826001600160401b03166001148015610f135750303b155b905081158015610f21575080155b15610f3f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f6957845460ff60401b1916600160401b1785555b610f7387876131e5565b8315610b2257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f610fcc336107cf565b610fd8336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611018573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103c9190614291565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b8152600401611069929190614324565b6020604051808303815f875af1158015611085573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a991906142e3565b949350505050565b5f6110ba611f56565b6001600160a01b0316336001600160a01b0316146110ed5760405163086391f760e31b8152336004820152602401610b62565b6007546001600160a01b03161561111757604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156111415760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b03161561116b5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b0316156111955760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b0382166111bc576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111fd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112219190614291565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611260573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112849190614291565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112eb9190614291565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561132e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113529190614291565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611395573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b99190614291565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114209190614291565b9050806001600160a01b038b1661144a576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611470576040516295661560e31b815260040160405180910390fd5b6001600160a01b0387166114975760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166114be5760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166114e557604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b03811661150c576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156c9190614291565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d59190614291565b6001600160a01b0316146115fc576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611638573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061165c9190614291565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c59190614291565b6001600160a01b0316146116ec5760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611728573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174c9190614291565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611791573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b59190614291565b6001600160a01b0316146117dc576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611818573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183c9190614291565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611881573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a59190614291565b6001600160a01b0316146118cc57604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611912573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119369190614291565b6001600160a01b03161461195d57604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c79190614291565b6001600160a01b0316146119ee57604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a589190614291565b6001600160a01b031614611a7f576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611bce611f56565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611c17573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c3e91908101906143b8565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611c7e611ce5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611cc1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906142e3565b5f611cee6123f2565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d29573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190614488565b33611d566123f2565b6001600160a01b0316816001600160a01b031614611d915760405162d1953b60e31b81526001600160a01b0382166004820152602401610b62565b816001600160a01b03163b5f03611dc6576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b62565b611dcf8261337e565b5050565b611ddc336107cf565b611de8336107e2611ce5565b5f611dfb6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e63919061423e565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b906044016108a1565b611eae336107cf565b611eba336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f1e9190614291565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610af9565b5f805f8051602061479883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe69190614309565b15612071576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612047573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061206b9190614291565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206147b883398151915280545f9190600160a01b900460ff166120ae575f61206b565b638fb3603760e01b91505090565b6120c5336107cf565b6120d1336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612111573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121359190614291565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024016108a1565b61216e336107cf565b61217a336107e2611ce5565b5f61218d6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156121d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f5919061423e565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af1158015612258573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061227c919061423e565b50505050565b61228b336107cf565b612297336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122fb9190614291565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610af9565b612343336107cf565b61234f336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561238f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123b39190614291565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610af9565b5f805160206147b8833981519152546001600160a01b031690565b612416336107cf565b612422336107e2611ce5565b600854339081905f9061243d906001600160a01b03166133de565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612481575f80fd5b505af1158015612493573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401610af9565b5f806124d0336107cf565b335f6124da61344d565b90506124e7818387613566565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612539573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261256091908101906143b8565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125da9190614291565b9050816001600160a01b03166304d670b96125fd6001546001600160a01b031690565b83612606611ce5565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b15801561265c575f80fd5b505af115801561266e573d5f803e3d5ffd5b505050506126846001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ed9190614291565b6001600160a01b031614612703576127036144a3565b612779856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612742573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127669190614488565b61276e611ce5565b60ff90811691161490565b612785576127856144a3565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156127f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061281491906144b7565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af415801561285b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287f9190614291565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b1580156128d9575f80fd5b505af11580156128eb573d5f803e3d5ffd5b5050604080516001600160601b03881681526001600160a01b03891660208201527f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa8935001905060405180910390a1505050915091565b5f61294c336107cf565b612958336107e2611ce5565b5f61296b6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156129af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129d3919061423e565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015612a2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a50919061423e565b9392505050565b612a60336107cf565b612a6c336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ad09190614291565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610af9929190614536565b612b06336107cf565b612b12336107e2611ce5565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b769190614291565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612ba593929190614559565b5f604051808303815f87803b158015612bbc575f80fd5b505af1158015612bce573d5f803e3d5ffd5b50505050505b505050565b5f805160206147b88339815191525f80612c11612bf46123f2565b8730612c0360045f8a8c61458b565b612c0c916145b2565b613693565b91509150816108ca5763ffffffff811615612cac57825460ff60a01b1916600160a01b178355612c3f6123f2565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612c6e939291906145ea565b5f604051808303815f87803b158015612c85575f80fd5b505af1158015612c97573d5f803e3d5ffd5b5050845460ff60a01b19168555506108ca9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b62565b5f612ce26001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612d2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d4f919061423e565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612da8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dcc9190614309565b15612df5576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b62565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015612e41573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e6891908101906143b8565b60400151905060ff8116600a14612ea657604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b62565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015612ef6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f1a9190614309565b15612fc4575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f809190614488565b905060ff808216908616146108ca57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b62565b5050505050565b5f805f8051602061479883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613037573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305b9190614309565b156130875780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b62565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156130d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130fd9190614309565b6131255760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b62565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613177573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061319b919061423e565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6131cc61379b565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206147d88339815191528054600160401b810460ff1615906001600160401b03165f811580156132165750825b90505f826001600160401b031660011480156132315750303b155b90508115801561323f575080155b1561325d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561328757845460ff60401b1916600160401b1785555b5f808780602001905181019061329d9190614629565b915091506132ac82828b6137d3565b6132b66002613870565b600280546001600160a01b0319166001600160a01b03929092169190911790556132e06003613870565b600380546001600160a01b0319166001600160a01b039290921691909117905561330a600b613870565b600480546001600160a01b0319166001600160a01b039290921691909117905561333a6308a20d4560e31b613907565b50508315610b2257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610fb1565b5f805160206147b883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613448576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806134cb60065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134c69190614291565b6133de565b6006549091506134e3906001600160a01b03166133de565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b15801561354c575f80fd5b505af115801561355e573d5f803e3d5ffd5b505050505090565b6007545f90819061357f906001600160a01b03166133de565b600b549091506001600160a01b038083169163d6d0a65b9188916135a391166133de565b6009546135b8906001600160a01b03166133de565b600a546135cd906001600160a01b03166133de565b6008546135e2906001600160a01b03166133de565b6001546001600160a01b03166135f6611ce5565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b158015613674575f80fd5b505af1158015613686573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516137019190614656565b5f60405180830381855afa9150503d805f8114613739576040519150601f19603f3d011682016040523d82523d5f602084013e61373e565b606091505b509150915081156137905760408151106137705780806020019051810190613766919061466c565b9094509250613790565b6020815110613790578080602001905181019061378d9190614309565b93505b505094509492505050565b5f805160206147d883398151915254600160401b900460ff166137d157604051631afcd79f60e31b815260040160405180910390fd5b565b6137db61379b565b6137e361393a565b6138608383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613824573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613848919061423e565b60085f8660405180602001604052805f81525061394a565b612bd463daf9067160e01b613907565b5f6138836001546001600160a01b031690565b6001600160a01b031663d39e60438361389a611ce5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156138dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139019190614291565b92915050565b61390f61379b565b613937816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b61394261379b565b6137d1613a87565b61395261379b565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156139a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139cc9190614309565b6139f45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b62565b6139fd87613ab5565b613a078683613ac6565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613a7683826146dd565b50612bce634a531f3360e01b613907565b613a8f61379b565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613abd61379b565b61393781613b3c565b613ace61379b565b613ad6613b4d565b613adf82613b95565b6001600160a01b038116613b065760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061479883398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613b4461379b565b6139378161337e565b613b5561379b565b6137d16301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613b9d61379b565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613bf3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c179190614309565b613c3f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b62565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613937575f80fd5b5f60208284031215613c86575f80fd5b8135612a5081613c61565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613d07608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526110a9610100840182613c91565b6001600160a01b0381168114613937575f80fd5b5f60208284031215613d6f575f80fd5b8135612a5081613d4b565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715613db057613db0613d7a565b60405290565b60405160e081016001600160401b0381118282101715613db057613db0613d7a565b604051601f8201601f191681016001600160401b0381118282101715613e0057613e00613d7a565b604052919050565b5f6001600160401b03821115613e2057613e20613d7a565b50601f01601f191660200190565b5f82601f830112613e3d575f80fd5b8135602083015f613e55613e5084613e08565b613dd8565b9050828152858383011115613e68575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613937575f80fd5b63ffffffff81168114613937575f80fd5b5f805f60608486031215613eb9575f80fd5b83356001600160401b03811115613ece575f80fd5b613eda86828701613e2e565b9350506020840135613eeb81613e82565b91506040840135613efb81613e96565b809150509250925092565b8015158114613937575f80fd5b5f8060408385031215613f24575f80fd5b8235613f2f81613e82565b91506020830135613f3f81613f06565b809150509250929050565b64ffffffffff81168114613937575f80fd5b5f60208284031215613f6c575f80fd5b8135612a5081613f4a565b5f60208284031215613f87575f80fd5b81356001600160401b03811115613f9c575f80fd5b6110a984828501613e2e565b5f8060408385031215613fb9575f80fd5b8235613fc481613d4b565b915060208301356001600160401b03811115613fde575f80fd5b613fea85828601613e2e565b9150509250929050565b6001600160601b0381168114613937575f80fd5b5f60208284031215614018575f80fd5b8135612a5081613ff4565b5f8060408385031215614034575f80fd5b8235613f2f81613d4b565b5f6020828403121561404f575f80fd5b8135612a5081613f06565b5f806040838503121561406b575f80fd5b823561407681613d4b565b91506020830135613f3f81613ff4565b5f8060408385031215614097575f80fd5b82356140a281613e82565b91506020830135613f3f81613d4b565b5f82601f8301126140c1575f80fd5b81356001600160401b038111156140da576140da613d7a565b6140e960208260051b01613dd8565b8082825260208201915060206060840286010192508583111561410a575f80fd5b602085015b838110156141685760608188031215614126575f80fd5b61412e613d8e565b81358152602082013561414081613c61565b6020820152604082013561415381613f4a565b6040820152835260209092019160600161410f565b5095945050505050565b5f8060408385031215614183575f80fd5b823561418e81613d4b565b915060208301356001600160401b038111156141a8575f80fd5b613fea858286016140b2565b5f805f606084860312156141c6575f80fd5b83356141d181613d4b565b925060208401356141e181613e82565b915060408401356001600160401b038111156141fb575f80fd5b614207868287016140b2565b9150509250925092565b5f60208284031215614221575f80fd5b815162ffffff81168114612a50575f80fd5b805161344881613ff4565b5f6020828403121561424e575f80fd5b8151612a5081613ff4565b600181811c9082168061426d57607f821691505b60208210810361428b57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156142a1575f80fd5b8151612a5081613d4b565b606081525f6142be6060830186613c91565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f602082840312156142f3575f80fd5b8151612a5081613e82565b805161344881613f06565b5f60208284031215614319575f80fd5b8151612a5081613f06565b6001600160a01b03831681526040602082018190525f906110a990830184613c91565b805161344881613d4b565b60ff81168114613937575f80fd5b805161344881614352565b5f82601f83011261437a575f80fd5b8151614388613e5082613e08565b81815284602083860101111561439c575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156143c8575f80fd5b81516001600160401b038111156143dd575f80fd5b820160e081850312156143ee575f80fd5b6143f6613db6565b6143ff82614233565b815261440d60208301614233565b602082015261441e60408301614360565b604082015261442f606083016142fe565b606082015261444060808301614347565b608082015261445160a08301614347565b60a082015260c08201516001600160401b0381111561446e575f80fd5b61447a8682850161436b565b60c083015250949350505050565b5f60208284031215614498575f80fd5b8151612a5081614352565b634e487b7160e01b5f52600160045260245ffd5b5f602082840312156144c7575f80fd5b8151612a5081613f4a565b5f8151808452602084019350602083015f5b8281101561452c578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff1691880191909152606090960195909101906001016144e4565b5093949350505050565b6001600160a01b03831681526040602082018190525f906110a9908301846144d2565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109c5908301846144d2565b5f8085851115614599575f80fd5b838611156145a5575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156145e3576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f806040838503121561463a575f80fd5b825161464581613d4b565b6020840151909250613f3f81613d4b565b5f82518060208501845e5f920191825250919050565b5f806040838503121561467d575f80fd5b825161468881613f06565b6020840151909250613f3f81613e96565b601f821115612bd457805f5260205f20601f840160051c810160208510156146be5750805b601f840160051c820191505b81811015612fc4575f81556001016146ca565b81516001600160401b038111156146f6576146f6613d7a565b61470a816147048454614259565b84614699565b6020601f82116001811461473c575f83156147255750848201515b5f19600385901b1c1916600184901b178455612fc4565b5f84815260208120601f198516915b8281101561476b578785015182556020948501946001909201910161474b565b508482101561478857868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122044039b2bcd80608ce3fbafe45c224ec9e54b4e63ad4473fca7186a4041a9246664736f6c634300081a0033",
775
1102
  "linkReferences": {
776
- "contracts/types/Blocknumber.sol": {
777
- "BlocknumberLib": [
778
- {
779
- "length": 20,
780
- "start": 4776
781
- }
782
- ]
783
- },
784
- "contracts/types/NftId.sol": {
785
- "NftIdLib": [
1103
+ "contracts/shared/ContractLib.sol": {
1104
+ "ContractLib": [
786
1105
  {
787
1106
  "length": 20,
788
- "start": 2635
1107
+ "start": 14918
789
1108
  },
790
1109
  {
791
1110
  "length": 20,
792
- "start": 5050
793
- },
794
- {
795
- "length": 20,
796
- "start": 6044
1111
+ "start": 15505
797
1112
  }
798
1113
  ]
799
1114
  },
800
- "contracts/types/RoleId.sol": {
801
- "RoleIdLib": [
802
- {
803
- "length": 20,
804
- "start": 11017
805
- },
806
- {
807
- "length": 20,
808
- "start": 16550
809
- },
810
- {
811
- "length": 20,
812
- "start": 16610
813
- },
814
- {
815
- "length": 20,
816
- "start": 16670
817
- },
1115
+ "contracts/staking/TargetManagerLib.sol": {
1116
+ "TargetManagerLib": [
818
1117
  {
819
1118
  "length": 20,
820
- "start": 16730
1119
+ "start": 10369
821
1120
  },
822
1121
  {
823
1122
  "length": 20,
824
- "start": 16790
825
- },
1123
+ "start": 10476
1124
+ }
1125
+ ]
1126
+ },
1127
+ "contracts/type/NftId.sol": {
1128
+ "NftIdLib": [
826
1129
  {
827
1130
  "length": 20,
828
- "start": 16850
1131
+ "start": 1869
829
1132
  },
830
1133
  {
831
1134
  "length": 20,
832
- "start": 16910
1135
+ "start": 8288
833
1136
  },
834
1137
  {
835
1138
  "length": 20,
836
- "start": 16970
1139
+ "start": 11846
837
1140
  },
838
1141
  {
839
1142
  "length": 20,
840
- "start": 17030
1143
+ "start": 12501
841
1144
  }
842
1145
  ]
843
1146
  },
844
- "contracts/types/Timestamp.sol": {
845
- "TimestampLib": [
1147
+ "contracts/type/RoleId.sol": {
1148
+ "RoleIdLib": [
846
1149
  {
847
1150
  "length": 20,
848
- "start": 10127
1151
+ "start": 7474
849
1152
  }
850
1153
  ]
851
1154
  },
852
- "contracts/types/Version.sol": {
1155
+ "contracts/type/Version.sol": {
853
1156
  "VersionLib": [
854
1157
  {
855
1158
  "length": 20,
856
- "start": 1880
1159
+ "start": 1669
857
1160
  },
858
1161
  {
859
1162
  "length": 20,
860
- "start": 6284
861
- },
1163
+ "start": 3669
1164
+ }
1165
+ ],
1166
+ "VersionPartLib": [
862
1167
  {
863
1168
  "length": 20,
864
- "start": 7301
1169
+ "start": 12180
865
1170
  }
866
1171
  ]
867
1172
  }
868
1173
  },
869
1174
  "deployedLinkReferences": {
870
- "contracts/types/Blocknumber.sol": {
871
- "BlocknumberLib": [
872
- {
873
- "length": 20,
874
- "start": 4462
875
- }
876
- ]
877
- },
878
- "contracts/types/NftId.sol": {
879
- "NftIdLib": [
880
- {
881
- "length": 20,
882
- "start": 2321
883
- },
1175
+ "contracts/shared/ContractLib.sol": {
1176
+ "ContractLib": [
884
1177
  {
885
1178
  "length": 20,
886
- "start": 4736
1179
+ "start": 14704
887
1180
  },
888
1181
  {
889
1182
  "length": 20,
890
- "start": 5730
1183
+ "start": 15291
891
1184
  }
892
1185
  ]
893
1186
  },
894
- "contracts/types/RoleId.sol": {
895
- "RoleIdLib": [
896
- {
897
- "length": 20,
898
- "start": 10703
899
- },
900
- {
901
- "length": 20,
902
- "start": 16236
903
- },
904
- {
905
- "length": 20,
906
- "start": 16296
907
- },
1187
+ "contracts/staking/TargetManagerLib.sol": {
1188
+ "TargetManagerLib": [
908
1189
  {
909
1190
  "length": 20,
910
- "start": 16356
1191
+ "start": 10155
911
1192
  },
912
1193
  {
913
1194
  "length": 20,
914
- "start": 16416
915
- },
916
- {
917
- "length": 20,
918
- "start": 16476
919
- },
1195
+ "start": 10262
1196
+ }
1197
+ ]
1198
+ },
1199
+ "contracts/type/NftId.sol": {
1200
+ "NftIdLib": [
920
1201
  {
921
1202
  "length": 20,
922
- "start": 16536
1203
+ "start": 1655
923
1204
  },
924
1205
  {
925
1206
  "length": 20,
926
- "start": 16596
1207
+ "start": 8074
927
1208
  },
928
1209
  {
929
1210
  "length": 20,
930
- "start": 16656
1211
+ "start": 11632
931
1212
  },
932
1213
  {
933
1214
  "length": 20,
934
- "start": 16716
1215
+ "start": 12287
935
1216
  }
936
1217
  ]
937
1218
  },
938
- "contracts/types/Timestamp.sol": {
939
- "TimestampLib": [
1219
+ "contracts/type/RoleId.sol": {
1220
+ "RoleIdLib": [
940
1221
  {
941
1222
  "length": 20,
942
- "start": 9813
1223
+ "start": 7260
943
1224
  }
944
1225
  ]
945
1226
  },
946
- "contracts/types/Version.sol": {
1227
+ "contracts/type/Version.sol": {
947
1228
  "VersionLib": [
948
1229
  {
949
1230
  "length": 20,
950
- "start": 1566
1231
+ "start": 1455
951
1232
  },
952
1233
  {
953
1234
  "length": 20,
954
- "start": 5970
955
- },
1235
+ "start": 3455
1236
+ }
1237
+ ],
1238
+ "VersionPartLib": [
956
1239
  {
957
1240
  "length": 20,
958
- "start": 6987
1241
+ "start": 11966
959
1242
  }
960
1243
  ]
961
1244
  }