@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e26c262-698

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