@etherisc/gif-next 0.0.2-f1e0c66-773 → 0.0.2-f1f3b2c-994

Sign up to get free protection for your applications and to get access to all the features.
Files changed (423) hide show
  1. package/README.md +7 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +81 -63
  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 +2 -2
  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 +48 -30
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +21 -2
  14. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +72 -9
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +63 -248
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +16 -16
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -222
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +134 -286
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +84 -120
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +21 -37
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +49 -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 +1512 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1999 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -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 +1432 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1192 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1566 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2001 -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/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  56. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/Instance.sol/Instance.json +10 -99
  58. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +145 -111
  60. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +14 -14
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +437 -124
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +39 -146
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +61 -81
  68. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +285 -218
  70. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  72. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  74. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  75. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +45 -4
  77. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  79. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  85. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  86. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  87. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +47 -232
  89. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +18 -18
  91. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  92. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +15 -31
  94. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +15 -216
  97. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +37 -144
  99. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +60 -80
  101. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  102. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +51 -274
  103. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  105. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +319 -188
  107. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +130 -94
  109. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  110. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +149 -23
  111. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +44 -88
  113. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +360 -171
  115. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  116. package/artifacts/contracts/pool/Pool.sol/Pool.json +41 -270
  117. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +492 -333
  119. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +98 -82
  121. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  122. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +36 -162
  123. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +57 -89
  125. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  126. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +43 -242
  127. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +16 -16
  129. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  130. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +263 -181
  131. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +104 -100
  133. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  134. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  135. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +147 -6
  137. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +282 -119
  139. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  141. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  142. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +43 -57
  143. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  144. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  145. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  146. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +399 -327
  147. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -100
  149. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  150. package/artifacts/contracts/product/PricingService.sol/PricingService.json +115 -267
  151. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -120
  153. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  154. package/artifacts/contracts/product/Product.sol/Product.json +43 -242
  155. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  156. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  157. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  159. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  160. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  161. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  162. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +238 -34
  163. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  164. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  165. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  166. package/artifacts/contracts/registry/Registry.sol/Registry.json +436 -95
  167. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  168. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +261 -143
  169. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  170. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +23 -313
  171. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +52 -72
  173. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  174. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +46 -5
  175. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  176. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +117 -215
  177. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +70 -12
  179. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  181. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  182. package/artifacts/contracts/shared/Component.sol/Component.json +15 -205
  183. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  184. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +89 -212
  185. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +96 -114
  187. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +5 -112
  189. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  190. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  191. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  192. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +15 -20
  193. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  194. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +15 -31
  196. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  198. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  199. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  200. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  203. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  204. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  206. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  207. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  208. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  209. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +15 -216
  210. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  211. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +41 -0
  212. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  213. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +41 -0
  214. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  215. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  216. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -57
  218. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  219. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  220. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -97
  222. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  223. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  224. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  225. package/artifacts/contracts/shared/Service.sol/Service.json +5 -112
  226. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  227. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  228. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  230. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  231. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +42 -21
  232. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  233. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  234. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  235. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  236. package/artifacts/contracts/staking/Staking.sol/Staking.json +100 -256
  237. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +45 -4
  239. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  240. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +77 -88
  241. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  242. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  243. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  244. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +31 -138
  245. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  246. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +56 -76
  247. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  248. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +168 -127
  249. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  250. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  251. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  252. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  253. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  254. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  255. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  256. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  257. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  258. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  259. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  260. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  261. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  262. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  263. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  264. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  266. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  267. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  268. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  270. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  272. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  274. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  276. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  278. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  280. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  282. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  286. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  289. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  291. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  293. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  295. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  296. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  297. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +39 -70
  298. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  299. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  300. package/contracts/authorization/AccessAdmin.sol +31 -24
  301. package/contracts/authorization/Authorization.sol +5 -2
  302. package/contracts/authorization/IAccessAdmin.sol +3 -2
  303. package/contracts/authorization/IServiceAuthorization.sol +4 -2
  304. package/contracts/authorization/ServiceAuthorization.sol +27 -11
  305. package/contracts/distribution/Distribution.sol +1 -1
  306. package/contracts/distribution/DistributionService.sol +32 -33
  307. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  308. package/contracts/distribution/IDistributionService.sol +9 -5
  309. package/contracts/examples/fire/DamageLevel.sol +59 -0
  310. package/contracts/examples/fire/FirePool.sol +75 -0
  311. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  312. package/contracts/examples/fire/FireProduct.sol +411 -0
  313. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  314. package/contracts/examples/fire/FireUSD.sol +26 -0
  315. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  316. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  317. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  318. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  319. package/contracts/instance/IInstance.sol +7 -30
  320. package/contracts/instance/Instance.sol +10 -35
  321. package/contracts/instance/InstanceAdmin.sol +29 -7
  322. package/contracts/instance/InstanceAuthorizationV3.sol +3 -3
  323. package/contracts/instance/InstanceReader.sol +115 -25
  324. package/contracts/instance/InstanceService.sol +63 -41
  325. package/contracts/instance/InstanceServiceManager.sol +6 -7
  326. package/contracts/instance/InstanceStore.sol +11 -1
  327. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  328. package/contracts/instance/module/IBundle.sol +1 -1
  329. package/contracts/instance/module/IComponents.sol +4 -7
  330. package/contracts/instance/module/IPolicy.sol +24 -24
  331. package/contracts/mock/Dip.sol +1 -1
  332. package/contracts/oracle/Oracle.sol +2 -1
  333. package/contracts/oracle/OracleService.sol +11 -8
  334. package/contracts/oracle/OracleServiceManager.sol +6 -6
  335. package/contracts/pool/BasicPool.sol +7 -5
  336. package/contracts/pool/BasicPoolAuthorization.sol +5 -2
  337. package/contracts/pool/BundleService.sol +166 -46
  338. package/contracts/pool/BundleServiceManager.sol +6 -6
  339. package/contracts/pool/IBundleService.sol +31 -8
  340. package/contracts/pool/IPoolComponent.sol +18 -8
  341. package/contracts/pool/IPoolService.sol +57 -36
  342. package/contracts/pool/Pool.sol +59 -34
  343. package/contracts/pool/PoolService.sol +231 -102
  344. package/contracts/pool/PoolServiceManager.sol +4 -4
  345. package/contracts/product/ApplicationService.sol +50 -29
  346. package/contracts/product/ApplicationServiceManager.sol +4 -4
  347. package/contracts/product/BasicProduct.sol +1 -0
  348. package/contracts/product/ClaimService.sol +251 -87
  349. package/contracts/product/ClaimServiceManager.sol +4 -4
  350. package/contracts/product/IApplicationService.sol +1 -0
  351. package/contracts/product/IClaimService.sol +31 -7
  352. package/contracts/product/IPolicyService.sol +34 -34
  353. package/contracts/product/IPricingService.sol +7 -7
  354. package/contracts/product/IProductComponent.sol +17 -4
  355. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  356. package/contracts/product/PolicyService.sol +379 -192
  357. package/contracts/product/PolicyServiceManager.sol +4 -4
  358. package/contracts/product/PricingService.sol +46 -46
  359. package/contracts/product/PricingServiceManager.sol +3 -3
  360. package/contracts/product/Product.sol +81 -50
  361. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  362. package/contracts/product/RiskServiceManager.sol +39 -0
  363. package/contracts/registry/ChainNft.sol +65 -32
  364. package/contracts/registry/IRegistry.sol +51 -18
  365. package/contracts/registry/IRegistryService.sol +0 -9
  366. package/contracts/registry/Registry.sol +328 -197
  367. package/contracts/registry/RegistryAdmin.sol +134 -51
  368. package/contracts/registry/RegistryService.sol +55 -48
  369. package/contracts/registry/RegistryServiceManager.sol +2 -2
  370. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  371. package/contracts/registry/ReleaseRegistry.sol +194 -183
  372. package/contracts/registry/ServiceAuthorizationV3.sol +8 -10
  373. package/contracts/shared/Component.sol +25 -29
  374. package/contracts/shared/ComponentService.sol +20 -30
  375. package/contracts/shared/ComponentServiceManager.sol +8 -5
  376. package/contracts/shared/ComponentVerifyingService.sol +2 -3
  377. package/contracts/shared/ContractLib.sol +38 -0
  378. package/contracts/shared/IComponent.sol +7 -4
  379. package/contracts/shared/IInstanceLinkedComponent.sol +8 -15
  380. package/contracts/shared/ILifecycle.sol +3 -1
  381. package/contracts/shared/IPolicyHolder.sol +12 -22
  382. package/contracts/shared/InitializableERC165.sol +2 -2
  383. package/contracts/shared/InstanceLinkedComponent.sol +5 -6
  384. package/contracts/shared/KeyValueStore.sol +1 -1
  385. package/contracts/shared/Lifecycle.sol +13 -2
  386. package/contracts/shared/NftOwnable.sol +5 -5
  387. package/contracts/shared/PolicyHolder.sol +15 -52
  388. package/contracts/shared/Registerable.sol +4 -4
  389. package/contracts/shared/RegistryLinked.sol +3 -2
  390. package/contracts/shared/Service.sol +16 -11
  391. package/contracts/shared/TokenHandler.sol +100 -19
  392. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  393. package/contracts/staking/IStaking.sol +2 -1
  394. package/contracts/staking/StakeManagerLib.sol +18 -25
  395. package/contracts/staking/Staking.sol +11 -29
  396. package/contracts/staking/StakingManager.sol +8 -6
  397. package/contracts/staking/StakingReader.sol +12 -5
  398. package/contracts/staking/StakingService.sol +10 -14
  399. package/contracts/staking/StakingServiceManager.sol +2 -2
  400. package/contracts/staking/TargetManagerLib.sol +7 -3
  401. package/contracts/type/Amount.sol +15 -0
  402. package/contracts/type/Blocknumber.sol +7 -1
  403. package/contracts/type/ClaimId.sol +6 -1
  404. package/contracts/type/NftId.sol +1 -0
  405. package/contracts/type/ObjectType.sol +16 -11
  406. package/contracts/type/PayoutId.sol +10 -10
  407. package/contracts/type/RiskId.sol +15 -1
  408. package/contracts/type/Seconds.sol +21 -1
  409. package/contracts/type/StateId.sol +15 -1
  410. package/contracts/type/Timestamp.sol +11 -1
  411. package/contracts/type/UFixed.sol +4 -0
  412. package/contracts/upgradeability/ProxyManager.sol +67 -34
  413. package/contracts/upgradeability/Versionable.sol +2 -2
  414. package/package.json +2 -1
  415. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  416. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  417. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  418. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  419. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  420. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  421. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  422. package/contracts/product/ProductServiceManager.sol +0 -39
  423. 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
  {
@@ -604,6 +537,11 @@
604
537
  },
605
538
  {
606
539
  "inputs": [
540
+ {
541
+ "internalType": "StateId",
542
+ "name": "stateId",
543
+ "type": "uint8"
544
+ },
607
545
  {
608
546
  "internalType": "ObjectType",
609
547
  "name": "objectType",
@@ -657,19 +595,6 @@
657
595
  "stateMutability": "view",
658
596
  "type": "function"
659
597
  },
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
598
  {
674
599
  "inputs": [],
675
600
  "name": "getLatestVersion",
@@ -734,6 +659,11 @@
734
659
  "outputs": [
735
660
  {
736
661
  "components": [
662
+ {
663
+ "internalType": "StateId",
664
+ "name": "state",
665
+ "type": "uint8"
666
+ },
737
667
  {
738
668
  "internalType": "VersionPart",
739
669
  "name": "version",
@@ -745,19 +675,9 @@
745
675
  "type": "bytes32"
746
676
  },
747
677
  {
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[]"
678
+ "internalType": "contract IServiceAuthorization",
679
+ "name": "auth",
680
+ "type": "address"
761
681
  },
762
682
  {
763
683
  "internalType": "Timestamp",
@@ -848,25 +768,6 @@
848
768
  "stateMutability": "view",
849
769
  "type": "function"
850
770
  },
851
- {
852
- "inputs": [
853
- {
854
- "internalType": "address",
855
- "name": "service",
856
- "type": "address"
857
- }
858
- ],
859
- "name": "isActiveRegistryService",
860
- "outputs": [
861
- {
862
- "internalType": "bool",
863
- "name": "",
864
- "type": "bool"
865
- }
866
- ],
867
- "stateMutability": "view",
868
- "type": "function"
869
- },
870
771
  {
871
772
  "inputs": [
872
773
  {
@@ -987,12 +888,12 @@
987
888
  "outputs": [
988
889
  {
989
890
  "internalType": "address",
990
- "name": "authority",
891
+ "name": "releaseAuthority",
991
892
  "type": "address"
992
893
  },
993
894
  {
994
895
  "internalType": "VersionPart",
995
- "name": "version",
896
+ "name": "releaseVersion",
996
897
  "type": "uint8"
997
898
  },
998
899
  {
@@ -1023,6 +924,19 @@
1023
924
  "stateMutability": "nonpayable",
1024
925
  "type": "function"
1025
926
  },
927
+ {
928
+ "inputs": [],
929
+ "name": "releases",
930
+ "outputs": [
931
+ {
932
+ "internalType": "uint256",
933
+ "name": "",
934
+ "type": "uint256"
935
+ }
936
+ ],
937
+ "stateMutability": "view",
938
+ "type": "function"
939
+ },
1026
940
  {
1027
941
  "inputs": [
1028
942
  {
@@ -1050,14 +964,14 @@
1050
964
  "type": "function"
1051
965
  }
1052
966
  ],
1053
- "bytecode": "0x60c060405234801561000f575f80fd5b50604051612f4e380380612f4e83398101604081905261002e9161058a565b3361003881610280565b506100416102d3565b61004a81610325565b610077576040516324981a5560e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6100df816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100da919061058a565b610431565b6001600160a01b03811660a08190526040805163016f41bf60e51b81529051632de837e0916004808201926020929091908290030181865afa158015610127573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014b919061058a565b6001600160a01b0316608052604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156101a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c991906105ac565b6008805460ff191660ff9290921691909117905573__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c610203600160036105cc565b6040518263ffffffff1660e01b815260040161022191815260200190565b602060405180830381865af415801561023c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026091906105ac565b600860026101000a81548160ff021916908360ff16021790555050610644565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6102df600660026104a9565b6102ee600660025b60036104f4565b6102fa600660036102e7565b610309600660035b60046104f4565b61031760066004606e6104f4565b6103236006606e610302565b565b5f6001600160a01b03821661033b57505f919050565b604051636939560f60e11b81526001600160a01b038316600482018190529063d272ac1e90602401602060405180830381865afa15801561037e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a291906105eb565b604051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156103f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041d9190610611565b1561042957505f919050565b506001919050565b5f5433906001600160a01b031681146104675760405162d1953b60e31b81526001600160a01b038216600482015260240161006e565b816001600160a01b03163b5f0361049c576040516361798f2f60e11b81526001600160a01b038316600482015260240161006e565b6104a582610280565b5050565b60ff8281165f908152600160205260408120546104c7921690610563565b6104d3576104d3610630565b60ff9182165f908152600160205260409020805460ff191691909216179055565b60ff8084165f908152600260209081526040808320868516845282528083208585168452909152902054161561052c5761052c610630565b60ff9283165f908152600260209081526040808320948616835293815283822092909416815292529020805460ff19166001179055565b60ff828116908216145b92915050565b6001600160a01b0381168114610587575f80fd5b50565b5f6020828403121561059a575f80fd5b81516105a581610573565b9392505050565b5f602082840312156105bc575f80fd5b815160ff811681146105a5575f80fd5b8181038181111561056d57634e487b7160e01b5f52601160045260245ffd5b5f602082840312156105fb575f80fd5b81516001600160601b03811681146105a5575f80fd5b5f60208284031215610621575f80fd5b815180151581146105a5575f80fd5b634e487b7160e01b5f52600160045260245ffd5b60805160a0516128aa6106a45f395f81816103200152818161037201528181610e69015281816115880152611f9d01525f818161020a015281816104d80152818161080d015281816116b3015281816117530152611bf501526128aa5ff3fe608060405234801561000f575f80fd5b50600436106101c5575f3560e01c80637a9e5e4b116100fe578063a972d6981161009e578063dde4fd8a1161006e578063dde4fd8a146104d6578063e9e96c70146104fc578063f40d7c3014610539578063fdd9ec7d1461054a575f80fd5b8063a972d69814610468578063bf1db3f914610493578063bf7e214f146104a6578063d2213b5b146104b6575f80fd5b806399a228e5116100d957806399a228e5146104325780639ef6ddc91461043a578063a28448241461044d578063a898967514610455575f80fd5b80637a9e5e4b146103945780638fb36037146103a757806393a7e711146103c8575f80fd5b806311edceaa116101695780635ab1bd53116101445780635ab1bd531461031e5780636428e2631461034457806371ed16e41461035757806379cbc5fa1461036d575f80fd5b806311edceaa146102ac57806330ac5bf2146102cf57806331d53763146102e4575f80fd5b80630af43fe1116101a45780630af43fe1146102645780630d3581811461026c5780630e41142e146102915780630e6d1de91461029c575f80fd5b8062d19f30146101c957806301bc45c91461020557806305c937ed14610244575b5f80fd5b6101ee6101d736600461204e565b60ff9081165f908152600960205260409020541690565b60405160ff90911681526020015b60405180910390f35b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101fc565b61024e6208052081565b60405164ffffffffff90911681526020016101fc565b6101ee610575565b6101ee61027a36600461204e565b60ff9081165f908152600160205260409020541690565b60085460ff166101ee565b600854610100900460ff166101ee565b6102bf6102ba36600461204e565b6106d7565b60405190151581526020016101fc565b6102e26102dd36600461204e565b610705565b005b6102f76102f236600461207d565b6107ff565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101fc565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102e261035236600461204e565b610b91565b61035f610ce4565b6040519081526020016101fc565b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6102e26103a23660046120a7565b610cfa565b6103af610d72565b6040516001600160e01b031990911681526020016101fc565b61022c6103d63660046120c2565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b61035f600381565b6102bf6104483660046120a7565b610d94565b6102e2610dbf565b6102e2610463366004612101565b611054565b61022c61047636600461204e565b60ff165f908152600660205260409020546001600160a01b031690565b6102bf6104a136600461204e565b61115f565b5f546001600160a01b031661022c565b6104c96104c436600461204e565b6111e5565b6040516101fc9190612203565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102bf61050a366004612101565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b60085462010000900460ff166101ee565b61055d6105583660046120a7565b611413565b6040516001600160601b0390911681526020016101fc565b5f610582335b5f366117b6565b600854604051632b10f60d60e21b81526201000090910460ff16600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156105e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060791906122e2565b61061290600161230d565b6040518263ffffffff1660e01b815260040161063091815260200190565b602060405180830381865af415801561064b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066f9190612330565b6008805460ff92909216620100000262ff0000199092169190911790555f600b819055600a556106a061027a600690565b60088054620100009081900460ff9081165f908152600960205260409020805460ff19169482169490941790935590540416919050565b60ff8181165f9081526009602052604081205490916106ff911660045b60ff90811691161490565b92915050565b61070e3361057b565b60ff8181165f9081526009602052604090205416600461075860065b60ff9081165f9081526002602090815260408083208488168452825280832084871684529091529020541690565b610787576040516302bfeddf60e31b815260ff8085166004830152831660248201526044015b60405180910390fd5b60ff8381165f818152600960209081526040808320805460ff191695871695909517909455600580825291849020909101805469ffffffffff00000000001916905591519081527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb99291015b60405180910390a1505050565b5f808061080b3361057b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088b9190612356565b600854604051632b10f60d60e21b81526201000090910460ff166004820181905291945090925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156108ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091091906122e2565b6040805160208101929092528101859052606001604051602081830303815290604052805190602001209050610962610947600690565b60ff8481165f9081526009602052604090205416600361050a565b61099f5760ff8281165f8181526009602052604090819020549051633dd0d12d60e21b81526004810192909252909116602482015260440161077e565b60ff82165f908152600960209081526040808320805460ff1916600317905580516376b707b760e01b815290516001600160a01b038916926376b707b792600480820193918290030181865afa1580156109fb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1f9190612330565b905060ff80821690841614610a545760405163796adc3f60e11b815260ff80851660048301528216602482015260440161077e565b5f866001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015610a90573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ab791908101906123df565b519050805f03610adf576040516331bedf1b60e01b815260ff8516600482015260240161077e565b600b5415610b205760ff8481165f81815260096020526040908190205490516335598e7b60e01b81526004810192909252909116602482015260440161077e565b600b81905560ff84165f8181526006602090815260409182902080546001600160a01b0319166001600160a01b038c16179055815192835282018590527f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa5507910160405180910390a150509250925092565b610b9a3361057b565b60ff8181165f9081526009602052604090205416606e610bba600661072a565b610be4576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b60ff8381165f90815260096020908152604091829020805460ff19169385169390931790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c769190612493565b60ff84165f81815260056020818152604092839020909101805464ffffffffff95909516650100000000000269ffffffffff00000000001990951694909417909355519081527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e82691016107f2565b5f600a54600b54610cf591906124b7565b905090565b5f5433906001600160a01b03168114610d305760405162d1953b60e31b81526001600160a01b038216600482015260240161077e565b816001600160a01b03163b5f03610d65576040516361798f2f60e11b81526001600160a01b038316600482015260240161077e565b610d6e826118ac565b5050565b5f8054600160a01b900460ff16610d8857505f90565b50638fb3603760e01b90565b6001600160a01b0381165f9081526007602052604081205460ff16610db8816106d7565b9392505050565b610dc83361057b565b60085460ff6201000090910481165f818152600960205260409020549091166004610df3600661072a565b610e1d576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b600b54600a541015610e5e5782600a54600b54610e3a91906124b7565b604051635321a90360e11b815260ff9092166004830152602482015260440161077e565b5f6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360026040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610ed4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef89190612356565b90506001600160a01b038116610f26576040516313fa8f1b60e01b815260ff8516600482015260240161077e565b6008805460ff808716610100810261ff0019909316929092179092555f818152600960209081526040808320805495881660ff199687161790556001600160a01b03861683526007825291829020805490941690921790925581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610fc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fec9190612493565b60ff85165f81815260056020818152604092839020909101805464ffffffffff191664ffffffffff9590951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a150505050565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156110b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110da91906124d9565b156110fd576040516321b9f44760e01b815260ff8416600482015260240161077e565b60ff8084165f9081526002602090815260408083208685168452825280832085851684529091529020541661115a57604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640161077e565b505050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156111c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff91906124d9565b6040805160e080820183525f80835260208084018290526060848601819052808501819052608085015260a0840182905260c0840182905260ff86811683526005825291859020855193840186528054909216835260018201548382015260028201805486518184028101840188528181529596949593948601939283018282801561129857602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161127a575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020015f905b8282101561136d578382905f5260205f200180546112e2906124f2565b80601f016020809104026020016040519081016040528092919081815260200182805461130e906124f2565b80156113595780601f1061133057610100808354040283529160200191611359565b820191905f5260205f20905b81548152906001019060200180831161133c57829003601f168201915b5050505050815260200190600101906112c5565b505050508152602001600482018054806020026020016040519081016040528092919081815260200182805480156113df57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116113b05790505b50505091835250506005919091015464ffffffffff8082166020840152650100000000009091041660409091015292915050565b5f61141d3361057b565b60085460ff6201000090910481165f81815260096020526040902054909116611449600682600361050a565b61146b5760405163997ed62960e01b815260ff8216600482015260240161077e565b60ff82165f908152600960205260409020805460ff19166003179055600a54600b54036114ab576040516399a36bd560e01b815260040160405180910390fd5b5f805f6114b7876118ff565b60ff88165f9081526006602052604080822054600a54915162212fa360ea1b81526004810192909252949750929550909350916001600160a01b0316906384be8c0090602401602060405180830381865afa158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c9190612330565b905060ff8084169082161461157157604051636e2c208b60e01b815260ff80831660048301528416602482015260440161077e565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906115c19087908690889060040161252a565b6020604051808303815f875af11580156115dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061160191906125f2565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611640573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166491906125f2565b50600a8054905f6116748361260b565b909155505060ff86165f908152600660205260409081902054905163122beb2560e11b81526001600160a01b03918216600482015289821660248201527f000000000000000000000000000000000000000000000000000000000000000090911690632457d64a906044015f604051808303815f87803b1580156116f6575f80fd5b505af1158015611708573d5f803e3d5ffd5b50505050611718836106f4600390565b80611726575060ff8316600f145b156117ab5760405163420e0b3560e01b81526001600160a01b03898116600483015260ff851660248301527f0000000000000000000000000000000000000000000000000000000000000000169063420e0b35906044015f604051808303815f87803b158015611794575f80fd5b505af11580156117a6573d5f803e3d5ffd5b505050505b505050505050919050565b5f806117e96117cc5f546001600160a01b031690565b86306117db60045f898b612623565b6117e49161264a565b611d0f565b91509150816118a55763ffffffff811615611882575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061184390889088908890600401612682565b5f604051808303815f87803b15801561185a575f80fd5b505af115801561186c573d5f803e3d5ffd5b50505f805460ff60a01b19169055506118a59050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161077e565b5050505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611982573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a691906124d9565b6119ce57604051635f569d0b60e01b81526001600160a01b038516600482015260240161077e565b5f3390505f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612356565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9591906126c1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0c9190612330565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612330565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611bab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd2919081019061274f565b9450611bdf868684611e17565b5f600860029054906101000a900460ff1690505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c739190612356565b9050806001600160a01b0316836001600160a01b031614611cc257604051635eec2d7360e01b81526001600160a01b03808a16600483015280851660248301528216604482015260640161077e565b60ff80861690831614611d0457604051630576d1a960e51b81526001600160a01b038916600482015260ff80871660248301528316604482015260640161077e565b505050509193909250565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d7d9190612821565b5f60405180830381855afa9150503d805f8114611db5576040519150601f19603f3d011682016040523d82523d5f602084013e611dba565b606091505b50915091508115611e0c576040815110611dec5780806020019051810190611de29190612837565b9094509250611e0c565b6020815110611e0c5780806020019051810190611e0991906124d9565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614611e5f57604051633db89c6160e01b81526001600160a01b03841660048201819052602482015260440161077e565b606082015115611e9a57606082015160405163955d053f60e01b81526001600160a01b0385166004820152901515602482015260440161077e565b611eb68260400151611eaa600890565b60ff9081169116141590565b15611ef55760408281015190516336b258d560e11b81526001600160a01b03851660048201526008602482015260ff909116604482015260640161077e565b60a08201516001600160a01b0380821690831614611f415760405163fb581fd160e01b81526001600160a01b03808616600483015280841660248301528216604482015260640161077e565b836001600160a01b0316816001600160a01b031603611f7e5760405163076ab37760e31b81526001600160a01b038516600482015260240161077e565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015611fe2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200691906124d9565b156120375760405163b1e0f1f560e01b81526001600160a01b0380861660048301528216602482015260440161077e565b50505050565b60ff8116811461204b575f80fd5b50565b5f6020828403121561205e575f80fd5b8135610db88161203d565b6001600160a01b038116811461204b575f80fd5b5f806040838503121561208e575f80fd5b823561209981612069565b946020939093013593505050565b5f602082840312156120b7575f80fd5b8135610db881612069565b5f805f606084860312156120d4575f80fd5b83356120df81612069565b92506020840135915060408401356120f681612069565b809150509250925092565b5f805f60608486031215612113575f80fd5b833561211e8161203d565b9250602084013561212e8161203d565b915060408401356120f68161203d565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b5f82825180855260208501945060208160051b830101602085015f5b838110156121ba57601f198584030188526121a483835161213e565b6020988901989093509190910190600101612188565b50909695505050505050565b5f8151808452602084019350602083015f5b828110156121f957815160ff168652602095860195909101906001016121d8565b5093949350505050565b602081525f610100820160ff845116602084015260208401516040840152604084015160e06060850152818151808452610120860191506020830193505f92505b8083101561226f5783516001600160a01b031682526020938401936001939093019290910190612244565b506060860151858203601f19016080870152925061228d818461216c565b925050506080840151601f198483030160a08501526122ac82826121c6565b91505060a08401516122c760c085018264ffffffffff169052565b5060c084015164ffffffffff811660e0850152509392505050565b5f602082840312156122f2575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106ff576106ff6122f9565b805161232b8161203d565b919050565b5f60208284031215612340575f80fd5b8151610db88161203d565b805161232b81612069565b5f60208284031215612366575f80fd5b8151610db881612069565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff811182821017156123a8576123a8612371565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156123d7576123d7612371565b604052919050565b5f602082840312156123ef575f80fd5b815167ffffffffffffffff811115612405575f80fd5b8201601f81018413612415575f80fd5b805167ffffffffffffffff81111561242f5761242f612371565b8060051b61243f602082016123ae565b9182526020818401810192908101908784111561245a575f80fd5b6020850194505b8385101561248857845192506124768361203d565b82825260209485019490910190612461565b979650505050505050565b5f602082840312156124a3575f80fd5b815164ffffffffff81168114610db8575f80fd5b818103818111156106ff576106ff6122f9565b8051801515811461232b575f80fd5b5f602082840312156124e9575f80fd5b610db8826124ca565b600181811c9082168061250657607f821691505b60208210810361252457634e487b7160e01b5f52602260045260245ffd5b50919050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f606085015161257260c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e06101208401526125b961014084018261213e565b9150506125cb602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b038116811461232b575f80fd5b5f60208284031215612602575f80fd5b610db8826125dc565b5f6001820161261c5761261c6122f9565b5060010190565b5f8085851115612631575f80fd5b8386111561263d575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561267b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f602082840312156126d1575f80fd5b815162ffffff81168114610db8575f80fd5b5f82601f8301126126f2575f80fd5b815167ffffffffffffffff81111561270c5761270c612371565b61271f601f8201601f19166020016123ae565b818152846020838601011115612733575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561275f575f80fd5b815167ffffffffffffffff811115612775575f80fd5b820160e08185031215612786575f80fd5b61278e612385565b612797826125dc565b81526127a5602083016125dc565b60208201526127b660408301612320565b60408201526127c7606083016124ca565b60608201526127d86080830161234b565b60808201526127e960a0830161234b565b60a082015260c082015167ffffffffffffffff811115612807575f80fd5b612813868285016126e3565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612848575f80fd5b612851836124ca565b9150602083015163ffffffff81168114612869575f80fd5b80915050925092905056fea2646970667358221220f6b9f4ffc8022db03388d8fa420d875ef21bdf219e6611a3250fe4012458ef2664736f6c634300081a0033",
1054
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101c5575f3560e01c80637a9e5e4b116100fe578063a972d6981161009e578063dde4fd8a1161006e578063dde4fd8a146104d6578063e9e96c70146104fc578063f40d7c3014610539578063fdd9ec7d1461054a575f80fd5b8063a972d69814610468578063bf1db3f914610493578063bf7e214f146104a6578063d2213b5b146104b6575f80fd5b806399a228e5116100d957806399a228e5146104325780639ef6ddc91461043a578063a28448241461044d578063a898967514610455575f80fd5b80637a9e5e4b146103945780638fb36037146103a757806393a7e711146103c8575f80fd5b806311edceaa116101695780635ab1bd53116101445780635ab1bd531461031e5780636428e2631461034457806371ed16e41461035757806379cbc5fa1461036d575f80fd5b806311edceaa146102ac57806330ac5bf2146102cf57806331d53763146102e4575f80fd5b80630af43fe1116101a45780630af43fe1146102645780630d3581811461026c5780630e41142e146102915780630e6d1de91461029c575f80fd5b8062d19f30146101c957806301bc45c91461020557806305c937ed14610244575b5f80fd5b6101ee6101d736600461204e565b60ff9081165f908152600960205260409020541690565b60405160ff90911681526020015b60405180910390f35b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101fc565b61024e6208052081565b60405164ffffffffff90911681526020016101fc565b6101ee610575565b6101ee61027a36600461204e565b60ff9081165f908152600160205260409020541690565b60085460ff166101ee565b600854610100900460ff166101ee565b6102bf6102ba36600461204e565b6106d7565b60405190151581526020016101fc565b6102e26102dd36600461204e565b610705565b005b6102f76102f236600461207d565b6107ff565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101fc565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102e261035236600461204e565b610b91565b61035f610ce4565b6040519081526020016101fc565b61022c7f000000000000000000000000000000000000000000000000000000000000000081565b6102e26103a23660046120a7565b610cfa565b6103af610d72565b6040516001600160e01b031990911681526020016101fc565b61022c6103d63660046120c2565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b61035f600381565b6102bf6104483660046120a7565b610d94565b6102e2610dbf565b6102e2610463366004612101565b611054565b61022c61047636600461204e565b60ff165f908152600660205260409020546001600160a01b031690565b6102bf6104a136600461204e565b61115f565b5f546001600160a01b031661022c565b6104c96104c436600461204e565b6111e5565b6040516101fc9190612203565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6102bf61050a366004612101565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b60085462010000900460ff166101ee565b61055d6105583660046120a7565b611413565b6040516001600160601b0390911681526020016101fc565b5f610582335b5f366117b6565b600854604051632b10f60d60e21b81526201000090910460ff16600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156105e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060791906122e2565b61061290600161230d565b6040518263ffffffff1660e01b815260040161063091815260200190565b602060405180830381865af415801561064b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066f9190612330565b6008805460ff92909216620100000262ff0000199092169190911790555f600b819055600a556106a061027a600690565b60088054620100009081900460ff9081165f908152600960205260409020805460ff19169482169490941790935590540416919050565b60ff8181165f9081526009602052604081205490916106ff911660045b60ff90811691161490565b92915050565b61070e3361057b565b60ff8181165f9081526009602052604090205416600461075860065b60ff9081165f9081526002602090815260408083208488168452825280832084871684529091529020541690565b610787576040516302bfeddf60e31b815260ff8085166004830152831660248201526044015b60405180910390fd5b60ff8381165f818152600960209081526040808320805460ff191695871695909517909455600580825291849020909101805469ffffffffff00000000001916905591519081527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb99291015b60405180910390a1505050565b5f808061080b3361057b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088b9190612356565b600854604051632b10f60d60e21b81526201000090910460ff166004820181905291945090925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156108ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091091906122e2565b6040805160208101929092528101859052606001604051602081830303815290604052805190602001209050610962610947600690565b60ff8481165f9081526009602052604090205416600361050a565b61099f5760ff8281165f8181526009602052604090819020549051633dd0d12d60e21b81526004810192909252909116602482015260440161077e565b60ff82165f908152600960209081526040808320805460ff1916600317905580516376b707b760e01b815290516001600160a01b038916926376b707b792600480820193918290030181865afa1580156109fb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1f9190612330565b905060ff80821690841614610a545760405163796adc3f60e11b815260ff80851660048301528216602482015260440161077e565b5f866001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015610a90573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ab791908101906123df565b519050805f03610adf576040516331bedf1b60e01b815260ff8516600482015260240161077e565b600b5415610b205760ff8481165f81815260096020526040908190205490516335598e7b60e01b81526004810192909252909116602482015260440161077e565b600b81905560ff84165f8181526006602090815260409182902080546001600160a01b0319166001600160a01b038c16179055815192835282018590527f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa5507910160405180910390a150509250925092565b610b9a3361057b565b60ff8181165f9081526009602052604090205416606e610bba600661072a565b610be4576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b60ff8381165f90815260096020908152604091829020805460ff19169385169390931790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c769190612493565b60ff84165f81815260056020818152604092839020909101805464ffffffffff95909516650100000000000269ffffffffff00000000001990951694909417909355519081527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e82691016107f2565b5f600a54600b54610cf591906124b7565b905090565b5f5433906001600160a01b03168114610d305760405162d1953b60e31b81526001600160a01b038216600482015260240161077e565b816001600160a01b03163b5f03610d65576040516361798f2f60e11b81526001600160a01b038316600482015260240161077e565b610d6e826118ac565b5050565b5f8054600160a01b900460ff16610d8857505f90565b50638fb3603760e01b90565b6001600160a01b0381165f9081526007602052604081205460ff16610db8816106d7565b9392505050565b610dc83361057b565b60085460ff6201000090910481165f818152600960205260409020549091166004610df3600661072a565b610e1d576040516302bfeddf60e31b815260ff80851660048301528316602482015260440161077e565b600b54600a541015610e5e5782600a54600b54610e3a91906124b7565b604051635321a90360e11b815260ff9092166004830152602482015260440161077e565b5f6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360026040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610ed4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef89190612356565b90506001600160a01b038116610f26576040516313fa8f1b60e01b815260ff8516600482015260240161077e565b6008805460ff808716610100810261ff0019909316929092179092555f818152600960209081526040808320805495881660ff199687161790556001600160a01b03861683526007825291829020805490941690921790925581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610fc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fec9190612493565b60ff85165f81815260056020818152604092839020909101805464ffffffffff191664ffffffffff9590951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a150505050565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156110b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110da91906124d9565b156110fd576040516321b9f44760e01b815260ff8416600482015260240161077e565b60ff8084165f9081526002602090815260408083208685168452825280832085851684529091529020541661115a57604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640161077e565b505050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156111c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff91906124d9565b6040805160e080820183525f80835260208084018290526060848601819052808501819052608085015260a0840182905260c0840182905260ff86811683526005825291859020855193840186528054909216835260018201548382015260028201805486518184028101840188528181529596949593948601939283018282801561129857602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161127a575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020015f905b8282101561136d578382905f5260205f200180546112e2906124f2565b80601f016020809104026020016040519081016040528092919081815260200182805461130e906124f2565b80156113595780601f1061133057610100808354040283529160200191611359565b820191905f5260205f20905b81548152906001019060200180831161133c57829003601f168201915b5050505050815260200190600101906112c5565b505050508152602001600482018054806020026020016040519081016040528092919081815260200182805480156113df57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116113b05790505b50505091835250506005919091015464ffffffffff8082166020840152650100000000009091041660409091015292915050565b5f61141d3361057b565b60085460ff6201000090910481165f81815260096020526040902054909116611449600682600361050a565b61146b5760405163997ed62960e01b815260ff8216600482015260240161077e565b60ff82165f908152600960205260409020805460ff19166003179055600a54600b54036114ab576040516399a36bd560e01b815260040160405180910390fd5b5f805f6114b7876118ff565b60ff88165f9081526006602052604080822054600a54915162212fa360ea1b81526004810192909252949750929550909350916001600160a01b0316906384be8c0090602401602060405180830381865afa158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c9190612330565b905060ff8084169082161461157157604051636e2c208b60e01b815260ff80831660048301528416602482015260440161077e565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906115c19087908690889060040161252a565b6020604051808303815f875af11580156115dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061160191906125f2565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611640573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166491906125f2565b50600a8054905f6116748361260b565b909155505060ff86165f908152600660205260409081902054905163122beb2560e11b81526001600160a01b03918216600482015289821660248201527f000000000000000000000000000000000000000000000000000000000000000090911690632457d64a906044015f604051808303815f87803b1580156116f6575f80fd5b505af1158015611708573d5f803e3d5ffd5b50505050611718836106f4600390565b80611726575060ff8316600f145b156117ab5760405163420e0b3560e01b81526001600160a01b03898116600483015260ff851660248301527f0000000000000000000000000000000000000000000000000000000000000000169063420e0b35906044015f604051808303815f87803b158015611794575f80fd5b505af11580156117a6573d5f803e3d5ffd5b505050505b505050505050919050565b5f806117e96117cc5f546001600160a01b031690565b86306117db60045f898b612623565b6117e49161264a565b611d0f565b91509150816118a55763ffffffff811615611882575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061184390889088908890600401612682565b5f604051808303815f87803b15801561185a575f80fd5b505af115801561186c573d5f803e3d5ffd5b50505f805460ff60a01b19169055506118a59050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161077e565b5050505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611982573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a691906124d9565b6119ce57604051635f569d0b60e01b81526001600160a01b038516600482015260240161077e565b5f3390505f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190612356565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9591906126c1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0c9190612330565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612330565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611bab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd2919081019061274f565b9450611bdf868684611e17565b5f600860029054906101000a900460ff1690505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c739190612356565b9050806001600160a01b0316836001600160a01b031614611cc257604051635eec2d7360e01b81526001600160a01b03808a16600483015280851660248301528216604482015260640161077e565b60ff80861690831614611d0457604051630576d1a960e51b81526001600160a01b038916600482015260ff80871660248301528316604482015260640161077e565b505050509193909250565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d7d9190612821565b5f60405180830381855afa9150503d805f8114611db5576040519150601f19603f3d011682016040523d82523d5f602084013e611dba565b606091505b50915091508115611e0c576040815110611dec5780806020019051810190611de29190612837565b9094509250611e0c565b6020815110611e0c5780806020019051810190611e0991906124d9565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614611e5f57604051633db89c6160e01b81526001600160a01b03841660048201819052602482015260440161077e565b606082015115611e9a57606082015160405163955d053f60e01b81526001600160a01b0385166004820152901515602482015260440161077e565b611eb68260400151611eaa600890565b60ff9081169116141590565b15611ef55760408281015190516336b258d560e11b81526001600160a01b03851660048201526008602482015260ff909116604482015260640161077e565b60a08201516001600160a01b0380821690831614611f415760405163fb581fd160e01b81526001600160a01b03808616600483015280841660248301528216604482015260640161077e565b836001600160a01b0316816001600160a01b031603611f7e5760405163076ab37760e31b81526001600160a01b038516600482015260240161077e565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015611fe2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200691906124d9565b156120375760405163b1e0f1f560e01b81526001600160a01b0380861660048301528216602482015260440161077e565b50505050565b60ff8116811461204b575f80fd5b50565b5f6020828403121561205e575f80fd5b8135610db88161203d565b6001600160a01b038116811461204b575f80fd5b5f806040838503121561208e575f80fd5b823561209981612069565b946020939093013593505050565b5f602082840312156120b7575f80fd5b8135610db881612069565b5f805f606084860312156120d4575f80fd5b83356120df81612069565b92506020840135915060408401356120f681612069565b809150509250925092565b5f805f60608486031215612113575f80fd5b833561211e8161203d565b9250602084013561212e8161203d565b915060408401356120f68161203d565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b5f82825180855260208501945060208160051b830101602085015f5b838110156121ba57601f198584030188526121a483835161213e565b6020988901989093509190910190600101612188565b50909695505050505050565b5f8151808452602084019350602083015f5b828110156121f957815160ff168652602095860195909101906001016121d8565b5093949350505050565b602081525f610100820160ff845116602084015260208401516040840152604084015160e06060850152818151808452610120860191506020830193505f92505b8083101561226f5783516001600160a01b031682526020938401936001939093019290910190612244565b506060860151858203601f19016080870152925061228d818461216c565b925050506080840151601f198483030160a08501526122ac82826121c6565b91505060a08401516122c760c085018264ffffffffff169052565b5060c084015164ffffffffff811660e0850152509392505050565b5f602082840312156122f2575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106ff576106ff6122f9565b805161232b8161203d565b919050565b5f60208284031215612340575f80fd5b8151610db88161203d565b805161232b81612069565b5f60208284031215612366575f80fd5b8151610db881612069565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff811182821017156123a8576123a8612371565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156123d7576123d7612371565b604052919050565b5f602082840312156123ef575f80fd5b815167ffffffffffffffff811115612405575f80fd5b8201601f81018413612415575f80fd5b805167ffffffffffffffff81111561242f5761242f612371565b8060051b61243f602082016123ae565b9182526020818401810192908101908784111561245a575f80fd5b6020850194505b8385101561248857845192506124768361203d565b82825260209485019490910190612461565b979650505050505050565b5f602082840312156124a3575f80fd5b815164ffffffffff81168114610db8575f80fd5b818103818111156106ff576106ff6122f9565b8051801515811461232b575f80fd5b5f602082840312156124e9575f80fd5b610db8826124ca565b600181811c9082168061250657607f821691505b60208210810361252457634e487b7160e01b5f52602260045260245ffd5b50919050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f606085015161257260c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e06101208401526125b961014084018261213e565b9150506125cb602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b038116811461232b575f80fd5b5f60208284031215612602575f80fd5b610db8826125dc565b5f6001820161261c5761261c6122f9565b5060010190565b5f8085851115612631575f80fd5b8386111561263d575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561267b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f602082840312156126d1575f80fd5b815162ffffff81168114610db8575f80fd5b5f82601f8301126126f2575f80fd5b815167ffffffffffffffff81111561270c5761270c612371565b61271f601f8201601f19166020016123ae565b818152846020838601011115612733575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561275f575f80fd5b815167ffffffffffffffff811115612775575f80fd5b820160e08185031215612786575f80fd5b61278e612385565b612797826125dc565b81526127a5602083016125dc565b60208201526127b660408301612320565b60408201526127c7606083016124ca565b60608201526127d86080830161234b565b60808201526127e960a0830161234b565b60a082015260c082015167ffffffffffffffff811115612807575f80fd5b612813868285016126e3565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612848575f80fd5b612851836124ca565b9150602083015163ffffffff81168114612869575f80fd5b80915050925092905056fea2646970667358221220f6b9f4ffc8022db03388d8fa420d875ef21bdf219e6611a3250fe4012458ef2664736f6c634300081a0033",
967
+ "bytecode": "0x60c060405234801561000f575f80fd5b50604051612fc6380380612fc683398101604081905261002e9161052c565b33610038816101fa565b5061004161024d565b61004a816102c7565b610077576040516324981a5560e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6100df816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100da919061052c565b6103d3565b6001600160a01b03811660a08190526040805163016f41bf60e51b81529051632de837e0916004808201926020929091908290030181865afa158015610127573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014b919061052c565b6001600160a01b031660805273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c61017d6001600361054e565b6040518263ffffffff1660e01b815260040161019b91815260200190565b602060405180830381865af41580156101b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101da919061056d565b600560016101000a81548160ff021916908360ff160217905550506105e6565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6102596006600261044b565b610268600660025b6006610496565b610276600660026003610496565b61028260066003610261565b610290600660036004610496565b61029c60066004610261565b6102ab600660045b6005610496565b6102b960066005606e610496565b6102c56006606e6102a4565b565b5f6001600160a01b0382166102dd57505f919050565b604051632f2a35f760e11b81526001600160a01b0383166004820181905290635e546bee90602401602060405180830381865afa158015610320573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610344919061058d565b604051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561039b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103bf91906105b3565b156103cb57505f919050565b506001919050565b5f5433906001600160a01b031681146104095760405162d1953b60e31b81526001600160a01b038216600482015260240161006e565b816001600160a01b03163b5f0361043e576040516361798f2f60e11b81526001600160a01b038316600482015260240161006e565b610447826101fa565b5050565b60ff8281165f90815260016020526040812054610469921690610505565b610475576104756105d2565b60ff9182165f908152600160205260409020805460ff191691909216179055565b60ff8084165f90815260026020908152604080832086851684528252808320858516845290915290205416156104ce576104ce6105d2565b60ff9283165f908152600260209081526040808320948616835293815283822092909416815292529020805460ff19166001179055565b60ff828116908216145b92915050565b6001600160a01b0381168114610529575f80fd5b50565b5f6020828403121561053c575f80fd5b815161054781610515565b9392505050565b8181038181111561050f57634e487b7160e01b5f52601160045260245ffd5b5f6020828403121561057d575f80fd5b815160ff81168114610547575f80fd5b5f6020828403121561059d575f80fd5b81516001600160601b0381168114610547575f80fd5b5f602082840312156105c3575f80fd5b81518015158114610547575f80fd5b634e487b7160e01b5f52600160045260245ffd5b60805160a0516129566106705f395f81816103180152818161036a01528181610e8d01528181610fe0015281816111270152818161155f01528181611819015261215101525f81816101ff015281816105b40152818161090e01528181610f5a01528181611098015281816111d101528181611360015281816114f301526118c101526129565ff3fe608060405234801561000f575f80fd5b50600436106101ba575f3560e01c80637a9e5e4b116100f3578063bf1db3f911610093578063dde4fd8a1161006e578063dde4fd8a146105b2578063e9e96c70146105d8578063f40d7c3014610615578063fdd9ec7d14610625575f80fd5b8063bf1db3f914610470578063bf7e214f14610483578063d2213b5b14610493575f80fd5b806393a7e711116100ce57806393a7e711146103c857806399a228e514610432578063a28448241461043a578063a972d69814610442575f80fd5b80637a9e5e4b1461038c5780638fb360371461039f578063913e10e9146103c0575f80fd5b806330ac5bf21161015e5780635ab1bd53116101395780635ab1bd53146103165780636428e2631461033c57806371ed16e41461034f57806379cbc5fa14610365575f80fd5b806330ac5bf2146102b457806331d53763146102c957806354f1fa8114610303575f80fd5b80630af43fe1116101995780630af43fe1146102595780630d358181146102615780630e6d1de91461028657806311edceaa14610291575f80fd5b8062d19f30146101be57806301bc45c9146101fa57806305c937ed14610239575b5f80fd5b6101e36101cc3660046121fc565b60ff9081165f908152600360205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f1565b6102436208052081565b60405164ffffffffff90911681526020016101f1565b6101e3610650565b6101e361026f3660046121fc565b60ff9081165f908152600160205260409020541690565b60055460ff166101e3565b6102a461029f3660046121fc565b610804565b60405190151581526020016101f1565b6102c76102c23660046121fc565b610824565b005b6102dc6102d7366004612232565b6108c4565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101f1565b6102c761031136600461225c565b610a19565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102c761034a3660046121fc565b610b77565b610357610ca7565b6040519081526020016101f1565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6102c761039a3660046122b5565b610cbd565b6103a7610d35565b6040516001600160e01b031990911681526020016101f1565b600454610357565b6102216103d63660046122d0565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b610357600381565b6102c7610d57565b6102216104503660046121fc565b60ff165f908152600360205260409020600201546001600160a01b031690565b6102a461047e3660046121fc565b61129a565b5f546001600160a01b0316610221565b61054b6104a13660046121fc565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525060ff9081165f90815260036020908152604091829020825160c08101845281548086168252610100900490941691840191909152600181015491830191909152600201546001600160a01b038116606083015264ffffffffff600160a01b820481166080840152600160c81b9091041660a082015290565b6040516101f191905f60c08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102a46105e636600461230f565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b600554610100900460ff166101e3565b6106386106333660046122b5565b611320565b6040516001600160601b0390911681526020016101f1565b5f61065d335b5f3661164a565b600554610100900460ff16610689600660ff8084165f90815260036020526040902054166105e6600690565b156106ab5760ff81165f908152600360205260409020805460ff191660061790555b604051632b10f60d60e21b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af4158015610703573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610727919061234c565b610732906001612377565b6040518263ffffffff1660e01b815260040161075091815260200190565b602060405180830381865af415801561076b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078f919061239a565b6005805460ff8316610100810261ff001992831681179093555f9081526003602052604090208054909116909117905590506107cc61026f600690565b60ff9182165f908152600360205260408120805460ff1916928416929092179091556007819055600655600554610100900416919050565b60ff8181165f908152600360205260408120549091166005145b92915050565b61082d33610656565b60ff8181165f9081526003602052604090205461085191166006606e5b6005610a19565b60ff81165f908152600360205260408120805460ff19166005178155600201805464ffffffffff60c81b1916905561088a908290611740565b60405160ff821681527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb992906020015b60405180910390a150565b5f80806108d033610656565b60055460ff61010090910481165f818152600360205260409020549093506108fe9116600660026003610a19565b5f61090a86848761192d565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610968573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098c91906123c0565b600782905560ff84165f81815260036020818152604092839020805460ff19169092178255600182018a9055600290910180546001600160a01b0319166001600160a01b038c161790558151928352820188905280519296508794507f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa550792918290030190a1509250925092565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610a7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9f91906123ea565b15610acd5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610b0e5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610ac4565b60ff8084165f90815260026020908152604080832086851684528252808320858516845290915290205416610b715760405163f33b49a360e01b815230600482015260ff8085166024830152808416604483015282166064820152608401610ac4565b50505050565b610b8033610656565b60ff8181165f90815260036020526040902054610ba3911660066005606e610a19565b60ff81165f90815260036020908152604091829020805460ff1916606e17905581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c309190612403565b60ff82165f908152600360205260409020600201805464ffffffffff92909216600160c81b0264ffffffffff60c81b19909216919091179055610c74816001611740565b60405160ff821681527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e826906020016108b9565b5f600654600754610cb89190612427565b905090565b5f5433906001600160a01b03168114610cf35760405162d1953b60e31b81526001600160a01b0382166004820152602401610ac4565b816001600160a01b03163b5f03610d28576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ac4565b610d3182611af4565b5050565b5f8054600160a01b900460ff16610d4b57505f90565b50638fb3603760e01b90565b610d6033610656565b60055460ff61010090910481165f818152600360205260409020549091610d8b91166006600461084a565b6005805460ff191660ff831617905560048054905f610da98361243a565b9190505550610db6600590565b60ff8281165f90815260036020908152604091829020805460ff1916949093169390931790915580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610e25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e499190612403565b60ff82165f908152600360205260408120600201805464ffffffffff93909316600160a01b0264ffffffffff60a01b19909316929092179091556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043610eba600290565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015610efe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2291906123c0565b90506001600160a01b038116610f50576040516381d94faf60e01b815260ff83166004820152602401610ac4565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260026040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610fc8575f80fd5b505af1158015610fda573d5f803e3d5ffd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e6043611015600390565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611059573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107d91906123c0565b90506001600160a01b0381161561111d576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260036040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611106575f80fd5b505af1158015611118573d5f803e3d5ffd5b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043600f6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611192573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b691906123c0565b90506001600160a01b03811615611256576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b3582600f6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b505050505b611260825f611740565b60405160ff831681527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d49060200160405180910390a15050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156112fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906123ea565b5f61132a33610656565b600554610100900460ff9081165f81815260036020526040902054909161135d91166006611356600390565b6004610a19565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113de91906123c0565b60ff83165f9081526003602052604080822060020154600654915162212fa360ea1b81529394506001600160a01b03169283916384be8c0091611428919060040190815260200190565b602060405180830381865afa158015611443573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611467919061239a565b90505f805f61147889878987611b41565b6006805493965091945092505f61148e8361243a565b9190505550600654600754036114bb5760ff87165f908152600360205260409020805460ff191660041790555b604051637485407160e01b81526001600160a01b0386811660048301528a8116602483015260ff8085166044840152891660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611534575f80fd5b505af1158015611546573d5f803e3d5ffd5b5050604051635382852b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a7050a56915061159a90869085908790600401612480565b6020604051808303815f875af11580156115b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115da9190612548565b9750886001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611619573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163d9190612548565b5050505050505050919050565b5f8061167d6116605f546001600160a01b031690565b863061166f60045f898b612561565b61167891612588565b611ed2565b91509150816117395763ffffffff811615611716575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906116d7908890889088906004016125c0565b5f604051808303815f87803b1580156116ee575f80fd5b505af1158015611700573d5f803e3d5ffd5b50505f805460ff60a01b19169055506117399050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610ac4565b5050505050565b60ff82165f908152600360205260408082206002015481516368c55b1360e01b8152915183926001600160a01b0390921691839183916368c55b1391600480830192869291908290030181865afa15801561179d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117c4919081019061266d565b90505f5b8151811015611924578181815181106117e3576117e3612721565b602090810291909101015160405163d39e604360e01b815260ff8083166004830152891660248201529094506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d39e604390604401602060405180830381865afa15801561185e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188291906123c0565b94506001600160a01b03851661189a5761189a612735565b6040516333cbe07760e21b81526001600160a01b03868116600483015287151560248301527f0000000000000000000000000000000000000000000000000000000000000000169063cf2f81dc906044015f604051808303815f87803b158015611902575f80fd5b505af1158015611914573d5f803e3d5ffd5b5050600190920191506117c89050565b50505050505050565b6040516301ffc9a760e01b81526332d11fef60e01b60048201525f906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611978573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061199c91906123ea565b6119c457604051631bead44b60e21b81526001600160a01b0385166004820152602401610ac4565b5f846001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a25919061239a565b905060ff80851690821614611a5357848482604051630c3a335360e41b8152600401610ac493929190612749565b846001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015611a8e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ab5919081019061266d565b519150815f03611aec576040516310c48b6b60e21b81526001600160a01b038616600482015260ff85166024820152604401610ac4565b509392505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108b9565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038816906301ffc9a790602401602060405180830381865afa158015611bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611be891906123ea565b611c1057604051635f569d0b60e01b81526001600160a01b0388166004820152602401610ac4565b5f3390505f886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7591906123c0565b9050886001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd7919061276d565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611d2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4e919061239a565b9250886001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db0919061239a565b9350886001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611ded573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e1491908101906127fb565b9450611e21898684611fda565b876001600160a01b0316816001600160a01b031614611e6e576040516349aec65360e01b81526001600160a01b03808b166004830152808316602483015289166044820152606401610ac4565b60ff80841690881614611e9a57888388604051633d36dbf960e01b8152600401610ac493929190612749565b60ff80851690871614611ec6578886856040516348fe94e360e11b8152600401610ac493929190612749565b50509450945094915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611f4091906128cd565b5f60405180830381855afa9150503d805f8114611f78576040519150601f19603f3d011682016040523d82523d5f602084013e611f7d565b606091505b50915091508115611fcf576040815110611faf5780806020019051810190611fa591906128e3565b9094509250611fcf565b6020815110611fcf5780806020019051810190611fcc91906123ea565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614612029576080820151604051633db89c6160e01b81526001600160a01b0380861660048301529091166024820152604401610ac4565b60608201511561206457606082015160405163955d053f60e01b81526001600160a01b03851660048201529015156024820152604401610ac4565b6120808260400151612074600890565b60ff9081169116141590565b156120a95782600883604001516040516336b258d560e11b8152600401610ac493929190612749565b60a08201516001600160a01b03808216908316146120f55760405163fb581fd160e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610ac4565b836001600160a01b0316816001600160a01b0316036121325760405163076ab37760e31b81526001600160a01b0385166004820152602401610ac4565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015612196573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ba91906123ea565b15610b715760405163b1e0f1f560e01b81526001600160a01b03808616600483015282166024820152604401610ac4565b60ff811681146121f9575f80fd5b50565b5f6020828403121561220c575f80fd5b8135612217816121eb565b9392505050565b6001600160a01b03811681146121f9575f80fd5b5f8060408385031215612243575f80fd5b823561224e8161221e565b946020939093013593505050565b5f805f806080858703121561226f575f80fd5b843561227a816121eb565b9350602085013561228a816121eb565b9250604085013561229a816121eb565b915060608501356122aa816121eb565b939692955090935050565b5f602082840312156122c5575f80fd5b81356122178161221e565b5f805f606084860312156122e2575f80fd5b83356122ed8161221e565b92506020840135915060408401356123048161221e565b809150509250925092565b5f805f60608486031215612321575f80fd5b833561232c816121eb565b9250602084013561233c816121eb565b91506040840135612304816121eb565b5f6020828403121561235c575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561081e5761081e612363565b8051612395816121eb565b919050565b5f602082840312156123aa575f80fd5b8151612217816121eb565b80516123958161221e565b5f602082840312156123d0575f80fd5b81516122178161221e565b80518015158114612395575f80fd5b5f602082840312156123fa575f80fd5b612217826123db565b5f60208284031215612413575f80fd5b815164ffffffffff81168114612217575f80fd5b8181038181111561081e5761081e612363565b5f6001820161244b5761244b612363565b5060010190565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f60608501516124c860c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261250f610140840182612452565b915050612521602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b0381168114612395575f80fd5b5f60208284031215612558575f80fd5b61221782612532565b5f808585111561256f575f80fd5b8386111561257b575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156125b9576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612636576126366125ff565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612665576126656125ff565b604052919050565b5f6020828403121561267d575f80fd5b815167ffffffffffffffff811115612693575f80fd5b8201601f810184136126a3575f80fd5b805167ffffffffffffffff8111156126bd576126bd6125ff565b8060051b6126cd6020820161263c565b918252602081840181019290810190878411156126e8575f80fd5b6020850194505b838510156127165784519250612704836121eb565b828252602094850194909101906126ef565b979650505050505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b5f6020828403121561277d575f80fd5b815162ffffff81168114612217575f80fd5b5f82601f83011261279e575f80fd5b815167ffffffffffffffff8111156127b8576127b86125ff565b6127cb601f8201601f191660200161263c565b8181528460208386010111156127df575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561280b575f80fd5b815167ffffffffffffffff811115612821575f80fd5b820160e08185031215612832575f80fd5b61283a612613565b61284382612532565b815261285160208301612532565b60208201526128626040830161238a565b6040820152612873606083016123db565b6060820152612884608083016123b5565b608082015261289560a083016123b5565b60a082015260c082015167ffffffffffffffff8111156128b3575f80fd5b6128bf8682850161278f565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156128f4575f80fd5b6128fd836123db565b9150602083015163ffffffff81168114612915575f80fd5b80915050925092905056fea26469706673582212205ab489128bc9d7ec604f436b31e80d26099997ee6ccaf32fc9522c6ff155a58764736f6c634300081a0033",
968
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101ba575f3560e01c80637a9e5e4b116100f3578063bf1db3f911610093578063dde4fd8a1161006e578063dde4fd8a146105b2578063e9e96c70146105d8578063f40d7c3014610615578063fdd9ec7d14610625575f80fd5b8063bf1db3f914610470578063bf7e214f14610483578063d2213b5b14610493575f80fd5b806393a7e711116100ce57806393a7e711146103c857806399a228e514610432578063a28448241461043a578063a972d69814610442575f80fd5b80637a9e5e4b1461038c5780638fb360371461039f578063913e10e9146103c0575f80fd5b806330ac5bf21161015e5780635ab1bd53116101395780635ab1bd53146103165780636428e2631461033c57806371ed16e41461034f57806379cbc5fa14610365575f80fd5b806330ac5bf2146102b457806331d53763146102c957806354f1fa8114610303575f80fd5b80630af43fe1116101995780630af43fe1146102595780630d358181146102615780630e6d1de91461028657806311edceaa14610291575f80fd5b8062d19f30146101be57806301bc45c9146101fa57806305c937ed14610239575b5f80fd5b6101e36101cc3660046121fc565b60ff9081165f908152600360205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f1565b6102436208052081565b60405164ffffffffff90911681526020016101f1565b6101e3610650565b6101e361026f3660046121fc565b60ff9081165f908152600160205260409020541690565b60055460ff166101e3565b6102a461029f3660046121fc565b610804565b60405190151581526020016101f1565b6102c76102c23660046121fc565b610824565b005b6102dc6102d7366004612232565b6108c4565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101f1565b6102c761031136600461225c565b610a19565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102c761034a3660046121fc565b610b77565b610357610ca7565b6040519081526020016101f1565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6102c761039a3660046122b5565b610cbd565b6103a7610d35565b6040516001600160e01b031990911681526020016101f1565b600454610357565b6102216103d63660046122d0565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b610357600381565b6102c7610d57565b6102216104503660046121fc565b60ff165f908152600360205260409020600201546001600160a01b031690565b6102a461047e3660046121fc565b61129a565b5f546001600160a01b0316610221565b61054b6104a13660046121fc565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525060ff9081165f90815260036020908152604091829020825160c08101845281548086168252610100900490941691840191909152600181015491830191909152600201546001600160a01b038116606083015264ffffffffff600160a01b820481166080840152600160c81b9091041660a082015290565b6040516101f191905f60c08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102a46105e636600461230f565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b600554610100900460ff166101e3565b6106386106333660046122b5565b611320565b6040516001600160601b0390911681526020016101f1565b5f61065d335b5f3661164a565b600554610100900460ff16610689600660ff8084165f90815260036020526040902054166105e6600690565b156106ab5760ff81165f908152600360205260409020805460ff191660061790555b604051632b10f60d60e21b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af4158015610703573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610727919061234c565b610732906001612377565b6040518263ffffffff1660e01b815260040161075091815260200190565b602060405180830381865af415801561076b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078f919061239a565b6005805460ff8316610100810261ff001992831681179093555f9081526003602052604090208054909116909117905590506107cc61026f600690565b60ff9182165f908152600360205260408120805460ff1916928416929092179091556007819055600655600554610100900416919050565b60ff8181165f908152600360205260408120549091166005145b92915050565b61082d33610656565b60ff8181165f9081526003602052604090205461085191166006606e5b6005610a19565b60ff81165f908152600360205260408120805460ff19166005178155600201805464ffffffffff60c81b1916905561088a908290611740565b60405160ff821681527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb992906020015b60405180910390a150565b5f80806108d033610656565b60055460ff61010090910481165f818152600360205260409020549093506108fe9116600660026003610a19565b5f61090a86848761192d565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610968573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098c91906123c0565b600782905560ff84165f81815260036020818152604092839020805460ff19169092178255600182018a9055600290910180546001600160a01b0319166001600160a01b038c161790558151928352820188905280519296508794507f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa550792918290030190a1509250925092565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610a7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9f91906123ea565b15610acd5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610b0e5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610ac4565b60ff8084165f90815260026020908152604080832086851684528252808320858516845290915290205416610b715760405163f33b49a360e01b815230600482015260ff8085166024830152808416604483015282166064820152608401610ac4565b50505050565b610b8033610656565b60ff8181165f90815260036020526040902054610ba3911660066005606e610a19565b60ff81165f90815260036020908152604091829020805460ff1916606e17905581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c309190612403565b60ff82165f908152600360205260409020600201805464ffffffffff92909216600160c81b0264ffffffffff60c81b19909216919091179055610c74816001611740565b60405160ff821681527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e826906020016108b9565b5f600654600754610cb89190612427565b905090565b5f5433906001600160a01b03168114610cf35760405162d1953b60e31b81526001600160a01b0382166004820152602401610ac4565b816001600160a01b03163b5f03610d28576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ac4565b610d3182611af4565b5050565b5f8054600160a01b900460ff16610d4b57505f90565b50638fb3603760e01b90565b610d6033610656565b60055460ff61010090910481165f818152600360205260409020549091610d8b91166006600461084a565b6005805460ff191660ff831617905560048054905f610da98361243a565b9190505550610db6600590565b60ff8281165f90815260036020908152604091829020805460ff1916949093169390931790915580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610e25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e499190612403565b60ff82165f908152600360205260408120600201805464ffffffffff93909316600160a01b0264ffffffffff60a01b19909316929092179091556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043610eba600290565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015610efe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2291906123c0565b90506001600160a01b038116610f50576040516381d94faf60e01b815260ff83166004820152602401610ac4565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260026040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610fc8575f80fd5b505af1158015610fda573d5f803e3d5ffd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e6043611015600390565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611059573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107d91906123c0565b90506001600160a01b0381161561111d576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260036040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611106575f80fd5b505af1158015611118573d5f803e3d5ffd5b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043600f6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611192573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b691906123c0565b90506001600160a01b03811615611256576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b3582600f6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b505050505b611260825f611740565b60405160ff831681527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d49060200160405180910390a15050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156112fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906123ea565b5f61132a33610656565b600554610100900460ff9081165f81815260036020526040902054909161135d91166006611356600390565b6004610a19565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113de91906123c0565b60ff83165f9081526003602052604080822060020154600654915162212fa360ea1b81529394506001600160a01b03169283916384be8c0091611428919060040190815260200190565b602060405180830381865afa158015611443573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611467919061239a565b90505f805f61147889878987611b41565b6006805493965091945092505f61148e8361243a565b9190505550600654600754036114bb5760ff87165f908152600360205260409020805460ff191660041790555b604051637485407160e01b81526001600160a01b0386811660048301528a8116602483015260ff8085166044840152891660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611534575f80fd5b505af1158015611546573d5f803e3d5ffd5b5050604051635382852b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a7050a56915061159a90869085908790600401612480565b6020604051808303815f875af11580156115b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115da9190612548565b9750886001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611619573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163d9190612548565b5050505050505050919050565b5f8061167d6116605f546001600160a01b031690565b863061166f60045f898b612561565b61167891612588565b611ed2565b91509150816117395763ffffffff811615611716575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906116d7908890889088906004016125c0565b5f604051808303815f87803b1580156116ee575f80fd5b505af1158015611700573d5f803e3d5ffd5b50505f805460ff60a01b19169055506117399050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610ac4565b5050505050565b60ff82165f908152600360205260408082206002015481516368c55b1360e01b8152915183926001600160a01b0390921691839183916368c55b1391600480830192869291908290030181865afa15801561179d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117c4919081019061266d565b90505f5b8151811015611924578181815181106117e3576117e3612721565b602090810291909101015160405163d39e604360e01b815260ff8083166004830152891660248201529094506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d39e604390604401602060405180830381865afa15801561185e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188291906123c0565b94506001600160a01b03851661189a5761189a612735565b6040516333cbe07760e21b81526001600160a01b03868116600483015287151560248301527f0000000000000000000000000000000000000000000000000000000000000000169063cf2f81dc906044015f604051808303815f87803b158015611902575f80fd5b505af1158015611914573d5f803e3d5ffd5b5050600190920191506117c89050565b50505050505050565b6040516301ffc9a760e01b81526332d11fef60e01b60048201525f906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611978573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061199c91906123ea565b6119c457604051631bead44b60e21b81526001600160a01b0385166004820152602401610ac4565b5f846001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a25919061239a565b905060ff80851690821614611a5357848482604051630c3a335360e41b8152600401610ac493929190612749565b846001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015611a8e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ab5919081019061266d565b519150815f03611aec576040516310c48b6b60e21b81526001600160a01b038616600482015260ff85166024820152604401610ac4565b509392505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108b9565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038816906301ffc9a790602401602060405180830381865afa158015611bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611be891906123ea565b611c1057604051635f569d0b60e01b81526001600160a01b0388166004820152602401610ac4565b5f3390505f886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7591906123c0565b9050886001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd7919061276d565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611d2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4e919061239a565b9250886001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db0919061239a565b9350886001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611ded573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e1491908101906127fb565b9450611e21898684611fda565b876001600160a01b0316816001600160a01b031614611e6e576040516349aec65360e01b81526001600160a01b03808b166004830152808316602483015289166044820152606401610ac4565b60ff80841690881614611e9a57888388604051633d36dbf960e01b8152600401610ac493929190612749565b60ff80851690871614611ec6578886856040516348fe94e360e11b8152600401610ac493929190612749565b50509450945094915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611f4091906128cd565b5f60405180830381855afa9150503d805f8114611f78576040519150601f19603f3d011682016040523d82523d5f602084013e611f7d565b606091505b50915091508115611fcf576040815110611faf5780806020019051810190611fa591906128e3565b9094509250611fcf565b6020815110611fcf5780806020019051810190611fcc91906123ea565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614612029576080820151604051633db89c6160e01b81526001600160a01b0380861660048301529091166024820152604401610ac4565b60608201511561206457606082015160405163955d053f60e01b81526001600160a01b03851660048201529015156024820152604401610ac4565b6120808260400151612074600890565b60ff9081169116141590565b156120a95782600883604001516040516336b258d560e11b8152600401610ac493929190612749565b60a08201516001600160a01b03808216908316146120f55760405163fb581fd160e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610ac4565b836001600160a01b0316816001600160a01b0316036121325760405163076ab37760e31b81526001600160a01b0385166004820152602401610ac4565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015612196573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ba91906123ea565b15610b715760405163b1e0f1f560e01b81526001600160a01b03808616600483015282166024820152604401610ac4565b60ff811681146121f9575f80fd5b50565b5f6020828403121561220c575f80fd5b8135612217816121eb565b9392505050565b6001600160a01b03811681146121f9575f80fd5b5f8060408385031215612243575f80fd5b823561224e8161221e565b946020939093013593505050565b5f805f806080858703121561226f575f80fd5b843561227a816121eb565b9350602085013561228a816121eb565b9250604085013561229a816121eb565b915060608501356122aa816121eb565b939692955090935050565b5f602082840312156122c5575f80fd5b81356122178161221e565b5f805f606084860312156122e2575f80fd5b83356122ed8161221e565b92506020840135915060408401356123048161221e565b809150509250925092565b5f805f60608486031215612321575f80fd5b833561232c816121eb565b9250602084013561233c816121eb565b91506040840135612304816121eb565b5f6020828403121561235c575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561081e5761081e612363565b8051612395816121eb565b919050565b5f602082840312156123aa575f80fd5b8151612217816121eb565b80516123958161221e565b5f602082840312156123d0575f80fd5b81516122178161221e565b80518015158114612395575f80fd5b5f602082840312156123fa575f80fd5b612217826123db565b5f60208284031215612413575f80fd5b815164ffffffffff81168114612217575f80fd5b8181038181111561081e5761081e612363565b5f6001820161244b5761244b612363565b5060010190565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f60608501516124c860c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261250f610140840182612452565b915050612521602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b0381168114612395575f80fd5b5f60208284031215612558575f80fd5b61221782612532565b5f808585111561256f575f80fd5b8386111561257b575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156125b9576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612636576126366125ff565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612665576126656125ff565b604052919050565b5f6020828403121561267d575f80fd5b815167ffffffffffffffff811115612693575f80fd5b8201601f810184136126a3575f80fd5b805167ffffffffffffffff8111156126bd576126bd6125ff565b8060051b6126cd6020820161263c565b918252602081840181019290810190878411156126e8575f80fd5b6020850194505b838510156127165784519250612704836121eb565b828252602094850194909101906126ef565b979650505050505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b5f6020828403121561277d575f80fd5b815162ffffff81168114612217575f80fd5b5f82601f83011261279e575f80fd5b815167ffffffffffffffff8111156127b8576127b86125ff565b6127cb601f8201601f191660200161263c565b8181528460208386010111156127df575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561280b575f80fd5b815167ffffffffffffffff811115612821575f80fd5b820160e08185031215612832575f80fd5b61283a612613565b61284382612532565b815261285160208301612532565b60208201526128626040830161238a565b6040820152612873606083016123db565b6060820152612884608083016123b5565b608082015261289560a083016123b5565b60a082015260c082015167ffffffffffffffff8111156128b3575f80fd5b6128bf8682850161278f565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156128f4575f80fd5b6128fd836123db565b9150602083015163ffffffff81168114612915575f80fd5b80915050925092905056fea26469706673582212205ab489128bc9d7ec604f436b31e80d26099997ee6ccaf32fc9522c6ff155a58764736f6c634300081a0033",
1055
969
  "linkReferences": {
1056
970
  "contracts/type/NftId.sol": {
1057
971
  "NftIdLib": [
1058
972
  {
1059
973
  "length": 20,
1060
- "start": 961
974
+ "start": 867
1061
975
  }
1062
976
  ]
1063
977
  },
@@ -1065,11 +979,11 @@
1065
979
  "StateIdLib": [
1066
980
  {
1067
981
  "length": 20,
1068
- "start": 5922
982
+ "start": 4275
1069
983
  },
1070
984
  {
1071
985
  "length": 20,
1072
- "start": 6189
986
+ "start": 6452
1073
987
  }
1074
988
  ]
1075
989
  },
@@ -1077,11 +991,11 @@
1077
991
  "TimestampLib": [
1078
992
  {
1079
993
  "length": 20,
1080
- "start": 4798
994
+ "start": 4675
1081
995
  },
1082
996
  {
1083
997
  "length": 20,
1084
- "start": 5683
998
+ "start": 5213
1085
999
  }
1086
1000
  ]
1087
1001
  },
@@ -1089,25 +1003,17 @@
1089
1003
  "VersionLib": [
1090
1004
  {
1091
1005
  "length": 20,
1092
- "start": 8532
1006
+ "start": 9058
1093
1007
  }
1094
1008
  ],
1095
1009
  "VersionPartLib": [
1096
1010
  {
1097
1011
  "length": 20,
1098
- "start": 365
1012
+ "start": 345
1099
1013
  },
1100
1014
  {
1101
1015
  "length": 20,
1102
- "start": 479
1103
- },
1104
- {
1105
- "length": 20,
1106
- "start": 3143
1107
- },
1108
- {
1109
- "length": 20,
1110
- "start": 3928
1016
+ "start": 3379
1111
1017
  }
1112
1018
  ]
1113
1019
  }
@@ -1117,11 +1023,11 @@
1117
1023
  "StateIdLib": [
1118
1024
  {
1119
1025
  "length": 20,
1120
- "start": 4222
1026
+ "start": 2627
1121
1027
  },
1122
1028
  {
1123
1029
  "length": 20,
1124
- "start": 4489
1030
+ "start": 4804
1125
1031
  }
1126
1032
  ]
1127
1033
  },
@@ -1129,11 +1035,11 @@
1129
1035
  "TimestampLib": [
1130
1036
  {
1131
1037
  "length": 20,
1132
- "start": 3098
1038
+ "start": 3027
1133
1039
  },
1134
1040
  {
1135
1041
  "length": 20,
1136
- "start": 3983
1042
+ "start": 3565
1137
1043
  }
1138
1044
  ]
1139
1045
  },
@@ -1141,17 +1047,13 @@
1141
1047
  "VersionLib": [
1142
1048
  {
1143
1049
  "length": 20,
1144
- "start": 6832
1050
+ "start": 7410
1145
1051
  }
1146
1052
  ],
1147
1053
  "VersionPartLib": [
1148
1054
  {
1149
1055
  "length": 20,
1150
- "start": 1443
1151
- },
1152
- {
1153
- "length": 20,
1154
- "start": 2228
1056
+ "start": 1731
1155
1057
  }
1156
1058
  ]
1157
1059
  }