@etherisc/gif-next 0.0.2-e6ad61d-739 → 0.0.2-e769e2e-077

Sign up to get free protection for your applications and to get access to all the features.
Files changed (505) hide show
  1. package/README.md +337 -19
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +760 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +312 -1138
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +660 -0
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +439 -1219
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +132 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1570 -0
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1039 -0
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +664 -0
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3500 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +190 -0
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  41. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  42. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{treasury/ITreasury.sol/ITreasury.json → module/IComponents.sol/IComponents.json} +2 -2
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  46. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  47. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  48. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  49. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  50. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
  52. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  53. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +684 -0
  54. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +684 -0
  56. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  58. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  59. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  60. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  61. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  62. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  64. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +680 -0
  66. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  68. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +660 -0
  70. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  72. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  74. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +493 -0
  76. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  77. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  78. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +701 -0
  80. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  81. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +530 -0
  82. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  83. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
  84. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  85. package/artifacts/contracts/product/IProductService.sol/IProductService.json +381 -0
  86. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  88. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  89. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +692 -0
  90. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  92. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  93. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +716 -0
  94. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  95. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  96. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  98. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +636 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +252 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +648 -27
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +990 -0
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +846 -97
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +308 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1290 -0
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +661 -0
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +688 -0
  118. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +611 -0
  122. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  124. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  125. package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
  126. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  128. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +736 -0
  130. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +520 -0
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  134. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +625 -0
  136. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  138. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
  140. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +478 -0
  142. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  143. package/artifacts/contracts/{instance/lifecycle/ILifecycle.sol/ILifecycleModule.json → shared/ILifecycle.sol/ILifecycle.json} +10 -77
  144. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  146. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  148. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
  150. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  152. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  153. package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  156. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  157. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  158. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  159. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  160. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +347 -0
  170. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  173. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1607 -0
  182. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  183. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +545 -0
  184. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  185. package/artifacts/contracts/staking/Staking.sol/Staking.json +2074 -0
  186. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  187. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +676 -0
  188. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +805 -0
  190. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +636 -0
  192. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  193. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  194. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  195. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  196. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  197. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +16 -3
  198. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  200. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  201. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  202. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  203. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  204. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  205. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  206. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  208. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  209. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  210. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  211. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  212. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  214. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  216. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  217. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  218. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
  220. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  221. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  222. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  224. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
  226. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  227. package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  228. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  229. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +479 -0
  230. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  231. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  232. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  234. package/contracts/distribution/Distribution.sol +263 -0
  235. package/contracts/distribution/DistributionService.sol +297 -0
  236. package/contracts/distribution/DistributionServiceManager.sol +51 -0
  237. package/contracts/distribution/IDistributionComponent.sol +66 -0
  238. package/contracts/distribution/IDistributionService.sol +81 -0
  239. package/contracts/instance/BundleManager.sol +126 -0
  240. package/contracts/instance/IInstance.sol +74 -22
  241. package/contracts/instance/IInstanceService.sol +83 -0
  242. package/contracts/instance/Instance.sol +209 -53
  243. package/contracts/instance/InstanceAccessManager.sol +543 -0
  244. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  245. package/contracts/instance/InstanceReader.sol +366 -0
  246. package/contracts/instance/InstanceService.sol +348 -0
  247. package/contracts/instance/InstanceServiceManager.sol +54 -0
  248. package/contracts/instance/InstanceStore.sol +259 -0
  249. package/contracts/instance/base/BalanceStore.sol +118 -0
  250. package/contracts/instance/base/Cloneable.sol +51 -0
  251. package/contracts/instance/base/ObjectManager.sol +82 -0
  252. package/contracts/instance/module/IAccess.sol +54 -0
  253. package/contracts/instance/module/IBundle.sol +20 -0
  254. package/contracts/instance/module/IComponents.sol +52 -0
  255. package/contracts/instance/module/IDistribution.sol +42 -0
  256. package/contracts/instance/module/IPolicy.sol +84 -0
  257. package/contracts/instance/module/IRisk.sol +11 -0
  258. package/contracts/pool/BundleService.sol +313 -0
  259. package/contracts/pool/BundleServiceManager.sol +51 -0
  260. package/contracts/pool/IBundleService.sol +106 -0
  261. package/contracts/pool/IPoolComponent.sol +112 -0
  262. package/contracts/pool/IPoolService.sol +147 -0
  263. package/contracts/pool/Pool.sol +299 -0
  264. package/contracts/pool/PoolService.sol +421 -0
  265. package/contracts/pool/PoolServiceManager.sol +51 -0
  266. package/contracts/product/ApplicationService.sol +253 -0
  267. package/contracts/product/ApplicationServiceManager.sol +35 -0
  268. package/contracts/product/ClaimService.sol +436 -0
  269. package/contracts/product/ClaimServiceManager.sol +35 -0
  270. package/contracts/product/IApplicationService.sol +62 -0
  271. package/contracts/product/IClaimService.sol +93 -0
  272. package/contracts/product/IPolicyService.sol +78 -0
  273. package/contracts/product/IPricingService.sol +39 -0
  274. package/contracts/product/IProductComponent.sol +42 -0
  275. package/contracts/product/IProductService.sol +33 -0
  276. package/contracts/product/PolicyService.sol +471 -0
  277. package/contracts/product/PolicyServiceManager.sol +54 -0
  278. package/contracts/product/PricingService.sol +300 -0
  279. package/contracts/product/PricingServiceManager.sol +51 -0
  280. package/contracts/product/Product.sol +377 -0
  281. package/contracts/product/ProductService.sol +122 -0
  282. package/contracts/product/ProductServiceManager.sol +54 -0
  283. package/contracts/registry/ChainNft.sol +143 -62
  284. package/contracts/registry/IRegistry.sol +84 -40
  285. package/contracts/registry/IRegistryService.sol +79 -0
  286. package/contracts/registry/ITransferInterceptor.sol +7 -0
  287. package/contracts/registry/Registry.sol +475 -128
  288. package/contracts/registry/RegistryAccessManager.sol +213 -0
  289. package/contracts/registry/RegistryService.sol +327 -0
  290. package/contracts/registry/RegistryServiceManager.sol +60 -0
  291. package/contracts/registry/ReleaseManager.sol +375 -0
  292. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  293. package/contracts/registry/TokenRegistry.sol +187 -0
  294. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  295. package/contracts/shared/Component.sol +286 -0
  296. package/contracts/shared/ComponentService.sol +596 -0
  297. package/contracts/shared/ComponentServiceManager.sol +35 -0
  298. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  299. package/contracts/shared/ERC165.sol +27 -0
  300. package/contracts/shared/IComponent.sol +74 -0
  301. package/contracts/shared/IComponentService.sol +91 -0
  302. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  303. package/contracts/shared/IKeyValueStore.sol +53 -0
  304. package/contracts/shared/ILifecycle.sol +30 -0
  305. package/contracts/shared/INftOwnable.sol +23 -0
  306. package/contracts/shared/IPolicyHolder.sol +40 -0
  307. package/contracts/shared/IRegisterable.sol +15 -0
  308. package/contracts/shared/IRegistryLinked.sol +11 -0
  309. package/contracts/shared/IService.sol +18 -0
  310. package/contracts/shared/IVersionable.sol +53 -0
  311. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  312. package/contracts/shared/KeyValueStore.sol +169 -0
  313. package/contracts/shared/Lifecycle.sol +121 -0
  314. package/contracts/shared/NftOwnable.sol +118 -0
  315. package/contracts/shared/PolicyHolder.sol +94 -0
  316. package/contracts/shared/ProxyManager.sol +169 -0
  317. package/contracts/shared/Registerable.sol +75 -0
  318. package/contracts/shared/RegistryLinked.sol +43 -0
  319. package/contracts/shared/Service.sol +77 -0
  320. package/contracts/shared/TokenHandler.sol +58 -0
  321. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  322. package/contracts/shared/Versionable.sol +59 -0
  323. package/contracts/staking/IStaking.sol +77 -0
  324. package/contracts/staking/IStakingService.sol +105 -0
  325. package/contracts/staking/Staking.sol +212 -0
  326. package/contracts/staking/StakingManager.sol +46 -0
  327. package/contracts/staking/StakingService.sol +200 -0
  328. package/contracts/staking/StakingServiceManager.sol +41 -0
  329. package/contracts/type/AddressSet.sol +58 -0
  330. package/contracts/type/Amount.sol +114 -0
  331. package/contracts/{types → type}/Blocknumber.sol +7 -1
  332. package/contracts/type/ClaimId.sol +75 -0
  333. package/contracts/type/DistributorType.sol +55 -0
  334. package/contracts/type/Fee.sol +66 -0
  335. package/contracts/type/Key32.sol +50 -0
  336. package/contracts/{types → type}/NftId.sol +34 -12
  337. package/contracts/type/NftIdSet.sol +62 -0
  338. package/contracts/{types → type}/ObjectType.sol +73 -15
  339. package/contracts/type/PayoutId.sol +82 -0
  340. package/contracts/type/Referral.sol +89 -0
  341. package/contracts/type/RiskId.sol +43 -0
  342. package/contracts/type/RoleId.sol +138 -0
  343. package/contracts/type/Seconds.sol +54 -0
  344. package/contracts/{types → type}/StateId.sol +23 -4
  345. package/contracts/{types → type}/Timestamp.sol +36 -6
  346. package/contracts/type/UFixed.sol +326 -0
  347. package/contracts/type/Version.sol +108 -0
  348. package/package.json +12 -5
  349. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  350. package/artifacts/contracts/components/Component.sol/Component.json +0 -205
  351. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  352. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  353. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  354. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  355. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  356. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  357. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  358. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -328
  359. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  360. package/artifacts/contracts/components/Product.sol/Product.json +0 -346
  361. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  363. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  365. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  369. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  371. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  372. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  373. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  374. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  375. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  376. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  377. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  378. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  379. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  380. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  381. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  382. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  383. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  384. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  385. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  386. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  387. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  388. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  389. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  390. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  391. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  392. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  393. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  394. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  395. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  397. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  398. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  399. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  400. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  401. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  403. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  404. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  405. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  406. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  407. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  408. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  409. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  410. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  412. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  414. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  415. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  416. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  417. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  418. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  419. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  420. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  421. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  422. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  423. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  424. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  425. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  426. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  427. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  428. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  429. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  430. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  431. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  432. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  433. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  434. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  435. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  436. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  437. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  438. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  439. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  440. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  441. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  442. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  443. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  444. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  445. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  446. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  447. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  448. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  449. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  450. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  451. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  452. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  453. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  454. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  455. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  456. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  457. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  458. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  459. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  460. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -92
  461. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  462. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  463. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  464. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -174
  465. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  467. package/contracts/components/Component.sol +0 -77
  468. package/contracts/components/IPool.sol +0 -15
  469. package/contracts/components/IProduct.sol +0 -16
  470. package/contracts/components/Pool.sol +0 -52
  471. package/contracts/components/Product.sol +0 -89
  472. package/contracts/experiment/errors/Require.sol +0 -38
  473. package/contracts/experiment/errors/Revert.sol +0 -44
  474. package/contracts/experiment/inheritance/A.sol +0 -53
  475. package/contracts/experiment/inheritance/B.sol +0 -28
  476. package/contracts/experiment/inheritance/C.sol +0 -34
  477. package/contracts/experiment/inheritance/IA.sol +0 -13
  478. package/contracts/experiment/inheritance/IB.sol +0 -10
  479. package/contracts/experiment/inheritance/IC.sol +0 -12
  480. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  481. package/contracts/experiment/statemachine/ISM.sol +0 -25
  482. package/contracts/experiment/statemachine/README.md +0 -112
  483. package/contracts/experiment/statemachine/SM.sol +0 -57
  484. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  485. package/contracts/experiment/types/TypeA.sol +0 -47
  486. package/contracts/experiment/types/TypeB.sol +0 -29
  487. package/contracts/instance/access/Access.sol +0 -165
  488. package/contracts/instance/access/IAccess.sol +0 -63
  489. package/contracts/instance/component/ComponentModule.sol +0 -274
  490. package/contracts/instance/component/IComponent.sol +0 -74
  491. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  492. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  493. package/contracts/instance/policy/IPolicy.sol +0 -50
  494. package/contracts/instance/policy/PolicyModule.sol +0 -114
  495. package/contracts/instance/pool/IPoolModule.sol +0 -23
  496. package/contracts/instance/pool/PoolModule.sol +0 -81
  497. package/contracts/instance/product/IProductService.sol +0 -36
  498. package/contracts/instance/product/ProductService.sol +0 -136
  499. package/contracts/instance/treasury/ITreasury.sol +0 -91
  500. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  501. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  502. package/contracts/registry/IChainNft.sol +0 -21
  503. package/contracts/types/ChainId.sol +0 -38
  504. package/contracts/types/Fee.sol +0 -32
  505. package/contracts/types/UFixed.sol +0 -210
@@ -0,0 +1,1039 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceService",
4
+ "sourceName": "contracts/instance/InstanceService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ERC1167FailedCreateClone",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorInstanceServiceBundleManagerAuthorityMismatch",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "ErrorInstanceServiceBundleManagerZero",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "ErrorInstanceServiceBundleMangerInstanceMismatch",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "component",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "componentAddress",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorInstanceServiceComponentNotRegistered",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ErrorInstanceServiceInstanceAccessManagerZero",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorInstanceServiceInstanceAddressZero",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [],
98
+ "name": "ErrorInstanceServiceInstanceAuthorityMismatch",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [
103
+ {
104
+ "internalType": "NftId",
105
+ "name": "instanceNftId",
106
+ "type": "uint96"
107
+ },
108
+ {
109
+ "internalType": "NftId",
110
+ "name": "componentNftId",
111
+ "type": "uint96"
112
+ }
113
+ ],
114
+ "name": "ErrorInstanceServiceInstanceComponentMismatch",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "ErrorInstanceServiceInstanceReaderAddressZero",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [],
124
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
125
+ "type": "error"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
130
+ "type": "error"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "ErrorInstanceServiceInstanceReaderZero",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "inputs": [],
144
+ "name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [],
149
+ "name": "ErrorInstanceServiceInstanceStoreZero",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "componentAddress",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "internalType": "ObjectType",
161
+ "name": "expectedType",
162
+ "type": "uint8"
163
+ },
164
+ {
165
+ "internalType": "ObjectType",
166
+ "name": "componentType",
167
+ "type": "uint8"
168
+ }
169
+ ],
170
+ "name": "ErrorInstanceServiceInvalidComponentType",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "ErrorInstanceServiceMasterBundleManagerAlreadySet",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [],
180
+ "name": "ErrorInstanceServiceMasterInstanceAccessManagerAlreadySet",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [],
185
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [],
190
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [],
195
+ "name": "ErrorInstanceServiceMasterOzAccessManagerAlreadySet",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "NftId",
202
+ "name": "nftId",
203
+ "type": "uint96"
204
+ }
205
+ ],
206
+ "name": "ErrorInstanceServiceNotInstance",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "caller",
214
+ "type": "address"
215
+ },
216
+ {
217
+ "internalType": "NftId",
218
+ "name": "instanceNftId",
219
+ "type": "uint96"
220
+ }
221
+ ],
222
+ "name": "ErrorInstanceServiceNotInstanceOwner",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [
227
+ {
228
+ "internalType": "address",
229
+ "name": "caller",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "ErrorInstanceServiceRequestUnauhorized",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "NftId",
240
+ "name": "nftId",
241
+ "type": "uint96"
242
+ }
243
+ ],
244
+ "name": "ErrorNftOwnableAlreadyLinked",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "contractAddress",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "ErrorNftOwnableContractNotRegistered",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [],
260
+ "name": "ErrorNftOwnableInitialOwnerZero",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [
265
+ {
266
+ "internalType": "address",
267
+ "name": "account",
268
+ "type": "address"
269
+ }
270
+ ],
271
+ "name": "ErrorNftOwnableNotOwner",
272
+ "type": "error"
273
+ },
274
+ {
275
+ "inputs": [
276
+ {
277
+ "internalType": "address",
278
+ "name": "registryAddress",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "name": "ErrorNotRegistry",
283
+ "type": "error"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "ErrorServiceNotImplemented",
288
+ "type": "error"
289
+ },
290
+ {
291
+ "inputs": [],
292
+ "name": "InvalidInitialization",
293
+ "type": "error"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "NotInitializing",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "anonymous": false,
302
+ "inputs": [
303
+ {
304
+ "indexed": false,
305
+ "internalType": "address",
306
+ "name": "authority",
307
+ "type": "address"
308
+ }
309
+ ],
310
+ "name": "AuthorityUpdated",
311
+ "type": "event"
312
+ },
313
+ {
314
+ "anonymous": false,
315
+ "inputs": [
316
+ {
317
+ "indexed": false,
318
+ "internalType": "uint64",
319
+ "name": "version",
320
+ "type": "uint64"
321
+ }
322
+ ],
323
+ "name": "Initialized",
324
+ "type": "event"
325
+ },
326
+ {
327
+ "anonymous": false,
328
+ "inputs": [
329
+ {
330
+ "indexed": false,
331
+ "internalType": "address",
332
+ "name": "clonedOzAccessManager",
333
+ "type": "address"
334
+ },
335
+ {
336
+ "indexed": false,
337
+ "internalType": "address",
338
+ "name": "clonedInstanceAccessManager",
339
+ "type": "address"
340
+ },
341
+ {
342
+ "indexed": false,
343
+ "internalType": "address",
344
+ "name": "clonedInstance",
345
+ "type": "address"
346
+ },
347
+ {
348
+ "indexed": false,
349
+ "internalType": "address",
350
+ "name": "clonedInstanceStore",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "indexed": false,
355
+ "internalType": "address",
356
+ "name": "clonedBundleManager",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "indexed": false,
361
+ "internalType": "address",
362
+ "name": "clonedInstanceReader",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "indexed": false,
367
+ "internalType": "NftId",
368
+ "name": "clonedInstanceNftId",
369
+ "type": "uint96"
370
+ }
371
+ ],
372
+ "name": "LogInstanceCloned",
373
+ "type": "event"
374
+ },
375
+ {
376
+ "inputs": [],
377
+ "name": "INSTANCE_CREATION_CODE_HASH",
378
+ "outputs": [
379
+ {
380
+ "internalType": "bytes32",
381
+ "name": "",
382
+ "type": "bytes32"
383
+ }
384
+ ],
385
+ "stateMutability": "view",
386
+ "type": "function"
387
+ },
388
+ {
389
+ "inputs": [],
390
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
391
+ "outputs": [
392
+ {
393
+ "internalType": "bytes32",
394
+ "name": "",
395
+ "type": "bytes32"
396
+ }
397
+ ],
398
+ "stateMutability": "view",
399
+ "type": "function"
400
+ },
401
+ {
402
+ "inputs": [],
403
+ "name": "REGISTERABLE_LOCATION_V1",
404
+ "outputs": [
405
+ {
406
+ "internalType": "bytes32",
407
+ "name": "",
408
+ "type": "bytes32"
409
+ }
410
+ ],
411
+ "stateMutability": "view",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "inputs": [],
416
+ "name": "authority",
417
+ "outputs": [
418
+ {
419
+ "internalType": "address",
420
+ "name": "",
421
+ "type": "address"
422
+ }
423
+ ],
424
+ "stateMutability": "view",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "inputs": [
429
+ {
430
+ "internalType": "NftId",
431
+ "name": "instanceNftId",
432
+ "type": "uint96"
433
+ },
434
+ {
435
+ "internalType": "address",
436
+ "name": "targetAddress",
437
+ "type": "address"
438
+ },
439
+ {
440
+ "internalType": "string",
441
+ "name": "targetName",
442
+ "type": "string"
443
+ },
444
+ {
445
+ "internalType": "bytes4[][]",
446
+ "name": "selectors",
447
+ "type": "bytes4[][]"
448
+ },
449
+ {
450
+ "internalType": "RoleId[]",
451
+ "name": "roles",
452
+ "type": "uint64[]"
453
+ }
454
+ ],
455
+ "name": "createComponentTarget",
456
+ "outputs": [],
457
+ "stateMutability": "nonpayable",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ {
463
+ "internalType": "NftId",
464
+ "name": "instanceNftId",
465
+ "type": "uint96"
466
+ },
467
+ {
468
+ "internalType": "address",
469
+ "name": "targetAddress",
470
+ "type": "address"
471
+ },
472
+ {
473
+ "internalType": "string",
474
+ "name": "targetName",
475
+ "type": "string"
476
+ },
477
+ {
478
+ "internalType": "bytes4[][]",
479
+ "name": "selectors",
480
+ "type": "bytes4[][]"
481
+ },
482
+ {
483
+ "internalType": "RoleId[]",
484
+ "name": "roles",
485
+ "type": "uint64[]"
486
+ }
487
+ ],
488
+ "name": "createGifTarget",
489
+ "outputs": [],
490
+ "stateMutability": "nonpayable",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [],
495
+ "name": "createInstanceClone",
496
+ "outputs": [
497
+ {
498
+ "internalType": "contract Instance",
499
+ "name": "clonedInstance",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "internalType": "NftId",
504
+ "name": "clonedInstanceNftId",
505
+ "type": "uint96"
506
+ }
507
+ ],
508
+ "stateMutability": "nonpayable",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "getDomain",
514
+ "outputs": [
515
+ {
516
+ "internalType": "ObjectType",
517
+ "name": "",
518
+ "type": "uint8"
519
+ }
520
+ ],
521
+ "stateMutability": "pure",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [],
526
+ "name": "getInitialInfo",
527
+ "outputs": [
528
+ {
529
+ "components": [
530
+ {
531
+ "internalType": "NftId",
532
+ "name": "nftId",
533
+ "type": "uint96"
534
+ },
535
+ {
536
+ "internalType": "NftId",
537
+ "name": "parentNftId",
538
+ "type": "uint96"
539
+ },
540
+ {
541
+ "internalType": "ObjectType",
542
+ "name": "objectType",
543
+ "type": "uint8"
544
+ },
545
+ {
546
+ "internalType": "bool",
547
+ "name": "isInterceptor",
548
+ "type": "bool"
549
+ },
550
+ {
551
+ "internalType": "address",
552
+ "name": "objectAddress",
553
+ "type": "address"
554
+ },
555
+ {
556
+ "internalType": "address",
557
+ "name": "initialOwner",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "bytes",
562
+ "name": "data",
563
+ "type": "bytes"
564
+ }
565
+ ],
566
+ "internalType": "struct IRegistry.ObjectInfo",
567
+ "name": "info",
568
+ "type": "tuple"
569
+ }
570
+ ],
571
+ "stateMutability": "view",
572
+ "type": "function"
573
+ },
574
+ {
575
+ "inputs": [],
576
+ "name": "getMasterInstanceReader",
577
+ "outputs": [
578
+ {
579
+ "internalType": "address",
580
+ "name": "",
581
+ "type": "address"
582
+ }
583
+ ],
584
+ "stateMutability": "view",
585
+ "type": "function"
586
+ },
587
+ {
588
+ "inputs": [],
589
+ "name": "getNftId",
590
+ "outputs": [
591
+ {
592
+ "internalType": "NftId",
593
+ "name": "",
594
+ "type": "uint96"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [],
602
+ "name": "getOwner",
603
+ "outputs": [
604
+ {
605
+ "internalType": "address",
606
+ "name": "",
607
+ "type": "address"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [],
615
+ "name": "getRegistry",
616
+ "outputs": [
617
+ {
618
+ "internalType": "contract IRegistry",
619
+ "name": "",
620
+ "type": "address"
621
+ }
622
+ ],
623
+ "stateMutability": "view",
624
+ "type": "function"
625
+ },
626
+ {
627
+ "inputs": [],
628
+ "name": "getVersion",
629
+ "outputs": [
630
+ {
631
+ "internalType": "Version",
632
+ "name": "",
633
+ "type": "uint24"
634
+ }
635
+ ],
636
+ "stateMutability": "pure",
637
+ "type": "function"
638
+ },
639
+ {
640
+ "inputs": [],
641
+ "name": "initializeERC165",
642
+ "outputs": [],
643
+ "stateMutability": "nonpayable",
644
+ "type": "function"
645
+ },
646
+ {
647
+ "inputs": [
648
+ {
649
+ "internalType": "address",
650
+ "name": "initialOwner",
651
+ "type": "address"
652
+ },
653
+ {
654
+ "internalType": "address",
655
+ "name": "registryAddress",
656
+ "type": "address"
657
+ }
658
+ ],
659
+ "name": "initializeNftOwnable",
660
+ "outputs": [],
661
+ "stateMutability": "nonpayable",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [
666
+ {
667
+ "internalType": "address",
668
+ "name": "registryAddress",
669
+ "type": "address"
670
+ },
671
+ {
672
+ "internalType": "NftId",
673
+ "name": "parentNftId",
674
+ "type": "uint96"
675
+ },
676
+ {
677
+ "internalType": "ObjectType",
678
+ "name": "objectType",
679
+ "type": "uint8"
680
+ },
681
+ {
682
+ "internalType": "bool",
683
+ "name": "isInterceptor",
684
+ "type": "bool"
685
+ },
686
+ {
687
+ "internalType": "address",
688
+ "name": "initialOwner",
689
+ "type": "address"
690
+ },
691
+ {
692
+ "internalType": "bytes",
693
+ "name": "registryData",
694
+ "type": "bytes"
695
+ }
696
+ ],
697
+ "name": "initializeRegisterable",
698
+ "outputs": [],
699
+ "stateMutability": "nonpayable",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [
704
+ {
705
+ "internalType": "address",
706
+ "name": "registryAddress",
707
+ "type": "address"
708
+ }
709
+ ],
710
+ "name": "initializeRegistryLinked",
711
+ "outputs": [],
712
+ "stateMutability": "nonpayable",
713
+ "type": "function"
714
+ },
715
+ {
716
+ "inputs": [
717
+ {
718
+ "internalType": "address",
719
+ "name": "registry",
720
+ "type": "address"
721
+ },
722
+ {
723
+ "internalType": "address",
724
+ "name": "authority",
725
+ "type": "address"
726
+ },
727
+ {
728
+ "internalType": "address",
729
+ "name": "initialOwner",
730
+ "type": "address"
731
+ }
732
+ ],
733
+ "name": "initializeService",
734
+ "outputs": [],
735
+ "stateMutability": "nonpayable",
736
+ "type": "function"
737
+ },
738
+ {
739
+ "inputs": [
740
+ {
741
+ "internalType": "address",
742
+ "name": "activatedBy",
743
+ "type": "address"
744
+ },
745
+ {
746
+ "internalType": "bytes",
747
+ "name": "data",
748
+ "type": "bytes"
749
+ }
750
+ ],
751
+ "name": "initializeVersionable",
752
+ "outputs": [],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [],
758
+ "name": "isConsumingScheduledOp",
759
+ "outputs": [
760
+ {
761
+ "internalType": "bytes4",
762
+ "name": "",
763
+ "type": "bytes4"
764
+ }
765
+ ],
766
+ "stateMutability": "view",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [],
771
+ "name": "linkToRegisteredNftId",
772
+ "outputs": [],
773
+ "stateMutability": "nonpayable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "bytes4",
780
+ "name": "interfaceId",
781
+ "type": "bytes4"
782
+ }
783
+ ],
784
+ "name": "registerInterface",
785
+ "outputs": [],
786
+ "stateMutability": "nonpayable",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [
791
+ {
792
+ "internalType": "address",
793
+ "name": "instanceAddress",
794
+ "type": "address"
795
+ }
796
+ ],
797
+ "name": "setAndRegisterMasterInstance",
798
+ "outputs": [
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "masterInstanceNftId",
802
+ "type": "uint96"
803
+ }
804
+ ],
805
+ "stateMutability": "nonpayable",
806
+ "type": "function"
807
+ },
808
+ {
809
+ "inputs": [
810
+ {
811
+ "internalType": "address",
812
+ "name": "newAuthority",
813
+ "type": "address"
814
+ }
815
+ ],
816
+ "name": "setAuthority",
817
+ "outputs": [],
818
+ "stateMutability": "nonpayable",
819
+ "type": "function"
820
+ },
821
+ {
822
+ "inputs": [
823
+ {
824
+ "internalType": "bool",
825
+ "name": "locked",
826
+ "type": "bool"
827
+ }
828
+ ],
829
+ "name": "setComponentLocked",
830
+ "outputs": [],
831
+ "stateMutability": "nonpayable",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [
836
+ {
837
+ "internalType": "address",
838
+ "name": "instanceReaderAddress",
839
+ "type": "address"
840
+ }
841
+ ],
842
+ "name": "setMasterInstanceReader",
843
+ "outputs": [],
844
+ "stateMutability": "nonpayable",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [
849
+ {
850
+ "internalType": "bytes4",
851
+ "name": "interfaceId",
852
+ "type": "bytes4"
853
+ }
854
+ ],
855
+ "name": "supportsInterface",
856
+ "outputs": [
857
+ {
858
+ "internalType": "bool",
859
+ "name": "",
860
+ "type": "bool"
861
+ }
862
+ ],
863
+ "stateMutability": "view",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [
868
+ {
869
+ "internalType": "NftId",
870
+ "name": "instanceNftId",
871
+ "type": "uint96"
872
+ }
873
+ ],
874
+ "name": "upgradeInstanceReader",
875
+ "outputs": [],
876
+ "stateMutability": "nonpayable",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [
881
+ {
882
+ "internalType": "bytes",
883
+ "name": "data",
884
+ "type": "bytes"
885
+ }
886
+ ],
887
+ "name": "upgradeVersionable",
888
+ "outputs": [],
889
+ "stateMutability": "nonpayable",
890
+ "type": "function"
891
+ }
892
+ ],
893
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613fc980620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80637a9e5e4b11610104578063b68d1809116100a2578063edabac0311610071578063edabac0314610431578063eeff428e14610442578063f7c34ee014610471578063feec11901461048457600080fd5b8063b68d1809146103f4578063bf7e214f14610403578063c22f980d1461040b578063dd38b49e1461041e57600080fd5b80638e32e979116100de5780638e32e979146103985780638fb36037146103ab578063ada9652e146103cc578063b03d2a8e146103e157600080fd5b80637a9e5e4b14610375578063872309c714610388578063893d20e81461039057600080fd5b8063329d6e741161017c578063644c45e01161014b578063644c45e01461030a578063675393bf1461033c5780636a778e731461034f5780636c6fbb281461036257600080fd5b8063329d6e74146102b757806336fc697e146102ca57806349bb9e4b146102d25780635ab1bd53146102e557600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461338b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610497565b60405162ffffff9091168152602001610218565b610245610521565b60405161021891906133fd565b61025a6106e5565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f36600461338b565b6108ec565b61025a6102b23660046135c2565b610919565b61025a6102c536600461365a565b6109be565b61025a610b0b565b61025a6102e036600461368e565b610b51565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b600080516020613f34833981519152546001600160601b03165b6040516001600160601b039091168152602001610218565b61025a61034a3660046136dd565b610c50565b61032461035d3660046136dd565b610d5e565b61025a610370366004613888565b611615565b61025a6103833660046136dd565b611635565b610283600081565b6102f26116b8565b61025a6103a636600461394c565b6117ef565b6103b3611a28565b6040516001600160e01b03199091168152602001610218565b610283600080516020613f3483398151915281565b61025a6103ef366004613997565b611a60565b60405160468152602001610218565b6102f2611d6f565b61025a6104193660046139b4565b611d8b565b61025a61042c366004613888565b611621565b6006546001600160a01b03166102f2565b61044a611fb6565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61025a61047f3660046139d1565b61284b565b61025a6104923660046136dd565b6128c2565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613a0a565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190613a3a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106416116b8565b6001600160a01b0316815260200182600101805461065e90613a57565b80601f016020809104026020016040519081016040528092919081815260200182805461068a90613a57565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b505050505081525091505090565b6000600080516020613f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107789190613a9c565b156107a95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bc6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108289190613a9c565b6108505760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c89190613a3a565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f4612a3a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610921612a3a565b61092b828761284b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109b48382613aff565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109e0610497565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a449190613bbe565b600080516020613f748339815191528054600160401b900460ff1680610a77575080546001600160401b03808416911610155b15610a955760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610abf83612a73565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b13612a3a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020613f748339815191528054600160401b810460ff1615906001600160401b0316600081158015610b845750825b90506000826001600160401b03166001148015610ba05750303b155b905081158015610bae575080155b15610bcc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bf657845460ff60401b1916600160401b1785555b610c008787612a7b565b8315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c58612a3a565b806001600160a01b03163b600003610c8e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610d08575060408051601f3d908101601f19168201909252610d0591810190613a9c565b60015b610d305760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b80610d595760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a0565b505b50565b6000610d686116b8565b6001600160a01b0316336001600160a01b031614610d9b5760405163086391f760e31b81523360048201526024016107a0565b6005546001600160a01b031615610dc557604051632c237de760e11b815260040160405180910390fd5b6003546001600160a01b031615610def57604051636519f6b960e01b815260040160405180910390fd5b6004546001600160a01b031615610e1957604051630157f74960e01b815260040160405180910390fd5b6007546001600160a01b031615610e4357604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610e6a576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed39190613bdb565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e9190613bdb565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190613bdb565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190613bdb565b9050806001600160a01b03871661103e5760405163459e9b9760e01b815260040160405180910390fd5b6001600160a01b0385166110655760405163e267254160e01b815260040160405180910390fd5b6001600160a01b03831661108c57604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b0381166110b3576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111159190613bdb565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561115c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111809190613bdb565b6001600160a01b0316146111a7576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112099190613bdb565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112749190613bdb565b6001600160a01b03161461129b576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fd9190613bdb565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190613bdb565b6001600160a01b03161461138f57604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190613bdb565b6001600160a01b03161461142257604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e9190613bdb565b6001600160a01b0316146114b5576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115179190613bdb565b600380546001600160a01b03199081166001600160a01b03938416179091556004805482168a84161790556005805482168e8416908117909155600680548316898516179055600780548316878516179055600880549092168484161790915560025490916000911663026bc43b8361158e6116b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156115db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116039190810190613c53565b519d9c50505050505050505050505050565b61162133600036612cbc565b61162e8585858486612dc2565b5050505050565b3361163e611d6f565b6001600160a01b0316816001600160a01b0316146116795760405162d1953b60e31b81526001600160a01b03821660048201526024016107a0565b816001600160a01b03163b6000036116af576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a0565b610d5982612f4b565b600080600080516020613f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174c9190613a9c565b156117d9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d39190613bdb565b91505090565b54600160601b90046001600160a01b0316919050565b6117f7612a3a565b61187783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190613a3a565b603c60008560405180602001604052806000815250610919565b6001600160a01b038216156118945761188f82612fac565b611a03565b60006118a86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c9190613d25565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190613bdb565b9050611a01816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190613bdb565b612fac565b505b611a13634a531f3360e01b6108ec565b611a2363b68d180960e01b6108ec565b505050565b600080516020613f54833981519152805460009190600160a01b900460ff16611a525760006117d3565b638fb3603760e01b91505090565b6040516301ffc9a760e01b8152639a29895960e01b6004820152339081906301ffc9a790602401602060405180830381865afa158015611aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac89190613a9c565b611aef576040516236c14d60e71b81526001600160a01b03821660048201526024016107a0565b6000611b036001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611b4f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b779190810190613c53565b60200151604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfa9190613a9c565b15611c235760405163aef351c360e01b81526001600160a01b03841660048201526024016107a0565b6040516305247a1760e51b81526001600160601b03821660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611c73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c9b9190810190613c53565b608001519050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d039190613bdb565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611d5057600080fd5b505af1158015611d64573d6000803e3d6000fd5b505050505050505050565b600080516020613f54833981519152546001600160a01b031690565b80611d9e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e119190613bdb565b6001600160a01b0316336001600160a01b031614611e44576040516302613e9f60e51b81523360048201526024016107a0565b6000611e586001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611eab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed39190810190613c53565b608081015160065491925090600090611ef4906001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611f3b57600080fd5b505af1158015611f4f573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b158015611f9657600080fd5b505af1158015611faa573d6000803e3d6000fd5b50505050505050505050565b600354600090819033908290611fd4906001600160a01b0316612fbd565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b15801561201857600080fd5b505af115801561202c573d6000803e3d6000fd5b505060055461204692506001600160a01b03169050612fbd565b9350836001600160a01b031663c0c53b8b8261206a6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b1580156120bb57600080fd5b505af11580156120cf573d6000803e3d6000fd5b5050600854600092506120eb91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561213257600080fd5b505af1158015612146573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561218d57600080fd5b505af11580156121a1573d6000803e3d6000fd5b5050600654600092506121bd91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561220457600080fd5b505af1158015612218573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b15801561225f57600080fd5b505af1158015612273573d6000803e3d6000fd5b50506007546000925061228f91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156122d657600080fd5b505af11580156122ea573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b15801561233057600080fd5b505af1158015612344573d6000803e3d6000fd5b50506004546000925061236091506001600160a01b0316612fbd565b9050846001600160a01b03166325c471a061237961302f565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156123d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f69190613bbe565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b15801561244d57600080fd5b505af1158015612461573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b1580156124a857600080fd5b505af11580156124bc573d6000803e3d6000fd5b5050604051630f749a8960e01b81526001600160a01b0384811660048301528b169250630f749a899150602401600060405180830381600087803b15801561250357600080fd5b505af1158015612517573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__63a1b61ad4828a85888b61254c6001546001600160a01b031690565b612554610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156125a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cd9190613d25565b60405160e089901b6001600160e01b03191681526001600160a01b0397881660048201529587166024870152938616604486015291851660648501528416608484015290921660a482015260ff90911660c482015260e40160006040518083038186803b15801561263d57600080fd5b505af4158015612651573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f561266c61302f565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156126c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e99190613bbe565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b15801561273057600080fd5b505af1158015612744573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af115801561279f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127c79190810190613c53565b8051604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b03831660c08201529051919a509192507eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d9181900360e00190a1505050505050509091565b612853612a3a565b61285c81610c50565b612864610b0b565b6001600160a01b03821661288b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613f3483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6128ca6116b8565b6001600160a01b0316336001600160a01b0316146128fd5760405163086391f760e31b81523360048201526024016107a0565b6006546001600160a01b0316612926576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661294d57604051631aa1808560e31b815260040160405180910390fd5b6006546001600160a01b039081169082160361297c57604051630666e2a560e01b815260040160405180910390fd5b6005546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa1580156129cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f09190613bdb565b6001600160a01b031614612a175760405163f026367160e01b815260040160405180910390fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080516020613f7483398151915254600160401b900460ff16612a7157604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612a3a565b600080516020613f748339815191528054600160401b810460ff1615906001600160401b0316600081158015612aae5750825b90506000826001600160401b03166001148015612aca5750303b155b905081158015612ad8575080155b15612af65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612b2057845460ff60401b1916600160401b1785555b60008087806020019051810190612b379190613d42565b91509150816001600160a01b031663d39e6043612b52602890565b612b5a610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd39190613d25565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3c9190613bdb565b600280546001600160a01b0319166001600160a01b0392909216919091179055612c688260008b6117ef565b612c786377cab3db60e11b6108ec565b50508315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c3e565b600080516020613f54833981519152600080612cf7612cd9611d6f565b8730612ce9600460008a8c613d71565b612cf291613d9b565b6130a6565b9150915081612dba5763ffffffff811615612d9757825460ff60a01b1916600160a01b178355612d25611d6f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612d5493929190613dcb565b600060405180830381600087803b158015612d6e57600080fd5b505af1158015612d82573d6000803e3d6000fd5b5050845460ff60a01b1916855550612dba9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107a0565b505050505050565b6000612dce86866131b2565b5090506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e359190613bdb565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090612e669089908990600401613e0b565b600060405180830381600087803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b5050505060005b84518110156109b457816001600160a01b0316630c8ae53e87868481518110612ec657612ec6613e2f565b6020026020010151888581518110612ee057612ee0613e2f565b60200260200101516040518463ffffffff1660e01b8152600401612f0693929190613e45565b600060405180830381600087803b158015612f2057600080fd5b505af1158015612f34573d6000803e3d6000fd5b505050508080612f4390613eb8565b915050612e9b565b600080516020613f5483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612fb4612a3a565b610d5b81613362565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b03811661302a576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613082573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613bbe565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131159190613edf565b600060405180830381855afa9150503d8060008114613150576040519150601f19603f3d011682016040523d82523d6000602084013e613155565b606091505b509150915081156131a7576040815110613187578080602001905181019061317d9190613efb565b90945092506131a7565b60208151106131a757808060200190518101906131a49190613a9c565b93505b505094509492505050565b60008060006131c96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561321c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132449190810190613c53565b90506132628160400151613256604690565b60ff9081169116141590565b1561328b5760405163e3c2794960e01b81526001600160601b03871660048201526024016107a0565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa1580156132d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132fd9190810190613c53565b905061331a8160200151886001600160601b039081169116141590565b1561334e57805160405163a811346560e01b81526001600160601b03808a16600483015290911660248201526044016107a0565b608090910151905190969095509350505050565b61336a612a3a565b610d5b81612f4b565b80356001600160e01b03198116811461302a57600080fd5b60006020828403121561339d57600080fd5b6133a682613373565b9392505050565b60005b838110156133c85781810151838201526020016133b0565b50506000910152565b600081518084526133e98160208601602086016133ad565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161346660c08401826001600160a01b03169052565b5060c083015160e0808401526134806101008401826133d1565b949350505050565b6001600160a01b0381168114610d5b57600080fd5b6001600160601b0381168114610d5b57600080fd5b60ff81168114610d5b57600080fd5b8015158114610d5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613507576135076134cf565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613535576135356134cf565b604052919050565b60006001600160401b03821115613556576135566134cf565b50601f01601f191660200190565b60006135776135728461353d565b61350d565b905082815283838301111561358b57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126135b357600080fd5b6133a683833560208501613564565b60008060008060008060c087890312156135db57600080fd5b86356135e681613488565b955060208701356135f68161349d565b94506040870135613606816134b2565b93506060870135613616816134c1565b9250608087013561362681613488565b915060a08701356001600160401b0381111561364157600080fd5b61364d89828a016135a2565b9150509295509295509295565b60006020828403121561366c57600080fd5b81356001600160401b0381111561368257600080fd5b613480848285016135a2565b600080604083850312156136a157600080fd5b82356136ac81613488565b915060208301356001600160401b038111156136c757600080fd5b6136d3858286016135a2565b9150509250929050565b6000602082840312156136ef57600080fd5b81356133a681613488565b60006001600160401b03821115613713576137136134cf565b5060051b60200190565b600082601f83011261372e57600080fd5b8135602061373e613572836136fa565b828152600592831b850182019282820191908785111561375d57600080fd5b8387015b858110156137f75780356001600160401b038111156137805760008081fd5b8801603f81018a136137925760008081fd5b8581013560406137a4613572836136fa565b82815291851b8301810191888101908d8411156137c15760008081fd5b938201935b838510156137e6576137d785613373565b825293890193908901906137c6565b885250505093850193508401613761565b5090979650505050505050565b6001600160401b0381168114610d5b57600080fd5b600082601f83011261382a57600080fd5b8135602061383a613572836136fa565b82815260059290921b8401810191818101908684111561385957600080fd5b8286015b8481101561387d57803561387081613804565b835291830191830161385d565b509695505050505050565b600080600080600060a086880312156138a057600080fd5b85356138ab8161349d565b945060208601356138bb81613488565b935060408601356001600160401b03808211156138d757600080fd5b818801915088601f8301126138eb57600080fd5b6138fa89833560208501613564565b9450606088013591508082111561391057600080fd5b61391c89838a0161371d565b9350608088013591508082111561393257600080fd5b5061393f88828901613819565b9150509295509295909350565b60008060006060848603121561396157600080fd5b833561396c81613488565b9250602084013561397c81613488565b9150604084013561398c81613488565b809150509250925092565b6000602082840312156139a957600080fd5b81356133a6816134c1565b6000602082840312156139c657600080fd5b81356133a68161349d565b600080604083850312156139e457600080fd5b82356139ef81613488565b915060208301356139ff81613488565b809150509250929050565b600060208284031215613a1c57600080fd5b815162ffffff811681146133a657600080fd5b805161302a8161349d565b600060208284031215613a4c57600080fd5b81516133a68161349d565b600181811c90821680613a6b57607f821691505b602082108103613a8b57634e487b7160e01b600052602260045260246000fd5b50919050565b805161302a816134c1565b600060208284031215613aae57600080fd5b81516133a6816134c1565b601f821115611a2357600081815260208120601f850160051c81016020861015613ae05750805b601f850160051c820191505b81811015612dba57828155600101613aec565b81516001600160401b03811115613b1857613b186134cf565b613b2c81613b268454613a57565b84613ab9565b602080601f831160018114613b615760008415613b495750858301515b600019600386901b1c1916600185901b178555612dba565b600085815260208120601f198616915b82811015613b9057888601518255948401946001909101908401613b71565b5085821015613bae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613bd057600080fd5b81516133a681613804565b600060208284031215613bed57600080fd5b81516133a681613488565b805161302a81613488565b805161302a816134b2565b600082601f830112613c1f57600080fd5b8151613c2d6135728261353d565b818152846020838601011115613c4257600080fd5b6134808260208301602087016133ad565b600060208284031215613c6557600080fd5b81516001600160401b0380821115613c7c57600080fd5b9083019060e08286031215613c9057600080fd5b613c986134e5565b613ca183613a2f565b8152613caf60208401613a2f565b6020820152613cc060408401613c03565b6040820152613cd160608401613a91565b6060820152613ce260808401613bf8565b6080820152613cf360a08401613bf8565b60a082015260c083015182811115613d0a57600080fd5b613d1687828601613c0e565b60c08301525095945050505050565b600060208284031215613d3757600080fd5b81516133a6816134b2565b60008060408385031215613d5557600080fd5b8251613d6081613488565b60208401519092506139ff81613488565b60008085851115613d8157600080fd5b83861115613d8e57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015613dc35780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b0383168152604060208201819052600090613480908301846133d1565b634e487b7160e01b600052603260045260246000fd5b606081526000613e5860608301866133d1565b82810360208481019190915285518083528682019282019060005b81811015613e995784516001600160e01b03191683529383019391830191600101613e73565b50508093505050506001600160401b0383166040830152949350505050565b600060018201613ed857634e487b7160e01b600052601160045260246000fd5b5060010190565b60008251613ef18184602087016133ad565b9190910192915050565b60008060408385031215613f0e57600080fd5b8251613f19816134c1565b602084015190925063ffffffff811681146139ff57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207bff0a228908fcd7d3ea39404670769a28aadde05293e0d706be0c28c830c0fa64736f6c63430008140033",
894
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80637a9e5e4b11610104578063b68d1809116100a2578063edabac0311610071578063edabac0314610431578063eeff428e14610442578063f7c34ee014610471578063feec11901461048457600080fd5b8063b68d1809146103f4578063bf7e214f14610403578063c22f980d1461040b578063dd38b49e1461041e57600080fd5b80638e32e979116100de5780638e32e979146103985780638fb36037146103ab578063ada9652e146103cc578063b03d2a8e146103e157600080fd5b80637a9e5e4b14610375578063872309c714610388578063893d20e81461039057600080fd5b8063329d6e741161017c578063644c45e01161014b578063644c45e01461030a578063675393bf1461033c5780636a778e731461034f5780636c6fbb281461036257600080fd5b8063329d6e74146102b757806336fc697e146102ca57806349bb9e4b146102d25780635ab1bd53146102e557600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461338b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610497565b60405162ffffff9091168152602001610218565b610245610521565b60405161021891906133fd565b61025a6106e5565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f36600461338b565b6108ec565b61025a6102b23660046135c2565b610919565b61025a6102c536600461365a565b6109be565b61025a610b0b565b61025a6102e036600461368e565b610b51565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b600080516020613f34833981519152546001600160601b03165b6040516001600160601b039091168152602001610218565b61025a61034a3660046136dd565b610c50565b61032461035d3660046136dd565b610d5e565b61025a610370366004613888565b611615565b61025a6103833660046136dd565b611635565b610283600081565b6102f26116b8565b61025a6103a636600461394c565b6117ef565b6103b3611a28565b6040516001600160e01b03199091168152602001610218565b610283600080516020613f3483398151915281565b61025a6103ef366004613997565b611a60565b60405160468152602001610218565b6102f2611d6f565b61025a6104193660046139b4565b611d8b565b61025a61042c366004613888565b611621565b6006546001600160a01b03166102f2565b61044a611fb6565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61025a61047f3660046139d1565b61284b565b61025a6104923660046136dd565b6128c2565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613a0a565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190613a3a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106416116b8565b6001600160a01b0316815260200182600101805461065e90613a57565b80601f016020809104026020016040519081016040528092919081815260200182805461068a90613a57565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b505050505081525091505090565b6000600080516020613f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107789190613a9c565b156107a95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bc6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108289190613a9c565b6108505760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c89190613a3a565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f4612a3a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610921612a3a565b61092b828761284b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109b48382613aff565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109e0610497565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a449190613bbe565b600080516020613f748339815191528054600160401b900460ff1680610a77575080546001600160401b03808416911610155b15610a955760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610abf83612a73565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b13612a3a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020613f748339815191528054600160401b810460ff1615906001600160401b0316600081158015610b845750825b90506000826001600160401b03166001148015610ba05750303b155b905081158015610bae575080155b15610bcc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bf657845460ff60401b1916600160401b1785555b610c008787612a7b565b8315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c58612a3a565b806001600160a01b03163b600003610c8e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610d08575060408051601f3d908101601f19168201909252610d0591810190613a9c565b60015b610d305760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b80610d595760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a0565b505b50565b6000610d686116b8565b6001600160a01b0316336001600160a01b031614610d9b5760405163086391f760e31b81523360048201526024016107a0565b6005546001600160a01b031615610dc557604051632c237de760e11b815260040160405180910390fd5b6003546001600160a01b031615610def57604051636519f6b960e01b815260040160405180910390fd5b6004546001600160a01b031615610e1957604051630157f74960e01b815260040160405180910390fd5b6007546001600160a01b031615610e4357604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610e6a576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed39190613bdb565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e9190613bdb565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190613bdb565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190613bdb565b9050806001600160a01b03871661103e5760405163459e9b9760e01b815260040160405180910390fd5b6001600160a01b0385166110655760405163e267254160e01b815260040160405180910390fd5b6001600160a01b03831661108c57604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b0381166110b3576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111159190613bdb565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561115c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111809190613bdb565b6001600160a01b0316146111a7576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112099190613bdb565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112749190613bdb565b6001600160a01b03161461129b576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fd9190613bdb565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190613bdb565b6001600160a01b03161461138f57604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190613bdb565b6001600160a01b03161461142257604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e9190613bdb565b6001600160a01b0316146114b5576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115179190613bdb565b600380546001600160a01b03199081166001600160a01b03938416179091556004805482168a84161790556005805482168e8416908117909155600680548316898516179055600780548316878516179055600880549092168484161790915560025490916000911663026bc43b8361158e6116b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156115db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116039190810190613c53565b519d9c50505050505050505050505050565b61162133600036612cbc565b61162e8585858486612dc2565b5050505050565b3361163e611d6f565b6001600160a01b0316816001600160a01b0316146116795760405162d1953b60e31b81526001600160a01b03821660048201526024016107a0565b816001600160a01b03163b6000036116af576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a0565b610d5982612f4b565b600080600080516020613f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174c9190613a9c565b156117d9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d39190613bdb565b91505090565b54600160601b90046001600160a01b0316919050565b6117f7612a3a565b61187783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190613a3a565b603c60008560405180602001604052806000815250610919565b6001600160a01b038216156118945761188f82612fac565b611a03565b60006118a86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c9190613d25565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190613bdb565b9050611a01816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190613bdb565b612fac565b505b611a13634a531f3360e01b6108ec565b611a2363b68d180960e01b6108ec565b505050565b600080516020613f54833981519152805460009190600160a01b900460ff16611a525760006117d3565b638fb3603760e01b91505090565b6040516301ffc9a760e01b8152639a29895960e01b6004820152339081906301ffc9a790602401602060405180830381865afa158015611aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac89190613a9c565b611aef576040516236c14d60e71b81526001600160a01b03821660048201526024016107a0565b6000611b036001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611b4f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b779190810190613c53565b60200151604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfa9190613a9c565b15611c235760405163aef351c360e01b81526001600160a01b03841660048201526024016107a0565b6040516305247a1760e51b81526001600160601b03821660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611c73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c9b9190810190613c53565b608001519050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d039190613bdb565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611d5057600080fd5b505af1158015611d64573d6000803e3d6000fd5b505050505050505050565b600080516020613f54833981519152546001600160a01b031690565b80611d9e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e119190613bdb565b6001600160a01b0316336001600160a01b031614611e44576040516302613e9f60e51b81523360048201526024016107a0565b6000611e586001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611eab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed39190810190613c53565b608081015160065491925090600090611ef4906001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611f3b57600080fd5b505af1158015611f4f573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b158015611f9657600080fd5b505af1158015611faa573d6000803e3d6000fd5b50505050505050505050565b600354600090819033908290611fd4906001600160a01b0316612fbd565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b15801561201857600080fd5b505af115801561202c573d6000803e3d6000fd5b505060055461204692506001600160a01b03169050612fbd565b9350836001600160a01b031663c0c53b8b8261206a6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b1580156120bb57600080fd5b505af11580156120cf573d6000803e3d6000fd5b5050600854600092506120eb91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561213257600080fd5b505af1158015612146573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561218d57600080fd5b505af11580156121a1573d6000803e3d6000fd5b5050600654600092506121bd91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561220457600080fd5b505af1158015612218573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b15801561225f57600080fd5b505af1158015612273573d6000803e3d6000fd5b50506007546000925061228f91506001600160a01b0316612fbd565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156122d657600080fd5b505af11580156122ea573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b15801561233057600080fd5b505af1158015612344573d6000803e3d6000fd5b50506004546000925061236091506001600160a01b0316612fbd565b9050846001600160a01b03166325c471a061237961302f565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156123d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f69190613bbe565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b15801561244d57600080fd5b505af1158015612461573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b1580156124a857600080fd5b505af11580156124bc573d6000803e3d6000fd5b5050604051630f749a8960e01b81526001600160a01b0384811660048301528b169250630f749a899150602401600060405180830381600087803b15801561250357600080fd5b505af1158015612517573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__63a1b61ad4828a85888b61254c6001546001600160a01b031690565b612554610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156125a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cd9190613d25565b60405160e089901b6001600160e01b03191681526001600160a01b0397881660048201529587166024870152938616604486015291851660648501528416608484015290921660a482015260ff90911660c482015260e40160006040518083038186803b15801561263d57600080fd5b505af4158015612651573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f561266c61302f565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156126c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e99190613bbe565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b15801561273057600080fd5b505af1158015612744573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af115801561279f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127c79190810190613c53565b8051604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b03831660c08201529051919a509192507eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d9181900360e00190a1505050505050509091565b612853612a3a565b61285c81610c50565b612864610b0b565b6001600160a01b03821661288b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613f3483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6128ca6116b8565b6001600160a01b0316336001600160a01b0316146128fd5760405163086391f760e31b81523360048201526024016107a0565b6006546001600160a01b0316612926576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661294d57604051631aa1808560e31b815260040160405180910390fd5b6006546001600160a01b039081169082160361297c57604051630666e2a560e01b815260040160405180910390fd5b6005546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa1580156129cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f09190613bdb565b6001600160a01b031614612a175760405163f026367160e01b815260040160405180910390fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080516020613f7483398151915254600160401b900460ff16612a7157604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612a3a565b600080516020613f748339815191528054600160401b810460ff1615906001600160401b0316600081158015612aae5750825b90506000826001600160401b03166001148015612aca5750303b155b905081158015612ad8575080155b15612af65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612b2057845460ff60401b1916600160401b1785555b60008087806020019051810190612b379190613d42565b91509150816001600160a01b031663d39e6043612b52602890565b612b5a610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd39190613d25565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3c9190613bdb565b600280546001600160a01b0319166001600160a01b0392909216919091179055612c688260008b6117ef565b612c786377cab3db60e11b6108ec565b50508315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c3e565b600080516020613f54833981519152600080612cf7612cd9611d6f565b8730612ce9600460008a8c613d71565b612cf291613d9b565b6130a6565b9150915081612dba5763ffffffff811615612d9757825460ff60a01b1916600160a01b178355612d25611d6f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612d5493929190613dcb565b600060405180830381600087803b158015612d6e57600080fd5b505af1158015612d82573d6000803e3d6000fd5b5050845460ff60a01b1916855550612dba9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107a0565b505050505050565b6000612dce86866131b2565b5090506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e359190613bdb565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090612e669089908990600401613e0b565b600060405180830381600087803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b5050505060005b84518110156109b457816001600160a01b0316630c8ae53e87868481518110612ec657612ec6613e2f565b6020026020010151888581518110612ee057612ee0613e2f565b60200260200101516040518463ffffffff1660e01b8152600401612f0693929190613e45565b600060405180830381600087803b158015612f2057600080fd5b505af1158015612f34573d6000803e3d6000fd5b505050508080612f4390613eb8565b915050612e9b565b600080516020613f5483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612fb4612a3a565b610d5b81613362565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b03811661302a576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613082573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613bbe565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131159190613edf565b600060405180830381855afa9150503d8060008114613150576040519150601f19603f3d011682016040523d82523d6000602084013e613155565b606091505b509150915081156131a7576040815110613187578080602001905181019061317d9190613efb565b90945092506131a7565b60208151106131a757808060200190518101906131a49190613a9c565b93505b505094509492505050565b60008060006131c96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561321c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132449190810190613c53565b90506132628160400151613256604690565b60ff9081169116141590565b1561328b5760405163e3c2794960e01b81526001600160601b03871660048201526024016107a0565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa1580156132d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132fd9190810190613c53565b905061331a8160200151886001600160601b039081169116141590565b1561334e57805160405163a811346560e01b81526001600160601b03808a16600483015290911660248201526044016107a0565b608090910151905190969095509350505050565b61336a612a3a565b610d5b81612f4b565b80356001600160e01b03198116811461302a57600080fd5b60006020828403121561339d57600080fd5b6133a682613373565b9392505050565b60005b838110156133c85781810151838201526020016133b0565b50506000910152565b600081518084526133e98160208601602086016133ad565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161346660c08401826001600160a01b03169052565b5060c083015160e0808401526134806101008401826133d1565b949350505050565b6001600160a01b0381168114610d5b57600080fd5b6001600160601b0381168114610d5b57600080fd5b60ff81168114610d5b57600080fd5b8015158114610d5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613507576135076134cf565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613535576135356134cf565b604052919050565b60006001600160401b03821115613556576135566134cf565b50601f01601f191660200190565b60006135776135728461353d565b61350d565b905082815283838301111561358b57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126135b357600080fd5b6133a683833560208501613564565b60008060008060008060c087890312156135db57600080fd5b86356135e681613488565b955060208701356135f68161349d565b94506040870135613606816134b2565b93506060870135613616816134c1565b9250608087013561362681613488565b915060a08701356001600160401b0381111561364157600080fd5b61364d89828a016135a2565b9150509295509295509295565b60006020828403121561366c57600080fd5b81356001600160401b0381111561368257600080fd5b613480848285016135a2565b600080604083850312156136a157600080fd5b82356136ac81613488565b915060208301356001600160401b038111156136c757600080fd5b6136d3858286016135a2565b9150509250929050565b6000602082840312156136ef57600080fd5b81356133a681613488565b60006001600160401b03821115613713576137136134cf565b5060051b60200190565b600082601f83011261372e57600080fd5b8135602061373e613572836136fa565b828152600592831b850182019282820191908785111561375d57600080fd5b8387015b858110156137f75780356001600160401b038111156137805760008081fd5b8801603f81018a136137925760008081fd5b8581013560406137a4613572836136fa565b82815291851b8301810191888101908d8411156137c15760008081fd5b938201935b838510156137e6576137d785613373565b825293890193908901906137c6565b885250505093850193508401613761565b5090979650505050505050565b6001600160401b0381168114610d5b57600080fd5b600082601f83011261382a57600080fd5b8135602061383a613572836136fa565b82815260059290921b8401810191818101908684111561385957600080fd5b8286015b8481101561387d57803561387081613804565b835291830191830161385d565b509695505050505050565b600080600080600060a086880312156138a057600080fd5b85356138ab8161349d565b945060208601356138bb81613488565b935060408601356001600160401b03808211156138d757600080fd5b818801915088601f8301126138eb57600080fd5b6138fa89833560208501613564565b9450606088013591508082111561391057600080fd5b61391c89838a0161371d565b9350608088013591508082111561393257600080fd5b5061393f88828901613819565b9150509295509295909350565b60008060006060848603121561396157600080fd5b833561396c81613488565b9250602084013561397c81613488565b9150604084013561398c81613488565b809150509250925092565b6000602082840312156139a957600080fd5b81356133a6816134c1565b6000602082840312156139c657600080fd5b81356133a68161349d565b600080604083850312156139e457600080fd5b82356139ef81613488565b915060208301356139ff81613488565b809150509250929050565b600060208284031215613a1c57600080fd5b815162ffffff811681146133a657600080fd5b805161302a8161349d565b600060208284031215613a4c57600080fd5b81516133a68161349d565b600181811c90821680613a6b57607f821691505b602082108103613a8b57634e487b7160e01b600052602260045260246000fd5b50919050565b805161302a816134c1565b600060208284031215613aae57600080fd5b81516133a6816134c1565b601f821115611a2357600081815260208120601f850160051c81016020861015613ae05750805b601f850160051c820191505b81811015612dba57828155600101613aec565b81516001600160401b03811115613b1857613b186134cf565b613b2c81613b268454613a57565b84613ab9565b602080601f831160018114613b615760008415613b495750858301515b600019600386901b1c1916600185901b178555612dba565b600085815260208120601f198616915b82811015613b9057888601518255948401946001909101908401613b71565b5085821015613bae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613bd057600080fd5b81516133a681613804565b600060208284031215613bed57600080fd5b81516133a681613488565b805161302a81613488565b805161302a816134b2565b600082601f830112613c1f57600080fd5b8151613c2d6135728261353d565b818152846020838601011115613c4257600080fd5b6134808260208301602087016133ad565b600060208284031215613c6557600080fd5b81516001600160401b0380821115613c7c57600080fd5b9083019060e08286031215613c9057600080fd5b613c986134e5565b613ca183613a2f565b8152613caf60208401613a2f565b6020820152613cc060408401613c03565b6040820152613cd160608401613a91565b6060820152613ce260808401613bf8565b6080820152613cf360a08401613bf8565b60a082015260c083015182811115613d0a57600080fd5b613d1687828601613c0e565b60c08301525095945050505050565b600060208284031215613d3757600080fd5b81516133a6816134b2565b60008060408385031215613d5557600080fd5b8251613d6081613488565b60208401519092506139ff81613488565b60008085851115613d8157600080fd5b83861115613d8e57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015613dc35780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b0383168152604060208201819052600090613480908301846133d1565b634e487b7160e01b600052603260045260246000fd5b606081526000613e5860608301866133d1565b82810360208481019190915285518083528682019282019060005b81811015613e995784516001600160e01b03191683529383019391830191600101613e73565b50508093505050506001600160401b0383166040830152949350505050565b600060018201613ed857634e487b7160e01b600052601160045260246000fd5b5060010190565b60008251613ef18184602087016133ad565b9190910192915050565b60008060408385031215613f0e57600080fd5b8251613f19816134c1565b602084015190925063ffffffff811681146139ff57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207bff0a228908fcd7d3ea39404670769a28aadde05293e0d706be0c28c830c0fa64736f6c63430008140033",
895
+ "linkReferences": {
896
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
897
+ "InstanceAuthorizationsLib": [
898
+ {
899
+ "length": 20,
900
+ "start": 9731
901
+ }
902
+ ]
903
+ },
904
+ "contracts/type/NftId.sol": {
905
+ "NftIdLib": [
906
+ {
907
+ "length": 20,
908
+ "start": 1652
909
+ },
910
+ {
911
+ "length": 20,
912
+ "start": 2048
913
+ },
914
+ {
915
+ "length": 20,
916
+ "start": 6100
917
+ },
918
+ {
919
+ "length": 20,
920
+ "start": 7298
921
+ }
922
+ ]
923
+ },
924
+ "contracts/type/RoleId.sol": {
925
+ "RoleIdLib": [
926
+ {
927
+ "length": 20,
928
+ "start": 9342
929
+ },
930
+ {
931
+ "length": 20,
932
+ "start": 10097
933
+ },
934
+ {
935
+ "length": 20,
936
+ "start": 12590
937
+ }
938
+ ]
939
+ },
940
+ "contracts/type/Version.sol": {
941
+ "VersionLib": [
942
+ {
943
+ "length": 20,
944
+ "start": 1444
945
+ },
946
+ {
947
+ "length": 20,
948
+ "start": 2726
949
+ },
950
+ {
951
+ "length": 20,
952
+ "start": 9813
953
+ },
954
+ {
955
+ "length": 20,
956
+ "start": 11355
957
+ }
958
+ ],
959
+ "VersionPartLib": [
960
+ {
961
+ "length": 20,
962
+ "start": 6580
963
+ }
964
+ ]
965
+ }
966
+ },
967
+ "deployedLinkReferences": {
968
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
969
+ "InstanceAuthorizationsLib": [
970
+ {
971
+ "length": 20,
972
+ "start": 9501
973
+ }
974
+ ]
975
+ },
976
+ "contracts/type/NftId.sol": {
977
+ "NftIdLib": [
978
+ {
979
+ "length": 20,
980
+ "start": 1422
981
+ },
982
+ {
983
+ "length": 20,
984
+ "start": 1818
985
+ },
986
+ {
987
+ "length": 20,
988
+ "start": 5870
989
+ },
990
+ {
991
+ "length": 20,
992
+ "start": 7068
993
+ }
994
+ ]
995
+ },
996
+ "contracts/type/RoleId.sol": {
997
+ "RoleIdLib": [
998
+ {
999
+ "length": 20,
1000
+ "start": 9112
1001
+ },
1002
+ {
1003
+ "length": 20,
1004
+ "start": 9867
1005
+ },
1006
+ {
1007
+ "length": 20,
1008
+ "start": 12360
1009
+ }
1010
+ ]
1011
+ },
1012
+ "contracts/type/Version.sol": {
1013
+ "VersionLib": [
1014
+ {
1015
+ "length": 20,
1016
+ "start": 1214
1017
+ },
1018
+ {
1019
+ "length": 20,
1020
+ "start": 2496
1021
+ },
1022
+ {
1023
+ "length": 20,
1024
+ "start": 9583
1025
+ },
1026
+ {
1027
+ "length": 20,
1028
+ "start": 11125
1029
+ }
1030
+ ],
1031
+ "VersionPartLib": [
1032
+ {
1033
+ "length": 20,
1034
+ "start": 6350
1035
+ }
1036
+ ]
1037
+ }
1038
+ }
1039
+ }