@etherisc/gif-next 0.0.2-f8e07c7-917 → 0.0.2-f946ccd-184

Sign up to get free protection for your applications and to get access to all the features.
Files changed (412) hide show
  1. package/README.md +19 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +33 -52
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +0 -19
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
  15. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  17. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +66 -248
  19. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +16 -16
  21. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +24 -222
  23. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +228 -217
  25. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +93 -101
  27. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +24 -37
  29. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +120 -31
  31. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  32. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1463 -0
  33. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  34. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  35. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  36. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1712 -0
  37. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  38. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  39. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  41. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
  49. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  50. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  51. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  52. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  54. package/artifacts/contracts/instance/Instance.sol/Instance.json +10 -99
  55. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  56. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +97 -100
  57. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  58. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +14 -14
  59. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  60. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +238 -123
  61. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  62. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +39 -146
  63. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  64. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +61 -81
  65. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  66. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +215 -219
  67. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  68. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  69. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  72. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  74. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  76. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  82. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  83. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  84. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  85. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +32 -238
  86. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  87. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
  88. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +0 -37
  91. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  92. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +0 -222
  94. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +37 -144
  96. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  97. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +60 -80
  98. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  99. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +36 -284
  100. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  101. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  102. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  103. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +396 -163
  104. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  105. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +137 -89
  106. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  107. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +205 -1
  108. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  109. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +26 -95
  110. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  111. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +220 -100
  112. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  113. package/artifacts/contracts/pool/Pool.sol/Pool.json +26 -280
  114. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  115. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +269 -248
  116. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +66 -82
  118. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  119. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +36 -162
  120. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +57 -89
  122. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  123. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +3 -225
  124. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  125. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +2 -2
  126. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  127. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +206 -175
  128. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +92 -100
  130. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  131. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  132. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  133. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +114 -0
  134. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  135. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +266 -119
  136. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  137. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  138. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  139. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +0 -37
  140. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  141. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  142. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  143. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +372 -316
  144. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -100
  146. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  147. package/artifacts/contracts/product/PricingService.sol/PricingService.json +118 -265
  148. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -120
  150. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  151. package/artifacts/contracts/product/Product.sol/Product.json +3 -225
  152. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  153. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  154. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  156. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  158. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +221 -21
  160. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  161. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  162. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  163. package/artifacts/contracts/registry/Registry.sol/Registry.json +419 -82
  164. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +243 -131
  166. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  167. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +23 -130
  168. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +52 -72
  170. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  171. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  172. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +24 -14
  174. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  175. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  176. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  177. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  178. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Component.sol/Component.json +0 -211
  180. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  181. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +132 -199
  182. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  183. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +96 -114
  184. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  185. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +5 -112
  186. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  187. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  188. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  189. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -26
  190. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  191. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +56 -0
  192. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  193. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +0 -37
  194. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  195. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  196. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +14 -46
  199. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  202. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +1 -1
  203. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  204. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  205. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +0 -222
  207. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  208. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  209. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  210. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  211. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  212. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -57
  213. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  214. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -140
  215. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -97
  217. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  218. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  219. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  220. package/artifacts/contracts/shared/Service.sol/Service.json +5 -112
  221. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  222. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  223. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  224. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  225. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  226. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +27 -27
  227. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  228. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  229. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +73 -93
  230. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  231. package/artifacts/contracts/staking/Staking.sol/Staking.json +85 -262
  232. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  233. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  234. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  235. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +77 -88
  236. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  237. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -6
  238. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  239. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +31 -138
  240. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  241. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +56 -76
  242. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  243. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +89 -84
  244. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  245. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  246. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  247. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  248. package/artifacts/contracts/type/Amount.sol/AmountLib.json +37 -8
  249. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  250. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  251. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  252. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  253. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  255. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  256. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  257. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  258. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  259. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  261. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  262. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  263. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  265. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  267. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  268. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  269. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  271. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  273. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  275. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  277. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  281. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  284. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  286. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +39 -2
  288. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  290. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  291. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  292. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +39 -70
  293. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  294. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  295. package/contracts/authorization/AccessAdmin.sol +25 -24
  296. package/contracts/authorization/Authorization.sol +0 -1
  297. package/contracts/authorization/IAccessAdmin.sol +0 -1
  298. package/contracts/distribution/BasicDistribution.sol +4 -15
  299. package/contracts/distribution/BasicDistributionAuthorization.sol +2 -1
  300. package/contracts/distribution/Distribution.sol +22 -11
  301. package/contracts/distribution/DistributionService.sol +73 -25
  302. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  303. package/contracts/distribution/IDistributionComponent.sol +6 -1
  304. package/contracts/distribution/IDistributionService.sol +18 -2
  305. package/contracts/examples/fire/FirePool.sol +75 -0
  306. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  307. package/contracts/examples/fire/FireProduct.sol +324 -0
  308. package/contracts/examples/fire/FireProductAuthorization.sol +35 -0
  309. package/contracts/examples/fire/FireUSD.sol +26 -0
  310. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  311. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  312. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  313. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  314. package/contracts/instance/IInstance.sol +7 -30
  315. package/contracts/instance/Instance.sol +10 -35
  316. package/contracts/instance/InstanceAdmin.sol +23 -4
  317. package/contracts/instance/InstanceAuthorizationV3.sol +3 -3
  318. package/contracts/instance/InstanceReader.sol +32 -7
  319. package/contracts/instance/InstanceService.sol +62 -39
  320. package/contracts/instance/InstanceServiceManager.sol +6 -7
  321. package/contracts/instance/InstanceStore.sol +12 -1
  322. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  323. package/contracts/instance/module/IBundle.sol +1 -1
  324. package/contracts/instance/module/IComponents.sol +1 -6
  325. package/contracts/instance/module/IDistribution.sol +0 -1
  326. package/contracts/instance/module/IPolicy.sol +22 -22
  327. package/contracts/mock/Dip.sol +1 -1
  328. package/contracts/oracle/Oracle.sol +4 -7
  329. package/contracts/oracle/OracleService.sol +9 -6
  330. package/contracts/oracle/OracleServiceManager.sol +6 -6
  331. package/contracts/pool/BasicPool.sol +7 -5
  332. package/contracts/pool/BasicPoolAuthorization.sol +8 -2
  333. package/contracts/pool/BundleService.sol +184 -30
  334. package/contracts/pool/BundleServiceManager.sol +6 -6
  335. package/contracts/pool/IBundleService.sol +33 -5
  336. package/contracts/pool/IPoolComponent.sol +7 -0
  337. package/contracts/pool/IPoolService.sol +36 -26
  338. package/contracts/pool/Pool.sol +39 -24
  339. package/contracts/pool/PoolService.sol +157 -85
  340. package/contracts/pool/PoolServiceManager.sol +4 -4
  341. package/contracts/product/ApplicationService.sol +43 -26
  342. package/contracts/product/ApplicationServiceManager.sol +4 -4
  343. package/contracts/product/BasicProduct.sol +3 -32
  344. package/contracts/product/ClaimService.sol +208 -78
  345. package/contracts/product/ClaimServiceManager.sol +4 -4
  346. package/contracts/product/IApplicationService.sol +1 -0
  347. package/contracts/product/IClaimService.sol +28 -5
  348. package/contracts/product/IPolicyService.sol +31 -32
  349. package/contracts/product/IPricingService.sol +7 -7
  350. package/contracts/product/IProductComponent.sol +0 -1
  351. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  352. package/contracts/product/PolicyService.sol +370 -194
  353. package/contracts/product/PolicyServiceManager.sol +4 -4
  354. package/contracts/product/PricingService.sol +46 -46
  355. package/contracts/product/PricingServiceManager.sol +3 -3
  356. package/contracts/product/Product.sol +67 -34
  357. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  358. package/contracts/product/RiskServiceManager.sol +39 -0
  359. package/contracts/registry/ChainNft.sol +65 -32
  360. package/contracts/registry/IRegistry.sol +49 -15
  361. package/contracts/registry/Registry.sol +321 -195
  362. package/contracts/registry/RegistryAdmin.sol +150 -51
  363. package/contracts/registry/RegistryService.sol +2 -2
  364. package/contracts/registry/RegistryServiceManager.sol +2 -2
  365. package/contracts/registry/ReleaseRegistry.sol +12 -8
  366. package/contracts/registry/ServiceAuthorizationV3.sol +2 -3
  367. package/contracts/shared/Component.sol +23 -29
  368. package/contracts/shared/ComponentService.sol +51 -32
  369. package/contracts/shared/ComponentServiceManager.sol +8 -5
  370. package/contracts/shared/ComponentVerifyingService.sol +1 -1
  371. package/contracts/shared/ContractLib.sol +38 -0
  372. package/contracts/shared/IComponent.sol +4 -4
  373. package/contracts/shared/IComponentService.sol +5 -9
  374. package/contracts/shared/IInstanceLinkedComponent.sol +8 -15
  375. package/contracts/shared/IPolicyHolder.sol +12 -22
  376. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  377. package/contracts/shared/InstanceLinkedComponent.sol +4 -4
  378. package/contracts/shared/NftOwnable.sol +7 -7
  379. package/contracts/shared/PolicyHolder.sol +14 -58
  380. package/contracts/shared/Registerable.sol +4 -4
  381. package/contracts/shared/RegistryLinked.sol +3 -2
  382. package/contracts/shared/Service.sol +16 -11
  383. package/contracts/shared/TokenHandler.sol +100 -19
  384. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  385. package/contracts/staking/IStaking.sol +2 -1
  386. package/contracts/staking/StakeManagerLib.sol +18 -25
  387. package/contracts/staking/Staking.sol +11 -27
  388. package/contracts/staking/StakingManager.sol +8 -6
  389. package/contracts/staking/StakingService.sol +10 -14
  390. package/contracts/staking/StakingServiceManager.sol +2 -2
  391. package/contracts/staking/TargetManagerLib.sol +7 -3
  392. package/contracts/type/Amount.sol +12 -5
  393. package/contracts/type/Blocknumber.sol +7 -1
  394. package/contracts/type/NftId.sol +1 -0
  395. package/contracts/type/ObjectType.sol +15 -11
  396. package/contracts/type/Referral.sol +1 -0
  397. package/contracts/type/RiskId.sol +15 -1
  398. package/contracts/type/Seconds.sol +21 -1
  399. package/contracts/type/StateId.sol +1 -0
  400. package/contracts/type/Timestamp.sol +11 -1
  401. package/contracts/type/UFixed.sol +29 -10
  402. package/contracts/upgradeability/ProxyManager.sol +67 -34
  403. package/contracts/upgradeability/Versionable.sol +2 -2
  404. package/package.json +1 -1
  405. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  406. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  407. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  408. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  409. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  410. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  411. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  412. package/contracts/product/ProductServiceManager.sol +0 -39
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/42b837ae2eb6643d99d8e8b4ec6e9c78.json"
3
+ "buildInfo": "../../../build-info/36584fefa2ccd62790a37608c0192411.json"
4
4
  }
@@ -14,17 +14,6 @@
14
14
  "stateMutability": "nonpayable",
15
15
  "type": "constructor"
16
16
  },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "address",
21
- "name": "caller",
22
- "type": "address"
23
- }
24
- ],
25
- "name": "CallerNotRegistry",
26
- "type": "error"
27
- },
28
17
  {
29
18
  "inputs": [],
30
19
  "name": "ERC721EnumerableForbiddenBatchMint",
@@ -149,19 +138,30 @@
149
138
  "name": "ERC721OutOfBoundsIndex",
150
139
  "type": "error"
151
140
  },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "address",
145
+ "name": "caller",
146
+ "type": "address"
147
+ }
148
+ ],
149
+ "name": "ErrorChainNftCallerNotRegistry",
150
+ "type": "error"
151
+ },
152
152
  {
153
153
  "inputs": [],
154
- "name": "NftUriAlreadySet",
154
+ "name": "ErrorChainNftRegistryAddressZero",
155
155
  "type": "error"
156
156
  },
157
157
  {
158
158
  "inputs": [],
159
- "name": "NftUriEmpty",
159
+ "name": "ErrorChainNftUriAlreadySet",
160
160
  "type": "error"
161
161
  },
162
162
  {
163
163
  "inputs": [],
164
- "name": "RegistryAddressZero",
164
+ "name": "ErrorChainNftUriEmpty",
165
165
  "type": "error"
166
166
  },
167
167
  {
@@ -214,6 +214,25 @@
214
214
  "name": "ApprovalForAll",
215
215
  "type": "event"
216
216
  },
217
+ {
218
+ "anonymous": false,
219
+ "inputs": [
220
+ {
221
+ "indexed": false,
222
+ "internalType": "uint256",
223
+ "name": "tokenId",
224
+ "type": "uint256"
225
+ },
226
+ {
227
+ "indexed": false,
228
+ "internalType": "address",
229
+ "name": "interceptor",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "LogTokenInterceptorAddress",
234
+ "type": "event"
235
+ },
217
236
  {
218
237
  "anonymous": false,
219
238
  "inputs": [
@@ -350,6 +369,30 @@
350
369
  }
351
370
  ],
352
371
  "name": "calculateTokenId",
372
+ "outputs": [
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "",
376
+ "type": "uint256"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "uint256",
386
+ "name": "idIndex",
387
+ "type": "uint256"
388
+ },
389
+ {
390
+ "internalType": "uint256",
391
+ "name": "chainId",
392
+ "type": "uint256"
393
+ }
394
+ ],
395
+ "name": "calculateTokenId",
353
396
  "outputs": [
354
397
  {
355
398
  "internalType": "uint256",
@@ -777,8 +820,8 @@
777
820
  "type": "function"
778
821
  }
779
822
  ],
780
- "bytecode": "0x608060405234801561000f575f80fd5b50604051611db0380380611db083398101604081905261002e91610116565b604051806060016040528060248152602001611d8c6024913960408051808201909152600681526511125413919560d21b60208201525f61006f83826101db565b50600161007c82826101db565b5050506001600160a01b0381166100a657604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190555f600e555b80156100f957600e8054905f6100e1836102a9565b909155506100f29050600a826102c1565b90506100cc565b600e5461010790600a6103c5565b600f55505060046010556103d0565b5f60208284031215610126575f80fd5b81516001600160a01b038116811461013c575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061016b57607f821691505b60208210810361018957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101d657805f5260205f20601f840160051c810160208510156101b45750805b601f840160051c820191505b818110156101d3575f81556001016101c0565b50505b505050565b81516001600160401b038111156101f4576101f4610143565b610208816102028454610157565b8461018f565b6020601f82116001811461023a575f83156102235750848201515b5f19600385901b1c1916600184901b1784556101d3565b5f84815260208120601f198516915b828110156102695787850151825560209485019460019092019101610249565b508482101561028657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b5f600182016102ba576102ba610295565b5060010190565b5f826102db57634e487b7160e01b5f52601260045260245ffd5b500490565b6001815b600184111561031b578085048111156102ff576102ff610295565b600184161561030d57908102905b60019390931c9280026102e4565b935093915050565b5f82610331575060016103bf565b8161033d57505f6103bf565b8160018114610353576002811461035d57610379565b60019150506103bf565b60ff84111561036e5761036e610295565b50506001821b6103bf565b5060208310610133831016604e8410600b841016171561039c575081810a6103bf565b6103a85f1984846102e0565b805f19048211156103bb576103bb610295565b0290505b92915050565b5f61013c8383610323565b6119af806103dd5f395ff3fe608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80634f6ccce7116100fe578063a2309ff81161009e578063caa0f92a1161006e578063caa0f92a146103ee578063e985e9c5146103f6578063f21de1e814610409578063f76f8d781461041a575f80fd5b8063a2309ff8146103b8578063a3f4df7e146103c0578063b88d4fde146103c8578063c87b56dd146103db575f80fd5b806370a08231116100d957806370a0823114610377578063862440e21461038a57806395d89b411461039d578063a22cb465146103a5575f80fd5b80634f6ccce714610348578063598e28921461035b5780636352211e14610364575f80fd5b806323b872dd1161017457806340c10f191161014457806340c10f19146102e557806342842e0e146102f857806342966c681461030b5780634f558e791461031e575f80fd5b806323b872dd1461028e5780632e85b1f3146102a15780632f745c59146102aa578063342ec443146102bd575f80fd5b8063081812fc116101af578063081812fc14610233578063095ea7b31461025e57806318160ddd14610273578063221375a61461027b575f80fd5b806301ffc9a7146101d55780630559ea47146101fd57806306fdde031461021e575b5f80fd5b6101e86101e3366004611406565b61043f565b60405190151581526020015b60405180910390f35b61021061020b366004611421565b610469565b6040519081526020016101f4565b61022661049d565b6040516101f49190611466565b610246610241366004611421565b61052c565b6040516001600160a01b0390911681526020016101f4565b61027161026c366004611493565b610553565b005b600854610210565b610210610289366004611564565b610562565b61027161029c3660046115be565b610688565b61021061083581565b6102106102b8366004611493565b61072a565b6102466102cb366004611421565b5f908152600a60205260409020546001600160a01b031690565b6102716102f3366004611493565b61078d565b6102716103063660046115be565b6107d8565b610271610319366004611421565b6107f2565b6101e861032c366004611421565b5f908152600260205260409020546001600160a01b0316151590565b610210610356366004611421565b61084b565b61021061044d81565b610246610372366004611421565b6108a0565b6102106103853660046115f8565b6108aa565b610271610398366004611611565b6108ef565b610226610997565b6102716103b3366004611655565b6109a6565b601154610210565b6102266109b1565b6102716103d636600461168e565b6109cd565b6102266103e9366004611421565b6109ea565b610210610a91565b6101e8610404366004611705565b610aa2565b600c546001600160a01b0316610246565b6102266040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610463575061046382610acf565b92915050565b5f600e54600d54600f548461047e919061174a565b6104889190611761565b61049390606461174a565b6104639190611761565b60605f80546104ab90611774565b80601f01602080910402602001604051908101604052809291908181526020018280546104d790611774565b80156105225780601f106104f957610100808354040283529160200191610522565b820191905f5260205f20905b81548152906001019060200180831161050557829003601f168201915b5050505050905090565b5f61053682610b1e565b505f828152600460205260409020546001600160a01b0316610463565b61055e828233610b56565b5050565b600c545f906001600160a01b03163314610596576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059e610b63565b90506001600160a01b038316156105d6575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f6575f818152600b602052604090206105f483826117f0565b505b60118054905f610605836118ab565b91905055506106148482610b88565b6001600160a01b038316156106815760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e59906044015f604051808303815f87803b15801561066a575f80fd5b505af115801561067c573d5f803e3d5ffd5b505050505b9392505050565b610693838383610ba1565b5f818152600a60205260409020546001600160a01b031615610725575f818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb86906064015f604051808303815f87803b15801561070e575f80fd5b505af1158015610720573d5f803e3d5ffd5b505050505b505050565b5f610734836108aa565b82106107655760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058d565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107ba576040516399c6cd7160e01b815233600482015260240161058d565b60118054905f6107c9836118ab565b919050555061055e8282610b88565b61072583838360405180602001604052805f8152506109cd565b600c546001600160a01b0316331461081f576040516399c6cd7160e01b815233600482015260240161058d565b61082881610b1e565b5061083281610c24565b5f818152600b60205260408120610848916113a7565b50565b5f61085560085490565b821061087d5760405163295f44f760e21b81525f60048201526024810183905260440161058d565b60088281548110610890576108906118c3565b905f5260205f2001549050919050565b5f61046382610b1e565b5f6001600160a01b0382166108d4576040516322718ad960e21b81525f600482015260240161058d565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b0316331461091c576040516399c6cd7160e01b815233600482015260240161058d565b80515f0361093d57604051638e45096160e01b815260040160405180910390fd5b5f828152600b60205260408120805461095590611774565b905011156109765760405163303822c760e21b815260040160405180910390fd5b61097f82610b1e565b505f828152600b6020526040902061072582826117f0565b6060600180546104ab90611774565b61055e338383610c5c565b6040518060600160405280602481526020016119566024913981565b6109d8848484610688565b6109e484848484610cfa565b50505050565b60606109f582610b1e565b505f828152600b602052604090208054610a0e90611774565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3a90611774565b8015610a855780601f10610a5c57610100808354040283529160200191610a85565b820191905f5260205f20905b815481529060010190602001808311610a6857829003601f168201915b50505050509050919050565b5f610a9d601054610469565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610aff57506001600160e01b03198216635b5e139f60e01b145b8061046357506301ffc9a760e01b6001600160e01b0319831614610463565b5f818152600260205260408120546001600160a01b03168061046357604051637e27328960e01b81526004810184905260240161058d565b6107258383836001610e20565b5f610b6f601054610469565b601080549192505f610b80836118ab565b919050555090565b61055e828260405180602001604052805f815250610f24565b6001600160a01b038216610bca57604051633250574960e11b81525f600482015260240161058d565b5f610bd6838333610f3a565b9050836001600160a01b0316816001600160a01b0316146109e4576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058d565b5f610c305f835f610f3a565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058d565b6001600160a01b038216610c8e57604051630b61174360e31b81526001600160a01b038316600482015260240161058d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156109e457604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d3c9033908890879087906004016118d7565b6020604051808303815f875af1925050508015610d76575060408051601f3d908101601f19168201909252610d7391810190611913565b60015b610ddd573d808015610da3576040519150601f19603f3d011682016040523d82523d5f602084013e610da8565b606091505b5080515f03610dd557604051633250574960e11b81526001600160a01b038516600482015260240161058d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e1957604051633250574960e11b81526001600160a01b038516600482015260240161058d565b5050505050565b8080610e3457506001600160a01b03821615155b15610ef5575f610e4384610b1e565b90506001600160a01b03831615801590610e6f5750826001600160a01b0316816001600160a01b031614155b8015610e825750610e808184610aa2565b155b15610eab5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058d565b8115610ef35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f2e838361100d565b6107255f848484610cfa565b5f80610f4785858561106e565b90506001600160a01b038116610fa357610f9e84600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610fc6565b846001600160a01b0316816001600160a01b031614610fc657610fc68185611160565b6001600160a01b038516610fe257610fdd846111ed565b611005565b846001600160a01b0316816001600160a01b031614611005576110058585611294565b949350505050565b6001600160a01b03821661103657604051633250574960e11b81525f600482015260240161058d565b5f61104283835f610f3a565b90506001600160a01b03811615610725576040516339e3563760e11b81525f600482015260240161058d565b5f828152600260205260408120546001600160a01b039081169083161561109a5761109a8184866112e2565b6001600160a01b038116156110d4576110b55f855f80610e20565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615611102576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f61116a836108aa565b5f838152600760205260409020549091508082146111bb576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f906111fe9060019061192e565b5f8381526009602052604081205460088054939450909284908110611225576112256118c3565b905f5260205f20015490508060088381548110611244576112446118c3565b5f91825260208083209091019290925582815260099091526040808220849055858252812055600880548061127b5761127b611941565b600190038181905f5260205f20015f9055905550505050565b5f60016112a0846108aa565b6112aa919061192e565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ed838383611346565b610725576001600160a01b03831661131b57604051637e27328960e01b81526004810182905260240161058d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058d565b5f6001600160a01b038316158015906110055750826001600160a01b0316846001600160a01b0316148061137f575061137f8484610aa2565b806110055750505f908152600460205260409020546001600160a01b03908116911614919050565b5080546113b390611774565b5f825580601f106113c2575050565b601f0160209004905f5260205f209081019061084891905b808211156113ed575f81556001016113da565b5090565b6001600160e01b031981168114610848575f80fd5b5f60208284031215611416575f80fd5b8135610681816113f1565b5f60208284031215611431575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6106816020830184611438565b80356001600160a01b038116811461148e575f80fd5b919050565b5f80604083850312156114a4575f80fd5b6114ad83611478565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff8411156114e9576114e96114bb565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff82111715611518576115186114bb565b60405283815290508082840185101561152f575f80fd5b838360208301375f60208583010152509392505050565b5f82601f830112611555575f80fd5b610681838335602085016114cf565b5f805f60608486031215611576575f80fd5b61157f84611478565b925061158d60208501611478565b9150604084013567ffffffffffffffff8111156115a8575f80fd5b6115b486828701611546565b9150509250925092565b5f805f606084860312156115d0575f80fd5b6115d984611478565b92506115e760208501611478565b929592945050506040919091013590565b5f60208284031215611608575f80fd5b61068182611478565b5f8060408385031215611622575f80fd5b82359150602083013567ffffffffffffffff81111561163f575f80fd5b61164b85828601611546565b9150509250929050565b5f8060408385031215611666575f80fd5b61166f83611478565b915060208301358015158114611683575f80fd5b809150509250929050565b5f805f80608085870312156116a1575f80fd5b6116aa85611478565b93506116b860208601611478565b925060408501359150606085013567ffffffffffffffff8111156116da575f80fd5b8501601f810187136116ea575f80fd5b6116f9878235602084016114cf565b91505092959194509250565b5f8060408385031215611716575f80fd5b61171f83611478565b915061172d60208401611478565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761046357610463611736565b8082018082111561046357610463611736565b600181811c9082168061178857607f821691505b6020821081036117a657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561072557805f5260205f20601f840160051c810160208510156117d15750805b601f840160051c820191505b81811015610e19575f81556001016117dd565b815167ffffffffffffffff81111561180a5761180a6114bb565b61181e816118188454611774565b846117ac565b6020601f821160018114611850575f83156118395750848201515b5f19600385901b1c1916600184901b178455610e19565b5f84815260208120601f198516915b8281101561187f578785015182556020948501946001909201910161185f565b508482101561189c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f600182016118bc576118bc611736565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061190990830184611438565b9695505050505050565b5f60208284031215611923575f80fd5b8151610681816113f1565b8181038181111561046357610463611736565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a264697066735822122004a922245b1bed8bccde694db4642e2237211ca39de1d735a565465655a2822664736f6c634300081a003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
781
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80634f6ccce7116100fe578063a2309ff81161009e578063caa0f92a1161006e578063caa0f92a146103ee578063e985e9c5146103f6578063f21de1e814610409578063f76f8d781461041a575f80fd5b8063a2309ff8146103b8578063a3f4df7e146103c0578063b88d4fde146103c8578063c87b56dd146103db575f80fd5b806370a08231116100d957806370a0823114610377578063862440e21461038a57806395d89b411461039d578063a22cb465146103a5575f80fd5b80634f6ccce714610348578063598e28921461035b5780636352211e14610364575f80fd5b806323b872dd1161017457806340c10f191161014457806340c10f19146102e557806342842e0e146102f857806342966c681461030b5780634f558e791461031e575f80fd5b806323b872dd1461028e5780632e85b1f3146102a15780632f745c59146102aa578063342ec443146102bd575f80fd5b8063081812fc116101af578063081812fc14610233578063095ea7b31461025e57806318160ddd14610273578063221375a61461027b575f80fd5b806301ffc9a7146101d55780630559ea47146101fd57806306fdde031461021e575b5f80fd5b6101e86101e3366004611406565b61043f565b60405190151581526020015b60405180910390f35b61021061020b366004611421565b610469565b6040519081526020016101f4565b61022661049d565b6040516101f49190611466565b610246610241366004611421565b61052c565b6040516001600160a01b0390911681526020016101f4565b61027161026c366004611493565b610553565b005b600854610210565b610210610289366004611564565b610562565b61027161029c3660046115be565b610688565b61021061083581565b6102106102b8366004611493565b61072a565b6102466102cb366004611421565b5f908152600a60205260409020546001600160a01b031690565b6102716102f3366004611493565b61078d565b6102716103063660046115be565b6107d8565b610271610319366004611421565b6107f2565b6101e861032c366004611421565b5f908152600260205260409020546001600160a01b0316151590565b610210610356366004611421565b61084b565b61021061044d81565b610246610372366004611421565b6108a0565b6102106103853660046115f8565b6108aa565b610271610398366004611611565b6108ef565b610226610997565b6102716103b3366004611655565b6109a6565b601154610210565b6102266109b1565b6102716103d636600461168e565b6109cd565b6102266103e9366004611421565b6109ea565b610210610a91565b6101e8610404366004611705565b610aa2565b600c546001600160a01b0316610246565b6102266040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610463575061046382610acf565b92915050565b5f600e54600d54600f548461047e919061174a565b6104889190611761565b61049390606461174a565b6104639190611761565b60605f80546104ab90611774565b80601f01602080910402602001604051908101604052809291908181526020018280546104d790611774565b80156105225780601f106104f957610100808354040283529160200191610522565b820191905f5260205f20905b81548152906001019060200180831161050557829003601f168201915b5050505050905090565b5f61053682610b1e565b505f828152600460205260409020546001600160a01b0316610463565b61055e828233610b56565b5050565b600c545f906001600160a01b03163314610596576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059e610b63565b90506001600160a01b038316156105d6575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f6575f818152600b602052604090206105f483826117f0565b505b60118054905f610605836118ab565b91905055506106148482610b88565b6001600160a01b038316156106815760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e59906044015f604051808303815f87803b15801561066a575f80fd5b505af115801561067c573d5f803e3d5ffd5b505050505b9392505050565b610693838383610ba1565b5f818152600a60205260409020546001600160a01b031615610725575f818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb86906064015f604051808303815f87803b15801561070e575f80fd5b505af1158015610720573d5f803e3d5ffd5b505050505b505050565b5f610734836108aa565b82106107655760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058d565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107ba576040516399c6cd7160e01b815233600482015260240161058d565b60118054905f6107c9836118ab565b919050555061055e8282610b88565b61072583838360405180602001604052805f8152506109cd565b600c546001600160a01b0316331461081f576040516399c6cd7160e01b815233600482015260240161058d565b61082881610b1e565b5061083281610c24565b5f818152600b60205260408120610848916113a7565b50565b5f61085560085490565b821061087d5760405163295f44f760e21b81525f60048201526024810183905260440161058d565b60088281548110610890576108906118c3565b905f5260205f2001549050919050565b5f61046382610b1e565b5f6001600160a01b0382166108d4576040516322718ad960e21b81525f600482015260240161058d565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b0316331461091c576040516399c6cd7160e01b815233600482015260240161058d565b80515f0361093d57604051638e45096160e01b815260040160405180910390fd5b5f828152600b60205260408120805461095590611774565b905011156109765760405163303822c760e21b815260040160405180910390fd5b61097f82610b1e565b505f828152600b6020526040902061072582826117f0565b6060600180546104ab90611774565b61055e338383610c5c565b6040518060600160405280602481526020016119566024913981565b6109d8848484610688565b6109e484848484610cfa565b50505050565b60606109f582610b1e565b505f828152600b602052604090208054610a0e90611774565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3a90611774565b8015610a855780601f10610a5c57610100808354040283529160200191610a85565b820191905f5260205f20905b815481529060010190602001808311610a6857829003601f168201915b50505050509050919050565b5f610a9d601054610469565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610aff57506001600160e01b03198216635b5e139f60e01b145b8061046357506301ffc9a760e01b6001600160e01b0319831614610463565b5f818152600260205260408120546001600160a01b03168061046357604051637e27328960e01b81526004810184905260240161058d565b6107258383836001610e20565b5f610b6f601054610469565b601080549192505f610b80836118ab565b919050555090565b61055e828260405180602001604052805f815250610f24565b6001600160a01b038216610bca57604051633250574960e11b81525f600482015260240161058d565b5f610bd6838333610f3a565b9050836001600160a01b0316816001600160a01b0316146109e4576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058d565b5f610c305f835f610f3a565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058d565b6001600160a01b038216610c8e57604051630b61174360e31b81526001600160a01b038316600482015260240161058d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156109e457604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d3c9033908890879087906004016118d7565b6020604051808303815f875af1925050508015610d76575060408051601f3d908101601f19168201909252610d7391810190611913565b60015b610ddd573d808015610da3576040519150601f19603f3d011682016040523d82523d5f602084013e610da8565b606091505b5080515f03610dd557604051633250574960e11b81526001600160a01b038516600482015260240161058d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e1957604051633250574960e11b81526001600160a01b038516600482015260240161058d565b5050505050565b8080610e3457506001600160a01b03821615155b15610ef5575f610e4384610b1e565b90506001600160a01b03831615801590610e6f5750826001600160a01b0316816001600160a01b031614155b8015610e825750610e808184610aa2565b155b15610eab5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058d565b8115610ef35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f2e838361100d565b6107255f848484610cfa565b5f80610f4785858561106e565b90506001600160a01b038116610fa357610f9e84600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610fc6565b846001600160a01b0316816001600160a01b031614610fc657610fc68185611160565b6001600160a01b038516610fe257610fdd846111ed565b611005565b846001600160a01b0316816001600160a01b031614611005576110058585611294565b949350505050565b6001600160a01b03821661103657604051633250574960e11b81525f600482015260240161058d565b5f61104283835f610f3a565b90506001600160a01b03811615610725576040516339e3563760e11b81525f600482015260240161058d565b5f828152600260205260408120546001600160a01b039081169083161561109a5761109a8184866112e2565b6001600160a01b038116156110d4576110b55f855f80610e20565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615611102576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f61116a836108aa565b5f838152600760205260409020549091508082146111bb576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f906111fe9060019061192e565b5f8381526009602052604081205460088054939450909284908110611225576112256118c3565b905f5260205f20015490508060088381548110611244576112446118c3565b5f91825260208083209091019290925582815260099091526040808220849055858252812055600880548061127b5761127b611941565b600190038181905f5260205f20015f9055905550505050565b5f60016112a0846108aa565b6112aa919061192e565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ed838383611346565b610725576001600160a01b03831661131b57604051637e27328960e01b81526004810182905260240161058d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058d565b5f6001600160a01b038316158015906110055750826001600160a01b0316846001600160a01b0316148061137f575061137f8484610aa2565b806110055750505f908152600460205260409020546001600160a01b03908116911614919050565b5080546113b390611774565b5f825580601f106113c2575050565b601f0160209004905f5260205f209081019061084891905b808211156113ed575f81556001016113da565b5090565b6001600160e01b031981168114610848575f80fd5b5f60208284031215611416575f80fd5b8135610681816113f1565b5f60208284031215611431575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6106816020830184611438565b80356001600160a01b038116811461148e575f80fd5b919050565b5f80604083850312156114a4575f80fd5b6114ad83611478565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff8411156114e9576114e96114bb565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff82111715611518576115186114bb565b60405283815290508082840185101561152f575f80fd5b838360208301375f60208583010152509392505050565b5f82601f830112611555575f80fd5b610681838335602085016114cf565b5f805f60608486031215611576575f80fd5b61157f84611478565b925061158d60208501611478565b9150604084013567ffffffffffffffff8111156115a8575f80fd5b6115b486828701611546565b9150509250925092565b5f805f606084860312156115d0575f80fd5b6115d984611478565b92506115e760208501611478565b929592945050506040919091013590565b5f60208284031215611608575f80fd5b61068182611478565b5f8060408385031215611622575f80fd5b82359150602083013567ffffffffffffffff81111561163f575f80fd5b61164b85828601611546565b9150509250929050565b5f8060408385031215611666575f80fd5b61166f83611478565b915060208301358015158114611683575f80fd5b809150509250929050565b5f805f80608085870312156116a1575f80fd5b6116aa85611478565b93506116b860208601611478565b925060408501359150606085013567ffffffffffffffff8111156116da575f80fd5b8501601f810187136116ea575f80fd5b6116f9878235602084016114cf565b91505092959194509250565b5f8060408385031215611716575f80fd5b61171f83611478565b915061172d60208401611478565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761046357610463611736565b8082018082111561046357610463611736565b600181811c9082168061178857607f821691505b6020821081036117a657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561072557805f5260205f20601f840160051c810160208510156117d15750805b601f840160051c820191505b81811015610e19575f81556001016117dd565b815167ffffffffffffffff81111561180a5761180a6114bb565b61181e816118188454611774565b846117ac565b6020601f821160018114611850575f83156118395750848201515b5f19600385901b1c1916600184901b178455610e19565b5f84815260208120601f198516915b8281101561187f578785015182556020948501946001909201910161185f565b508482101561189c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f600182016118bc576118bc611736565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061190990830184611438565b9695505050505050565b5f60208284031215611923575f80fd5b8151610681816113f1565b8181038181111561046357610463611736565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a264697066735822122004a922245b1bed8bccde694db4642e2237211ca39de1d735a565465655a2822664736f6c634300081a0033",
823
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051611fe2380380611fe283398101604081905261002e91610119565b604051806060016040528060248152602001611fbe6024913960408051808201909152600681526511125413919560d21b60208201525f61006f83826101d7565b50600161007c82826101d7565b5050506001600160a01b0381166100a65760405163019aebf560e41b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383161790556100ca466100e8565b600d8190556100da90600a61038a565b600e55506004600f556103cc565b5f81815b811561011257806100fc81610395565b915061010b9050600a836103ad565b91506100ec565b9392505050565b5f60208284031215610129575f80fd5b81516001600160a01b0381168114610112575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061016757607f821691505b60208210810361018557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101d257805f5260205f20601f840160051c810160208510156101b05750805b601f840160051c820191505b818110156101cf575f81556001016101bc565b50505b505050565b81516001600160401b038111156101f0576101f061013f565b610204816101fe8454610153565b8461018b565b6020601f821160018114610236575f831561021f5750848201515b5f19600385901b1c1916600184901b1784556101cf565b5f84815260208120601f198516915b828110156102655787850151825560209485019460019092019101610245565b508482101561028257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102e0578085048111156102c4576102c4610291565b60018416156102d257908102905b60019390931c9280026102a9565b935093915050565b5f826102f657506001610384565b8161030257505f610384565b816001811461031857600281146103225761033e565b6001915050610384565b60ff84111561033357610333610291565b50506001821b610384565b5060208310610133831016604e8410600b8410161715610361575081810a610384565b61036d5f1984846102a5565b805f190482111561038057610380610291565b0290505b92915050565b5f61011283836102e8565b5f600182016103a6576103a6610291565b5060010190565b5f826103c757634e487b7160e01b5f52601260045260245ffd5b500490565b611be5806103d95f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80634f6ccce711610109578063a3f4df7e1161009e578063caa0f92a1161006e578063caa0f92a1461040c578063e985e9c514610414578063f21de1e814610427578063f76f8d7814610438575f80fd5b8063a3f4df7e146103cb578063b88d4fde146103d3578063c2c75839146103e6578063c87b56dd146103f9575f80fd5b8063862440e2116100d9578063862440e21461039557806395d89b41146103a8578063a22cb465146103b0578063a2309ff8146103c3575f80fd5b80634f6ccce714610353578063598e2892146103665780636352211e1461036f57806370a0823114610382575f80fd5b806323b872dd1161017f57806340c10f191161014f57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e7914610329575f80fd5b806323b872dd146102995780632e85b1f3146102ac5780632f745c59146102b5578063342ec443146102c8575f80fd5b8063081812fc116101ba578063081812fc1461023e578063095ea7b31461026957806318160ddd1461027e578063221375a614610286575f80fd5b806301ffc9a7146101e05780630559ea471461020857806306fdde0314610229575b5f80fd5b6101f36101ee36600461150f565b61045d565b60405190151581526020015b60405180910390f35b61021b61021636600461152a565b610487565b6040519081526020016101ff565b6102316104b9565b6040516101ff919061156f565b61025161024c36600461152a565b610548565b6040516001600160a01b0390911681526020016101ff565b61027c61027736600461159c565b61056f565b005b60085461021b565b61021b61029436600461166d565b61057e565b61027c6102a73660046116c7565b610691565b61021b61083581565b61021b6102c336600461159c565b610733565b6102516102d636600461152a565b5f908152600a60205260409020546001600160a01b031690565b61027c6102fe36600461159c565b610796565b61027c6103113660046116c7565b6107ce565b61027c61032436600461152a565b6107e8565b6101f361033736600461152a565b5f908152600260205260409020546001600160a01b0316151590565b61021b61036136600461152a565b610841565b61021b61044d81565b61025161037d36600461152a565b610896565b61021b610390366004611701565b6108a0565b61027c6103a336600461171a565b6108e5565b61023161098d565b61027c6103be36600461175e565b61099c565b60105461021b565b6102316109a7565b61027c6103e1366004611797565b6109c3565b61021b6103f436600461180e565b6109e0565b61023161040736600461152a565b610a6a565b61021b610b11565b6101f361042236600461182e565b610b22565b600c546001600160a01b0316610251565b6102316040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610481575061048182610b4f565b92915050565b5f600d5446600e548461049a9190611873565b6104a4919061188a565b6104af906064611873565b610481919061188a565b60605f80546104c79061189d565b80601f01602080910402602001604051908101604052809291908181526020018280546104f39061189d565b801561053e5780601f106105155761010080835404028352916020019161053e565b820191905f5260205f20905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b5f61055282610b9e565b505f828152600460205260409020546001600160a01b0316610481565b61057a828233610bd6565b5050565b600c545f906001600160a01b031633146105b257604051636db0231160e11b81523360048201526024015b60405180910390fd5b6105ba610be3565b90506001600160a01b038316156105f2575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b815115610612575f818152600b602052604090206106108382611919565b505b61061d848285610c08565b6001600160a01b0383161561068a5760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e59906044015f604051808303815f87803b158015610673575f80fd5b505af1158015610685573d5f803e3d5ffd5b505050505b9392505050565b61069c838383610c67565b5f818152600a60205260409020546001600160a01b03161561072e575f818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb86906064015f604051808303815f87803b158015610717575f80fd5b505af1158015610729573d5f803e3d5ffd5b505050505b505050565b5f61073d836108a0565b821061076e5760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a9565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107c357604051636db0231160e11b81523360048201526024016105a9565b61057a82825f610c08565b61072e83838360405180602001604052805f8152506109c3565b600c546001600160a01b0316331461081557604051636db0231160e11b81523360048201526024016105a9565b61081e81610b9e565b5061082881610cea565b5f818152600b6020526040812061083e916114b0565b50565b5f61084b60085490565b82106108735760405163295f44f760e21b81525f6004820152602481018390526044016105a9565b60088281548110610886576108866119d4565b905f5260205f2001549050919050565b5f61048182610b9e565b5f6001600160a01b0382166108ca576040516322718ad960e21b81525f60048201526024016105a9565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b0316331461091257604051636db0231160e11b81523360048201526024016105a9565b80515f0361093357604051639827d56160e01b815260040160405180910390fd5b5f828152600b60205260408120805461094b9061189d565b9050111561096c576040516310500e0d60e11b815260040160405180910390fd5b61097582610b9e565b505f828152600b6020526040902061072e8282611919565b6060600180546104c79061189d565b61057a338383610d22565b604051806060016040528060248152602001611b8c6024913981565b6109ce848484610691565b6109da84848484610dc0565b50505050565b5f468203610a2057600d5482600e54856109fa9190611873565b610a04919061188a565b610a0f906064611873565b610a19919061188a565b9050610481565b5f610a2a83610ee6565b90508083610a3982600a611acb565b610a439087611873565b610a4d919061188a565b610a58906064611873565b610a62919061188a565b915050610481565b6060610a7582610b9e565b505f828152600b602052604090208054610a8e9061189d565b80601f0160208091040260200160405190810160405280929190818152602001828054610aba9061189d565b8015610b055780601f10610adc57610100808354040283529160200191610b05565b820191905f5260205f20905b815481529060010190602001808311610ae857829003601f168201915b50505050509050919050565b5f610b1d600f54610487565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610b7f57506001600160e01b03198216635b5e139f60e01b145b8061048157506301ffc9a760e01b6001600160e01b0319831614610481565b5f818152600260205260408120546001600160a01b03168061048157604051637e27328960e01b8152600481018490526024016105a9565b61072e8383836001610f10565b5f610bef600f54610487565b600f80549192505f610c0083611ad6565b919050555090565b604080518381526001600160a01b03831660208201527f453826441818dd705229212b6345c5fbc2094ee234f134ae2cb2bdf74dc1ccfe910160405180910390a160108054905f610c5883611ad6565b919050555061072e8383611014565b6001600160a01b038216610c9057604051633250574960e11b81525f60048201526024016105a9565b5f610c9c83833361102d565b9050836001600160a01b0316816001600160a01b0316146109da576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a9565b5f610cf65f835f61102d565b90506001600160a01b03811661057a57604051637e27328960e01b8152600481018390526024016105a9565b6001600160a01b038216610d5457604051630b61174360e31b81526001600160a01b03831660048201526024016105a9565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156109da57604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610e02903390889087908790600401611aee565b6020604051808303815f875af1925050508015610e3c575060408051601f3d908101601f19168201909252610e3991810190611b2a565b60015b610ea3573d808015610e69576040519150601f19603f3d011682016040523d82523d5f602084013e610e6e565b606091505b5080515f03610e9b57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610edf57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b5050505050565b5f81815b811561068a5780610efa81611ad6565b9150610f099050600a83611b45565b9150610eea565b8080610f2457506001600160a01b03821615155b15610fe5575f610f3384610b9e565b90506001600160a01b03831615801590610f5f5750826001600160a01b0316816001600160a01b031614155b8015610f725750610f708184610b22565b155b15610f9b5760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a9565b8115610fe35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61057a828260405180602001604052805f815250611100565b5f8061103a858585611116565b90506001600160a01b0381166110965761109184600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6110b9565b846001600160a01b0316816001600160a01b0316146110b9576110b98185611208565b6001600160a01b0385166110d5576110d084611295565b6110f8565b846001600160a01b0316816001600160a01b0316146110f8576110f8858561133c565b949350505050565b61110a838361138a565b61072e5f848484610dc0565b5f828152600260205260408120546001600160a01b0390811690831615611142576111428184866113eb565b6001600160a01b0381161561117c5761115d5f855f80610f10565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b038516156111aa576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f611212836108a0565b5f83815260076020526040902054909150808214611263576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f906112a690600190611b64565b5f83815260096020526040812054600880549394509092849081106112cd576112cd6119d4565b905f5260205f200154905080600883815481106112ec576112ec6119d4565b5f91825260208083209091019290925582815260099091526040808220849055858252812055600880548061132357611323611b77565b600190038181905f5260205f20015f9055905550505050565b5f6001611348846108a0565b6113529190611b64565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166113b357604051633250574960e11b81525f60048201526024016105a9565b5f6113bf83835f61102d565b90506001600160a01b0381161561072e576040516339e3563760e11b81525f60048201526024016105a9565b6113f683838361144f565b61072e576001600160a01b03831661142457604051637e27328960e01b8152600481018290526024016105a9565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a9565b5f6001600160a01b038316158015906110f85750826001600160a01b0316846001600160a01b0316148061148857506114888484610b22565b806110f85750505f908152600460205260409020546001600160a01b03908116911614919050565b5080546114bc9061189d565b5f825580601f106114cb575050565b601f0160209004905f5260205f209081019061083e91905b808211156114f6575f81556001016114e3565b5090565b6001600160e01b03198116811461083e575f80fd5b5f6020828403121561151f575f80fd5b813561068a816114fa565b5f6020828403121561153a575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61068a6020830184611541565b80356001600160a01b0381168114611597575f80fd5b919050565b5f80604083850312156115ad575f80fd5b6115b683611581565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff8411156115f2576115f26115c4565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff82111715611621576116216115c4565b604052838152905080828401851015611638575f80fd5b838360208301375f60208583010152509392505050565b5f82601f83011261165e575f80fd5b61068a838335602085016115d8565b5f805f6060848603121561167f575f80fd5b61168884611581565b925061169660208501611581565b9150604084013567ffffffffffffffff8111156116b1575f80fd5b6116bd8682870161164f565b9150509250925092565b5f805f606084860312156116d9575f80fd5b6116e284611581565b92506116f060208501611581565b929592945050506040919091013590565b5f60208284031215611711575f80fd5b61068a82611581565b5f806040838503121561172b575f80fd5b82359150602083013567ffffffffffffffff811115611748575f80fd5b6117548582860161164f565b9150509250929050565b5f806040838503121561176f575f80fd5b61177883611581565b91506020830135801515811461178c575f80fd5b809150509250929050565b5f805f80608085870312156117aa575f80fd5b6117b385611581565b93506117c160208601611581565b925060408501359150606085013567ffffffffffffffff8111156117e3575f80fd5b8501601f810187136117f3575f80fd5b611802878235602084016115d8565b91505092959194509250565b5f806040838503121561181f575f80fd5b50508035926020909101359150565b5f806040838503121561183f575f80fd5b61184883611581565b915061185660208401611581565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176104815761048161185f565b808201808211156104815761048161185f565b600181811c908216806118b157607f821691505b6020821081036118cf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561072e57805f5260205f20601f840160051c810160208510156118fa5750805b601f840160051c820191505b81811015610edf575f8155600101611906565b815167ffffffffffffffff811115611933576119336115c4565b61194781611941845461189d565b846118d5565b6020601f821160018114611979575f83156119625750848201515b5f19600385901b1c1916600184901b178455610edf565b5f84815260208120601f198516915b828110156119a85787850151825560209485019460019092019101611988565b50848210156119c557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b6001815b6001841115611a2357808504811115611a0757611a0761185f565b6001841615611a1557908102905b60019390931c9280026119ec565b935093915050565b5f82611a3957506001610481565b81611a4557505f610481565b8160018114611a5b5760028114611a6557611a81565b6001915050610481565b60ff841115611a7657611a7661185f565b50506001821b610481565b5060208310610133831016604e8410600b8410161715611aa4575081810a610481565b611ab05f1984846119e8565b805f1904821115611ac357611ac361185f565b029392505050565b5f61068a8383611a2b565b5f60018201611ae757611ae761185f565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611b2090830184611541565b9695505050505050565b5f60208284031215611b3a575f80fd5b815161068a816114fa565b5f82611b5f57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156104815761048161185f565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220088a8a12ef78b7fb1df8cf7c80e97359552c2e07b9c34afcb9f37b994bbea67764736f6c634300081a003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
824
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80634f6ccce711610109578063a3f4df7e1161009e578063caa0f92a1161006e578063caa0f92a1461040c578063e985e9c514610414578063f21de1e814610427578063f76f8d7814610438575f80fd5b8063a3f4df7e146103cb578063b88d4fde146103d3578063c2c75839146103e6578063c87b56dd146103f9575f80fd5b8063862440e2116100d9578063862440e21461039557806395d89b41146103a8578063a22cb465146103b0578063a2309ff8146103c3575f80fd5b80634f6ccce714610353578063598e2892146103665780636352211e1461036f57806370a0823114610382575f80fd5b806323b872dd1161017f57806340c10f191161014f57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e7914610329575f80fd5b806323b872dd146102995780632e85b1f3146102ac5780632f745c59146102b5578063342ec443146102c8575f80fd5b8063081812fc116101ba578063081812fc1461023e578063095ea7b31461026957806318160ddd1461027e578063221375a614610286575f80fd5b806301ffc9a7146101e05780630559ea471461020857806306fdde0314610229575b5f80fd5b6101f36101ee36600461150f565b61045d565b60405190151581526020015b60405180910390f35b61021b61021636600461152a565b610487565b6040519081526020016101ff565b6102316104b9565b6040516101ff919061156f565b61025161024c36600461152a565b610548565b6040516001600160a01b0390911681526020016101ff565b61027c61027736600461159c565b61056f565b005b60085461021b565b61021b61029436600461166d565b61057e565b61027c6102a73660046116c7565b610691565b61021b61083581565b61021b6102c336600461159c565b610733565b6102516102d636600461152a565b5f908152600a60205260409020546001600160a01b031690565b61027c6102fe36600461159c565b610796565b61027c6103113660046116c7565b6107ce565b61027c61032436600461152a565b6107e8565b6101f361033736600461152a565b5f908152600260205260409020546001600160a01b0316151590565b61021b61036136600461152a565b610841565b61021b61044d81565b61025161037d36600461152a565b610896565b61021b610390366004611701565b6108a0565b61027c6103a336600461171a565b6108e5565b61023161098d565b61027c6103be36600461175e565b61099c565b60105461021b565b6102316109a7565b61027c6103e1366004611797565b6109c3565b61021b6103f436600461180e565b6109e0565b61023161040736600461152a565b610a6a565b61021b610b11565b6101f361042236600461182e565b610b22565b600c546001600160a01b0316610251565b6102316040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610481575061048182610b4f565b92915050565b5f600d5446600e548461049a9190611873565b6104a4919061188a565b6104af906064611873565b610481919061188a565b60605f80546104c79061189d565b80601f01602080910402602001604051908101604052809291908181526020018280546104f39061189d565b801561053e5780601f106105155761010080835404028352916020019161053e565b820191905f5260205f20905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b5f61055282610b9e565b505f828152600460205260409020546001600160a01b0316610481565b61057a828233610bd6565b5050565b600c545f906001600160a01b031633146105b257604051636db0231160e11b81523360048201526024015b60405180910390fd5b6105ba610be3565b90506001600160a01b038316156105f2575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b815115610612575f818152600b602052604090206106108382611919565b505b61061d848285610c08565b6001600160a01b0383161561068a5760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e59906044015f604051808303815f87803b158015610673575f80fd5b505af1158015610685573d5f803e3d5ffd5b505050505b9392505050565b61069c838383610c67565b5f818152600a60205260409020546001600160a01b03161561072e575f818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb86906064015f604051808303815f87803b158015610717575f80fd5b505af1158015610729573d5f803e3d5ffd5b505050505b505050565b5f61073d836108a0565b821061076e5760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a9565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107c357604051636db0231160e11b81523360048201526024016105a9565b61057a82825f610c08565b61072e83838360405180602001604052805f8152506109c3565b600c546001600160a01b0316331461081557604051636db0231160e11b81523360048201526024016105a9565b61081e81610b9e565b5061082881610cea565b5f818152600b6020526040812061083e916114b0565b50565b5f61084b60085490565b82106108735760405163295f44f760e21b81525f6004820152602481018390526044016105a9565b60088281548110610886576108866119d4565b905f5260205f2001549050919050565b5f61048182610b9e565b5f6001600160a01b0382166108ca576040516322718ad960e21b81525f60048201526024016105a9565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b0316331461091257604051636db0231160e11b81523360048201526024016105a9565b80515f0361093357604051639827d56160e01b815260040160405180910390fd5b5f828152600b60205260408120805461094b9061189d565b9050111561096c576040516310500e0d60e11b815260040160405180910390fd5b61097582610b9e565b505f828152600b6020526040902061072e8282611919565b6060600180546104c79061189d565b61057a338383610d22565b604051806060016040528060248152602001611b8c6024913981565b6109ce848484610691565b6109da84848484610dc0565b50505050565b5f468203610a2057600d5482600e54856109fa9190611873565b610a04919061188a565b610a0f906064611873565b610a19919061188a565b9050610481565b5f610a2a83610ee6565b90508083610a3982600a611acb565b610a439087611873565b610a4d919061188a565b610a58906064611873565b610a62919061188a565b915050610481565b6060610a7582610b9e565b505f828152600b602052604090208054610a8e9061189d565b80601f0160208091040260200160405190810160405280929190818152602001828054610aba9061189d565b8015610b055780601f10610adc57610100808354040283529160200191610b05565b820191905f5260205f20905b815481529060010190602001808311610ae857829003601f168201915b50505050509050919050565b5f610b1d600f54610487565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610b7f57506001600160e01b03198216635b5e139f60e01b145b8061048157506301ffc9a760e01b6001600160e01b0319831614610481565b5f818152600260205260408120546001600160a01b03168061048157604051637e27328960e01b8152600481018490526024016105a9565b61072e8383836001610f10565b5f610bef600f54610487565b600f80549192505f610c0083611ad6565b919050555090565b604080518381526001600160a01b03831660208201527f453826441818dd705229212b6345c5fbc2094ee234f134ae2cb2bdf74dc1ccfe910160405180910390a160108054905f610c5883611ad6565b919050555061072e8383611014565b6001600160a01b038216610c9057604051633250574960e11b81525f60048201526024016105a9565b5f610c9c83833361102d565b9050836001600160a01b0316816001600160a01b0316146109da576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a9565b5f610cf65f835f61102d565b90506001600160a01b03811661057a57604051637e27328960e01b8152600481018390526024016105a9565b6001600160a01b038216610d5457604051630b61174360e31b81526001600160a01b03831660048201526024016105a9565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156109da57604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610e02903390889087908790600401611aee565b6020604051808303815f875af1925050508015610e3c575060408051601f3d908101601f19168201909252610e3991810190611b2a565b60015b610ea3573d808015610e69576040519150601f19603f3d011682016040523d82523d5f602084013e610e6e565b606091505b5080515f03610e9b57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610edf57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b5050505050565b5f81815b811561068a5780610efa81611ad6565b9150610f099050600a83611b45565b9150610eea565b8080610f2457506001600160a01b03821615155b15610fe5575f610f3384610b9e565b90506001600160a01b03831615801590610f5f5750826001600160a01b0316816001600160a01b031614155b8015610f725750610f708184610b22565b155b15610f9b5760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a9565b8115610fe35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61057a828260405180602001604052805f815250611100565b5f8061103a858585611116565b90506001600160a01b0381166110965761109184600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6110b9565b846001600160a01b0316816001600160a01b0316146110b9576110b98185611208565b6001600160a01b0385166110d5576110d084611295565b6110f8565b846001600160a01b0316816001600160a01b0316146110f8576110f8858561133c565b949350505050565b61110a838361138a565b61072e5f848484610dc0565b5f828152600260205260408120546001600160a01b0390811690831615611142576111428184866113eb565b6001600160a01b0381161561117c5761115d5f855f80610f10565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b038516156111aa576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f611212836108a0565b5f83815260076020526040902054909150808214611263576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f906112a690600190611b64565b5f83815260096020526040812054600880549394509092849081106112cd576112cd6119d4565b905f5260205f200154905080600883815481106112ec576112ec6119d4565b5f91825260208083209091019290925582815260099091526040808220849055858252812055600880548061132357611323611b77565b600190038181905f5260205f20015f9055905550505050565b5f6001611348846108a0565b6113529190611b64565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166113b357604051633250574960e11b81525f60048201526024016105a9565b5f6113bf83835f61102d565b90506001600160a01b0381161561072e576040516339e3563760e11b81525f60048201526024016105a9565b6113f683838361144f565b61072e576001600160a01b03831661142457604051637e27328960e01b8152600481018290526024016105a9565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a9565b5f6001600160a01b038316158015906110f85750826001600160a01b0316846001600160a01b0316148061148857506114888484610b22565b806110f85750505f908152600460205260409020546001600160a01b03908116911614919050565b5080546114bc9061189d565b5f825580601f106114cb575050565b601f0160209004905f5260205f209081019061083e91905b808211156114f6575f81556001016114e3565b5090565b6001600160e01b03198116811461083e575f80fd5b5f6020828403121561151f575f80fd5b813561068a816114fa565b5f6020828403121561153a575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61068a6020830184611541565b80356001600160a01b0381168114611597575f80fd5b919050565b5f80604083850312156115ad575f80fd5b6115b683611581565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff8411156115f2576115f26115c4565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff82111715611621576116216115c4565b604052838152905080828401851015611638575f80fd5b838360208301375f60208583010152509392505050565b5f82601f83011261165e575f80fd5b61068a838335602085016115d8565b5f805f6060848603121561167f575f80fd5b61168884611581565b925061169660208501611581565b9150604084013567ffffffffffffffff8111156116b1575f80fd5b6116bd8682870161164f565b9150509250925092565b5f805f606084860312156116d9575f80fd5b6116e284611581565b92506116f060208501611581565b929592945050506040919091013590565b5f60208284031215611711575f80fd5b61068a82611581565b5f806040838503121561172b575f80fd5b82359150602083013567ffffffffffffffff811115611748575f80fd5b6117548582860161164f565b9150509250929050565b5f806040838503121561176f575f80fd5b61177883611581565b91506020830135801515811461178c575f80fd5b809150509250929050565b5f805f80608085870312156117aa575f80fd5b6117b385611581565b93506117c160208601611581565b925060408501359150606085013567ffffffffffffffff8111156117e3575f80fd5b8501601f810187136117f3575f80fd5b611802878235602084016115d8565b91505092959194509250565b5f806040838503121561181f575f80fd5b50508035926020909101359150565b5f806040838503121561183f575f80fd5b61184883611581565b915061185660208401611581565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176104815761048161185f565b808201808211156104815761048161185f565b600181811c908216806118b157607f821691505b6020821081036118cf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561072e57805f5260205f20601f840160051c810160208510156118fa5750805b601f840160051c820191505b81811015610edf575f8155600101611906565b815167ffffffffffffffff811115611933576119336115c4565b61194781611941845461189d565b846118d5565b6020601f821160018114611979575f83156119625750848201515b5f19600385901b1c1916600184901b178455610edf565b5f84815260208120601f198516915b828110156119a85787850151825560209485019460019092019101611988565b50848210156119c557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b6001815b6001841115611a2357808504811115611a0757611a0761185f565b6001841615611a1557908102905b60019390931c9280026119ec565b935093915050565b5f82611a3957506001610481565b81611a4557505f610481565b8160018114611a5b5760028114611a6557611a81565b6001915050610481565b60ff841115611a7657611a7661185f565b50506001821b610481565b5060208310610133831016604e8410600b8410161715611aa4575081810a610481565b611ab05f1984846119e8565b805f1904821115611ac357611ac361185f565b029392505050565b5f61068a8383611a2b565b5f60018201611ae757611ae761185f565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611b2090830184611541565b9695505050505050565b5f60208284031215611b3a575f80fd5b815161068a816114fa565b5f82611b5f57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156104815761048161185f565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220088a8a12ef78b7fb1df8cf7c80e97359552c2e07b9c34afcb9f37b994bbea67764736f6c634300081a0033",
782
825
  "linkReferences": {},
783
826
  "deployedLinkReferences": {}
784
827
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/42b837ae2eb6643d99d8e8b4ec6e9c78.json"
3
+ "buildInfo": "../../../build-info/36584fefa2ccd62790a37608c0192411.json"
4
4
  }
@@ -5,12 +5,66 @@
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [],
8
- "name": "ErrorRegistryCallerNotRegistryService",
8
+ "name": "ErrorRegistryCallerNotDeployer",
9
9
  "type": "error"
10
10
  },
11
11
  {
12
- "inputs": [],
13
- "name": "ErrorRegistryCallerNotReleaseRegistry",
12
+ "inputs": [
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "uint256",
20
+ "name": "chainId",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "ErrorRegistryChainRegistryAddressZero",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "NftId",
31
+ "name": "nftId",
32
+ "type": "uint96"
33
+ },
34
+ {
35
+ "internalType": "uint256",
36
+ "name": "chainId",
37
+ "type": "uint256"
38
+ }
39
+ ],
40
+ "name": "ErrorRegistryChainRegistryAlreadyRegistered",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "NftId",
47
+ "name": "nftId",
48
+ "type": "uint96"
49
+ }
50
+ ],
51
+ "name": "ErrorRegistryChainRegistryChainIdZero",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "nftId",
59
+ "type": "uint96"
60
+ },
61
+ {
62
+ "internalType": "uint256",
63
+ "name": "chainId",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "ErrorRegistryChainRegistryNftIdInvalid",
14
68
  "type": "error"
15
69
  },
16
70
  {
@@ -33,32 +87,27 @@
33
87
  "inputs": [
34
88
  {
35
89
  "internalType": "address",
36
- "name": "service",
90
+ "name": "objectAddress",
37
91
  "type": "address"
38
92
  },
39
- {
40
- "internalType": "VersionPart",
41
- "name": "version",
42
- "type": "uint8"
43
- },
44
93
  {
45
94
  "internalType": "ObjectType",
46
- "name": "domain",
95
+ "name": "objectType",
47
96
  "type": "uint8"
48
97
  }
49
98
  ],
50
- "name": "ErrorRegistryDomainAlreadyRegistered",
99
+ "name": "ErrorRegistryGlobalRegistryAsParent",
51
100
  "type": "error"
52
101
  },
53
102
  {
54
103
  "inputs": [
55
104
  {
56
- "internalType": "address",
57
- "name": "service",
58
- "type": "address"
105
+ "internalType": "uint256",
106
+ "name": "chainId",
107
+ "type": "uint256"
59
108
  }
60
109
  ],
61
- "name": "ErrorRegistryDomainZero",
110
+ "name": "ErrorRegistryNotOnMainnet",
62
111
  "type": "error"
63
112
  },
64
113
  {
@@ -79,7 +128,7 @@
79
128
  },
80
129
  {
81
130
  "inputs": [],
82
- "name": "ErrorRegistryParentAddressZero",
131
+ "name": "ErrorRegistryServiceAddressZero",
83
132
  "type": "error"
84
133
  },
85
134
  {
@@ -88,18 +137,49 @@
88
137
  "internalType": "address",
89
138
  "name": "service",
90
139
  "type": "address"
140
+ },
141
+ {
142
+ "internalType": "VersionPart",
143
+ "name": "version",
144
+ "type": "uint8"
145
+ },
146
+ {
147
+ "internalType": "ObjectType",
148
+ "name": "domain",
149
+ "type": "uint8"
91
150
  }
92
151
  ],
93
- "name": "ErrorRegistryService",
152
+ "name": "ErrorRegistryServiceDomainAlreadyRegistered",
94
153
  "type": "error"
95
154
  },
96
155
  {
97
- "inputs": [],
98
- "name": "ErrorRegistryServiceAddressZero",
156
+ "inputs": [
157
+ {
158
+ "internalType": "address",
159
+ "name": "service",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "internalType": "VersionPart",
164
+ "name": "version",
165
+ "type": "uint8"
166
+ }
167
+ ],
168
+ "name": "ErrorRegistryServiceDomainZero",
99
169
  "type": "error"
100
170
  },
101
171
  {
102
172
  "inputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "service",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "internalType": "VersionPart",
180
+ "name": "version",
181
+ "type": "uint8"
182
+ },
103
183
  {
104
184
  "internalType": "NftId",
105
185
  "name": "parentNftId",
@@ -110,12 +190,23 @@
110
190
  "type": "error"
111
191
  },
112
192
  {
113
- "inputs": [],
193
+ "inputs": [
194
+ {
195
+ "internalType": "address",
196
+ "name": "service",
197
+ "type": "address"
198
+ }
199
+ ],
114
200
  "name": "ErrorRegistryServiceVersionZero",
115
201
  "type": "error"
116
202
  },
117
203
  {
118
204
  "inputs": [
205
+ {
206
+ "internalType": "address",
207
+ "name": "objectAddress",
208
+ "type": "address"
209
+ },
119
210
  {
120
211
  "internalType": "ObjectType",
121
212
  "name": "objectType",
@@ -130,6 +221,31 @@
130
221
  "name": "ErrorRegistryTypesCombinationInvalid",
131
222
  "type": "error"
132
223
  },
224
+ {
225
+ "anonymous": false,
226
+ "inputs": [
227
+ {
228
+ "indexed": false,
229
+ "internalType": "NftId",
230
+ "name": "nftId",
231
+ "type": "uint96"
232
+ },
233
+ {
234
+ "indexed": false,
235
+ "internalType": "uint256",
236
+ "name": "chainId",
237
+ "type": "uint256"
238
+ },
239
+ {
240
+ "indexed": false,
241
+ "internalType": "address",
242
+ "name": "chainRegistryAddress",
243
+ "type": "address"
244
+ }
245
+ ],
246
+ "name": "LogChainRegistryRegistration",
247
+ "type": "event"
248
+ },
133
249
  {
134
250
  "anonymous": false,
135
251
  "inputs": [
@@ -192,6 +308,19 @@
192
308
  "name": "LogServiceRegistration",
193
309
  "type": "event"
194
310
  },
311
+ {
312
+ "inputs": [],
313
+ "name": "chainIds",
314
+ "outputs": [
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
195
324
  {
196
325
  "inputs": [],
197
326
  "name": "getAuthority",
@@ -205,6 +334,25 @@
205
334
  "stateMutability": "view",
206
335
  "type": "function"
207
336
  },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "uint256",
341
+ "name": "idx",
342
+ "type": "uint256"
343
+ }
344
+ ],
345
+ "name": "getChainId",
346
+ "outputs": [
347
+ {
348
+ "internalType": "uint256",
349
+ "name": "",
350
+ "type": "uint256"
351
+ }
352
+ ],
353
+ "stateMutability": "view",
354
+ "type": "function"
355
+ },
208
356
  {
209
357
  "inputs": [],
210
358
  "name": "getChainNftAddress",
@@ -278,7 +426,7 @@
278
426
  "type": "address"
279
427
  }
280
428
  ],
281
- "name": "getNftId",
429
+ "name": "getNftIdForAddress",
282
430
  "outputs": [
283
431
  {
284
432
  "internalType": "NftId",
@@ -453,6 +601,25 @@
453
601
  "stateMutability": "view",
454
602
  "type": "function"
455
603
  },
604
+ {
605
+ "inputs": [
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "chainId",
609
+ "type": "uint256"
610
+ }
611
+ ],
612
+ "name": "getRegistryNftId",
613
+ "outputs": [
614
+ {
615
+ "internalType": "NftId",
616
+ "name": "nftId",
617
+ "type": "uint96"
618
+ }
619
+ ],
620
+ "stateMutability": "nonpayable",
621
+ "type": "function"
622
+ },
456
623
  {
457
624
  "inputs": [
458
625
  {
@@ -465,6 +632,11 @@
465
632
  "outputs": [
466
633
  {
467
634
  "components": [
635
+ {
636
+ "internalType": "StateId",
637
+ "name": "state",
638
+ "type": "uint8"
639
+ },
468
640
  {
469
641
  "internalType": "VersionPart",
470
642
  "name": "version",
@@ -490,6 +662,11 @@
490
662
  "name": "domains",
491
663
  "type": "uint8[]"
492
664
  },
665
+ {
666
+ "internalType": "contract IServiceAuthorization",
667
+ "name": "auth",
668
+ "type": "address"
669
+ },
493
670
  {
494
671
  "internalType": "Timestamp",
495
672
  "name": "activatedAt",
@@ -761,6 +938,29 @@
761
938
  "stateMutability": "nonpayable",
762
939
  "type": "function"
763
940
  },
941
+ {
942
+ "inputs": [
943
+ {
944
+ "internalType": "NftId",
945
+ "name": "nftId",
946
+ "type": "uint96"
947
+ },
948
+ {
949
+ "internalType": "uint256",
950
+ "name": "chainId",
951
+ "type": "uint256"
952
+ },
953
+ {
954
+ "internalType": "address",
955
+ "name": "chainRegistryAddress",
956
+ "type": "address"
957
+ }
958
+ ],
959
+ "name": "registerRegistry",
960
+ "outputs": [],
961
+ "stateMutability": "nonpayable",
962
+ "type": "function"
963
+ },
764
964
  {
765
965
  "inputs": [
766
966
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/42b837ae2eb6643d99d8e8b4ec6e9c78.json"
3
+ "buildInfo": "../../../build-info/36584fefa2ccd62790a37608c0192411.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/42b837ae2eb6643d99d8e8b4ec6e9c78.json"
3
+ "buildInfo": "../../../build-info/36584fefa2ccd62790a37608c0192411.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/42b837ae2eb6643d99d8e8b4ec6e9c78.json"
3
+ "buildInfo": "../../../build-info/36584fefa2ccd62790a37608c0192411.json"
4
4
  }