@etherisc/gif-next 0.0.2-de7c770-422 → 0.0.2-de9ede4-391

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. package/README.md +28 -7
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1000 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +746 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +767 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +103 -63
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  15. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  18. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  20. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  22. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +159 -209
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +99 -125
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +180 -86
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +139 -64
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +87 -108
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +52 -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 +1441 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1991 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -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 +1 -1
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +187 -169
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +131 -157
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +282 -194
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +564 -249
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +147 -42
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +116 -48
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +53 -101
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +149 -60
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +196 -138
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +58 -85
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +687 -84
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +118 -148
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +107 -44
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +475 -116
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  97. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +119 -169
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  108. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +82 -103
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +95 -121
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +147 -79
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +127 -40
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +115 -141
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +148 -150
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +121 -70
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +48 -33
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +102 -134
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +272 -185
  133. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  134. package/artifacts/contracts/pool/Pool.sol/Pool.json +115 -152
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +413 -263
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +144 -45
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +119 -45
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +103 -40
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +158 -138
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +200 -86
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +144 -61
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +63 -7
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +64 -8
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +178 -19
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +80 -51
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +141 -116
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +29 -0
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +328 -119
  165. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +150 -55
  167. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  168. package/artifacts/contracts/product/PricingService.sol/PricingService.json +170 -107
  169. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +119 -48
  171. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  172. package/artifacts/contracts/product/Product.sol/Product.json +154 -134
  173. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  174. package/artifacts/contracts/product/RiskService.sol/RiskService.json +81 -26
  175. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +101 -34
  177. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  179. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +91 -15
  181. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  182. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  183. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  184. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  185. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  186. package/artifacts/contracts/registry/Registry.sol/Registry.json +135 -51
  187. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  188. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +220 -182
  189. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +94 -172
  191. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  192. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +99 -32
  193. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  195. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +123 -225
  197. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  198. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  199. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  200. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  201. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  202. package/artifacts/contracts/shared/Component.sol/Component.json +72 -80
  203. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +483 -477
  205. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +141 -76
  207. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  208. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -0
  209. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  210. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  211. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  212. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  213. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  214. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  215. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +61 -64
  217. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +425 -261
  219. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  220. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +82 -103
  221. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  222. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  223. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  224. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  225. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  226. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  227. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -6
  229. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  231. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  234. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  235. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +94 -120
  237. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  238. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  239. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  240. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  241. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  242. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  243. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +18 -2
  245. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
  247. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +66 -8
  249. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  251. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  252. package/artifacts/contracts/shared/Service.sol/Service.json +47 -0
  253. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  254. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +388 -35
  255. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  257. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  258. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  259. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  260. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +79 -100
  261. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  262. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  263. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  264. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +3 -3
  265. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  266. package/artifacts/contracts/staking/Staking.sol/Staking.json +158 -170
  267. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  268. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  269. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  270. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +120 -54
  271. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  272. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -12
  273. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  274. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +87 -53
  275. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  276. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +103 -36
  277. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  278. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +145 -104
  279. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  280. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +3 -3
  281. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  282. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Amount.sol/AmountLib.json +33 -9
  284. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  287. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  289. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/Fee.sol/FeeLib.json +3 -3
  291. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  292. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  293. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  294. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  295. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  297. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  298. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  299. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  301. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  303. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  305. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  307. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +99 -5
  309. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  311. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  316. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +16 -3
  320. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  322. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  323. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  324. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +79 -27
  325. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  326. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  327. package/contracts/accounting/AccountingService.sol +263 -0
  328. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  329. package/contracts/accounting/IAccountingService.sol +45 -0
  330. package/contracts/authorization/AccessAdmin.sol +82 -56
  331. package/contracts/authorization/Authorization.sol +111 -39
  332. package/contracts/authorization/IAccess.sol +1 -0
  333. package/contracts/authorization/IAccessAdmin.sol +4 -3
  334. package/contracts/authorization/IAuthorization.sol +13 -7
  335. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  336. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  337. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  338. package/contracts/distribution/BasicDistribution.sol +8 -7
  339. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  340. package/contracts/distribution/Distribution.sol +32 -40
  341. package/contracts/distribution/DistributionService.sol +86 -65
  342. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  343. package/contracts/distribution/IDistributionComponent.sol +1 -1
  344. package/contracts/distribution/IDistributionService.sol +5 -6
  345. package/contracts/examples/fire/DamageLevel.sol +59 -0
  346. package/contracts/examples/fire/FirePool.sol +90 -0
  347. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  348. package/contracts/examples/fire/FireProduct.sol +436 -0
  349. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  350. package/contracts/examples/fire/FireUSD.sol +26 -0
  351. package/contracts/examples/unpermissioned/SimpleDistribution.sol +11 -4
  352. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  353. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -4
  354. package/contracts/examples/unpermissioned/SimplePool.sol +37 -6
  355. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  356. package/contracts/examples/unpermissioned/SimpleProduct.sol +24 -23
  357. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  358. package/contracts/instance/BundleSet.sol +38 -34
  359. package/contracts/instance/IInstance.sol +11 -3
  360. package/contracts/instance/IInstanceService.sol +7 -29
  361. package/contracts/instance/Instance.sol +36 -26
  362. package/contracts/instance/InstanceAdmin.sol +57 -54
  363. package/contracts/instance/InstanceAuthorizationV3.sol +50 -32
  364. package/contracts/instance/InstanceReader.sol +187 -21
  365. package/contracts/instance/InstanceService.sol +54 -129
  366. package/contracts/instance/InstanceServiceManager.sol +6 -7
  367. package/contracts/instance/InstanceStore.sol +12 -2
  368. package/contracts/instance/RiskSet.sol +119 -0
  369. package/contracts/instance/base/ObjectCounter.sol +1 -2
  370. package/contracts/instance/base/ObjectLifecycle.sol +2 -1
  371. package/contracts/instance/base/ObjectSet.sol +24 -25
  372. package/contracts/instance/module/IComponents.sol +20 -7
  373. package/contracts/instance/module/IPolicy.sol +4 -3
  374. package/contracts/instance/module/IRisk.sol +1 -0
  375. package/contracts/oracle/BasicOracle.sol +0 -1
  376. package/contracts/oracle/IOracleService.sol +2 -1
  377. package/contracts/oracle/Oracle.sol +4 -15
  378. package/contracts/oracle/OracleService.sol +110 -80
  379. package/contracts/oracle/OracleServiceManager.sol +6 -6
  380. package/contracts/pool/BasicPool.sol +33 -24
  381. package/contracts/pool/BasicPoolAuthorization.sol +12 -2
  382. package/contracts/pool/BundleService.sol +74 -87
  383. package/contracts/pool/BundleServiceManager.sol +6 -6
  384. package/contracts/pool/IBundleService.sol +2 -15
  385. package/contracts/pool/IPoolComponent.sol +19 -15
  386. package/contracts/pool/IPoolService.sol +30 -37
  387. package/contracts/pool/Pool.sol +141 -122
  388. package/contracts/pool/PoolService.sol +263 -157
  389. package/contracts/pool/PoolServiceManager.sol +4 -4
  390. package/contracts/product/ApplicationService.sol +31 -20
  391. package/contracts/product/ApplicationServiceManager.sol +4 -4
  392. package/contracts/product/BasicProduct.sol +8 -12
  393. package/contracts/product/BasicProductAuthorization.sol +1 -3
  394. package/contracts/product/ClaimService.sol +233 -106
  395. package/contracts/product/ClaimServiceManager.sol +4 -4
  396. package/contracts/product/IApplicationService.sol +5 -2
  397. package/contracts/product/IClaimService.sol +3 -2
  398. package/contracts/product/IPolicyService.sol +25 -8
  399. package/contracts/product/IPricingService.sol +9 -9
  400. package/contracts/product/IProductComponent.sol +23 -3
  401. package/contracts/product/PolicyService.sol +361 -198
  402. package/contracts/product/PolicyServiceManager.sol +4 -4
  403. package/contracts/product/PricingService.sol +10 -11
  404. package/contracts/product/PricingServiceManager.sol +3 -3
  405. package/contracts/product/Product.sol +76 -74
  406. package/contracts/product/RiskService.sol +16 -6
  407. package/contracts/product/RiskServiceManager.sol +4 -4
  408. package/contracts/registry/ChainNft.sol +10 -11
  409. package/contracts/registry/IRegistry.sol +8 -3
  410. package/contracts/registry/IRegistryService.sol +5 -12
  411. package/contracts/registry/ITransferInterceptor.sol +1 -2
  412. package/contracts/registry/Registry.sol +29 -6
  413. package/contracts/registry/RegistryAdmin.sol +29 -36
  414. package/contracts/registry/RegistryService.sol +33 -44
  415. package/contracts/registry/RegistryServiceManager.sol +2 -2
  416. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  417. package/contracts/registry/ReleaseRegistry.sol +205 -210
  418. package/contracts/registry/ServiceAuthorizationV3.sol +58 -50
  419. package/contracts/shared/Component.sol +56 -105
  420. package/contracts/shared/ComponentService.sol +384 -329
  421. package/contracts/shared/ComponentServiceManager.sol +8 -5
  422. package/contracts/shared/ComponentVerifyingService.sol +27 -16
  423. package/contracts/shared/ContractLib.sol +224 -0
  424. package/contracts/shared/IComponent.sol +6 -14
  425. package/contracts/shared/IComponentService.sol +45 -37
  426. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  427. package/contracts/shared/ILifecycle.sol +3 -1
  428. package/contracts/shared/INftOwnable.sol +2 -0
  429. package/contracts/shared/IPolicyHolder.sol +12 -13
  430. package/contracts/shared/IRegisterable.sol +11 -0
  431. package/contracts/shared/InstanceLinkedComponent.sol +68 -43
  432. package/contracts/shared/KeyValueStore.sol +1 -1
  433. package/contracts/shared/Lifecycle.sol +15 -4
  434. package/contracts/shared/NftOwnable.sol +23 -3
  435. package/contracts/shared/PolicyHolder.sol +11 -5
  436. package/contracts/shared/Registerable.sol +15 -7
  437. package/contracts/shared/RegistryLinked.sol +6 -12
  438. package/contracts/shared/Service.sol +16 -14
  439. package/contracts/shared/TokenHandler.sol +316 -66
  440. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  441. package/contracts/staking/IStaking.sol +9 -4
  442. package/contracts/staking/IStakingService.sol +0 -3
  443. package/contracts/staking/Staking.sol +42 -25
  444. package/contracts/staking/StakingManager.sol +8 -6
  445. package/contracts/staking/StakingReader.sol +12 -5
  446. package/contracts/staking/StakingService.sol +56 -23
  447. package/contracts/staking/StakingServiceManager.sol +2 -2
  448. package/contracts/type/Amount.sol +15 -0
  449. package/contracts/type/ClaimId.sol +6 -1
  450. package/contracts/type/Key32.sol +2 -2
  451. package/contracts/type/Key32Set.sol +62 -0
  452. package/contracts/type/NftId.sol +7 -0
  453. package/contracts/type/ObjectType.sol +14 -0
  454. package/contracts/type/PayoutId.sol +10 -10
  455. package/contracts/type/RiskId.sol +30 -4
  456. package/contracts/type/RoleId.sol +0 -12
  457. package/contracts/type/StateId.sol +14 -1
  458. package/contracts/type/UFixed.sol +13 -119
  459. package/contracts/upgradeability/ProxyManager.sol +68 -34
  460. package/contracts/upgradeability/Versionable.sol +2 -2
  461. package/package.json +4 -3
  462. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  463. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  464. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  465. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  466. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  467. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  468. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  469. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  470. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  471. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  472. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -54,6 +54,11 @@
54
54
  },
55
55
  {
56
56
  "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "contractAddress",
60
+ "type": "address"
61
+ },
57
62
  {
58
63
  "internalType": "ObjectType",
59
64
  "name": "objectType",
@@ -61,54 +66,69 @@
61
66
  },
62
67
  {
63
68
  "internalType": "StateId",
64
- "name": "fromStateId",
69
+ "name": "actual",
65
70
  "type": "uint8"
66
71
  },
67
72
  {
68
73
  "internalType": "StateId",
69
- "name": "toStateId",
74
+ "name": "required",
70
75
  "type": "uint8"
71
76
  }
72
77
  ],
73
- "name": "ErrorInvalidStateTransition",
78
+ "name": "ErrorFromStateMissmatch",
74
79
  "type": "error"
75
80
  },
76
81
  {
77
82
  "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "contractAddress",
86
+ "type": "address"
87
+ },
78
88
  {
79
89
  "internalType": "ObjectType",
80
90
  "name": "objectType",
81
91
  "type": "uint8"
92
+ },
93
+ {
94
+ "internalType": "StateId",
95
+ "name": "fromStateId",
96
+ "type": "uint8"
97
+ },
98
+ {
99
+ "internalType": "StateId",
100
+ "name": "toStateId",
101
+ "type": "uint8"
82
102
  }
83
103
  ],
84
- "name": "ErrorNoLifecycle",
104
+ "name": "ErrorInvalidStateTransition",
85
105
  "type": "error"
86
106
  },
87
107
  {
88
108
  "inputs": [
89
109
  {
90
110
  "internalType": "address",
91
- "name": "registryAddress",
111
+ "name": "contractAddress",
92
112
  "type": "address"
113
+ },
114
+ {
115
+ "internalType": "ObjectType",
116
+ "name": "objectType",
117
+ "type": "uint8"
93
118
  }
94
119
  ],
95
- "name": "ErrorNotRegistry",
120
+ "name": "ErrorNoLifecycle",
96
121
  "type": "error"
97
122
  },
98
123
  {
99
124
  "inputs": [
100
125
  {
101
- "internalType": "VersionPart",
102
- "name": "version",
103
- "type": "uint8"
126
+ "internalType": "address",
127
+ "name": "registryAddress",
128
+ "type": "address"
104
129
  }
105
130
  ],
106
- "name": "ErrorReleaseRegistryNoDomains",
107
- "type": "error"
108
- },
109
- {
110
- "inputs": [],
111
- "name": "ErrorReleaseRegistryNoServiceRegistrationExpected",
131
+ "name": "ErrorNotRegistry",
112
132
  "type": "error"
113
133
  },
114
134
  {
@@ -136,28 +156,12 @@
136
156
  {
137
157
  "inputs": [
138
158
  {
139
- "internalType": "VersionPart",
140
- "name": "releaseVersion",
141
- "type": "uint8"
142
- },
143
- {
144
- "internalType": "StateId",
145
- "name": "currentStateId",
146
- "type": "uint8"
147
- }
148
- ],
149
- "name": "ErrorReleaseRegistryReleaseActivationDisallowed",
150
- "type": "error"
151
- },
152
- {
153
- "inputs": [
154
- {
155
- "internalType": "VersionPart",
156
- "name": "releaseVersion",
157
- "type": "uint8"
159
+ "internalType": "address",
160
+ "name": "notAuth",
161
+ "type": "address"
158
162
  }
159
163
  ],
160
- "name": "ErrorReleaseRegistryReleaseAlreadyActivated",
164
+ "name": "ErrorReleaseRegistryNotServiceAuth",
161
165
  "type": "error"
162
166
  },
163
167
  {
@@ -168,113 +172,90 @@
168
172
  "type": "uint8"
169
173
  }
170
174
  ],
171
- "name": "ErrorReleaseRegistryReleaseAlreadyDisabled",
175
+ "name": "ErrorReleaseRegistryRegistryServiceMissing",
172
176
  "type": "error"
173
177
  },
174
178
  {
175
179
  "inputs": [
176
180
  {
177
- "internalType": "VersionPart",
178
- "name": "version",
179
- "type": "uint8"
181
+ "internalType": "address",
182
+ "name": "expected",
183
+ "type": "address"
180
184
  },
181
185
  {
182
- "internalType": "StateId",
183
- "name": "currentStateId",
184
- "type": "uint8"
186
+ "internalType": "address",
187
+ "name": "actual",
188
+ "type": "address"
185
189
  }
186
190
  ],
187
- "name": "ErrorReleaseRegistryReleaseAlreadyPrepared",
191
+ "name": "ErrorReleaseRegistryServiceAddressMismatch",
188
192
  "type": "error"
189
193
  },
190
194
  {
191
195
  "inputs": [
192
196
  {
193
- "internalType": "VersionPart",
194
- "name": "version",
195
- "type": "uint8"
197
+ "internalType": "contract IServiceAuthorization",
198
+ "name": "auth",
199
+ "type": "address"
196
200
  },
197
- {
198
- "internalType": "StateId",
199
- "name": "currentStateId",
200
- "type": "uint8"
201
- }
202
- ],
203
- "name": "ErrorReleaseRegistryReleaseCreationDisallowed",
204
- "type": "error"
205
- },
206
- {
207
- "inputs": [
208
201
  {
209
202
  "internalType": "VersionPart",
210
- "name": "releaseVersion",
203
+ "name": "version",
211
204
  "type": "uint8"
212
205
  }
213
206
  ],
214
- "name": "ErrorReleaseRegistryReleaseNotActivated",
207
+ "name": "ErrorReleaseRegistryServiceAuthDomainsZero",
215
208
  "type": "error"
216
209
  },
217
210
  {
218
211
  "inputs": [
219
212
  {
220
- "internalType": "VersionPart",
221
- "name": "releaseVersion",
222
- "type": "uint8"
223
- }
224
- ],
225
- "name": "ErrorReleaseRegistryReleaseNotCreated",
226
- "type": "error"
227
- },
228
- {
229
- "inputs": [
213
+ "internalType": "contract IServiceAuthorization",
214
+ "name": "auth",
215
+ "type": "address"
216
+ },
230
217
  {
231
218
  "internalType": "VersionPart",
232
- "name": "version",
219
+ "name": "expected",
233
220
  "type": "uint8"
234
221
  },
235
222
  {
236
- "internalType": "StateId",
237
- "name": "currentStateId",
223
+ "internalType": "VersionPart",
224
+ "name": "actual",
238
225
  "type": "uint8"
239
226
  }
240
227
  ],
241
- "name": "ErrorReleaseRegistryReleasePreparationDisallowed",
228
+ "name": "ErrorReleaseRegistryServiceAuthVersionMismatch",
242
229
  "type": "error"
243
230
  },
244
231
  {
245
232
  "inputs": [
246
233
  {
247
- "internalType": "VersionPart",
248
- "name": "releaseVersion",
249
- "type": "uint8"
234
+ "internalType": "contract IService",
235
+ "name": "service",
236
+ "type": "address"
250
237
  },
251
- {
252
- "internalType": "uint256",
253
- "name": "awaitingRegistration",
254
- "type": "uint256"
255
- }
256
- ],
257
- "name": "ErrorReleaseRegistryReleaseRegistrationNotFinished",
258
- "type": "error"
259
- },
260
- {
261
- "inputs": [
262
238
  {
263
239
  "internalType": "address",
264
- "name": "expected",
240
+ "name": "serviceAuthority",
265
241
  "type": "address"
266
242
  },
267
243
  {
268
244
  "internalType": "address",
269
- "name": "actual",
245
+ "name": "releaseAuthority",
270
246
  "type": "address"
271
247
  }
272
248
  ],
273
- "name": "ErrorReleaseRegistryServiceAddressMismatch",
249
+ "name": "ErrorReleaseRegistryServiceAuthorityMismatch",
274
250
  "type": "error"
275
251
  },
276
252
  {
277
253
  "inputs": [
254
+ {
255
+ "internalType": "contract IService",
256
+ "name": "service",
257
+ "type": "address"
258
+ },
278
259
  {
279
260
  "internalType": "ObjectType",
280
261
  "name": "expectedDomain",
@@ -379,36 +360,15 @@
379
360
  "name": "ErrorReleaseRegistryServiceOwnerRegistered",
380
361
  "type": "error"
381
362
  },
382
- {
383
- "inputs": [
384
- {
385
- "internalType": "StateId",
386
- "name": "currentStateId",
387
- "type": "uint8"
388
- }
389
- ],
390
- "name": "ErrorReleaseRegistryServiceRegistrationDisallowed",
391
- "type": "error"
392
- },
393
363
  {
394
364
  "inputs": [
395
365
  {
396
366
  "internalType": "contract IService",
397
367
  "name": "service",
398
368
  "type": "address"
399
- },
400
- {
401
- "internalType": "address",
402
- "name": "serviceAuthority",
403
- "type": "address"
404
- },
405
- {
406
- "internalType": "address",
407
- "name": "releaseAuthority",
408
- "type": "address"
409
369
  }
410
370
  ],
411
- "name": "ErrorReleaseRegistryServiceReleaseAuthorityMismatch",
371
+ "name": "ErrorReleaseRegistryServiceSelfRegistration",
412
372
  "type": "error"
413
373
  },
414
374
  {
@@ -429,34 +389,7 @@
429
389
  "type": "uint8"
430
390
  }
431
391
  ],
432
- "name": "ErrorReleaseRegistryServiceReleaseVersionMismatch",
433
- "type": "error"
434
- },
435
- {
436
- "inputs": [
437
- {
438
- "internalType": "contract IService",
439
- "name": "service",
440
- "type": "address"
441
- }
442
- ],
443
- "name": "ErrorReleaseRegistryServiceSelfRegistration",
444
- "type": "error"
445
- },
446
- {
447
- "inputs": [
448
- {
449
- "internalType": "VersionPart",
450
- "name": "expected",
451
- "type": "uint8"
452
- },
453
- {
454
- "internalType": "VersionPart",
455
- "name": "actual",
456
- "type": "uint8"
457
- }
458
- ],
459
- "name": "ErrorReleaseRegistryVersionMismatch",
392
+ "name": "ErrorReleaseRegistryServiceVersionMismatch",
460
393
  "type": "error"
461
394
  },
462
395
  {
@@ -543,19 +476,6 @@
543
476
  "stateMutability": "view",
544
477
  "type": "function"
545
478
  },
546
- {
547
- "inputs": [],
548
- "name": "MIN_DISABLE_DELAY",
549
- "outputs": [
550
- {
551
- "internalType": "Seconds",
552
- "name": "",
553
- "type": "uint40"
554
- }
555
- ],
556
- "stateMutability": "view",
557
- "type": "function"
558
- },
559
479
  {
560
480
  "inputs": [],
561
481
  "name": "_admin",
@@ -604,6 +524,11 @@
604
524
  },
605
525
  {
606
526
  "inputs": [
527
+ {
528
+ "internalType": "StateId",
529
+ "name": "stateId",
530
+ "type": "uint8"
531
+ },
607
532
  {
608
533
  "internalType": "ObjectType",
609
534
  "name": "objectType",
@@ -611,7 +536,7 @@
611
536
  },
612
537
  {
613
538
  "internalType": "StateId",
614
- "name": "fromId",
539
+ "name": "expectedFromId",
615
540
  "type": "uint8"
616
541
  },
617
542
  {
@@ -657,19 +582,6 @@
657
582
  "stateMutability": "view",
658
583
  "type": "function"
659
584
  },
660
- {
661
- "inputs": [],
662
- "name": "getInitialVersion",
663
- "outputs": [
664
- {
665
- "internalType": "VersionPart",
666
- "name": "",
667
- "type": "uint8"
668
- }
669
- ],
670
- "stateMutability": "view",
671
- "type": "function"
672
- },
673
585
  {
674
586
  "inputs": [],
675
587
  "name": "getLatestVersion",
@@ -749,21 +661,6 @@
749
661
  "name": "salt",
750
662
  "type": "bytes32"
751
663
  },
752
- {
753
- "internalType": "address[]",
754
- "name": "addresses",
755
- "type": "address[]"
756
- },
757
- {
758
- "internalType": "string[]",
759
- "name": "names",
760
- "type": "string[]"
761
- },
762
- {
763
- "internalType": "ObjectType[]",
764
- "name": "domains",
765
- "type": "uint8[]"
766
- },
767
664
  {
768
665
  "internalType": "contract IServiceAuthorization",
769
666
  "name": "auth",
@@ -842,17 +739,17 @@
842
739
  {
843
740
  "inputs": [
844
741
  {
845
- "internalType": "ObjectType",
846
- "name": "objectType",
847
- "type": "uint8"
742
+ "internalType": "uint256",
743
+ "name": "idx",
744
+ "type": "uint256"
848
745
  }
849
746
  ],
850
- "name": "hasLifecycle",
747
+ "name": "getVersion",
851
748
  "outputs": [
852
749
  {
853
- "internalType": "bool",
854
- "name": "",
855
- "type": "bool"
750
+ "internalType": "VersionPart",
751
+ "name": "version",
752
+ "type": "uint8"
856
753
  }
857
754
  ],
858
755
  "stateMutability": "view",
@@ -861,12 +758,12 @@
861
758
  {
862
759
  "inputs": [
863
760
  {
864
- "internalType": "address",
865
- "name": "service",
866
- "type": "address"
761
+ "internalType": "ObjectType",
762
+ "name": "objectType",
763
+ "type": "uint8"
867
764
  }
868
765
  ],
869
- "name": "isActiveRegistryService",
766
+ "name": "hasLifecycle",
870
767
  "outputs": [
871
768
  {
872
769
  "internalType": "bool",
@@ -997,12 +894,12 @@
997
894
  "outputs": [
998
895
  {
999
896
  "internalType": "address",
1000
- "name": "authority",
897
+ "name": "releaseAuthority",
1001
898
  "type": "address"
1002
899
  },
1003
900
  {
1004
901
  "internalType": "VersionPart",
1005
- "name": "version",
902
+ "name": "releaseVersion",
1006
903
  "type": "uint8"
1007
904
  },
1008
905
  {
@@ -1033,6 +930,19 @@
1033
930
  "stateMutability": "nonpayable",
1034
931
  "type": "function"
1035
932
  },
933
+ {
934
+ "inputs": [],
935
+ "name": "releases",
936
+ "outputs": [
937
+ {
938
+ "internalType": "uint256",
939
+ "name": "",
940
+ "type": "uint256"
941
+ }
942
+ ],
943
+ "stateMutability": "view",
944
+ "type": "function"
945
+ },
1036
946
  {
1037
947
  "inputs": [
1038
948
  {
@@ -1060,14 +970,14 @@
1060
970
  "type": "function"
1061
971
  }
1062
972
  ],
1063
- "bytecode": "0x60c060405234801561000f575f80fd5b50604051612fda380380612fda83398101604081905261002e9161058a565b3361003881610280565b506100416102d3565b61004a81610325565b610077576040516324981a5560e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6100df816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100da919061058a565b610431565b6001600160a01b03811660a08190526040805163016f41bf60e51b81529051632de837e0916004808201926020929091908290030181865afa158015610127573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014b919061058a565b6001600160a01b0316608052604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156101a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c991906105ac565b6008805460ff191660ff9290921691909117905573__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c610203600160036105cc565b6040518263ffffffff1660e01b815260040161022191815260200190565b602060405180830381865af415801561023c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026091906105ac565b600860026101000a81548160ff021916908360ff16021790555050610644565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6102df600660026104a9565b6102ee600660025b60036104f4565b6102fa600660036102e7565b610309600660035b60046104f4565b61031760066004606e6104f4565b6103236006606e610302565b565b5f6001600160a01b03821661033b57505f919050565b604051632f2a35f760e11b81526001600160a01b0383166004820181905290635e546bee90602401602060405180830381865afa15801561037e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a291906105eb565b604051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156103f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041d9190610611565b1561042957505f919050565b506001919050565b5f5433906001600160a01b031681146104675760405162d1953b60e31b81526001600160a01b038216600482015260240161006e565b816001600160a01b03163b5f0361049c576040516361798f2f60e11b81526001600160a01b038316600482015260240161006e565b6104a582610280565b5050565b60ff8281165f908152600160205260408120546104c7921690610563565b6104d3576104d3610630565b60ff9182165f908152600160205260409020805460ff191691909216179055565b60ff8084165f908152600260209081526040808320868516845282528083208585168452909152902054161561052c5761052c610630565b60ff9283165f908152600260209081526040808320948616835293815283822092909416815292529020805460ff19166001179055565b60ff828116908216145b92915050565b6001600160a01b0381168114610587575f80fd5b50565b5f6020828403121561059a575f80fd5b81516105a581610573565b9392505050565b5f602082840312156105bc575f80fd5b815160ff811681146105a5575f80fd5b8181038181111561056d57634e487b7160e01b5f52601160045260245ffd5b5f602082840312156105fb575f80fd5b81516001600160601b03811681146105a5575f80fd5b5f60208284031215610621575f80fd5b815180151581146105a5575f80fd5b634e487b7160e01b5f52600160045260245ffd5b60805160a0516129366106a45f395f81816103200152818161037201528181610e63015281816115c50152611ff701525f818161020a015281816104d80152818161080b01528181611701015281816117ad0152611c4f01526129365ff3fe608060405234801561000f575f80fd5b50600436106101c5575f3560e01c80637a9e5e4b116100fe578063a972d6981161009e578063dde4fd8a1161006e578063dde4fd8a146104d6578063e9e96c70146104fc578063f40d7c3014610539578063fdd9ec7d1461054a575f80fd5b8063a972d69814610468578063bf1db3f914610493578063bf7e214f146104a6578063d2213b5b146104b6575f80fd5b806399a228e5116100d957806399a228e5146104325780639ef6ddc91461043a578063a28448241461044d578063a898967514610455575f80fd5b80637a9e5e4b146103945780638fb36037146103a757806393a7e711146103c8575f80fd5b806311edceaa116101695780635ab1bd53116101445780635ab1bd531461031e5780636428e2631461034457806371ed16e41461035757806379cbc5fa1461036d575f80fd5b806311edceaa146102ac57806330ac5bf2146102cf57806331d53763146102e4575f80fd5b80630af43fe1116101a45780630af43fe1146102645780630d3581811461026c5780630e41142e146102915780630e6d1de91461029c575f80fd5b8062d19f30146101c957806301bc45c91461020557806305c937ed14610244575b5f80fd5b6101ee6101d73660046120a8565b60ff9081165f908152600960205260409020541690565b60405160ff90911681526020015b60405180910390f35b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101fc565b61024e6208052081565b60405164ffffffffff90911681526020016101fc565b6101ee610575565b6101ee61027a3660046120a8565b60ff9081165f908152600160205260409020541690565b60085460ff166101ee565b600854610100900460ff166101ee565b6102bf6102ba3660046120a8565b6106d7565b60405190151581526020016101fc565b6102e26102dd3660046120a8565b610705565b005b6102f76102f23660046120d7565b6107fd565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101fc565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102e26103523660046120a8565b610b8f565b61035f610cde565b6040519081526020016101fc565b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6102e26103a2366004612101565b610cf4565b6103af610d6c565b6040516001600160e01b031990911681526020016101fc565b61022c6103d636600461211c565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b61035f600381565b6102bf610448366004612101565b610d8e565b6102e2610db9565b6102e261046336600461215b565b611059565b61022c6104763660046120a8565b60ff165f908152600660205260409020546001600160a01b031690565b6102bf6104a13660046120a8565b611164565b5f546001600160a01b031661022c565b6104c96104c43660046120a8565b6111ea565b6040516101fc9190612296565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102bf61050a36600461215b565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b60085462010000900460ff166101ee565b61055d610558366004612101565b611450565b6040516001600160601b0390911681526020016101fc565b5f610582335b5f36611810565b600854604051632b10f60d60e21b81526201000090910460ff16600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156105e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610607919061236e565b610612906001612399565b6040518263ffffffff1660e01b815260040161063091815260200190565b602060405180830381865af415801561064b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066f91906123bc565b6008805460ff92909216620100000262ff0000199092169190911790555f600b819055600a556106a061027a600690565b60088054620100009081900460ff9081165f908152600960205260409020805460ff19169482169490941790935590540416919050565b60ff8181165f9081526009602052604081205490916106ff911660045b60ff90811691161490565b92915050565b61070e3361057b565b60ff8181165f9081526009602052604090205416600461075860065b60ff9081165f9081526002602090815260408083208488168452825280832084871684529091529020541690565b610787576040516302bfeddf60e31b815260ff8085166004830152831660248201526044015b60405180910390fd5b60ff8381165f818152600960209081526040808320805460ff191695871695909517909455600580825291849020909101805464ffffffffff60c81b1916905591519081527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb99291015b60405180910390a1505050565b5f80806108093361057b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610865573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088991906123e2565b600854604051632b10f60d60e21b81526201000090910460ff166004820181905291945090925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156108ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e919061236e565b6040805160208101929092528101859052606001604051602081830303815290604052805190602001209050610960610945600690565b60ff8481165f9081526009602052604090205416600361050a565b61099d5760ff8281165f8181526009602052604090819020549051633dd0d12d60e21b81526004810192909252909116602482015260440161077e565b60ff82165f908152600960209081526040808320805460ff1916600317905580516376b707b760e01b815290516001600160a01b038916926376b707b792600480820193918290030181865afa1580156109f9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1d91906123bc565b905060ff80821690841614610a525760405163796adc3f60e11b815260ff80851660048301528216602482015260440161077e565b5f866001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ab5919081019061246b565b519050805f03610add576040516331bedf1b60e01b815260ff8516600482015260240161077e565b600b5415610b1e5760ff8481165f81815260096020526040908190205490516335598e7b60e01b81526004810192909252909116602482015260440161077e565b600b81905560ff84165f8181526006602090815260409182902080546001600160a01b0319166001600160a01b038c16179055815192835282018590527f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa5507910160405180910390a150509250925092565b610b983361057b565b60ff8181165f9081526009602052604090205416606e610bb8600661072a565b610be2576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b60ff8381165f90815260096020908152604091829020805460ff19169385169390931790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610c50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c74919061251f565b60ff84165f81815260056020818152604092839020909101805464ffffffffff95909516600160c81b0264ffffffffff60c81b1990951694909417909355519081527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e82691016107f0565b5f600a54600b54610cef9190612543565b905090565b5f5433906001600160a01b03168114610d2a5760405162d1953b60e31b81526001600160a01b038216600482015260240161077e565b816001600160a01b03163b5f03610d5f576040516361798f2f60e11b81526001600160a01b038316600482015260240161077e565b610d6882611906565b5050565b5f8054600160a01b900460ff16610d8257505f90565b50638fb3603760e01b90565b6001600160a01b0381165f9081526007602052604081205460ff16610db2816106d7565b9392505050565b610dc23361057b565b60085460ff6201000090910481165f818152600960205260409020549091166004610ded600661072a565b610e17576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b600b54600a541015610e585782600a54600b54610e349190612543565b604051635321a90360e11b815260ff9092166004830152602482015260440161077e565b5f6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360026040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610ece573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef291906123e2565b90506001600160a01b038116610f20576040516313fa8f1b60e01b815260ff8516600482015260240161077e565b6008805460ff808716610100810261ff0019909316929092179092555f818152600960209081526040808320805495881660ff199687161790556001600160a01b03861683526007825291829020805490941690921790925581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe6919061251f565b60ff85165f81815260056020818152604092839020909101805464ffffffffff95909516600160a01b0264ffffffffff60a01b1990951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a150505050565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156110bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110df9190612565565b15611102576040516321b9f44760e01b815260ff8416600482015260240161077e565b60ff8084165f9081526002602090815260408083208685168452825280832085851684529091529020541661115f57604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640161077e565b505050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156111c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff9190612565565b60408051610120810182525f8082526020820181905291810182905260608082018190526080820181905260a082015260c0810182905260e0810182905261010081019190915260ff8083165f9081526005602090815260409182902082516101208101845281548086168252610100900490941684830152600181015484840152600281018054845181850281018501909552808552919360608601939092908301828280156112c257602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116112a4575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020015f905b82821015611397578382905f5260205f2001805461130c9061257e565b80601f01602080910402602001604051908101604052809291908181526020018280546113389061257e565b80156113835780601f1061135a57610100808354040283529160200191611383565b820191905f5260205f20905b81548152906001019060200180831161136657829003601f168201915b5050505050815260200190600101906112ef565b5050505081526020016004820180548060200260200160405190810160405280929190818152602001828054801561140957602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116113da5790505b5050509183525050600591909101546001600160a01b038116602083015264ffffffffff600160a01b820481166040840152600160c81b9091041660609091015292915050565b5f61145a3361057b565b60085460ff6201000090910481165f81815260096020526040902054909116611486600682600361050a565b6114a85760405163997ed62960e01b815260ff8216600482015260240161077e565b60ff82165f908152600960205260409020805460ff19166003179055600a54600b54036114e8576040516399a36bd560e01b815260040160405180910390fd5b5f805f6114f487611959565b60ff88165f9081526006602052604080822054600a54915162212fa360ea1b81526004810192909252949750929550909350916001600160a01b0316906384be8c0090602401602060405180830381865afa158015611555573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157991906123bc565b905060ff808416908216146115ae57604051636e2c208b60e01b815260ff80831660048301528416602482015260440161077e565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906115fe908790869088906004016125b6565b6020604051808303815f875af115801561161a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163e919061267e565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af115801561167d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a1919061267e565b50600a8054905f6116b183612697565b909155505060ff8681165f9081526006602052604090819020549051637485407160e01b81526001600160a01b0391821660048201528a82166024820152858316604482015291841660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611742575f80fd5b505af1158015611754573d5f803e3d5ffd5b50505050611764836106f4600290565b80611772575060ff83166003145b80611780575060ff8316600f145b156118055760405163420e0b3560e01b81526001600160a01b03898116600483015260ff851660248301527f0000000000000000000000000000000000000000000000000000000000000000169063420e0b35906044015f604051808303815f87803b1580156117ee575f80fd5b505af1158015611800573d5f803e3d5ffd5b505050505b505050505050919050565b5f806118436118265f546001600160a01b031690565b863061183560045f898b6126af565b61183e916126d6565b611d69565b91509150816118ff5763ffffffff8116156118dc575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061189d9088908890889060040161270e565b5f604051808303815f87803b1580156118b4575f80fd5b505af11580156118c6573d5f803e3d5ffd5b50505f805460ff60a01b19169055506118ff9050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161077e565b5050505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156119dc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a009190612565565b611a2857604051635f569d0b60e01b81526001600160a01b038516600482015260240161077e565b5f3390505f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a8d91906123e2565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611acb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aef919061274d565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611b42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6691906123bc565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ba4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc891906123bc565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611c05573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c2c91908101906127db565b9450611c39868684611e71565b5f600860029054906101000a900460ff1690505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ca9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ccd91906123e2565b9050806001600160a01b0316836001600160a01b031614611d1c57604051635eec2d7360e01b81526001600160a01b03808a16600483015280851660248301528216604482015260640161077e565b60ff80861690831614611d5e57604051630576d1a960e51b81526001600160a01b038916600482015260ff80871660248301528316604482015260640161077e565b505050509193909250565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611dd791906128ad565b5f60405180830381855afa9150503d805f8114611e0f576040519150601f19603f3d011682016040523d82523d5f602084013e611e14565b606091505b50915091508115611e66576040815110611e465780806020019051810190611e3c91906128c3565b9094509250611e66565b6020815110611e665780806020019051810190611e639190612565565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614611eb957604051633db89c6160e01b81526001600160a01b03841660048201819052602482015260440161077e565b606082015115611ef457606082015160405163955d053f60e01b81526001600160a01b0385166004820152901515602482015260440161077e565b611f108260400151611f04600890565b60ff9081169116141590565b15611f4f5760408281015190516336b258d560e11b81526001600160a01b03851660048201526008602482015260ff909116604482015260640161077e565b60a08201516001600160a01b0380821690831614611f9b5760405163fb581fd160e01b81526001600160a01b03808616600483015280841660248301528216604482015260640161077e565b836001600160a01b0316816001600160a01b031603611fd85760405163076ab37760e31b81526001600160a01b038516600482015260240161077e565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa15801561203c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120609190612565565b156120915760405163b1e0f1f560e01b81526001600160a01b0380861660048301528216602482015260440161077e565b50505050565b60ff811681146120a5575f80fd5b50565b5f602082840312156120b8575f80fd5b8135610db281612097565b6001600160a01b03811681146120a5575f80fd5b5f80604083850312156120e8575f80fd5b82356120f3816120c3565b946020939093013593505050565b5f60208284031215612111575f80fd5b8135610db2816120c3565b5f805f6060848603121561212e575f80fd5b8335612139816120c3565b9250602084013591506040840135612150816120c3565b809150509250925092565b5f805f6060848603121561216d575f80fd5b833561217881612097565b9250602084013561218881612097565b9150604084013561215081612097565b5f8151808452602084019350602083015f5b828110156121d15781516001600160a01b03168652602095860195909101906001016121aa565b5093949350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b5f82825180855260208501945060208160051b830101602085015f5b8381101561225757601f198584030188526122418383516121db565b6020988901989093509190910190600101612225565b50909695505050505050565b5f8151808452602084019350602083015f5b828110156121d157815160ff16865260209586019590910190600101612275565b602081526122aa60208201835160ff169052565b5f60208301516122bf604084018260ff169052565b5060408301516060830152606083015161012060808401526122e5610140840182612198565b90506080840151601f198483030160a08501526123028282612209565b91505060a0840151601f198483030160c08501526123208282612263565b91505060c084015161233d60e08501826001600160a01b03169052565b5060e084015164ffffffffff81166101008501525061010084015164ffffffffff8116610120850152509392505050565b5f6020828403121561237e575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106ff576106ff612385565b80516123b781612097565b919050565b5f602082840312156123cc575f80fd5b8151610db281612097565b80516123b7816120c3565b5f602082840312156123f2575f80fd5b8151610db2816120c3565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612434576124346123fd565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612463576124636123fd565b604052919050565b5f6020828403121561247b575f80fd5b815167ffffffffffffffff811115612491575f80fd5b8201601f810184136124a1575f80fd5b805167ffffffffffffffff8111156124bb576124bb6123fd565b8060051b6124cb6020820161243a565b918252602081840181019290810190878411156124e6575f80fd5b6020850194505b83851015612514578451925061250283612097565b828252602094850194909101906124ed565b979650505050505050565b5f6020828403121561252f575f80fd5b815164ffffffffff81168114610db2575f80fd5b818103818111156106ff576106ff612385565b805180151581146123b7575f80fd5b5f60208284031215612575575f80fd5b610db282612556565b600181811c9082168061259257607f821691505b6020821081036125b057634e487b7160e01b5f52602260045260245ffd5b50919050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f60608501516125fe60c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e06101208401526126456101408401826121db565b915050612657602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b03811681146123b7575f80fd5b5f6020828403121561268e575f80fd5b610db282612668565b5f600182016126a8576126a8612385565b5060010190565b5f80858511156126bd575f80fd5b838611156126c9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612707576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6020828403121561275d575f80fd5b815162ffffff81168114610db2575f80fd5b5f82601f83011261277e575f80fd5b815167ffffffffffffffff811115612798576127986123fd565b6127ab601f8201601f191660200161243a565b8181528460208386010111156127bf575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156127eb575f80fd5b815167ffffffffffffffff811115612801575f80fd5b820160e08185031215612812575f80fd5b61281a612411565b61282382612668565b815261283160208301612668565b6020820152612842604083016123ac565b604082015261285360608301612556565b6060820152612864608083016123d7565b608082015261287560a083016123d7565b60a082015260c082015167ffffffffffffffff811115612893575f80fd5b61289f8682850161276f565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156128d4575f80fd5b6128dd83612556565b9150602083015163ffffffff811681146128f5575f80fd5b80915050925092905056fea26469706673582212200831c5a303643009282a51e66c911ff90d70b7bc672e0a3f2642d8027690c27564736f6c634300081a0033",
1064
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101c5575f3560e01c80637a9e5e4b116100fe578063a972d6981161009e578063dde4fd8a1161006e578063dde4fd8a146104d6578063e9e96c70146104fc578063f40d7c3014610539578063fdd9ec7d1461054a575f80fd5b8063a972d69814610468578063bf1db3f914610493578063bf7e214f146104a6578063d2213b5b146104b6575f80fd5b806399a228e5116100d957806399a228e5146104325780639ef6ddc91461043a578063a28448241461044d578063a898967514610455575f80fd5b80637a9e5e4b146103945780638fb36037146103a757806393a7e711146103c8575f80fd5b806311edceaa116101695780635ab1bd53116101445780635ab1bd531461031e5780636428e2631461034457806371ed16e41461035757806379cbc5fa1461036d575f80fd5b806311edceaa146102ac57806330ac5bf2146102cf57806331d53763146102e4575f80fd5b80630af43fe1116101a45780630af43fe1146102645780630d3581811461026c5780630e41142e146102915780630e6d1de91461029c575f80fd5b8062d19f30146101c957806301bc45c91461020557806305c937ed14610244575b5f80fd5b6101ee6101d73660046120a8565b60ff9081165f908152600960205260409020541690565b60405160ff90911681526020015b60405180910390f35b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101fc565b61024e6208052081565b60405164ffffffffff90911681526020016101fc565b6101ee610575565b6101ee61027a3660046120a8565b60ff9081165f908152600160205260409020541690565b60085460ff166101ee565b600854610100900460ff166101ee565b6102bf6102ba3660046120a8565b6106d7565b60405190151581526020016101fc565b6102e26102dd3660046120a8565b610705565b005b6102f76102f23660046120d7565b6107fd565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101fc565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102e26103523660046120a8565b610b8f565b61035f610cde565b6040519081526020016101fc565b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6102e26103a2366004612101565b610cf4565b6103af610d6c565b6040516001600160e01b031990911681526020016101fc565b61022c6103d636600461211c565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b61035f600381565b6102bf610448366004612101565b610d8e565b6102e2610db9565b6102e261046336600461215b565b611059565b61022c6104763660046120a8565b60ff165f908152600660205260409020546001600160a01b031690565b6102bf6104a13660046120a8565b611164565b5f546001600160a01b031661022c565b6104c96104c43660046120a8565b6111ea565b6040516101fc9190612296565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102bf61050a36600461215b565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b60085462010000900460ff166101ee565b61055d610558366004612101565b611450565b6040516001600160601b0390911681526020016101fc565b5f610582335b5f36611810565b600854604051632b10f60d60e21b81526201000090910460ff16600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156105e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610607919061236e565b610612906001612399565b6040518263ffffffff1660e01b815260040161063091815260200190565b602060405180830381865af415801561064b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066f91906123bc565b6008805460ff92909216620100000262ff0000199092169190911790555f600b819055600a556106a061027a600690565b60088054620100009081900460ff9081165f908152600960205260409020805460ff19169482169490941790935590540416919050565b60ff8181165f9081526009602052604081205490916106ff911660045b60ff90811691161490565b92915050565b61070e3361057b565b60ff8181165f9081526009602052604090205416600461075860065b60ff9081165f9081526002602090815260408083208488168452825280832084871684529091529020541690565b610787576040516302bfeddf60e31b815260ff8085166004830152831660248201526044015b60405180910390fd5b60ff8381165f818152600960209081526040808320805460ff191695871695909517909455600580825291849020909101805464ffffffffff60c81b1916905591519081527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb99291015b60405180910390a1505050565b5f80806108093361057b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610865573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088991906123e2565b600854604051632b10f60d60e21b81526201000090910460ff166004820181905291945090925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156108ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e919061236e565b6040805160208101929092528101859052606001604051602081830303815290604052805190602001209050610960610945600690565b60ff8481165f9081526009602052604090205416600361050a565b61099d5760ff8281165f8181526009602052604090819020549051633dd0d12d60e21b81526004810192909252909116602482015260440161077e565b60ff82165f908152600960209081526040808320805460ff1916600317905580516376b707b760e01b815290516001600160a01b038916926376b707b792600480820193918290030181865afa1580156109f9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1d91906123bc565b905060ff80821690841614610a525760405163796adc3f60e11b815260ff80851660048301528216602482015260440161077e565b5f866001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ab5919081019061246b565b519050805f03610add576040516331bedf1b60e01b815260ff8516600482015260240161077e565b600b5415610b1e5760ff8481165f81815260096020526040908190205490516335598e7b60e01b81526004810192909252909116602482015260440161077e565b600b81905560ff84165f8181526006602090815260409182902080546001600160a01b0319166001600160a01b038c16179055815192835282018590527f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa5507910160405180910390a150509250925092565b610b983361057b565b60ff8181165f9081526009602052604090205416606e610bb8600661072a565b610be2576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b60ff8381165f90815260096020908152604091829020805460ff19169385169390931790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610c50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c74919061251f565b60ff84165f81815260056020818152604092839020909101805464ffffffffff95909516600160c81b0264ffffffffff60c81b1990951694909417909355519081527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e82691016107f0565b5f600a54600b54610cef9190612543565b905090565b5f5433906001600160a01b03168114610d2a5760405162d1953b60e31b81526001600160a01b038216600482015260240161077e565b816001600160a01b03163b5f03610d5f576040516361798f2f60e11b81526001600160a01b038316600482015260240161077e565b610d6882611906565b5050565b5f8054600160a01b900460ff16610d8257505f90565b50638fb3603760e01b90565b6001600160a01b0381165f9081526007602052604081205460ff16610db2816106d7565b9392505050565b610dc23361057b565b60085460ff6201000090910481165f818152600960205260409020549091166004610ded600661072a565b610e17576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b600b54600a541015610e585782600a54600b54610e349190612543565b604051635321a90360e11b815260ff9092166004830152602482015260440161077e565b5f6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360026040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610ece573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef291906123e2565b90506001600160a01b038116610f20576040516313fa8f1b60e01b815260ff8516600482015260240161077e565b6008805460ff808716610100810261ff0019909316929092179092555f818152600960209081526040808320805495881660ff199687161790556001600160a01b03861683526007825291829020805490941690921790925581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe6919061251f565b60ff85165f81815260056020818152604092839020909101805464ffffffffff95909516600160a01b0264ffffffffff60a01b1990951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a150505050565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156110bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110df9190612565565b15611102576040516321b9f44760e01b815260ff8416600482015260240161077e565b60ff8084165f9081526002602090815260408083208685168452825280832085851684529091529020541661115f57604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640161077e565b505050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156111c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff9190612565565b60408051610120810182525f8082526020820181905291810182905260608082018190526080820181905260a082015260c0810182905260e0810182905261010081019190915260ff8083165f9081526005602090815260409182902082516101208101845281548086168252610100900490941684830152600181015484840152600281018054845181850281018501909552808552919360608601939092908301828280156112c257602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116112a4575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020015f905b82821015611397578382905f5260205f2001805461130c9061257e565b80601f01602080910402602001604051908101604052809291908181526020018280546113389061257e565b80156113835780601f1061135a57610100808354040283529160200191611383565b820191905f5260205f20905b81548152906001019060200180831161136657829003601f168201915b5050505050815260200190600101906112ef565b5050505081526020016004820180548060200260200160405190810160405280929190818152602001828054801561140957602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116113da5790505b5050509183525050600591909101546001600160a01b038116602083015264ffffffffff600160a01b820481166040840152600160c81b9091041660609091015292915050565b5f61145a3361057b565b60085460ff6201000090910481165f81815260096020526040902054909116611486600682600361050a565b6114a85760405163997ed62960e01b815260ff8216600482015260240161077e565b60ff82165f908152600960205260409020805460ff19166003179055600a54600b54036114e8576040516399a36bd560e01b815260040160405180910390fd5b5f805f6114f487611959565b60ff88165f9081526006602052604080822054600a54915162212fa360ea1b81526004810192909252949750929550909350916001600160a01b0316906384be8c0090602401602060405180830381865afa158015611555573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157991906123bc565b905060ff808416908216146115ae57604051636e2c208b60e01b815260ff80831660048301528416602482015260440161077e565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906115fe908790869088906004016125b6565b6020604051808303815f875af115801561161a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163e919061267e565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af115801561167d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a1919061267e565b50600a8054905f6116b183612697565b909155505060ff8681165f9081526006602052604090819020549051637485407160e01b81526001600160a01b0391821660048201528a82166024820152858316604482015291841660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611742575f80fd5b505af1158015611754573d5f803e3d5ffd5b50505050611764836106f4600290565b80611772575060ff83166003145b80611780575060ff8316600f145b156118055760405163420e0b3560e01b81526001600160a01b03898116600483015260ff851660248301527f0000000000000000000000000000000000000000000000000000000000000000169063420e0b35906044015f604051808303815f87803b1580156117ee575f80fd5b505af1158015611800573d5f803e3d5ffd5b505050505b505050505050919050565b5f806118436118265f546001600160a01b031690565b863061183560045f898b6126af565b61183e916126d6565b611d69565b91509150816118ff5763ffffffff8116156118dc575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061189d9088908890889060040161270e565b5f604051808303815f87803b1580156118b4575f80fd5b505af11580156118c6573d5f803e3d5ffd5b50505f805460ff60a01b19169055506118ff9050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161077e565b5050505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156119dc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a009190612565565b611a2857604051635f569d0b60e01b81526001600160a01b038516600482015260240161077e565b5f3390505f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a8d91906123e2565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611acb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aef919061274d565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611b42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6691906123bc565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ba4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc891906123bc565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611c05573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c2c91908101906127db565b9450611c39868684611e71565b5f600860029054906101000a900460ff1690505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ca9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ccd91906123e2565b9050806001600160a01b0316836001600160a01b031614611d1c57604051635eec2d7360e01b81526001600160a01b03808a16600483015280851660248301528216604482015260640161077e565b60ff80861690831614611d5e57604051630576d1a960e51b81526001600160a01b038916600482015260ff80871660248301528316604482015260640161077e565b505050509193909250565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611dd791906128ad565b5f60405180830381855afa9150503d805f8114611e0f576040519150601f19603f3d011682016040523d82523d5f602084013e611e14565b606091505b50915091508115611e66576040815110611e465780806020019051810190611e3c91906128c3565b9094509250611e66565b6020815110611e665780806020019051810190611e639190612565565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614611eb957604051633db89c6160e01b81526001600160a01b03841660048201819052602482015260440161077e565b606082015115611ef457606082015160405163955d053f60e01b81526001600160a01b0385166004820152901515602482015260440161077e565b611f108260400151611f04600890565b60ff9081169116141590565b15611f4f5760408281015190516336b258d560e11b81526001600160a01b03851660048201526008602482015260ff909116604482015260640161077e565b60a08201516001600160a01b0380821690831614611f9b5760405163fb581fd160e01b81526001600160a01b03808616600483015280841660248301528216604482015260640161077e565b836001600160a01b0316816001600160a01b031603611fd85760405163076ab37760e31b81526001600160a01b038516600482015260240161077e565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa15801561203c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120609190612565565b156120915760405163b1e0f1f560e01b81526001600160a01b0380861660048301528216602482015260440161077e565b50505050565b60ff811681146120a5575f80fd5b50565b5f602082840312156120b8575f80fd5b8135610db281612097565b6001600160a01b03811681146120a5575f80fd5b5f80604083850312156120e8575f80fd5b82356120f3816120c3565b946020939093013593505050565b5f60208284031215612111575f80fd5b8135610db2816120c3565b5f805f6060848603121561212e575f80fd5b8335612139816120c3565b9250602084013591506040840135612150816120c3565b809150509250925092565b5f805f6060848603121561216d575f80fd5b833561217881612097565b9250602084013561218881612097565b9150604084013561215081612097565b5f8151808452602084019350602083015f5b828110156121d15781516001600160a01b03168652602095860195909101906001016121aa565b5093949350505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b5f82825180855260208501945060208160051b830101602085015f5b8381101561225757601f198584030188526122418383516121db565b6020988901989093509190910190600101612225565b50909695505050505050565b5f8151808452602084019350602083015f5b828110156121d157815160ff16865260209586019590910190600101612275565b602081526122aa60208201835160ff169052565b5f60208301516122bf604084018260ff169052565b5060408301516060830152606083015161012060808401526122e5610140840182612198565b90506080840151601f198483030160a08501526123028282612209565b91505060a0840151601f198483030160c08501526123208282612263565b91505060c084015161233d60e08501826001600160a01b03169052565b5060e084015164ffffffffff81166101008501525061010084015164ffffffffff8116610120850152509392505050565b5f6020828403121561237e575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106ff576106ff612385565b80516123b781612097565b919050565b5f602082840312156123cc575f80fd5b8151610db281612097565b80516123b7816120c3565b5f602082840312156123f2575f80fd5b8151610db2816120c3565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612434576124346123fd565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612463576124636123fd565b604052919050565b5f6020828403121561247b575f80fd5b815167ffffffffffffffff811115612491575f80fd5b8201601f810184136124a1575f80fd5b805167ffffffffffffffff8111156124bb576124bb6123fd565b8060051b6124cb6020820161243a565b918252602081840181019290810190878411156124e6575f80fd5b6020850194505b83851015612514578451925061250283612097565b828252602094850194909101906124ed565b979650505050505050565b5f6020828403121561252f575f80fd5b815164ffffffffff81168114610db2575f80fd5b818103818111156106ff576106ff612385565b805180151581146123b7575f80fd5b5f60208284031215612575575f80fd5b610db282612556565b600181811c9082168061259257607f821691505b6020821081036125b057634e487b7160e01b5f52602260045260245ffd5b50919050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f60608501516125fe60c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e06101208401526126456101408401826121db565b915050612657602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b03811681146123b7575f80fd5b5f6020828403121561268e575f80fd5b610db282612668565b5f600182016126a8576126a8612385565b5060010190565b5f80858511156126bd575f80fd5b838611156126c9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612707576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6020828403121561275d575f80fd5b815162ffffff81168114610db2575f80fd5b5f82601f83011261277e575f80fd5b815167ffffffffffffffff811115612798576127986123fd565b6127ab601f8201601f191660200161243a565b8181528460208386010111156127bf575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156127eb575f80fd5b815167ffffffffffffffff811115612801575f80fd5b820160e08185031215612812575f80fd5b61281a612411565b61282382612668565b815261283160208301612668565b6020820152612842604083016123ac565b604082015261285360608301612556565b6060820152612864608083016123d7565b608082015261287560a083016123d7565b60a082015260c082015167ffffffffffffffff811115612893575f80fd5b61289f8682850161276f565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156128d4575f80fd5b6128dd83612556565b9150602083015163ffffffff811681146128f5575f80fd5b80915050925092905056fea26469706673582212200831c5a303643009282a51e66c911ff90d70b7bc672e0a3f2642d8027690c27564736f6c634300081a0033",
973
+ "bytecode": "0x60c06040525f6006555f600755348015610017575f80fd5b50604051612f86380380612f8683398101604081905261003691610499565b3361004081610273565b506100496102c6565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561009f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100c391906104bb565b6100f0576040516324981a5560e11b81526001600160a01b03821660048201526024015b60405180910390fd5b610158816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561012f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101539190610499565b610340565b6001600160a01b03811660a08190526040805163016f41bf60e51b81529051632de837e0916004808201926020929091908290030181865afa1580156101a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c49190610499565b6001600160a01b031660805273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6101f6600160036104da565b6040518263ffffffff1660e01b815260040161021491815260200190565b602060405180830381865af415801561022f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061025391906104f9565b600560016101000a81548160ff021916908360ff1602179055505061052d565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6102d2600660026103b8565b6102e1600660025b6006610403565b6102ef600660026003610403565b6102fb600660036102da565b610309600660036004610403565b610315600660046102da565b610324600660045b6005610403565b61033260066005606e610403565b61033e6006606e61031d565b565b5f5433906001600160a01b031681146103765760405162d1953b60e31b81526001600160a01b03821660048201526024016100e7565b816001600160a01b03163b5f036103ab576040516361798f2f60e11b81526001600160a01b03831660048201526024016100e7565b6103b482610273565b5050565b60ff8281165f908152600160205260408120546103d6921690610472565b6103e2576103e2610519565b60ff9182165f908152600160205260409020805460ff191691909216179055565b60ff8084165f908152600260209081526040808320868516845282528083208585168452909152902054161561043b5761043b610519565b60ff9283165f908152600260209081526040808320948616835293815283822092909416815292529020805460ff19166001179055565b60ff828116908216145b92915050565b6001600160a01b0381168114610496575f80fd5b50565b5f602082840312156104a9575f80fd5b81516104b481610482565b9392505050565b5f602082840312156104cb575f80fd5b815180151581146104b4575f80fd5b8181038181111561047c57634e487b7160e01b5f52601160045260245ffd5b5f60208284031215610509575f80fd5b815160ff811681146104b4575f80fd5b634e487b7160e01b5f52600160045260245ffd5b60805160a0516129cf6105b75f395f81816102f80152818161034a01528181610eb60152818161100901528181611150015281816115c10152818161187b01526121b301525f81816101ff015281816105a70152818161094b01528181610f83015281816110c1015281816111fa015281816113c201528181611555015261192301526129cf5ff3fe608060405234801561000f575f80fd5b50600436106101ba575f3560e01c80638fb36037116100f3578063bf1db3f911610093578063dde4fd8a1161006e578063dde4fd8a146105a5578063e9e96c70146105cb578063f40d7c3014610608578063fdd9ec7d14610618575f80fd5b8063bf1db3f914610463578063bf7e214f14610476578063d2213b5b14610486575f80fd5b806399a228e5116100ce57806399a228e514610412578063a28448241461041a578063a972d69814610422578063b88da75914610450575f80fd5b80638fb360371461037f578063913e10e9146103a057806393a7e711146103a8575f80fd5b806331d537631161015e5780636428e263116101395780636428e2631461031c57806371ed16e41461032f57806379cbc5fa146103455780637a9e5e4b1461036c575f80fd5b806331d53763146102a957806354f1fa81146102e35780635ab1bd53146102f6575f80fd5b80630d358181116101995780630d358181146102415780630e6d1de91461026657806311edceaa1461027157806330ac5bf214610294575f80fd5b8062d19f30146101be57806301bc45c9146101fa5780630af43fe114610239575b5f80fd5b6101e36101cc36600461225e565b60ff9081165f908152600360205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f1565b6101e3610643565b6101e361024f36600461225e565b60ff9081165f908152600160205260409020541690565b60055460ff166101e3565b61028461027f36600461225e565b610841565b60405190151581526020016101f1565b6102a76102a236600461225e565b610861565b005b6102bc6102b7366004612294565b610901565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101f1565b6102a76102f13660046122be565b610a56565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102a761032a36600461225e565b610bb4565b610337610ce4565b6040519081526020016101f1565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6102a761037a366004612317565b610cfa565b610387610d72565b6040516001600160e01b031990911681526020016101f1565b600454610337565b6102216103b6366004612332565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b610337600381565b6102a7610d94565b61022161043036600461225e565b60ff165f908152600360205260409020600201546001600160a01b031690565b6101e361045e366004612371565b6112c3565b61028461047136600461225e565b6112fc565b5f546001600160a01b0316610221565b61053e61049436600461225e565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525060ff9081165f90815260036020908152604091829020825160c08101845281548086168252610100900490941691840191909152600181015491830191909152600201546001600160a01b038116606083015264ffffffffff600160a01b820481166080840152600160c81b9091041660a082015290565b6040516101f191905f60c08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102846105d9366004612388565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b600554610100900460ff166101e3565b61062b610626366004612317565b611382565b6040516001600160601b0390911681526020016101f1565b5f610650335b5f366116ac565b600554610100900460ff1661067c600660ff8084165f90815260036020526040902054166105d9600690565b1561069e5760ff81165f908152600360205260409020805460ff191660061790555b604051632b10f60d60e21b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156106f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071a91906123c5565b6107259060016123f0565b6040518263ffffffff1660e01b815260040161074391815260200190565b602060405180830381865af415801561075e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107829190612413565b600480546001810190915560208082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460ff808616601f90951661010090810a868102920219909216179091556005805491840261ff001992831681179091555f938452600390925260409092208054909216179055905061080961024f600690565b60ff9182165f908152600360205260408120805460ff1916928416929092179091556007819055600655600554610100900416919050565b60ff8181165f908152600360205260408120549091166005145b92915050565b61086a33610649565b60ff8181165f9081526003602052604090205461088e91166006606e5b6005610a56565b60ff81165f908152600360205260408120805460ff19166005178155600201805464ffffffffff60c81b191690556108c79082906117a2565b60405160ff821681527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb992906020015b60405180910390a150565b5f808061090d33610649565b60055460ff61010090910481165f8181526003602052604090205490935061093b9116600660026003610a56565b5f61094786848761198f565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c99190612439565b600782905560ff84165f81815260036020818152604092839020805460ff19169092178255600182018a9055600290910180546001600160a01b0319166001600160a01b038c161790558151928352820188905280519296508794507f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa550792918290030190a1509250925092565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610ab8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adc9190612463565b15610b0a5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610b4b5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610b01565b60ff8084165f90815260026020908152604080832088851684528252808320858516845290915290205416610bae5760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610b01565b50505050565b610bbd33610649565b60ff8181165f90815260036020526040902054610be0911660066005606e610a56565b60ff81165f90815260036020908152604091829020805460ff1916606e17905581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610c49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6d919061247c565b60ff82165f908152600360205260409020600201805464ffffffffff92909216600160c81b0264ffffffffff60c81b19909216919091179055610cb18160016117a2565b60405160ff821681527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e826906020016108f6565b5f600654600754610cf591906124a0565b905090565b5f5433906001600160a01b03168114610d305760405162d1953b60e31b81526001600160a01b0382166004820152602401610b01565b816001600160a01b03163b5f03610d65576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b01565b610d6e82611b56565b5050565b5f8054600160a01b900460ff16610d8857505f90565b50638fb3603760e01b90565b610d9d33610649565b60055460ff61010090910481165f818152600360205260409020549091610dc8911660066004610887565b6005805460ff191660ff8316179055610ddf600590565b60ff8281165f90815260036020908152604091829020805460ff1916949093169390931790915580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610e4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e72919061247c565b60ff82165f908152600360205260408120600201805464ffffffffff93909316600160a01b0264ffffffffff60a01b19909316929092179091556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043610ee3600290565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015610f27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612439565b90506001600160a01b038116610f79576040516381d94faf60e01b815260ff83166004820152602401610b01565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260026040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610ff1575f80fd5b505af1158015611003573d5f803e3d5ffd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e604361103e600390565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611082573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a69190612439565b90506001600160a01b03811615611146576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260036040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b15801561112f575f80fd5b505af1158015611141573d5f803e3d5ffd5b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043600f6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa1580156111bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111df9190612439565b90506001600160a01b0381161561127f576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b3582600f6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611268575f80fd5b505af115801561127a573d5f803e3d5ffd5b505050505b611289825f6117a2565b60405160ff831681527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d49060200160405180910390a15050565b5f600482815481106112d7576112d76124b3565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af415801561135e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085b9190612463565b5f61138c33610649565b600554610100900460ff9081165f8181526003602052604090205490916113bf911660066113b8600390565b6004610a56565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114409190612439565b60ff83165f9081526003602052604080822060020154600654915162212fa360ea1b81529394506001600160a01b03169283916384be8c009161148a919060040190815260200190565b602060405180830381865afa1580156114a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c99190612413565b90505f805f6114da89878987611ba3565b6006805493965091945092505f6114f0836124c7565b91905055506006546007540361151d5760ff87165f908152600360205260409020805460ff191660041790555b604051637485407160e01b81526001600160a01b0386811660048301528a8116602483015260ff8085166044840152891660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611596575f80fd5b505af11580156115a8573d5f803e3d5ffd5b5050604051635382852b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a7050a5691506115fc9086908590879060040161250d565b6020604051808303815f875af1158015611618573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163c91906125d5565b9750886001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af115801561167b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169f91906125d5565b5050505050505050919050565b5f806116df6116c25f546001600160a01b031690565b86306116d160045f898b6125ee565b6116da91612615565b611f34565b915091508161179b5763ffffffff811615611778575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906117399088908890889060040161264d565b5f604051808303815f87803b158015611750575f80fd5b505af1158015611762573d5f803e3d5ffd5b50505f805460ff60a01b191690555061179b9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610b01565b5050505050565b60ff82165f908152600360205260408082206002015481516368c55b1360e01b8152915183926001600160a01b0390921691839183916368c55b1391600480830192869291908290030181865afa1580156117ff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261182691908101906126fa565b90505f5b815181101561198657818181518110611845576118456124b3565b602090810291909101015160405163d39e604360e01b815260ff8083166004830152891660248201529094506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d39e604390604401602060405180830381865afa1580156118c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e49190612439565b94506001600160a01b0385166118fc576118fc6127ae565b6040516333cbe07760e21b81526001600160a01b03868116600483015287151560248301527f0000000000000000000000000000000000000000000000000000000000000000169063cf2f81dc906044015f604051808303815f87803b158015611964575f80fd5b505af1158015611976573d5f803e3d5ffd5b50506001909201915061182a9050565b50505050505050565b6040516301ffc9a760e01b81526332d11fef60e01b60048201525f906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156119da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fe9190612463565b611a2657604051631bead44b60e21b81526001600160a01b0385166004820152602401610b01565b5f846001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a879190612413565b905060ff80851690821614611ab557848482604051630c3a335360e41b8152600401610b01939291906127c2565b846001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015611af0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1791908101906126fa565b519150815f03611b4e576040516310c48b6b60e21b81526001600160a01b038616600482015260ff85166024820152604401610b01565b509392505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108f6565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038816906301ffc9a790602401602060405180830381865afa158015611c26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4a9190612463565b611c7257604051635f569d0b60e01b81526001600160a01b0388166004820152602401610b01565b5f3390505f886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd79190612439565b9050886001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d3991906127e6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db09190612413565b9250886001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e129190612413565b9350886001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611e4f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e769190810190612874565b9450611e8389868461203c565b876001600160a01b0316816001600160a01b031614611ed0576040516349aec65360e01b81526001600160a01b03808b166004830152808316602483015289166044820152606401610b01565b60ff80841690881614611efc57888388604051633d36dbf960e01b8152600401610b01939291906127c2565b60ff80851690871614611f28578886856040516348fe94e360e11b8152600401610b01939291906127c2565b50509450945094915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fa29190612946565b5f60405180830381855afa9150503d805f8114611fda576040519150601f19603f3d011682016040523d82523d5f602084013e611fdf565b606091505b509150915081156120315760408151106120115780806020019051810190612007919061295c565b9094509250612031565b6020815110612031578080602001905181019061202e9190612463565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b03161461208b576080820151604051633db89c6160e01b81526001600160a01b0380861660048301529091166024820152604401610b01565b6060820151156120c657606082015160405163955d053f60e01b81526001600160a01b03851660048201529015156024820152604401610b01565b6120e282604001516120d6600890565b60ff9081169116141590565b1561210b5782600883604001516040516336b258d560e11b8152600401610b01939291906127c2565b60a08201516001600160a01b03808216908316146121575760405163fb581fd160e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610b01565b836001600160a01b0316816001600160a01b0316036121945760405163076ab37760e31b81526001600160a01b0385166004820152602401610b01565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa1580156121f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221c9190612463565b15610bae5760405163b1e0f1f560e01b81526001600160a01b03808616600483015282166024820152604401610b01565b60ff8116811461225b575f80fd5b50565b5f6020828403121561226e575f80fd5b81356122798161224d565b9392505050565b6001600160a01b038116811461225b575f80fd5b5f80604083850312156122a5575f80fd5b82356122b081612280565b946020939093013593505050565b5f805f80608085870312156122d1575f80fd5b84356122dc8161224d565b935060208501356122ec8161224d565b925060408501356122fc8161224d565b9150606085013561230c8161224d565b939692955090935050565b5f60208284031215612327575f80fd5b813561227981612280565b5f805f60608486031215612344575f80fd5b833561234f81612280565b925060208401359150604084013561236681612280565b809150509250925092565b5f60208284031215612381575f80fd5b5035919050565b5f805f6060848603121561239a575f80fd5b83356123a58161224d565b925060208401356123b58161224d565b915060408401356123668161224d565b5f602082840312156123d5575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561085b5761085b6123dc565b805161240e8161224d565b919050565b5f60208284031215612423575f80fd5b81516122798161224d565b805161240e81612280565b5f60208284031215612449575f80fd5b815161227981612280565b8051801515811461240e575f80fd5b5f60208284031215612473575f80fd5b61227982612454565b5f6020828403121561248c575f80fd5b815164ffffffffff81168114612279575f80fd5b8181038181111561085b5761085b6123dc565b634e487b7160e01b5f52603260045260245ffd5b5f600182016124d8576124d86123dc565b5060010190565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f606085015161255560c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261259c6101408401826124df565b9150506125ae602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b038116811461240e575f80fd5b5f602082840312156125e5575f80fd5b612279826125bf565b5f80858511156125fc575f80fd5b83861115612608575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612646576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff811182821017156126c3576126c361268c565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156126f2576126f261268c565b604052919050565b5f6020828403121561270a575f80fd5b815167ffffffffffffffff811115612720575f80fd5b8201601f81018413612730575f80fd5b805167ffffffffffffffff81111561274a5761274a61268c565b8060051b61275a602082016126c9565b91825260208184018101929081019087841115612775575f80fd5b6020850194505b838510156127a357845192506127918361224d565b8282526020948501949091019061277c565b979650505050505050565b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b5f602082840312156127f6575f80fd5b815162ffffff81168114612279575f80fd5b5f82601f830112612817575f80fd5b815167ffffffffffffffff8111156128315761283161268c565b612844601f8201601f19166020016126c9565b818152846020838601011115612858575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612884575f80fd5b815167ffffffffffffffff81111561289a575f80fd5b820160e081850312156128ab575f80fd5b6128b36126a0565b6128bc826125bf565b81526128ca602083016125bf565b60208201526128db60408301612403565b60408201526128ec60608301612454565b60608201526128fd6080830161242e565b608082015261290e60a0830161242e565b60a082015260c082015167ffffffffffffffff81111561292c575f80fd5b61293886828501612808565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561296d575f80fd5b61297683612454565b9150602083015163ffffffff8116811461298e575f80fd5b80915050925092905056fea26469706673582212208d8397fd121ea09bd0470e97258d73cf38dd5bd9ad8c4f1894e8dcc46562c9e864736f6c634300081a0033",
974
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101ba575f3560e01c80638fb36037116100f3578063bf1db3f911610093578063dde4fd8a1161006e578063dde4fd8a146105a5578063e9e96c70146105cb578063f40d7c3014610608578063fdd9ec7d14610618575f80fd5b8063bf1db3f914610463578063bf7e214f14610476578063d2213b5b14610486575f80fd5b806399a228e5116100ce57806399a228e514610412578063a28448241461041a578063a972d69814610422578063b88da75914610450575f80fd5b80638fb360371461037f578063913e10e9146103a057806393a7e711146103a8575f80fd5b806331d537631161015e5780636428e263116101395780636428e2631461031c57806371ed16e41461032f57806379cbc5fa146103455780637a9e5e4b1461036c575f80fd5b806331d53763146102a957806354f1fa81146102e35780635ab1bd53146102f6575f80fd5b80630d358181116101995780630d358181146102415780630e6d1de91461026657806311edceaa1461027157806330ac5bf214610294575f80fd5b8062d19f30146101be57806301bc45c9146101fa5780630af43fe114610239575b5f80fd5b6101e36101cc36600461225e565b60ff9081165f908152600360205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f1565b6101e3610643565b6101e361024f36600461225e565b60ff9081165f908152600160205260409020541690565b60055460ff166101e3565b61028461027f36600461225e565b610841565b60405190151581526020016101f1565b6102a76102a236600461225e565b610861565b005b6102bc6102b7366004612294565b610901565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101f1565b6102a76102f13660046122be565b610a56565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102a761032a36600461225e565b610bb4565b610337610ce4565b6040519081526020016101f1565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6102a761037a366004612317565b610cfa565b610387610d72565b6040516001600160e01b031990911681526020016101f1565b600454610337565b6102216103b6366004612332565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b610337600381565b6102a7610d94565b61022161043036600461225e565b60ff165f908152600360205260409020600201546001600160a01b031690565b6101e361045e366004612371565b6112c3565b61028461047136600461225e565b6112fc565b5f546001600160a01b0316610221565b61053e61049436600461225e565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525060ff9081165f90815260036020908152604091829020825160c08101845281548086168252610100900490941691840191909152600181015491830191909152600201546001600160a01b038116606083015264ffffffffff600160a01b820481166080840152600160c81b9091041660a082015290565b6040516101f191905f60c08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102846105d9366004612388565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b600554610100900460ff166101e3565b61062b610626366004612317565b611382565b6040516001600160601b0390911681526020016101f1565b5f610650335b5f366116ac565b600554610100900460ff1661067c600660ff8084165f90815260036020526040902054166105d9600690565b1561069e5760ff81165f908152600360205260409020805460ff191660061790555b604051632b10f60d60e21b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156106f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071a91906123c5565b6107259060016123f0565b6040518263ffffffff1660e01b815260040161074391815260200190565b602060405180830381865af415801561075e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107829190612413565b600480546001810190915560208082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460ff808616601f90951661010090810a868102920219909216179091556005805491840261ff001992831681179091555f938452600390925260409092208054909216179055905061080961024f600690565b60ff9182165f908152600360205260408120805460ff1916928416929092179091556007819055600655600554610100900416919050565b60ff8181165f908152600360205260408120549091166005145b92915050565b61086a33610649565b60ff8181165f9081526003602052604090205461088e91166006606e5b6005610a56565b60ff81165f908152600360205260408120805460ff19166005178155600201805464ffffffffff60c81b191690556108c79082906117a2565b60405160ff821681527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb992906020015b60405180910390a150565b5f808061090d33610649565b60055460ff61010090910481165f8181526003602052604090205490935061093b9116600660026003610a56565b5f61094786848761198f565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c99190612439565b600782905560ff84165f81815260036020818152604092839020805460ff19169092178255600182018a9055600290910180546001600160a01b0319166001600160a01b038c161790558151928352820188905280519296508794507f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa550792918290030190a1509250925092565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610ab8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adc9190612463565b15610b0a5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610b4b5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610b01565b60ff8084165f90815260026020908152604080832088851684528252808320858516845290915290205416610bae5760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610b01565b50505050565b610bbd33610649565b60ff8181165f90815260036020526040902054610be0911660066005606e610a56565b60ff81165f90815260036020908152604091829020805460ff1916606e17905581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610c49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6d919061247c565b60ff82165f908152600360205260409020600201805464ffffffffff92909216600160c81b0264ffffffffff60c81b19909216919091179055610cb18160016117a2565b60405160ff821681527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e826906020016108f6565b5f600654600754610cf591906124a0565b905090565b5f5433906001600160a01b03168114610d305760405162d1953b60e31b81526001600160a01b0382166004820152602401610b01565b816001600160a01b03163b5f03610d65576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b01565b610d6e82611b56565b5050565b5f8054600160a01b900460ff16610d8857505f90565b50638fb3603760e01b90565b610d9d33610649565b60055460ff61010090910481165f818152600360205260409020549091610dc8911660066004610887565b6005805460ff191660ff8316179055610ddf600590565b60ff8281165f90815260036020908152604091829020805460ff1916949093169390931790915580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610e4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e72919061247c565b60ff82165f908152600360205260408120600201805464ffffffffff93909316600160a01b0264ffffffffff60a01b19909316929092179091556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043610ee3600290565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015610f27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612439565b90506001600160a01b038116610f79576040516381d94faf60e01b815260ff83166004820152602401610b01565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260026040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610ff1575f80fd5b505af1158015611003573d5f803e3d5ffd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e604361103e600390565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611082573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a69190612439565b90506001600160a01b03811615611146576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260036040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b15801561112f575f80fd5b505af1158015611141573d5f803e3d5ffd5b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043600f6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa1580156111bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111df9190612439565b90506001600160a01b0381161561127f576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b3582600f6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611268575f80fd5b505af115801561127a573d5f803e3d5ffd5b505050505b611289825f6117a2565b60405160ff831681527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d49060200160405180910390a15050565b5f600482815481106112d7576112d76124b3565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af415801561135e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085b9190612463565b5f61138c33610649565b600554610100900460ff9081165f8181526003602052604090205490916113bf911660066113b8600390565b6004610a56565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114409190612439565b60ff83165f9081526003602052604080822060020154600654915162212fa360ea1b81529394506001600160a01b03169283916384be8c009161148a919060040190815260200190565b602060405180830381865afa1580156114a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c99190612413565b90505f805f6114da89878987611ba3565b6006805493965091945092505f6114f0836124c7565b91905055506006546007540361151d5760ff87165f908152600360205260409020805460ff191660041790555b604051637485407160e01b81526001600160a01b0386811660048301528a8116602483015260ff8085166044840152891660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611596575f80fd5b505af11580156115a8573d5f803e3d5ffd5b5050604051635382852b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a7050a5691506115fc9086908590879060040161250d565b6020604051808303815f875af1158015611618573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163c91906125d5565b9750886001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af115801561167b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169f91906125d5565b5050505050505050919050565b5f806116df6116c25f546001600160a01b031690565b86306116d160045f898b6125ee565b6116da91612615565b611f34565b915091508161179b5763ffffffff811615611778575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906117399088908890889060040161264d565b5f604051808303815f87803b158015611750575f80fd5b505af1158015611762573d5f803e3d5ffd5b50505f805460ff60a01b191690555061179b9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610b01565b5050505050565b60ff82165f908152600360205260408082206002015481516368c55b1360e01b8152915183926001600160a01b0390921691839183916368c55b1391600480830192869291908290030181865afa1580156117ff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261182691908101906126fa565b90505f5b815181101561198657818181518110611845576118456124b3565b602090810291909101015160405163d39e604360e01b815260ff8083166004830152891660248201529094506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d39e604390604401602060405180830381865afa1580156118c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e49190612439565b94506001600160a01b0385166118fc576118fc6127ae565b6040516333cbe07760e21b81526001600160a01b03868116600483015287151560248301527f0000000000000000000000000000000000000000000000000000000000000000169063cf2f81dc906044015f604051808303815f87803b158015611964575f80fd5b505af1158015611976573d5f803e3d5ffd5b50506001909201915061182a9050565b50505050505050565b6040516301ffc9a760e01b81526332d11fef60e01b60048201525f906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156119da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fe9190612463565b611a2657604051631bead44b60e21b81526001600160a01b0385166004820152602401610b01565b5f846001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a879190612413565b905060ff80851690821614611ab557848482604051630c3a335360e41b8152600401610b01939291906127c2565b846001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015611af0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1791908101906126fa565b519150815f03611b4e576040516310c48b6b60e21b81526001600160a01b038616600482015260ff85166024820152604401610b01565b509392505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108f6565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038816906301ffc9a790602401602060405180830381865afa158015611c26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4a9190612463565b611c7257604051635f569d0b60e01b81526001600160a01b0388166004820152602401610b01565b5f3390505f886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd79190612439565b9050886001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d3991906127e6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db09190612413565b9250886001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e129190612413565b9350886001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611e4f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e769190810190612874565b9450611e8389868461203c565b876001600160a01b0316816001600160a01b031614611ed0576040516349aec65360e01b81526001600160a01b03808b166004830152808316602483015289166044820152606401610b01565b60ff80841690881614611efc57888388604051633d36dbf960e01b8152600401610b01939291906127c2565b60ff80851690871614611f28578886856040516348fe94e360e11b8152600401610b01939291906127c2565b50509450945094915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fa29190612946565b5f60405180830381855afa9150503d805f8114611fda576040519150601f19603f3d011682016040523d82523d5f602084013e611fdf565b606091505b509150915081156120315760408151106120115780806020019051810190612007919061295c565b9094509250612031565b6020815110612031578080602001905181019061202e9190612463565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b03161461208b576080820151604051633db89c6160e01b81526001600160a01b0380861660048301529091166024820152604401610b01565b6060820151156120c657606082015160405163955d053f60e01b81526001600160a01b03851660048201529015156024820152604401610b01565b6120e282604001516120d6600890565b60ff9081169116141590565b1561210b5782600883604001516040516336b258d560e11b8152600401610b01939291906127c2565b60a08201516001600160a01b03808216908316146121575760405163fb581fd160e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610b01565b836001600160a01b0316816001600160a01b0316036121945760405163076ab37760e31b81526001600160a01b0385166004820152602401610b01565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa1580156121f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221c9190612463565b15610bae5760405163b1e0f1f560e01b81526001600160a01b03808616600483015282166024820152604401610b01565b60ff8116811461225b575f80fd5b50565b5f6020828403121561226e575f80fd5b81356122798161224d565b9392505050565b6001600160a01b038116811461225b575f80fd5b5f80604083850312156122a5575f80fd5b82356122b081612280565b946020939093013593505050565b5f805f80608085870312156122d1575f80fd5b84356122dc8161224d565b935060208501356122ec8161224d565b925060408501356122fc8161224d565b9150606085013561230c8161224d565b939692955090935050565b5f60208284031215612327575f80fd5b813561227981612280565b5f805f60608486031215612344575f80fd5b833561234f81612280565b925060208401359150604084013561236681612280565b809150509250925092565b5f60208284031215612381575f80fd5b5035919050565b5f805f6060848603121561239a575f80fd5b83356123a58161224d565b925060208401356123b58161224d565b915060408401356123668161224d565b5f602082840312156123d5575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561085b5761085b6123dc565b805161240e8161224d565b919050565b5f60208284031215612423575f80fd5b81516122798161224d565b805161240e81612280565b5f60208284031215612449575f80fd5b815161227981612280565b8051801515811461240e575f80fd5b5f60208284031215612473575f80fd5b61227982612454565b5f6020828403121561248c575f80fd5b815164ffffffffff81168114612279575f80fd5b8181038181111561085b5761085b6123dc565b634e487b7160e01b5f52603260045260245ffd5b5f600182016124d8576124d86123dc565b5060010190565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f606085015161255560c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261259c6101408401826124df565b9150506125ae602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b038116811461240e575f80fd5b5f602082840312156125e5575f80fd5b612279826125bf565b5f80858511156125fc575f80fd5b83861115612608575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612646576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff811182821017156126c3576126c361268c565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156126f2576126f261268c565b604052919050565b5f6020828403121561270a575f80fd5b815167ffffffffffffffff811115612720575f80fd5b8201601f81018413612730575f80fd5b805167ffffffffffffffff81111561274a5761274a61268c565b8060051b61275a602082016126c9565b91825260208184018101929081019087841115612775575f80fd5b6020850194505b838510156127a357845192506127918361224d565b8282526020948501949091019061277c565b979650505050505050565b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b5f602082840312156127f6575f80fd5b815162ffffff81168114612279575f80fd5b5f82601f830112612817575f80fd5b815167ffffffffffffffff8111156128315761283161268c565b612844601f8201601f19166020016126c9565b818152846020838601011115612858575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612884575f80fd5b815167ffffffffffffffff81111561289a575f80fd5b820160e081850312156128ab575f80fd5b6128b36126a0565b6128bc826125bf565b81526128ca602083016125bf565b60208201526128db60408301612403565b60408201526128ec60608301612454565b60608201526128fd6080830161242e565b608082015261290e60a0830161242e565b60a082015260c082015167ffffffffffffffff81111561292c575f80fd5b61293886828501612808565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561296d575f80fd5b61297683612454565b9150602083015163ffffffff8116811461298e575f80fd5b80915050925092905056fea26469706673582212208d8397fd121ea09bd0470e97258d73cf38dd5bd9ad8c4f1894e8dcc46562c9e864736f6c634300081a0033",
1065
975
  "linkReferences": {
1066
- "contracts/type/NftId.sol": {
1067
- "NftIdLib": [
976
+ "contracts/shared/ContractLib.sol": {
977
+ "ContractLib": [
1068
978
  {
1069
979
  "length": 20,
1070
- "start": 961
980
+ "start": 103
1071
981
  }
1072
982
  ]
1073
983
  },
@@ -1075,11 +985,11 @@
1075
985
  "StateIdLib": [
1076
986
  {
1077
987
  "length": 20,
1078
- "start": 5927
988
+ "start": 4151
1079
989
  },
1080
990
  {
1081
991
  "length": 20,
1082
- "start": 6194
992
+ "start": 6365
1083
993
  }
1084
994
  ]
1085
995
  },
@@ -1087,11 +997,11 @@
1087
997
  "TimestampLib": [
1088
998
  {
1089
999
  "length": 20,
1090
- "start": 4796
1000
+ "start": 4551
1091
1001
  },
1092
1002
  {
1093
1003
  "length": 20,
1094
- "start": 5677
1004
+ "start": 5069
1095
1005
  }
1096
1006
  ]
1097
1007
  },
@@ -1099,25 +1009,17 @@
1099
1009
  "VersionLib": [
1100
1010
  {
1101
1011
  "length": 20,
1102
- "start": 8622
1012
+ "start": 8971
1103
1013
  }
1104
1014
  ],
1105
1015
  "VersionPartLib": [
1106
1016
  {
1107
1017
  "length": 20,
1108
- "start": 365
1109
- },
1110
- {
1111
- "length": 20,
1112
- "start": 479
1113
- },
1114
- {
1115
- "length": 20,
1116
- "start": 3143
1018
+ "start": 466
1117
1019
  },
1118
1020
  {
1119
1021
  "length": 20,
1120
- "start": 3926
1022
+ "start": 3181
1121
1023
  }
1122
1024
  ]
1123
1025
  }
@@ -1127,11 +1029,11 @@
1127
1029
  "StateIdLib": [
1128
1030
  {
1129
1031
  "length": 20,
1130
- "start": 4227
1032
+ "start": 2688
1131
1033
  },
1132
1034
  {
1133
1035
  "length": 20,
1134
- "start": 4494
1036
+ "start": 4902
1135
1037
  }
1136
1038
  ]
1137
1039
  },
@@ -1139,11 +1041,11 @@
1139
1041
  "TimestampLib": [
1140
1042
  {
1141
1043
  "length": 20,
1142
- "start": 3096
1044
+ "start": 3088
1143
1045
  },
1144
1046
  {
1145
1047
  "length": 20,
1146
- "start": 3977
1048
+ "start": 3606
1147
1049
  }
1148
1050
  ]
1149
1051
  },
@@ -1151,17 +1053,13 @@
1151
1053
  "VersionLib": [
1152
1054
  {
1153
1055
  "length": 20,
1154
- "start": 6922
1056
+ "start": 7508
1155
1057
  }
1156
1058
  ],
1157
1059
  "VersionPartLib": [
1158
1060
  {
1159
1061
  "length": 20,
1160
- "start": 1443
1161
- },
1162
- {
1163
- "length": 20,
1164
- "start": 2226
1062
+ "start": 1718
1165
1063
  }
1166
1064
  ]
1167
1065
  }