@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fa35bce-363

Sign up to get free protection for your applications and to get access to all the features.
Files changed (794) hide show
  1. package/README.md +378 -20
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -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 +1484 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/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 +576 -1290
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +1082 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +653 -1537
  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 +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2646 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1328 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +772 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3792 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -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/base/Cloneable.sol/Cloneable.json +137 -0
  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 +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +804 -0
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +665 -0
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1035 -119
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1072 -0
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1473 -231
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1298 -0
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +773 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +721 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +705 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +630 -0
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +146 -147
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  245. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +62 -70
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +248 -21
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  253. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +224 -160
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +228 -0
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +294 -18
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  273. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → shared/Service.sol/Service.json} +239 -234
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2568 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  284. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  285. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +69 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +3028 -0
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  290. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  292. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +863 -0
  294. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +554 -0
  296. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  298. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +766 -0
  300. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3136 -0
  302. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +265 -0
  304. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +657 -0
  306. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  307. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  308. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  310. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  312. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  314. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  316. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  318. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  320. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  322. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  323. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  324. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  326. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  327. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  328. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  330. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  332. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  334. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  336. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  338. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  340. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  344. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  346. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  348. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  350. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  352. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  354. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  356. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  357. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  358. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  360. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  362. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  364. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  365. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  366. package/contracts/accounting/AccountingService.sol +274 -0
  367. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  368. package/contracts/accounting/IAccountingService.sol +47 -0
  369. package/contracts/authorization/AccessAdmin.sol +780 -0
  370. package/contracts/authorization/AccessAdminLib.sol +396 -0
  371. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  372. package/contracts/authorization/Authorization.sol +169 -0
  373. package/contracts/authorization/IAccess.sol +67 -0
  374. package/contracts/authorization/IAccessAdmin.sol +144 -0
  375. package/contracts/authorization/IAuthorization.sol +26 -0
  376. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  377. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  378. package/contracts/distribution/BasicDistribution.sol +141 -0
  379. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  380. package/contracts/distribution/Distribution.sol +247 -0
  381. package/contracts/distribution/DistributionService.sol +448 -0
  382. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  383. package/contracts/distribution/IDistributionComponent.sol +45 -0
  384. package/contracts/distribution/IDistributionService.sol +115 -0
  385. package/contracts/examples/fire/DamageLevel.sol +59 -0
  386. package/contracts/examples/fire/FirePool.sol +86 -0
  387. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  388. package/contracts/examples/fire/FireProduct.sol +433 -0
  389. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  390. package/contracts/examples/fire/FireUSD.sol +26 -0
  391. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  392. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  393. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  394. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  395. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  396. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  397. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  398. package/contracts/instance/BundleSet.sol +130 -0
  399. package/contracts/instance/IInstance.sol +138 -45
  400. package/contracts/instance/IInstanceService.sol +117 -0
  401. package/contracts/instance/Instance.sol +333 -54
  402. package/contracts/instance/InstanceAdmin.sol +383 -0
  403. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  404. package/contracts/instance/InstanceReader.sol +632 -0
  405. package/contracts/instance/InstanceService.sol +500 -0
  406. package/contracts/instance/InstanceServiceManager.sol +39 -0
  407. package/contracts/instance/InstanceStore.sol +298 -0
  408. package/contracts/instance/RiskSet.sol +126 -0
  409. package/contracts/instance/base/BalanceStore.sol +121 -0
  410. package/contracts/instance/base/Cloneable.sol +28 -0
  411. package/contracts/instance/base/ObjectCounter.sol +20 -0
  412. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  413. package/contracts/instance/base/ObjectSet.sol +77 -0
  414. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  415. package/contracts/instance/module/IBundle.sol +21 -0
  416. package/contracts/instance/module/IComponents.sol +62 -0
  417. package/contracts/instance/module/IDistribution.sol +54 -0
  418. package/contracts/instance/module/IPolicy.sol +105 -0
  419. package/contracts/instance/module/IRisk.sol +16 -0
  420. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  421. package/contracts/oracle/BasicOracle.sol +45 -0
  422. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  423. package/contracts/oracle/IOracle.sol +41 -0
  424. package/contracts/oracle/IOracleComponent.sol +33 -0
  425. package/contracts/oracle/IOracleService.sol +66 -0
  426. package/contracts/oracle/Oracle.sol +154 -0
  427. package/contracts/oracle/OracleService.sol +310 -0
  428. package/contracts/oracle/OracleServiceManager.sol +39 -0
  429. package/contracts/pool/BasicPool.sol +162 -0
  430. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  431. package/contracts/pool/BundleService.sol +386 -0
  432. package/contracts/pool/BundleServiceManager.sol +39 -0
  433. package/contracts/pool/IBundleService.sol +116 -0
  434. package/contracts/pool/IPoolComponent.sol +62 -0
  435. package/contracts/pool/IPoolService.sol +170 -0
  436. package/contracts/pool/Pool.sol +333 -0
  437. package/contracts/pool/PoolLib.sol +341 -0
  438. package/contracts/pool/PoolService.sol +614 -0
  439. package/contracts/pool/PoolServiceManager.sol +39 -0
  440. package/contracts/product/ApplicationService.sol +327 -0
  441. package/contracts/product/ApplicationServiceManager.sol +38 -0
  442. package/contracts/product/BasicProduct.sol +49 -0
  443. package/contracts/product/BasicProductAuthorization.sol +63 -0
  444. package/contracts/product/ClaimService.sol +630 -0
  445. package/contracts/product/ClaimServiceManager.sol +38 -0
  446. package/contracts/product/IApplicationService.sol +88 -0
  447. package/contracts/product/IClaimService.sol +136 -0
  448. package/contracts/product/IPolicyService.sol +102 -0
  449. package/contracts/product/IPricingService.sol +40 -0
  450. package/contracts/product/IProductComponent.sol +62 -0
  451. package/contracts/product/IRiskService.sol +48 -0
  452. package/contracts/product/PolicyService.sol +645 -0
  453. package/contracts/product/PolicyServiceLib.sol +139 -0
  454. package/contracts/product/PolicyServiceManager.sol +39 -0
  455. package/contracts/product/PricingService.sol +306 -0
  456. package/contracts/product/PricingServiceManager.sol +39 -0
  457. package/contracts/product/Product.sol +493 -0
  458. package/contracts/product/RiskService.sol +190 -0
  459. package/contracts/product/RiskServiceManager.sol +39 -0
  460. package/contracts/registry/ChainNft.sol +130 -40
  461. package/contracts/registry/IRegistry.sol +144 -29
  462. package/contracts/registry/IRegistryService.sol +62 -0
  463. package/contracts/registry/IRelease.sol +29 -0
  464. package/contracts/registry/ITransferInterceptor.sol +6 -0
  465. package/contracts/registry/Registry.sol +637 -282
  466. package/contracts/registry/RegistryAdmin.sol +191 -0
  467. package/contracts/registry/RegistryAuthorization.sol +312 -0
  468. package/contracts/registry/RegistryService.sol +241 -0
  469. package/contracts/registry/RegistryServiceManager.sol +53 -0
  470. package/contracts/registry/ReleaseAdmin.sol +195 -0
  471. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  472. package/contracts/registry/ReleaseRegistry.sol +525 -0
  473. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  474. package/contracts/registry/TokenRegistry.sol +317 -0
  475. package/contracts/shared/Component.sol +214 -0
  476. package/contracts/shared/ComponentService.sol +687 -0
  477. package/contracts/shared/ComponentServiceManager.sol +38 -0
  478. package/contracts/shared/ContractLib.sol +312 -0
  479. package/contracts/shared/IComponent.sol +58 -0
  480. package/contracts/shared/IComponentService.sol +111 -0
  481. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  482. package/contracts/shared/IKeyValueStore.sol +54 -0
  483. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  484. package/contracts/shared/INftOwnable.sol +27 -0
  485. package/contracts/shared/IPolicyHolder.sol +35 -0
  486. package/contracts/shared/IRegisterable.sol +31 -19
  487. package/contracts/shared/IRegistryLinked.sol +11 -0
  488. package/contracts/shared/IService.sol +23 -0
  489. package/contracts/shared/InitializableERC165.sol +35 -0
  490. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  491. package/contracts/shared/KeyValueStore.sol +131 -0
  492. package/contracts/shared/Lifecycle.sol +88 -0
  493. package/contracts/shared/NftIdSet.sol +65 -0
  494. package/contracts/shared/NftOwnable.sol +129 -0
  495. package/contracts/shared/PolicyHolder.sol +63 -0
  496. package/contracts/shared/Registerable.sol +80 -60
  497. package/contracts/shared/RegistryLinked.sol +38 -0
  498. package/contracts/shared/Service.sol +67 -0
  499. package/contracts/shared/TokenHandler.sol +342 -0
  500. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  501. package/contracts/staking/IStaking.sol +297 -0
  502. package/contracts/staking/IStakingService.sol +127 -0
  503. package/contracts/staking/ITargetLimitHandler.sol +26 -0
  504. package/contracts/staking/Staking.sol +780 -0
  505. package/contracts/staking/StakingLib.sol +195 -0
  506. package/contracts/staking/StakingLifecycle.sol +23 -0
  507. package/contracts/staking/StakingManager.sol +53 -0
  508. package/contracts/staking/StakingReader.sol +151 -0
  509. package/contracts/staking/StakingService.sol +321 -0
  510. package/contracts/staking/StakingServiceManager.sol +46 -0
  511. package/contracts/staking/StakingStore.sol +1174 -0
  512. package/contracts/staking/TargetHandler.sol +102 -0
  513. package/contracts/staking/TargetManagerLib.sol +211 -0
  514. package/contracts/{types → type}/AddressSet.sol +1 -1
  515. package/contracts/type/Amount.sol +154 -0
  516. package/contracts/{types → type}/Blocknumber.sol +36 -12
  517. package/contracts/type/ChainId.sol +101 -0
  518. package/contracts/type/ClaimId.sol +80 -0
  519. package/contracts/type/DistributorType.sol +55 -0
  520. package/contracts/type/Fee.sol +66 -0
  521. package/contracts/{types → type}/Key32.sol +10 -5
  522. package/contracts/type/Key32Set.sol +62 -0
  523. package/contracts/{types → type}/NftId.sol +28 -15
  524. package/contracts/type/NftIdSet.sol +62 -0
  525. package/contracts/type/ObjectType.sol +307 -0
  526. package/contracts/type/PayoutId.sol +82 -0
  527. package/contracts/type/Referral.sol +90 -0
  528. package/contracts/type/RequestId.sol +75 -0
  529. package/contracts/type/RiskId.sol +75 -0
  530. package/contracts/type/RoleId.sol +180 -0
  531. package/contracts/type/Seconds.sol +115 -0
  532. package/contracts/type/Selector.sol +107 -0
  533. package/contracts/{types → type}/StateId.sol +53 -5
  534. package/contracts/type/String.sol +65 -0
  535. package/contracts/{types → type}/Timestamp.sol +39 -19
  536. package/contracts/{types → type}/UFixed.sol +73 -19
  537. package/contracts/type/Version.sol +159 -0
  538. package/contracts/upgradeability/IVersionable.sol +56 -0
  539. package/contracts/upgradeability/ProxyManager.sol +246 -0
  540. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  541. package/contracts/upgradeability/Versionable.sol +62 -0
  542. package/package.json +13 -8
  543. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  545. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  546. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  548. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  549. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  550. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  551. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  552. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  553. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  554. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  556. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  558. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  560. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  562. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  564. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  566. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  568. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  570. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  572. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  574. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  576. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  580. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  582. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  584. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  585. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  586. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  587. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  588. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  591. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  593. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  595. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  597. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  599. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  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/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  605. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  606. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  607. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  608. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  609. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  611. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  613. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  616. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  618. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  620. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  622. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  624. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  626. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  628. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  631. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  633. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  635. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  637. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  638. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  639. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  640. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  642. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  644. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  646. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  647. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  648. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  649. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  650. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  651. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  652. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  653. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  654. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  655. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -376
  657. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  658. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  659. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  660. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  661. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  662. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  663. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  664. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  666. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  667. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  668. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  669. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  670. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  671. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  672. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  674. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  675. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  676. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  678. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  680. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  681. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  682. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  683. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  684. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  685. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  686. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  687. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  688. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  689. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  690. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  691. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  692. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  693. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  694. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  696. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  697. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  698. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  700. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  701. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  702. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  704. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  705. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  706. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  707. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  708. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  710. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  711. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  712. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  714. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  716. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  717. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  718. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  719. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  720. package/contracts/components/BaseComponent.sol +0 -88
  721. package/contracts/components/IBaseComponent.sol +0 -19
  722. package/contracts/components/IPoolComponent.sol +0 -57
  723. package/contracts/components/IProductComponent.sol +0 -19
  724. package/contracts/components/Pool.sol +0 -174
  725. package/contracts/components/Product.sol +0 -117
  726. package/contracts/experiment/errors/Require.sol +0 -38
  727. package/contracts/experiment/errors/Revert.sol +0 -44
  728. package/contracts/experiment/inheritance/A.sol +0 -53
  729. package/contracts/experiment/inheritance/B.sol +0 -28
  730. package/contracts/experiment/inheritance/C.sol +0 -34
  731. package/contracts/experiment/inheritance/IA.sol +0 -13
  732. package/contracts/experiment/inheritance/IB.sol +0 -10
  733. package/contracts/experiment/inheritance/IC.sol +0 -12
  734. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  735. package/contracts/experiment/statemachine/ISM.sol +0 -25
  736. package/contracts/experiment/statemachine/README.md +0 -112
  737. package/contracts/experiment/statemachine/SM.sol +0 -57
  738. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  739. package/contracts/experiment/types/TypeA.sol +0 -47
  740. package/contracts/experiment/types/TypeB.sol +0 -29
  741. package/contracts/instance/IInstanceLinked.sol +0 -8
  742. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  743. package/contracts/instance/base/IInstanceBase.sol +0 -14
  744. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  745. package/contracts/instance/base/IService.sol +0 -15
  746. package/contracts/instance/base/InstanceBase.sol +0 -80
  747. package/contracts/instance/base/KeyValueStore.sol +0 -156
  748. package/contracts/instance/base/Lifecycle.sol +0 -95
  749. package/contracts/instance/base/ModuleBase.sol +0 -52
  750. package/contracts/instance/base/ServiceBase.sol +0 -37
  751. package/contracts/instance/module/access/Access.sol +0 -149
  752. package/contracts/instance/module/access/IAccess.sol +0 -53
  753. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  754. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  755. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  756. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  757. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  758. package/contracts/instance/module/component/IComponent.sol +0 -53
  759. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  760. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  761. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  762. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  763. package/contracts/instance/module/risk/IRisk.sol +0 -10
  764. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  765. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  766. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  767. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  768. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  769. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  770. package/contracts/instance/service/IPoolService.sol +0 -30
  771. package/contracts/instance/service/IProductService.sol +0 -58
  772. package/contracts/instance/service/PoolService.sol +0 -123
  773. package/contracts/instance/service/ProductService.sol +0 -354
  774. package/contracts/registry/IChainNft.sol +0 -21
  775. package/contracts/registry/IRegistryLinked.sol +0 -8
  776. package/contracts/shared/ERC165.sol +0 -21
  777. package/contracts/shared/IOwnable.sol +0 -6
  778. package/contracts/shared/IVersionable.sol +0 -52
  779. package/contracts/shared/Versionable.sol +0 -89
  780. package/contracts/test/TestFee.sol +0 -25
  781. package/contracts/test/TestPool.sol +0 -22
  782. package/contracts/test/TestProduct.sol +0 -44
  783. package/contracts/test/TestRegisterable.sol +0 -19
  784. package/contracts/test/TestRoleId.sol +0 -14
  785. package/contracts/test/TestService.sol +0 -32
  786. package/contracts/test/TestToken.sol +0 -26
  787. package/contracts/test/TestVersion.sol +0 -44
  788. package/contracts/test/TestVersionable.sol +0 -17
  789. package/contracts/types/ChainId.sol +0 -38
  790. package/contracts/types/Fee.sol +0 -51
  791. package/contracts/types/NftIdSet.sol +0 -60
  792. package/contracts/types/ObjectType.sol +0 -115
  793. package/contracts/types/RoleId.sol +0 -38
  794. package/contracts/types/Version.sol +0 -95
@@ -4,107 +4,79 @@
4
4
  "sourceName": "contracts/registry/Registry.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [],
8
- "name": "EMPTY_URI",
9
- "outputs": [
7
+ "inputs": [
10
8
  {
11
- "internalType": "string",
12
- "name": "",
13
- "type": "string"
9
+ "internalType": "contract RegistryAdmin",
10
+ "name": "admin",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "globalRegistry",
16
+ "type": "address"
14
17
  }
15
18
  ],
16
- "stateMutability": "view",
17
- "type": "function"
19
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
18
21
  },
19
22
  {
20
- "inputs": [],
21
- "name": "getChainNft",
22
- "outputs": [
23
+ "inputs": [
23
24
  {
24
- "internalType": "contract IChainNft",
25
- "name": "",
25
+ "internalType": "address",
26
+ "name": "authority",
26
27
  "type": "address"
27
28
  }
28
29
  ],
29
- "stateMutability": "view",
30
- "type": "function"
30
+ "name": "AccessManagedInvalidAuthority",
31
+ "type": "error"
31
32
  },
32
33
  {
33
- "inputs": [],
34
- "name": "getData",
35
- "outputs": [
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ },
36
40
  {
37
- "internalType": "bytes",
38
- "name": "data",
39
- "type": "bytes"
41
+ "internalType": "uint32",
42
+ "name": "delay",
43
+ "type": "uint32"
40
44
  }
41
45
  ],
42
- "stateMutability": "pure",
43
- "type": "function"
46
+ "name": "AccessManagedRequiredDelay",
47
+ "type": "error"
44
48
  },
45
49
  {
46
50
  "inputs": [
47
51
  {
48
- "internalType": "NftId",
49
- "name": "nftId",
50
- "type": "uint96"
51
- }
52
- ],
53
- "name": "getName",
54
- "outputs": [
55
- {
56
- "internalType": "string",
57
- "name": "name",
58
- "type": "string"
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
59
55
  }
60
56
  ],
61
- "stateMutability": "view",
62
- "type": "function"
57
+ "name": "AccessManagedUnauthorized",
58
+ "type": "error"
63
59
  },
64
60
  {
65
61
  "inputs": [],
66
- "name": "getNftId",
67
- "outputs": [
68
- {
69
- "internalType": "NftId",
70
- "name": "nftId",
71
- "type": "uint96"
72
- }
73
- ],
74
- "stateMutability": "view",
75
- "type": "function"
62
+ "name": "ErrorRegistryCallerNotDeployer",
63
+ "type": "error"
76
64
  },
77
65
  {
78
66
  "inputs": [
79
- {
80
- "internalType": "address",
81
- "name": "object",
82
- "type": "address"
83
- }
84
- ],
85
- "name": "getNftId",
86
- "outputs": [
87
67
  {
88
68
  "internalType": "NftId",
89
- "name": "id",
69
+ "name": "nftId",
90
70
  "type": "uint96"
91
- }
92
- ],
93
- "stateMutability": "view",
94
- "type": "function"
95
- },
96
- {
97
- "inputs": [],
98
- "name": "getObjectCount",
99
- "outputs": [
71
+ },
100
72
  {
101
73
  "internalType": "uint256",
102
- "name": "",
74
+ "name": "chainId",
103
75
  "type": "uint256"
104
76
  }
105
77
  ],
106
- "stateMutability": "view",
107
- "type": "function"
78
+ "name": "ErrorRegistryChainRegistryAddressZero",
79
+ "type": "error"
108
80
  },
109
81
  {
110
82
  "inputs": [
@@ -112,63 +84,26 @@
112
84
  "internalType": "NftId",
113
85
  "name": "nftId",
114
86
  "type": "uint96"
115
- }
116
- ],
117
- "name": "getObjectInfo",
118
- "outputs": [
87
+ },
119
88
  {
120
- "components": [
121
- {
122
- "internalType": "NftId",
123
- "name": "nftId",
124
- "type": "uint96"
125
- },
126
- {
127
- "internalType": "NftId",
128
- "name": "parentNftId",
129
- "type": "uint96"
130
- },
131
- {
132
- "internalType": "ObjectType",
133
- "name": "objectType",
134
- "type": "uint8"
135
- },
136
- {
137
- "internalType": "address",
138
- "name": "objectAddress",
139
- "type": "address"
140
- },
141
- {
142
- "internalType": "address",
143
- "name": "initialOwner",
144
- "type": "address"
145
- },
146
- {
147
- "internalType": "bytes",
148
- "name": "data",
149
- "type": "bytes"
150
- }
151
- ],
152
- "internalType": "struct IRegistry.ObjectInfo",
153
- "name": "info",
154
- "type": "tuple"
89
+ "internalType": "uint256",
90
+ "name": "chainId",
91
+ "type": "uint256"
155
92
  }
156
93
  ],
157
- "stateMutability": "view",
158
- "type": "function"
94
+ "name": "ErrorRegistryChainRegistryAlreadyRegistered",
95
+ "type": "error"
159
96
  },
160
97
  {
161
- "inputs": [],
162
- "name": "getOwner",
163
- "outputs": [
98
+ "inputs": [
164
99
  {
165
- "internalType": "address",
166
- "name": "owner",
167
- "type": "address"
100
+ "internalType": "NftId",
101
+ "name": "nftId",
102
+ "type": "uint96"
168
103
  }
169
104
  ],
170
- "stateMutability": "view",
171
- "type": "function"
105
+ "name": "ErrorRegistryChainRegistryChainIdZero",
106
+ "type": "error"
172
107
  },
173
108
  {
174
109
  "inputs": [
@@ -176,172 +111,1215 @@
176
111
  "internalType": "NftId",
177
112
  "name": "nftId",
178
113
  "type": "uint96"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "chainId",
118
+ "type": "uint256"
179
119
  }
180
120
  ],
181
- "name": "getOwner",
182
- "outputs": [
121
+ "name": "ErrorRegistryChainRegistryNftIdInvalid",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
183
126
  {
184
127
  "internalType": "address",
185
- "name": "",
128
+ "name": "objectAddress",
186
129
  "type": "address"
187
130
  }
188
131
  ],
189
- "stateMutability": "view",
190
- "type": "function"
132
+ "name": "ErrorRegistryContractAlreadyRegistered",
133
+ "type": "error"
191
134
  },
192
135
  {
193
136
  "inputs": [],
194
- "name": "getParentNftId",
195
- "outputs": [
196
- {
197
- "internalType": "NftId",
198
- "name": "nftId",
199
- "type": "uint96"
200
- }
201
- ],
202
- "stateMutability": "view",
203
- "type": "function"
137
+ "name": "ErrorRegistryCoreTypeRegistration",
138
+ "type": "error"
204
139
  },
205
140
  {
206
- "inputs": [],
207
- "name": "getProtocolOwner",
208
- "outputs": [
141
+ "inputs": [
209
142
  {
210
143
  "internalType": "address",
211
- "name": "",
144
+ "name": "objectAddress",
212
145
  "type": "address"
146
+ },
147
+ {
148
+ "internalType": "ObjectType",
149
+ "name": "objectType",
150
+ "type": "uint8"
213
151
  }
214
152
  ],
215
- "stateMutability": "view",
216
- "type": "function"
153
+ "name": "ErrorRegistryGlobalRegistryAsParent",
154
+ "type": "error"
217
155
  },
218
156
  {
219
- "inputs": [],
220
- "name": "getRegistry",
221
- "outputs": [
157
+ "inputs": [
222
158
  {
223
- "internalType": "contract IRegistry",
224
- "name": "registry",
225
- "type": "address"
159
+ "internalType": "uint256",
160
+ "name": "chainId",
161
+ "type": "uint256"
226
162
  }
227
163
  ],
228
- "stateMutability": "view",
229
- "type": "function"
164
+ "name": "ErrorRegistryNotOnMainnet",
165
+ "type": "error"
230
166
  },
231
167
  {
232
168
  "inputs": [
233
169
  {
234
- "internalType": "string",
235
- "name": "serviceName",
236
- "type": "string"
170
+ "internalType": "address",
171
+ "name": "service",
172
+ "type": "address"
237
173
  },
238
174
  {
239
- "internalType": "VersionPart",
240
- "name": "majorVersion",
175
+ "internalType": "ObjectType",
176
+ "name": "objectType",
241
177
  "type": "uint8"
242
178
  }
243
179
  ],
244
- "name": "getServiceAddress",
245
- "outputs": [
246
- {
247
- "internalType": "address",
248
- "name": "serviceAddress",
249
- "type": "address"
250
- }
251
- ],
252
- "stateMutability": "view",
253
- "type": "function"
180
+ "name": "ErrorRegistryNotService",
181
+ "type": "error"
254
182
  },
255
183
  {
256
- "inputs": [],
257
- "name": "getType",
258
- "outputs": [
184
+ "inputs": [
259
185
  {
260
186
  "internalType": "ObjectType",
261
187
  "name": "objectType",
262
188
  "type": "uint8"
263
189
  }
264
190
  ],
265
- "stateMutability": "pure",
266
- "type": "function"
191
+ "name": "ErrorRegistryObjectTypeNotSupported",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "ErrorRegistryServiceAddressZero",
197
+ "type": "error"
267
198
  },
268
199
  {
269
200
  "inputs": [
270
201
  {
271
202
  "internalType": "address",
272
- "name": "chainNft",
203
+ "name": "service",
273
204
  "type": "address"
274
205
  },
275
206
  {
276
- "internalType": "address",
277
- "name": "protocolOwner",
278
- "type": "address"
207
+ "internalType": "VersionPart",
208
+ "name": "version",
209
+ "type": "uint8"
210
+ },
211
+ {
212
+ "internalType": "ObjectType",
213
+ "name": "domain",
214
+ "type": "uint8"
279
215
  }
280
216
  ],
281
- "name": "initialize",
282
- "outputs": [],
283
- "stateMutability": "nonpayable",
284
- "type": "function"
217
+ "name": "ErrorRegistryServiceDomainAlreadyRegistered",
218
+ "type": "error"
285
219
  },
286
220
  {
287
221
  "inputs": [
288
222
  {
289
223
  "internalType": "address",
290
- "name": "object",
224
+ "name": "service",
291
225
  "type": "address"
292
- }
293
- ],
294
- "name": "isRegistered",
295
- "outputs": [
226
+ },
296
227
  {
297
- "internalType": "bool",
298
- "name": "",
299
- "type": "bool"
228
+ "internalType": "VersionPart",
229
+ "name": "version",
230
+ "type": "uint8"
300
231
  }
301
232
  ],
302
- "stateMutability": "view",
303
- "type": "function"
233
+ "name": "ErrorRegistryServiceDomainZero",
234
+ "type": "error"
304
235
  },
305
236
  {
306
237
  "inputs": [
307
238
  {
308
- "internalType": "NftId",
309
- "name": "nftId",
310
- "type": "uint96"
311
- }
312
- ],
313
- "name": "isRegistered",
314
- "outputs": [
239
+ "internalType": "address",
240
+ "name": "service",
241
+ "type": "address"
242
+ },
315
243
  {
316
- "internalType": "bool",
317
- "name": "",
318
- "type": "bool"
319
- }
320
- ],
321
- "stateMutability": "view",
322
- "type": "function"
323
- },
324
- {
325
- "inputs": [],
326
- "name": "register",
327
- "outputs": [
244
+ "internalType": "VersionPart",
245
+ "name": "version",
246
+ "type": "uint8"
247
+ },
328
248
  {
329
249
  "internalType": "NftId",
330
- "name": "nftId",
250
+ "name": "parentNftId",
331
251
  "type": "uint96"
332
252
  }
333
253
  ],
334
- "stateMutability": "pure",
335
- "type": "function"
254
+ "name": "ErrorRegistryServiceParentNotRegistry",
255
+ "type": "error"
336
256
  },
337
257
  {
338
258
  "inputs": [
339
259
  {
340
260
  "internalType": "address",
341
- "name": "objectAddress",
261
+ "name": "service",
342
262
  "type": "address"
343
263
  }
344
264
  ],
265
+ "name": "ErrorRegistryServiceVersionZero",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [
270
+ {
271
+ "internalType": "address",
272
+ "name": "objectAddress",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "internalType": "ObjectType",
277
+ "name": "objectType",
278
+ "type": "uint8"
279
+ },
280
+ {
281
+ "internalType": "ObjectType",
282
+ "name": "parentType",
283
+ "type": "uint8"
284
+ }
285
+ ],
286
+ "name": "ErrorRegistryTypeCombinationInvalid",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [],
291
+ "name": "InvalidInitialization",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [],
296
+ "name": "NotInitializing",
297
+ "type": "error"
298
+ },
299
+ {
300
+ "anonymous": false,
301
+ "inputs": [
302
+ {
303
+ "indexed": false,
304
+ "internalType": "address",
305
+ "name": "authority",
306
+ "type": "address"
307
+ }
308
+ ],
309
+ "name": "AuthorityUpdated",
310
+ "type": "event"
311
+ },
312
+ {
313
+ "anonymous": false,
314
+ "inputs": [
315
+ {
316
+ "indexed": false,
317
+ "internalType": "uint64",
318
+ "name": "version",
319
+ "type": "uint64"
320
+ }
321
+ ],
322
+ "name": "Initialized",
323
+ "type": "event"
324
+ },
325
+ {
326
+ "anonymous": false,
327
+ "inputs": [
328
+ {
329
+ "indexed": false,
330
+ "internalType": "NftId",
331
+ "name": "nftId",
332
+ "type": "uint96"
333
+ },
334
+ {
335
+ "indexed": false,
336
+ "internalType": "uint256",
337
+ "name": "chainId",
338
+ "type": "uint256"
339
+ },
340
+ {
341
+ "indexed": false,
342
+ "internalType": "address",
343
+ "name": "chainRegistryAddress",
344
+ "type": "address"
345
+ }
346
+ ],
347
+ "name": "LogRegistryChainRegistryRegistered",
348
+ "type": "event"
349
+ },
350
+ {
351
+ "anonymous": false,
352
+ "inputs": [
353
+ {
354
+ "indexed": false,
355
+ "internalType": "NftId",
356
+ "name": "nftId",
357
+ "type": "uint96"
358
+ },
359
+ {
360
+ "indexed": false,
361
+ "internalType": "NftId",
362
+ "name": "parentNftId",
363
+ "type": "uint96"
364
+ },
365
+ {
366
+ "indexed": false,
367
+ "internalType": "ObjectType",
368
+ "name": "objectType",
369
+ "type": "uint8"
370
+ },
371
+ {
372
+ "indexed": false,
373
+ "internalType": "bool",
374
+ "name": "isInterceptor",
375
+ "type": "bool"
376
+ },
377
+ {
378
+ "indexed": false,
379
+ "internalType": "address",
380
+ "name": "objectAddress",
381
+ "type": "address"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "address",
386
+ "name": "initialOwner",
387
+ "type": "address"
388
+ }
389
+ ],
390
+ "name": "LogRegistryObjectRegistered",
391
+ "type": "event"
392
+ },
393
+ {
394
+ "anonymous": false,
395
+ "inputs": [
396
+ {
397
+ "indexed": false,
398
+ "internalType": "VersionPart",
399
+ "name": "majorVersion",
400
+ "type": "uint8"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "ObjectType",
405
+ "name": "domain",
406
+ "type": "uint8"
407
+ }
408
+ ],
409
+ "name": "LogRegistryServiceRegistered",
410
+ "type": "event"
411
+ },
412
+ {
413
+ "inputs": [],
414
+ "name": "ADMIN",
415
+ "outputs": [
416
+ {
417
+ "internalType": "contract RegistryAdmin",
418
+ "name": "",
419
+ "type": "address"
420
+ }
421
+ ],
422
+ "stateMutability": "view",
423
+ "type": "function"
424
+ },
425
+ {
426
+ "inputs": [],
427
+ "name": "CHAIN_NFT",
428
+ "outputs": [
429
+ {
430
+ "internalType": "contract ChainNft",
431
+ "name": "",
432
+ "type": "address"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [],
440
+ "name": "DEPLOYER",
441
+ "outputs": [
442
+ {
443
+ "internalType": "address",
444
+ "name": "",
445
+ "type": "address"
446
+ }
447
+ ],
448
+ "stateMutability": "view",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [],
453
+ "name": "EMPTY_URI",
454
+ "outputs": [
455
+ {
456
+ "internalType": "string",
457
+ "name": "",
458
+ "type": "string"
459
+ }
460
+ ],
461
+ "stateMutability": "view",
462
+ "type": "function"
463
+ },
464
+ {
465
+ "inputs": [],
466
+ "name": "GLOBAL_REGISTRY_ADDRESS",
467
+ "outputs": [
468
+ {
469
+ "internalType": "address",
470
+ "name": "",
471
+ "type": "address"
472
+ }
473
+ ],
474
+ "stateMutability": "view",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "inputs": [],
479
+ "name": "GLOBAL_REGISTRY_NFT_ID",
480
+ "outputs": [
481
+ {
482
+ "internalType": "NftId",
483
+ "name": "",
484
+ "type": "uint96"
485
+ }
486
+ ],
487
+ "stateMutability": "view",
488
+ "type": "function"
489
+ },
490
+ {
491
+ "inputs": [],
492
+ "name": "NFT_LOCK_ADDRESS",
493
+ "outputs": [
494
+ {
495
+ "internalType": "address",
496
+ "name": "",
497
+ "type": "address"
498
+ }
499
+ ],
500
+ "stateMutability": "view",
501
+ "type": "function"
502
+ },
503
+ {
504
+ "inputs": [],
505
+ "name": "PROTOCOL_NFT_ID",
506
+ "outputs": [
507
+ {
508
+ "internalType": "NftId",
509
+ "name": "",
510
+ "type": "uint96"
511
+ }
512
+ ],
513
+ "stateMutability": "view",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "REGISTRY_NFT_ID",
519
+ "outputs": [
520
+ {
521
+ "internalType": "NftId",
522
+ "name": "",
523
+ "type": "uint96"
524
+ }
525
+ ],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [],
531
+ "name": "REGISTRY_TOKEN_SEQUENCE_ID",
532
+ "outputs": [
533
+ {
534
+ "internalType": "uint256",
535
+ "name": "",
536
+ "type": "uint256"
537
+ }
538
+ ],
539
+ "stateMutability": "view",
540
+ "type": "function"
541
+ },
542
+ {
543
+ "inputs": [],
544
+ "name": "STAKING_TOKEN_SEQUENCE_ID",
545
+ "outputs": [
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "",
549
+ "type": "uint256"
550
+ }
551
+ ],
552
+ "stateMutability": "view",
553
+ "type": "function"
554
+ },
555
+ {
556
+ "inputs": [],
557
+ "name": "authority",
558
+ "outputs": [
559
+ {
560
+ "internalType": "address",
561
+ "name": "",
562
+ "type": "address"
563
+ }
564
+ ],
565
+ "stateMutability": "view",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [],
570
+ "name": "chainIds",
571
+ "outputs": [
572
+ {
573
+ "internalType": "uint256",
574
+ "name": "",
575
+ "type": "uint256"
576
+ }
577
+ ],
578
+ "stateMutability": "view",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [],
583
+ "name": "getAuthority",
584
+ "outputs": [
585
+ {
586
+ "internalType": "address",
587
+ "name": "",
588
+ "type": "address"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [
596
+ {
597
+ "internalType": "uint256",
598
+ "name": "idx",
599
+ "type": "uint256"
600
+ }
601
+ ],
602
+ "name": "getChainId",
603
+ "outputs": [
604
+ {
605
+ "internalType": "uint256",
606
+ "name": "",
607
+ "type": "uint256"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [],
615
+ "name": "getChainNftAddress",
616
+ "outputs": [
617
+ {
618
+ "internalType": "address",
619
+ "name": "",
620
+ "type": "address"
621
+ }
622
+ ],
623
+ "stateMutability": "view",
624
+ "type": "function"
625
+ },
626
+ {
627
+ "inputs": [],
628
+ "name": "getInitialRelease",
629
+ "outputs": [
630
+ {
631
+ "internalType": "VersionPart",
632
+ "name": "",
633
+ "type": "uint8"
634
+ }
635
+ ],
636
+ "stateMutability": "view",
637
+ "type": "function"
638
+ },
639
+ {
640
+ "inputs": [],
641
+ "name": "getLatestRelease",
642
+ "outputs": [
643
+ {
644
+ "internalType": "VersionPart",
645
+ "name": "",
646
+ "type": "uint8"
647
+ }
648
+ ],
649
+ "stateMutability": "view",
650
+ "type": "function"
651
+ },
652
+ {
653
+ "inputs": [],
654
+ "name": "getNextRelease",
655
+ "outputs": [
656
+ {
657
+ "internalType": "VersionPart",
658
+ "name": "",
659
+ "type": "uint8"
660
+ }
661
+ ],
662
+ "stateMutability": "view",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [],
667
+ "name": "getNftId",
668
+ "outputs": [
669
+ {
670
+ "internalType": "NftId",
671
+ "name": "nftId",
672
+ "type": "uint96"
673
+ }
674
+ ],
675
+ "stateMutability": "view",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [
680
+ {
681
+ "internalType": "address",
682
+ "name": "object",
683
+ "type": "address"
684
+ }
685
+ ],
686
+ "name": "getNftIdForAddress",
687
+ "outputs": [
688
+ {
689
+ "internalType": "NftId",
690
+ "name": "id",
691
+ "type": "uint96"
692
+ }
693
+ ],
694
+ "stateMutability": "view",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [
699
+ {
700
+ "internalType": "NftId",
701
+ "name": "nftId",
702
+ "type": "uint96"
703
+ }
704
+ ],
705
+ "name": "getObjectAddress",
706
+ "outputs": [
707
+ {
708
+ "internalType": "address",
709
+ "name": "",
710
+ "type": "address"
711
+ }
712
+ ],
713
+ "stateMutability": "view",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [],
718
+ "name": "getObjectCount",
719
+ "outputs": [
720
+ {
721
+ "internalType": "uint256",
722
+ "name": "",
723
+ "type": "uint256"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [
731
+ {
732
+ "internalType": "address",
733
+ "name": "object",
734
+ "type": "address"
735
+ }
736
+ ],
737
+ "name": "getObjectInfo",
738
+ "outputs": [
739
+ {
740
+ "components": [
741
+ {
742
+ "internalType": "NftId",
743
+ "name": "nftId",
744
+ "type": "uint96"
745
+ },
746
+ {
747
+ "internalType": "NftId",
748
+ "name": "parentNftId",
749
+ "type": "uint96"
750
+ },
751
+ {
752
+ "internalType": "ObjectType",
753
+ "name": "objectType",
754
+ "type": "uint8"
755
+ },
756
+ {
757
+ "internalType": "bool",
758
+ "name": "isInterceptor",
759
+ "type": "bool"
760
+ },
761
+ {
762
+ "internalType": "address",
763
+ "name": "objectAddress",
764
+ "type": "address"
765
+ },
766
+ {
767
+ "internalType": "address",
768
+ "name": "initialOwner",
769
+ "type": "address"
770
+ },
771
+ {
772
+ "internalType": "bytes",
773
+ "name": "data",
774
+ "type": "bytes"
775
+ }
776
+ ],
777
+ "internalType": "struct IRegistry.ObjectInfo",
778
+ "name": "",
779
+ "type": "tuple"
780
+ }
781
+ ],
782
+ "stateMutability": "view",
783
+ "type": "function"
784
+ },
785
+ {
786
+ "inputs": [
787
+ {
788
+ "internalType": "NftId",
789
+ "name": "nftId",
790
+ "type": "uint96"
791
+ }
792
+ ],
793
+ "name": "getObjectInfo",
794
+ "outputs": [
795
+ {
796
+ "components": [
797
+ {
798
+ "internalType": "NftId",
799
+ "name": "nftId",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "NftId",
804
+ "name": "parentNftId",
805
+ "type": "uint96"
806
+ },
807
+ {
808
+ "internalType": "ObjectType",
809
+ "name": "objectType",
810
+ "type": "uint8"
811
+ },
812
+ {
813
+ "internalType": "bool",
814
+ "name": "isInterceptor",
815
+ "type": "bool"
816
+ },
817
+ {
818
+ "internalType": "address",
819
+ "name": "objectAddress",
820
+ "type": "address"
821
+ },
822
+ {
823
+ "internalType": "address",
824
+ "name": "initialOwner",
825
+ "type": "address"
826
+ },
827
+ {
828
+ "internalType": "bytes",
829
+ "name": "data",
830
+ "type": "bytes"
831
+ }
832
+ ],
833
+ "internalType": "struct IRegistry.ObjectInfo",
834
+ "name": "",
835
+ "type": "tuple"
836
+ }
837
+ ],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [],
843
+ "name": "getOwner",
844
+ "outputs": [
845
+ {
846
+ "internalType": "address",
847
+ "name": "owner",
848
+ "type": "address"
849
+ }
850
+ ],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
+ },
854
+ {
855
+ "inputs": [
856
+ {
857
+ "internalType": "NftId",
858
+ "name": "nftId",
859
+ "type": "uint96"
860
+ }
861
+ ],
862
+ "name": "getParentNftId",
863
+ "outputs": [
864
+ {
865
+ "internalType": "NftId",
866
+ "name": "parentNftId",
867
+ "type": "uint96"
868
+ }
869
+ ],
870
+ "stateMutability": "view",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [],
875
+ "name": "getProtocolNftId",
876
+ "outputs": [
877
+ {
878
+ "internalType": "NftId",
879
+ "name": "nftId",
880
+ "type": "uint96"
881
+ }
882
+ ],
883
+ "stateMutability": "view",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [],
888
+ "name": "getRegistryAdminAddress",
889
+ "outputs": [
890
+ {
891
+ "internalType": "address",
892
+ "name": "",
893
+ "type": "address"
894
+ }
895
+ ],
896
+ "stateMutability": "view",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [
901
+ {
902
+ "internalType": "uint256",
903
+ "name": "chainId",
904
+ "type": "uint256"
905
+ }
906
+ ],
907
+ "name": "getRegistryNftId",
908
+ "outputs": [
909
+ {
910
+ "internalType": "NftId",
911
+ "name": "nftId",
912
+ "type": "uint96"
913
+ }
914
+ ],
915
+ "stateMutability": "view",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [
920
+ {
921
+ "internalType": "VersionPart",
922
+ "name": "release",
923
+ "type": "uint8"
924
+ }
925
+ ],
926
+ "name": "getReleaseInfo",
927
+ "outputs": [
928
+ {
929
+ "components": [
930
+ {
931
+ "internalType": "address",
932
+ "name": "releaseAdmin",
933
+ "type": "address"
934
+ },
935
+ {
936
+ "internalType": "StateId",
937
+ "name": "state",
938
+ "type": "uint8"
939
+ },
940
+ {
941
+ "internalType": "VersionPart",
942
+ "name": "version",
943
+ "type": "uint8"
944
+ },
945
+ {
946
+ "internalType": "Timestamp",
947
+ "name": "activatedAt",
948
+ "type": "uint40"
949
+ },
950
+ {
951
+ "internalType": "Timestamp",
952
+ "name": "disabledAt",
953
+ "type": "uint40"
954
+ },
955
+ {
956
+ "internalType": "contract IServiceAuthorization",
957
+ "name": "auth",
958
+ "type": "address"
959
+ },
960
+ {
961
+ "internalType": "bytes32",
962
+ "name": "salt",
963
+ "type": "bytes32"
964
+ }
965
+ ],
966
+ "internalType": "struct IRelease.ReleaseInfo",
967
+ "name": "",
968
+ "type": "tuple"
969
+ }
970
+ ],
971
+ "stateMutability": "view",
972
+ "type": "function"
973
+ },
974
+ {
975
+ "inputs": [],
976
+ "name": "getReleaseRegistryAddress",
977
+ "outputs": [
978
+ {
979
+ "internalType": "address",
980
+ "name": "",
981
+ "type": "address"
982
+ }
983
+ ],
984
+ "stateMutability": "view",
985
+ "type": "function"
986
+ },
987
+ {
988
+ "inputs": [
989
+ {
990
+ "internalType": "ObjectType",
991
+ "name": "serviceDomain",
992
+ "type": "uint8"
993
+ },
994
+ {
995
+ "internalType": "VersionPart",
996
+ "name": "releaseVersion",
997
+ "type": "uint8"
998
+ }
999
+ ],
1000
+ "name": "getServiceAddress",
1001
+ "outputs": [
1002
+ {
1003
+ "internalType": "address",
1004
+ "name": "service",
1005
+ "type": "address"
1006
+ }
1007
+ ],
1008
+ "stateMutability": "view",
1009
+ "type": "function"
1010
+ },
1011
+ {
1012
+ "inputs": [],
1013
+ "name": "getStakingAddress",
1014
+ "outputs": [
1015
+ {
1016
+ "internalType": "address",
1017
+ "name": "staking",
1018
+ "type": "address"
1019
+ }
1020
+ ],
1021
+ "stateMutability": "view",
1022
+ "type": "function"
1023
+ },
1024
+ {
1025
+ "inputs": [],
1026
+ "name": "getTokenRegistryAddress",
1027
+ "outputs": [
1028
+ {
1029
+ "internalType": "address",
1030
+ "name": "tokenRegistry",
1031
+ "type": "address"
1032
+ }
1033
+ ],
1034
+ "stateMutability": "view",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "inputs": [
1039
+ {
1040
+ "internalType": "address",
1041
+ "name": "releaseRegistry",
1042
+ "type": "address"
1043
+ },
1044
+ {
1045
+ "internalType": "address",
1046
+ "name": "tokenRegistry",
1047
+ "type": "address"
1048
+ },
1049
+ {
1050
+ "internalType": "address",
1051
+ "name": "staking",
1052
+ "type": "address"
1053
+ }
1054
+ ],
1055
+ "name": "initialize",
1056
+ "outputs": [],
1057
+ "stateMutability": "nonpayable",
1058
+ "type": "function"
1059
+ },
1060
+ {
1061
+ "inputs": [
1062
+ {
1063
+ "internalType": "VersionPart",
1064
+ "name": "version",
1065
+ "type": "uint8"
1066
+ }
1067
+ ],
1068
+ "name": "isActiveRelease",
1069
+ "outputs": [
1070
+ {
1071
+ "internalType": "bool",
1072
+ "name": "",
1073
+ "type": "bool"
1074
+ }
1075
+ ],
1076
+ "stateMutability": "view",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [],
1081
+ "name": "isConsumingScheduledOp",
1082
+ "outputs": [
1083
+ {
1084
+ "internalType": "bytes4",
1085
+ "name": "",
1086
+ "type": "bytes4"
1087
+ }
1088
+ ],
1089
+ "stateMutability": "view",
1090
+ "type": "function"
1091
+ },
1092
+ {
1093
+ "inputs": [
1094
+ {
1095
+ "internalType": "address",
1096
+ "name": "contractAddress",
1097
+ "type": "address"
1098
+ },
1099
+ {
1100
+ "internalType": "ObjectType",
1101
+ "name": "expectedObjectType",
1102
+ "type": "uint8"
1103
+ }
1104
+ ],
1105
+ "name": "isObjectType",
1106
+ "outputs": [
1107
+ {
1108
+ "internalType": "bool",
1109
+ "name": "",
1110
+ "type": "bool"
1111
+ }
1112
+ ],
1113
+ "stateMutability": "view",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "inputs": [
1118
+ {
1119
+ "internalType": "NftId",
1120
+ "name": "nftId",
1121
+ "type": "uint96"
1122
+ },
1123
+ {
1124
+ "internalType": "ObjectType",
1125
+ "name": "expectedObjectType",
1126
+ "type": "uint8"
1127
+ }
1128
+ ],
1129
+ "name": "isObjectType",
1130
+ "outputs": [
1131
+ {
1132
+ "internalType": "bool",
1133
+ "name": "",
1134
+ "type": "bool"
1135
+ }
1136
+ ],
1137
+ "stateMutability": "view",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "NftId",
1144
+ "name": "nftId",
1145
+ "type": "uint96"
1146
+ },
1147
+ {
1148
+ "internalType": "address",
1149
+ "name": "expectedOwner",
1150
+ "type": "address"
1151
+ }
1152
+ ],
1153
+ "name": "isOwnerOf",
1154
+ "outputs": [
1155
+ {
1156
+ "internalType": "bool",
1157
+ "name": "",
1158
+ "type": "bool"
1159
+ }
1160
+ ],
1161
+ "stateMutability": "view",
1162
+ "type": "function"
1163
+ },
1164
+ {
1165
+ "inputs": [
1166
+ {
1167
+ "internalType": "address",
1168
+ "name": "object",
1169
+ "type": "address"
1170
+ }
1171
+ ],
1172
+ "name": "isRegistered",
1173
+ "outputs": [
1174
+ {
1175
+ "internalType": "bool",
1176
+ "name": "",
1177
+ "type": "bool"
1178
+ }
1179
+ ],
1180
+ "stateMutability": "view",
1181
+ "type": "function"
1182
+ },
1183
+ {
1184
+ "inputs": [
1185
+ {
1186
+ "internalType": "NftId",
1187
+ "name": "nftId",
1188
+ "type": "uint96"
1189
+ }
1190
+ ],
1191
+ "name": "isRegistered",
1192
+ "outputs": [
1193
+ {
1194
+ "internalType": "bool",
1195
+ "name": "",
1196
+ "type": "bool"
1197
+ }
1198
+ ],
1199
+ "stateMutability": "view",
1200
+ "type": "function"
1201
+ },
1202
+ {
1203
+ "inputs": [
1204
+ {
1205
+ "internalType": "address",
1206
+ "name": "object",
1207
+ "type": "address"
1208
+ }
1209
+ ],
1210
+ "name": "isRegisteredComponent",
1211
+ "outputs": [
1212
+ {
1213
+ "internalType": "bool",
1214
+ "name": "",
1215
+ "type": "bool"
1216
+ }
1217
+ ],
1218
+ "stateMutability": "view",
1219
+ "type": "function"
1220
+ },
1221
+ {
1222
+ "inputs": [
1223
+ {
1224
+ "internalType": "address",
1225
+ "name": "object",
1226
+ "type": "address"
1227
+ }
1228
+ ],
1229
+ "name": "isRegisteredService",
1230
+ "outputs": [
1231
+ {
1232
+ "internalType": "bool",
1233
+ "name": "",
1234
+ "type": "bool"
1235
+ }
1236
+ ],
1237
+ "stateMutability": "view",
1238
+ "type": "function"
1239
+ },
1240
+ {
1241
+ "inputs": [
1242
+ {
1243
+ "internalType": "address",
1244
+ "name": "contractAddress",
1245
+ "type": "address"
1246
+ }
1247
+ ],
1248
+ "name": "ownerOf",
1249
+ "outputs": [
1250
+ {
1251
+ "internalType": "address",
1252
+ "name": "",
1253
+ "type": "address"
1254
+ }
1255
+ ],
1256
+ "stateMutability": "view",
1257
+ "type": "function"
1258
+ },
1259
+ {
1260
+ "inputs": [
1261
+ {
1262
+ "internalType": "NftId",
1263
+ "name": "nftId",
1264
+ "type": "uint96"
1265
+ }
1266
+ ],
1267
+ "name": "ownerOf",
1268
+ "outputs": [
1269
+ {
1270
+ "internalType": "address",
1271
+ "name": "",
1272
+ "type": "address"
1273
+ }
1274
+ ],
1275
+ "stateMutability": "view",
1276
+ "type": "function"
1277
+ },
1278
+ {
1279
+ "inputs": [
1280
+ {
1281
+ "components": [
1282
+ {
1283
+ "internalType": "NftId",
1284
+ "name": "nftId",
1285
+ "type": "uint96"
1286
+ },
1287
+ {
1288
+ "internalType": "NftId",
1289
+ "name": "parentNftId",
1290
+ "type": "uint96"
1291
+ },
1292
+ {
1293
+ "internalType": "ObjectType",
1294
+ "name": "objectType",
1295
+ "type": "uint8"
1296
+ },
1297
+ {
1298
+ "internalType": "bool",
1299
+ "name": "isInterceptor",
1300
+ "type": "bool"
1301
+ },
1302
+ {
1303
+ "internalType": "address",
1304
+ "name": "objectAddress",
1305
+ "type": "address"
1306
+ },
1307
+ {
1308
+ "internalType": "address",
1309
+ "name": "initialOwner",
1310
+ "type": "address"
1311
+ },
1312
+ {
1313
+ "internalType": "bytes",
1314
+ "name": "data",
1315
+ "type": "bytes"
1316
+ }
1317
+ ],
1318
+ "internalType": "struct IRegistry.ObjectInfo",
1319
+ "name": "info",
1320
+ "type": "tuple"
1321
+ }
1322
+ ],
345
1323
  "name": "register",
346
1324
  "outputs": [
347
1325
  {
@@ -357,26 +1335,137 @@
357
1335
  "inputs": [
358
1336
  {
359
1337
  "internalType": "NftId",
360
- "name": "parentNftId",
1338
+ "name": "nftId",
361
1339
  "type": "uint96"
362
1340
  },
363
1341
  {
364
- "internalType": "ObjectType",
365
- "name": "objectType",
366
- "type": "uint8"
1342
+ "internalType": "uint256",
1343
+ "name": "chainId",
1344
+ "type": "uint256"
367
1345
  },
368
1346
  {
369
1347
  "internalType": "address",
370
- "name": "initialOwner",
1348
+ "name": "registryAddress",
371
1349
  "type": "address"
1350
+ }
1351
+ ],
1352
+ "name": "registerRegistry",
1353
+ "outputs": [],
1354
+ "stateMutability": "nonpayable",
1355
+ "type": "function"
1356
+ },
1357
+ {
1358
+ "inputs": [
1359
+ {
1360
+ "components": [
1361
+ {
1362
+ "internalType": "NftId",
1363
+ "name": "nftId",
1364
+ "type": "uint96"
1365
+ },
1366
+ {
1367
+ "internalType": "NftId",
1368
+ "name": "parentNftId",
1369
+ "type": "uint96"
1370
+ },
1371
+ {
1372
+ "internalType": "ObjectType",
1373
+ "name": "objectType",
1374
+ "type": "uint8"
1375
+ },
1376
+ {
1377
+ "internalType": "bool",
1378
+ "name": "isInterceptor",
1379
+ "type": "bool"
1380
+ },
1381
+ {
1382
+ "internalType": "address",
1383
+ "name": "objectAddress",
1384
+ "type": "address"
1385
+ },
1386
+ {
1387
+ "internalType": "address",
1388
+ "name": "initialOwner",
1389
+ "type": "address"
1390
+ },
1391
+ {
1392
+ "internalType": "bytes",
1393
+ "name": "data",
1394
+ "type": "bytes"
1395
+ }
1396
+ ],
1397
+ "internalType": "struct IRegistry.ObjectInfo",
1398
+ "name": "info",
1399
+ "type": "tuple"
1400
+ },
1401
+ {
1402
+ "internalType": "VersionPart",
1403
+ "name": "version",
1404
+ "type": "uint8"
372
1405
  },
373
1406
  {
374
- "internalType": "bytes",
375
- "name": "data",
376
- "type": "bytes"
1407
+ "internalType": "ObjectType",
1408
+ "name": "domain",
1409
+ "type": "uint8"
1410
+ }
1411
+ ],
1412
+ "name": "registerService",
1413
+ "outputs": [
1414
+ {
1415
+ "internalType": "NftId",
1416
+ "name": "nftId",
1417
+ "type": "uint96"
1418
+ }
1419
+ ],
1420
+ "stateMutability": "nonpayable",
1421
+ "type": "function"
1422
+ },
1423
+ {
1424
+ "inputs": [
1425
+ {
1426
+ "components": [
1427
+ {
1428
+ "internalType": "NftId",
1429
+ "name": "nftId",
1430
+ "type": "uint96"
1431
+ },
1432
+ {
1433
+ "internalType": "NftId",
1434
+ "name": "parentNftId",
1435
+ "type": "uint96"
1436
+ },
1437
+ {
1438
+ "internalType": "ObjectType",
1439
+ "name": "objectType",
1440
+ "type": "uint8"
1441
+ },
1442
+ {
1443
+ "internalType": "bool",
1444
+ "name": "isInterceptor",
1445
+ "type": "bool"
1446
+ },
1447
+ {
1448
+ "internalType": "address",
1449
+ "name": "objectAddress",
1450
+ "type": "address"
1451
+ },
1452
+ {
1453
+ "internalType": "address",
1454
+ "name": "initialOwner",
1455
+ "type": "address"
1456
+ },
1457
+ {
1458
+ "internalType": "bytes",
1459
+ "name": "data",
1460
+ "type": "bytes"
1461
+ }
1462
+ ],
1463
+ "internalType": "struct IRegistry.ObjectInfo",
1464
+ "name": "info",
1465
+ "type": "tuple"
377
1466
  }
378
1467
  ],
379
- "name": "registerObjectForInstance",
1468
+ "name": "registerWithCustomType",
380
1469
  "outputs": [
381
1470
  {
382
1471
  "internalType": "NftId",
@@ -387,6 +1476,19 @@
387
1476
  "stateMutability": "nonpayable",
388
1477
  "type": "function"
389
1478
  },
1479
+ {
1480
+ "inputs": [
1481
+ {
1482
+ "internalType": "address",
1483
+ "name": "newAuthority",
1484
+ "type": "address"
1485
+ }
1486
+ ],
1487
+ "name": "setAuthority",
1488
+ "outputs": [],
1489
+ "stateMutability": "nonpayable",
1490
+ "type": "function"
1491
+ },
390
1492
  {
391
1493
  "inputs": [
392
1494
  {
@@ -407,64 +1509,204 @@
407
1509
  "type": "function"
408
1510
  }
409
1511
  ],
410
- "bytecode": "0x608060405234801561001057600080fd5b5061260b806100206000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80635ef14b5e116100b8578063bc36dc911161007c578063bc36dc91146102ad578063c3c5a547146102c5578063d272ac1e146102d8578063df33330b1461030a578063e74d052f1461031d578063f16f93c21461033057600080fd5b80635ef14b5e1461024e578063644c45e014610261578063893d20e814610272578063a3bcd81d1461027a578063a48f42e01461028d57600080fd5b806331b62a3b1161010a57806331b62a3b146101e55780633bc5de30146101ed5780633fe9300e1461020a5780634420e48614610220578063485cc955146102335780635ab1bd531461024857600080fd5b8063015654ff1461014757806301ffc9a71461017157806315dae03e146101a55780631a848cfb146101b45780631aa3a008146101ca575b600080fd5b600a546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b61019561017f36600461201a565b6001600160e01b0319166306ecd8ef60e01b1490565b6040519015158152602001610168565b60405160148152602001610168565b6101bc610348565b604051908152602001610168565b60005b6040516001600160601b039091168152602001610168565b6101cd6103c1565b6040805160208101909152600081525b604051610168919061209b565b6101fd6040518060200160405280600081525081565b6101cd61022e3660046120c6565b610488565b6102466102413660046120e3565b610c5c565b005b30610154565b6101cd61025c3660046121ed565b610d61565b6007546001600160601b03166101cd565b610154610fcf565b610154610288366004612276565b6110d2565b6102a061029b3660046122d1565b611128565b60405161016891906122ee565b600754600160601b90046001600160a01b0316610154565b6101956102d33660046120c6565b61126a565b6101cd6102e63660046120c6565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101546103183660046122d1565b611307565b61019561032b3660046122d1565b611408565b6101fd61033e3660046122d1565b611462565b905090565b60006007600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190612361565b60004660010361043d5760085460408051632cc7144960e11b81529051610343926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043a9190612361565b90565b60085460408051632e85b1f360e01b81529051610343926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e919061237a565b61056f5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015282906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061237a565b61062c5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c4500006044820152606401610566565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610690919061239c565b60ff808216600090815260036020526040902054919250166106f45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c49440000000000006044820152606401610566565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610734573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075891906123b9565b905061076381611408565b6107bb5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401610566565b60ff80831660009081526004602090815260408083206001600160601b038616845283835281842054600160c01b9004851684529091529020541661084c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b6064820152608401610566565b60006007600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906123d6565b604051806020016040528060008152506040518363ffffffff1660e01b81526004016109019291906123f3565b6020604051808303816000875af1158015610920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109449190612361565b90508094506109bc846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ae919061239c565b60285b60ff90811691161490565b15610c49576040516301ffc9a760e01b8152631b4612f160e31b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a32919061237a565b610a7e5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f53455256494345000000000000006044820152606401610566565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ae69190810190612447565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4c919061239c565b9050600082604051602001610b61919061209b565b60408051601f1981840301815291815281516020928301206001600160601b038c16600090815260059093529120909150610b9c8482612515565b50600081815260066020908152604080832060ff861684529091529020546001600160a01b031615610c105760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f524547495354455245446044820152606401610566565b600090815260066020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038a1617905550505b610c53848661150e565b50505050919050565b600754600160601b90046001600160a01b031615610cc65760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b6064820152608401610566565b60098054336001600160a01b031991821617909155600a805482166001600160a01b0384811691909117909155600780546001600160601b0316600160601b92861692830217905560088054909216179055610d206117e2565b610d286119de565b600780546bffffffffffffffffffffffff19166001600160601b0392909216919091179055610d55611b50565b610d5d611d02565b5050565b6000610d6e8460c86109b1565b80610d7f5750610d7f8460d26109b1565b610dcb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c49440000000000006044820152606401610566565b600754604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191610e11918891906004016123f3565b6020604051808303816000875af1158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e549190612361565b905080915060006040518060c00160405280846001600160601b03168152602001886001600160601b031681526020018760ff16815260200160006001600160a01b03168152602001866001600160a01b0316815260200185815250905080600080856001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816003019081610fc19190612515565b509050505050949350505050565b6007546040516330b8415f60e01b81526001600160601b03909116600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561102e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611052919061237a565b61106657506009546001600160a01b031690565b60075460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034391906123d6565b600080836040516020016110e6919061209b565b60408051601f19818403018152918152815160209283012060009081526006835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a08101919091526001600160601b0382811660009081526020818152604091829020825160c08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600283015416608082015260038201805491929160a0840191906111e190612490565b80601f016020809104026020016040519081016040528092919081815260200182805461120d90612490565b801561125a5780601f1061122f5761010080835404028352916020019161125a565b820191906000526020600020905b81548152906001019060200180831161123d57829003601f168201915b5050505050815250509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611301919061237a565b92915050565b60075460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af415801561137c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a091906123b9565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130191906123d6565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016112c0565b6001600160601b038116600090815260056020526040902080546060919061148990612490565b80601f01602080910402602001604051908101604052809291908181526020018280546114b590612490565b80156115025780601f106114d757610100808354040283529160200191611502565b820191906000526020600020905b8154815290600101906020018083116114e557829003601f168201915b50505050509050919050565b600082905060006040518060c00160405280846001600160601b03168152602001856001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159191906123b9565b6001600160601b03168152602001856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611601919061239c565b60ff168152602001836001600160a01b03168152602001856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611656573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167a91906123d6565b6001600160a01b03168152602001856001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ee9190810190612447565b90526001600160601b038085166000908152602081815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820180546001600160a01b039283166001600160a01b031991821617909155608084015160028401805491909316911617905560a0820151919250829160038201906117a19082612515565b505050506001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b039290921691909117905550565b60085460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b1580156118a257600080fd5b505af11580156118b6573d6000803e3d6000fd5b5050505060006118c38290565b905060006040518060c00160405280836001600160601b031681526020016118e9600090565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052600a546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a16855284845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a0820151919250829160038201906119d69082612515565b505050505050565b600854604051630559ea4760e01b81526002600482015260009182916001600160a01b0390911690630559ea4790602401602060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190612361565b9050809150600860009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acc9190612361565b8114611ada57611ada611eb0565b600854600a546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b158015611b2a57600080fd5b505af1158015611b3e573d6000803e3d6000fd5b50505050611b4c308361150e565b5090565b600360208190527f0ffe031ee7f67944a037276fd51f48fcc2fe05a729c43144606bc8777da8014f8054600160ff1991821681179092557f6117fee2f1274e1b392d2c3fe842478040a980d896757f38cbfe2ceebfa9f55f80548216831790557ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce4003380548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e80548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805482168317905560c860009081527f4ee5ee9bffee16640c2540fd7f6965fdc66a7e5f780f34dcd70130941a3eae078054909216831790915590919060d25b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d8054600160ff1991821681179092557f4c2b21eba089fcb614eba18217d4f3f95e42177ede89c079f86306b133497c3080548216831790557faa0e0fe5d9929c265201b796d5196a8fc79d16a288275314ff2973541d58721a80548216831790557f23854806efa1d194aae4b21bf1927e22d50453dfa23086ded38c40c8955c637e80548216831790557fbdc45962c4e89b26bf7a29a39eab560d17e5064145716460fdc5986ae2da49bc80548216831790557f41f7e94f80001b9d612ad252f2dc06b77c5cc502088b7ac7f3641fc95d4a34e180548216831790557f2662d582402060579dffef7773c6b43725228b20e70069c9a8314d21465c105280548216831790557fecd1272a2d7402e39704b78db8ea4bd00d629fbfc046e55cc6c9d5ee5e9e5e7880548216831790557f5e5bbf8b42bd7b6d1aeb3e362a8afc07dddf1cd72e2816d91748f633a63aabc0805490911682179055603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd0906082611cde565b60085460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015611efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1e9190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015611f7057600080fd5b505af1158015611f84573d6000803e3d6000fd5b505050506000611f918290565b905060006040518060c00160405280836001600160601b03168152602001612005600860009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610416573d6000803e3d6000fd5b6001600160601b0316815260200160146118fa565b60006020828403121561202c57600080fd5b81356001600160e01b03198116811461204457600080fd5b9392505050565b60005b8381101561206657818101518382015260200161204e565b50506000910152565b6000815180845261208781602086016020860161204b565b601f01601f19169290920160200192915050565b602081526000612044602083018461206f565b6001600160a01b03811681146120c357600080fd5b50565b6000602082840312156120d857600080fd5b8135612044816120ae565b600080604083850312156120f657600080fd5b8235612101816120ae565b91506020830135612111816120ae565b809150509250929050565b6001600160601b03811681146120c357600080fd5b60ff811681146120c357600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561217f5761217f612140565b604052919050565b600067ffffffffffffffff8211156121a1576121a1612140565b50601f01601f191660200190565b60006121c26121bd84612187565b612156565b90508281528383830111156121d657600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561220357600080fd5b843561220e8161211c565b9350602085013561221e81612131565b9250604085013561222e816120ae565b9150606085013567ffffffffffffffff81111561224a57600080fd5b8501601f8101871361225b57600080fd5b61226a878235602084016121af565b91505092959194509250565b6000806040838503121561228957600080fd5b823567ffffffffffffffff8111156122a057600080fd5b8301601f810185136122b157600080fd5b6122c0858235602084016121af565b925050602083013561211181612131565b6000602082840312156122e357600080fd5b81356120448161211c565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015261235960e084018261206f565b949350505050565b60006020828403121561237357600080fd5b5051919050565b60006020828403121561238c57600080fd5b8151801515811461204457600080fd5b6000602082840312156123ae57600080fd5b815161204481612131565b6000602082840312156123cb57600080fd5b81516120448161211c565b6000602082840312156123e857600080fd5b8151612044816120ae565b6001600160a01b03831681526040602082018190526000906123599083018461206f565b60006124256121bd84612187565b905082815283838301111561243957600080fd5b61204483602083018461204b565b60006020828403121561245957600080fd5b815167ffffffffffffffff81111561247057600080fd5b8201601f8101841361248157600080fd5b61235984825160208401612417565b600181811c908216806124a457607f821691505b6020821081036124c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561251057600081815260208120601f850160051c810160208610156124f15750805b601f850160051c820191505b818110156119d6578281556001016124fd565b505050565b815167ffffffffffffffff81111561252f5761252f612140565b6125438161253d8454612490565b846124ca565b602080601f83116001811461257857600084156125605750858301515b600019600386901b1c1916600185901b1785556119d6565b600085815260208120601f198616915b828110156125a757888601518255948401946001909101908401612588565b50858210156125c55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220e265f82879be20803445f374a863f310be9093b961a95716c734996db157b4ca64736f6c63430008140033",
411
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c80635ef14b5e116100b8578063bc36dc911161007c578063bc36dc91146102ad578063c3c5a547146102c5578063d272ac1e146102d8578063df33330b1461030a578063e74d052f1461031d578063f16f93c21461033057600080fd5b80635ef14b5e1461024e578063644c45e014610261578063893d20e814610272578063a3bcd81d1461027a578063a48f42e01461028d57600080fd5b806331b62a3b1161010a57806331b62a3b146101e55780633bc5de30146101ed5780633fe9300e1461020a5780634420e48614610220578063485cc955146102335780635ab1bd531461024857600080fd5b8063015654ff1461014757806301ffc9a71461017157806315dae03e146101a55780631a848cfb146101b45780631aa3a008146101ca575b600080fd5b600a546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b61019561017f36600461201a565b6001600160e01b0319166306ecd8ef60e01b1490565b6040519015158152602001610168565b60405160148152602001610168565b6101bc610348565b604051908152602001610168565b60005b6040516001600160601b039091168152602001610168565b6101cd6103c1565b6040805160208101909152600081525b604051610168919061209b565b6101fd6040518060200160405280600081525081565b6101cd61022e3660046120c6565b610488565b6102466102413660046120e3565b610c5c565b005b30610154565b6101cd61025c3660046121ed565b610d61565b6007546001600160601b03166101cd565b610154610fcf565b610154610288366004612276565b6110d2565b6102a061029b3660046122d1565b611128565b60405161016891906122ee565b600754600160601b90046001600160a01b0316610154565b6101956102d33660046120c6565b61126a565b6101cd6102e63660046120c6565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101546103183660046122d1565b611307565b61019561032b3660046122d1565b611408565b6101fd61033e3660046122d1565b611462565b905090565b60006007600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190612361565b60004660010361043d5760085460408051632cc7144960e11b81529051610343926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043a9190612361565b90565b60085460408051632e85b1f360e01b81529051610343926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e919061237a565b61056f5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015282906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061237a565b61062c5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c4500006044820152606401610566565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610690919061239c565b60ff808216600090815260036020526040902054919250166106f45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c49440000000000006044820152606401610566565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610734573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075891906123b9565b905061076381611408565b6107bb5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401610566565b60ff80831660009081526004602090815260408083206001600160601b038616845283835281842054600160c01b9004851684529091529020541661084c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b6064820152608401610566565b60006007600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906123d6565b604051806020016040528060008152506040518363ffffffff1660e01b81526004016109019291906123f3565b6020604051808303816000875af1158015610920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109449190612361565b90508094506109bc846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ae919061239c565b60285b60ff90811691161490565b15610c49576040516301ffc9a760e01b8152631b4612f160e31b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a32919061237a565b610a7e5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f53455256494345000000000000006044820152606401610566565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ae69190810190612447565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4c919061239c565b9050600082604051602001610b61919061209b565b60408051601f1981840301815291815281516020928301206001600160601b038c16600090815260059093529120909150610b9c8482612515565b50600081815260066020908152604080832060ff861684529091529020546001600160a01b031615610c105760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f524547495354455245446044820152606401610566565b600090815260066020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038a1617905550505b610c53848661150e565b50505050919050565b600754600160601b90046001600160a01b031615610cc65760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b6064820152608401610566565b60098054336001600160a01b031991821617909155600a805482166001600160a01b0384811691909117909155600780546001600160601b0316600160601b92861692830217905560088054909216179055610d206117e2565b610d286119de565b600780546bffffffffffffffffffffffff19166001600160601b0392909216919091179055610d55611b50565b610d5d611d02565b5050565b6000610d6e8460c86109b1565b80610d7f5750610d7f8460d26109b1565b610dcb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c49440000000000006044820152606401610566565b600754604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191610e11918891906004016123f3565b6020604051808303816000875af1158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e549190612361565b905080915060006040518060c00160405280846001600160601b03168152602001886001600160601b031681526020018760ff16815260200160006001600160a01b03168152602001866001600160a01b0316815260200185815250905080600080856001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816003019081610fc19190612515565b509050505050949350505050565b6007546040516330b8415f60e01b81526001600160601b03909116600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561102e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611052919061237a565b61106657506009546001600160a01b031690565b60075460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034391906123d6565b600080836040516020016110e6919061209b565b60408051601f19818403018152918152815160209283012060009081526006835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a08101919091526001600160601b0382811660009081526020818152604091829020825160c08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600283015416608082015260038201805491929160a0840191906111e190612490565b80601f016020809104026020016040519081016040528092919081815260200182805461120d90612490565b801561125a5780601f1061122f5761010080835404028352916020019161125a565b820191906000526020600020905b81548152906001019060200180831161123d57829003601f168201915b5050505050815250509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611301919061237a565b92915050565b60075460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af415801561137c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a091906123b9565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130191906123d6565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016112c0565b6001600160601b038116600090815260056020526040902080546060919061148990612490565b80601f01602080910402602001604051908101604052809291908181526020018280546114b590612490565b80156115025780601f106114d757610100808354040283529160200191611502565b820191906000526020600020905b8154815290600101906020018083116114e557829003601f168201915b50505050509050919050565b600082905060006040518060c00160405280846001600160601b03168152602001856001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159191906123b9565b6001600160601b03168152602001856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611601919061239c565b60ff168152602001836001600160a01b03168152602001856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611656573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167a91906123d6565b6001600160a01b03168152602001856001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ee9190810190612447565b90526001600160601b038085166000908152602081815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820180546001600160a01b039283166001600160a01b031991821617909155608084015160028401805491909316911617905560a0820151919250829160038201906117a19082612515565b505050506001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b039290921691909117905550565b60085460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b1580156118a257600080fd5b505af11580156118b6573d6000803e3d6000fd5b5050505060006118c38290565b905060006040518060c00160405280836001600160601b031681526020016118e9600090565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052600a546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a16855284845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a0820151919250829160038201906119d69082612515565b505050505050565b600854604051630559ea4760e01b81526002600482015260009182916001600160a01b0390911690630559ea4790602401602060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190612361565b9050809150600860009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acc9190612361565b8114611ada57611ada611eb0565b600854600a546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b158015611b2a57600080fd5b505af1158015611b3e573d6000803e3d6000fd5b50505050611b4c308361150e565b5090565b600360208190527f0ffe031ee7f67944a037276fd51f48fcc2fe05a729c43144606bc8777da8014f8054600160ff1991821681179092557f6117fee2f1274e1b392d2c3fe842478040a980d896757f38cbfe2ceebfa9f55f80548216831790557ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce4003380548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e80548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805482168317905560c860009081527f4ee5ee9bffee16640c2540fd7f6965fdc66a7e5f780f34dcd70130941a3eae078054909216831790915590919060d25b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d8054600160ff1991821681179092557f4c2b21eba089fcb614eba18217d4f3f95e42177ede89c079f86306b133497c3080548216831790557faa0e0fe5d9929c265201b796d5196a8fc79d16a288275314ff2973541d58721a80548216831790557f23854806efa1d194aae4b21bf1927e22d50453dfa23086ded38c40c8955c637e80548216831790557fbdc45962c4e89b26bf7a29a39eab560d17e5064145716460fdc5986ae2da49bc80548216831790557f41f7e94f80001b9d612ad252f2dc06b77c5cc502088b7ac7f3641fc95d4a34e180548216831790557f2662d582402060579dffef7773c6b43725228b20e70069c9a8314d21465c105280548216831790557fecd1272a2d7402e39704b78db8ea4bd00d629fbfc046e55cc6c9d5ee5e9e5e7880548216831790557f5e5bbf8b42bd7b6d1aeb3e362a8afc07dddf1cd72e2816d91748f633a63aabc0805490911682179055603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd0906082611cde565b60085460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015611efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1e9190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015611f7057600080fd5b505af1158015611f84573d6000803e3d6000fd5b505050506000611f918290565b905060006040518060c00160405280836001600160601b03168152602001612005600860009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610416573d6000803e3d6000fd5b6001600160601b0316815260200160146118fa565b60006020828403121561202c57600080fd5b81356001600160e01b03198116811461204457600080fd5b9392505050565b60005b8381101561206657818101518382015260200161204e565b50506000910152565b6000815180845261208781602086016020860161204b565b601f01601f19169290920160200192915050565b602081526000612044602083018461206f565b6001600160a01b03811681146120c357600080fd5b50565b6000602082840312156120d857600080fd5b8135612044816120ae565b600080604083850312156120f657600080fd5b8235612101816120ae565b91506020830135612111816120ae565b809150509250929050565b6001600160601b03811681146120c357600080fd5b60ff811681146120c357600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561217f5761217f612140565b604052919050565b600067ffffffffffffffff8211156121a1576121a1612140565b50601f01601f191660200190565b60006121c26121bd84612187565b612156565b90508281528383830111156121d657600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561220357600080fd5b843561220e8161211c565b9350602085013561221e81612131565b9250604085013561222e816120ae565b9150606085013567ffffffffffffffff81111561224a57600080fd5b8501601f8101871361225b57600080fd5b61226a878235602084016121af565b91505092959194509250565b6000806040838503121561228957600080fd5b823567ffffffffffffffff8111156122a057600080fd5b8301601f810185136122b157600080fd5b6122c0858235602084016121af565b925050602083013561211181612131565b6000602082840312156122e357600080fd5b81356120448161211c565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015261235960e084018261206f565b949350505050565b60006020828403121561237357600080fd5b5051919050565b60006020828403121561238c57600080fd5b8151801515811461204457600080fd5b6000602082840312156123ae57600080fd5b815161204481612131565b6000602082840312156123cb57600080fd5b81516120448161211c565b6000602082840312156123e857600080fd5b8151612044816120ae565b6001600160a01b03831681526040602082018190526000906123599083018461206f565b60006124256121bd84612187565b905082815283838301111561243957600080fd5b61204483602083018461204b565b60006020828403121561245957600080fd5b815167ffffffffffffffff81111561247057600080fd5b8201601f8101841361248157600080fd5b61235984825160208401612417565b600181811c908216806124a457607f821691505b6020821081036124c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561251057600081815260208120601f850160051c810160208610156124f15750805b601f850160051c820191505b818110156119d6578281556001016124fd565b505050565b815167ffffffffffffffff81111561252f5761252f612140565b6125438161253d8454612490565b846124ca565b602080601f83116001811461257857600084156125605750858301515b600019600386901b1c1916600185901b1785556119d6565b600085815260208120601f198616915b828110156125a757888601518255948401946001909101908401612588565b50858210156125c55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220e265f82879be20803445f374a863f310be9093b961a95716c734996db157b4ca64736f6c63430008140033",
1512
+ "bytecode": "0x610160604052348015610010575f80fd5b506040516169d13803806169d183398101604081905261002f9161100e565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008f9190611046565b61009881610230565b5033610100526001600160a01b038216610120526100b581610283565b6001600160a01b031660c05260405130906100cf90610fea565b6001600160a01b039091168152602001604051809103905ff0801580156100f8573d5f803e3d5ffd5b506001600160a01b0316610140816001600160a01b03168152505073__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf610140516001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561016c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101909190611068565b6040518263ffffffff1660e01b81526004016101ae91815260200190565b602060405180830381865af41580156101c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ed9190611093565b6001600160601b031660a052610201610297565b6001600160601b031660805261021561043e565b6001600160601b031660e05261022961063f565b505061121e565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f46600103610293575030919050565b5090565b5f80610140516001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102fc9190611068565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561034d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103719190611093565b91506102936040518060e00160405280846001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156103d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103fb9190611093565b6001600160601b03168152600160208083018290525f6040808501829052606085018290526080850184905280519283019052815260a090920191909152610bad565b60a0516040805160e0810182526001600160601b0380841682526080511660208201526104bf91600191908101600260ff1681526020015f1515815260200160c0516001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f81525081525046600114610da560201b60201c565b4660011461063c5773__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf610140516001600160a01b0316630559ea4760026040518263ffffffff1660e01b815260040161051391815260200190565b602060405180830381865afa15801561052e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105529190611068565b6040518263ffffffff1660e01b815260040161057091815260200190565b602060405180830381865af415801561058b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105af9190611093565b905061063c466040518060e00160405280846001600160601b0316815260200160a0516001600160601b031681526020016105ee610da060201b60201c565b60ff1681526020015f15158152602001306001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152506001610da560201b60201c565b90565b7f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a318054600160ff1991821681179092557f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace2980548216831790557fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b80548216831790557f4da38fc8e544afc56a4c2a17752b8ddb67d8e23ac4583c9029d2e2d1dbe6c98880548216831790557f0b94fa1b86997cc1f1148bfbe25b674e8cefc7cc6f976aa8d7c7966bd4cca34780548216831790557ff130046d53bc87538ab17e4752ba5f5082985eecc06ccb932c5a55e8242dd50280548216831790557faca6cdb4b5fe0ec50731a73f714dd191dc1911bfeb3f9eeb9e94ed0f6065ef8d80548216831790557f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed80548216831790557f248457bacb20e239ae314d8db91c0f270e453c28ee138c84f97aea6cfcf9a49980548216831790557feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f80548216831790557f7d35cc2b0520994422695eb24e3bf4f74e9cba2704cae72ecd9ec54409a56afb80548216831790557f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d280548216831790557fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc1805490911682179055600a5f90815260076020527f3ed157e83ab1bb1f6b7b3760b3368106283d4e15d1f1b08e20d06576445a999490610891600290565b60ff16815260208101919091526040015f908120805460ff1916921515929092179091556001906007906108c3600c90565b60ff1660ff1681526020019081526020015f205f6108e5610ed460201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600790610917600e90565b60ff1660ff1681526020019081526020015f205f610939610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff19169215159290921790915560019060079061096b600d90565b60ff1660ff1681526020019081526020015f205f61098d610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff1916921515929092179091556001906007906109bf600f90565b60ff1660ff1681526020019081526020015f205f6109e1610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610a13601590565b60ff1660ff1681526020019081526020015f205f610a35610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610a67601790565b60ff1660ff1681526020019081526020015f205f610a89610ee360201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610abb601690565b60ff1660ff1681526020019081526020015f205f610add610ede60201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610b0f601e90565b60ff1660ff1681526020019081526020015f205f610b31610ba860201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610b63601e90565b60ff1660ff1681526020019081526020015f205f610b85610ed460201b60201c565b60ff16815260208101919091526040015f20805460ff1916911515919091179055565b600190565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b199688166c01000000000000000000000000026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190610c869082611145565b509050508015610ca15781516080830151610ca19190610ee8565b6101405160a0830151835160405163046e44af60e11b81526001600160601b0390911660048201526001600160a01b03909216916340c10f19919073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015610d16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3a9190611093565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015610d86575f80fd5b505af1158015610d98573d5f803e3d5ffd5b505050505050565b600290565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610e0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2f91906111ff565b610e66578151604051631832397b60e21b81526001600160601b039091166004820152602481018490526044015b60405180910390fd5b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01839055610ecf8282610bad565b505050565b600a90565b600c90565b600f90565b600e90565b6001600160a01b03811615610fe6576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f8c91906111ff565b15610fb557604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610e5d565b6001600160a01b0381165f90815260046020526040902080546001600160601b0319166001600160601b0384161790555b5050565b611f8680614a4b83390190565b6001600160a01b038116811461100b575f80fd5b50565b5f806040838503121561101f575f80fd5b825161102a81610ff7565b602084015190925061103b81610ff7565b809150509250929050565b5f60208284031215611056575f80fd5b815161106181610ff7565b9392505050565b5f60208284031215611078575f80fd5b5051919050565b6001600160601b038116811461100b575f80fd5b5f602082840312156110a3575f80fd5b81516110618161107f565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806110d657607f821691505b6020821081036110f457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ecf57805f5260205f20601f840160051c8101602085101561111f5750805b601f840160051c820191505b8181101561113e575f815560010161112b565b5050505050565b81516001600160401b0381111561115e5761115e6110ae565b6111728161116c84546110c2565b846110fa565b6020601f8211600181146111a4575f831561118d5750848201515b5f19600385901b1c1916600184901b17845561113e565b5f84815260208120601f198516915b828110156111d357878501518255602094850194600190920191016111b3565b50848210156111f057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561120f575f80fd5b81518015158114611061575f80fd5b60805160a05160c05160e0516101005161012051610140516137576112f45f395f81816103ba0152818161082f01528181610a4501528181610b9901528181610c7a015281816115a7015281816117ea015281816121bc01528181612491015281816127710152612d0801525f8181610411015281816104480152611d8501525f818161070301526119d601525f818161052601528181610644015281816113c70152818161173c015261287001525f61059401525f81816105dc015261214f01525f81816104a6015261088601526137575ff3fe608060405234801561000f575f80fd5b5060043610610319575f3560e01c8063a48f42e0116101af578063caed9897116100fe578063e278c9241161009e578063e74d052f11610079578063e74d052f14610861578063eac1c7fb14610874578063fbe4b7c01461087c578063fff74f6c14610884575f80fd5b8063e278c9241461082a578063e285c9c414610851578063e2b178a014610859575f80fd5b8063d2213b5b116100d9578063d2213b5b1461078e578063d39e6043146107ae578063d9247149146107ea578063dfca014214610812575f80fd5b8063caed989714610738578063cefa7fd614610749578063d1982d881461077b575f80fd5b8063b303aaf811610169578063bf8e179711610144578063bf8e1797146106b7578063c0c53b8b146106eb578063c1b8411a146106fe578063c3c5a54714610725575f80fd5b8063b303aaf814610681578063b624e2ba14610694578063bf7e214f146106a7575f80fd5b8063a48f42e014610606578063a5df9e4e14610619578063a7050a561461062c578063abbbbd0c1461063f578063ae8dfb7914610666578063b08c0b541461066e575f80fd5b80633fe9300e1161026b578063839f700c116102255780638e7b3927116102005780638e7b39271461058f5780638fb36037146105b657806396f4b69e146105d75780639b331e03146105fe575f80fd5b8063839f700c1461055f578063893d20e8146105675780638b09a5f01461056f575f80fd5b80633fe9300e1461047f578063598e2892146104a15780635c0e6264146104e05780635e546bee146104f3578063644c45e0146105245780637a9e5e4b1461054a575f80fd5b806314afd79e116102d65780632a0acc6a116102b15780632a0acc6a1461040c5780632b91e0a9146104335780632de837e01461044657806338bb429a1461046c575f80fd5b806314afd79e146103de57806317dc5e2a146103f15780631a848cfb14610404575f80fd5b806301f6b5a21461031d57806301ffc9a7146103435780630c9ad218146103665780630e9ed68b1461038057806311edceaa146103a5578063120726c3146103b8575b5f80fd5b61033061032b366004612dfb565b6108aa565b6040519081526020015b60405180910390f35b610356610351366004612e12565b6108ce565b604051901515815260200161033a565b61036e610912565b60405160ff909116815260200161033a565b600b546001600160a01b03165b6040516001600160a01b03909116815260200161033a565b6103566103b3366004612e5a565b61098d565b7f000000000000000000000000000000000000000000000000000000000000000061038d565b61038d6103ec366004612e94565b610a07565b6103566103ff366004612e94565b610b31565b610330610b96565b61038d7f000000000000000000000000000000000000000000000000000000000000000081565b610356610441366004612e94565b610c17565b7f000000000000000000000000000000000000000000000000000000000000000061038d565b61038d61047a366004612ece565b610c5a565b61049460405180602001604052805f81525081565b60405161033a9190612f17565b6104c87f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161033a565b6103566104ee366004612f29565b610ccd565b6104c8610501366004612e94565b6001600160a01b03165f908152600460205260409020546001600160601b031690565b7f00000000000000000000000000000000000000000000000000000000000000006104c8565b61055d610558366004612e94565b610d00565b005b610330600381565b61038d610d7d565b61058261057d366004612e94565b610d87565b60405161033a9190612f60565b61038d7f000000000000000000000000000000000000000000000000000000000000000081565b6105be610eee565b6040516001600160e01b0319909116815260200161033a565b6104c87f000000000000000000000000000000000000000000000000000000000000000081565b61036e610f10565b610582610614366004612ece565b610fd9565b6104c8610627366004613177565b6110a9565b6104c861063a3660046131a9565b6111f0565b6104c87f000000000000000000000000000000000000000000000000000000000000000081565b610330600281565b61055d61067c366004613209565b6114f8565b61035661068f36600461323d565b6117be565b6103566106a2366004613269565b6118e8565b5f546001600160a01b031661038d565b61038d6106c5366004612ece565b6001600160601b03165f908152600360205260409020600101546001600160a01b031690565b61055d6106f9366004613285565b611914565b61038d7f000000000000000000000000000000000000000000000000000000000000000081565b610356610733366004612e94565b611adb565b600a546001600160a01b031661038d565b6104c8610757366004612ece565b6001600160601b039081165f90815260036020526040902054600160601b90041690565b6104c8610789366004613177565b611b4f565b6107a161079c366004612e5a565b611cd9565b60405161033a91906132c2565b61038d6107bc366004613342565b60ff9081165f908152600560209081526040808320949093168252929092529020546001600160a01b031690565b6104c86107f8366004612dfb565b5f908152600160205260409020546001600160601b031690565b600954600160601b90046001600160a01b031661038d565b61038d7f000000000000000000000000000000000000000000000000000000000000000081565b61038d600181565b61038d611d82565b61035661086f366004612ece565b611e03565b61036e611e5c565b600254610330565b7f00000000000000000000000000000000000000000000000000000000000000006104c8565b5f600282815481106108be576108be61335e565b905f5260205f2001549050919050565b5f6001600160e01b031982166301ffc9a760e01b14806108fe57506001600160e01b03198216638e799a8960e01b145b1561090b57506001919050565b505f919050565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610964573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109889190613372565b905090565b6009546040516308f6e75560e11b815260ff831660048201525f91600160601b90046001600160a01b0316906311edceaa90602401602060405180830381865afa1580156109dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a01919061338d565b92915050565b6001600160a01b038181165f90815260046020819052604080832054905163046e44af60e11b81526001600160601b039091169181019190915290917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610aa7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610acb91906133a8565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610b0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0191906133c3565b6001600160a01b0381165f908152600460209081526040808320546001600160601b039081168452600390925280832054600160601b900490911680835290822054610b8f90600160c01b900460ff16600a5b60ff90811691161490565b9392505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098891906133de565b6001600160a01b0381165f908152600460209081526040808320546001600160601b031683526003909152812054610a0190600160c01b900460ff166008610b84565b60405163046e44af60e11b81526001600160601b03821660048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610a8c565b6001600160a01b0382165f908152600460205260408120546001600160601b0316610cf881846118e8565b949350505050565b5f5433906001600160a01b03168114610d3b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610d70576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d32565b610d7982611eae565b5050565b5f61098830610a07565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083165f908152600460209081526040808320546001600160601b039081168452600380845293829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b90910490911615156060830152600181015484166080830152600281015490931660a0820152908201805491929160c084019190610e67906133f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e93906133f5565b8015610ede5780601f10610eb557610100808354040283529160200191610ede565b820191905f5260205f20905b815481529060010190602001808311610ec157829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff16610f0457505f90565b50638fb3603760e01b90565b5f73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6009600c9054906101000a90046001600160a01b03166001600160a01b03166399a228e56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fa091906133de565b6040518263ffffffff1660e01b8152600401610fbe91815260200190565b602060405180830381865af4158015610964573d5f803e3d5ffd5b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b038083165f90815260036020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b03908116608084015260028401541660a08301528201805491929160c084019190610e67906133f5565b5f6110b6335b5f36611f01565b608082015160408301516110cb816002610b84565b806110dc57506110dc816003610b84565b806110ed57506110ed816008610b84565b156111105760405163f31ef22d60e01b815260ff82166004820152602401610d32565b6020848101516001600160601b03165f90815260039091526040902054600160c01b900460ff166001600160a01b0383166111945760ff8083165f90815260086020908152604080832085851684529091528120549091161515900361118f5782828260405163a5f1096d60e01b8152600401610d329392919061342d565b6111de565b60ff8083165f9081526007602090815260408083208585168452909152812054909116151590036111de5782828260405163a5f1096d60e01b8152600401610d329392919061342d565b6111e785611ff7565b95945050505050565b5f6111fa336110af565b60808401516001600160a01b03811661122657604051633eebb91d60e21b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90636f91962090602401602060405180830381865af4158015611276573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061129a919061338d565b156112c35760405163ed0967fb60e01b81526001600160a01b0382166004820152602401610d32565b60405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611313573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611337919061338d565b156113695760405163e3d112c960e01b81526001600160a01b038216600482015260ff85166024820152604401610d32565b6113858560400151611379600890565b60ff9081169116141590565b156113bd5760408086015190516369be9a4f60e01b81526001600160a01b038316600482015260ff9091166024820152604401610d32565b6113eb85602001517f0000000000000000000000000000000000000000000000000000000000000000612529565b15611432576020850151604051635b3eb3df60e11b81526001600160a01b038316600482015260ff861660248201526001600160601b039091166044820152606401610d32565b60ff8085165f908152600560209081526040808320938716835292905220546001600160a01b03161561147e5780848460405163ed45a40f60e01b8152600401610d329392919061342d565b60ff8481165f8181526005602090815260408083209488168084529482529182902080546001600160a01b0319166001600160a01b03871617905581519283528201929092527f734590b363e76e2926bd818a24a3bb5c847571db8d4ed0d6936a89be0df3355d910160405180910390a16111e785611ff7565b611501336110af565b466001146115245760405163e657d2e760e01b8152466004820152602401610d32565b815f0361154f576040516391b6b54560e01b81526001600160601b0384166004820152602401610d32565b6001600160a01b0381166115885760405163d608eeb560e01b81526001600160601b038416600482015260248101839052604401610d32565b60405163c2c7583960e01b815260026004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c2c7583990604401602060405180830381865afa1580156115f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161891906133de565b905061169b8473__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf846040518263ffffffff1660e01b815260040161165791815260200190565b602060405180830381865af4158015611672573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169691906133a8565b612529565b156116cb57604051636a5a213360e01b81526001600160601b038516600482015260248101849052604401610d32565b604080516001600160601b0386168152602081018590526001600160a01b0384168183015290517fd83bddddbe4323549e04478ee5156224d84fcb939f147eec3118363381b963369181900360600190a16117b8836040518060e00160405280876001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001611771600290565b60ff1681526020015f15158152602001856001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152505f6125ae565b50505050565b60405163046e44af60e11b81526001600160601b03831660048201525f906001600160a01b03808416917f000000000000000000000000000000000000000000000000000000000000000090911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af415801561184d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061187191906133a8565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156118b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118d791906133c3565b6001600160a01b0316149392505050565b6001600160601b0382165f9081526003602052604081205460ff838116600160c01b9092041614610b8f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156119595750825b90505f8267ffffffffffffffff1660011480156119755750303b155b905081158015611983575080155b156119a15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119cb57845460ff60401b1916600160401b1785555b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611a14576040516348fa508b60e01b815260040160405180910390fd5b600980546001600160a01b03808b16600160601b026001600160601b0390921691909117909155600a80548983166001600160a01b031991821617909155600b805492891692909116919091179055611a6b6126d8565b600980546001600160601b0319166001600160601b03929092169190911790558315611ad157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6001600160a01b0381165f9081526004602081905260408083205490516330b8415f60e01b81526001600160601b039091169181019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af41580156109dd573d5f803e3d5ffd5b5f611b59336110af565b6040808301516020808501516001600160601b03165f908152600382528381205460ff80851683526006909352939020549192600160c01b90048116911615611bb5576040516368f27c4360e11b815260040160405180910390fd5b611c248273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b849190613372565b80611c755750611c758173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c00573d5f803e3d5ffd5b80611c865750611c86816001610b84565b80611c975750611c97816003610b84565b80611ca85750611ca8816008610b84565b15611cd0578360800151828260405163a5f1096d60e01b8152600401610d329392919061342d565b610cf884611ff7565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820152600954915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03600160601b909104169063d2213b5b9060240160e060405180830381865afa158015611d5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a019190613465565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ddf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098891906133c3565b6001600160601b0381165f9081526003602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401611b34565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b0316630e6d1de96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610964573d5f803e3d5ffd5b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f80611f34611f175f546001600160a01b031690565b8630611f2660045f898b6134fa565b611f2f91613521565b612950565b9150915081611ff05763ffffffff811615611fcd575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90611f8e90889088908890600401613559565b5f604051808303815f87803b158015611fa5575f80fd5b505af1158015611fb7573d5f803e3d5ffd5b50505f805460ff60a01b1916905550611ff09050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610d32565b5050505050565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b038082165f90815260038085528c82208d5160e081018f5281548086168252600160601b81049095169681019690965260ff600160c01b850481169e87019e909e52600160c81b909304909c1615159984019990995260018101546001600160a01b039081169784019790975260028101549096169382019390935297840180549698959693959194929389939160c08401916120b8906133f5565b80601f01602080910402602001604051908101604052809291908181526020018280546120e4906133f5565b801561212f5780601f106121065761010080835404028352916020019161212f565b820191905f5260205f20905b81548152906001019060200180831161211257829003601f168201915b505050919092525050506080810151909150600146146121a557612173837f0000000000000000000000000000000000000000000000000000000000000000612a58565b156121a557604051633bf96e3760e01b81526001600160a01b038616600482015260ff88166024820152604401610d32565b5f6121b7878988866060015186612aa2565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061223a91906133de565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561228b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122af91906133a8565b9950898b5f01906001600160601b031690816001600160601b0316815250508a60035f8c6001600160601b03166001600160601b031681526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a81548160ff021916908360ff1602179055506060820151815f0160196101000a81548160ff0219169083151502179055506080820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816123f491906135dc565b509050506124028a88612af4565b604080516001600160601b038c811682528716602082015260ff8b168183015289151560608201526001600160a01b038981166080830152881660a082015290517f38e5bf390f69757c7ed89341b343bcb1e9c600d1630d07cb1da32350479e225b9181900360c00190a1604080516020810182525f8082529151631109bad360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163221375a6916124c9918b91889190600401613697565b6020604051808303815f875af11580156124e5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061250991906133de565b905081811461251a5761251a6136c2565b50505050505050505050919050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561258a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8f919061338d565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612614573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612638919061338d565b61266a578151604051631832397b60e21b81526001600160601b03909116600482015260248101849052604401610d32565b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018390556126d38282612bf7565b505050565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561272a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061274e91906133c3565b604051630559ea4760e01b8152600360048201529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630559ea4790602401602060405180830381865afa1580156127b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127da91906133de565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561282b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284f91906133a8565b92506128e96040518060e00160405280856001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b031681526020016128a5600390565b60ff1681525f6020808301829052600b546001600160a01b039081166040808601919091529088166060850152805191820190529081526080909101526001612bf7565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166309980bfd6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612935575f80fd5b505af1158015612947573d5f803e3d5ffd5b50505050505090565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516129be91906136d6565b5f60405180830381855afa9150503d805f81146129f6576040519150601f19603f3d011682016040523d82523d5f602084013e6129fb565b606091505b50915091508115612a4d576040815110612a2d5780806020019051810190612a2391906136ec565b9094509250612a4d565b6020815110612a4d5780806020019051810190612a4a919061338d565b93505b505094509492505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d9060440161256f565b5f612aae85601e610b84565b15612aba57505f6111e7565b6001600160a01b038416612adc578215612ad55750806111e7565b505f6111e7565b8515612ae95750826111e7565b505f95945050505050565b6001600160a01b03811615610d79576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b98919061338d565b15612bc157604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610d32565b6001600160a01b0381165f90815260046020526040902080546001600160601b0384166001600160601b03199091161790555050565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b19968816600160601b026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190612cc790826135dc565b509050508015612ce257612ce2825f01518360800151612af4565b60a0820151825160405163046e44af60e11b81526001600160601b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340c10f199173__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015612d71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d9591906133a8565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015612de1575f80fd5b505af1158015612df3573d5f803e3d5ffd5b505050505050565b5f60208284031215612e0b575f80fd5b5035919050565b5f60208284031215612e22575f80fd5b81356001600160e01b031981168114610b8f575f80fd5b60ff81168114612e47575f80fd5b50565b8035612e5581612e39565b919050565b5f60208284031215612e6a575f80fd5b8135610b8f81612e39565b6001600160a01b0381168114612e47575f80fd5b8035612e5581612e75565b5f60208284031215612ea4575f80fd5b8135610b8f81612e75565b6001600160601b0381168114612e47575f80fd5b8035612e5581612eaf565b5f60208284031215612ede575f80fd5b8135610b8f81612eaf565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b8f6020830184612ee9565b5f8060408385031215612f3a575f80fd5b8235612f4581612e75565b91506020830135612f5581612e39565b809150509250929050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612fa8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610cf8610100840182612ee9565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff8111828210171561302357613023612fec565b60405290565b8015158114612e47575f80fd5b8035612e5581613029565b5f82601f830112613050575f80fd5b813567ffffffffffffffff81111561306a5761306a612fec565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561309957613099612fec565b6040528181528382016020018510156130b0575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60e082840312156130dc575f80fd5b6130e4613000565b90506130ef82612ec3565b81526130fd60208301612ec3565b602082015261310e60408301612e4a565b604082015261311f60608301613036565b606082015261313060808301612e89565b608082015261314160a08301612e89565b60a082015260c082013567ffffffffffffffff81111561315f575f80fd5b61316b84828501613041565b60c08301525092915050565b5f60208284031215613187575f80fd5b813567ffffffffffffffff81111561319d575f80fd5b610cf8848285016130cc565b5f805f606084860312156131bb575f80fd5b833567ffffffffffffffff8111156131d1575f80fd5b6131dd868287016130cc565b93505060208401356131ee81612e39565b915060408401356131fe81612e39565b809150509250925092565b5f805f6060848603121561321b575f80fd5b833561322681612eaf565b92506020840135915060408401356131fe81612e75565b5f806040838503121561324e575f80fd5b823561325981612eaf565b91506020830135612f5581612e75565b5f806040838503121561327a575f80fd5b8235612f4581612eaf565b5f805f60608486031215613297575f80fd5b83356132a281612e75565b925060208401356132b281612e75565b915060408401356131fe81612e75565b5f60e08201905060018060a01b03835116825260ff602084015116602083015260ff604084015116604083015264ffffffffff60608401511660608301526080830151613318608084018264ffffffffff169052565b5060a083015161333360a08401826001600160a01b03169052565b5060c092830151919092015290565b5f8060408385031215613353575f80fd5b8235612f4581612e39565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215613382575f80fd5b8151610b8f81612e39565b5f6020828403121561339d575f80fd5b8151610b8f81613029565b5f602082840312156133b8575f80fd5b8151610b8f81612eaf565b5f602082840312156133d3575f80fd5b8151610b8f81612e75565b5f602082840312156133ee575f80fd5b5051919050565b600181811c9082168061340957607f821691505b60208210810361342757634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b805164ffffffffff81168114612e55575f80fd5b5f60e0828403128015613476575f80fd5b5061347f613000565b825161348a81612e75565b8152602083015161349a81612e39565b602082015260408301516134ad81612e39565b60408201526134be60608401613451565b60608201526134cf60808401613451565b608082015260a08301516134e281612e75565b60a082015260c0928301519281019290925250919050565b5f8085851115613508575f80fd5b83861115613514575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613552576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f8211156126d357805f5260205f20601f840160051c810160208510156135bd5750805b601f840160051c820191505b81811015611ff0575f81556001016135c9565b815167ffffffffffffffff8111156135f6576135f6612fec565b61360a8161360484546133f5565b84613598565b6020601f82116001811461363c575f83156136255750848201515b5f19600385901b1c1916600184901b178455611ff0565b5f84815260208120601f198516915b8281101561366b578785015182556020948501946001909201910161364b565b508482101561368857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b038481168252831660208201526060604082018190525f906111e790830184612ee9565b634e487b7160e01b5f52600160045260245ffd5b5f82518060208501845e5f920191825250919050565b5f80604083850312156136fd575f80fd5b825161370881613029565b602084015190925063ffffffff81168114612f55575f80fdfea26469706673582212209942c99fa1488750403816b38e651e7b2b12671c88ac8b4c072cdd70e51510c664736f6c634300081a0033608060405234801561000f575f80fd5b50604051611f86380380611f8683398101604081905261002e9161011d565b604051806060016040528060248152602001611f626024913960408051808201909152600681526511125413919560d21b60208201525f61006f83826101db565b50600161007c82826101db565b5050506001600160a01b0381166100a65760405163019aebf560e41b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383161790556100ca466100ec565b600d8190556100da90600a61038e565b600e55506004600f555f6010556103d0565b5f81815b8115610116578061010081610399565b915061010f9050600a836103b1565b91506100f0565b9392505050565b5f6020828403121561012d575f80fd5b81516001600160a01b0381168114610116575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061016b57607f821691505b60208210810361018957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101d657805f5260205f20601f840160051c810160208510156101b45750805b601f840160051c820191505b818110156101d3575f81556001016101c0565b50505b505050565b81516001600160401b038111156101f4576101f4610143565b610208816102028454610157565b8461018f565b6020601f82116001811461023a575f83156102235750848201515b5f19600385901b1c1916600184901b1784556101d3565b5f84815260208120601f198516915b828110156102695787850151825560209485019460019092019101610249565b508482101561028657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102e4578085048111156102c8576102c8610295565b60018416156102d657908102905b60019390931c9280026102ad565b935093915050565b5f826102fa57506001610388565b8161030657505f610388565b816001811461031c576002811461032657610342565b6001915050610388565b60ff84111561033757610337610295565b50506001821b610388565b5060208310610133831016604e8410600b8410161715610365575081810a610388565b6103715f1984846102a9565b805f190482111561038457610384610295565b0290505b92915050565b5f61011683836102ec565b5f600182016103aa576103aa610295565b5060010190565b5f826103cb57634e487b7160e01b5f52601260045260245ffd5b500490565b611b85806103dd5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80634f6ccce711610109578063a3f4df7e1161009e578063caa0f92a1161006e578063caa0f92a1461040c578063e985e9c514610414578063f21de1e814610427578063f76f8d7814610438575f80fd5b8063a3f4df7e146103cb578063b88d4fde146103d3578063c2c75839146103e6578063c87b56dd146103f9575f80fd5b8063862440e2116100d9578063862440e21461039557806395d89b41146103a8578063a22cb465146103b0578063a2309ff8146103c3575f80fd5b80634f6ccce714610353578063598e2892146103665780636352211e1461036f57806370a0823114610382575f80fd5b806323b872dd1161017f57806340c10f191161014f57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e7914610329575f80fd5b806323b872dd146102995780632e85b1f3146102ac5780632f745c59146102b5578063342ec443146102c8575f80fd5b8063081812fc116101ba578063081812fc1461023e578063095ea7b31461026957806318160ddd1461027e578063221375a614610286575f80fd5b806301ffc9a7146101e05780630559ea471461020857806306fdde0314610229575b5f80fd5b6101f36101ee3660046114af565b61045d565b60405190151581526020015b60405180910390f35b61021b6102163660046114ca565b610487565b6040519081526020016101ff565b6102316104b9565b6040516101ff919061150f565b61025161024c3660046114ca565b610548565b6040516001600160a01b0390911681526020016101ff565b61027c61027736600461153c565b61056f565b005b60085461021b565b61021b61029436600461160d565b61057e565b61027c6102a7366004611667565b610624565b61021b61083581565b61021b6102c336600461153c565b6106ce565b6102516102d63660046114ca565b5f908152600a60205260409020546001600160a01b031690565b61027c6102fe36600461153c565b610731565b61027c610311366004611667565b610769565b61027c6103243660046114ca565b610783565b6101f36103373660046114ca565b5f908152600260205260409020546001600160a01b0316151590565b61021b6103613660046114ca565b6107dc565b61021b61044d81565b61025161037d3660046114ca565b610831565b61021b6103903660046116a1565b61083b565b61027c6103a33660046116ba565b610880565b610231610928565b61027c6103be3660046116fe565b610937565b60105461021b565b610231610942565b61027c6103e1366004611737565b61095e565b61021b6103f43660046117ae565b61097b565b6102316104073660046114ca565b610a05565b61021b610aac565b6101f36104223660046117ce565b610abd565b600c546001600160a01b0316610251565b6102316040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610481575061048182610aea565b92915050565b5f600d5446600e548461049a9190611813565b6104a4919061182a565b6104af906064611813565b610481919061182a565b60605f80546104c79061183d565b80601f01602080910402602001604051908101604052809291908181526020018280546104f39061183d565b801561053e5780601f106105155761010080835404028352916020019161053e565b820191905f5260205f20905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b5f61055282610b39565b505f828152600460205260409020546001600160a01b0316610481565b61057a828233610b71565b5050565b600c545f906001600160a01b031633146105b257604051636db0231160e11b81523360048201526024015b60405180910390fd5b6105ba610b7e565b90506001600160a01b038316156105f2575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b815115610612575f818152600b6020526040902061061083826118b9565b505b61061d848285610ba3565b9392505050565b61062f838383610c07565b5f818152600a60205260409020546001600160a01b0316156106c9575f818152600a602052604090819020549051630568956b60e51b81526001600160a01b038581166004830152848116602483015260448201849052336064830181905292169063ad12ad60906084015f604051808303815f87803b1580156106b1575f80fd5b505af11580156106c3573d5f803e3d5ffd5b50505050505b505050565b5f6106d88361083b565b82106107095760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a9565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075e57604051636db0231160e11b81523360048201526024016105a9565b61057a82825f610ba3565b6106c983838360405180602001604052805f81525061095e565b600c546001600160a01b031633146107b057604051636db0231160e11b81523360048201526024016105a9565b6107b981610b39565b506107c381610c8a565b5f818152600b602052604081206107d991611450565b50565b5f6107e660085490565b821061080e5760405163295f44f760e21b81525f6004820152602481018390526044016105a9565b6008828154811061082157610821611974565b905f5260205f2001549050919050565b5f61048182610b39565b5f6001600160a01b038216610865576040516322718ad960e21b81525f60048201526024016105a9565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b031633146108ad57604051636db0231160e11b81523360048201526024016105a9565b80515f036108ce57604051639827d56160e01b815260040160405180910390fd5b5f828152600b6020526040812080546108e69061183d565b90501115610907576040516310500e0d60e11b815260040160405180910390fd5b61091082610b39565b505f828152600b602052604090206106c982826118b9565b6060600180546104c79061183d565b61057a338383610cc2565b604051806060016040528060248152602001611b2c6024913981565b610969848484610624565b61097584848484610d60565b50505050565b5f4682036109bb57600d5482600e54856109959190611813565b61099f919061182a565b6109aa906064611813565b6109b4919061182a565b9050610481565b5f6109c583610e86565b905080836109d482600a611a6b565b6109de9087611813565b6109e8919061182a565b6109f3906064611813565b6109fd919061182a565b915050610481565b6060610a1082610b39565b505f828152600b602052604090208054610a299061183d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a559061183d565b8015610aa05780601f10610a7757610100808354040283529160200191610aa0565b820191905f5260205f20905b815481529060010190602001808311610a8357829003601f168201915b50505050509050919050565b5f610ab8600f54610487565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610b1a57506001600160e01b03198216635b5e139f60e01b145b8061048157506301ffc9a760e01b6001600160e01b0319831614610481565b5f818152600260205260408120546001600160a01b03168061048157604051637e27328960e01b8152600481018490526024016105a9565b6106c98383836001610eb0565b5f610b8a600f54610487565b600f80549192505f610b9b83611a76565b919050555090565b60108054905f610bb283611a76565b9190505550610bc18383610fb4565b604080518381526001600160a01b03831660208201527f453826441818dd705229212b6345c5fbc2094ee234f134ae2cb2bdf74dc1ccfe910160405180910390a1505050565b6001600160a01b038216610c3057604051633250574960e11b81525f60048201526024016105a9565b5f610c3c838333610fcd565b9050836001600160a01b0316816001600160a01b031614610975576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a9565b5f610c965f835f610fcd565b90506001600160a01b03811661057a57604051637e27328960e01b8152600481018390526024016105a9565b6001600160a01b038216610cf457604051630b61174360e31b81526001600160a01b03831660048201526024016105a9565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561097557604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610da2903390889087908790600401611a8e565b6020604051808303815f875af1925050508015610ddc575060408051601f3d908101601f19168201909252610dd991810190611aca565b60015b610e43573d808015610e09576040519150601f19603f3d011682016040523d82523d5f602084013e610e0e565b606091505b5080515f03610e3b57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e7f57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b5050505050565b5f81815b811561061d5780610e9a81611a76565b9150610ea99050600a83611ae5565b9150610e8a565b8080610ec457506001600160a01b03821615155b15610f85575f610ed384610b39565b90506001600160a01b03831615801590610eff5750826001600160a01b0316816001600160a01b031614155b8015610f125750610f108184610abd565b155b15610f3b5760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a9565b8115610f835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61057a828260405180602001604052805f8152506110a0565b5f80610fda8585856110b6565b90506001600160a01b0381166110365761103184600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611059565b846001600160a01b0316816001600160a01b0316146110595761105981856111a8565b6001600160a01b0385166110755761107084611235565b611098565b846001600160a01b0316816001600160a01b0316146110985761109885856112dc565b949350505050565b6110aa838361132a565b6106c95f848484610d60565b5f828152600260205260408120546001600160a01b03908116908316156110e2576110e281848661138b565b6001600160a01b0381161561111c576110fd5f855f80610eb0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b0385161561114a576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f6111b28361083b565b5f83815260076020526040902054909150808214611203576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f9061124690600190611b04565b5f838152600960205260408120546008805493945090928490811061126d5761126d611974565b905f5260205f2001549050806008838154811061128c5761128c611974565b5f9182526020808320909101929092558281526009909152604080822084905585825281205560088054806112c3576112c3611b17565b600190038181905f5260205f20015f9055905550505050565b5f60016112e88461083b565b6112f29190611b04565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661135357604051633250574960e11b81525f60048201526024016105a9565b5f61135f83835f610fcd565b90506001600160a01b038116156106c9576040516339e3563760e11b81525f60048201526024016105a9565b6113968383836113ef565b6106c9576001600160a01b0383166113c457604051637e27328960e01b8152600481018290526024016105a9565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a9565b5f6001600160a01b038316158015906110985750826001600160a01b0316846001600160a01b0316148061142857506114288484610abd565b806110985750505f908152600460205260409020546001600160a01b03908116911614919050565b50805461145c9061183d565b5f825580601f1061146b575050565b601f0160209004905f5260205f20908101906107d991905b80821115611496575f8155600101611483565b5090565b6001600160e01b0319811681146107d9575f80fd5b5f602082840312156114bf575f80fd5b813561061d8161149a565b5f602082840312156114da575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61061d60208301846114e1565b80356001600160a01b0381168114611537575f80fd5b919050565b5f806040838503121561154d575f80fd5b61155683611521565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561159257611592611564565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156115c1576115c1611564565b6040528381529050808284018510156115d8575f80fd5b838360208301375f60208583010152509392505050565b5f82601f8301126115fe575f80fd5b61061d83833560208501611578565b5f805f6060848603121561161f575f80fd5b61162884611521565b925061163660208501611521565b9150604084013567ffffffffffffffff811115611651575f80fd5b61165d868287016115ef565b9150509250925092565b5f805f60608486031215611679575f80fd5b61168284611521565b925061169060208501611521565b929592945050506040919091013590565b5f602082840312156116b1575f80fd5b61061d82611521565b5f80604083850312156116cb575f80fd5b82359150602083013567ffffffffffffffff8111156116e8575f80fd5b6116f4858286016115ef565b9150509250929050565b5f806040838503121561170f575f80fd5b61171883611521565b91506020830135801515811461172c575f80fd5b809150509250929050565b5f805f806080858703121561174a575f80fd5b61175385611521565b935061176160208601611521565b925060408501359150606085013567ffffffffffffffff811115611783575f80fd5b8501601f81018713611793575f80fd5b6117a287823560208401611578565b91505092959194509250565b5f80604083850312156117bf575f80fd5b50508035926020909101359150565b5f80604083850312156117df575f80fd5b6117e883611521565b91506117f660208401611521565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610481576104816117ff565b80820180821115610481576104816117ff565b600181811c9082168061185157607f821691505b60208210810361186f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156106c957805f5260205f20601f840160051c8101602085101561189a5750805b601f840160051c820191505b81811015610e7f575f81556001016118a6565b815167ffffffffffffffff8111156118d3576118d3611564565b6118e7816118e1845461183d565b84611875565b6020601f821160018114611919575f83156119025750848201515b5f19600385901b1c1916600184901b178455610e7f565b5f84815260208120601f198516915b828110156119485787850151825560209485019460019092019101611928565b508482101561196557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b6001815b60018411156119c3578085048111156119a7576119a76117ff565b60018416156119b557908102905b60019390931c92800261198c565b935093915050565b5f826119d957506001610481565b816119e557505f610481565b81600181146119fb5760028114611a0557611a21565b6001915050610481565b60ff841115611a1657611a166117ff565b50506001821b610481565b5060208310610133831016604e8410600b8410161715611a44575081810a610481565b611a505f198484611988565b805f1904821115611a6357611a636117ff565b029392505050565b5f61061d83836119cb565b5f60018201611a8757611a876117ff565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611ac0908301846114e1565b9695505050505050565b5f60208284031215611ada575f80fd5b815161061d8161149a565b5f82611aff57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610481576104816117ff565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a26469706673582212201d31494400f2f6b1803c0ba290746b839b92f1ea950e7d4b79b95b462fe31cb464736f6c634300081a003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
1513
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610319575f3560e01c8063a48f42e0116101af578063caed9897116100fe578063e278c9241161009e578063e74d052f11610079578063e74d052f14610861578063eac1c7fb14610874578063fbe4b7c01461087c578063fff74f6c14610884575f80fd5b8063e278c9241461082a578063e285c9c414610851578063e2b178a014610859575f80fd5b8063d2213b5b116100d9578063d2213b5b1461078e578063d39e6043146107ae578063d9247149146107ea578063dfca014214610812575f80fd5b8063caed989714610738578063cefa7fd614610749578063d1982d881461077b575f80fd5b8063b303aaf811610169578063bf8e179711610144578063bf8e1797146106b7578063c0c53b8b146106eb578063c1b8411a146106fe578063c3c5a54714610725575f80fd5b8063b303aaf814610681578063b624e2ba14610694578063bf7e214f146106a7575f80fd5b8063a48f42e014610606578063a5df9e4e14610619578063a7050a561461062c578063abbbbd0c1461063f578063ae8dfb7914610666578063b08c0b541461066e575f80fd5b80633fe9300e1161026b578063839f700c116102255780638e7b3927116102005780638e7b39271461058f5780638fb36037146105b657806396f4b69e146105d75780639b331e03146105fe575f80fd5b8063839f700c1461055f578063893d20e8146105675780638b09a5f01461056f575f80fd5b80633fe9300e1461047f578063598e2892146104a15780635c0e6264146104e05780635e546bee146104f3578063644c45e0146105245780637a9e5e4b1461054a575f80fd5b806314afd79e116102d65780632a0acc6a116102b15780632a0acc6a1461040c5780632b91e0a9146104335780632de837e01461044657806338bb429a1461046c575f80fd5b806314afd79e146103de57806317dc5e2a146103f15780631a848cfb14610404575f80fd5b806301f6b5a21461031d57806301ffc9a7146103435780630c9ad218146103665780630e9ed68b1461038057806311edceaa146103a5578063120726c3146103b8575b5f80fd5b61033061032b366004612dfb565b6108aa565b6040519081526020015b60405180910390f35b610356610351366004612e12565b6108ce565b604051901515815260200161033a565b61036e610912565b60405160ff909116815260200161033a565b600b546001600160a01b03165b6040516001600160a01b03909116815260200161033a565b6103566103b3366004612e5a565b61098d565b7f000000000000000000000000000000000000000000000000000000000000000061038d565b61038d6103ec366004612e94565b610a07565b6103566103ff366004612e94565b610b31565b610330610b96565b61038d7f000000000000000000000000000000000000000000000000000000000000000081565b610356610441366004612e94565b610c17565b7f000000000000000000000000000000000000000000000000000000000000000061038d565b61038d61047a366004612ece565b610c5a565b61049460405180602001604052805f81525081565b60405161033a9190612f17565b6104c87f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161033a565b6103566104ee366004612f29565b610ccd565b6104c8610501366004612e94565b6001600160a01b03165f908152600460205260409020546001600160601b031690565b7f00000000000000000000000000000000000000000000000000000000000000006104c8565b61055d610558366004612e94565b610d00565b005b610330600381565b61038d610d7d565b61058261057d366004612e94565b610d87565b60405161033a9190612f60565b61038d7f000000000000000000000000000000000000000000000000000000000000000081565b6105be610eee565b6040516001600160e01b0319909116815260200161033a565b6104c87f000000000000000000000000000000000000000000000000000000000000000081565b61036e610f10565b610582610614366004612ece565b610fd9565b6104c8610627366004613177565b6110a9565b6104c861063a3660046131a9565b6111f0565b6104c87f000000000000000000000000000000000000000000000000000000000000000081565b610330600281565b61055d61067c366004613209565b6114f8565b61035661068f36600461323d565b6117be565b6103566106a2366004613269565b6118e8565b5f546001600160a01b031661038d565b61038d6106c5366004612ece565b6001600160601b03165f908152600360205260409020600101546001600160a01b031690565b61055d6106f9366004613285565b611914565b61038d7f000000000000000000000000000000000000000000000000000000000000000081565b610356610733366004612e94565b611adb565b600a546001600160a01b031661038d565b6104c8610757366004612ece565b6001600160601b039081165f90815260036020526040902054600160601b90041690565b6104c8610789366004613177565b611b4f565b6107a161079c366004612e5a565b611cd9565b60405161033a91906132c2565b61038d6107bc366004613342565b60ff9081165f908152600560209081526040808320949093168252929092529020546001600160a01b031690565b6104c86107f8366004612dfb565b5f908152600160205260409020546001600160601b031690565b600954600160601b90046001600160a01b031661038d565b61038d7f000000000000000000000000000000000000000000000000000000000000000081565b61038d600181565b61038d611d82565b61035661086f366004612ece565b611e03565b61036e611e5c565b600254610330565b7f00000000000000000000000000000000000000000000000000000000000000006104c8565b5f600282815481106108be576108be61335e565b905f5260205f2001549050919050565b5f6001600160e01b031982166301ffc9a760e01b14806108fe57506001600160e01b03198216638e799a8960e01b145b1561090b57506001919050565b505f919050565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610964573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109889190613372565b905090565b6009546040516308f6e75560e11b815260ff831660048201525f91600160601b90046001600160a01b0316906311edceaa90602401602060405180830381865afa1580156109dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a01919061338d565b92915050565b6001600160a01b038181165f90815260046020819052604080832054905163046e44af60e11b81526001600160601b039091169181019190915290917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610aa7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610acb91906133a8565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610b0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0191906133c3565b6001600160a01b0381165f908152600460209081526040808320546001600160601b039081168452600390925280832054600160601b900490911680835290822054610b8f90600160c01b900460ff16600a5b60ff90811691161490565b9392505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098891906133de565b6001600160a01b0381165f908152600460209081526040808320546001600160601b031683526003909152812054610a0190600160c01b900460ff166008610b84565b60405163046e44af60e11b81526001600160601b03821660048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610a8c565b6001600160a01b0382165f908152600460205260408120546001600160601b0316610cf881846118e8565b949350505050565b5f5433906001600160a01b03168114610d3b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610d70576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d32565b610d7982611eae565b5050565b5f61098830610a07565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083165f908152600460209081526040808320546001600160601b039081168452600380845293829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b90910490911615156060830152600181015484166080830152600281015490931660a0820152908201805491929160c084019190610e67906133f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e93906133f5565b8015610ede5780601f10610eb557610100808354040283529160200191610ede565b820191905f5260205f20905b815481529060010190602001808311610ec157829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff16610f0457505f90565b50638fb3603760e01b90565b5f73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6009600c9054906101000a90046001600160a01b03166001600160a01b03166399a228e56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fa091906133de565b6040518263ffffffff1660e01b8152600401610fbe91815260200190565b602060405180830381865af4158015610964573d5f803e3d5ffd5b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b038083165f90815260036020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b03908116608084015260028401541660a08301528201805491929160c084019190610e67906133f5565b5f6110b6335b5f36611f01565b608082015160408301516110cb816002610b84565b806110dc57506110dc816003610b84565b806110ed57506110ed816008610b84565b156111105760405163f31ef22d60e01b815260ff82166004820152602401610d32565b6020848101516001600160601b03165f90815260039091526040902054600160c01b900460ff166001600160a01b0383166111945760ff8083165f90815260086020908152604080832085851684529091528120549091161515900361118f5782828260405163a5f1096d60e01b8152600401610d329392919061342d565b6111de565b60ff8083165f9081526007602090815260408083208585168452909152812054909116151590036111de5782828260405163a5f1096d60e01b8152600401610d329392919061342d565b6111e785611ff7565b95945050505050565b5f6111fa336110af565b60808401516001600160a01b03811661122657604051633eebb91d60e21b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90636f91962090602401602060405180830381865af4158015611276573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061129a919061338d565b156112c35760405163ed0967fb60e01b81526001600160a01b0382166004820152602401610d32565b60405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611313573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611337919061338d565b156113695760405163e3d112c960e01b81526001600160a01b038216600482015260ff85166024820152604401610d32565b6113858560400151611379600890565b60ff9081169116141590565b156113bd5760408086015190516369be9a4f60e01b81526001600160a01b038316600482015260ff9091166024820152604401610d32565b6113eb85602001517f0000000000000000000000000000000000000000000000000000000000000000612529565b15611432576020850151604051635b3eb3df60e11b81526001600160a01b038316600482015260ff861660248201526001600160601b039091166044820152606401610d32565b60ff8085165f908152600560209081526040808320938716835292905220546001600160a01b03161561147e5780848460405163ed45a40f60e01b8152600401610d329392919061342d565b60ff8481165f8181526005602090815260408083209488168084529482529182902080546001600160a01b0319166001600160a01b03871617905581519283528201929092527f734590b363e76e2926bd818a24a3bb5c847571db8d4ed0d6936a89be0df3355d910160405180910390a16111e785611ff7565b611501336110af565b466001146115245760405163e657d2e760e01b8152466004820152602401610d32565b815f0361154f576040516391b6b54560e01b81526001600160601b0384166004820152602401610d32565b6001600160a01b0381166115885760405163d608eeb560e01b81526001600160601b038416600482015260248101839052604401610d32565b60405163c2c7583960e01b815260026004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c2c7583990604401602060405180830381865afa1580156115f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161891906133de565b905061169b8473__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf846040518263ffffffff1660e01b815260040161165791815260200190565b602060405180830381865af4158015611672573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169691906133a8565b612529565b156116cb57604051636a5a213360e01b81526001600160601b038516600482015260248101849052604401610d32565b604080516001600160601b0386168152602081018590526001600160a01b0384168183015290517fd83bddddbe4323549e04478ee5156224d84fcb939f147eec3118363381b963369181900360600190a16117b8836040518060e00160405280876001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001611771600290565b60ff1681526020015f15158152602001856001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152505f6125ae565b50505050565b60405163046e44af60e11b81526001600160601b03831660048201525f906001600160a01b03808416917f000000000000000000000000000000000000000000000000000000000000000090911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af415801561184d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061187191906133a8565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156118b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118d791906133c3565b6001600160a01b0316149392505050565b6001600160601b0382165f9081526003602052604081205460ff838116600160c01b9092041614610b8f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156119595750825b90505f8267ffffffffffffffff1660011480156119755750303b155b905081158015611983575080155b156119a15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119cb57845460ff60401b1916600160401b1785555b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611a14576040516348fa508b60e01b815260040160405180910390fd5b600980546001600160a01b03808b16600160601b026001600160601b0390921691909117909155600a80548983166001600160a01b031991821617909155600b805492891692909116919091179055611a6b6126d8565b600980546001600160601b0319166001600160601b03929092169190911790558315611ad157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6001600160a01b0381165f9081526004602081905260408083205490516330b8415f60e01b81526001600160601b039091169181019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af41580156109dd573d5f803e3d5ffd5b5f611b59336110af565b6040808301516020808501516001600160601b03165f908152600382528381205460ff80851683526006909352939020549192600160c01b90048116911615611bb5576040516368f27c4360e11b815260040160405180910390fd5b611c248273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b849190613372565b80611c755750611c758173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c00573d5f803e3d5ffd5b80611c865750611c86816001610b84565b80611c975750611c97816003610b84565b80611ca85750611ca8816008610b84565b15611cd0578360800151828260405163a5f1096d60e01b8152600401610d329392919061342d565b610cf884611ff7565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820152600954915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03600160601b909104169063d2213b5b9060240160e060405180830381865afa158015611d5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a019190613465565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ddf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098891906133c3565b6001600160601b0381165f9081526003602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401611b34565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b0316630e6d1de96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610964573d5f803e3d5ffd5b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f80611f34611f175f546001600160a01b031690565b8630611f2660045f898b6134fa565b611f2f91613521565b612950565b9150915081611ff05763ffffffff811615611fcd575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90611f8e90889088908890600401613559565b5f604051808303815f87803b158015611fa5575f80fd5b505af1158015611fb7573d5f803e3d5ffd5b50505f805460ff60a01b1916905550611ff09050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610d32565b5050505050565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b038082165f90815260038085528c82208d5160e081018f5281548086168252600160601b81049095169681019690965260ff600160c01b850481169e87019e909e52600160c81b909304909c1615159984019990995260018101546001600160a01b039081169784019790975260028101549096169382019390935297840180549698959693959194929389939160c08401916120b8906133f5565b80601f01602080910402602001604051908101604052809291908181526020018280546120e4906133f5565b801561212f5780601f106121065761010080835404028352916020019161212f565b820191905f5260205f20905b81548152906001019060200180831161211257829003601f168201915b505050919092525050506080810151909150600146146121a557612173837f0000000000000000000000000000000000000000000000000000000000000000612a58565b156121a557604051633bf96e3760e01b81526001600160a01b038616600482015260ff88166024820152604401610d32565b5f6121b7878988866060015186612aa2565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061223a91906133de565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561228b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122af91906133a8565b9950898b5f01906001600160601b031690816001600160601b0316815250508a60035f8c6001600160601b03166001600160601b031681526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a81548160ff021916908360ff1602179055506060820151815f0160196101000a81548160ff0219169083151502179055506080820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816123f491906135dc565b509050506124028a88612af4565b604080516001600160601b038c811682528716602082015260ff8b168183015289151560608201526001600160a01b038981166080830152881660a082015290517f38e5bf390f69757c7ed89341b343bcb1e9c600d1630d07cb1da32350479e225b9181900360c00190a1604080516020810182525f8082529151631109bad360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163221375a6916124c9918b91889190600401613697565b6020604051808303815f875af11580156124e5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061250991906133de565b905081811461251a5761251a6136c2565b50505050505050505050919050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561258a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8f919061338d565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612614573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612638919061338d565b61266a578151604051631832397b60e21b81526001600160601b03909116600482015260248101849052604401610d32565b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018390556126d38282612bf7565b505050565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561272a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061274e91906133c3565b604051630559ea4760e01b8152600360048201529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630559ea4790602401602060405180830381865afa1580156127b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127da91906133de565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561282b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284f91906133a8565b92506128e96040518060e00160405280856001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b031681526020016128a5600390565b60ff1681525f6020808301829052600b546001600160a01b039081166040808601919091529088166060850152805191820190529081526080909101526001612bf7565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166309980bfd6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612935575f80fd5b505af1158015612947573d5f803e3d5ffd5b50505050505090565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516129be91906136d6565b5f60405180830381855afa9150503d805f81146129f6576040519150601f19603f3d011682016040523d82523d5f602084013e6129fb565b606091505b50915091508115612a4d576040815110612a2d5780806020019051810190612a2391906136ec565b9094509250612a4d565b6020815110612a4d5780806020019051810190612a4a919061338d565b93505b505094509492505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d9060440161256f565b5f612aae85601e610b84565b15612aba57505f6111e7565b6001600160a01b038416612adc578215612ad55750806111e7565b505f6111e7565b8515612ae95750826111e7565b505f95945050505050565b6001600160a01b03811615610d79576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b98919061338d565b15612bc157604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610d32565b6001600160a01b0381165f90815260046020526040902080546001600160601b0384166001600160601b03199091161790555050565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b19968816600160601b026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190612cc790826135dc565b509050508015612ce257612ce2825f01518360800151612af4565b60a0820151825160405163046e44af60e11b81526001600160601b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340c10f199173__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015612d71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d9591906133a8565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015612de1575f80fd5b505af1158015612df3573d5f803e3d5ffd5b505050505050565b5f60208284031215612e0b575f80fd5b5035919050565b5f60208284031215612e22575f80fd5b81356001600160e01b031981168114610b8f575f80fd5b60ff81168114612e47575f80fd5b50565b8035612e5581612e39565b919050565b5f60208284031215612e6a575f80fd5b8135610b8f81612e39565b6001600160a01b0381168114612e47575f80fd5b8035612e5581612e75565b5f60208284031215612ea4575f80fd5b8135610b8f81612e75565b6001600160601b0381168114612e47575f80fd5b8035612e5581612eaf565b5f60208284031215612ede575f80fd5b8135610b8f81612eaf565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b8f6020830184612ee9565b5f8060408385031215612f3a575f80fd5b8235612f4581612e75565b91506020830135612f5581612e39565b809150509250929050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612fa8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610cf8610100840182612ee9565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff8111828210171561302357613023612fec565b60405290565b8015158114612e47575f80fd5b8035612e5581613029565b5f82601f830112613050575f80fd5b813567ffffffffffffffff81111561306a5761306a612fec565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561309957613099612fec565b6040528181528382016020018510156130b0575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60e082840312156130dc575f80fd5b6130e4613000565b90506130ef82612ec3565b81526130fd60208301612ec3565b602082015261310e60408301612e4a565b604082015261311f60608301613036565b606082015261313060808301612e89565b608082015261314160a08301612e89565b60a082015260c082013567ffffffffffffffff81111561315f575f80fd5b61316b84828501613041565b60c08301525092915050565b5f60208284031215613187575f80fd5b813567ffffffffffffffff81111561319d575f80fd5b610cf8848285016130cc565b5f805f606084860312156131bb575f80fd5b833567ffffffffffffffff8111156131d1575f80fd5b6131dd868287016130cc565b93505060208401356131ee81612e39565b915060408401356131fe81612e39565b809150509250925092565b5f805f6060848603121561321b575f80fd5b833561322681612eaf565b92506020840135915060408401356131fe81612e75565b5f806040838503121561324e575f80fd5b823561325981612eaf565b91506020830135612f5581612e75565b5f806040838503121561327a575f80fd5b8235612f4581612eaf565b5f805f60608486031215613297575f80fd5b83356132a281612e75565b925060208401356132b281612e75565b915060408401356131fe81612e75565b5f60e08201905060018060a01b03835116825260ff602084015116602083015260ff604084015116604083015264ffffffffff60608401511660608301526080830151613318608084018264ffffffffff169052565b5060a083015161333360a08401826001600160a01b03169052565b5060c092830151919092015290565b5f8060408385031215613353575f80fd5b8235612f4581612e39565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215613382575f80fd5b8151610b8f81612e39565b5f6020828403121561339d575f80fd5b8151610b8f81613029565b5f602082840312156133b8575f80fd5b8151610b8f81612eaf565b5f602082840312156133d3575f80fd5b8151610b8f81612e75565b5f602082840312156133ee575f80fd5b5051919050565b600181811c9082168061340957607f821691505b60208210810361342757634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b805164ffffffffff81168114612e55575f80fd5b5f60e0828403128015613476575f80fd5b5061347f613000565b825161348a81612e75565b8152602083015161349a81612e39565b602082015260408301516134ad81612e39565b60408201526134be60608401613451565b60608201526134cf60808401613451565b608082015260a08301516134e281612e75565b60a082015260c0928301519281019290925250919050565b5f8085851115613508575f80fd5b83861115613514575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613552576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f8211156126d357805f5260205f20601f840160051c810160208510156135bd5750805b601f840160051c820191505b81811015611ff0575f81556001016135c9565b815167ffffffffffffffff8111156135f6576135f6612fec565b61360a8161360484546133f5565b84613598565b6020601f82116001811461363c575f83156136255750848201515b5f19600385901b1c1916600184901b178455611ff0565b5f84815260208120601f198516915b8281101561366b578785015182556020948501946001909201910161364b565b508482101561368857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b038481168252831660208201526060604082018190525f906111e790830184612ee9565b634e487b7160e01b5f52600160045260245ffd5b5f82518060208501845e5f920191825250919050565b5f80604083850312156136fd575f80fd5b825161370881613029565b602084015190925063ffffffff81168114612f55575f80fdfea26469706673582212209942c99fa1488750403816b38e651e7b2b12671c88ac8b4c072cdd70e51510c664736f6c634300081a0033",
412
1514
  "linkReferences": {
413
- "contracts/types/NftId.sol": {
1515
+ "contracts/type/NftId.sol": {
414
1516
  "NftIdLib": [
415
1517
  {
416
1518
  "length": 20,
417
- "start": 1248
1519
+ "start": 277
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 789
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 914
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 1225
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 3294
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 3539
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 3888
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 7522
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 8095
1552
+ },
1553
+ {
1554
+ "length": 20,
1555
+ "start": 10516
1556
+ },
1557
+ {
1558
+ "length": 20,
1559
+ "start": 11017
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 11786
1564
+ },
1565
+ {
1566
+ "length": 20,
1567
+ "start": 13639
1568
+ },
1569
+ {
1570
+ "length": 20,
1571
+ "start": 14405
418
1572
  },
419
1573
  {
420
1574
  "length": 20,
421
- "start": 4116
1575
+ "start": 14544
422
1576
  },
423
1577
  {
424
1578
  "length": 20,
425
- "start": 4802
1579
+ "start": 15079
426
1580
  },
427
1581
  {
428
1582
  "length": 20,
429
- "start": 4962
1583
+ "start": 15732
1584
+ },
1585
+ {
1586
+ "length": 20,
1587
+ "start": 15920
1588
+ },
1589
+ {
1590
+ "length": 20,
1591
+ "start": 16429
430
1592
  }
431
1593
  ]
432
1594
  },
433
- "contracts/types/ObjectType.sol": {
1595
+ "contracts/type/ObjectType.sol": {
434
1596
  "ObjectTypeLib": [
435
1597
  {
436
1598
  "length": 20,
437
- "start": 5216
1599
+ "start": 9679
1600
+ },
1601
+ {
1602
+ "length": 20,
1603
+ "start": 11951
1604
+ },
1605
+ {
1606
+ "length": 20,
1607
+ "start": 12068
1608
+ },
1609
+ {
1610
+ "length": 20,
1611
+ "start": 12590
1612
+ }
1613
+ ]
1614
+ },
1615
+ "contracts/type/Version.sol": {
1616
+ "VersionPartLib": [
1617
+ {
1618
+ "length": 20,
1619
+ "start": 8711
1620
+ },
1621
+ {
1622
+ "length": 20,
1623
+ "start": 9522
438
1624
  }
439
1625
  ]
440
1626
  }
441
1627
  },
442
1628
  "deployedLinkReferences": {
443
- "contracts/types/NftId.sol": {
1629
+ "contracts/type/NftId.sol": {
444
1630
  "NftIdLib": [
445
1631
  {
446
1632
  "length": 20,
447
- "start": 1216
1633
+ "start": 2670
1634
+ },
1635
+ {
1636
+ "length": 20,
1637
+ "start": 3243
1638
+ },
1639
+ {
1640
+ "length": 20,
1641
+ "start": 5664
1642
+ },
1643
+ {
1644
+ "length": 20,
1645
+ "start": 6165
448
1646
  },
449
1647
  {
450
1648
  "length": 20,
451
- "start": 4084
1649
+ "start": 6934
452
1650
  },
453
1651
  {
454
1652
  "length": 20,
455
- "start": 4770
1653
+ "start": 8787
456
1654
  },
457
1655
  {
458
1656
  "length": 20,
459
- "start": 4930
1657
+ "start": 9553
1658
+ },
1659
+ {
1660
+ "length": 20,
1661
+ "start": 9692
1662
+ },
1663
+ {
1664
+ "length": 20,
1665
+ "start": 10227
1666
+ },
1667
+ {
1668
+ "length": 20,
1669
+ "start": 10880
1670
+ },
1671
+ {
1672
+ "length": 20,
1673
+ "start": 11068
1674
+ },
1675
+ {
1676
+ "length": 20,
1677
+ "start": 11577
460
1678
  }
461
1679
  ]
462
1680
  },
463
- "contracts/types/ObjectType.sol": {
1681
+ "contracts/type/ObjectType.sol": {
464
1682
  "ObjectTypeLib": [
465
1683
  {
466
1684
  "length": 20,
467
- "start": 5184
1685
+ "start": 4827
1686
+ },
1687
+ {
1688
+ "length": 20,
1689
+ "start": 7099
1690
+ },
1691
+ {
1692
+ "length": 20,
1693
+ "start": 7216
1694
+ },
1695
+ {
1696
+ "length": 20,
1697
+ "start": 7738
1698
+ }
1699
+ ]
1700
+ },
1701
+ "contracts/type/Version.sol": {
1702
+ "VersionPartLib": [
1703
+ {
1704
+ "length": 20,
1705
+ "start": 3859
1706
+ },
1707
+ {
1708
+ "length": 20,
1709
+ "start": 4670
468
1710
  }
469
1711
  ]
470
1712
  }