@etherisc/gif-next 0.0.2-ce2fc91-485 → 0.0.2-ce87da3-250

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