@etherisc/gif-next 0.0.2-c83506f-943 → 0.0.2-c8625de-563

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