@etherisc/gif-next 0.0.2-fd4931b-974 → 0.0.2-fd9539f-062

Sign up to get free protection for your applications and to get access to all the features.
Files changed (432) hide show
  1. package/README.md +20 -3
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +19 -13
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +115 -80
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +86 -59
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +11 -5
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +20 -1
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +32 -101
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +83 -71
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +121 -12
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +105 -85
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +1 -1
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +125 -29
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +195 -64
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +206 -49
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +79 -36
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +248 -118
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  36. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  38. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +2 -71
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  42. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  47. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  48. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  49. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  50. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +10 -0
  51. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  52. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
  53. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  54. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  55. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  56. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
  57. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  58. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  59. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  60. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  61. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  62. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +91 -48
  63. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  64. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +74 -43
  65. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  66. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +20 -1
  67. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  68. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +11 -5
  69. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  70. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +35 -1
  71. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  72. package/artifacts/contracts/pool/Pool.sol/Pool.json +18 -12
  73. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  74. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +84 -42
  75. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  76. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +63 -40
  77. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  78. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +79 -36
  79. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +68 -37
  81. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  82. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +119 -68
  83. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +88 -53
  85. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  86. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +20 -1
  87. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  88. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +20 -1
  89. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  90. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +20 -1
  91. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  92. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +20 -1
  93. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  94. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +11 -5
  95. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
  96. package/artifacts/contracts/product/IProductService.sol/IProductService.json +20 -1
  97. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  98. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +97 -46
  99. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  100. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +77 -42
  101. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  102. package/artifacts/contracts/product/PricingService.sol/PricingService.json +105 -62
  103. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  104. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +81 -50
  105. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  106. package/artifacts/contracts/product/Product.sol/Product.json +18 -12
  107. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
  108. package/artifacts/contracts/product/ProductService.sol/ProductService.json +61 -26
  109. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +59 -32
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +82 -45
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -1
  117. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +254 -97
  122. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1901 -0
  124. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +69 -15
  126. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +51 -35
  128. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  129. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +288 -182
  130. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
  132. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  135. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +46 -177
  136. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  137. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
  138. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  139. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  140. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  141. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
  142. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
  144. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
  146. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
  148. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Component.sol/Component.json +18 -12
  150. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  151. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +119 -69
  152. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +85 -54
  154. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  155. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +20 -1
  156. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  157. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  158. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
  160. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  162. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  164. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  165. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +11 -5
  166. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  167. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +27 -1
  168. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  169. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +11 -5
  170. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  171. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +0 -10
  172. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  173. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  175. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  176. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  177. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  178. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  179. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  180. package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
  181. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  182. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  183. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  184. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  185. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +18 -12
  186. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  187. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +10 -20
  188. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  189. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +6 -6
  190. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +1 -1
  191. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +27 -35
  192. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +13 -7
  194. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  195. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +6 -6
  196. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  197. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +35 -16
  198. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  199. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +15 -9
  200. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  201. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  202. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  203. package/artifacts/contracts/shared/Service.sol/Service.json +20 -1
  204. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  205. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +6 -6
  206. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  207. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  208. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  209. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  210. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +247 -579
  211. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  212. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +471 -62
  213. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  214. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  215. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  216. package/artifacts/contracts/staking/Staking.sol/Staking.json +303 -798
  217. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  218. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +81 -164
  219. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  220. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -39
  221. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  222. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +503 -120
  223. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  224. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +67 -43
  225. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  226. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
  227. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  228. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +281 -18
  229. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  230. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  231. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  232. package/artifacts/contracts/type/Amount.sol/AmountLib.json +68 -4
  233. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  234. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +40 -2
  235. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  236. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +4 -4
  237. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  238. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  239. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  240. package/artifacts/contracts/type/Fee.sol/FeeLib.json +12 -12
  241. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  242. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  243. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  244. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +28 -4
  245. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  246. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  247. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  248. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +96 -2
  249. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  250. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
  251. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  252. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  253. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  254. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  255. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  256. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +4 -4
  257. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +114 -4
  259. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +52 -2
  261. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  262. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  263. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  264. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  265. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  267. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  268. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  269. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +17 -4
  271. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  273. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +2 -2
  275. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  277. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +2 -2
  279. package/contracts/distribution/Distribution.sol +2 -4
  280. package/contracts/distribution/DistributionService.sol +5 -6
  281. package/contracts/distribution/DistributionServiceManager.sol +1 -13
  282. package/contracts/distribution/IDistributionComponent.sol +1 -1
  283. package/contracts/distribution/IDistributionService.sol +1 -1
  284. package/contracts/instance/BundleManager.sol +1 -1
  285. package/contracts/instance/IInstance.sol +22 -12
  286. package/contracts/instance/IInstanceService.sol +27 -13
  287. package/contracts/instance/Instance.sol +85 -50
  288. package/contracts/instance/InstanceAdmin.sol +331 -0
  289. package/contracts/instance/InstanceAuthorizationsLib.sol +193 -152
  290. package/contracts/instance/InstanceReader.sol +33 -7
  291. package/contracts/instance/InstanceService.sol +120 -48
  292. package/contracts/instance/InstanceServiceManager.sol +1 -1
  293. package/contracts/instance/InstanceStore.sol +30 -21
  294. package/contracts/instance/base/BalanceStore.sol +12 -7
  295. package/contracts/instance/base/Cloneable.sol +3 -26
  296. package/contracts/instance/base/ObjectCounter.sol +21 -0
  297. package/contracts/instance/base/ObjectManager.sol +2 -4
  298. package/contracts/instance/module/IAccess.sol +3 -11
  299. package/contracts/instance/module/IBundle.sol +1 -1
  300. package/contracts/instance/module/IComponents.sol +1 -1
  301. package/contracts/instance/module/IDistribution.sol +1 -1
  302. package/contracts/instance/module/IPolicy.sol +1 -1
  303. package/contracts/instance/module/IRisk.sol +1 -1
  304. package/contracts/mock/Dip.sol +1 -1
  305. package/contracts/oracle/IOracle.sol +20 -0
  306. package/contracts/oracle/IOracleComponent.sol +32 -0
  307. package/contracts/oracle/IOracleService.sol +65 -0
  308. package/contracts/oracle/Oracle.sol +145 -0
  309. package/contracts/oracle/OracleService.sol +278 -0
  310. package/contracts/oracle/OracleServiceManager.sol +42 -0
  311. package/contracts/pool/BundleService.sol +20 -20
  312. package/contracts/pool/BundleServiceManager.sol +1 -1
  313. package/contracts/pool/IBundleService.sol +1 -1
  314. package/contracts/pool/IPoolComponent.sol +1 -1
  315. package/contracts/pool/IPoolService.sol +4 -1
  316. package/contracts/pool/Pool.sol +1 -1
  317. package/contracts/pool/PoolService.sol +38 -10
  318. package/contracts/pool/PoolServiceManager.sol +1 -1
  319. package/contracts/product/ApplicationService.sol +6 -6
  320. package/contracts/product/ApplicationServiceManager.sol +1 -1
  321. package/contracts/product/ClaimService.sol +12 -7
  322. package/contracts/product/ClaimServiceManager.sol +1 -1
  323. package/contracts/product/IApplicationService.sol +1 -1
  324. package/contracts/product/IClaimService.sol +7 -1
  325. package/contracts/product/IPolicyService.sol +1 -1
  326. package/contracts/product/IPricingService.sol +1 -1
  327. package/contracts/product/IProductComponent.sol +1 -1
  328. package/contracts/product/IProductService.sol +1 -1
  329. package/contracts/product/PolicyService.sol +9 -7
  330. package/contracts/product/PolicyServiceManager.sol +1 -1
  331. package/contracts/product/PricingService.sol +8 -9
  332. package/contracts/product/PricingServiceManager.sol +1 -1
  333. package/contracts/product/Product.sol +1 -1
  334. package/contracts/product/ProductService.sol +6 -6
  335. package/contracts/product/ProductServiceManager.sol +1 -1
  336. package/contracts/registry/ChainNft.sol +2 -1
  337. package/contracts/registry/IRegistry.sol +21 -15
  338. package/contracts/registry/IRegistryService.sol +2 -1
  339. package/contracts/registry/IServiceAuthorization.sol +35 -0
  340. package/contracts/registry/ITransferInterceptor.sol +1 -1
  341. package/contracts/registry/Registry.sol +86 -67
  342. package/contracts/registry/RegistryAdmin.sol +333 -0
  343. package/contracts/registry/RegistryService.sol +9 -71
  344. package/contracts/registry/RegistryServiceManager.sol +2 -21
  345. package/contracts/registry/ReleaseManager.sol +219 -222
  346. package/contracts/registry/ServiceAuthorization.sol +86 -0
  347. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  348. package/contracts/registry/TokenRegistry.sol +57 -61
  349. package/contracts/shared/AccessAdmin.sol +759 -0
  350. package/contracts/shared/AccessManagerCustom.sol +741 -0
  351. package/contracts/shared/AccessManagerExtended.sol +481 -0
  352. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  353. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  354. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  355. package/contracts/shared/Component.sol +9 -14
  356. package/contracts/shared/ComponentService.sol +40 -18
  357. package/contracts/shared/ComponentServiceManager.sol +1 -1
  358. package/contracts/shared/ComponentVerifyingService.sol +14 -8
  359. package/contracts/shared/ERC165.sol +1 -1
  360. package/contracts/shared/IAccessAdmin.sol +168 -0
  361. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  362. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  363. package/contracts/shared/IComponent.sol +4 -8
  364. package/contracts/shared/IComponentService.sol +12 -1
  365. package/contracts/shared/IInstanceLinkedComponent.sol +1 -1
  366. package/contracts/shared/IKeyValueStore.sol +2 -2
  367. package/contracts/shared/ILifecycle.sol +1 -1
  368. package/contracts/shared/INftOwnable.sol +2 -2
  369. package/contracts/shared/IPolicyHolder.sol +1 -1
  370. package/contracts/shared/IRegisterable.sol +1 -1
  371. package/contracts/shared/IRegistryLinked.sol +1 -1
  372. package/contracts/shared/IService.sol +8 -1
  373. package/contracts/shared/IVersionable.sol +1 -1
  374. package/contracts/shared/InitializableCustom.sol +177 -0
  375. package/contracts/shared/InstanceLinkedComponent.sol +2 -3
  376. package/contracts/shared/KeyValueStore.sol +2 -5
  377. package/contracts/shared/Lifecycle.sol +12 -3
  378. package/contracts/shared/NftIdSetManager.sol +3 -7
  379. package/contracts/shared/NftOwnable.sol +3 -14
  380. package/contracts/shared/PolicyHolder.sol +3 -2
  381. package/contracts/shared/ProxyManager.sol +7 -3
  382. package/contracts/shared/Registerable.sol +1 -1
  383. package/contracts/shared/RegistryLinked.sol +1 -1
  384. package/contracts/shared/Service.sol +28 -22
  385. package/contracts/shared/TokenHandler.sol +1 -1
  386. package/contracts/shared/UpgradableProxyWithAdmin.sol +1 -1
  387. package/contracts/shared/Versionable.sol +1 -1
  388. package/contracts/staking/IStaking.sol +94 -39
  389. package/contracts/staking/IStakingService.sol +71 -40
  390. package/contracts/staking/StakeManagerLib.sol +231 -0
  391. package/contracts/staking/Staking.sol +303 -138
  392. package/contracts/staking/StakingManager.sol +23 -21
  393. package/contracts/staking/StakingReader.sol +120 -25
  394. package/contracts/staking/StakingService.sol +194 -77
  395. package/contracts/staking/StakingServiceManager.sol +3 -3
  396. package/contracts/staking/StakingStore.sol +613 -0
  397. package/contracts/staking/TargetManagerLib.sol +77 -11
  398. package/contracts/type/AddressSet.sol +1 -1
  399. package/contracts/type/Amount.sol +16 -2
  400. package/contracts/type/Blocknumber.sol +14 -2
  401. package/contracts/type/ClaimId.sol +1 -1
  402. package/contracts/type/DistributorType.sol +1 -1
  403. package/contracts/type/Fee.sol +1 -1
  404. package/contracts/type/Key32.sol +1 -1
  405. package/contracts/type/NftId.sol +9 -9
  406. package/contracts/type/NftIdSet.sol +1 -1
  407. package/contracts/type/ObjectType.sol +140 -68
  408. package/contracts/type/PayoutId.sol +1 -1
  409. package/contracts/type/Referral.sol +1 -1
  410. package/contracts/type/RequestId.sol +75 -0
  411. package/contracts/type/RiskId.sol +1 -1
  412. package/contracts/type/RoleId.sol +79 -21
  413. package/contracts/type/Seconds.sol +19 -1
  414. package/contracts/type/Selector.sol +102 -0
  415. package/contracts/type/StateId.sol +13 -1
  416. package/contracts/type/String.sol +53 -0
  417. package/contracts/type/Timestamp.sol +7 -3
  418. package/contracts/type/UFixed.sol +1 -1
  419. package/contracts/type/Version.sol +1 -1
  420. package/package.json +6 -3
  421. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  422. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  423. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  424. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -298
  425. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
  426. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
  427. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  428. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  429. package/contracts/instance/InstanceAccessManager.sol +0 -543
  430. package/contracts/registry/RegistryAccessManager.sol +0 -167
  431. package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
  432. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
@@ -777,8 +777,8 @@
777
777
  "type": "function"
778
778
  }
779
779
  ],
780
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001ed438038062001ed483398101604081905262000034916200012e565b60405180606001604052806024815260200162001eb06024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600460105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b611a6d80620004436000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80634f6ccce711610104578063a2309ff8116100a2578063caa0f92a11610071578063caa0f92a146103fa578063e985e9c514610402578063f21de1e814610415578063f76f8d781461042657600080fd5b8063a2309ff8146103c4578063a3f4df7e146103cc578063b88d4fde146103d4578063c87b56dd146103e757600080fd5b806370a08231116100de57806370a0823114610383578063862440e21461039657806395d89b41146103a9578063a22cb465146103b157600080fd5b80634f6ccce714610354578063598e2892146103675780636352211e1461037057600080fd5b806323b872dd1161017c57806340c10f191161014b57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e791461032957600080fd5b806323b872dd146102985780632e85b1f3146102ab5780632f745c59146102b4578063342ec443146102c757600080fd5b8063081812fc116101b8578063081812fc1461023d578063095ea7b31461026857806318160ddd1461027d578063221375a61461028557600080fd5b806301ffc9a7146101df5780630559ea471461020757806306fdde0314610228575b600080fd5b6101f26101ed366004611471565b61044b565b60405190151581526020015b60405180910390f35b61021a61021536600461148e565b610476565b6040519081526020016101fe565b6102306104ab565b6040516101fe91906114ed565b61025061024b36600461148e565b61053d565b6040516001600160a01b0390911681526020016101fe565b61027b61027636600461151c565b610566565b005b60085461021a565b61021a6102933660046115f2565b610575565b61027b6102a6366004611650565b6106a4565b61021a61083581565b61021a6102c236600461151c565b61074d565b6102506102d536600461148e565b6000908152600a60205260409020546001600160a01b031690565b61027b6102fe36600461151c565b6107b2565b61027b610311366004611650565b6107fe565b61027b61032436600461148e565b610819565b6101f261033736600461148e565b6000908152600260205260409020546001600160a01b0316151590565b61021a61036236600461148e565b610873565b61021a61044d81565b61025061037e36600461148e565b6108cc565b61021a61039136600461168c565b6108d7565b61027b6103a43660046116a7565b61091f565b6102306109ca565b61027b6103bf3660046116ee565b6109d9565b60115461021a565b6102306109e4565b61027b6103e236600461172a565b610a00565b6102306103f536600461148e565b610a1d565b61021a610ac7565b6101f26104103660046117a6565b610ad9565b600c546001600160a01b0316610250565b6102306040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082610b07565b92915050565b6000600e54600d54600f548461048c91906117ef565b6104969190611806565b6104a19060646117ef565b6104709190611806565b6060600080546104ba90611819565b80601f01602080910402602001604051908101604052809291908181526020018280546104e690611819565b80156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b5050505050905090565b600061054882610b57565b506000828152600460205260409020546001600160a01b0316610470565b610571828233610b90565b5050565b600c546000906001600160a01b031633146105aa576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b6105b2610b9d565b90506001600160a01b038316156105eb576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b81511561060c576000818152600b6020526040902061060a83826118a1565b505b6011805490600061061c83611961565b919050555061062b8482610bc4565b6001600160a01b0383161561069d5760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e5990604401600060405180830381600087803b15801561068457600080fd5b505af1158015610698573d6000803e3d6000fd5b505050505b9392505050565b6106af838383610bde565b6000818152600a60205260409020546001600160a01b031615610748576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b505050505b505050565b6000610758836108d7565b82106107895760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107df576040516399c6cd7160e01b81523360048201526024016105a1565b601180549060006107ef83611961565b91905055506105718282610bc4565b61074883838360405180602001604052806000815250610a00565b600c546001600160a01b03163314610846576040516399c6cd7160e01b81523360048201526024016105a1565b61084f81610b57565b5061085981610c63565b6000818152600b602052604081206108709161140d565b50565b600061087e60085490565b82106108a75760405163295f44f760e21b815260006004820152602481018390526044016105a1565b600882815481106108ba576108ba61197a565b90600052602060002001549050919050565b600061047082610b57565b60006001600160a01b038216610903576040516322718ad960e21b8152600060048201526024016105a1565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b0316331461094c576040516399c6cd7160e01b81523360048201526024016105a1565b805160000361096e57604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461098790611819565b905011156109a85760405163303822c760e21b815260040160405180910390fd5b6109b182610b57565b506000828152600b6020526040902061074882826118a1565b6060600180546104ba90611819565b610571338383610c9e565b604051806060016040528060248152602001611a146024913981565b610a0b8484846106a4565b610a1784848484610d3d565b50505050565b6060610a2882610b57565b506000828152600b602052604090208054610a4290611819565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611819565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b50505050509050919050565b6000610ad4601054610476565b905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610b3857506001600160e01b03198216635b5e139f60e01b145b8061047057506301ffc9a760e01b6001600160e01b0319831614610470565b6000818152600260205260408120546001600160a01b03168061047057604051637e27328960e01b8152600481018490526024016105a1565b6107488383836001610e66565b6000610baa601054610476565b601080549192506000610bbc83611961565b919050555090565b610571828260405180602001604052806000815250610f6c565b6001600160a01b038216610c0857604051633250574960e11b8152600060048201526024016105a1565b6000610c15838333610f83565b9050836001600160a01b0316816001600160a01b031614610a17576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a1565b6000610c726000836000610f83565b90506001600160a01b03811661057157604051637e27328960e01b8152600481018390526024016105a1565b6001600160a01b038216610cd057604051630b61174360e31b81526001600160a01b03831660048201526024016105a1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b15610a1757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d7f903390889087908790600401611990565b6020604051808303816000875af1925050508015610dba575060408051601f3d908101601f19168201909252610db7918101906119cd565b60015b610e23573d808015610de8576040519150601f19603f3d011682016040523d82523d6000602084013e610ded565b606091505b508051600003610e1b57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e5f57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b5050505050565b8080610e7a57506001600160a01b03821615155b15610f3c576000610e8a84610b57565b90506001600160a01b03831615801590610eb65750826001600160a01b0316816001600160a01b031614155b8015610ec95750610ec78184610ad9565b155b15610ef25760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a1565b8115610f3a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f768383611058565b6107486000848484610d3d565b600080610f918585856110bd565b90506001600160a01b038116610fee57610fe984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611011565b846001600160a01b0316816001600160a01b0316146110115761101181856111b6565b6001600160a01b03851661102d5761102884611247565b611050565b846001600160a01b0316816001600160a01b0316146110505761105085856112f6565b949350505050565b6001600160a01b03821661108257604051633250574960e11b8152600060048201526024016105a1565b600061109083836000610f83565b90506001600160a01b03811615610748576040516339e3563760e11b8152600060048201526024016105a1565b6000828152600260205260408120546001600160a01b03908116908316156110ea576110ea818486611346565b6001600160a01b0381161561112857611107600085600080610e66565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611157576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006111c1836108d7565b600083815260076020526040902054909150808214611214576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611259906001906119ea565b600083815260096020526040812054600880549394509092849081106112815761128161197a565b9060005260206000200154905080600883815481106112a2576112a261197a565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806112da576112da6119fd565b6001900381819060005260206000200160009055905550505050565b60006001611303846108d7565b61130d91906119ea565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6113518383836113aa565b610748576001600160a01b03831661137f57604051637e27328960e01b8152600481018290526024016105a1565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a1565b60006001600160a01b038316158015906110505750826001600160a01b0316846001600160a01b031614806113e457506113e48484610ad9565b806110505750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461141990611819565b6000825580601f10611429575050565b601f01602090049060005260206000209081019061087091905b808211156114575760008155600101611443565b5090565b6001600160e01b03198116811461087057600080fd5b60006020828403121561148357600080fd5b813561069d8161145b565b6000602082840312156114a057600080fd5b5035919050565b6000815180845260005b818110156114cd576020818501810151868301820152016114b1565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061069d60208301846114a7565b80356001600160a01b038116811461151757600080fd5b919050565b6000806040838503121561152f57600080fd5b61153883611500565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561157757611577611546565b604051601f8501601f19908116603f0116810190828211818310171561159f5761159f611546565b816040528093508581528686860111156115b857600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126115e357600080fd5b61069d8383356020850161155c565b60008060006060848603121561160757600080fd5b61161084611500565b925061161e60208501611500565b9150604084013567ffffffffffffffff81111561163a57600080fd5b611646868287016115d2565b9150509250925092565b60008060006060848603121561166557600080fd5b61166e84611500565b925061167c60208501611500565b9150604084013590509250925092565b60006020828403121561169e57600080fd5b61069d82611500565b600080604083850312156116ba57600080fd5b82359150602083013567ffffffffffffffff8111156116d857600080fd5b6116e4858286016115d2565b9150509250929050565b6000806040838503121561170157600080fd5b61170a83611500565b91506020830135801515811461171f57600080fd5b809150509250929050565b6000806000806080858703121561174057600080fd5b61174985611500565b935061175760208601611500565b925060408501359150606085013567ffffffffffffffff81111561177a57600080fd5b8501601f8101871361178b57600080fd5b61179a8782356020840161155c565b91505092959194509250565b600080604083850312156117b957600080fd5b6117c283611500565b91506117d060208401611500565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610470576104706117d9565b80820180821115610470576104706117d9565b600181811c9082168061182d57607f821691505b60208210810361184d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561074857600081815260208120601f850160051c8101602086101561187a5750805b601f850160051c820191505b8181101561189957828155600101611886565b505050505050565b815167ffffffffffffffff8111156118bb576118bb611546565b6118cf816118c98454611819565b84611853565b602080601f83116001811461190457600084156118ec5750858301515b600019600386901b1c1916600185901b178555611899565b600085815260208120601f198616915b8281101561193357888601518255948401946001909101908401611914565b50858210156119515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611973576119736117d9565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119c3908301846114a7565b9695505050505050565b6000602082840312156119df57600080fd5b815161069d8161145b565b81810381811115610470576104706117d9565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a26469706673582212201c206c88d68a84c98fed36fe3a883ab4f5bdefae62ce762d8cfdc4ec21cf038664736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
781
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80634f6ccce711610104578063a2309ff8116100a2578063caa0f92a11610071578063caa0f92a146103fa578063e985e9c514610402578063f21de1e814610415578063f76f8d781461042657600080fd5b8063a2309ff8146103c4578063a3f4df7e146103cc578063b88d4fde146103d4578063c87b56dd146103e757600080fd5b806370a08231116100de57806370a0823114610383578063862440e21461039657806395d89b41146103a9578063a22cb465146103b157600080fd5b80634f6ccce714610354578063598e2892146103675780636352211e1461037057600080fd5b806323b872dd1161017c57806340c10f191161014b57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e791461032957600080fd5b806323b872dd146102985780632e85b1f3146102ab5780632f745c59146102b4578063342ec443146102c757600080fd5b8063081812fc116101b8578063081812fc1461023d578063095ea7b31461026857806318160ddd1461027d578063221375a61461028557600080fd5b806301ffc9a7146101df5780630559ea471461020757806306fdde0314610228575b600080fd5b6101f26101ed366004611471565b61044b565b60405190151581526020015b60405180910390f35b61021a61021536600461148e565b610476565b6040519081526020016101fe565b6102306104ab565b6040516101fe91906114ed565b61025061024b36600461148e565b61053d565b6040516001600160a01b0390911681526020016101fe565b61027b61027636600461151c565b610566565b005b60085461021a565b61021a6102933660046115f2565b610575565b61027b6102a6366004611650565b6106a4565b61021a61083581565b61021a6102c236600461151c565b61074d565b6102506102d536600461148e565b6000908152600a60205260409020546001600160a01b031690565b61027b6102fe36600461151c565b6107b2565b61027b610311366004611650565b6107fe565b61027b61032436600461148e565b610819565b6101f261033736600461148e565b6000908152600260205260409020546001600160a01b0316151590565b61021a61036236600461148e565b610873565b61021a61044d81565b61025061037e36600461148e565b6108cc565b61021a61039136600461168c565b6108d7565b61027b6103a43660046116a7565b61091f565b6102306109ca565b61027b6103bf3660046116ee565b6109d9565b60115461021a565b6102306109e4565b61027b6103e236600461172a565b610a00565b6102306103f536600461148e565b610a1d565b61021a610ac7565b6101f26104103660046117a6565b610ad9565b600c546001600160a01b0316610250565b6102306040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082610b07565b92915050565b6000600e54600d54600f548461048c91906117ef565b6104969190611806565b6104a19060646117ef565b6104709190611806565b6060600080546104ba90611819565b80601f01602080910402602001604051908101604052809291908181526020018280546104e690611819565b80156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b5050505050905090565b600061054882610b57565b506000828152600460205260409020546001600160a01b0316610470565b610571828233610b90565b5050565b600c546000906001600160a01b031633146105aa576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b6105b2610b9d565b90506001600160a01b038316156105eb576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b81511561060c576000818152600b6020526040902061060a83826118a1565b505b6011805490600061061c83611961565b919050555061062b8482610bc4565b6001600160a01b0383161561069d5760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e5990604401600060405180830381600087803b15801561068457600080fd5b505af1158015610698573d6000803e3d6000fd5b505050505b9392505050565b6106af838383610bde565b6000818152600a60205260409020546001600160a01b031615610748576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b505050505b505050565b6000610758836108d7565b82106107895760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107df576040516399c6cd7160e01b81523360048201526024016105a1565b601180549060006107ef83611961565b91905055506105718282610bc4565b61074883838360405180602001604052806000815250610a00565b600c546001600160a01b03163314610846576040516399c6cd7160e01b81523360048201526024016105a1565b61084f81610b57565b5061085981610c63565b6000818152600b602052604081206108709161140d565b50565b600061087e60085490565b82106108a75760405163295f44f760e21b815260006004820152602481018390526044016105a1565b600882815481106108ba576108ba61197a565b90600052602060002001549050919050565b600061047082610b57565b60006001600160a01b038216610903576040516322718ad960e21b8152600060048201526024016105a1565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b0316331461094c576040516399c6cd7160e01b81523360048201526024016105a1565b805160000361096e57604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461098790611819565b905011156109a85760405163303822c760e21b815260040160405180910390fd5b6109b182610b57565b506000828152600b6020526040902061074882826118a1565b6060600180546104ba90611819565b610571338383610c9e565b604051806060016040528060248152602001611a146024913981565b610a0b8484846106a4565b610a1784848484610d3d565b50505050565b6060610a2882610b57565b506000828152600b602052604090208054610a4290611819565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611819565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b50505050509050919050565b6000610ad4601054610476565b905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610b3857506001600160e01b03198216635b5e139f60e01b145b8061047057506301ffc9a760e01b6001600160e01b0319831614610470565b6000818152600260205260408120546001600160a01b03168061047057604051637e27328960e01b8152600481018490526024016105a1565b6107488383836001610e66565b6000610baa601054610476565b601080549192506000610bbc83611961565b919050555090565b610571828260405180602001604052806000815250610f6c565b6001600160a01b038216610c0857604051633250574960e11b8152600060048201526024016105a1565b6000610c15838333610f83565b9050836001600160a01b0316816001600160a01b031614610a17576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a1565b6000610c726000836000610f83565b90506001600160a01b03811661057157604051637e27328960e01b8152600481018390526024016105a1565b6001600160a01b038216610cd057604051630b61174360e31b81526001600160a01b03831660048201526024016105a1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b15610a1757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d7f903390889087908790600401611990565b6020604051808303816000875af1925050508015610dba575060408051601f3d908101601f19168201909252610db7918101906119cd565b60015b610e23573d808015610de8576040519150601f19603f3d011682016040523d82523d6000602084013e610ded565b606091505b508051600003610e1b57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e5f57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b5050505050565b8080610e7a57506001600160a01b03821615155b15610f3c576000610e8a84610b57565b90506001600160a01b03831615801590610eb65750826001600160a01b0316816001600160a01b031614155b8015610ec95750610ec78184610ad9565b155b15610ef25760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a1565b8115610f3a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f768383611058565b6107486000848484610d3d565b600080610f918585856110bd565b90506001600160a01b038116610fee57610fe984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611011565b846001600160a01b0316816001600160a01b0316146110115761101181856111b6565b6001600160a01b03851661102d5761102884611247565b611050565b846001600160a01b0316816001600160a01b0316146110505761105085856112f6565b949350505050565b6001600160a01b03821661108257604051633250574960e11b8152600060048201526024016105a1565b600061109083836000610f83565b90506001600160a01b03811615610748576040516339e3563760e11b8152600060048201526024016105a1565b6000828152600260205260408120546001600160a01b03908116908316156110ea576110ea818486611346565b6001600160a01b0381161561112857611107600085600080610e66565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611157576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006111c1836108d7565b600083815260076020526040902054909150808214611214576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611259906001906119ea565b600083815260096020526040812054600880549394509092849081106112815761128161197a565b9060005260206000200154905080600883815481106112a2576112a261197a565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806112da576112da6119fd565b6001900381819060005260206000200160009055905550505050565b60006001611303846108d7565b61130d91906119ea565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6113518383836113aa565b610748576001600160a01b03831661137f57604051637e27328960e01b8152600481018290526024016105a1565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a1565b60006001600160a01b038316158015906110505750826001600160a01b0316846001600160a01b031614806113e457506113e48484610ad9565b806110505750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461141990611819565b6000825580601f10611429575050565b601f01602090049060005260206000209081019061087091905b808211156114575760008155600101611443565b5090565b6001600160e01b03198116811461087057600080fd5b60006020828403121561148357600080fd5b813561069d8161145b565b6000602082840312156114a057600080fd5b5035919050565b6000815180845260005b818110156114cd576020818501810151868301820152016114b1565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061069d60208301846114a7565b80356001600160a01b038116811461151757600080fd5b919050565b6000806040838503121561152f57600080fd5b61153883611500565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561157757611577611546565b604051601f8501601f19908116603f0116810190828211818310171561159f5761159f611546565b816040528093508581528686860111156115b857600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126115e357600080fd5b61069d8383356020850161155c565b60008060006060848603121561160757600080fd5b61161084611500565b925061161e60208501611500565b9150604084013567ffffffffffffffff81111561163a57600080fd5b611646868287016115d2565b9150509250925092565b60008060006060848603121561166557600080fd5b61166e84611500565b925061167c60208501611500565b9150604084013590509250925092565b60006020828403121561169e57600080fd5b61069d82611500565b600080604083850312156116ba57600080fd5b82359150602083013567ffffffffffffffff8111156116d857600080fd5b6116e4858286016115d2565b9150509250929050565b6000806040838503121561170157600080fd5b61170a83611500565b91506020830135801515811461171f57600080fd5b809150509250929050565b6000806000806080858703121561174057600080fd5b61174985611500565b935061175760208601611500565b925060408501359150606085013567ffffffffffffffff81111561177a57600080fd5b8501601f8101871361178b57600080fd5b61179a8782356020840161155c565b91505092959194509250565b600080604083850312156117b957600080fd5b6117c283611500565b91506117d060208401611500565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610470576104706117d9565b80820180821115610470576104706117d9565b600181811c9082168061182d57607f821691505b60208210810361184d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561074857600081815260208120601f850160051c8101602086101561187a5750805b601f850160051c820191505b8181101561189957828155600101611886565b505050505050565b815167ffffffffffffffff8111156118bb576118bb611546565b6118cf816118c98454611819565b84611853565b602080601f83116001811461190457600084156118ec5750858301515b600019600386901b1c1916600185901b178555611899565b600085815260208120601f198616915b8281101561193357888601518255948401946001909101908401611914565b50858210156119515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611973576119736117d9565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119c3908301846114a7565b9695505050505050565b6000602082840312156119df57600080fd5b815161069d8161145b565b81810381811115610470576104706117d9565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a26469706673582212201c206c88d68a84c98fed36fe3a883ab4f5bdefae62ce762d8cfdc4ec21cf038664736f6c63430008140033",
780
+ "bytecode": "0x608060405234801562000010575f80fd5b5060405162001e1038038062001e1083398101604081905262000033916200012a565b60405180606001604052806024815260200162001dec6024913960408051808201909152600681526511125413919560d21b60208201525f620000778382620001f7565b506001620000868282620001f7565b5050506001600160a01b038116620000b157604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190555f600e555b80156200010a57600e8054905f620000ef83620002d7565b90915550620001029050600a82620002f2565b9050620000d7565b600e546200011a90600a6200040d565b600f55505060046010556200041a565b5f602082840312156200013b575f80fd5b81516001600160a01b038116811462000152575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200018257607f821691505b602082108103620001a157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001f257805f5260205f20601f840160051c81016020851015620001ce5750805b601f840160051c820191505b81811015620001ef575f8155600101620001da565b50505b505050565b81516001600160401b0381111562000213576200021362000159565b6200022b816200022484546200016d565b84620001a7565b602080601f83116001811462000261575f8415620002495750858301515b5f19600386901b1c1916600185901b178555620002bb565b5f85815260208120601f198616915b82811015620002915788860151825594840194600190910190840162000270565b5085821015620002af57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b5f60018201620002eb57620002eb620002c3565b5060010190565b5f826200030d57634e487b7160e01b5f52601260045260245ffd5b500490565b600181815b808511156200035257815f1904821115620003365762000336620002c3565b808516156200034457918102915b93841c939080029062000317565b509250929050565b5f826200036a5750600162000407565b816200037857505f62000407565b81600181146200039157600281146200039c57620003bc565b600191505062000407565b60ff841115620003b057620003b0620002c3565b50506001821b62000407565b5060208310610133831016604e8410600b8410161715620003e1575081810a62000407565b620003ed838362000312565b805f1904821115620004035762000403620002c3565b0290505b92915050565b5f6200015283836200035a565b6119c480620004285f395ff3fe608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80634f6ccce7116100fe578063a2309ff81161009e578063caa0f92a1161006e578063caa0f92a146103ee578063e985e9c5146103f6578063f21de1e814610409578063f76f8d781461041a575f80fd5b8063a2309ff8146103b8578063a3f4df7e146103c0578063b88d4fde146103c8578063c87b56dd146103db575f80fd5b806370a08231116100d957806370a0823114610377578063862440e21461038a57806395d89b411461039d578063a22cb465146103a5575f80fd5b80634f6ccce714610348578063598e28921461035b5780636352211e14610364575f80fd5b806323b872dd1161017457806340c10f191161014457806340c10f19146102e557806342842e0e146102f857806342966c681461030b5780634f558e791461031e575f80fd5b806323b872dd1461028e5780632e85b1f3146102a15780632f745c59146102aa578063342ec443146102bd575f80fd5b8063081812fc116101af578063081812fc14610233578063095ea7b31461025e57806318160ddd14610273578063221375a61461027b575f80fd5b806301ffc9a7146101d55780630559ea47146101fd57806306fdde031461021e575b5f80fd5b6101e86101e3366004611406565b61043f565b60405190151581526020015b60405180910390f35b61021061020b366004611421565b610469565b6040519081526020016101f4565b61022661049d565b6040516101f4919061147b565b610246610241366004611421565b61052c565b6040516001600160a01b0390911681526020016101f4565b61027161026c3660046114a8565b610553565b005b600854610210565b610210610289366004611575565b610562565b61027161029c3660046115cf565b610688565b61021061083581565b6102106102b83660046114a8565b61072a565b6102466102cb366004611421565b5f908152600a60205260409020546001600160a01b031690565b6102716102f33660046114a8565b61078d565b6102716103063660046115cf565b6107d8565b610271610319366004611421565b6107f2565b6101e861032c366004611421565b5f908152600260205260409020546001600160a01b0316151590565b610210610356366004611421565b61084b565b61021061044d81565b610246610372366004611421565b6108a0565b610210610385366004611608565b6108aa565b610271610398366004611621565b6108ef565b610226610997565b6102716103b3366004611665565b6109a6565b601154610210565b6102266109b1565b6102716103d636600461169e565b6109cd565b6102266103e9366004611421565b6109ea565b610210610a91565b6101e8610404366004611715565b610aa2565b600c546001600160a01b0316610246565b6102266040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610463575061046382610acf565b92915050565b5f600e54600d54600f548461047e919061175a565b6104889190611771565b61049390606461175a565b6104639190611771565b60605f80546104ab90611784565b80601f01602080910402602001604051908101604052809291908181526020018280546104d790611784565b80156105225780601f106104f957610100808354040283529160200191610522565b820191905f5260205f20905b81548152906001019060200180831161050557829003601f168201915b5050505050905090565b5f61053682610b1e565b505f828152600460205260409020546001600160a01b0316610463565b61055e828233610b56565b5050565b600c545f906001600160a01b03163314610596576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059e610b63565b90506001600160a01b038316156105d6575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f6575f818152600b602052604090206105f48382611800565b505b60118054905f610605836118c0565b91905055506106148482610b88565b6001600160a01b038316156106815760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e59906044015f604051808303815f87803b15801561066a575f80fd5b505af115801561067c573d5f803e3d5ffd5b505050505b9392505050565b610693838383610ba1565b5f818152600a60205260409020546001600160a01b031615610725575f818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb86906064015f604051808303815f87803b15801561070e575f80fd5b505af1158015610720573d5f803e3d5ffd5b505050505b505050565b5f610734836108aa565b82106107655760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058d565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107ba576040516399c6cd7160e01b815233600482015260240161058d565b60118054905f6107c9836118c0565b919050555061055e8282610b88565b61072583838360405180602001604052805f8152506109cd565b600c546001600160a01b0316331461081f576040516399c6cd7160e01b815233600482015260240161058d565b61082881610b1e565b5061083281610c24565b5f818152600b60205260408120610848916113a7565b50565b5f61085560085490565b821061087d5760405163295f44f760e21b81525f60048201526024810183905260440161058d565b60088281548110610890576108906118d8565b905f5260205f2001549050919050565b5f61046382610b1e565b5f6001600160a01b0382166108d4576040516322718ad960e21b81525f600482015260240161058d565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b0316331461091c576040516399c6cd7160e01b815233600482015260240161058d565b80515f0361093d57604051638e45096160e01b815260040160405180910390fd5b5f828152600b60205260408120805461095590611784565b905011156109765760405163303822c760e21b815260040160405180910390fd5b61097f82610b1e565b505f828152600b602052604090206107258282611800565b6060600180546104ab90611784565b61055e338383610c5c565b60405180606001604052806024815260200161196b6024913981565b6109d8848484610688565b6109e484848484610cfa565b50505050565b60606109f582610b1e565b505f828152600b602052604090208054610a0e90611784565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3a90611784565b8015610a855780601f10610a5c57610100808354040283529160200191610a85565b820191905f5260205f20905b815481529060010190602001808311610a6857829003601f168201915b50505050509050919050565b5f610a9d601054610469565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610aff57506001600160e01b03198216635b5e139f60e01b145b8061046357506301ffc9a760e01b6001600160e01b0319831614610463565b5f818152600260205260408120546001600160a01b03168061046357604051637e27328960e01b81526004810184905260240161058d565b6107258383836001610e20565b5f610b6f601054610469565b601080549192505f610b80836118c0565b919050555090565b61055e828260405180602001604052805f815250610f24565b6001600160a01b038216610bca57604051633250574960e11b81525f600482015260240161058d565b5f610bd6838333610f3a565b9050836001600160a01b0316816001600160a01b0316146109e4576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058d565b5f610c305f835f610f3a565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058d565b6001600160a01b038216610c8e57604051630b61174360e31b81526001600160a01b038316600482015260240161058d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156109e457604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d3c9033908890879087906004016118ec565b6020604051808303815f875af1925050508015610d76575060408051601f3d908101601f19168201909252610d7391810190611928565b60015b610ddd573d808015610da3576040519150601f19603f3d011682016040523d82523d5f602084013e610da8565b606091505b5080515f03610dd557604051633250574960e11b81526001600160a01b038516600482015260240161058d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e1957604051633250574960e11b81526001600160a01b038516600482015260240161058d565b5050505050565b8080610e3457506001600160a01b03821615155b15610ef5575f610e4384610b1e565b90506001600160a01b03831615801590610e6f5750826001600160a01b0316816001600160a01b031614155b8015610e825750610e808184610aa2565b155b15610eab5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058d565b8115610ef35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f2e838361100d565b6107255f848484610cfa565b5f80610f4785858561106e565b90506001600160a01b038116610fa357610f9e84600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610fc6565b846001600160a01b0316816001600160a01b031614610fc657610fc68185611160565b6001600160a01b038516610fe257610fdd846111ed565b611005565b846001600160a01b0316816001600160a01b031614611005576110058585611294565b949350505050565b6001600160a01b03821661103657604051633250574960e11b81525f600482015260240161058d565b5f61104283835f610f3a565b90506001600160a01b03811615610725576040516339e3563760e11b81525f600482015260240161058d565b5f828152600260205260408120546001600160a01b039081169083161561109a5761109a8184866112e2565b6001600160a01b038116156110d4576110b55f855f80610e20565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615611102576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f61116a836108aa565b5f838152600760205260409020549091508082146111bb576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f906111fe90600190611943565b5f8381526009602052604081205460088054939450909284908110611225576112256118d8565b905f5260205f20015490508060088381548110611244576112446118d8565b5f91825260208083209091019290925582815260099091526040808220849055858252812055600880548061127b5761127b611956565b600190038181905f5260205f20015f9055905550505050565b5f60016112a0846108aa565b6112aa9190611943565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ed838383611346565b610725576001600160a01b03831661131b57604051637e27328960e01b81526004810182905260240161058d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058d565b5f6001600160a01b038316158015906110055750826001600160a01b0316846001600160a01b0316148061137f575061137f8484610aa2565b806110055750505f908152600460205260409020546001600160a01b03908116911614919050565b5080546113b390611784565b5f825580601f106113c2575050565b601f0160209004905f5260205f209081019061084891905b808211156113ed575f81556001016113da565b5090565b6001600160e01b031981168114610848575f80fd5b5f60208284031215611416575f80fd5b8135610681816113f1565b5f60208284031215611431575f80fd5b5035919050565b5f81518084525f5b8181101561145c57602081850181015186830182015201611440565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6106816020830184611438565b80356001600160a01b03811681146114a3575f80fd5b919050565b5f80604083850312156114b9575f80fd5b6114c28361148d565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff808411156114fe576114fe6114d0565b604051601f8501601f19908116603f01168101908282118183101715611526576115266114d0565b8160405280935085815286868601111561153e575f80fd5b858560208301375f602087830101525050509392505050565b5f82601f830112611566575f80fd5b610681838335602085016114e4565b5f805f60608486031215611587575f80fd5b6115908461148d565b925061159e6020850161148d565b9150604084013567ffffffffffffffff8111156115b9575f80fd5b6115c586828701611557565b9150509250925092565b5f805f606084860312156115e1575f80fd5b6115ea8461148d565b92506115f86020850161148d565b9150604084013590509250925092565b5f60208284031215611618575f80fd5b6106818261148d565b5f8060408385031215611632575f80fd5b82359150602083013567ffffffffffffffff81111561164f575f80fd5b61165b85828601611557565b9150509250929050565b5f8060408385031215611676575f80fd5b61167f8361148d565b915060208301358015158114611693575f80fd5b809150509250929050565b5f805f80608085870312156116b1575f80fd5b6116ba8561148d565b93506116c86020860161148d565b925060408501359150606085013567ffffffffffffffff8111156116ea575f80fd5b8501601f810187136116fa575f80fd5b611709878235602084016114e4565b91505092959194509250565b5f8060408385031215611726575f80fd5b61172f8361148d565b915061173d6020840161148d565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761046357610463611746565b8082018082111561046357610463611746565b600181811c9082168061179857607f821691505b6020821081036117b657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561072557805f5260205f20601f840160051c810160208510156117e15750805b601f840160051c820191505b81811015610e19575f81556001016117ed565b815167ffffffffffffffff81111561181a5761181a6114d0565b61182e816118288454611784565b846117bc565b602080601f831160018114611861575f841561184a5750858301515b5f19600386901b1c1916600185901b1785556118b8565b5f85815260208120601f198616915b8281101561188f57888601518255948401946001909101908401611870565b50858210156118ac57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f600182016118d1576118d1611746565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061191e90830184611438565b9695505050505050565b5f60208284031215611938575f80fd5b8151610681816113f1565b8181038181111561046357610463611746565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220e7359195b86555749e78ffb2c69a78ffb629ae222ebb6eb5f9ddc9582f09634364736f6c6343000818003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
781
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80634f6ccce7116100fe578063a2309ff81161009e578063caa0f92a1161006e578063caa0f92a146103ee578063e985e9c5146103f6578063f21de1e814610409578063f76f8d781461041a575f80fd5b8063a2309ff8146103b8578063a3f4df7e146103c0578063b88d4fde146103c8578063c87b56dd146103db575f80fd5b806370a08231116100d957806370a0823114610377578063862440e21461038a57806395d89b411461039d578063a22cb465146103a5575f80fd5b80634f6ccce714610348578063598e28921461035b5780636352211e14610364575f80fd5b806323b872dd1161017457806340c10f191161014457806340c10f19146102e557806342842e0e146102f857806342966c681461030b5780634f558e791461031e575f80fd5b806323b872dd1461028e5780632e85b1f3146102a15780632f745c59146102aa578063342ec443146102bd575f80fd5b8063081812fc116101af578063081812fc14610233578063095ea7b31461025e57806318160ddd14610273578063221375a61461027b575f80fd5b806301ffc9a7146101d55780630559ea47146101fd57806306fdde031461021e575b5f80fd5b6101e86101e3366004611406565b61043f565b60405190151581526020015b60405180910390f35b61021061020b366004611421565b610469565b6040519081526020016101f4565b61022661049d565b6040516101f4919061147b565b610246610241366004611421565b61052c565b6040516001600160a01b0390911681526020016101f4565b61027161026c3660046114a8565b610553565b005b600854610210565b610210610289366004611575565b610562565b61027161029c3660046115cf565b610688565b61021061083581565b6102106102b83660046114a8565b61072a565b6102466102cb366004611421565b5f908152600a60205260409020546001600160a01b031690565b6102716102f33660046114a8565b61078d565b6102716103063660046115cf565b6107d8565b610271610319366004611421565b6107f2565b6101e861032c366004611421565b5f908152600260205260409020546001600160a01b0316151590565b610210610356366004611421565b61084b565b61021061044d81565b610246610372366004611421565b6108a0565b610210610385366004611608565b6108aa565b610271610398366004611621565b6108ef565b610226610997565b6102716103b3366004611665565b6109a6565b601154610210565b6102266109b1565b6102716103d636600461169e565b6109cd565b6102266103e9366004611421565b6109ea565b610210610a91565b6101e8610404366004611715565b610aa2565b600c546001600160a01b0316610246565b6102266040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610463575061046382610acf565b92915050565b5f600e54600d54600f548461047e919061175a565b6104889190611771565b61049390606461175a565b6104639190611771565b60605f80546104ab90611784565b80601f01602080910402602001604051908101604052809291908181526020018280546104d790611784565b80156105225780601f106104f957610100808354040283529160200191610522565b820191905f5260205f20905b81548152906001019060200180831161050557829003601f168201915b5050505050905090565b5f61053682610b1e565b505f828152600460205260409020546001600160a01b0316610463565b61055e828233610b56565b5050565b600c545f906001600160a01b03163314610596576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059e610b63565b90506001600160a01b038316156105d6575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f6575f818152600b602052604090206105f48382611800565b505b60118054905f610605836118c0565b91905055506106148482610b88565b6001600160a01b038316156106815760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e59906044015f604051808303815f87803b15801561066a575f80fd5b505af115801561067c573d5f803e3d5ffd5b505050505b9392505050565b610693838383610ba1565b5f818152600a60205260409020546001600160a01b031615610725575f818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb86906064015f604051808303815f87803b15801561070e575f80fd5b505af1158015610720573d5f803e3d5ffd5b505050505b505050565b5f610734836108aa565b82106107655760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058d565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107ba576040516399c6cd7160e01b815233600482015260240161058d565b60118054905f6107c9836118c0565b919050555061055e8282610b88565b61072583838360405180602001604052805f8152506109cd565b600c546001600160a01b0316331461081f576040516399c6cd7160e01b815233600482015260240161058d565b61082881610b1e565b5061083281610c24565b5f818152600b60205260408120610848916113a7565b50565b5f61085560085490565b821061087d5760405163295f44f760e21b81525f60048201526024810183905260440161058d565b60088281548110610890576108906118d8565b905f5260205f2001549050919050565b5f61046382610b1e565b5f6001600160a01b0382166108d4576040516322718ad960e21b81525f600482015260240161058d565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b0316331461091c576040516399c6cd7160e01b815233600482015260240161058d565b80515f0361093d57604051638e45096160e01b815260040160405180910390fd5b5f828152600b60205260408120805461095590611784565b905011156109765760405163303822c760e21b815260040160405180910390fd5b61097f82610b1e565b505f828152600b602052604090206107258282611800565b6060600180546104ab90611784565b61055e338383610c5c565b60405180606001604052806024815260200161196b6024913981565b6109d8848484610688565b6109e484848484610cfa565b50505050565b60606109f582610b1e565b505f828152600b602052604090208054610a0e90611784565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3a90611784565b8015610a855780601f10610a5c57610100808354040283529160200191610a85565b820191905f5260205f20905b815481529060010190602001808311610a6857829003601f168201915b50505050509050919050565b5f610a9d601054610469565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610aff57506001600160e01b03198216635b5e139f60e01b145b8061046357506301ffc9a760e01b6001600160e01b0319831614610463565b5f818152600260205260408120546001600160a01b03168061046357604051637e27328960e01b81526004810184905260240161058d565b6107258383836001610e20565b5f610b6f601054610469565b601080549192505f610b80836118c0565b919050555090565b61055e828260405180602001604052805f815250610f24565b6001600160a01b038216610bca57604051633250574960e11b81525f600482015260240161058d565b5f610bd6838333610f3a565b9050836001600160a01b0316816001600160a01b0316146109e4576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058d565b5f610c305f835f610f3a565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058d565b6001600160a01b038216610c8e57604051630b61174360e31b81526001600160a01b038316600482015260240161058d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156109e457604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d3c9033908890879087906004016118ec565b6020604051808303815f875af1925050508015610d76575060408051601f3d908101601f19168201909252610d7391810190611928565b60015b610ddd573d808015610da3576040519150601f19603f3d011682016040523d82523d5f602084013e610da8565b606091505b5080515f03610dd557604051633250574960e11b81526001600160a01b038516600482015260240161058d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e1957604051633250574960e11b81526001600160a01b038516600482015260240161058d565b5050505050565b8080610e3457506001600160a01b03821615155b15610ef5575f610e4384610b1e565b90506001600160a01b03831615801590610e6f5750826001600160a01b0316816001600160a01b031614155b8015610e825750610e808184610aa2565b155b15610eab5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058d565b8115610ef35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f2e838361100d565b6107255f848484610cfa565b5f80610f4785858561106e565b90506001600160a01b038116610fa357610f9e84600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610fc6565b846001600160a01b0316816001600160a01b031614610fc657610fc68185611160565b6001600160a01b038516610fe257610fdd846111ed565b611005565b846001600160a01b0316816001600160a01b031614611005576110058585611294565b949350505050565b6001600160a01b03821661103657604051633250574960e11b81525f600482015260240161058d565b5f61104283835f610f3a565b90506001600160a01b03811615610725576040516339e3563760e11b81525f600482015260240161058d565b5f828152600260205260408120546001600160a01b039081169083161561109a5761109a8184866112e2565b6001600160a01b038116156110d4576110b55f855f80610e20565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615611102576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f61116a836108aa565b5f838152600760205260409020549091508082146111bb576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f906111fe90600190611943565b5f8381526009602052604081205460088054939450909284908110611225576112256118d8565b905f5260205f20015490508060088381548110611244576112446118d8565b5f91825260208083209091019290925582815260099091526040808220849055858252812055600880548061127b5761127b611956565b600190038181905f5260205f20015f9055905550505050565b5f60016112a0846108aa565b6112aa9190611943565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ed838383611346565b610725576001600160a01b03831661131b57604051637e27328960e01b81526004810182905260240161058d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058d565b5f6001600160a01b038316158015906110055750826001600160a01b0316846001600160a01b0316148061137f575061137f8484610aa2565b806110055750505f908152600460205260409020546001600160a01b03908116911614919050565b5080546113b390611784565b5f825580601f106113c2575050565b601f0160209004905f5260205f209081019061084891905b808211156113ed575f81556001016113da565b5090565b6001600160e01b031981168114610848575f80fd5b5f60208284031215611416575f80fd5b8135610681816113f1565b5f60208284031215611431575f80fd5b5035919050565b5f81518084525f5b8181101561145c57602081850181015186830182015201611440565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6106816020830184611438565b80356001600160a01b03811681146114a3575f80fd5b919050565b5f80604083850312156114b9575f80fd5b6114c28361148d565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff808411156114fe576114fe6114d0565b604051601f8501601f19908116603f01168101908282118183101715611526576115266114d0565b8160405280935085815286868601111561153e575f80fd5b858560208301375f602087830101525050509392505050565b5f82601f830112611566575f80fd5b610681838335602085016114e4565b5f805f60608486031215611587575f80fd5b6115908461148d565b925061159e6020850161148d565b9150604084013567ffffffffffffffff8111156115b9575f80fd5b6115c586828701611557565b9150509250925092565b5f805f606084860312156115e1575f80fd5b6115ea8461148d565b92506115f86020850161148d565b9150604084013590509250925092565b5f60208284031215611618575f80fd5b6106818261148d565b5f8060408385031215611632575f80fd5b82359150602083013567ffffffffffffffff81111561164f575f80fd5b61165b85828601611557565b9150509250929050565b5f8060408385031215611676575f80fd5b61167f8361148d565b915060208301358015158114611693575f80fd5b809150509250929050565b5f805f80608085870312156116b1575f80fd5b6116ba8561148d565b93506116c86020860161148d565b925060408501359150606085013567ffffffffffffffff8111156116ea575f80fd5b8501601f810187136116fa575f80fd5b611709878235602084016114e4565b91505092959194509250565b5f8060408385031215611726575f80fd5b61172f8361148d565b915061173d6020840161148d565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761046357610463611746565b8082018082111561046357610463611746565b600181811c9082168061179857607f821691505b6020821081036117b657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561072557805f5260205f20601f840160051c810160208510156117e15750805b601f840160051c820191505b81811015610e19575f81556001016117ed565b815167ffffffffffffffff81111561181a5761181a6114d0565b61182e816118288454611784565b846117bc565b602080601f831160018114611861575f841561184a5750858301515b5f19600386901b1c1916600185901b1785556118b8565b5f85815260208120601f198616915b8281101561188f57888601518255948401946001909101908401611870565b50858210156118ac57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f600182016118d1576118d1611746565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061191e90830184611438565b9695505050505050565b5f60208284031215611938575f80fd5b8151610681816113f1565b8181038181111561046357610463611746565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220e7359195b86555749e78ffb2c69a78ffb629ae222ebb6eb5f9ddc9582f09634364736f6c63430008180033",
782
782
  "linkReferences": {},
783
783
  "deployedLinkReferences": {}
784
784
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/e4a126ce6401cd78d1e8e897900e2e2d.json"
3
+ "buildInfo": "../../../build-info/a908a9a1f830641eab2f9c67c8cf8fce.json"
4
4
  }
@@ -82,33 +82,6 @@
82
82
  "name": "ErrorRegistryTypesCombinationInvalid",
83
83
  "type": "error"
84
84
  },
85
- {
86
- "inputs": [
87
- {
88
- "internalType": "address",
89
- "name": "stakingAddress",
90
- "type": "address"
91
- }
92
- ],
93
- "name": "StakingAlreadyRegistered",
94
- "type": "error"
95
- },
96
- {
97
- "inputs": [
98
- {
99
- "internalType": "address",
100
- "name": "tokenRegistry",
101
- "type": "address"
102
- }
103
- ],
104
- "name": "TokenRegistryAlreadySet",
105
- "type": "error"
106
- },
107
- {
108
- "inputs": [],
109
- "name": "TokenRegistryZero",
110
- "type": "error"
111
- },
112
85
  {
113
86
  "anonymous": false,
114
87
  "inputs": [
@@ -171,6 +144,19 @@
171
144
  "name": "LogServiceRegistration",
172
145
  "type": "event"
173
146
  },
147
+ {
148
+ "inputs": [],
149
+ "name": "getAuthority",
150
+ "outputs": [
151
+ {
152
+ "internalType": "address",
153
+ "name": "",
154
+ "type": "address"
155
+ }
156
+ ],
157
+ "stateMutability": "view",
158
+ "type": "function"
159
+ },
174
160
  {
175
161
  "inputs": [],
176
162
  "name": "getChainNftAddress",
@@ -393,6 +379,32 @@
393
379
  "stateMutability": "view",
394
380
  "type": "function"
395
381
  },
382
+ {
383
+ "inputs": [],
384
+ "name": "getProtocolNftId",
385
+ "outputs": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "protocolNftId",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [],
397
+ "name": "getRegistryAdminAddress",
398
+ "outputs": [
399
+ {
400
+ "internalType": "address",
401
+ "name": "",
402
+ "type": "address"
403
+ }
404
+ ],
405
+ "stateMutability": "view",
406
+ "type": "function"
407
+ },
396
408
  {
397
409
  "inputs": [
398
410
  {
@@ -429,21 +441,41 @@
429
441
  "name": "version",
430
442
  "type": "uint8"
431
443
  },
444
+ {
445
+ "internalType": "bytes32",
446
+ "name": "salt",
447
+ "type": "bytes32"
448
+ },
432
449
  {
433
450
  "internalType": "address[]",
434
451
  "name": "addresses",
435
452
  "type": "address[]"
436
453
  },
454
+ {
455
+ "internalType": "string[]",
456
+ "name": "names",
457
+ "type": "string[]"
458
+ },
437
459
  {
438
460
  "internalType": "RoleId[][]",
439
461
  "name": "serviceRoles",
440
462
  "type": "uint64[][]"
441
463
  },
464
+ {
465
+ "internalType": "string[][]",
466
+ "name": "serviceRoleNames",
467
+ "type": "string[][]"
468
+ },
442
469
  {
443
470
  "internalType": "RoleId[][]",
444
471
  "name": "functionRoles",
445
472
  "type": "uint64[][]"
446
473
  },
474
+ {
475
+ "internalType": "string[][]",
476
+ "name": "functionRoleNames",
477
+ "type": "string[][]"
478
+ },
447
479
  {
448
480
  "internalType": "bytes4[][][]",
449
481
  "name": "selectors",
@@ -458,6 +490,11 @@
458
490
  "internalType": "Timestamp",
459
491
  "name": "activatedAt",
460
492
  "type": "uint40"
493
+ },
494
+ {
495
+ "internalType": "Timestamp",
496
+ "name": "disabledAt",
497
+ "type": "uint40"
461
498
  }
462
499
  ],
463
500
  "internalType": "struct IRegistry.ReleaseInfo",
@@ -511,7 +548,7 @@
511
548
  "outputs": [
512
549
  {
513
550
  "internalType": "address",
514
- "name": "staking",
551
+ "name": "",
515
552
  "type": "address"
516
553
  }
517
554
  ],
@@ -534,12 +571,12 @@
534
571
  {
535
572
  "inputs": [
536
573
  {
537
- "internalType": "address",
538
- "name": "contractAddress",
539
- "type": "address"
574
+ "internalType": "VersionPart",
575
+ "name": "version",
576
+ "type": "uint8"
540
577
  }
541
578
  ],
542
- "name": "isRegistered",
579
+ "name": "isActiveRelease",
543
580
  "outputs": [
544
581
  {
545
582
  "internalType": "bool",
@@ -553,9 +590,9 @@
553
590
  {
554
591
  "inputs": [
555
592
  {
556
- "internalType": "NftId",
557
- "name": "nftId",
558
- "type": "uint96"
593
+ "internalType": "address",
594
+ "name": "contractAddress",
595
+ "type": "address"
559
596
  }
560
597
  ],
561
598
  "name": "isRegistered",
@@ -572,12 +609,12 @@
572
609
  {
573
610
  "inputs": [
574
611
  {
575
- "internalType": "address",
576
- "name": "object",
577
- "type": "address"
612
+ "internalType": "NftId",
613
+ "name": "nftId",
614
+ "type": "uint96"
578
615
  }
579
616
  ],
580
- "name": "isRegisteredComponent",
617
+ "name": "isRegistered",
581
618
  "outputs": [
582
619
  {
583
620
  "internalType": "bool",
@@ -592,11 +629,11 @@
592
629
  "inputs": [
593
630
  {
594
631
  "internalType": "address",
595
- "name": "contractAddress",
632
+ "name": "object",
596
633
  "type": "address"
597
634
  }
598
635
  ],
599
- "name": "isRegisteredService",
636
+ "name": "isRegisteredComponent",
600
637
  "outputs": [
601
638
  {
602
639
  "internalType": "bool",
@@ -610,12 +647,12 @@
610
647
  {
611
648
  "inputs": [
612
649
  {
613
- "internalType": "VersionPart",
614
- "name": "version",
615
- "type": "uint8"
650
+ "internalType": "address",
651
+ "name": "contractAddress",
652
+ "type": "address"
616
653
  }
617
654
  ],
618
- "name": "isValidRelease",
655
+ "name": "isRegisteredService",
619
656
  "outputs": [
620
657
  {
621
658
  "internalType": "bool",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/e4a126ce6401cd78d1e8e897900e2e2d.json"
3
+ "buildInfo": "../../../build-info/a908a9a1f830641eab2f9c67c8cf8fce.json"
4
4
  }
@@ -183,6 +183,17 @@
183
183
  "name": "ErrorRegistryServiceNotService",
184
184
  "type": "error"
185
185
  },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "objectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorRegistryServiceObjectAddressNotZero",
195
+ "type": "error"
196
+ },
186
197
  {
187
198
  "inputs": [
188
199
  {
@@ -455,6 +466,19 @@
455
466
  "stateMutability": "view",
456
467
  "type": "function"
457
468
  },
469
+ {
470
+ "inputs": [],
471
+ "name": "getRoleId",
472
+ "outputs": [
473
+ {
474
+ "internalType": "RoleId",
475
+ "name": "serviceRoleId",
476
+ "type": "uint64"
477
+ }
478
+ ],
479
+ "stateMutability": "pure",
480
+ "type": "function"
481
+ },
458
482
  {
459
483
  "inputs": [],
460
484
  "name": "getVersion",
@@ -502,7 +526,13 @@
502
526
  {
503
527
  "inputs": [],
504
528
  "name": "linkToRegisteredNftId",
505
- "outputs": [],
529
+ "outputs": [
530
+ {
531
+ "internalType": "NftId",
532
+ "name": "",
533
+ "type": "uint96"
534
+ }
535
+ ],
506
536
  "stateMutability": "nonpayable",
507
537
  "type": "function"
508
538
  },
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/a908a9a1f830641eab2f9c67c8cf8fce.json"
4
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IServiceAuthorization",
4
+ "sourceName": "contracts/registry/IServiceAuthorization.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "ObjectType",
10
+ "name": "serviceDomain",
11
+ "type": "uint8"
12
+ }
13
+ ],
14
+ "name": "getAuthorizedDomains",
15
+ "outputs": [
16
+ {
17
+ "internalType": "ObjectType[]",
18
+ "name": "authorizatedDomains",
19
+ "type": "uint8[]"
20
+ }
21
+ ],
22
+ "stateMutability": "view",
23
+ "type": "function"
24
+ },
25
+ {
26
+ "inputs": [
27
+ {
28
+ "internalType": "ObjectType",
29
+ "name": "serviceDomain",
30
+ "type": "uint8"
31
+ },
32
+ {
33
+ "internalType": "ObjectType",
34
+ "name": "authorizedDomain",
35
+ "type": "uint8"
36
+ }
37
+ ],
38
+ "name": "getAuthorizedFunctions",
39
+ "outputs": [
40
+ {
41
+ "components": [
42
+ {
43
+ "internalType": "Selector",
44
+ "name": "selector",
45
+ "type": "bytes4"
46
+ },
47
+ {
48
+ "internalType": "Str",
49
+ "name": "name",
50
+ "type": "bytes32"
51
+ }
52
+ ],
53
+ "internalType": "struct IAccessAdmin.Function[]",
54
+ "name": "authorizatedFunctions",
55
+ "type": "tuple[]"
56
+ }
57
+ ],
58
+ "stateMutability": "view",
59
+ "type": "function"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "getCommitHash",
64
+ "outputs": [
65
+ {
66
+ "internalType": "string",
67
+ "name": "commitHash",
68
+ "type": "string"
69
+ }
70
+ ],
71
+ "stateMutability": "view",
72
+ "type": "function"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "getRelease",
77
+ "outputs": [
78
+ {
79
+ "internalType": "VersionPart",
80
+ "name": "release",
81
+ "type": "uint8"
82
+ },
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "domainsCount",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "ObjectType",
96
+ "name": "serviceDomain",
97
+ "type": "uint8"
98
+ }
99
+ ],
100
+ "name": "getServiceAddress",
101
+ "outputs": [
102
+ {
103
+ "internalType": "address",
104
+ "name": "service",
105
+ "type": "address"
106
+ }
107
+ ],
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "getServiceDomains",
114
+ "outputs": [
115
+ {
116
+ "internalType": "ObjectType[]",
117
+ "name": "serviceDomains",
118
+ "type": "uint8[]"
119
+ }
120
+ ],
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ }
124
+ ],
125
+ "bytecode": "0x",
126
+ "deployedBytecode": "0x",
127
+ "linkReferences": {},
128
+ "deployedLinkReferences": {}
129
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/e4a126ce6401cd78d1e8e897900e2e2d.json"
3
+ "buildInfo": "../../../build-info/a908a9a1f830641eab2f9c67c8cf8fce.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/e4a126ce6401cd78d1e8e897900e2e2d.json"
3
+ "buildInfo": "../../../build-info/a908a9a1f830641eab2f9c67c8cf8fce.json"
4
4
  }