@etherisc/gif-next 0.0.2-f11de3a-698 → 0.0.2-f12cf4d-104

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. package/README.md +9 -7
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  14. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +136 -360
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +99 -315
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +206 -292
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +125 -117
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +89 -115
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +78 -62
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1429 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1979 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1430 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1177 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1606 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2281 -0
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  53. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +53 -31
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +31 -86
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +72 -123
  60. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +166 -139
  62. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +57 -97
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +447 -87
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +96 -245
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +99 -87
  70. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +337 -138
  72. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  74. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  77. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  79. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  87. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +111 -335
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  91. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  92. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  94. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +77 -103
  95. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  97. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +87 -303
  99. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +107 -159
  101. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +99 -83
  103. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +107 -323
  105. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
  107. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +215 -256
  109. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +130 -110
  111. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +84 -47
  113. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +98 -135
  115. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +271 -199
  117. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/Pool.sol/Pool.json +106 -333
  119. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +369 -386
  121. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +112 -100
  123. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +92 -168
  125. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +90 -86
  127. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +149 -319
  129. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  130. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  131. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +311 -187
  133. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  134. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +139 -103
  135. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +34 -0
  137. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +176 -6
  139. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +267 -141
  141. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +114 -85
  143. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  144. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +136 -116
  145. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  146. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +31 -2
  147. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +365 -349
  149. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +119 -99
  151. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingService.sol/PricingService.json +215 -309
  153. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +117 -117
  155. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  156. package/artifacts/contracts/product/Product.sol/Product.json +147 -317
  157. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  159. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  160. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  161. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  162. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  163. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  164. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +310 -34
  165. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  166. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  167. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  169. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/Registry.sol/Registry.json +516 -95
  171. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +296 -143
  173. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  174. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +94 -284
  175. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +91 -75
  177. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  179. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +131 -223
  181. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  183. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  185. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  186. package/artifacts/contracts/shared/Component.sol/Component.json +73 -274
  187. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +424 -277
  189. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  190. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +137 -115
  191. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  192. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -112
  193. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  194. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +111 -0
  195. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  196. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +66 -77
  197. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +388 -19
  199. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +77 -103
  201. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  203. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  205. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  206. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  207. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  208. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  209. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  211. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  214. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  215. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  216. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  217. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +87 -303
  218. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  219. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  220. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  222. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  223. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  224. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  226. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  227. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  228. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +58 -89
  230. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  231. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  232. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Service.sol/Service.json +47 -112
  234. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  235. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +697 -25
  236. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  237. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  238. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  239. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  240. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  241. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +111 -114
  242. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  243. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  244. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  245. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  246. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  247. package/artifacts/contracts/staking/Staking.sol/Staking.json +190 -379
  248. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  250. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  251. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +118 -99
  252. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  253. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  254. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  255. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +87 -165
  256. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +95 -79
  258. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
  260. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  261. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  262. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  263. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  265. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  267. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  268. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  270. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  272. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  273. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  274. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  276. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  277. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  278. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  280. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  282. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  284. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  286. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  288. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  290. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
  292. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  296. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  299. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  301. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  303. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  305. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  306. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  307. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +71 -70
  308. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  309. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  310. package/contracts/authorization/AccessAdmin.sol +64 -59
  311. package/contracts/authorization/Authorization.sol +111 -40
  312. package/contracts/authorization/IAccess.sol +1 -0
  313. package/contracts/authorization/IAccessAdmin.sol +4 -3
  314. package/contracts/authorization/IAuthorization.sol +13 -7
  315. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  316. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  317. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  318. package/contracts/distribution/BasicDistribution.sol +2 -1
  319. package/contracts/distribution/Distribution.sol +7 -17
  320. package/contracts/distribution/DistributionService.sol +85 -67
  321. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  322. package/contracts/distribution/IDistributionComponent.sol +1 -1
  323. package/contracts/distribution/IDistributionService.sol +9 -5
  324. package/contracts/examples/fire/DamageLevel.sol +59 -0
  325. package/contracts/examples/fire/FirePool.sol +86 -0
  326. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  327. package/contracts/examples/fire/FireProduct.sol +431 -0
  328. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  329. package/contracts/examples/fire/FireUSD.sol +26 -0
  330. package/contracts/examples/unpermissioned/SimpleDistribution.sol +58 -0
  331. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  332. package/contracts/examples/unpermissioned/SimplePool.sol +108 -0
  333. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  334. package/contracts/instance/IInstance.sol +10 -30
  335. package/contracts/instance/IInstanceService.sol +2 -23
  336. package/contracts/instance/Instance.sol +29 -51
  337. package/contracts/instance/InstanceAdmin.sol +43 -32
  338. package/contracts/instance/InstanceAuthorizationV3.sol +11 -21
  339. package/contracts/instance/InstanceReader.sol +107 -25
  340. package/contracts/instance/InstanceService.sol +75 -104
  341. package/contracts/instance/InstanceServiceManager.sol +6 -7
  342. package/contracts/instance/InstanceStore.sol +11 -1
  343. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  344. package/contracts/instance/module/IComponents.sol +10 -6
  345. package/contracts/instance/module/IPolicy.sol +26 -25
  346. package/contracts/oracle/BasicOracle.sol +0 -1
  347. package/contracts/oracle/IOracleService.sol +2 -1
  348. package/contracts/oracle/Oracle.sol +6 -16
  349. package/contracts/oracle/OracleService.sol +56 -42
  350. package/contracts/oracle/OracleServiceManager.sol +6 -6
  351. package/contracts/pool/BasicPool.sol +35 -26
  352. package/contracts/pool/BasicPoolAuthorization.sol +13 -3
  353. package/contracts/pool/BundleService.sol +112 -69
  354. package/contracts/pool/BundleServiceManager.sol +6 -6
  355. package/contracts/pool/IBundleService.sol +16 -9
  356. package/contracts/pool/IPoolComponent.sol +19 -15
  357. package/contracts/pool/IPoolService.sol +62 -39
  358. package/contracts/pool/Pool.sol +145 -128
  359. package/contracts/pool/PoolService.sol +283 -189
  360. package/contracts/pool/PoolServiceManager.sol +4 -4
  361. package/contracts/product/ApplicationService.sol +59 -30
  362. package/contracts/product/ApplicationServiceManager.sol +4 -4
  363. package/contracts/product/BasicProduct.sol +9 -12
  364. package/contracts/product/BasicProductAuthorization.sol +0 -1
  365. package/contracts/product/ClaimService.sol +315 -118
  366. package/contracts/product/ClaimServiceManager.sol +4 -4
  367. package/contracts/product/IApplicationService.sol +1 -0
  368. package/contracts/product/IClaimService.sol +31 -7
  369. package/contracts/product/IPolicyService.sol +34 -36
  370. package/contracts/product/IPricingService.sol +10 -10
  371. package/contracts/product/IProductComponent.sol +23 -4
  372. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  373. package/contracts/product/PolicyService.sol +383 -217
  374. package/contracts/product/PolicyServiceManager.sol +4 -4
  375. package/contracts/product/PricingService.sol +54 -54
  376. package/contracts/product/PricingServiceManager.sol +3 -3
  377. package/contracts/product/Product.sol +110 -89
  378. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  379. package/contracts/product/RiskServiceManager.sol +39 -0
  380. package/contracts/registry/ChainNft.sol +68 -38
  381. package/contracts/registry/IRegistry.sol +57 -18
  382. package/contracts/registry/IRegistryService.sol +5 -12
  383. package/contracts/registry/ITransferInterceptor.sol +1 -2
  384. package/contracts/registry/Registry.sol +350 -201
  385. package/contracts/registry/RegistryAdmin.sol +151 -54
  386. package/contracts/registry/RegistryService.sol +35 -46
  387. package/contracts/registry/RegistryServiceManager.sol +2 -2
  388. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  389. package/contracts/registry/ReleaseRegistry.sol +204 -204
  390. package/contracts/registry/ServiceAuthorizationV3.sol +26 -23
  391. package/contracts/shared/Component.sol +63 -114
  392. package/contracts/shared/ComponentService.sol +296 -168
  393. package/contracts/shared/ComponentServiceManager.sol +8 -5
  394. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  395. package/contracts/shared/ContractLib.sol +54 -0
  396. package/contracts/shared/IComponent.sol +10 -13
  397. package/contracts/shared/IComponentService.sol +38 -16
  398. package/contracts/shared/IInstanceLinkedComponent.sol +7 -22
  399. package/contracts/shared/ILifecycle.sol +3 -1
  400. package/contracts/shared/INftOwnable.sol +2 -0
  401. package/contracts/shared/IPolicyHolder.sol +12 -22
  402. package/contracts/shared/IRegisterable.sol +11 -0
  403. package/contracts/shared/InitializableERC165.sol +2 -2
  404. package/contracts/shared/InstanceLinkedComponent.sol +71 -38
  405. package/contracts/shared/KeyValueStore.sol +1 -1
  406. package/contracts/shared/Lifecycle.sol +15 -4
  407. package/contracts/shared/NftOwnable.sol +27 -7
  408. package/contracts/shared/PolicyHolder.sol +15 -52
  409. package/contracts/shared/Registerable.sol +19 -11
  410. package/contracts/shared/RegistryLinked.sol +9 -14
  411. package/contracts/shared/Service.sol +20 -18
  412. package/contracts/shared/TokenHandler.sol +366 -27
  413. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  414. package/contracts/staking/IStaking.sol +11 -5
  415. package/contracts/staking/IStakingService.sol +0 -3
  416. package/contracts/staking/StakeManagerLib.sol +18 -25
  417. package/contracts/staking/Staking.sol +39 -50
  418. package/contracts/staking/StakingManager.sol +8 -6
  419. package/contracts/staking/StakingReader.sol +12 -5
  420. package/contracts/staking/StakingService.sol +77 -35
  421. package/contracts/staking/StakingServiceManager.sol +2 -2
  422. package/contracts/staking/TargetManagerLib.sol +7 -3
  423. package/contracts/type/Amount.sol +15 -0
  424. package/contracts/type/ClaimId.sol +6 -1
  425. package/contracts/type/NftId.sol +1 -0
  426. package/contracts/type/ObjectType.sol +16 -11
  427. package/contracts/type/PayoutId.sol +10 -10
  428. package/contracts/type/RiskId.sol +16 -2
  429. package/contracts/type/RoleId.sol +0 -12
  430. package/contracts/type/Seconds.sol +8 -0
  431. package/contracts/type/StateId.sol +15 -1
  432. package/contracts/type/UFixed.sol +4 -0
  433. package/contracts/upgradeability/ProxyManager.sol +68 -34
  434. package/contracts/upgradeability/Versionable.sol +2 -2
  435. package/package.json +4 -3
  436. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  437. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  438. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  439. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  440. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  441. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  442. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  443. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  444. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  445. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  446. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  447. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  448. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  449. package/contracts/product/ProductServiceManager.sol +0 -39
  450. 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",
@@ -734,6 +646,11 @@
734
646
  "outputs": [
735
647
  {
736
648
  "components": [
649
+ {
650
+ "internalType": "StateId",
651
+ "name": "state",
652
+ "type": "uint8"
653
+ },
737
654
  {
738
655
  "internalType": "VersionPart",
739
656
  "name": "version",
@@ -745,19 +662,9 @@
745
662
  "type": "bytes32"
746
663
  },
747
664
  {
748
- "internalType": "address[]",
749
- "name": "addresses",
750
- "type": "address[]"
751
- },
752
- {
753
- "internalType": "string[]",
754
- "name": "names",
755
- "type": "string[]"
756
- },
757
- {
758
- "internalType": "ObjectType[]",
759
- "name": "domains",
760
- "type": "uint8[]"
665
+ "internalType": "contract IServiceAuthorization",
666
+ "name": "auth",
667
+ "type": "address"
761
668
  },
762
669
  {
763
670
  "internalType": "Timestamp",
@@ -832,17 +739,17 @@
832
739
  {
833
740
  "inputs": [
834
741
  {
835
- "internalType": "ObjectType",
836
- "name": "objectType",
837
- "type": "uint8"
742
+ "internalType": "uint256",
743
+ "name": "idx",
744
+ "type": "uint256"
838
745
  }
839
746
  ],
840
- "name": "hasLifecycle",
747
+ "name": "getVersion",
841
748
  "outputs": [
842
749
  {
843
- "internalType": "bool",
844
- "name": "",
845
- "type": "bool"
750
+ "internalType": "VersionPart",
751
+ "name": "version",
752
+ "type": "uint8"
846
753
  }
847
754
  ],
848
755
  "stateMutability": "view",
@@ -851,12 +758,12 @@
851
758
  {
852
759
  "inputs": [
853
760
  {
854
- "internalType": "address",
855
- "name": "service",
856
- "type": "address"
761
+ "internalType": "ObjectType",
762
+ "name": "objectType",
763
+ "type": "uint8"
857
764
  }
858
765
  ],
859
- "name": "isActiveRegistryService",
766
+ "name": "hasLifecycle",
860
767
  "outputs": [
861
768
  {
862
769
  "internalType": "bool",
@@ -987,12 +894,12 @@
987
894
  "outputs": [
988
895
  {
989
896
  "internalType": "address",
990
- "name": "authority",
897
+ "name": "releaseAuthority",
991
898
  "type": "address"
992
899
  },
993
900
  {
994
901
  "internalType": "VersionPart",
995
- "name": "version",
902
+ "name": "releaseVersion",
996
903
  "type": "uint8"
997
904
  },
998
905
  {
@@ -1023,6 +930,19 @@
1023
930
  "stateMutability": "nonpayable",
1024
931
  "type": "function"
1025
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
+ },
1026
946
  {
1027
947
  "inputs": [
1028
948
  {
@@ -1050,14 +970,14 @@
1050
970
  "type": "function"
1051
971
  }
1052
972
  ],
1053
- "bytecode": "0x60c060405234801561000f575f80fd5b50604051612f4e380380612f4e83398101604081905261002e9161058a565b3361003881610280565b506100416102d3565b61004a81610325565b610077576040516324981a5560e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6100df816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100da919061058a565b610431565b6001600160a01b03811660a08190526040805163016f41bf60e51b81529051632de837e0916004808201926020929091908290030181865afa158015610127573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014b919061058a565b6001600160a01b0316608052604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156101a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c991906105ac565b6008805460ff191660ff9290921691909117905573__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c610203600160036105cc565b6040518263ffffffff1660e01b815260040161022191815260200190565b602060405180830381865af415801561023c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026091906105ac565b600860026101000a81548160ff021916908360ff16021790555050610644565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6102df600660026104a9565b6102ee600660025b60036104f4565b6102fa600660036102e7565b610309600660035b60046104f4565b61031760066004606e6104f4565b6103236006606e610302565b565b5f6001600160a01b03821661033b57505f919050565b604051636939560f60e11b81526001600160a01b038316600482018190529063d272ac1e90602401602060405180830381865afa15801561037e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a291906105eb565b604051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156103f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041d9190610611565b1561042957505f919050565b506001919050565b5f5433906001600160a01b031681146104675760405162d1953b60e31b81526001600160a01b038216600482015260240161006e565b816001600160a01b03163b5f0361049c576040516361798f2f60e11b81526001600160a01b038316600482015260240161006e565b6104a582610280565b5050565b60ff8281165f908152600160205260408120546104c7921690610563565b6104d3576104d3610630565b60ff9182165f908152600160205260409020805460ff191691909216179055565b60ff8084165f908152600260209081526040808320868516845282528083208585168452909152902054161561052c5761052c610630565b60ff9283165f908152600260209081526040808320948616835293815283822092909416815292529020805460ff19166001179055565b60ff828116908216145b92915050565b6001600160a01b0381168114610587575f80fd5b50565b5f6020828403121561059a575f80fd5b81516105a581610573565b9392505050565b5f602082840312156105bc575f80fd5b815160ff811681146105a5575f80fd5b8181038181111561056d57634e487b7160e01b5f52601160045260245ffd5b5f602082840312156105fb575f80fd5b81516001600160601b03811681146105a5575f80fd5b5f60208284031215610621575f80fd5b815180151581146105a5575f80fd5b634e487b7160e01b5f52600160045260245ffd5b60805160a0516128aa6106a45f395f81816103200152818161037201528181610e69015281816115880152611f9d01525f818161020a015281816104d80152818161080d015281816116b3015281816117530152611bf501526128aa5ff3fe608060405234801561000f575f80fd5b50600436106101c5575f3560e01c80637a9e5e4b116100fe578063a972d6981161009e578063dde4fd8a1161006e578063dde4fd8a146104d6578063e9e96c70146104fc578063f40d7c3014610539578063fdd9ec7d1461054a575f80fd5b8063a972d69814610468578063bf1db3f914610493578063bf7e214f146104a6578063d2213b5b146104b6575f80fd5b806399a228e5116100d957806399a228e5146104325780639ef6ddc91461043a578063a28448241461044d578063a898967514610455575f80fd5b80637a9e5e4b146103945780638fb36037146103a757806393a7e711146103c8575f80fd5b806311edceaa116101695780635ab1bd53116101445780635ab1bd531461031e5780636428e2631461034457806371ed16e41461035757806379cbc5fa1461036d575f80fd5b806311edceaa146102ac57806330ac5bf2146102cf57806331d53763146102e4575f80fd5b80630af43fe1116101a45780630af43fe1146102645780630d3581811461026c5780630e41142e146102915780630e6d1de91461029c575f80fd5b8062d19f30146101c957806301bc45c91461020557806305c937ed14610244575b5f80fd5b6101ee6101d736600461204e565b60ff9081165f908152600960205260409020541690565b60405160ff90911681526020015b60405180910390f35b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101fc565b61024e6208052081565b60405164ffffffffff90911681526020016101fc565b6101ee610575565b6101ee61027a36600461204e565b60ff9081165f908152600160205260409020541690565b60085460ff166101ee565b600854610100900460ff166101ee565b6102bf6102ba36600461204e565b6106d7565b60405190151581526020016101fc565b6102e26102dd36600461204e565b610705565b005b6102f76102f236600461207d565b6107ff565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101fc565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102e261035236600461204e565b610b91565b61035f610ce4565b6040519081526020016101fc565b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6102e26103a23660046120a7565b610cfa565b6103af610d72565b6040516001600160e01b031990911681526020016101fc565b61022c6103d63660046120c2565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b61035f600381565b6102bf6104483660046120a7565b610d94565b6102e2610dbf565b6102e2610463366004612101565b611054565b61022c61047636600461204e565b60ff165f908152600660205260409020546001600160a01b031690565b6102bf6104a136600461204e565b61115f565b5f546001600160a01b031661022c565b6104c96104c436600461204e565b6111e5565b6040516101fc9190612203565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102bf61050a366004612101565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b60085462010000900460ff166101ee565b61055d6105583660046120a7565b611413565b6040516001600160601b0390911681526020016101fc565b5f610582335b5f366117b6565b600854604051632b10f60d60e21b81526201000090910460ff16600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156105e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060791906122e2565b61061290600161230d565b6040518263ffffffff1660e01b815260040161063091815260200190565b602060405180830381865af415801561064b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066f9190612330565b6008805460ff92909216620100000262ff0000199092169190911790555f600b819055600a556106a061027a600690565b60088054620100009081900460ff9081165f908152600960205260409020805460ff19169482169490941790935590540416919050565b60ff8181165f9081526009602052604081205490916106ff911660045b60ff90811691161490565b92915050565b61070e3361057b565b60ff8181165f9081526009602052604090205416600461075860065b60ff9081165f9081526002602090815260408083208488168452825280832084871684529091529020541690565b610787576040516302bfeddf60e31b815260ff8085166004830152831660248201526044015b60405180910390fd5b60ff8381165f818152600960209081526040808320805460ff191695871695909517909455600580825291849020909101805469ffffffffff00000000001916905591519081527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb99291015b60405180910390a1505050565b5f808061080b3361057b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088b9190612356565b600854604051632b10f60d60e21b81526201000090910460ff166004820181905291945090925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156108ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091091906122e2565b6040805160208101929092528101859052606001604051602081830303815290604052805190602001209050610962610947600690565b60ff8481165f9081526009602052604090205416600361050a565b61099f5760ff8281165f8181526009602052604090819020549051633dd0d12d60e21b81526004810192909252909116602482015260440161077e565b60ff82165f908152600960209081526040808320805460ff1916600317905580516376b707b760e01b815290516001600160a01b038916926376b707b792600480820193918290030181865afa1580156109fb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1f9190612330565b905060ff80821690841614610a545760405163796adc3f60e11b815260ff80851660048301528216602482015260440161077e565b5f866001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015610a90573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ab791908101906123df565b519050805f03610adf576040516331bedf1b60e01b815260ff8516600482015260240161077e565b600b5415610b205760ff8481165f81815260096020526040908190205490516335598e7b60e01b81526004810192909252909116602482015260440161077e565b600b81905560ff84165f8181526006602090815260409182902080546001600160a01b0319166001600160a01b038c16179055815192835282018590527f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa5507910160405180910390a150509250925092565b610b9a3361057b565b60ff8181165f9081526009602052604090205416606e610bba600661072a565b610be4576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b60ff8381165f90815260096020908152604091829020805460ff19169385169390931790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c769190612493565b60ff84165f81815260056020818152604092839020909101805464ffffffffff95909516650100000000000269ffffffffff00000000001990951694909417909355519081527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e82691016107f2565b5f600a54600b54610cf591906124b7565b905090565b5f5433906001600160a01b03168114610d305760405162d1953b60e31b81526001600160a01b038216600482015260240161077e565b816001600160a01b03163b5f03610d65576040516361798f2f60e11b81526001600160a01b038316600482015260240161077e565b610d6e826118ac565b5050565b5f8054600160a01b900460ff16610d8857505f90565b50638fb3603760e01b90565b6001600160a01b0381165f9081526007602052604081205460ff16610db8816106d7565b9392505050565b610dc83361057b565b60085460ff6201000090910481165f818152600960205260409020549091166004610df3600661072a565b610e1d576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b600b54600a541015610e5e5782600a54600b54610e3a91906124b7565b604051635321a90360e11b815260ff9092166004830152602482015260440161077e565b5f6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360026040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610ed4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef89190612356565b90506001600160a01b038116610f26576040516313fa8f1b60e01b815260ff8516600482015260240161077e565b6008805460ff808716610100810261ff0019909316929092179092555f818152600960209081526040808320805495881660ff199687161790556001600160a01b03861683526007825291829020805490941690921790925581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610fc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fec9190612493565b60ff85165f81815260056020818152604092839020909101805464ffffffffff191664ffffffffff9590951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a150505050565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156110b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110da91906124d9565b156110fd576040516321b9f44760e01b815260ff8416600482015260240161077e565b60ff8084165f9081526002602090815260408083208685168452825280832085851684529091529020541661115a57604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640161077e565b505050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156111c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff91906124d9565b6040805160e080820183525f80835260208084018290526060848601819052808501819052608085015260a0840182905260c0840182905260ff86811683526005825291859020855193840186528054909216835260018201548382015260028201805486518184028101840188528181529596949593948601939283018282801561129857602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161127a575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020015f905b8282101561136d578382905f5260205f200180546112e2906124f2565b80601f016020809104026020016040519081016040528092919081815260200182805461130e906124f2565b80156113595780601f1061133057610100808354040283529160200191611359565b820191905f5260205f20905b81548152906001019060200180831161133c57829003601f168201915b5050505050815260200190600101906112c5565b505050508152602001600482018054806020026020016040519081016040528092919081815260200182805480156113df57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116113b05790505b50505091835250506005919091015464ffffffffff8082166020840152650100000000009091041660409091015292915050565b5f61141d3361057b565b60085460ff6201000090910481165f81815260096020526040902054909116611449600682600361050a565b61146b5760405163997ed62960e01b815260ff8216600482015260240161077e565b60ff82165f908152600960205260409020805460ff19166003179055600a54600b54036114ab576040516399a36bd560e01b815260040160405180910390fd5b5f805f6114b7876118ff565b60ff88165f9081526006602052604080822054600a54915162212fa360ea1b81526004810192909252949750929550909350916001600160a01b0316906384be8c0090602401602060405180830381865afa158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c9190612330565b905060ff8084169082161461157157604051636e2c208b60e01b815260ff80831660048301528416602482015260440161077e565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906115c19087908690889060040161252a565b6020604051808303815f875af11580156115dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061160191906125f2565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611640573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166491906125f2565b50600a8054905f6116748361260b565b909155505060ff86165f908152600660205260409081902054905163122beb2560e11b81526001600160a01b03918216600482015289821660248201527f000000000000000000000000000000000000000000000000000000000000000090911690632457d64a906044015f604051808303815f87803b1580156116f6575f80fd5b505af1158015611708573d5f803e3d5ffd5b50505050611718836106f4600390565b80611726575060ff8316600f145b156117ab5760405163420e0b3560e01b81526001600160a01b03898116600483015260ff851660248301527f0000000000000000000000000000000000000000000000000000000000000000169063420e0b35906044015f604051808303815f87803b158015611794575f80fd5b505af11580156117a6573d5f803e3d5ffd5b505050505b505050505050919050565b5f806117e96117cc5f546001600160a01b031690565b86306117db60045f898b612623565b6117e49161264a565b611d0f565b91509150816118a55763ffffffff811615611882575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061184390889088908890600401612682565b5f604051808303815f87803b15801561185a575f80fd5b505af115801561186c573d5f803e3d5ffd5b50505f805460ff60a01b19169055506118a59050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161077e565b5050505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611982573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a691906124d9565b6119ce57604051635f569d0b60e01b81526001600160a01b038516600482015260240161077e565b5f3390505f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612356565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9591906126c1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0c9190612330565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612330565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611bab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd2919081019061274f565b9450611bdf868684611e17565b5f600860029054906101000a900460ff1690505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c739190612356565b9050806001600160a01b0316836001600160a01b031614611cc257604051635eec2d7360e01b81526001600160a01b03808a16600483015280851660248301528216604482015260640161077e565b60ff80861690831614611d0457604051630576d1a960e51b81526001600160a01b038916600482015260ff80871660248301528316604482015260640161077e565b505050509193909250565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d7d9190612821565b5f60405180830381855afa9150503d805f8114611db5576040519150601f19603f3d011682016040523d82523d5f602084013e611dba565b606091505b50915091508115611e0c576040815110611dec5780806020019051810190611de29190612837565b9094509250611e0c565b6020815110611e0c5780806020019051810190611e0991906124d9565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614611e5f57604051633db89c6160e01b81526001600160a01b03841660048201819052602482015260440161077e565b606082015115611e9a57606082015160405163955d053f60e01b81526001600160a01b0385166004820152901515602482015260440161077e565b611eb68260400151611eaa600890565b60ff9081169116141590565b15611ef55760408281015190516336b258d560e11b81526001600160a01b03851660048201526008602482015260ff909116604482015260640161077e565b60a08201516001600160a01b0380821690831614611f415760405163fb581fd160e01b81526001600160a01b03808616600483015280841660248301528216604482015260640161077e565b836001600160a01b0316816001600160a01b031603611f7e5760405163076ab37760e31b81526001600160a01b038516600482015260240161077e565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015611fe2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200691906124d9565b156120375760405163b1e0f1f560e01b81526001600160a01b0380861660048301528216602482015260440161077e565b50505050565b60ff8116811461204b575f80fd5b50565b5f6020828403121561205e575f80fd5b8135610db88161203d565b6001600160a01b038116811461204b575f80fd5b5f806040838503121561208e575f80fd5b823561209981612069565b946020939093013593505050565b5f602082840312156120b7575f80fd5b8135610db881612069565b5f805f606084860312156120d4575f80fd5b83356120df81612069565b92506020840135915060408401356120f681612069565b809150509250925092565b5f805f60608486031215612113575f80fd5b833561211e8161203d565b9250602084013561212e8161203d565b915060408401356120f68161203d565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b5f82825180855260208501945060208160051b830101602085015f5b838110156121ba57601f198584030188526121a483835161213e565b6020988901989093509190910190600101612188565b50909695505050505050565b5f8151808452602084019350602083015f5b828110156121f957815160ff168652602095860195909101906001016121d8565b5093949350505050565b602081525f610100820160ff845116602084015260208401516040840152604084015160e06060850152818151808452610120860191506020830193505f92505b8083101561226f5783516001600160a01b031682526020938401936001939093019290910190612244565b506060860151858203601f19016080870152925061228d818461216c565b925050506080840151601f198483030160a08501526122ac82826121c6565b91505060a08401516122c760c085018264ffffffffff169052565b5060c084015164ffffffffff811660e0850152509392505050565b5f602082840312156122f2575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106ff576106ff6122f9565b805161232b8161203d565b919050565b5f60208284031215612340575f80fd5b8151610db88161203d565b805161232b81612069565b5f60208284031215612366575f80fd5b8151610db881612069565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff811182821017156123a8576123a8612371565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156123d7576123d7612371565b604052919050565b5f602082840312156123ef575f80fd5b815167ffffffffffffffff811115612405575f80fd5b8201601f81018413612415575f80fd5b805167ffffffffffffffff81111561242f5761242f612371565b8060051b61243f602082016123ae565b9182526020818401810192908101908784111561245a575f80fd5b6020850194505b8385101561248857845192506124768361203d565b82825260209485019490910190612461565b979650505050505050565b5f602082840312156124a3575f80fd5b815164ffffffffff81168114610db8575f80fd5b818103818111156106ff576106ff6122f9565b8051801515811461232b575f80fd5b5f602082840312156124e9575f80fd5b610db8826124ca565b600181811c9082168061250657607f821691505b60208210810361252457634e487b7160e01b5f52602260045260245ffd5b50919050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f606085015161257260c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e06101208401526125b961014084018261213e565b9150506125cb602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b038116811461232b575f80fd5b5f60208284031215612602575f80fd5b610db8826125dc565b5f6001820161261c5761261c6122f9565b5060010190565b5f8085851115612631575f80fd5b8386111561263d575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561267b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f602082840312156126d1575f80fd5b815162ffffff81168114610db8575f80fd5b5f82601f8301126126f2575f80fd5b815167ffffffffffffffff81111561270c5761270c612371565b61271f601f8201601f19166020016123ae565b818152846020838601011115612733575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561275f575f80fd5b815167ffffffffffffffff811115612775575f80fd5b820160e08185031215612786575f80fd5b61278e612385565b612797826125dc565b81526127a5602083016125dc565b60208201526127b660408301612320565b60408201526127c7606083016124ca565b60608201526127d86080830161234b565b60808201526127e960a0830161234b565b60a082015260c082015167ffffffffffffffff811115612807575f80fd5b612813868285016126e3565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612848575f80fd5b612851836124ca565b9150602083015163ffffffff81168114612869575f80fd5b80915050925092905056fea264697066735822122026125bab93ea1c5529a30b530eff11d1c29d49f3be34db24e185b05d605899a564736f6c634300081a0033",
1054
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101c5575f3560e01c80637a9e5e4b116100fe578063a972d6981161009e578063dde4fd8a1161006e578063dde4fd8a146104d6578063e9e96c70146104fc578063f40d7c3014610539578063fdd9ec7d1461054a575f80fd5b8063a972d69814610468578063bf1db3f914610493578063bf7e214f146104a6578063d2213b5b146104b6575f80fd5b806399a228e5116100d957806399a228e5146104325780639ef6ddc91461043a578063a28448241461044d578063a898967514610455575f80fd5b80637a9e5e4b146103945780638fb36037146103a757806393a7e711146103c8575f80fd5b806311edceaa116101695780635ab1bd53116101445780635ab1bd531461031e5780636428e2631461034457806371ed16e41461035757806379cbc5fa1461036d575f80fd5b806311edceaa146102ac57806330ac5bf2146102cf57806331d53763146102e4575f80fd5b80630af43fe1116101a45780630af43fe1146102645780630d3581811461026c5780630e41142e146102915780630e6d1de91461029c575f80fd5b8062d19f30146101c957806301bc45c91461020557806305c937ed14610244575b5f80fd5b6101ee6101d736600461204e565b60ff9081165f908152600960205260409020541690565b60405160ff90911681526020015b60405180910390f35b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101fc565b61024e6208052081565b60405164ffffffffff90911681526020016101fc565b6101ee610575565b6101ee61027a36600461204e565b60ff9081165f908152600160205260409020541690565b60085460ff166101ee565b600854610100900460ff166101ee565b6102bf6102ba36600461204e565b6106d7565b60405190151581526020016101fc565b6102e26102dd36600461204e565b610705565b005b6102f76102f236600461207d565b6107ff565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101fc565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102e261035236600461204e565b610b91565b61035f610ce4565b6040519081526020016101fc565b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6102e26103a23660046120a7565b610cfa565b6103af610d72565b6040516001600160e01b031990911681526020016101fc565b61022c6103d63660046120c2565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b61035f600381565b6102bf6104483660046120a7565b610d94565b6102e2610dbf565b6102e2610463366004612101565b611054565b61022c61047636600461204e565b60ff165f908152600660205260409020546001600160a01b031690565b6102bf6104a136600461204e565b61115f565b5f546001600160a01b031661022c565b6104c96104c436600461204e565b6111e5565b6040516101fc9190612203565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102bf61050a366004612101565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b60085462010000900460ff166101ee565b61055d6105583660046120a7565b611413565b6040516001600160601b0390911681526020016101fc565b5f610582335b5f366117b6565b600854604051632b10f60d60e21b81526201000090910460ff16600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156105e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060791906122e2565b61061290600161230d565b6040518263ffffffff1660e01b815260040161063091815260200190565b602060405180830381865af415801561064b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066f9190612330565b6008805460ff92909216620100000262ff0000199092169190911790555f600b819055600a556106a061027a600690565b60088054620100009081900460ff9081165f908152600960205260409020805460ff19169482169490941790935590540416919050565b60ff8181165f9081526009602052604081205490916106ff911660045b60ff90811691161490565b92915050565b61070e3361057b565b60ff8181165f9081526009602052604090205416600461075860065b60ff9081165f9081526002602090815260408083208488168452825280832084871684529091529020541690565b610787576040516302bfeddf60e31b815260ff8085166004830152831660248201526044015b60405180910390fd5b60ff8381165f818152600960209081526040808320805460ff191695871695909517909455600580825291849020909101805469ffffffffff00000000001916905591519081527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb99291015b60405180910390a1505050565b5f808061080b3361057b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088b9190612356565b600854604051632b10f60d60e21b81526201000090910460ff166004820181905291945090925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156108ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091091906122e2565b6040805160208101929092528101859052606001604051602081830303815290604052805190602001209050610962610947600690565b60ff8481165f9081526009602052604090205416600361050a565b61099f5760ff8281165f8181526009602052604090819020549051633dd0d12d60e21b81526004810192909252909116602482015260440161077e565b60ff82165f908152600960209081526040808320805460ff1916600317905580516376b707b760e01b815290516001600160a01b038916926376b707b792600480820193918290030181865afa1580156109fb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1f9190612330565b905060ff80821690841614610a545760405163796adc3f60e11b815260ff80851660048301528216602482015260440161077e565b5f866001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015610a90573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ab791908101906123df565b519050805f03610adf576040516331bedf1b60e01b815260ff8516600482015260240161077e565b600b5415610b205760ff8481165f81815260096020526040908190205490516335598e7b60e01b81526004810192909252909116602482015260440161077e565b600b81905560ff84165f8181526006602090815260409182902080546001600160a01b0319166001600160a01b038c16179055815192835282018590527f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa5507910160405180910390a150509250925092565b610b9a3361057b565b60ff8181165f9081526009602052604090205416606e610bba600661072a565b610be4576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b60ff8381165f90815260096020908152604091829020805460ff19169385169390931790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c769190612493565b60ff84165f81815260056020818152604092839020909101805464ffffffffff95909516650100000000000269ffffffffff00000000001990951694909417909355519081527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e82691016107f2565b5f600a54600b54610cf591906124b7565b905090565b5f5433906001600160a01b03168114610d305760405162d1953b60e31b81526001600160a01b038216600482015260240161077e565b816001600160a01b03163b5f03610d65576040516361798f2f60e11b81526001600160a01b038316600482015260240161077e565b610d6e826118ac565b5050565b5f8054600160a01b900460ff16610d8857505f90565b50638fb3603760e01b90565b6001600160a01b0381165f9081526007602052604081205460ff16610db8816106d7565b9392505050565b610dc83361057b565b60085460ff6201000090910481165f818152600960205260409020549091166004610df3600661072a565b610e1d576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b600b54600a541015610e5e5782600a54600b54610e3a91906124b7565b604051635321a90360e11b815260ff9092166004830152602482015260440161077e565b5f6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360026040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610ed4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef89190612356565b90506001600160a01b038116610f26576040516313fa8f1b60e01b815260ff8516600482015260240161077e565b6008805460ff808716610100810261ff0019909316929092179092555f818152600960209081526040808320805495881660ff199687161790556001600160a01b03861683526007825291829020805490941690921790925581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610fc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fec9190612493565b60ff85165f81815260056020818152604092839020909101805464ffffffffff191664ffffffffff9590951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a150505050565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156110b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110da91906124d9565b156110fd576040516321b9f44760e01b815260ff8416600482015260240161077e565b60ff8084165f9081526002602090815260408083208685168452825280832085851684529091529020541661115a57604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640161077e565b505050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156111c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff91906124d9565b6040805160e080820183525f80835260208084018290526060848601819052808501819052608085015260a0840182905260c0840182905260ff86811683526005825291859020855193840186528054909216835260018201548382015260028201805486518184028101840188528181529596949593948601939283018282801561129857602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161127a575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020015f905b8282101561136d578382905f5260205f200180546112e2906124f2565b80601f016020809104026020016040519081016040528092919081815260200182805461130e906124f2565b80156113595780601f1061133057610100808354040283529160200191611359565b820191905f5260205f20905b81548152906001019060200180831161133c57829003601f168201915b5050505050815260200190600101906112c5565b505050508152602001600482018054806020026020016040519081016040528092919081815260200182805480156113df57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116113b05790505b50505091835250506005919091015464ffffffffff8082166020840152650100000000009091041660409091015292915050565b5f61141d3361057b565b60085460ff6201000090910481165f81815260096020526040902054909116611449600682600361050a565b61146b5760405163997ed62960e01b815260ff8216600482015260240161077e565b60ff82165f908152600960205260409020805460ff19166003179055600a54600b54036114ab576040516399a36bd560e01b815260040160405180910390fd5b5f805f6114b7876118ff565b60ff88165f9081526006602052604080822054600a54915162212fa360ea1b81526004810192909252949750929550909350916001600160a01b0316906384be8c0090602401602060405180830381865afa158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c9190612330565b905060ff8084169082161461157157604051636e2c208b60e01b815260ff80831660048301528416602482015260440161077e565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906115c19087908690889060040161252a565b6020604051808303815f875af11580156115dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061160191906125f2565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611640573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166491906125f2565b50600a8054905f6116748361260b565b909155505060ff86165f908152600660205260409081902054905163122beb2560e11b81526001600160a01b03918216600482015289821660248201527f000000000000000000000000000000000000000000000000000000000000000090911690632457d64a906044015f604051808303815f87803b1580156116f6575f80fd5b505af1158015611708573d5f803e3d5ffd5b50505050611718836106f4600390565b80611726575060ff8316600f145b156117ab5760405163420e0b3560e01b81526001600160a01b03898116600483015260ff851660248301527f0000000000000000000000000000000000000000000000000000000000000000169063420e0b35906044015f604051808303815f87803b158015611794575f80fd5b505af11580156117a6573d5f803e3d5ffd5b505050505b505050505050919050565b5f806117e96117cc5f546001600160a01b031690565b86306117db60045f898b612623565b6117e49161264a565b611d0f565b91509150816118a55763ffffffff811615611882575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061184390889088908890600401612682565b5f604051808303815f87803b15801561185a575f80fd5b505af115801561186c573d5f803e3d5ffd5b50505f805460ff60a01b19169055506118a59050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161077e565b5050505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611982573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a691906124d9565b6119ce57604051635f569d0b60e01b81526001600160a01b038516600482015260240161077e565b5f3390505f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612356565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9591906126c1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0c9190612330565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612330565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611bab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd2919081019061274f565b9450611bdf868684611e17565b5f600860029054906101000a900460ff1690505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c739190612356565b9050806001600160a01b0316836001600160a01b031614611cc257604051635eec2d7360e01b81526001600160a01b03808a16600483015280851660248301528216604482015260640161077e565b60ff80861690831614611d0457604051630576d1a960e51b81526001600160a01b038916600482015260ff80871660248301528316604482015260640161077e565b505050509193909250565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d7d9190612821565b5f60405180830381855afa9150503d805f8114611db5576040519150601f19603f3d011682016040523d82523d5f602084013e611dba565b606091505b50915091508115611e0c576040815110611dec5780806020019051810190611de29190612837565b9094509250611e0c565b6020815110611e0c5780806020019051810190611e0991906124d9565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614611e5f57604051633db89c6160e01b81526001600160a01b03841660048201819052602482015260440161077e565b606082015115611e9a57606082015160405163955d053f60e01b81526001600160a01b0385166004820152901515602482015260440161077e565b611eb68260400151611eaa600890565b60ff9081169116141590565b15611ef55760408281015190516336b258d560e11b81526001600160a01b03851660048201526008602482015260ff909116604482015260640161077e565b60a08201516001600160a01b0380821690831614611f415760405163fb581fd160e01b81526001600160a01b03808616600483015280841660248301528216604482015260640161077e565b836001600160a01b0316816001600160a01b031603611f7e5760405163076ab37760e31b81526001600160a01b038516600482015260240161077e565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015611fe2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200691906124d9565b156120375760405163b1e0f1f560e01b81526001600160a01b0380861660048301528216602482015260440161077e565b50505050565b60ff8116811461204b575f80fd5b50565b5f6020828403121561205e575f80fd5b8135610db88161203d565b6001600160a01b038116811461204b575f80fd5b5f806040838503121561208e575f80fd5b823561209981612069565b946020939093013593505050565b5f602082840312156120b7575f80fd5b8135610db881612069565b5f805f606084860312156120d4575f80fd5b83356120df81612069565b92506020840135915060408401356120f681612069565b809150509250925092565b5f805f60608486031215612113575f80fd5b833561211e8161203d565b9250602084013561212e8161203d565b915060408401356120f68161203d565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b5f82825180855260208501945060208160051b830101602085015f5b838110156121ba57601f198584030188526121a483835161213e565b6020988901989093509190910190600101612188565b50909695505050505050565b5f8151808452602084019350602083015f5b828110156121f957815160ff168652602095860195909101906001016121d8565b5093949350505050565b602081525f610100820160ff845116602084015260208401516040840152604084015160e06060850152818151808452610120860191506020830193505f92505b8083101561226f5783516001600160a01b031682526020938401936001939093019290910190612244565b506060860151858203601f19016080870152925061228d818461216c565b925050506080840151601f198483030160a08501526122ac82826121c6565b91505060a08401516122c760c085018264ffffffffff169052565b5060c084015164ffffffffff811660e0850152509392505050565b5f602082840312156122f2575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106ff576106ff6122f9565b805161232b8161203d565b919050565b5f60208284031215612340575f80fd5b8151610db88161203d565b805161232b81612069565b5f60208284031215612366575f80fd5b8151610db881612069565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff811182821017156123a8576123a8612371565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156123d7576123d7612371565b604052919050565b5f602082840312156123ef575f80fd5b815167ffffffffffffffff811115612405575f80fd5b8201601f81018413612415575f80fd5b805167ffffffffffffffff81111561242f5761242f612371565b8060051b61243f602082016123ae565b9182526020818401810192908101908784111561245a575f80fd5b6020850194505b8385101561248857845192506124768361203d565b82825260209485019490910190612461565b979650505050505050565b5f602082840312156124a3575f80fd5b815164ffffffffff81168114610db8575f80fd5b818103818111156106ff576106ff6122f9565b8051801515811461232b575f80fd5b5f602082840312156124e9575f80fd5b610db8826124ca565b600181811c9082168061250657607f821691505b60208210810361252457634e487b7160e01b5f52602260045260245ffd5b50919050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f606085015161257260c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e06101208401526125b961014084018261213e565b9150506125cb602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b038116811461232b575f80fd5b5f60208284031215612602575f80fd5b610db8826125dc565b5f6001820161261c5761261c6122f9565b5060010190565b5f8085851115612631575f80fd5b8386111561263d575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561267b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f602082840312156126d1575f80fd5b815162ffffff81168114610db8575f80fd5b5f82601f8301126126f2575f80fd5b815167ffffffffffffffff81111561270c5761270c612371565b61271f601f8201601f19166020016123ae565b818152846020838601011115612733575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561275f575f80fd5b815167ffffffffffffffff811115612775575f80fd5b820160e08185031215612786575f80fd5b61278e612385565b612797826125dc565b81526127a5602083016125dc565b60208201526127b660408301612320565b60408201526127c7606083016124ca565b60608201526127d86080830161234b565b60808201526127e960a0830161234b565b60a082015260c082015167ffffffffffffffff811115612807575f80fd5b612813868285016126e3565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612848575f80fd5b612851836124ca565b9150602083015163ffffffff81168114612869575f80fd5b80915050925092905056fea264697066735822122026125bab93ea1c5529a30b530eff11d1c29d49f3be34db24e185b05d605899a564736f6c634300081a0033",
973
+ "bytecode": "0x60c060405234801561000f575f80fd5b50604051612f7e380380612f7e83398101604081905261002e91610491565b336100388161026b565b506100416102be565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610097573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100bb91906104b3565b6100e8576040516324981a5560e11b81526001600160a01b03821660048201526024015b60405180910390fd5b610150816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610127573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014b9190610491565b610338565b6001600160a01b03811660a08190526040805163016f41bf60e51b81529051632de837e0916004808201926020929091908290030181865afa158015610198573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101bc9190610491565b6001600160a01b031660805273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6101ee600160036104d2565b6040518263ffffffff1660e01b815260040161020c91815260200190565b602060405180830381865af4158015610227573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061024b91906104f1565b600560016101000a81548160ff021916908360ff16021790555050610525565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6102ca600660026103b0565b6102d9600660025b60066103fb565b6102e76006600260036103fb565b6102f3600660036102d2565b6103016006600360046103fb565b61030d600660046102d2565b61031c600660045b60056103fb565b61032a60066005606e6103fb565b6103366006606e610315565b565b5f5433906001600160a01b0316811461036e5760405162d1953b60e31b81526001600160a01b03821660048201526024016100df565b816001600160a01b03163b5f036103a3576040516361798f2f60e11b81526001600160a01b03831660048201526024016100df565b6103ac8261026b565b5050565b60ff8281165f908152600160205260408120546103ce92169061046a565b6103da576103da610511565b60ff9182165f908152600160205260409020805460ff191691909216179055565b60ff8084165f908152600260209081526040808320868516845282528083208585168452909152902054161561043357610433610511565b60ff9283165f908152600260209081526040808320948616835293815283822092909416815292529020805460ff19166001179055565b60ff828116908216145b92915050565b6001600160a01b038116811461048e575f80fd5b50565b5f602082840312156104a1575f80fd5b81516104ac8161047a565b9392505050565b5f602082840312156104c3575f80fd5b815180151581146104ac575f80fd5b8181038181111561047457634e487b7160e01b5f52601160045260245ffd5b5f60208284031215610501575f80fd5b815160ff811681146104ac575f80fd5b634e487b7160e01b5f52600160045260245ffd5b60805160a0516129cf6105af5f395f81816102f80152818161034a01528181610eb60152818161100901528181611150015281816115c10152818161187b01526121b301525f81816101ff015281816105a70152818161094b01528181610f83015281816110c1015281816111fa015281816113c201528181611555015261192301526129cf5ff3fe608060405234801561000f575f80fd5b50600436106101ba575f3560e01c80638fb36037116100f3578063bf1db3f911610093578063dde4fd8a1161006e578063dde4fd8a146105a5578063e9e96c70146105cb578063f40d7c3014610608578063fdd9ec7d14610618575f80fd5b8063bf1db3f914610463578063bf7e214f14610476578063d2213b5b14610486575f80fd5b806399a228e5116100ce57806399a228e514610412578063a28448241461041a578063a972d69814610422578063b88da75914610450575f80fd5b80638fb360371461037f578063913e10e9146103a057806393a7e711146103a8575f80fd5b806331d537631161015e5780636428e263116101395780636428e2631461031c57806371ed16e41461032f57806379cbc5fa146103455780637a9e5e4b1461036c575f80fd5b806331d53763146102a957806354f1fa81146102e35780635ab1bd53146102f6575f80fd5b80630d358181116101995780630d358181146102415780630e6d1de91461026657806311edceaa1461027157806330ac5bf214610294575f80fd5b8062d19f30146101be57806301bc45c9146101fa5780630af43fe114610239575b5f80fd5b6101e36101cc36600461225e565b60ff9081165f908152600360205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f1565b6101e3610643565b6101e361024f36600461225e565b60ff9081165f908152600160205260409020541690565b60055460ff166101e3565b61028461027f36600461225e565b610841565b60405190151581526020016101f1565b6102a76102a236600461225e565b610861565b005b6102bc6102b7366004612294565b610901565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101f1565b6102a76102f13660046122be565b610a56565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102a761032a36600461225e565b610bb4565b610337610ce4565b6040519081526020016101f1565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6102a761037a366004612317565b610cfa565b610387610d72565b6040516001600160e01b031990911681526020016101f1565b600454610337565b6102216103b6366004612332565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b610337600381565b6102a7610d94565b61022161043036600461225e565b60ff165f908152600360205260409020600201546001600160a01b031690565b6101e361045e366004612371565b6112c3565b61028461047136600461225e565b6112fc565b5f546001600160a01b0316610221565b61053e61049436600461225e565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525060ff9081165f90815260036020908152604091829020825160c08101845281548086168252610100900490941691840191909152600181015491830191909152600201546001600160a01b038116606083015264ffffffffff600160a01b820481166080840152600160c81b9091041660a082015290565b6040516101f191905f60c08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102846105d9366004612388565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b600554610100900460ff166101e3565b61062b610626366004612317565b611382565b6040516001600160601b0390911681526020016101f1565b5f610650335b5f366116ac565b600554610100900460ff1661067c600660ff8084165f90815260036020526040902054166105d9600690565b1561069e5760ff81165f908152600360205260409020805460ff191660061790555b604051632b10f60d60e21b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156106f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071a91906123c5565b6107259060016123f0565b6040518263ffffffff1660e01b815260040161074391815260200190565b602060405180830381865af415801561075e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107829190612413565b600480546001810190915560208082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460ff808616601f90951661010090810a868102920219909216179091556005805491840261ff001992831681179091555f938452600390925260409092208054909216179055905061080961024f600690565b60ff9182165f908152600360205260408120805460ff1916928416929092179091556007819055600655600554610100900416919050565b60ff8181165f908152600360205260408120549091166005145b92915050565b61086a33610649565b60ff8181165f9081526003602052604090205461088e91166006606e5b6005610a56565b60ff81165f908152600360205260408120805460ff19166005178155600201805464ffffffffff60c81b191690556108c79082906117a2565b60405160ff821681527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb992906020015b60405180910390a150565b5f808061090d33610649565b60055460ff61010090910481165f8181526003602052604090205490935061093b9116600660026003610a56565b5f61094786848761198f565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c99190612439565b600782905560ff84165f81815260036020818152604092839020805460ff19169092178255600182018a9055600290910180546001600160a01b0319166001600160a01b038c161790558151928352820188905280519296508794507f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa550792918290030190a1509250925092565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610ab8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adc9190612463565b15610b0a5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610b4b5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610b01565b60ff8084165f90815260026020908152604080832088851684528252808320858516845290915290205416610bae5760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610b01565b50505050565b610bbd33610649565b60ff8181165f90815260036020526040902054610be0911660066005606e610a56565b60ff81165f90815260036020908152604091829020805460ff1916606e17905581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610c49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6d919061247c565b60ff82165f908152600360205260409020600201805464ffffffffff92909216600160c81b0264ffffffffff60c81b19909216919091179055610cb18160016117a2565b60405160ff821681527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e826906020016108f6565b5f600654600754610cf591906124a0565b905090565b5f5433906001600160a01b03168114610d305760405162d1953b60e31b81526001600160a01b0382166004820152602401610b01565b816001600160a01b03163b5f03610d65576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b01565b610d6e82611b56565b5050565b5f8054600160a01b900460ff16610d8857505f90565b50638fb3603760e01b90565b610d9d33610649565b60055460ff61010090910481165f818152600360205260409020549091610dc8911660066004610887565b6005805460ff191660ff8316179055610ddf600590565b60ff8281165f90815260036020908152604091829020805460ff1916949093169390931790915580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610e4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e72919061247c565b60ff82165f908152600360205260408120600201805464ffffffffff93909316600160a01b0264ffffffffff60a01b19909316929092179091556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043610ee3600290565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015610f27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612439565b90506001600160a01b038116610f79576040516381d94faf60e01b815260ff83166004820152602401610b01565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260026040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610ff1575f80fd5b505af1158015611003573d5f803e3d5ffd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e604361103e600390565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611082573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a69190612439565b90506001600160a01b03811615611146576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260036040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b15801561112f575f80fd5b505af1158015611141573d5f803e3d5ffd5b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043600f6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa1580156111bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111df9190612439565b90506001600160a01b0381161561127f576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b3582600f6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611268575f80fd5b505af115801561127a573d5f803e3d5ffd5b505050505b611289825f6117a2565b60405160ff831681527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d49060200160405180910390a15050565b5f600482815481106112d7576112d76124b3565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af415801561135e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085b9190612463565b5f61138c33610649565b600554610100900460ff9081165f8181526003602052604090205490916113bf911660066113b8600390565b6004610a56565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114409190612439565b60ff83165f9081526003602052604080822060020154600654915162212fa360ea1b81529394506001600160a01b03169283916384be8c009161148a919060040190815260200190565b602060405180830381865afa1580156114a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c99190612413565b90505f805f6114da89878987611ba3565b6006805493965091945092505f6114f0836124c7565b91905055506006546007540361151d5760ff87165f908152600360205260409020805460ff191660041790555b604051637485407160e01b81526001600160a01b0386811660048301528a8116602483015260ff8085166044840152891660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611596575f80fd5b505af11580156115a8573d5f803e3d5ffd5b5050604051635382852b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a7050a5691506115fc9086908590879060040161250d565b6020604051808303815f875af1158015611618573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163c91906125d5565b9750886001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af115801561167b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169f91906125d5565b5050505050505050919050565b5f806116df6116c25f546001600160a01b031690565b86306116d160045f898b6125ee565b6116da91612615565b611f34565b915091508161179b5763ffffffff811615611778575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906117399088908890889060040161264d565b5f604051808303815f87803b158015611750575f80fd5b505af1158015611762573d5f803e3d5ffd5b50505f805460ff60a01b191690555061179b9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610b01565b5050505050565b60ff82165f908152600360205260408082206002015481516368c55b1360e01b8152915183926001600160a01b0390921691839183916368c55b1391600480830192869291908290030181865afa1580156117ff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261182691908101906126fa565b90505f5b815181101561198657818181518110611845576118456124b3565b602090810291909101015160405163d39e604360e01b815260ff8083166004830152891660248201529094506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d39e604390604401602060405180830381865afa1580156118c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e49190612439565b94506001600160a01b0385166118fc576118fc6127ae565b6040516333cbe07760e21b81526001600160a01b03868116600483015287151560248301527f0000000000000000000000000000000000000000000000000000000000000000169063cf2f81dc906044015f604051808303815f87803b158015611964575f80fd5b505af1158015611976573d5f803e3d5ffd5b50506001909201915061182a9050565b50505050505050565b6040516301ffc9a760e01b81526332d11fef60e01b60048201525f906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156119da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fe9190612463565b611a2657604051631bead44b60e21b81526001600160a01b0385166004820152602401610b01565b5f846001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a879190612413565b905060ff80851690821614611ab557848482604051630c3a335360e41b8152600401610b01939291906127c2565b846001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015611af0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1791908101906126fa565b519150815f03611b4e576040516310c48b6b60e21b81526001600160a01b038616600482015260ff85166024820152604401610b01565b509392505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108f6565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038816906301ffc9a790602401602060405180830381865afa158015611c26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4a9190612463565b611c7257604051635f569d0b60e01b81526001600160a01b0388166004820152602401610b01565b5f3390505f886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd79190612439565b9050886001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d3991906127e6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db09190612413565b9250886001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e129190612413565b9350886001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611e4f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e769190810190612874565b9450611e8389868461203c565b876001600160a01b0316816001600160a01b031614611ed0576040516349aec65360e01b81526001600160a01b03808b166004830152808316602483015289166044820152606401610b01565b60ff80841690881614611efc57888388604051633d36dbf960e01b8152600401610b01939291906127c2565b60ff80851690871614611f28578886856040516348fe94e360e11b8152600401610b01939291906127c2565b50509450945094915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fa29190612946565b5f60405180830381855afa9150503d805f8114611fda576040519150601f19603f3d011682016040523d82523d5f602084013e611fdf565b606091505b509150915081156120315760408151106120115780806020019051810190612007919061295c565b9094509250612031565b6020815110612031578080602001905181019061202e9190612463565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b03161461208b576080820151604051633db89c6160e01b81526001600160a01b0380861660048301529091166024820152604401610b01565b6060820151156120c657606082015160405163955d053f60e01b81526001600160a01b03851660048201529015156024820152604401610b01565b6120e282604001516120d6600890565b60ff9081169116141590565b1561210b5782600883604001516040516336b258d560e11b8152600401610b01939291906127c2565b60a08201516001600160a01b03808216908316146121575760405163fb581fd160e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610b01565b836001600160a01b0316816001600160a01b0316036121945760405163076ab37760e31b81526001600160a01b0385166004820152602401610b01565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa1580156121f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221c9190612463565b15610bae5760405163b1e0f1f560e01b81526001600160a01b03808616600483015282166024820152604401610b01565b60ff8116811461225b575f80fd5b50565b5f6020828403121561226e575f80fd5b81356122798161224d565b9392505050565b6001600160a01b038116811461225b575f80fd5b5f80604083850312156122a5575f80fd5b82356122b081612280565b946020939093013593505050565b5f805f80608085870312156122d1575f80fd5b84356122dc8161224d565b935060208501356122ec8161224d565b925060408501356122fc8161224d565b9150606085013561230c8161224d565b939692955090935050565b5f60208284031215612327575f80fd5b813561227981612280565b5f805f60608486031215612344575f80fd5b833561234f81612280565b925060208401359150604084013561236681612280565b809150509250925092565b5f60208284031215612381575f80fd5b5035919050565b5f805f6060848603121561239a575f80fd5b83356123a58161224d565b925060208401356123b58161224d565b915060408401356123668161224d565b5f602082840312156123d5575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561085b5761085b6123dc565b805161240e8161224d565b919050565b5f60208284031215612423575f80fd5b81516122798161224d565b805161240e81612280565b5f60208284031215612449575f80fd5b815161227981612280565b8051801515811461240e575f80fd5b5f60208284031215612473575f80fd5b61227982612454565b5f6020828403121561248c575f80fd5b815164ffffffffff81168114612279575f80fd5b8181038181111561085b5761085b6123dc565b634e487b7160e01b5f52603260045260245ffd5b5f600182016124d8576124d86123dc565b5060010190565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f606085015161255560c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261259c6101408401826124df565b9150506125ae602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b038116811461240e575f80fd5b5f602082840312156125e5575f80fd5b612279826125bf565b5f80858511156125fc575f80fd5b83861115612608575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612646576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff811182821017156126c3576126c361268c565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156126f2576126f261268c565b604052919050565b5f6020828403121561270a575f80fd5b815167ffffffffffffffff811115612720575f80fd5b8201601f81018413612730575f80fd5b805167ffffffffffffffff81111561274a5761274a61268c565b8060051b61275a602082016126c9565b91825260208184018101929081019087841115612775575f80fd5b6020850194505b838510156127a357845192506127918361224d565b8282526020948501949091019061277c565b979650505050505050565b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b5f602082840312156127f6575f80fd5b815162ffffff81168114612279575f80fd5b5f82601f830112612817575f80fd5b815167ffffffffffffffff8111156128315761283161268c565b612844601f8201601f19166020016126c9565b818152846020838601011115612858575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612884575f80fd5b815167ffffffffffffffff81111561289a575f80fd5b820160e081850312156128ab575f80fd5b6128b36126a0565b6128bc826125bf565b81526128ca602083016125bf565b60208201526128db60408301612403565b60408201526128ec60608301612454565b60608201526128fd6080830161242e565b608082015261290e60a0830161242e565b60a082015260c082015167ffffffffffffffff81111561292c575f80fd5b61293886828501612808565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561296d575f80fd5b61297683612454565b9150602083015163ffffffff8116811461298e575f80fd5b80915050925092905056fea2646970667358221220aa223ebdd34086725ae40d97ed51e5310e16b8117b7a8c69063b9b17ea5d45dc64736f6c634300081a0033",
974
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101ba575f3560e01c80638fb36037116100f3578063bf1db3f911610093578063dde4fd8a1161006e578063dde4fd8a146105a5578063e9e96c70146105cb578063f40d7c3014610608578063fdd9ec7d14610618575f80fd5b8063bf1db3f914610463578063bf7e214f14610476578063d2213b5b14610486575f80fd5b806399a228e5116100ce57806399a228e514610412578063a28448241461041a578063a972d69814610422578063b88da75914610450575f80fd5b80638fb360371461037f578063913e10e9146103a057806393a7e711146103a8575f80fd5b806331d537631161015e5780636428e263116101395780636428e2631461031c57806371ed16e41461032f57806379cbc5fa146103455780637a9e5e4b1461036c575f80fd5b806331d53763146102a957806354f1fa81146102e35780635ab1bd53146102f6575f80fd5b80630d358181116101995780630d358181146102415780630e6d1de91461026657806311edceaa1461027157806330ac5bf214610294575f80fd5b8062d19f30146101be57806301bc45c9146101fa5780630af43fe114610239575b5f80fd5b6101e36101cc36600461225e565b60ff9081165f908152600360205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f1565b6101e3610643565b6101e361024f36600461225e565b60ff9081165f908152600160205260409020541690565b60055460ff166101e3565b61028461027f36600461225e565b610841565b60405190151581526020016101f1565b6102a76102a236600461225e565b610861565b005b6102bc6102b7366004612294565b610901565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101f1565b6102a76102f13660046122be565b610a56565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102a761032a36600461225e565b610bb4565b610337610ce4565b6040519081526020016101f1565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6102a761037a366004612317565b610cfa565b610387610d72565b6040516001600160e01b031990911681526020016101f1565b600454610337565b6102216103b6366004612332565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b610337600381565b6102a7610d94565b61022161043036600461225e565b60ff165f908152600360205260409020600201546001600160a01b031690565b6101e361045e366004612371565b6112c3565b61028461047136600461225e565b6112fc565b5f546001600160a01b0316610221565b61053e61049436600461225e565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525060ff9081165f90815260036020908152604091829020825160c08101845281548086168252610100900490941691840191909152600181015491830191909152600201546001600160a01b038116606083015264ffffffffff600160a01b820481166080840152600160c81b9091041660a082015290565b6040516101f191905f60c08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102846105d9366004612388565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b600554610100900460ff166101e3565b61062b610626366004612317565b611382565b6040516001600160601b0390911681526020016101f1565b5f610650335b5f366116ac565b600554610100900460ff1661067c600660ff8084165f90815260036020526040902054166105d9600690565b1561069e5760ff81165f908152600360205260409020805460ff191660061790555b604051632b10f60d60e21b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156106f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061071a91906123c5565b6107259060016123f0565b6040518263ffffffff1660e01b815260040161074391815260200190565b602060405180830381865af415801561075e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107829190612413565b600480546001810190915560208082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460ff808616601f90951661010090810a868102920219909216179091556005805491840261ff001992831681179091555f938452600390925260409092208054909216179055905061080961024f600690565b60ff9182165f908152600360205260408120805460ff1916928416929092179091556007819055600655600554610100900416919050565b60ff8181165f908152600360205260408120549091166005145b92915050565b61086a33610649565b60ff8181165f9081526003602052604090205461088e91166006606e5b6005610a56565b60ff81165f908152600360205260408120805460ff19166005178155600201805464ffffffffff60c81b191690556108c79082906117a2565b60405160ff821681527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb992906020015b60405180910390a150565b5f808061090d33610649565b60055460ff61010090910481165f8181526003602052604090205490935061093b9116600660026003610a56565b5f61094786848761198f565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c99190612439565b600782905560ff84165f81815260036020818152604092839020805460ff19169092178255600182018a9055600290910180546001600160a01b0319166001600160a01b038c161790558151928352820188905280519296508794507f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa550792918290030190a1509250925092565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610ab8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adc9190612463565b15610b0a5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610b4b5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610b01565b60ff8084165f90815260026020908152604080832088851684528252808320858516845290915290205416610bae5760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610b01565b50505050565b610bbd33610649565b60ff8181165f90815260036020526040902054610be0911660066005606e610a56565b60ff81165f90815260036020908152604091829020805460ff1916606e17905581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610c49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6d919061247c565b60ff82165f908152600360205260409020600201805464ffffffffff92909216600160c81b0264ffffffffff60c81b19909216919091179055610cb18160016117a2565b60405160ff821681527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e826906020016108f6565b5f600654600754610cf591906124a0565b905090565b5f5433906001600160a01b03168114610d305760405162d1953b60e31b81526001600160a01b0382166004820152602401610b01565b816001600160a01b03163b5f03610d65576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b01565b610d6e82611b56565b5050565b5f8054600160a01b900460ff16610d8857505f90565b50638fb3603760e01b90565b610d9d33610649565b60055460ff61010090910481165f818152600360205260409020549091610dc8911660066004610887565b6005805460ff191660ff8316179055610ddf600590565b60ff8281165f90815260036020908152604091829020805460ff1916949093169390931790915580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610e4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e72919061247c565b60ff82165f908152600360205260408120600201805464ffffffffff93909316600160a01b0264ffffffffff60a01b19909316929092179091556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043610ee3600290565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015610f27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612439565b90506001600160a01b038116610f79576040516381d94faf60e01b815260ff83166004820152602401610b01565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260026040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610ff1575f80fd5b505af1158015611003573d5f803e3d5ffd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e604361103e600390565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611082573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a69190612439565b90506001600160a01b03811615611146576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260036040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b15801561112f575f80fd5b505af1158015611141573d5f803e3d5ffd5b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043600f6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa1580156111bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111df9190612439565b90506001600160a01b0381161561127f576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b3582600f6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611268575f80fd5b505af115801561127a573d5f803e3d5ffd5b505050505b611289825f6117a2565b60405160ff831681527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d49060200160405180910390a15050565b5f600482815481106112d7576112d76124b3565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af415801561135e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085b9190612463565b5f61138c33610649565b600554610100900460ff9081165f8181526003602052604090205490916113bf911660066113b8600390565b6004610a56565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114409190612439565b60ff83165f9081526003602052604080822060020154600654915162212fa360ea1b81529394506001600160a01b03169283916384be8c009161148a919060040190815260200190565b602060405180830381865afa1580156114a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c99190612413565b90505f805f6114da89878987611ba3565b6006805493965091945092505f6114f0836124c7565b91905055506006546007540361151d5760ff87165f908152600360205260409020805460ff191660041790555b604051637485407160e01b81526001600160a01b0386811660048301528a8116602483015260ff8085166044840152891660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611596575f80fd5b505af11580156115a8573d5f803e3d5ffd5b5050604051635382852b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a7050a5691506115fc9086908590879060040161250d565b6020604051808303815f875af1158015611618573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163c91906125d5565b9750886001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af115801561167b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169f91906125d5565b5050505050505050919050565b5f806116df6116c25f546001600160a01b031690565b86306116d160045f898b6125ee565b6116da91612615565b611f34565b915091508161179b5763ffffffff811615611778575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906117399088908890889060040161264d565b5f604051808303815f87803b158015611750575f80fd5b505af1158015611762573d5f803e3d5ffd5b50505f805460ff60a01b191690555061179b9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610b01565b5050505050565b60ff82165f908152600360205260408082206002015481516368c55b1360e01b8152915183926001600160a01b0390921691839183916368c55b1391600480830192869291908290030181865afa1580156117ff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261182691908101906126fa565b90505f5b815181101561198657818181518110611845576118456124b3565b602090810291909101015160405163d39e604360e01b815260ff8083166004830152891660248201529094506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d39e604390604401602060405180830381865afa1580156118c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e49190612439565b94506001600160a01b0385166118fc576118fc6127ae565b6040516333cbe07760e21b81526001600160a01b03868116600483015287151560248301527f0000000000000000000000000000000000000000000000000000000000000000169063cf2f81dc906044015f604051808303815f87803b158015611964575f80fd5b505af1158015611976573d5f803e3d5ffd5b50506001909201915061182a9050565b50505050505050565b6040516301ffc9a760e01b81526332d11fef60e01b60048201525f906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156119da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fe9190612463565b611a2657604051631bead44b60e21b81526001600160a01b0385166004820152602401610b01565b5f846001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a879190612413565b905060ff80851690821614611ab557848482604051630c3a335360e41b8152600401610b01939291906127c2565b846001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015611af0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1791908101906126fa565b519150815f03611b4e576040516310c48b6b60e21b81526001600160a01b038616600482015260ff85166024820152604401610b01565b509392505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108f6565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038816906301ffc9a790602401602060405180830381865afa158015611c26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4a9190612463565b611c7257604051635f569d0b60e01b81526001600160a01b0388166004820152602401610b01565b5f3390505f886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd79190612439565b9050886001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d3991906127e6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db09190612413565b9250886001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e129190612413565b9350886001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611e4f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e769190810190612874565b9450611e8389868461203c565b876001600160a01b0316816001600160a01b031614611ed0576040516349aec65360e01b81526001600160a01b03808b166004830152808316602483015289166044820152606401610b01565b60ff80841690881614611efc57888388604051633d36dbf960e01b8152600401610b01939291906127c2565b60ff80851690871614611f28578886856040516348fe94e360e11b8152600401610b01939291906127c2565b50509450945094915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fa29190612946565b5f60405180830381855afa9150503d805f8114611fda576040519150601f19603f3d011682016040523d82523d5f602084013e611fdf565b606091505b509150915081156120315760408151106120115780806020019051810190612007919061295c565b9094509250612031565b6020815110612031578080602001905181019061202e9190612463565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b03161461208b576080820151604051633db89c6160e01b81526001600160a01b0380861660048301529091166024820152604401610b01565b6060820151156120c657606082015160405163955d053f60e01b81526001600160a01b03851660048201529015156024820152604401610b01565b6120e282604001516120d6600890565b60ff9081169116141590565b1561210b5782600883604001516040516336b258d560e11b8152600401610b01939291906127c2565b60a08201516001600160a01b03808216908316146121575760405163fb581fd160e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610b01565b836001600160a01b0316816001600160a01b0316036121945760405163076ab37760e31b81526001600160a01b0385166004820152602401610b01565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa1580156121f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221c9190612463565b15610bae5760405163b1e0f1f560e01b81526001600160a01b03808616600483015282166024820152604401610b01565b60ff8116811461225b575f80fd5b50565b5f6020828403121561226e575f80fd5b81356122798161224d565b9392505050565b6001600160a01b038116811461225b575f80fd5b5f80604083850312156122a5575f80fd5b82356122b081612280565b946020939093013593505050565b5f805f80608085870312156122d1575f80fd5b84356122dc8161224d565b935060208501356122ec8161224d565b925060408501356122fc8161224d565b9150606085013561230c8161224d565b939692955090935050565b5f60208284031215612327575f80fd5b813561227981612280565b5f805f60608486031215612344575f80fd5b833561234f81612280565b925060208401359150604084013561236681612280565b809150509250925092565b5f60208284031215612381575f80fd5b5035919050565b5f805f6060848603121561239a575f80fd5b83356123a58161224d565b925060208401356123b58161224d565b915060408401356123668161224d565b5f602082840312156123d5575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561085b5761085b6123dc565b805161240e8161224d565b919050565b5f60208284031215612423575f80fd5b81516122798161224d565b805161240e81612280565b5f60208284031215612449575f80fd5b815161227981612280565b8051801515811461240e575f80fd5b5f60208284031215612473575f80fd5b61227982612454565b5f6020828403121561248c575f80fd5b815164ffffffffff81168114612279575f80fd5b8181038181111561085b5761085b6123dc565b634e487b7160e01b5f52603260045260245ffd5b5f600182016124d8576124d86123dc565b5060010190565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f606085015161255560c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261259c6101408401826124df565b9150506125ae602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b038116811461240e575f80fd5b5f602082840312156125e5575f80fd5b612279826125bf565b5f80858511156125fc575f80fd5b83861115612608575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612646576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff811182821017156126c3576126c361268c565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156126f2576126f261268c565b604052919050565b5f6020828403121561270a575f80fd5b815167ffffffffffffffff811115612720575f80fd5b8201601f81018413612730575f80fd5b805167ffffffffffffffff81111561274a5761274a61268c565b8060051b61275a602082016126c9565b91825260208184018101929081019087841115612775575f80fd5b6020850194505b838510156127a357845192506127918361224d565b8282526020948501949091019061277c565b979650505050505050565b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b5f602082840312156127f6575f80fd5b815162ffffff81168114612279575f80fd5b5f82601f830112612817575f80fd5b815167ffffffffffffffff8111156128315761283161268c565b612844601f8201601f19166020016126c9565b818152846020838601011115612858575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612884575f80fd5b815167ffffffffffffffff81111561289a575f80fd5b820160e081850312156128ab575f80fd5b6128b36126a0565b6128bc826125bf565b81526128ca602083016125bf565b60208201526128db60408301612403565b60408201526128ec60608301612454565b60608201526128fd6080830161242e565b608082015261290e60a0830161242e565b60a082015260c082015167ffffffffffffffff81111561292c575f80fd5b61293886828501612808565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561296d575f80fd5b61297683612454565b9150602083015163ffffffff8116811461298e575f80fd5b80915050925092905056fea2646970667358221220aa223ebdd34086725ae40d97ed51e5310e16b8117b7a8c69063b9b17ea5d45dc64736f6c634300081a0033",
1055
975
  "linkReferences": {
1056
- "contracts/type/NftId.sol": {
1057
- "NftIdLib": [
976
+ "contracts/shared/ContractLib.sol": {
977
+ "ContractLib": [
1058
978
  {
1059
979
  "length": 20,
1060
- "start": 961
980
+ "start": 95
1061
981
  }
1062
982
  ]
1063
983
  },
@@ -1065,11 +985,11 @@
1065
985
  "StateIdLib": [
1066
986
  {
1067
987
  "length": 20,
1068
- "start": 5922
988
+ "start": 4143
1069
989
  },
1070
990
  {
1071
991
  "length": 20,
1072
- "start": 6189
992
+ "start": 6357
1073
993
  }
1074
994
  ]
1075
995
  },
@@ -1077,11 +997,11 @@
1077
997
  "TimestampLib": [
1078
998
  {
1079
999
  "length": 20,
1080
- "start": 4798
1000
+ "start": 4543
1081
1001
  },
1082
1002
  {
1083
1003
  "length": 20,
1084
- "start": 5683
1004
+ "start": 5061
1085
1005
  }
1086
1006
  ]
1087
1007
  },
@@ -1089,25 +1009,17 @@
1089
1009
  "VersionLib": [
1090
1010
  {
1091
1011
  "length": 20,
1092
- "start": 8532
1012
+ "start": 8963
1093
1013
  }
1094
1014
  ],
1095
1015
  "VersionPartLib": [
1096
1016
  {
1097
1017
  "length": 20,
1098
- "start": 365
1099
- },
1100
- {
1101
- "length": 20,
1102
- "start": 479
1103
- },
1104
- {
1105
- "length": 20,
1106
- "start": 3143
1018
+ "start": 458
1107
1019
  },
1108
1020
  {
1109
1021
  "length": 20,
1110
- "start": 3928
1022
+ "start": 3173
1111
1023
  }
1112
1024
  ]
1113
1025
  }
@@ -1117,11 +1029,11 @@
1117
1029
  "StateIdLib": [
1118
1030
  {
1119
1031
  "length": 20,
1120
- "start": 4222
1032
+ "start": 2688
1121
1033
  },
1122
1034
  {
1123
1035
  "length": 20,
1124
- "start": 4489
1036
+ "start": 4902
1125
1037
  }
1126
1038
  ]
1127
1039
  },
@@ -1129,11 +1041,11 @@
1129
1041
  "TimestampLib": [
1130
1042
  {
1131
1043
  "length": 20,
1132
- "start": 3098
1044
+ "start": 3088
1133
1045
  },
1134
1046
  {
1135
1047
  "length": 20,
1136
- "start": 3983
1048
+ "start": 3606
1137
1049
  }
1138
1050
  ]
1139
1051
  },
@@ -1141,17 +1053,13 @@
1141
1053
  "VersionLib": [
1142
1054
  {
1143
1055
  "length": 20,
1144
- "start": 6832
1056
+ "start": 7508
1145
1057
  }
1146
1058
  ],
1147
1059
  "VersionPartLib": [
1148
1060
  {
1149
1061
  "length": 20,
1150
- "start": 1443
1151
- },
1152
- {
1153
- "length": 20,
1154
- "start": 2228
1062
+ "start": 1718
1155
1063
  }
1156
1064
  ]
1157
1065
  }