@etherisc/gif-next 0.0.2-f7d1200-068 → 0.0.2-f7fa064-035

Sign up to get free protection for your applications and to get access to all the features.
Files changed (448) hide show
  1. package/README.md +5 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  14. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +157 -273
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +91 -239
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +190 -292
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +107 -123
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +78 -92
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +78 -62
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1519 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2072 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1471 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1573 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -0
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  53. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +53 -31
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +31 -86
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +56 -123
  60. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +166 -139
  62. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +57 -97
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +446 -81
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +80 -245
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +75 -87
  70. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +335 -126
  72. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  74. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  77. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  79. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  87. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +131 -247
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  91. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  92. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  94. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +66 -80
  95. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  97. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +79 -227
  99. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +91 -159
  101. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +75 -83
  103. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -254
  105. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +82 -22
  107. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +172 -228
  109. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +114 -110
  111. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +53 -31
  113. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +91 -77
  115. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +221 -151
  117. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/Pool.sol/Pool.json +102 -241
  119. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +299 -374
  121. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +93 -125
  123. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +76 -168
  125. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +72 -92
  127. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +136 -243
  129. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  130. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  131. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +282 -190
  133. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  134. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +116 -104
  135. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +34 -0
  137. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +161 -7
  139. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +144 -35
  141. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +114 -85
  143. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  144. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +124 -97
  145. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  146. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +31 -2
  147. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +231 -264
  149. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +107 -119
  151. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingService.sol/PricingService.json +199 -309
  153. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +96 -120
  155. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  156. package/artifacts/contracts/product/Product.sol/Product.json +136 -243
  157. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  159. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  160. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  161. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  162. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  163. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  164. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +286 -34
  165. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  166. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  167. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  169. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/Registry.sol/Registry.json +492 -95
  171. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +283 -143
  173. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  174. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +78 -284
  175. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +67 -75
  177. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  179. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +129 -221
  181. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  183. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  185. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  186. package/artifacts/contracts/shared/Component.sol/Component.json +68 -201
  187. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +355 -299
  189. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  190. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +122 -128
  191. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  192. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -112
  193. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  194. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  195. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  196. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +55 -54
  197. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +321 -19
  199. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +66 -80
  201. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  203. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  205. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  206. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  207. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  208. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  209. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  211. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  214. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  215. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  216. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  217. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +79 -227
  218. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  219. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  220. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  222. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  223. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  224. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  226. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  227. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  228. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +58 -89
  230. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  231. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  232. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Service.sol/Service.json +47 -112
  234. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  235. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +288 -16
  236. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  237. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  238. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  239. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +82 -55
  240. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  241. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  242. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  243. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  244. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  245. package/artifacts/contracts/staking/Staking.sol/Staking.json +167 -270
  246. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  247. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  248. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +100 -97
  250. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  251. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  252. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  253. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +71 -165
  254. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  255. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +71 -79
  256. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
  258. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  259. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  260. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  261. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  263. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  266. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  267. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  268. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  270. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  272. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  274. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  275. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  276. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  278. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  280. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  282. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  284. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  286. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  288. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
  290. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  294. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  297. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  301. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  303. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  304. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  305. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +55 -70
  306. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  307. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  308. package/contracts/authorization/AccessAdmin.sol +64 -59
  309. package/contracts/authorization/Authorization.sol +111 -40
  310. package/contracts/authorization/IAccess.sol +1 -0
  311. package/contracts/authorization/IAccessAdmin.sol +4 -3
  312. package/contracts/authorization/IAuthorization.sol +13 -7
  313. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  314. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  315. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  316. package/contracts/distribution/BasicDistribution.sol +2 -1
  317. package/contracts/distribution/Distribution.sol +7 -17
  318. package/contracts/distribution/DistributionService.sol +84 -65
  319. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  320. package/contracts/distribution/IDistributionComponent.sol +1 -1
  321. package/contracts/distribution/IDistributionService.sol +9 -5
  322. package/contracts/examples/fire/DamageLevel.sol +59 -0
  323. package/contracts/examples/fire/FirePool.sol +73 -0
  324. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  325. package/contracts/examples/fire/FireProduct.sol +415 -0
  326. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  327. package/contracts/examples/fire/FireUSD.sol +26 -0
  328. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  329. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  330. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  331. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  332. package/contracts/instance/IInstance.sol +10 -30
  333. package/contracts/instance/IInstanceService.sol +2 -23
  334. package/contracts/instance/Instance.sol +29 -51
  335. package/contracts/instance/InstanceAdmin.sol +43 -32
  336. package/contracts/instance/InstanceAuthorizationV3.sol +11 -21
  337. package/contracts/instance/InstanceReader.sol +106 -19
  338. package/contracts/instance/InstanceService.sol +75 -104
  339. package/contracts/instance/InstanceServiceManager.sol +6 -7
  340. package/contracts/instance/InstanceStore.sol +11 -1
  341. package/contracts/instance/base/ObjectLifecycle.sol +8 -1
  342. package/contracts/instance/module/IComponents.sol +10 -5
  343. package/contracts/instance/module/IPolicy.sol +23 -23
  344. package/contracts/oracle/BasicOracle.sol +0 -1
  345. package/contracts/oracle/IOracleService.sol +2 -1
  346. package/contracts/oracle/Oracle.sol +6 -16
  347. package/contracts/oracle/OracleService.sol +47 -34
  348. package/contracts/oracle/OracleServiceManager.sol +6 -6
  349. package/contracts/pool/BasicPool.sol +14 -26
  350. package/contracts/pool/BasicPoolAuthorization.sol +0 -1
  351. package/contracts/pool/BundleService.sol +93 -50
  352. package/contracts/pool/BundleServiceManager.sol +6 -6
  353. package/contracts/pool/IBundleService.sol +11 -3
  354. package/contracts/pool/IPoolComponent.sol +18 -8
  355. package/contracts/pool/IPoolService.sol +49 -31
  356. package/contracts/pool/Pool.sol +53 -51
  357. package/contracts/pool/PoolService.sol +159 -174
  358. package/contracts/pool/PoolServiceManager.sol +4 -4
  359. package/contracts/product/ApplicationService.sol +59 -30
  360. package/contracts/product/ApplicationServiceManager.sol +4 -4
  361. package/contracts/product/BasicProduct.sol +7 -6
  362. package/contracts/product/BasicProductAuthorization.sol +0 -1
  363. package/contracts/product/ClaimService.sol +309 -121
  364. package/contracts/product/ClaimServiceManager.sol +4 -4
  365. package/contracts/product/IApplicationService.sol +1 -0
  366. package/contracts/product/IClaimService.sol +30 -7
  367. package/contracts/product/IPolicyService.sol +21 -26
  368. package/contracts/product/IPricingService.sol +10 -10
  369. package/contracts/product/IProductComponent.sol +23 -4
  370. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  371. package/contracts/product/PolicyService.sol +309 -174
  372. package/contracts/product/PolicyServiceManager.sol +4 -4
  373. package/contracts/product/PricingService.sol +54 -54
  374. package/contracts/product/PricingServiceManager.sol +3 -3
  375. package/contracts/product/Product.sol +117 -73
  376. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  377. package/contracts/product/RiskServiceManager.sol +39 -0
  378. package/contracts/registry/ChainNft.sol +68 -38
  379. package/contracts/registry/IRegistry.sol +55 -18
  380. package/contracts/registry/IRegistryService.sol +5 -12
  381. package/contracts/registry/ITransferInterceptor.sol +1 -2
  382. package/contracts/registry/Registry.sol +342 -201
  383. package/contracts/registry/RegistryAdmin.sol +134 -51
  384. package/contracts/registry/RegistryService.sol +35 -46
  385. package/contracts/registry/RegistryServiceManager.sol +2 -2
  386. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  387. package/contracts/registry/ReleaseRegistry.sol +204 -188
  388. package/contracts/registry/ServiceAuthorizationV3.sol +16 -22
  389. package/contracts/shared/Component.sol +36 -52
  390. package/contracts/shared/ComponentService.sol +246 -151
  391. package/contracts/shared/ComponentServiceManager.sol +8 -5
  392. package/contracts/shared/ComponentVerifyingService.sol +23 -14
  393. package/contracts/shared/ContractLib.sol +38 -0
  394. package/contracts/shared/IComponent.sol +6 -3
  395. package/contracts/shared/IComponentService.sol +25 -13
  396. package/contracts/shared/IInstanceLinkedComponent.sol +2 -17
  397. package/contracts/shared/ILifecycle.sol +3 -1
  398. package/contracts/shared/INftOwnable.sol +2 -0
  399. package/contracts/shared/IPolicyHolder.sol +12 -22
  400. package/contracts/shared/IRegisterable.sol +11 -0
  401. package/contracts/shared/InitializableERC165.sol +2 -2
  402. package/contracts/shared/InstanceLinkedComponent.sol +72 -31
  403. package/contracts/shared/KeyValueStore.sol +1 -1
  404. package/contracts/shared/Lifecycle.sol +15 -4
  405. package/contracts/shared/NftOwnable.sol +27 -7
  406. package/contracts/shared/PolicyHolder.sol +15 -52
  407. package/contracts/shared/Registerable.sol +19 -9
  408. package/contracts/shared/RegistryLinked.sol +3 -2
  409. package/contracts/shared/Service.sol +20 -18
  410. package/contracts/shared/TokenHandler.sol +99 -22
  411. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  412. package/contracts/staking/IStaking.sol +2 -1
  413. package/contracts/staking/IStakingService.sol +0 -3
  414. package/contracts/staking/StakeManagerLib.sol +18 -25
  415. package/contracts/staking/Staking.sol +13 -32
  416. package/contracts/staking/StakingManager.sol +8 -6
  417. package/contracts/staking/StakingReader.sol +12 -5
  418. package/contracts/staking/StakingService.sol +17 -17
  419. package/contracts/staking/StakingServiceManager.sol +2 -2
  420. package/contracts/staking/TargetManagerLib.sol +7 -3
  421. package/contracts/type/Amount.sol +15 -0
  422. package/contracts/type/ClaimId.sol +6 -1
  423. package/contracts/type/NftId.sol +1 -0
  424. package/contracts/type/ObjectType.sol +16 -11
  425. package/contracts/type/PayoutId.sol +10 -10
  426. package/contracts/type/RiskId.sol +15 -1
  427. package/contracts/type/RoleId.sol +0 -12
  428. package/contracts/type/Seconds.sol +8 -0
  429. package/contracts/type/StateId.sol +15 -1
  430. package/contracts/type/UFixed.sol +4 -0
  431. package/contracts/upgradeability/ProxyManager.sol +68 -34
  432. package/contracts/upgradeability/Versionable.sol +2 -2
  433. package/package.json +3 -2
  434. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  435. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  436. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  437. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  438. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  439. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  440. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  441. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  442. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  443. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  444. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  445. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  446. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  447. package/contracts/product/ProductServiceManager.sol +0 -39
  448. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -0,0 +1,694 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RiskServiceManager",
4
+ "sourceName": "contracts/product/RiskServiceManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "registry",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "bytes32",
20
+ "name": "salt",
21
+ "type": "bytes32"
22
+ }
23
+ ],
24
+ "stateMutability": "nonpayable",
25
+ "type": "constructor"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "NftId",
31
+ "name": "nftId",
32
+ "type": "uint96"
33
+ }
34
+ ],
35
+ "name": "ErrorNftOwnableAlreadyLinked",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "contractAddress",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorNftOwnableContractNotRegistered",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorNftOwnableInitialOwnerZero",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "nftId",
59
+ "type": "uint96"
60
+ },
61
+ {
62
+ "internalType": "ObjectType",
63
+ "name": "expectedObjectType",
64
+ "type": "uint8"
65
+ }
66
+ ],
67
+ "name": "ErrorNftOwnableInvalidType",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "account",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "name": "ErrorNftOwnableNotOwner",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "registryAddress",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "ErrorNotRegistry",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "ErrorProxyManagerAlreadyDeployed",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "Version",
101
+ "name": "nextVersion",
102
+ "type": "uint24"
103
+ }
104
+ ],
105
+ "name": "ErrorProxyManagerNextVersionNotIncreasing",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "ErrorProxyManagerNotYetDeployed",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "ErrorProxyManagerZeroVersion",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "InvalidInitialization",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "NotInitializing",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "anonymous": false,
130
+ "inputs": [
131
+ {
132
+ "indexed": false,
133
+ "internalType": "uint64",
134
+ "name": "version",
135
+ "type": "uint64"
136
+ }
137
+ ],
138
+ "name": "Initialized",
139
+ "type": "event"
140
+ },
141
+ {
142
+ "anonymous": false,
143
+ "inputs": [
144
+ {
145
+ "indexed": true,
146
+ "internalType": "address",
147
+ "name": "proxy",
148
+ "type": "address"
149
+ },
150
+ {
151
+ "indexed": false,
152
+ "internalType": "address",
153
+ "name": "initialImplementation",
154
+ "type": "address"
155
+ }
156
+ ],
157
+ "name": "LogProxyManagerVersionableDeployed",
158
+ "type": "event"
159
+ },
160
+ {
161
+ "anonymous": false,
162
+ "inputs": [
163
+ {
164
+ "indexed": true,
165
+ "internalType": "address",
166
+ "name": "proxy",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "indexed": false,
171
+ "internalType": "address",
172
+ "name": "upgradedImplementation",
173
+ "type": "address"
174
+ }
175
+ ],
176
+ "name": "LogProxyManagerVersionableUpgraded",
177
+ "type": "event"
178
+ },
179
+ {
180
+ "inputs": [],
181
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
182
+ "outputs": [
183
+ {
184
+ "internalType": "bytes32",
185
+ "name": "",
186
+ "type": "bytes32"
187
+ }
188
+ ],
189
+ "stateMutability": "view",
190
+ "type": "function"
191
+ },
192
+ {
193
+ "inputs": [
194
+ {
195
+ "internalType": "address",
196
+ "name": "registry",
197
+ "type": "address"
198
+ },
199
+ {
200
+ "internalType": "address",
201
+ "name": "initialImplementation",
202
+ "type": "address"
203
+ },
204
+ {
205
+ "internalType": "bytes",
206
+ "name": "initializationData",
207
+ "type": "bytes"
208
+ }
209
+ ],
210
+ "name": "deploy",
211
+ "outputs": [
212
+ {
213
+ "internalType": "contract IVersionable",
214
+ "name": "versionable",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "stateMutability": "nonpayable",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "address",
225
+ "name": "registry",
226
+ "type": "address"
227
+ },
228
+ {
229
+ "internalType": "address",
230
+ "name": "initialImplementation",
231
+ "type": "address"
232
+ },
233
+ {
234
+ "internalType": "bytes",
235
+ "name": "initializationData",
236
+ "type": "bytes"
237
+ },
238
+ {
239
+ "internalType": "bytes32",
240
+ "name": "salt",
241
+ "type": "bytes32"
242
+ }
243
+ ],
244
+ "name": "deployDetermenistic",
245
+ "outputs": [
246
+ {
247
+ "internalType": "contract IVersionable",
248
+ "name": "versionable",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "stateMutability": "nonpayable",
253
+ "type": "function"
254
+ },
255
+ {
256
+ "inputs": [
257
+ {
258
+ "internalType": "address",
259
+ "name": "proxyOwner",
260
+ "type": "address"
261
+ },
262
+ {
263
+ "internalType": "bytes",
264
+ "name": "deployData",
265
+ "type": "bytes"
266
+ }
267
+ ],
268
+ "name": "getDeployData",
269
+ "outputs": [
270
+ {
271
+ "internalType": "bytes",
272
+ "name": "data",
273
+ "type": "bytes"
274
+ }
275
+ ],
276
+ "stateMutability": "pure",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [],
281
+ "name": "getNftId",
282
+ "outputs": [
283
+ {
284
+ "internalType": "NftId",
285
+ "name": "",
286
+ "type": "uint96"
287
+ }
288
+ ],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [],
294
+ "name": "getOwner",
295
+ "outputs": [
296
+ {
297
+ "internalType": "address",
298
+ "name": "",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "stateMutability": "view",
303
+ "type": "function"
304
+ },
305
+ {
306
+ "inputs": [],
307
+ "name": "getProxy",
308
+ "outputs": [
309
+ {
310
+ "internalType": "contract UpgradableProxyWithAdmin",
311
+ "name": "",
312
+ "type": "address"
313
+ }
314
+ ],
315
+ "stateMutability": "view",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [],
320
+ "name": "getRegistry",
321
+ "outputs": [
322
+ {
323
+ "internalType": "contract IRegistry",
324
+ "name": "",
325
+ "type": "address"
326
+ }
327
+ ],
328
+ "stateMutability": "view",
329
+ "type": "function"
330
+ },
331
+ {
332
+ "inputs": [],
333
+ "name": "getRiskService",
334
+ "outputs": [
335
+ {
336
+ "internalType": "contract RiskService",
337
+ "name": "riskService",
338
+ "type": "address"
339
+ }
340
+ ],
341
+ "stateMutability": "view",
342
+ "type": "function"
343
+ },
344
+ {
345
+ "inputs": [
346
+ {
347
+ "internalType": "bytes",
348
+ "name": "upgradeData",
349
+ "type": "bytes"
350
+ }
351
+ ],
352
+ "name": "getUpgradeData",
353
+ "outputs": [
354
+ {
355
+ "internalType": "bytes",
356
+ "name": "data",
357
+ "type": "bytes"
358
+ }
359
+ ],
360
+ "stateMutability": "pure",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "getVersion",
366
+ "outputs": [
367
+ {
368
+ "internalType": "Version",
369
+ "name": "",
370
+ "type": "uint24"
371
+ }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [
378
+ {
379
+ "internalType": "uint256",
380
+ "name": "idx",
381
+ "type": "uint256"
382
+ }
383
+ ],
384
+ "name": "getVersion",
385
+ "outputs": [
386
+ {
387
+ "internalType": "Version",
388
+ "name": "",
389
+ "type": "uint24"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [],
397
+ "name": "getVersionCount",
398
+ "outputs": [
399
+ {
400
+ "internalType": "uint256",
401
+ "name": "",
402
+ "type": "uint256"
403
+ }
404
+ ],
405
+ "stateMutability": "view",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [
410
+ {
411
+ "internalType": "Version",
412
+ "name": "_version",
413
+ "type": "uint24"
414
+ }
415
+ ],
416
+ "name": "getVersionInfo",
417
+ "outputs": [
418
+ {
419
+ "components": [
420
+ {
421
+ "internalType": "Version",
422
+ "name": "version",
423
+ "type": "uint24"
424
+ },
425
+ {
426
+ "internalType": "address",
427
+ "name": "implementation",
428
+ "type": "address"
429
+ },
430
+ {
431
+ "internalType": "address",
432
+ "name": "activatedBy",
433
+ "type": "address"
434
+ },
435
+ {
436
+ "internalType": "Timestamp",
437
+ "name": "activatedAt",
438
+ "type": "uint40"
439
+ },
440
+ {
441
+ "internalType": "Blocknumber",
442
+ "name": "activatedIn",
443
+ "type": "uint32"
444
+ }
445
+ ],
446
+ "internalType": "struct ProxyManager.VersionInfo",
447
+ "name": "",
448
+ "type": "tuple"
449
+ }
450
+ ],
451
+ "stateMutability": "view",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [
456
+ {
457
+ "internalType": "address",
458
+ "name": "registry",
459
+ "type": "address"
460
+ },
461
+ {
462
+ "internalType": "address",
463
+ "name": "implementation",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "bytes",
468
+ "name": "data",
469
+ "type": "bytes"
470
+ },
471
+ {
472
+ "internalType": "bytes32",
473
+ "name": "salt",
474
+ "type": "bytes32"
475
+ }
476
+ ],
477
+ "name": "initialize",
478
+ "outputs": [
479
+ {
480
+ "internalType": "contract IVersionable",
481
+ "name": "versionable",
482
+ "type": "address"
483
+ }
484
+ ],
485
+ "stateMutability": "nonpayable",
486
+ "type": "function"
487
+ },
488
+ {
489
+ "inputs": [],
490
+ "name": "linkToProxy",
491
+ "outputs": [
492
+ {
493
+ "internalType": "NftId",
494
+ "name": "",
495
+ "type": "uint96"
496
+ }
497
+ ],
498
+ "stateMutability": "nonpayable",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [],
503
+ "name": "linkToRegisteredNftId",
504
+ "outputs": [
505
+ {
506
+ "internalType": "NftId",
507
+ "name": "nftId",
508
+ "type": "uint96"
509
+ }
510
+ ],
511
+ "stateMutability": "nonpayable",
512
+ "type": "function"
513
+ },
514
+ {
515
+ "inputs": [
516
+ {
517
+ "internalType": "bytes4",
518
+ "name": "interfaceId",
519
+ "type": "bytes4"
520
+ }
521
+ ],
522
+ "name": "supportsInterface",
523
+ "outputs": [
524
+ {
525
+ "internalType": "bool",
526
+ "name": "",
527
+ "type": "bool"
528
+ }
529
+ ],
530
+ "stateMutability": "view",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "internalType": "address",
537
+ "name": "newImplementation",
538
+ "type": "address"
539
+ },
540
+ {
541
+ "internalType": "bytes",
542
+ "name": "upgradeData",
543
+ "type": "bytes"
544
+ }
545
+ ],
546
+ "name": "upgrade",
547
+ "outputs": [
548
+ {
549
+ "internalType": "contract IVersionable",
550
+ "name": "versionable",
551
+ "type": "address"
552
+ }
553
+ ],
554
+ "stateMutability": "nonpayable",
555
+ "type": "function"
556
+ }
557
+ ],
558
+ "bytecode": "0x608060405234801561000f575f80fd5b5060405161667538038061667583398101604081905261002e91610b23565b5f8160405161003c90610aee565b8190604051809103905ff5905080158015610059573d5f803e3d5ffd5b5090505f83856040516020016100859291906001600160a01b0392831681529116602082015260400190565b60408051601f1981840301815291905290505f6100a4858484876100d0565b600580546001600160a01b0319166001600160a01b039290921691909117905550610cb8945050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080545f919068010000000000000000810460ff1615906001600160401b0316838115801561011c5750825b90505f826001600160401b031660011480156101375750303b155b905081158015610145575080155b156101635760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561019157845460ff60401b1916680100000000000000001785555b61019d8a8a8a8a6101f2565b955083156101e557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050949350505050565b5f6101fb6102c6565b5f8061020687610316565b90925090508386826102188589610358565b60405161022490610afb565b61023093929190610b8a565b8190604051809103905ff590508015801561024d573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b039290921691909117905561027886836103b0565b6040516001600160a01b038881168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a25050949350505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661031457604051631afcd79f60e31b815260040160405180910390fd5b565b6004545f9081901561033b5760405163402b135f60e11b815260040160405180910390fd5b3361034684826107be565b61034e610850565b9430945092505050565b60606349bb9e4b60e01b8383604051602401610375929190610bbe565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b600254604080516303639b8b60e21b815290516001600160a01b03909216915f918391630d8e6e2c916004808201926020929091908290030181865afa1580156103fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104209190610be9565b905061049e8173__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af415801561046d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104919190610be9565b62ffffff90811691161490565b156104bc576040516348c618db60e01b815260040160405180910390fd5b6004541561061957600480546104d490600190610c12565b815481106104e4576104e4610c31565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610555573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105799190610c45565b604051635560100760e01b815262ffffff8316600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156105cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ef9190610c45565b1161061957604051633e614b6d60e11b815262ffffff821660048201526024015b60405180910390fd5b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808716600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038088166020848101919091529087168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af41580156106e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070d9190610c5c565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9485165f90815260038452604090819020855181549587015197166001600160b81b03199095169490941763010000006001600160a01b0397881602178455840151600190930180546060860151608090960151949096166001600160c81b031990961695909517600160a01b94909216939093021763ffffffff60c81b1916600160c81b919092160217905592915050565b6107c66102c6565b6107cf8261099d565b6107d7610aa9565b6001600160a01b0381166107fe5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b5f807f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f39190610c80565b1561097e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610954573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109789190610c9f565b91505090565b546c0100000000000000000000000090046001600160a01b0316919050565b6109a56102c6565b806001600160a01b03163b5f036109da5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610610565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610a54575060408051601f3d908101601f19168201909252610a5191810190610c80565b60015b610a7c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610610565b80610aa55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610610565b5050565b610ab16102c6565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612589806132a083390190565b610e4c8061582983390190565b80516001600160a01b0381168114610b1e575f80fd5b919050565b5f805f60608486031215610b35575f80fd5b610b3e84610b08565b9250610b4c60208501610b08565b9150604084015190509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b6001600160a01b038481168252831660208201526060604082018190525f90610bb590830184610b5c565b95945050505050565b6001600160a01b03831681526040602082018190525f90610be190830184610b5c565b949350505050565b5f60208284031215610bf9575f80fd5b815162ffffff81168114610c0b575f80fd5b9392505050565b818103818111156103aa57634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610c55575f80fd5b5051919050565b5f60208284031215610c6c575f80fd5b815164ffffffffff81168114610c0b575f80fd5b5f60208284031215610c90575f80fd5b81518015158114610c0b575f80fd5b5f60208284031215610caf575f80fd5b610c0b82610b08565b6125db80610cc55f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a9578063ada9652e1161006e578063ada9652e14610385578063b88da75914610399578063c987336c146103ac578063f5c1b5a7146103bf578063fd0c63d9146103d2575f80fd5b8063644c45e01461032a578063893d20e8146103475780638e9afce61461034f578063933a9ce814610362578063946dfcfe14610373575f80fd5b80631775564d116100ef5780631775564d146101c85780632db5b86f146101e85780634190ac41146101fb5780634d459c901461020c5780635ab1bd5314610319575f80fd5b806301ffc9a71461012057806304499582146101615780630d8e6e2c1461018c578063138461e0146101a8575b5f80fd5b61014c61012e36600461134b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017461016f36600461142c565b6103da565b6040516001600160a01b039091168152602001610158565b6101946104ad565b60405162ffffff9091168152602001610158565b6101b061051d565b6040516001600160601b039091168152602001610158565b6101db6101d6366004611492565b610527565b604051610158919061150d565b6101746101f636600461151f565b61057f565b6005546001600160a01b0316610174565b6102bc61021a36600461158d565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610158565b6001546001600160a01b0316610174565b5f80516020612586833981519152546001600160601b03166101b0565b61017461064c565b6101db61035d3660046115a8565b61077d565b6002546001600160a01b0316610174565b6004545b604051908152602001610158565b6103775f8051602061258683398151915281565b6101946103a73660046115e2565b6107d0565b6101746103ba366004611492565b61080e565b6101746103cd36600461142c565b6109b5565b6101b0610ad0565b5f6103e3610ae7565b5f806103ee87610b32565b915091508386826103ff8589610527565b60405161040b9061133e565b610417939291906115f9565b8190604051809103905ff5905080158015610434573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b039290921691909117905561045f8683610b74565b6040516001600160a01b038881168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a25050949350505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa1580156104f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610518919061162d565b905090565b5f61051830610f7d565b60606349bb9e4b60e01b8383604051602401610544929190611648565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b5f610588610ae7565b5f8061059386610b32565b9150915084816105a38487610527565b6040516105af9061133e565b6105bb939291906115f9565b604051809103905ff0801580156105d4573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556105ff8583610b74565b6040516001600160a01b038781168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b5f805f8051602061258683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156106b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106dc919061166b565b15610767576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561073d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610761919061168a565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b82604051602401610798919061150d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f600482815481106107e4576107e46116a5565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f61081761064c565b6001600160a01b0316336001600160a01b03161461084f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004545f036108715760405163366dfd2160e21b815260040160405180910390fd5b5f61087a61064c565b90505f61088f6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af11580156108cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ef919061168a565b6002549091506001600160a01b03908116908216639623609d82886109138961077d565b6040518463ffffffff1660e01b8152600401610931939291906115f9565b5f604051808303815f87803b158015610948575f80fd5b505af115801561095a573d5f803e3d5ffd5b505050506109688684610b74565b6040516001600160a01b038881168252919550908516907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080545f9190600160401b810460ff16159067ffffffffffffffff1683811580156109fd5750825b90505f8267ffffffffffffffff166001148015610a195750303b155b905081158015610a27575080155b15610a455760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a6f57845460ff60401b1916600160401b1785555b610a7b8a8a8a8a6103da565b95508315610ac357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050949350505050565b6002545f90610518906001600160a01b0316610f7d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b3057604051631afcd79f60e31b815260040160405180910390fd5b565b6004545f90819015610b575760405163402b135f60e11b815260040160405180910390fd5b33610b628482611176565b610b6a61064c565b9430945092505050565b600254604080516303639b8b60e21b815290516001600160a01b03909216915f918391630d8e6e2c916004808201926020929091908290030181865afa158015610bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be4919061162d565b9050610c628173__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c55919061162d565b62ffffff90811691161490565b15610c80576040516348c618db60e01b815260040160405180910390fd5b60045415610dd85760048054610c98906001906116b9565b81548110610ca857610ca86116a5565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610d19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3d91906116d8565b604051635560100760e01b815262ffffff8316600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610d8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db391906116d8565b11610dd857604051633e614b6d60e11b815262ffffff82166004820152602401610846565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808716600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038088166020848101919091529087168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015610ea8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ecc91906116ef565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9485165f90815260038452604090819020855181549587015197166001600160b81b03199095169490941763010000006001600160a01b0397881602178455840151600190930180546060860151608090960151949096166001600160c81b031990961695909517600160a01b94909216939093021763ffffffff60c81b1916600160c81b919092160217905592915050565b5f805f8051602061258683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fe9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100d919061166b565b156110395780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610846565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561108b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110af919061166b565b6110d75760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610846565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611129573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061114d9190611713565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61117e610ae7565b611187826111ec565b61118f6112f9565b6001600160a01b0381166111b65760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061258683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6111f4610ae7565b806001600160a01b03163b5f036112295760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610846565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa9250505080156112a3575060408051601f3d908101601f191682019092526112a09181019061166b565b60015b6112cb5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610846565b806112f45760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610846565b505b50565b611301610ae7565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610e4c8061173a83390190565b5f6020828403121561135b575f80fd5b81356001600160e01b031981168114611372575f80fd5b9392505050565b6001600160a01b03811681146112f6575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126113b0575f80fd5b813567ffffffffffffffff8111156113ca576113ca61138d565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156113f9576113f961138d565b604052818152838201602001851015611410575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f806080858703121561143f575f80fd5b843561144a81611379565b9350602085013561145a81611379565b9250604085013567ffffffffffffffff811115611475575f80fd5b611481878288016113a1565b949793965093946060013593505050565b5f80604083850312156114a3575f80fd5b82356114ae81611379565b9150602083013567ffffffffffffffff8111156114c9575f80fd5b6114d5858286016113a1565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61137260208301846114df565b5f805f60608486031215611531575f80fd5b833561153c81611379565b9250602084013561154c81611379565b9150604084013567ffffffffffffffff811115611567575f80fd5b611573868287016113a1565b9150509250925092565b62ffffff811681146112f6575f80fd5b5f6020828403121561159d575f80fd5b81356113728161157d565b5f602082840312156115b8575f80fd5b813567ffffffffffffffff8111156115ce575f80fd5b6115da848285016113a1565b949350505050565b5f602082840312156115f2575f80fd5b5035919050565b6001600160a01b038481168252831660208201526060604082018190525f90611624908301846114df565b95945050505050565b5f6020828403121561163d575f80fd5b81516113728161157d565b6001600160a01b03831681526040602082018190525f906115da908301846114df565b5f6020828403121561167b575f80fd5b81518015158114611372575f80fd5b5f6020828403121561169a575f80fd5b815161137281611379565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561057957634e487b7160e01b5f52601160045260245ffd5b5f602082840312156116e8575f80fd5b5051919050565b5f602082840312156116ff575f80fd5b815164ffffffffff81168114611372575f80fd5b5f60208284031215611723575f80fd5b81516001600160601b0381168114611372575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212205098d8decf4cb16f11e98d7bc9a64fbad8e19cc65c6168b15a498dd25422525b64736f6c634300081a00336080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6124b3806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610132575f3560e01c80636c741e78116100b4578063893d20e811610079578063893d20e8146102e25780638f997f6d146102ea5780638fb36037146102fd578063ada9652e1461031e578063b68d180914610332578063bf7e214f14610339575f80fd5b80636c741e781461027a57806376b707b71461029a5780637a9e5e4b146102b45780637cef4842146102c75780638899278a146102da575f80fd5b80631eff4b22116100fa5780631eff4b22146101dd578063329d6e741461021257806349bb9e4b146102255780635ab1bd5314610238578063644c45e01461025d575f80fd5b806301ffc9a714610136578063095e2b72146101775780630d8e6e2c1461018c5780630fec111c146101a8578063138461e0146101bd575b5f80fd5b610162610144366004611c96565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a610185366004611dbd565b610356565b005b610194610449565b60405162ffffff909116815260200161016e565b6101b06104d0565b60405161016e9190611e35565b6101c561065c565b6040516001600160601b03909116815260200161016e565b6102047f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b61018a610220366004611ec9565b610666565b61018a610233366004611f0e565b6107b0565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b5f8051602061241e833981519152546001600160601b03166101c5565b6102826108ac565b6040516001600160401b03909116815260200161016e565b6102a2610938565b60405160ff909116815260200161016e565b61018a6102c2366004611f2a565b6109ac565b61018a6102d5366004611f53565b610a4d565b610204600381565b610245610b21565b61018a6102f8366004611dbd565b610c52565b610305610dd4565b6040516001600160e01b0319909116815260200161016e565b6102045f8051602061241e83398151915281565b600c6102a2565b5f8051602061243e833981519152546001600160a01b0316610245565b5f80610362600c610e09565b92505091505f6040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e89190611f88565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b8152600401610415929190611fca565b5f604051808303815f87803b15801561042c575f80fd5b505af115801561043e573d5f803e3d5ffd5b505050505050505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104cb9190611fee565b905090565b6104d8611c59565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561054e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105729190612026565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105ba610b21565b6001600160a01b031681526020018260010180546105d79061203f565b80601f01602080910402602001604051908101604052809291908181526020018280546106039061203f565b801561064e5780601f106106255761010080835404028352916020019161064e565b820191905f5260205f20905b81548152906001019060200180831161063157829003601f168201915b505050505081525091505090565b5f6104cb30610ea5565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610688610449565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156106c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ea919061208b565b5f8051602061245e8339815191528054600160401b900460ff168061071c575080546001600160401b03808416911610155b1561073a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556107648361109e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f8051602061245e8339815191528054600160401b810460ff1615906001600160401b03165f811580156107e15750825b90505f826001600160401b031660011480156107fc5750303b155b90508115801561080a575080155b156108285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561085257845460ff60401b1916600160401b1785555b61085c87876110a6565b83156108a357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600c6108d1610938565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610914573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104cb919061208b565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610988573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104cb91906120b1565b336109cb5f8051602061243e833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610a0b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610a40576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a02565b610a498261132b565b5050565b5f610a58600c610e09565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a98573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610abc9190611f88565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef4842906044015f604051808303815f87803b158015610b0f575f80fd5b505af11580156108a3573d5f803e3d5ffd5b5f805f8051602061241e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb191906120db565b15610c3c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c369190611f88565b91505090565b54600160601b90046001600160a01b0316919050565b5f610c5d600c610e09565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc29190611f88565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091505f906001600160a01b0383169063887b1fa9906024015f60405180830381865afa158015610d12573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d39919081019061214c565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610da49190611f88565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b8152600401610415939291906121e4565b5f8051602061243e83398151915280545f9190600160a01b900460ff16610dfb575f610c36565b638fb3603760e01b91505090565b5f610e12611c59565b5f610e256001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610e69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8d9190612026565b9250610e9b8385600161138b565b9395909450915050565b5f805f8051602061241e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3591906120db565b15610f615780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a02565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610fb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd791906120db565b610fff5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a02565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611051573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110759190612026565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b610132611625565b5f8051602061245e8339815191528054600160401b810460ff1615906001600160401b03165f811580156110d75750825b90505f826001600160401b031660011480156110f25750303b155b905081158015611100575080155b1561111e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561114857845460ff60401b1916600160401b1785555b5f808780602001905181019061115e919061221b565b9150915061116d82828b61165d565b611177600a6117a2565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f6111af610449565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611202573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122691906120b1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611269573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128d9190611f88565b600380546001600160a01b0319166001600160a01b03929092169190911790556112b760026117a2565b600480546001600160a01b0319166001600160a01b03929092169190911790556112e763fa281c5d60e01b611839565b505083156108a357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161089a565b5f8051602061243e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611393611c59565b5f806113a76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156113f4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261141b9190810190612248565b925060ff8516600b1461147957604083015160ff86811691161461147457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a02565b611515565b6114948360400151611489600c90565b60ff90811691161490565b806114aa57506114aa8360400151611489600f90565b806114c057506114c08360400151611489600e90565b806114d657506114d68360400151611489600d90565b61151557604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a02565b61151f8184611865565b9150831561161c57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611563573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115879190611f88565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa1580156115cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f391906120db565b1561161c57604051637d71120960e11b81526001600160601b0387166004820152602401610a02565b50935093915050565b5f8051602061245e83398151915254600160401b900460ff1661165b57604051631afcd79f60e31b815260040160405180910390fd5b565b611665611625565b61166d61191d565b6001600160a01b0382161561168a576116858261192d565b611701565b5f61169560026117a2565b90506116ff816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116fa9190611f88565b61192d565b505b61177d83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611741573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117659190612026565b60085f8560405180602001604052805f815250611941565b61178d634a531f3360e01b611839565b61179d63daf9067160e01b611839565b505050565b5f6117b56001546001600160a01b031690565b6001600160a01b031663d39e6043836117cc610938565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561180f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118339190611f88565b92915050565b611841611625565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6118768260400151611489600c90565b15611890576118898383602001516119e6565b9050611833565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526119169084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156118e6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261190d9190810190612248565b602001516119e6565b9392505050565b611925611625565b61165b611a57565b611935611625565b61193e81611a85565b50565b611949611625565b6119538683611a96565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016119dc8382612363565b5050505050505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015611a33573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119169190611f88565b611a5f611625565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611a8d611625565b61193e8161132b565b611a9e611625565b611aa782611b0c565b611aaf611c14565b6001600160a01b038116611ad65760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061241e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611b14611625565b806001600160a01b03163b5f03611b495760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a02565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015611bc3575060408051601f3d908101601f19168201909252611bc0918101906120db565b60015b611beb5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a02565b80610a495760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a02565b611c1c611625565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611ca6575f80fd5b81356001600160e01b031981168114611916575f80fd5b80356001600160c01b031981168114611cd4575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611d0f57611d0f611cd9565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611d3d57611d3d611cd9565b604052919050565b5f6001600160401b03821115611d5d57611d5d611cd9565b50601f01601f191660200190565b5f82601f830112611d7a575f80fd5b8135611d8d611d8882611d45565b611d15565b818152846020838601011115611da1575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611dce575f80fd5b611dd783611cbd565b915060208301356001600160401b03811115611df1575f80fd5b611dfd85828601611d6b565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611e7d608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611ec1610100840182611e07565b949350505050565b5f60208284031215611ed9575f80fd5b81356001600160401b03811115611eee575f80fd5b611ec184828501611d6b565b6001600160a01b038116811461193e575f80fd5b5f8060408385031215611f1f575f80fd5b8235611dd781611efa565b5f60208284031215611f3a575f80fd5b813561191681611efa565b60ff8116811461193e575f80fd5b5f8060408385031215611f64575f80fd5b611f6d83611cbd565b91506020830135611f7d81611f45565b809150509250929050565b5f60208284031215611f98575f80fd5b815161191681611efa565b6001600160601b0381511682525f602082015160406020850152611ec16040850182611e07565b6001600160401b0360c01b83168152604060208201525f611ec16040830184611fa3565b5f60208284031215611ffe575f80fd5b815162ffffff81168114611916575f80fd5b80516001600160601b0381168114611cd4575f80fd5b5f60208284031215612036575f80fd5b61191682612010565b600181811c9082168061205357607f821691505b60208210810361207157634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461193e575f80fd5b5f6020828403121561209b575f80fd5b815161191681612077565b8051611cd481611f45565b5f602082840312156120c1575f80fd5b815161191681611f45565b80518015158114611cd4575f80fd5b5f602082840312156120eb575f80fd5b611916826120cc565b8051611cd481611efa565b5f82601f83011261210e575f80fd5b815161211c611d8882611d45565b818152846020838601011115612130575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561215c575f80fd5b81516001600160401b03811115612171575f80fd5b820160408185031215612182575f80fd5b604080519081016001600160401b03811182821017156121a4576121a4611cd9565b6040526121b082612010565b815260208201516001600160401b038111156121ca575f80fd5b6121d6868285016120ff565b602083015250949350505050565b6001600160401b0360c01b84168152606060208201525f6122086060830185611fa3565b905060ff83166040830152949350505050565b5f806040838503121561222c575f80fd5b825161223781611efa565b6020840151909250611f7d81611efa565b5f60208284031215612258575f80fd5b81516001600160401b0381111561226d575f80fd5b820160e0818503121561227e575f80fd5b612286611ced565b61228f82612010565b815261229d60208301612010565b60208201526122ae604083016120a6565b60408201526122bf606083016120cc565b60608201526122d0608083016120f4565b60808201526122e160a083016120f4565b60a082015260c08201516001600160401b038111156122fe575f80fd5b61230a868285016120ff565b60c083015250949350505050565b601f82111561179d57805f5260205f20601f840160051c8101602085101561233d5750805b601f840160051c820191505b8181101561235c575f8155600101612349565b5050505050565b81516001600160401b0381111561237c5761237c611cd9565b6123908161238a845461203f565b84612318565b6020601f8211600181146123c2575f83156123ab5750848201515b5f19600385901b1c1916600184901b17845561235c565b5f84815260208120601f198516915b828110156123f157878501518255602094850194600190920191016123d1565b508482101561240e57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220f3945737301fbb9a31d4cdf76fdb8e7bff6a2bee669c8828450a4fbc540acd0f64736f6c634300081a003360a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
559
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a9578063ada9652e1161006e578063ada9652e14610385578063b88da75914610399578063c987336c146103ac578063f5c1b5a7146103bf578063fd0c63d9146103d2575f80fd5b8063644c45e01461032a578063893d20e8146103475780638e9afce61461034f578063933a9ce814610362578063946dfcfe14610373575f80fd5b80631775564d116100ef5780631775564d146101c85780632db5b86f146101e85780634190ac41146101fb5780634d459c901461020c5780635ab1bd5314610319575f80fd5b806301ffc9a71461012057806304499582146101615780630d8e6e2c1461018c578063138461e0146101a8575b5f80fd5b61014c61012e36600461134b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017461016f36600461142c565b6103da565b6040516001600160a01b039091168152602001610158565b6101946104ad565b60405162ffffff9091168152602001610158565b6101b061051d565b6040516001600160601b039091168152602001610158565b6101db6101d6366004611492565b610527565b604051610158919061150d565b6101746101f636600461151f565b61057f565b6005546001600160a01b0316610174565b6102bc61021a36600461158d565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610158565b6001546001600160a01b0316610174565b5f80516020612586833981519152546001600160601b03166101b0565b61017461064c565b6101db61035d3660046115a8565b61077d565b6002546001600160a01b0316610174565b6004545b604051908152602001610158565b6103775f8051602061258683398151915281565b6101946103a73660046115e2565b6107d0565b6101746103ba366004611492565b61080e565b6101746103cd36600461142c565b6109b5565b6101b0610ad0565b5f6103e3610ae7565b5f806103ee87610b32565b915091508386826103ff8589610527565b60405161040b9061133e565b610417939291906115f9565b8190604051809103905ff5905080158015610434573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b039290921691909117905561045f8683610b74565b6040516001600160a01b038881168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a25050949350505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa1580156104f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610518919061162d565b905090565b5f61051830610f7d565b60606349bb9e4b60e01b8383604051602401610544929190611648565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b5f610588610ae7565b5f8061059386610b32565b9150915084816105a38487610527565b6040516105af9061133e565b6105bb939291906115f9565b604051809103905ff0801580156105d4573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556105ff8583610b74565b6040516001600160a01b038781168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b5f805f8051602061258683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156106b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106dc919061166b565b15610767576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561073d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610761919061168a565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b82604051602401610798919061150d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f600482815481106107e4576107e46116a5565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f61081761064c565b6001600160a01b0316336001600160a01b03161461084f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004545f036108715760405163366dfd2160e21b815260040160405180910390fd5b5f61087a61064c565b90505f61088f6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af11580156108cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ef919061168a565b6002549091506001600160a01b03908116908216639623609d82886109138961077d565b6040518463ffffffff1660e01b8152600401610931939291906115f9565b5f604051808303815f87803b158015610948575f80fd5b505af115801561095a573d5f803e3d5ffd5b505050506109688684610b74565b6040516001600160a01b038881168252919550908516907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080545f9190600160401b810460ff16159067ffffffffffffffff1683811580156109fd5750825b90505f8267ffffffffffffffff166001148015610a195750303b155b905081158015610a27575080155b15610a455760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a6f57845460ff60401b1916600160401b1785555b610a7b8a8a8a8a6103da565b95508315610ac357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050949350505050565b6002545f90610518906001600160a01b0316610f7d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b3057604051631afcd79f60e31b815260040160405180910390fd5b565b6004545f90819015610b575760405163402b135f60e11b815260040160405180910390fd5b33610b628482611176565b610b6a61064c565b9430945092505050565b600254604080516303639b8b60e21b815290516001600160a01b03909216915f918391630d8e6e2c916004808201926020929091908290030181865afa158015610bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be4919061162d565b9050610c628173__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c55919061162d565b62ffffff90811691161490565b15610c80576040516348c618db60e01b815260040160405180910390fd5b60045415610dd85760048054610c98906001906116b9565b81548110610ca857610ca86116a5565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610d19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3d91906116d8565b604051635560100760e01b815262ffffff8316600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610d8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db391906116d8565b11610dd857604051633e614b6d60e11b815262ffffff82166004820152602401610846565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808716600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038088166020848101919091529087168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015610ea8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ecc91906116ef565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9485165f90815260038452604090819020855181549587015197166001600160b81b03199095169490941763010000006001600160a01b0397881602178455840151600190930180546060860151608090960151949096166001600160c81b031990961695909517600160a01b94909216939093021763ffffffff60c81b1916600160c81b919092160217905592915050565b5f805f8051602061258683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fe9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100d919061166b565b156110395780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610846565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561108b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110af919061166b565b6110d75760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610846565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611129573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061114d9190611713565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61117e610ae7565b611187826111ec565b61118f6112f9565b6001600160a01b0381166111b65760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061258683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6111f4610ae7565b806001600160a01b03163b5f036112295760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610846565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa9250505080156112a3575060408051601f3d908101601f191682019092526112a09181019061166b565b60015b6112cb5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610846565b806112f45760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610846565b505b50565b611301610ae7565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610e4c8061173a83390190565b5f6020828403121561135b575f80fd5b81356001600160e01b031981168114611372575f80fd5b9392505050565b6001600160a01b03811681146112f6575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126113b0575f80fd5b813567ffffffffffffffff8111156113ca576113ca61138d565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156113f9576113f961138d565b604052818152838201602001851015611410575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f806080858703121561143f575f80fd5b843561144a81611379565b9350602085013561145a81611379565b9250604085013567ffffffffffffffff811115611475575f80fd5b611481878288016113a1565b949793965093946060013593505050565b5f80604083850312156114a3575f80fd5b82356114ae81611379565b9150602083013567ffffffffffffffff8111156114c9575f80fd5b6114d5858286016113a1565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61137260208301846114df565b5f805f60608486031215611531575f80fd5b833561153c81611379565b9250602084013561154c81611379565b9150604084013567ffffffffffffffff811115611567575f80fd5b611573868287016113a1565b9150509250925092565b62ffffff811681146112f6575f80fd5b5f6020828403121561159d575f80fd5b81356113728161157d565b5f602082840312156115b8575f80fd5b813567ffffffffffffffff8111156115ce575f80fd5b6115da848285016113a1565b949350505050565b5f602082840312156115f2575f80fd5b5035919050565b6001600160a01b038481168252831660208201526060604082018190525f90611624908301846114df565b95945050505050565b5f6020828403121561163d575f80fd5b81516113728161157d565b6001600160a01b03831681526040602082018190525f906115da908301846114df565b5f6020828403121561167b575f80fd5b81518015158114611372575f80fd5b5f6020828403121561169a575f80fd5b815161137281611379565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561057957634e487b7160e01b5f52601160045260245ffd5b5f602082840312156116e8575f80fd5b5051919050565b5f602082840312156116ff575f80fd5b815164ffffffffff81168114611372575f80fd5b5f60208284031215611723575f80fd5b81516001600160601b0381168114611372575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212205098d8decf4cb16f11e98d7bc9a64fbad8e19cc65c6168b15a498dd25422525b64736f6c634300081a0033",
560
+ "linkReferences": {
561
+ "contracts/type/NftId.sol": {
562
+ "NftIdLib": [
563
+ {
564
+ "length": 20,
565
+ "start": 2199
566
+ },
567
+ {
568
+ "length": 20,
569
+ "start": 4933
570
+ },
571
+ {
572
+ "length": 20,
573
+ "start": 7286
574
+ },
575
+ {
576
+ "length": 20,
577
+ "start": 14463
578
+ },
579
+ {
580
+ "length": 20,
581
+ "start": 16075
582
+ },
583
+ {
584
+ "length": 20,
585
+ "start": 16975
586
+ }
587
+ ]
588
+ },
589
+ "contracts/type/RoleId.sol": {
590
+ "RoleIdLib": [
591
+ {
592
+ "length": 20,
593
+ "start": 15397
594
+ }
595
+ ]
596
+ },
597
+ "contracts/type/Timestamp.sol": {
598
+ "TimestampLib": [
599
+ {
600
+ "length": 20,
601
+ "start": 1713
602
+ },
603
+ {
604
+ "length": 20,
605
+ "start": 6965
606
+ }
607
+ ]
608
+ },
609
+ "contracts/type/Version.sol": {
610
+ "VersionLib": [
611
+ {
612
+ "length": 20,
613
+ "start": 1064
614
+ },
615
+ {
616
+ "length": 20,
617
+ "start": 1309
618
+ },
619
+ {
620
+ "length": 20,
621
+ "start": 1427
622
+ },
623
+ {
624
+ "length": 20,
625
+ "start": 6321
626
+ },
627
+ {
628
+ "length": 20,
629
+ "start": 6566
630
+ },
631
+ {
632
+ "length": 20,
633
+ "start": 6684
634
+ },
635
+ {
636
+ "length": 20,
637
+ "start": 14309
638
+ },
639
+ {
640
+ "length": 20,
641
+ "start": 14814
642
+ },
643
+ {
644
+ "length": 20,
645
+ "start": 17728
646
+ }
647
+ ],
648
+ "VersionPartLib": [
649
+ {
650
+ "length": 20,
651
+ "start": 15558
652
+ }
653
+ ]
654
+ }
655
+ },
656
+ "deployedLinkReferences": {
657
+ "contracts/type/NftId.sol": {
658
+ "NftIdLib": [
659
+ {
660
+ "length": 20,
661
+ "start": 1664
662
+ },
663
+ {
664
+ "length": 20,
665
+ "start": 4017
666
+ }
667
+ ]
668
+ },
669
+ "contracts/type/Timestamp.sol": {
670
+ "TimestampLib": [
671
+ {
672
+ "length": 20,
673
+ "start": 3696
674
+ }
675
+ ]
676
+ },
677
+ "contracts/type/Version.sol": {
678
+ "VersionLib": [
679
+ {
680
+ "length": 20,
681
+ "start": 3052
682
+ },
683
+ {
684
+ "length": 20,
685
+ "start": 3297
686
+ },
687
+ {
688
+ "length": 20,
689
+ "start": 3415
690
+ }
691
+ ]
692
+ }
693
+ }
694
+ }