@etherisc/gif-next 0.0.2-f7b8c9f-518 → 0.0.2-f7bec40-735

Sign up to get free protection for your applications and to get access to all the features.
Files changed (486) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +873 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1023 -204
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +862 -39
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +916 -129
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +694 -40
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +958 -267
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +778 -194
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +226 -1822
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +444 -2190
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  41. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +282 -195
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  46. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +67 -245
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  53. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  59. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  61. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  62. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  63. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  64. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  65. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  66. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1103 -177
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +231 -204
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +540 -146
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +669 -153
  95. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IPricingService.sol/IPricingService.json} +245 -203
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +88 -397
  99. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  101. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1080 -211
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  107. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  109. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  111. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +327 -531
  113. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  115. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  116. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  117. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  119. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  120. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  121. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  122. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  123. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  125. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  126. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  127. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +422 -269
  129. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +311 -122
  131. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  135. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  136. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  137. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  140. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  142. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  144. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  145. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  146. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  147. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  148. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  149. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +93 -67
  150. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  152. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  154. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  155. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  156. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  157. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  158. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  160. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  161. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  162. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +187 -180
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  165. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  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/TestFee.sol/TestFee.json +4 -4
  172. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  174. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  176. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  177. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -200
  178. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  179. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  180. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  181. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  182. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  183. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
  184. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  185. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  186. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  189. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  191. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  194. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  196. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  198. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  200. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  202. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  203. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  204. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  206. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  208. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  210. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  212. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  214. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  216. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  218. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  220. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +51 -7
  222. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  223. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  224. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  226. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  227. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  228. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  229. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  230. package/contracts/components/Component.sol +272 -0
  231. package/contracts/components/Distribution.sol +209 -79
  232. package/contracts/components/IComponent.sol +90 -0
  233. package/contracts/components/IDistributionComponent.sol +43 -18
  234. package/contracts/components/IPoolComponent.sol +90 -40
  235. package/contracts/components/IProductComponent.sol +17 -13
  236. package/contracts/components/Pool.sol +222 -166
  237. package/contracts/components/Product.sol +258 -182
  238. package/contracts/instance/BundleManager.sol +126 -0
  239. package/contracts/instance/Cloneable.sol +51 -0
  240. package/contracts/instance/IInstance.sol +63 -40
  241. package/contracts/instance/IInstanceService.sol +73 -0
  242. package/contracts/instance/Instance.sol +213 -71
  243. package/contracts/instance/InstanceAccessManager.sol +541 -0
  244. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  245. package/contracts/instance/InstanceReader.sol +368 -0
  246. package/contracts/instance/InstanceService.sol +308 -0
  247. package/contracts/instance/InstanceServiceManager.sol +54 -0
  248. package/contracts/instance/InstanceStore.sol +212 -0
  249. package/contracts/instance/ObjectManager.sol +82 -0
  250. package/contracts/instance/base/ComponentService.sol +148 -0
  251. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  252. package/contracts/instance/base/ILifecycle.sol +3 -3
  253. package/contracts/instance/base/KeyValueStore.sol +30 -42
  254. package/contracts/instance/base/Lifecycle.sol +27 -7
  255. package/contracts/instance/module/IAccess.sol +54 -0
  256. package/contracts/instance/module/IBundle.sol +23 -0
  257. package/contracts/instance/module/IComponents.sol +41 -0
  258. package/contracts/instance/module/IDistribution.sol +42 -0
  259. package/contracts/instance/module/IPolicy.sol +77 -0
  260. package/contracts/instance/module/IRisk.sol +11 -0
  261. package/contracts/instance/module/ISetup.sol +33 -0
  262. package/contracts/instance/module/ITreasury.sol +23 -0
  263. package/contracts/instance/service/ApplicationService.sol +186 -0
  264. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  265. package/contracts/instance/service/BundleService.sol +382 -0
  266. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  267. package/contracts/instance/service/ClaimService.sol +437 -0
  268. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  269. package/contracts/instance/service/DistributionService.sol +317 -23
  270. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  271. package/contracts/instance/service/IApplicationService.sol +62 -0
  272. package/contracts/instance/service/IBundleService.sol +118 -0
  273. package/contracts/instance/service/IClaimService.sol +90 -0
  274. package/contracts/instance/service/IDistributionService.sol +77 -2
  275. package/contracts/instance/service/IPolicyService.sol +80 -0
  276. package/contracts/instance/service/IPoolService.sol +95 -18
  277. package/contracts/instance/service/IPricingService.sol +37 -0
  278. package/contracts/instance/service/IProductService.sol +9 -76
  279. package/contracts/instance/service/PolicyService.sol +376 -0
  280. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  281. package/contracts/instance/service/PoolService.sol +339 -85
  282. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  283. package/contracts/instance/service/PricingService.sol +275 -0
  284. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  285. package/contracts/instance/service/ProductService.sol +135 -435
  286. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  287. package/contracts/registry/ChainNft.sol +49 -26
  288. package/contracts/registry/IRegistry.sol +53 -25
  289. package/contracts/registry/IRegistryService.sol +53 -16
  290. package/contracts/registry/ITransferInterceptor.sol +1 -0
  291. package/contracts/registry/Registry.sol +289 -313
  292. package/contracts/registry/RegistryAccessManager.sol +216 -0
  293. package/contracts/registry/RegistryService.sol +165 -247
  294. package/contracts/registry/RegistryServiceManager.sol +30 -11
  295. package/contracts/registry/ReleaseManager.sol +324 -0
  296. package/contracts/registry/TokenRegistry.sol +116 -0
  297. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  298. package/contracts/shared/ERC165.sol +15 -9
  299. package/contracts/shared/INftOwnable.sol +11 -10
  300. package/contracts/shared/IPolicyHolder.sol +40 -0
  301. package/contracts/shared/IRegisterable.sol +4 -6
  302. package/contracts/shared/IRegistryLinked.sol +11 -0
  303. package/contracts/shared/IService.sol +18 -0
  304. package/contracts/shared/IVersionable.sol +4 -47
  305. package/contracts/shared/NftOwnable.sol +65 -83
  306. package/contracts/shared/PolicyHolder.sol +94 -0
  307. package/contracts/shared/ProxyManager.sol +101 -26
  308. package/contracts/shared/Registerable.sol +25 -39
  309. package/contracts/shared/RegistryLinked.sol +43 -0
  310. package/contracts/shared/Service.sol +72 -0
  311. package/contracts/shared/TokenHandler.sol +35 -0
  312. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  313. package/contracts/shared/Versionable.sol +5 -93
  314. package/contracts/test/TestFee.sol +2 -2
  315. package/contracts/test/TestRegisterable.sol +1 -1
  316. package/contracts/test/TestRoleId.sol +1 -1
  317. package/contracts/test/TestService.sol +6 -7
  318. package/contracts/types/Amount.sol +109 -0
  319. package/contracts/types/Blocknumber.sol +1 -0
  320. package/contracts/types/ClaimId.sol +75 -0
  321. package/contracts/types/DistributorType.sol +55 -0
  322. package/contracts/types/Fee.sol +19 -10
  323. package/contracts/types/Key32.sol +8 -3
  324. package/contracts/types/NftId.sol +8 -0
  325. package/contracts/types/NftIdSet.sol +26 -24
  326. package/contracts/types/NumberId.sol +52 -0
  327. package/contracts/types/ObjectType.sol +44 -14
  328. package/contracts/types/PayoutId.sol +82 -0
  329. package/contracts/types/Referral.sol +89 -0
  330. package/contracts/types/RoleId.sol +68 -9
  331. package/contracts/types/Seconds.sol +54 -0
  332. package/contracts/types/StateId.sol +12 -3
  333. package/contracts/types/Timestamp.sol +22 -13
  334. package/contracts/types/UFixed.sol +129 -12
  335. package/contracts/types/Version.sol +5 -1
  336. package/package.json +6 -5
  337. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  339. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  340. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  342. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  344. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  346. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  348. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  350. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  352. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  354. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  357. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  359. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  361. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  363. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  365. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  367. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  369. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  371. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  372. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  373. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  374. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  375. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  377. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -421
  379. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  380. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  381. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  384. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  387. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  389. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  392. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  394. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  396. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  398. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  400. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  401. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  403. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  406. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  408. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  409. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  410. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  412. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  413. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  414. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  415. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  417. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  418. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  419. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  420. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  422. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  423. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  424. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  425. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  426. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  427. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -794
  428. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  429. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  430. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  431. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  432. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  433. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  434. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  435. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  436. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  437. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  439. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  440. package/contracts/components/BaseComponent.sol +0 -79
  441. package/contracts/components/IBaseComponent.sol +0 -19
  442. package/contracts/experiment/errors/Require.sol +0 -38
  443. package/contracts/experiment/errors/Revert.sol +0 -44
  444. package/contracts/experiment/inheritance/A.sol +0 -53
  445. package/contracts/experiment/inheritance/B.sol +0 -28
  446. package/contracts/experiment/inheritance/C.sol +0 -34
  447. package/contracts/experiment/inheritance/IA.sol +0 -13
  448. package/contracts/experiment/inheritance/IB.sol +0 -10
  449. package/contracts/experiment/inheritance/IC.sol +0 -12
  450. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  451. package/contracts/experiment/statemachine/ISM.sol +0 -25
  452. package/contracts/experiment/statemachine/SM.sol +0 -57
  453. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  454. package/contracts/experiment/types/TypeA.sol +0 -47
  455. package/contracts/experiment/types/TypeB.sol +0 -29
  456. package/contracts/instance/IInstanceLinked.sol +0 -8
  457. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  458. package/contracts/instance/base/IInstanceBase.sol +0 -23
  459. package/contracts/instance/base/IService.sol +0 -15
  460. package/contracts/instance/base/InstanceBase.sol +0 -89
  461. package/contracts/instance/base/ModuleBase.sol +0 -57
  462. package/contracts/instance/base/ServiceBase.sol +0 -44
  463. package/contracts/instance/module/access/Access.sol +0 -149
  464. package/contracts/instance/module/access/IAccess.sol +0 -53
  465. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  466. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  467. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  468. package/contracts/instance/module/component/IComponent.sol +0 -28
  469. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  470. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  471. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  472. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  473. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  474. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  475. package/contracts/instance/module/risk/IRisk.sol +0 -26
  476. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  477. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  478. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  479. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  480. package/contracts/instance/service/ComponentOwnerService.sol +0 -275
  481. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  482. package/contracts/registry/IChainNft.sol +0 -22
  483. package/contracts/test/TestDistribution.sol +0 -22
  484. package/contracts/test/TestPool.sol +0 -27
  485. package/contracts/test/TestProduct.sol +0 -74
  486. package/contracts/types/ReferralId.sol +0 -48
@@ -7,102 +7,220 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
11
38
  "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
12
66
  },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
13
78
  {
14
79
  "internalType": "NftId",
15
- "name": "registryNftId",
80
+ "name": "instanceNftId",
16
81
  "type": "uint96"
17
82
  },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
18
88
  {
19
89
  "internalType": "address",
20
- "name": "initialOwner",
90
+ "name": "sender",
21
91
  "type": "address"
22
92
  }
23
93
  ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
95
+ "type": "error"
26
96
  },
27
97
  {
28
98
  "inputs": [
29
99
  {
30
100
  "internalType": "address",
31
- "name": "registry",
101
+ "name": "component",
32
102
  "type": "address"
33
103
  },
34
104
  {
35
- "internalType": "NftId",
36
- "name": "nftId",
37
- "type": "uint96"
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
38
113
  }
39
114
  ],
40
- "name": "ErrorAlreadyLinked",
115
+ "name": "ErrorComponentServiceInvalidType",
41
116
  "type": "error"
42
117
  },
43
118
  {
44
119
  "inputs": [
45
120
  {
46
121
  "internalType": "address",
47
- "name": "contractAddress",
122
+ "name": "component",
48
123
  "type": "address"
49
124
  }
50
125
  ],
51
- "name": "ErrorContractNotRegistered",
126
+ "name": "ErrorComponentServiceNotComponent",
52
127
  "type": "error"
53
128
  },
54
129
  {
55
130
  "inputs": [
56
131
  {
57
132
  "internalType": "address",
58
- "name": "account",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
59
144
  "type": "address"
60
145
  }
61
146
  ],
62
- "name": "ErrorNotOwner",
147
+ "name": "ErrorComponentServiceSenderNotOwner",
63
148
  "type": "error"
64
149
  },
65
150
  {
66
151
  "inputs": [
67
152
  {
68
153
  "internalType": "address",
69
- "name": "registryAddress",
154
+ "name": "sender",
70
155
  "type": "address"
71
156
  }
72
157
  ],
73
- "name": "ErrorNotRegistry",
158
+ "name": "ErrorComponentServiceSenderNotService",
74
159
  "type": "error"
75
160
  },
76
161
  {
77
162
  "inputs": [
78
163
  {
79
164
  "internalType": "address",
80
- "name": "registryAddress",
165
+ "name": "target",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorIAccessTargetLocked",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "NftId",
176
+ "name": "nftId",
177
+ "type": "uint96"
178
+ }
179
+ ],
180
+ "name": "ErrorNftOwnableAlreadyLinked",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "contractAddress",
81
188
  "type": "address"
82
189
  }
83
190
  ],
84
- "name": "ErrorRegisterableNotRegistry",
191
+ "name": "ErrorNftOwnableContractNotRegistered",
85
192
  "type": "error"
86
193
  },
87
194
  {
88
195
  "inputs": [],
89
- "name": "ErrorRegistryAddressZero",
196
+ "name": "ErrorNftOwnableInitialOwnerZero",
90
197
  "type": "error"
91
198
  },
92
199
  {
93
200
  "inputs": [
94
201
  {
95
202
  "internalType": "address",
96
- "name": "registry",
203
+ "name": "account",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "name": "ErrorNftOwnableNotOwner",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "registryAddress",
97
215
  "type": "address"
98
216
  }
99
217
  ],
100
- "name": "ErrorRegistryAlreadyInitialized",
218
+ "name": "ErrorNotRegistry",
101
219
  "type": "error"
102
220
  },
103
221
  {
104
222
  "inputs": [],
105
- "name": "ErrorRegistryNotInitialized",
223
+ "name": "ErrorServiceNotImplemented",
106
224
  "type": "error"
107
225
  },
108
226
  {
@@ -120,12 +238,12 @@
120
238
  "inputs": [
121
239
  {
122
240
  "indexed": false,
123
- "internalType": "uint64",
124
- "name": "version",
125
- "type": "uint64"
241
+ "internalType": "address",
242
+ "name": "authority",
243
+ "type": "address"
126
244
  }
127
245
  ],
128
- "name": "Initialized",
246
+ "name": "AuthorityUpdated",
129
247
  "type": "event"
130
248
  },
131
249
  {
@@ -133,47 +251,35 @@
133
251
  "inputs": [
134
252
  {
135
253
  "indexed": false,
136
- "internalType": "address",
137
- "name": "sender",
138
- "type": "address"
254
+ "internalType": "uint64",
255
+ "name": "version",
256
+ "type": "uint64"
139
257
  }
140
258
  ],
141
- "name": "LogProductServiceSender",
259
+ "name": "Initialized",
142
260
  "type": "event"
143
261
  },
144
262
  {
145
263
  "anonymous": false,
146
264
  "inputs": [
147
- {
148
- "indexed": false,
149
- "internalType": "Version",
150
- "name": "version",
151
- "type": "uint24"
152
- },
153
265
  {
154
266
  "indexed": false,
155
267
  "internalType": "address",
156
- "name": "implementation",
157
- "type": "address"
158
- },
159
- {
160
- "indexed": false,
161
- "internalType": "address",
162
- "name": "activatedBy",
268
+ "name": "sender",
163
269
  "type": "address"
164
270
  }
165
271
  ],
166
- "name": "LogVersionableInitialized",
272
+ "name": "LogProductServiceSender",
167
273
  "type": "event"
168
274
  },
169
275
  {
170
276
  "inputs": [],
171
- "name": "NAME",
277
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
172
278
  "outputs": [
173
279
  {
174
- "internalType": "string",
280
+ "internalType": "bytes32",
175
281
  "name": "",
176
- "type": "string"
282
+ "type": "bytes32"
177
283
  }
178
284
  ],
179
285
  "stateMutability": "view",
@@ -193,82 +299,13 @@
193
299
  "type": "function"
194
300
  },
195
301
  {
196
- "inputs": [
197
- {
198
- "internalType": "NftId",
199
- "name": "policyNftId",
200
- "type": "uint96"
201
- },
202
- {
203
- "internalType": "Timestamp",
204
- "name": "activateAt",
205
- "type": "uint40"
206
- }
207
- ],
208
- "name": "activate",
209
- "outputs": [],
210
- "stateMutability": "nonpayable",
211
- "type": "function"
212
- },
213
- {
214
- "inputs": [
215
- {
216
- "internalType": "RiskId",
217
- "name": "riskId",
218
- "type": "bytes8"
219
- },
220
- {
221
- "internalType": "uint256",
222
- "name": "sumInsuredAmount",
223
- "type": "uint256"
224
- },
225
- {
226
- "internalType": "uint256",
227
- "name": "lifetime",
228
- "type": "uint256"
229
- },
230
- {
231
- "internalType": "bytes",
232
- "name": "applicationData",
233
- "type": "bytes"
234
- },
235
- {
236
- "internalType": "NftId",
237
- "name": "bundleNftId",
238
- "type": "uint96"
239
- },
240
- {
241
- "internalType": "ReferralId",
242
- "name": "referralId",
243
- "type": "bytes8"
244
- }
245
- ],
246
- "name": "calculatePremium",
302
+ "inputs": [],
303
+ "name": "authority",
247
304
  "outputs": [
248
305
  {
249
- "internalType": "uint256",
250
- "name": "premiumAmount",
251
- "type": "uint256"
252
- },
253
- {
254
- "internalType": "uint256",
255
- "name": "productFeeAmount",
256
- "type": "uint256"
257
- },
258
- {
259
- "internalType": "uint256",
260
- "name": "poolFeeAmount",
261
- "type": "uint256"
262
- },
263
- {
264
- "internalType": "uint256",
265
- "name": "bundleFeeAmount",
266
- "type": "uint256"
267
- },
268
- {
269
- "internalType": "uint256",
270
- "name": "distributionFeeAmount",
271
- "type": "uint256"
306
+ "internalType": "address",
307
+ "name": "",
308
+ "type": "address"
272
309
  }
273
310
  ],
274
311
  "stateMutability": "view",
@@ -276,124 +313,33 @@
276
313
  },
277
314
  {
278
315
  "inputs": [
279
- {
280
- "internalType": "UFixed",
281
- "name": "collateralizationLevel",
282
- "type": "uint256"
283
- },
284
- {
285
- "internalType": "uint256",
286
- "name": "sumInsuredAmount",
287
- "type": "uint256"
288
- }
289
- ],
290
- "name": "calculateRequiredCollateral",
291
- "outputs": [
292
- {
293
- "internalType": "uint256",
294
- "name": "collateralAmount",
295
- "type": "uint256"
296
- }
297
- ],
298
- "stateMutability": "pure",
299
- "type": "function"
300
- },
301
- {
302
- "inputs": [
303
- {
304
- "internalType": "NftId",
305
- "name": "policyNftId",
306
- "type": "uint96"
307
- }
308
- ],
309
- "name": "close",
310
- "outputs": [],
311
- "stateMutability": "nonpayable",
312
- "type": "function"
313
- },
314
- {
315
- "inputs": [
316
- {
317
- "internalType": "NftId",
318
- "name": "policyNftId",
319
- "type": "uint96"
320
- },
321
- {
322
- "internalType": "Timestamp",
323
- "name": "activateAt",
324
- "type": "uint40"
325
- }
326
- ],
327
- "name": "collectPremium",
328
- "outputs": [],
329
- "stateMutability": "nonpayable",
330
- "type": "function"
331
- },
332
- {
333
- "inputs": [
334
- {
335
- "internalType": "address",
336
- "name": "applicationOwner",
337
- "type": "address"
338
- },
339
316
  {
340
317
  "internalType": "RiskId",
341
318
  "name": "riskId",
342
319
  "type": "bytes8"
343
320
  },
344
- {
345
- "internalType": "uint256",
346
- "name": "sumInsuredAmount",
347
- "type": "uint256"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "lifetime",
352
- "type": "uint256"
353
- },
354
321
  {
355
322
  "internalType": "bytes",
356
- "name": "applicationData",
323
+ "name": "data",
357
324
  "type": "bytes"
358
- },
359
- {
360
- "internalType": "NftId",
361
- "name": "bundleNftId",
362
- "type": "uint96"
363
- },
364
- {
365
- "internalType": "ReferralId",
366
- "name": "referralId",
367
- "type": "bytes8"
368
- }
369
- ],
370
- "name": "createApplication",
371
- "outputs": [
372
- {
373
- "internalType": "NftId",
374
- "name": "policyNftId",
375
- "type": "uint96"
376
325
  }
377
326
  ],
327
+ "name": "createRisk",
328
+ "outputs": [],
378
329
  "stateMutability": "nonpayable",
379
330
  "type": "function"
380
331
  },
381
332
  {
382
- "inputs": [
383
- {
384
- "internalType": "RiskId",
385
- "name": "riskId",
386
- "type": "bytes8"
387
- },
333
+ "inputs": [],
334
+ "name": "getDomain",
335
+ "outputs": [
388
336
  {
389
- "internalType": "bytes",
390
- "name": "data",
391
- "type": "bytes"
337
+ "internalType": "ObjectType",
338
+ "name": "",
339
+ "type": "uint8"
392
340
  }
393
341
  ],
394
- "name": "createRisk",
395
- "outputs": [],
396
- "stateMutability": "nonpayable",
342
+ "stateMutability": "pure",
397
343
  "type": "function"
398
344
  },
399
345
  {
@@ -439,13 +385,8 @@
439
385
  }
440
386
  ],
441
387
  "internalType": "struct IRegistry.ObjectInfo",
442
- "name": "",
388
+ "name": "info",
443
389
  "type": "tuple"
444
- },
445
- {
446
- "internalType": "bytes",
447
- "name": "data",
448
- "type": "bytes"
449
390
  }
450
391
  ],
451
392
  "stateMutability": "view",
@@ -453,43 +394,17 @@
453
394
  },
454
395
  {
455
396
  "inputs": [],
456
- "name": "getInitializedVersion",
397
+ "name": "getInstanceService",
457
398
  "outputs": [
458
399
  {
459
- "internalType": "uint64",
400
+ "internalType": "contract InstanceService",
460
401
  "name": "",
461
- "type": "uint64"
462
- }
463
- ],
464
- "stateMutability": "view",
465
- "type": "function"
466
- },
467
- {
468
- "inputs": [],
469
- "name": "getMajorVersion",
470
- "outputs": [
471
- {
472
- "internalType": "VersionPart",
473
- "name": "majorVersion",
474
- "type": "uint8"
402
+ "type": "address"
475
403
  }
476
404
  ],
477
405
  "stateMutability": "view",
478
406
  "type": "function"
479
407
  },
480
- {
481
- "inputs": [],
482
- "name": "getName",
483
- "outputs": [
484
- {
485
- "internalType": "string",
486
- "name": "name",
487
- "type": "string"
488
- }
489
- ],
490
- "stateMutability": "pure",
491
- "type": "function"
492
- },
493
408
  {
494
409
  "inputs": [],
495
410
  "name": "getNftId",
@@ -555,91 +470,107 @@
555
470
  "stateMutability": "pure",
556
471
  "type": "function"
557
472
  },
473
+ {
474
+ "inputs": [],
475
+ "name": "initializeERC165",
476
+ "outputs": [],
477
+ "stateMutability": "nonpayable",
478
+ "type": "function"
479
+ },
558
480
  {
559
481
  "inputs": [
560
482
  {
561
- "internalType": "uint256",
562
- "name": "idx",
563
- "type": "uint256"
564
- }
565
- ],
566
- "name": "getVersion",
567
- "outputs": [
483
+ "internalType": "address",
484
+ "name": "initialOwner",
485
+ "type": "address"
486
+ },
487
+ {
488
+ "internalType": "address",
489
+ "name": "registryAddress",
490
+ "type": "address"
491
+ }
492
+ ],
493
+ "name": "initializeNftOwnable",
494
+ "outputs": [],
495
+ "stateMutability": "nonpayable",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "address",
502
+ "name": "registryAddress",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "internalType": "NftId",
507
+ "name": "parentNftId",
508
+ "type": "uint96"
509
+ },
510
+ {
511
+ "internalType": "ObjectType",
512
+ "name": "objectType",
513
+ "type": "uint8"
514
+ },
515
+ {
516
+ "internalType": "bool",
517
+ "name": "isInterceptor",
518
+ "type": "bool"
519
+ },
568
520
  {
569
- "internalType": "Version",
570
- "name": "",
571
- "type": "uint24"
521
+ "internalType": "address",
522
+ "name": "initialOwner",
523
+ "type": "address"
524
+ },
525
+ {
526
+ "internalType": "bytes",
527
+ "name": "registryData",
528
+ "type": "bytes"
572
529
  }
573
530
  ],
574
- "stateMutability": "view",
531
+ "name": "initializeRegisterable",
532
+ "outputs": [],
533
+ "stateMutability": "nonpayable",
575
534
  "type": "function"
576
535
  },
577
536
  {
578
- "inputs": [],
579
- "name": "getVersionCount",
580
- "outputs": [
537
+ "inputs": [
581
538
  {
582
- "internalType": "uint256",
583
- "name": "",
584
- "type": "uint256"
539
+ "internalType": "address",
540
+ "name": "registryAddress",
541
+ "type": "address"
585
542
  }
586
543
  ],
587
- "stateMutability": "view",
544
+ "name": "initializeRegistryLinked",
545
+ "outputs": [],
546
+ "stateMutability": "nonpayable",
588
547
  "type": "function"
589
548
  },
590
549
  {
591
550
  "inputs": [
592
551
  {
593
- "internalType": "Version",
594
- "name": "_version",
595
- "type": "uint24"
596
- }
597
- ],
598
- "name": "getVersionInfo",
599
- "outputs": [
552
+ "internalType": "address",
553
+ "name": "registry",
554
+ "type": "address"
555
+ },
600
556
  {
601
- "components": [
602
- {
603
- "internalType": "Version",
604
- "name": "version",
605
- "type": "uint24"
606
- },
607
- {
608
- "internalType": "address",
609
- "name": "implementation",
610
- "type": "address"
611
- },
612
- {
613
- "internalType": "address",
614
- "name": "activatedBy",
615
- "type": "address"
616
- },
617
- {
618
- "internalType": "Timestamp",
619
- "name": "activatedAt",
620
- "type": "uint40"
621
- },
622
- {
623
- "internalType": "Blocknumber",
624
- "name": "activatedIn",
625
- "type": "uint32"
626
- }
627
- ],
628
- "internalType": "struct IVersionable.VersionInfo",
629
- "name": "",
630
- "type": "tuple"
557
+ "internalType": "address",
558
+ "name": "authority",
559
+ "type": "address"
560
+ },
561
+ {
562
+ "internalType": "address",
563
+ "name": "initialOwner",
564
+ "type": "address"
631
565
  }
632
566
  ],
633
- "stateMutability": "view",
567
+ "name": "initializeService",
568
+ "outputs": [],
569
+ "stateMutability": "nonpayable",
634
570
  "type": "function"
635
571
  },
636
572
  {
637
573
  "inputs": [
638
- {
639
- "internalType": "address",
640
- "name": "implementation",
641
- "type": "address"
642
- },
643
574
  {
644
575
  "internalType": "address",
645
576
  "name": "activatedBy",
@@ -651,25 +582,19 @@
651
582
  "type": "bytes"
652
583
  }
653
584
  ],
654
- "name": "initialize",
585
+ "name": "initializeVersionable",
655
586
  "outputs": [],
656
587
  "stateMutability": "nonpayable",
657
588
  "type": "function"
658
589
  },
659
590
  {
660
- "inputs": [
661
- {
662
- "internalType": "Version",
663
- "name": "_version",
664
- "type": "uint24"
665
- }
666
- ],
667
- "name": "isInitialized",
591
+ "inputs": [],
592
+ "name": "isConsumingScheduledOp",
668
593
  "outputs": [
669
594
  {
670
- "internalType": "bool",
595
+ "internalType": "bytes4",
671
596
  "name": "",
672
- "type": "bool"
597
+ "type": "bytes4"
673
598
  }
674
599
  ],
675
600
  "stateMutability": "view",
@@ -684,13 +609,45 @@
684
609
  },
685
610
  {
686
611
  "inputs": [
612
+ {
613
+ "internalType": "address",
614
+ "name": "productAddress",
615
+ "type": "address"
616
+ }
617
+ ],
618
+ "name": "register",
619
+ "outputs": [
687
620
  {
688
621
  "internalType": "NftId",
689
- "name": "policyNftId",
622
+ "name": "productNftId",
690
623
  "type": "uint96"
691
624
  }
692
625
  ],
693
- "name": "revoke",
626
+ "stateMutability": "nonpayable",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "inputs": [
631
+ {
632
+ "internalType": "bytes4",
633
+ "name": "interfaceId",
634
+ "type": "bytes4"
635
+ }
636
+ ],
637
+ "name": "registerInterface",
638
+ "outputs": [],
639
+ "stateMutability": "nonpayable",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "address",
646
+ "name": "newAuthority",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "name": "setAuthority",
694
651
  "outputs": [],
695
652
  "stateMutability": "nonpayable",
696
653
  "type": "function"
@@ -737,36 +694,6 @@
737
694
  "stateMutability": "nonpayable",
738
695
  "type": "function"
739
696
  },
740
- {
741
- "inputs": [
742
- {
743
- "internalType": "RiskId",
744
- "name": "riskId",
745
- "type": "bytes8"
746
- },
747
- {
748
- "components": [
749
- {
750
- "internalType": "NftId",
751
- "name": "productNftId",
752
- "type": "uint96"
753
- },
754
- {
755
- "internalType": "bytes",
756
- "name": "data",
757
- "type": "bytes"
758
- }
759
- ],
760
- "internalType": "struct IRisk.RiskInfo",
761
- "name": "info",
762
- "type": "tuple"
763
- }
764
- ],
765
- "name": "setRiskInfo",
766
- "outputs": [],
767
- "stateMutability": "nonpayable",
768
- "type": "function"
769
- },
770
697
  {
771
698
  "inputs": [
772
699
  {
@@ -789,22 +716,17 @@
789
716
  {
790
717
  "inputs": [
791
718
  {
792
- "internalType": "NftId",
793
- "name": "policyNftId",
794
- "type": "uint96"
795
- },
796
- {
797
- "internalType": "bool",
798
- "name": "requirePremiumPayment",
799
- "type": "bool"
719
+ "internalType": "RiskId",
720
+ "name": "riskId",
721
+ "type": "bytes8"
800
722
  },
801
723
  {
802
- "internalType": "Timestamp",
803
- "name": "activateAt",
804
- "type": "uint40"
724
+ "internalType": "bytes",
725
+ "name": "data",
726
+ "type": "bytes"
805
727
  }
806
728
  ],
807
- "name": "underwrite",
729
+ "name": "updateRisk",
808
730
  "outputs": [],
809
731
  "stateMutability": "nonpayable",
810
732
  "type": "function"
@@ -829,112 +751,38 @@
829
751
  },
830
752
  {
831
753
  "inputs": [
832
- {
833
- "internalType": "address",
834
- "name": "implementation",
835
- "type": "address"
836
- },
837
- {
838
- "internalType": "address",
839
- "name": "activatedBy",
840
- "type": "address"
841
- },
842
754
  {
843
755
  "internalType": "bytes",
844
756
  "name": "data",
845
757
  "type": "bytes"
846
758
  }
847
759
  ],
848
- "name": "upgrade",
760
+ "name": "upgradeVersionable",
849
761
  "outputs": [],
850
762
  "stateMutability": "nonpayable",
851
763
  "type": "function"
852
764
  }
853
765
  ],
854
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162005151380380620051518339810160408190526200003491620005e8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055828282600280546001600160a01b031916331790556200008f620000e5565b6200009c83838362000199565b505050620000b7637fc6295b60e01b620000c060201b60201c565b50505062000882565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001365760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001965780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001c760408051808201909152600e81526d50726f647563745365727669636560901b602082015290565b620001d16200024a565b604051602001620001e492919062000640565b60408051808303601f190181529190529050620002088484602860008686620002d7565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b600062000256620003a8565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d291906200069a565b905090565b620002e3828762000430565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200036283826200076b565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200040a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d2919062000837565b600280546001600160a01b0319166001600160a01b03841617905562000456816200045a565b5050565b6001546001600160a01b031615620004995760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b038116620004c15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620004f95760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000490565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000576575060408051601f3d908101601f1916820190925262000573918101906200085e565b60015b620005a05760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000490565b80620004565760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000490565b80516001600160a01b0381168114620005e357600080fd5b919050565b600080600060608486031215620005fe57600080fd5b6200060984620005cb565b60208501519093506001600160601b03811681146200062757600080fd5b91506200063760408501620005cb565b90509250925092565b604081526000835180604084015260005b8181101562000670576020818701810151606086840101520162000651565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b600060208284031215620006ad57600080fd5b815160ff81168114620006bf57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006f157607f821691505b6020821081036200071257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200076657600081815260208120601f850160051c81016020861015620007415750805b601f850160051c820191505b8181101562000762578281556001016200074d565b5050505b505050565b81516001600160401b03811115620007875762000787620006c6565b6200079f81620007988454620006dc565b8462000718565b602080601f831160018114620007d75760008415620007be5750858301515b600019600386901b1c1916600185901b17855562000762565b600085815260208120601f198616915b828110156200080857888601518255948401946001909101908401620007e7565b5085821015620008275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200084a57600080fd5b815162ffffff81168114620006bf57600080fd5b6000602082840312156200087157600080fd5b81518015158114620006bf57600080fd5b6148bf80620008926000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063630361f61161010f578063b3c65015116100a2578063c2c7498711610071578063c2c74987146105e6578063caf4e3d4146105f9578063cde749f414610601578063cf7a1d771461061b57600080fd5b8063b3c650151461058d578063b6b412ba146105ad578063b88da759146105c0578063bbfbbfba146105d357600080fd5b8063946dfcfe116100de578063946dfcfe146104eb5780639cdaa7f914610512578063a3f4df7e1461054d578063a745e3df1461057a57600080fd5b8063630361f614610491578063644c45e0146104a45780637cef4842146104d0578063893d20e8146104e357600080fd5b80631eff4b22116101875780634f421333116101565780634f421333146104335780635ab1bd53146104465780635fd1a5f51461046b578063603ccaad1461047e57600080fd5b80631eff4b22146102bf578063423eb9fa146102f45780634d459c90146103075780634d5e16a91461042057600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102525780630fec111c1461026e578063138461e01461028457806317d7de7c1461028c57600080fd5b806301ffc9a7146101ea578063095e2b721461022c5780630aaba8e814610241575b600080fd5b6102176101f83660046136ce565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004613884565b61062e565b005b61023f61024f3660046138e8565b50565b61025a6106ad565b60405162ffffff9091168152602001610223565b610276610737565b6040516102239291906139ce565b61023f610878565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b60405161022391906139f3565b6102e67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f610302366004613a06565b610a9a565b6103c3610315366004613aab565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061486a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b61023f61042e366004613adb565b610b0f565b610217610441366004613aab565b610de2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6102e6610479366004613b14565b610e95565b61023f61048c3660046138e8565b610f9e565b61023f61049f366004613b44565b610ff0565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610223565b61023f6104de366004613b9e565b6115c5565b610453611614565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102e6565b610525610520366004613bcc565b61172d565b604080519586526020860194909452928401919091526060830152608082015260a001610223565b6102b26040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b61023f610588366004613c69565b61180b565b610595611965565b6040516001600160401b039091168152602001610223565b61023f6105bb366004613cfa565b611986565b61025a6105ce366004613d2f565b611a8a565b61023f6105e1366004613adb565b611adb565b6104b86105f4366004613d48565b611e65565b610453612026565b6106096120db565b60405160ff9091168152602001610223565b61023f610629366004613c69565b61215e565b60008061063b606e612266565b8151604051635c48084160e11b8152929450909250906001600160a01b0383169063b89010829061067490889085908990600401613de4565b600060405180830381600087803b15801561068e57600080fd5b505af11580156106a2573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561070e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190613e18565b905090565b61073f61357a565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610779600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107c1611614565b6001600160a01b031681526020018260010180546107de90613e35565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90613e35565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fe9190613e7f565b15610945576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661096e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109db9190613e7f565b610a03576040516372657a5160e01b81526001600160a01b038216600482015260240161093c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190613ea7565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610aa6606e612266565b60405163211f5cfd60e11b81529092506001600160a01b038316915063423eb9fa90610ad89086908690600401613ec4565b600060405180830381600087803b158015610af257600080fd5b505af1158015610b06573d6000803e3d6000fd5b50505050505050565b6000610b1b606e612266565b60405163bd7d9d8560e01b81526001600160601b0386166004820152909250600091506001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610b6f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b979190810190613f6b565b61016081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610bf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1b9190613e7f565b610c675760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161093c565b64ffffffffff83166101608201819052610100820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf791906140bd565b64ffffffffff16610180820152604051621ebc3760e61b81526001600160a01b038316906307af0dc090610d3190879085906004016140da565b600060405180830381600087803b158015610d4b57600080fd5b505af1158015610d5f573d6000803e3d6000fd5b50505050816001600160a01b0316635d4345cc85610d7b606490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610dc457600080fd5b505af1158015610dd8573d6000803e3d6000fd5b5050505050505050565b60008060008051602061486a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8e919061422a565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e90602401602060405180830381865af4158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e919061422a565b90506000610f1c8583612532565b604051632255341b60e11b81526004810182905290915073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af4158015610f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f93919061422a565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161093c565b600080610ffd606e612266565b815160405163bd7d9d8560e01b81526001600160601b0389166004820152929450909250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611056573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261107e9190810190613f6b565b80519091506001600160601b038381169116146110dd5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161093c565b6111ed6001600160a01b0384166309648a9d73__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038c1660d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611161573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611185919061422a565b6040518263ffffffff1660e01b81526004016111a391815260200190565b602060405180830381865afa1580156111c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e4919061424e565b60ff16600a1490565b6112395760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161093c565b6112416135b8565b600061124b613657565b6000611257878661254e565b9296509094509250905061126e8784848e85612747565b91506001600160a01b038716635d4345cc8c60286040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156112cb57600080fd5b505af11580156112df573d6000803e3d6000fd5b505050506112fe896112ef600090565b64ffffffffff90811691161190565b156114145764ffffffffff89166101608601819052610100860151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561136f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139391906140bd565b64ffffffffff166101808601526001600160a01b038716635d4345cc8c60646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156113fb57600080fd5b505af115801561140f573d6000803e3d6000fd5b505050505b8915611465576000611431888a60000151878f8a60c001516127e2565b90508560c001518660e001818151611449919061426b565b90525060a08301805182919061146090839061426b565b905250505b604051621ebc3760e61b81526001600160a01b038816906307af0dc090611492908e9089906004016140da565b600060405180830381600087803b1580156114ac57600080fd5b505af11580156114c0573d6000803e3d6000fd5b5050604051637e8a1e3b60e11b81526001600160a01b038a16925063fd143c7691506114f2908690869060040161428c565b600060405180830381600087803b15801561150c57600080fd5b505af1158015611520573d6000803e3d6000fd5b505085516040516357f80bbf60e01b81526001600160601b0382166004820152909250600091506001600160a01b038a16906357f80bbf906024016040805180830381865afa158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b9190614337565b8051909150156115b6576115b6868e89876040015187612c2e565b50505050505050505050505050565b60006115d1606e612266565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401610ad8565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169d9190613e7f565b1561171d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190614371565b506002546001600160a01b031690565b60008060008060008061173e612cfb565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611774949392919061438e565b602060405180830381865afa158015611791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b5919061422a565b90506117c381838b8b612d1a565b929850909650945092506117d7868261426b565b96506117e3848661426b565b6117ed908861426b565b96506117f9838861426b565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61182d6106ad565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561186d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189191906143c9565b60008051602061484a8339815191528054600160401b900460ff16806118c4575080546001600160401b03808416911610155b156118e25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561190d8585613215565b61191683613450565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061073260008051602061484a833981519152546001600160401b031690565b600080611993606e612266565b815160405163f2b246c360e01b81526001600160601b0382166004820152929450909250906000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa1580156119ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a119190614422565b60608101879052608081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90611a5090859085906004016144e1565b600060405180830381600087803b158015611a6a57600080fd5b505af1158015611a7e573d6000803e3d6000fd5b50505050505050505050565b600060008051602061486a8339815191526001018281548110611aaf57611aaf6145c8565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611ae8606e612266565b60405163bd7d9d8560e01b81526001600160601b038716600482015291935091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611b3d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b659190810190613f6b565b835160405163f2b246c360e01b81526001600160601b0390911660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be09190614422565b60c0830151855191925090611bf9908590848a856127e2565b50808360e001818151611c0c919061426b565b905250611c1a8660006112ef565b15611dfd5761016083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190613e7f565b611cec5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3033303a414c52454144595f41435449564154454400604482015260640161093c565b64ffffffffff86166101608401819052610100840151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611d58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7c91906140bd565b64ffffffffff166101808401526001600160a01b038416635d4345cc8860646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611de457600080fd5b505af1158015611df8573d6000803e3d6000fd5b505050505b604051621ebc3760e61b81526001600160a01b038516906307af0dc090611e2a908a9087906004016140da565b600060405180830381600087803b158015611e4457600080fd5b505af1158015611e58573d6000803e3d6000fd5b5050505050505050505050565b60008080611e73606e612266565b91509150611e7f612026565b6001600160a01b0316635c992fed6040518060e00160405280611ea0600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611f1991906145de565b6020604051808303816000875af1158015611f38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5c9190613ea7565b92506000611f6e8a8a8a8a8a8a61172d565b50508551604051630d9b998d60e01b81526001600160601b03808a16600483015291821660248201526001600160c01b0319808b1660448301528f166064820152608481018e905260a4810185905260c481018d9052908a1660e4820152929350506001600160a01b03841691630d9b998d915061010401600060405180830381600087803b15801561200057600080fd5b505af1158015612014573d6000803e3d6000fd5b50505050505050979650505050505050565b60008061203b6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6120516120db565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156120b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f989190614371565b60006120e56106ad565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561213a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610732919061424e565b60008051602061484a8339815191528054600160401b810460ff1615906001600160401b03166000811580156121915750825b90506000826001600160401b031660011480156121ad5750303b155b9050811580156121bb575080155b156121d95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561220357845460ff60401b1916600160401b1785555b61220d8888613215565b6122178787613450565b8315610dd857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61226e61357a565b6000806122836001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156122c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ed9190613ea7565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612348573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236c9190613e7f565b6123b85760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161093c565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612413573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261243b91908101906145f1565b925061245183604001518560ff90811691161490565b6124935760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161093c565b60006124a76001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156124fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261252491908101906145f1565b608001519395939450505050565b60006125478383670de0b6b3a7640000613458565b9392505050565b6125566135b8565b6000612560613657565b835160405163f2b246c360e01b81526001600160601b0390911660048201526000906001600160a01b0387169063f2b246c3906024016101e060405180830381865afa1580156125b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d89190614422565b6020860151604051634793b4ab60e01b81526001600160601b038216600482015291955093506001600160a01b03871690634793b4ab90602401600060405180830381865afa15801561262f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261265791908101906146c3565b805185519193506001600160601b039081169116146126b15760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161093c565b83516040516357f80bbf60e01b81526001600160601b03821660048201526000906001600160a01b038916906357f80bbf906024016040805180830381865afa158015612702573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127269190614337565b905061273a81602001518860a00151610e95565b9250505092959194509250565b61274f613657565b8184608001818151612761919061426b565b90525060405163e1f64d7760e01b81526001600160601b03808716600483015284166024820152604481018390526001600160a01b0387169063e1f64d7790606401600060405180830381600087803b1580156127bd57600080fd5b505af11580156127d1573d6000803e3d6000fd5b505050508390505b95945050505050565b600081156127d95760405163a310e2a360e01b81526001600160601b03861660048201526000906001600160a01b0388169063a310e2a390602401602060405180830381865afa15801561283a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285e9190614371565b905060006128746001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e79190614371565b8651604051630d48c43b60e11b81526001600160601b0390911660048201529091506000906001600160a01b038a1690631a91887690602401602060405180830381865afa15801561293d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129619190614371565b60608801516040516346f0526160e11b81528796509192509073__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906129a4908490600401614794565b602060405180830381865af41580156129c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e59190613e7f565b15612a59576040516317d5759960e31b81526001600160a01b03848116600483015283811660248301526044820188905285169063beabacc890606401600060405180830381600087803b158015612a3c57600080fd5b505af1158015612a50573d6000803e3d6000fd5b50505050612c21565b6000808b6001600160a01b031663f274e87d89856040518363ffffffff1660e01b8152600401612a8a9291906147ab565b6040805180830381865afa158015612aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aca91906147c9565b604051630d48c43b60e11b81526001600160601b038e16600482015291935091506000906001600160a01b038e1690631a91887690602401602060405180830381865afa158015612b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b439190614371565b6040516317d5759960e31b81526001600160a01b0388811660048301528083166024830152604482018690529192509088169063beabacc890606401600060405180830381600087803b158015612b9957600080fd5b505af1158015612bad573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0389811660048301528881166024830152604482018690528a16925063beabacc89150606401600060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b5093995050505050505b5050505095945050505050565b6000612c426001546001600160a01b031690565b86516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612c94573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612cbc91908101906145f1565b608001516101208501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611e2a918a91899089906004016147ed565b6000612d0561357a565b612d0f606e612266565b506080015192915050565b6000806000806000876001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d849190614371565b90506000816001600160a01b031663f2b246c38a6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df99190613ea7565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024016101e060405180830381865afa158015612e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e629190614422565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015612eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612edd91908101906146c3565b805183519192506001600160601b03908116911614612f495760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161093c565b606082015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018c905273__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd391906147c9565b5060a083015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018d905290975073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561303d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306191906147c9565b5060208281015160405163012ebd8360e21b8152815160048201529101516024820152604481018d905290965073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156130c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130ed91906147c9565b50945060006131046001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613159573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261318191908101906145f1565b6080810151604051637be9cef560e11b81526001600160c01b03198c166004820152602481018f9052919250906001600160a01b0382169063f7d39dea90604401602060405180830381865afa1580156131df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613203919061422a565b95505050505050945094509450949050565b61321d613541565b60008051602061486a833981519152600061324d60008051602061484a833981519152546001600160401b031690565b905060006132596106ad565b9050816001600160401b03166001036132865760028301805462ffffff191662ffffff83161790556132d4565b600283015462ffffff908116908216116132d45760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161093c565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089169284019290925290861690820152606081016133484290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906119569083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e5613541565b60008080600019858709858702925082811083820303915050806000036134925783828161348857613488614833565b0492505050612547565b8084116134d95760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161093c565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b60008051602061484a83398151915254600160401b900460ff1661357857604051631afcd79f60e31b815260040160405180910390fd5b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6040805161012081018252600080825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085019094528184528301529061010082015290565b60405180610100016040528060006001600160601b03168152602001613690604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156136e057600080fd5b81356001600160e01b03198116811461254757600080fd5b6001600160c01b03198116811461024f57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156137465761374661370e565b60405290565b6040516101c081016001600160401b03811182821017156137465761374661370e565b60405161012081016001600160401b03811182821017156137465761374661370e565b60405160e081016001600160401b03811182821017156137465761374661370e565b60405161010081016001600160401b03811182821017156137465761374661370e565b604051601f8201601f191681016001600160401b03811182821017156137ff576137ff61370e565b604052919050565b60006001600160401b038211156138205761382061370e565b50601f01601f191660200190565b600082601f83011261383f57600080fd5b813561385261384d82613807565b6137d7565b81815284602083860101111561386757600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561389757600080fd5b82356138a2816136f8565b915060208301356001600160401b038111156138bd57600080fd5b6138c98582860161382e565b9150509250929050565b6001600160601b038116811461024f57600080fd5b6000602082840312156138fa57600080fd5b8135612547816138d3565b60005b83811015613920578181015183820152602001613908565b50506000910152565b60008151808452613941816020860160208601613905565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526139c660e0850182613929565b949350505050565b6040815260006139e16040830185613955565b82810360208401526127d98185613929565b6020815260006125476020830184613929565b60008060408385031215613a1957600080fd5b8235613a24816136f8565b915060208301356001600160401b0380821115613a4057600080fd5b9084019060408287031215613a5457600080fd5b613a5c613724565b8235613a67816138d3565b8152602083013582811115613a7b57600080fd5b613a878882860161382e565b6020830152508093505050509250929050565b62ffffff8116811461024f57600080fd5b600060208284031215613abd57600080fd5b813561254781613a9a565b64ffffffffff8116811461024f57600080fd5b60008060408385031215613aee57600080fd5b8235613af9816138d3565b91506020830135613b0981613ac8565b809150509250929050565b60008060408385031215613b2757600080fd5b50508035926020909101359150565b801515811461024f57600080fd5b600080600060608486031215613b5957600080fd5b8335613b64816138d3565b92506020840135613b7481613b36565b91506040840135613b8481613ac8565b809150509250925092565b60ff8116811461024f57600080fd5b60008060408385031215613bb157600080fd5b8235613bbc816136f8565b91506020830135613b0981613b8f565b60008060008060008060c08789031215613be557600080fd5b8635613bf0816136f8565b9550602087013594506040870135935060608701356001600160401b03811115613c1957600080fd5b613c2589828a0161382e565b9350506080870135613c36816138d3565b915060a0870135613c46816136f8565b809150509295509295509295565b6001600160a01b038116811461024f57600080fd5b600080600060608486031215613c7e57600080fd5b8335613c8981613c54565b92506020840135613c9981613c54565b915060408401356001600160401b03811115613cb457600080fd5b613cc08682870161382e565b9150509250925092565b600060408284031215613cdc57600080fd5b613ce4613724565b9050813581526020820135602082015292915050565b60008060808385031215613d0d57600080fd5b613d178484613cca565b9150613d268460408501613cca565b90509250929050565b600060208284031215613d4157600080fd5b5035919050565b600080600080600080600060e0888a031215613d6357600080fd5b8735613d6e81613c54565b96506020880135613d7e816136f8565b9550604088013594506060880135935060808801356001600160401b03811115613da757600080fd5b613db38a828b0161382e565b93505060a0880135613dc4816138d3565b915060c0880135613dd4816136f8565b8091505092959891949750929550565b6001600160401b0360c01b841681526001600160601b03831660208201526060604082015260006127d96060830184613929565b600060208284031215613e2a57600080fd5b815161254781613a9a565b600181811c90821680613e4957607f821691505b602082108103613e6957634e487b7160e01b600052602260045260246000fd5b50919050565b8051613e7a81613b36565b919050565b600060208284031215613e9157600080fd5b815161254781613b36565b8051613e7a816138d3565b600060208284031215613eb957600080fd5b8151612547816138d3565b6001600160401b0360c01b83168152604060208201526001600160601b03825116604082015260006020830151604060608401526127d96080840182613929565b8051613e7a816136f8565b8051613e7a81613c54565b600082601f830112613f2c57600080fd5b8151613f3a61384d82613807565b818152846020838601011115613f4f57600080fd5b6139c6826020830160208701613905565b8051613e7a81613ac8565b600060208284031215613f7d57600080fd5b81516001600160401b0380821115613f9457600080fd5b908301906101c08286031215613fa957600080fd5b613fb161374c565b613fba83613e9c565b8152613fc860208401613e9c565b6020820152613fd960408401613f05565b6040820152613fea60608401613f10565b6060820152613ffb60808401613f05565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518183015250610120808401518381111561403e57600080fd5b61404a88828701613f1b565b828401525050610140808401518381111561406457600080fd5b61407088828701613f1b565b8284015250506101609150614086828401613f60565b82820152610180915061409a828401613f60565b828201526101a091506140ae828401613f60565b91810191909152949350505050565b6000602082840312156140cf57600080fd5b815161254781613ac8565b6001600160601b0383168152604060208201526141036040820183516001600160601b03169052565b6000602083015161411f60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160a01b03811660a08401525060808301516001600160c01b0319811660c08401525060a083015160e083015260c0830151610100818185015260e08501519150610120828186015281860151925061014091508282860152808601519250506101c061016081818701526141b7610200870185613929565b9350828701519250610180603f1987860301818801526141d78585613929565b94508188015193506101a091506141f68288018564ffffffffff169052565b87015164ffffffffff811683880152925086015164ffffffffff81166101e087015291506142219050565b50949350505050565b60006020828403121561423c57600080fd5b5051919050565b8051613e7a81613b8f565b60006020828403121561426057600080fd5b815161254781613b8f565b80820180821115610f9857634e487b7160e01b600052601160045260246000fd5b60006001600160601b038085168352604060208401528084511660408401525060208301516142c8606084018280518252602090810151910152565b5060408301516101208060a08501526142e5610160850183613929565b9150606085015160c0850152608085015160e085015260a085015161010085015260c085015161431d8286018264ffffffffff169052565b505060e084015164ffffffffff8116610140850152614221565b60006040828403121561434957600080fd5b614351613724565b825161435c81613b36565b81526020928301519281019290925250919050565b60006020828403121561438357600080fd5b815161254781613c54565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006143bf6080830184613929565b9695505050505050565b6000602082840312156143db57600080fd5b81516001600160401b038116811461254757600080fd5b60006040828403121561440457600080fd5b61440c613724565b9050815181526020820151602082015292915050565b60006101e0828403121561443557600080fd5b61443d61376f565b61444683613e9c565b815261445460208401613e9c565b602082015261446560408401613f10565b604082015261447784606085016143f2565b60608201526144898460a085016143f2565b608082015261449b8460e085016143f2565b60a08201526144ae8461012085016143f2565b60c08201526144c18461016085016143f2565b60e08201526144d4846101a085016143f2565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061451860408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061457a8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b634e487b7160e01b600052603260045260246000fd5b6020815260006125476020830184613955565b60006020828403121561460357600080fd5b81516001600160401b038082111561461a57600080fd5b9083019060e0828603121561462e57600080fd5b614636613792565b61463f83613e9c565b815261464d60208401613e9c565b602082015261465e60408401614243565b604082015261466f60608401613e6f565b606082015261468060808401613f10565b608082015261469160a08401613f10565b60a082015260c0830151828111156146a857600080fd5b6146b487828601613f1b565b60c08301525095945050505050565b6000602082840312156146d557600080fd5b81516001600160401b03808211156146ec57600080fd5b90830190610120828603121561470157600080fd5b6147096137b4565b61471283613e9c565b815261472186602085016143f2565b602082015260608301518281111561473857600080fd5b61474487828601613f1b565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261477460e08401613f60565b60c08201526147866101008401613f60565b60e082015295945050505050565b815181526020808301519082015260408101610f98565b82815260608101612547602083018480518252602090810151910152565b600080604083850312156147dc57600080fd5b505080516020909101519092909150565b6001600160601b038516815260806020820152600061480f6080830186613929565b82810360408401526148218186613929565b91505082606083015295945050505050565b634e487b7160e01b600052601260045260246000fdfef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122011af7182d01266421c1862bcc076595a869d9faaf9f4a1131bc2c3fe489655e564736f6c63430008140033",
855
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063630361f61161010f578063b3c65015116100a2578063c2c7498711610071578063c2c74987146105e6578063caf4e3d4146105f9578063cde749f414610601578063cf7a1d771461061b57600080fd5b8063b3c650151461058d578063b6b412ba146105ad578063b88da759146105c0578063bbfbbfba146105d357600080fd5b8063946dfcfe116100de578063946dfcfe146104eb5780639cdaa7f914610512578063a3f4df7e1461054d578063a745e3df1461057a57600080fd5b8063630361f614610491578063644c45e0146104a45780637cef4842146104d0578063893d20e8146104e357600080fd5b80631eff4b22116101875780634f421333116101565780634f421333146104335780635ab1bd53146104465780635fd1a5f51461046b578063603ccaad1461047e57600080fd5b80631eff4b22146102bf578063423eb9fa146102f45780634d459c90146103075780634d5e16a91461042057600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102525780630fec111c1461026e578063138461e01461028457806317d7de7c1461028c57600080fd5b806301ffc9a7146101ea578063095e2b721461022c5780630aaba8e814610241575b600080fd5b6102176101f83660046136ce565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004613884565b61062e565b005b61023f61024f3660046138e8565b50565b61025a6106ad565b60405162ffffff9091168152602001610223565b610276610737565b6040516102239291906139ce565b61023f610878565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b60405161022391906139f3565b6102e67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f610302366004613a06565b610a9a565b6103c3610315366004613aab565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061486a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b61023f61042e366004613adb565b610b0f565b610217610441366004613aab565b610de2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6102e6610479366004613b14565b610e95565b61023f61048c3660046138e8565b610f9e565b61023f61049f366004613b44565b610ff0565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610223565b61023f6104de366004613b9e565b6115c5565b610453611614565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102e6565b610525610520366004613bcc565b61172d565b604080519586526020860194909452928401919091526060830152608082015260a001610223565b6102b26040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b61023f610588366004613c69565b61180b565b610595611965565b6040516001600160401b039091168152602001610223565b61023f6105bb366004613cfa565b611986565b61025a6105ce366004613d2f565b611a8a565b61023f6105e1366004613adb565b611adb565b6104b86105f4366004613d48565b611e65565b610453612026565b6106096120db565b60405160ff9091168152602001610223565b61023f610629366004613c69565b61215e565b60008061063b606e612266565b8151604051635c48084160e11b8152929450909250906001600160a01b0383169063b89010829061067490889085908990600401613de4565b600060405180830381600087803b15801561068e57600080fd5b505af11580156106a2573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561070e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190613e18565b905090565b61073f61357a565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610779600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107c1611614565b6001600160a01b031681526020018260010180546107de90613e35565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90613e35565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fe9190613e7f565b15610945576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661096e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109db9190613e7f565b610a03576040516372657a5160e01b81526001600160a01b038216600482015260240161093c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190613ea7565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610aa6606e612266565b60405163211f5cfd60e11b81529092506001600160a01b038316915063423eb9fa90610ad89086908690600401613ec4565b600060405180830381600087803b158015610af257600080fd5b505af1158015610b06573d6000803e3d6000fd5b50505050505050565b6000610b1b606e612266565b60405163bd7d9d8560e01b81526001600160601b0386166004820152909250600091506001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610b6f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b979190810190613f6b565b61016081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610bf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1b9190613e7f565b610c675760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161093c565b64ffffffffff83166101608201819052610100820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf791906140bd565b64ffffffffff16610180820152604051621ebc3760e61b81526001600160a01b038316906307af0dc090610d3190879085906004016140da565b600060405180830381600087803b158015610d4b57600080fd5b505af1158015610d5f573d6000803e3d6000fd5b50505050816001600160a01b0316635d4345cc85610d7b606490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610dc457600080fd5b505af1158015610dd8573d6000803e3d6000fd5b5050505050505050565b60008060008051602061486a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8e919061422a565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e90602401602060405180830381865af4158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e919061422a565b90506000610f1c8583612532565b604051632255341b60e11b81526004810182905290915073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af4158015610f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f93919061422a565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161093c565b600080610ffd606e612266565b815160405163bd7d9d8560e01b81526001600160601b0389166004820152929450909250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611056573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261107e9190810190613f6b565b80519091506001600160601b038381169116146110dd5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161093c565b6111ed6001600160a01b0384166309648a9d73__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038c1660d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611161573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611185919061422a565b6040518263ffffffff1660e01b81526004016111a391815260200190565b602060405180830381865afa1580156111c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e4919061424e565b60ff16600a1490565b6112395760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161093c565b6112416135b8565b600061124b613657565b6000611257878661254e565b9296509094509250905061126e8784848e85612747565b91506001600160a01b038716635d4345cc8c60286040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156112cb57600080fd5b505af11580156112df573d6000803e3d6000fd5b505050506112fe896112ef600090565b64ffffffffff90811691161190565b156114145764ffffffffff89166101608601819052610100860151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561136f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139391906140bd565b64ffffffffff166101808601526001600160a01b038716635d4345cc8c60646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156113fb57600080fd5b505af115801561140f573d6000803e3d6000fd5b505050505b8915611465576000611431888a60000151878f8a60c001516127e2565b90508560c001518660e001818151611449919061426b565b90525060a08301805182919061146090839061426b565b905250505b604051621ebc3760e61b81526001600160a01b038816906307af0dc090611492908e9089906004016140da565b600060405180830381600087803b1580156114ac57600080fd5b505af11580156114c0573d6000803e3d6000fd5b5050604051637e8a1e3b60e11b81526001600160a01b038a16925063fd143c7691506114f2908690869060040161428c565b600060405180830381600087803b15801561150c57600080fd5b505af1158015611520573d6000803e3d6000fd5b505085516040516357f80bbf60e01b81526001600160601b0382166004820152909250600091506001600160a01b038a16906357f80bbf906024016040805180830381865afa158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b9190614337565b8051909150156115b6576115b6868e89876040015187612c2e565b50505050505050505050505050565b60006115d1606e612266565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401610ad8565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169d9190613e7f565b1561171d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190614371565b506002546001600160a01b031690565b60008060008060008061173e612cfb565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611774949392919061438e565b602060405180830381865afa158015611791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b5919061422a565b90506117c381838b8b612d1a565b929850909650945092506117d7868261426b565b96506117e3848661426b565b6117ed908861426b565b96506117f9838861426b565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61182d6106ad565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561186d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189191906143c9565b60008051602061484a8339815191528054600160401b900460ff16806118c4575080546001600160401b03808416911610155b156118e25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561190d8585613215565b61191683613450565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061073260008051602061484a833981519152546001600160401b031690565b600080611993606e612266565b815160405163f2b246c360e01b81526001600160601b0382166004820152929450909250906000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa1580156119ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a119190614422565b60608101879052608081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90611a5090859085906004016144e1565b600060405180830381600087803b158015611a6a57600080fd5b505af1158015611a7e573d6000803e3d6000fd5b50505050505050505050565b600060008051602061486a8339815191526001018281548110611aaf57611aaf6145c8565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611ae8606e612266565b60405163bd7d9d8560e01b81526001600160601b038716600482015291935091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611b3d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b659190810190613f6b565b835160405163f2b246c360e01b81526001600160601b0390911660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be09190614422565b60c0830151855191925090611bf9908590848a856127e2565b50808360e001818151611c0c919061426b565b905250611c1a8660006112ef565b15611dfd5761016083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190613e7f565b611cec5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3033303a414c52454144595f41435449564154454400604482015260640161093c565b64ffffffffff86166101608401819052610100840151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611d58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7c91906140bd565b64ffffffffff166101808401526001600160a01b038416635d4345cc8860646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611de457600080fd5b505af1158015611df8573d6000803e3d6000fd5b505050505b604051621ebc3760e61b81526001600160a01b038516906307af0dc090611e2a908a9087906004016140da565b600060405180830381600087803b158015611e4457600080fd5b505af1158015611e58573d6000803e3d6000fd5b5050505050505050505050565b60008080611e73606e612266565b91509150611e7f612026565b6001600160a01b0316635c992fed6040518060e00160405280611ea0600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611f1991906145de565b6020604051808303816000875af1158015611f38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5c9190613ea7565b92506000611f6e8a8a8a8a8a8a61172d565b50508551604051630d9b998d60e01b81526001600160601b03808a16600483015291821660248201526001600160c01b0319808b1660448301528f166064820152608481018e905260a4810185905260c481018d9052908a1660e4820152929350506001600160a01b03841691630d9b998d915061010401600060405180830381600087803b15801561200057600080fd5b505af1158015612014573d6000803e3d6000fd5b50505050505050979650505050505050565b60008061203b6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6120516120db565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156120b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f989190614371565b60006120e56106ad565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561213a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610732919061424e565b60008051602061484a8339815191528054600160401b810460ff1615906001600160401b03166000811580156121915750825b90506000826001600160401b031660011480156121ad5750303b155b9050811580156121bb575080155b156121d95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561220357845460ff60401b1916600160401b1785555b61220d8888613215565b6122178787613450565b8315610dd857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61226e61357a565b6000806122836001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156122c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ed9190613ea7565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612348573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236c9190613e7f565b6123b85760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161093c565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612413573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261243b91908101906145f1565b925061245183604001518560ff90811691161490565b6124935760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161093c565b60006124a76001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156124fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261252491908101906145f1565b608001519395939450505050565b60006125478383670de0b6b3a7640000613458565b9392505050565b6125566135b8565b6000612560613657565b835160405163f2b246c360e01b81526001600160601b0390911660048201526000906001600160a01b0387169063f2b246c3906024016101e060405180830381865afa1580156125b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d89190614422565b6020860151604051634793b4ab60e01b81526001600160601b038216600482015291955093506001600160a01b03871690634793b4ab90602401600060405180830381865afa15801561262f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261265791908101906146c3565b805185519193506001600160601b039081169116146126b15760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161093c565b83516040516357f80bbf60e01b81526001600160601b03821660048201526000906001600160a01b038916906357f80bbf906024016040805180830381865afa158015612702573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127269190614337565b905061273a81602001518860a00151610e95565b9250505092959194509250565b61274f613657565b8184608001818151612761919061426b565b90525060405163e1f64d7760e01b81526001600160601b03808716600483015284166024820152604481018390526001600160a01b0387169063e1f64d7790606401600060405180830381600087803b1580156127bd57600080fd5b505af11580156127d1573d6000803e3d6000fd5b505050508390505b95945050505050565b600081156127d95760405163a310e2a360e01b81526001600160601b03861660048201526000906001600160a01b0388169063a310e2a390602401602060405180830381865afa15801561283a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285e9190614371565b905060006128746001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e79190614371565b8651604051630d48c43b60e11b81526001600160601b0390911660048201529091506000906001600160a01b038a1690631a91887690602401602060405180830381865afa15801561293d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129619190614371565b60608801516040516346f0526160e11b81528796509192509073__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906129a4908490600401614794565b602060405180830381865af41580156129c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e59190613e7f565b15612a59576040516317d5759960e31b81526001600160a01b03848116600483015283811660248301526044820188905285169063beabacc890606401600060405180830381600087803b158015612a3c57600080fd5b505af1158015612a50573d6000803e3d6000fd5b50505050612c21565b6000808b6001600160a01b031663f274e87d89856040518363ffffffff1660e01b8152600401612a8a9291906147ab565b6040805180830381865afa158015612aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aca91906147c9565b604051630d48c43b60e11b81526001600160601b038e16600482015291935091506000906001600160a01b038e1690631a91887690602401602060405180830381865afa158015612b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b439190614371565b6040516317d5759960e31b81526001600160a01b0388811660048301528083166024830152604482018690529192509088169063beabacc890606401600060405180830381600087803b158015612b9957600080fd5b505af1158015612bad573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0389811660048301528881166024830152604482018690528a16925063beabacc89150606401600060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b5093995050505050505b5050505095945050505050565b6000612c426001546001600160a01b031690565b86516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612c94573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612cbc91908101906145f1565b608001516101208501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611e2a918a91899089906004016147ed565b6000612d0561357a565b612d0f606e612266565b506080015192915050565b6000806000806000876001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d849190614371565b90506000816001600160a01b031663f2b246c38a6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df99190613ea7565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024016101e060405180830381865afa158015612e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e629190614422565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015612eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612edd91908101906146c3565b805183519192506001600160601b03908116911614612f495760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161093c565b606082015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018c905273__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd391906147c9565b5060a083015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018d905290975073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561303d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306191906147c9565b5060208281015160405163012ebd8360e21b8152815160048201529101516024820152604481018d905290965073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156130c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130ed91906147c9565b50945060006131046001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613159573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261318191908101906145f1565b6080810151604051637be9cef560e11b81526001600160c01b03198c166004820152602481018f9052919250906001600160a01b0382169063f7d39dea90604401602060405180830381865afa1580156131df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613203919061422a565b95505050505050945094509450949050565b61321d613541565b60008051602061486a833981519152600061324d60008051602061484a833981519152546001600160401b031690565b905060006132596106ad565b9050816001600160401b03166001036132865760028301805462ffffff191662ffffff83161790556132d4565b600283015462ffffff908116908216116132d45760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161093c565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089169284019290925290861690820152606081016133484290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906119569083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e5613541565b60008080600019858709858702925082811083820303915050806000036134925783828161348857613488614833565b0492505050612547565b8084116134d95760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161093c565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b60008051602061484a83398151915254600160401b900460ff1661357857604051631afcd79f60e31b815260040160405180910390fd5b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6040805161012081018252600080825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085019094528184528301529061010082015290565b60405180610100016040528060006001600160601b03168152602001613690604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156136e057600080fd5b81356001600160e01b03198116811461254757600080fd5b6001600160c01b03198116811461024f57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156137465761374661370e565b60405290565b6040516101c081016001600160401b03811182821017156137465761374661370e565b60405161012081016001600160401b03811182821017156137465761374661370e565b60405160e081016001600160401b03811182821017156137465761374661370e565b60405161010081016001600160401b03811182821017156137465761374661370e565b604051601f8201601f191681016001600160401b03811182821017156137ff576137ff61370e565b604052919050565b60006001600160401b038211156138205761382061370e565b50601f01601f191660200190565b600082601f83011261383f57600080fd5b813561385261384d82613807565b6137d7565b81815284602083860101111561386757600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561389757600080fd5b82356138a2816136f8565b915060208301356001600160401b038111156138bd57600080fd5b6138c98582860161382e565b9150509250929050565b6001600160601b038116811461024f57600080fd5b6000602082840312156138fa57600080fd5b8135612547816138d3565b60005b83811015613920578181015183820152602001613908565b50506000910152565b60008151808452613941816020860160208601613905565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526139c660e0850182613929565b949350505050565b6040815260006139e16040830185613955565b82810360208401526127d98185613929565b6020815260006125476020830184613929565b60008060408385031215613a1957600080fd5b8235613a24816136f8565b915060208301356001600160401b0380821115613a4057600080fd5b9084019060408287031215613a5457600080fd5b613a5c613724565b8235613a67816138d3565b8152602083013582811115613a7b57600080fd5b613a878882860161382e565b6020830152508093505050509250929050565b62ffffff8116811461024f57600080fd5b600060208284031215613abd57600080fd5b813561254781613a9a565b64ffffffffff8116811461024f57600080fd5b60008060408385031215613aee57600080fd5b8235613af9816138d3565b91506020830135613b0981613ac8565b809150509250929050565b60008060408385031215613b2757600080fd5b50508035926020909101359150565b801515811461024f57600080fd5b600080600060608486031215613b5957600080fd5b8335613b64816138d3565b92506020840135613b7481613b36565b91506040840135613b8481613ac8565b809150509250925092565b60ff8116811461024f57600080fd5b60008060408385031215613bb157600080fd5b8235613bbc816136f8565b91506020830135613b0981613b8f565b60008060008060008060c08789031215613be557600080fd5b8635613bf0816136f8565b9550602087013594506040870135935060608701356001600160401b03811115613c1957600080fd5b613c2589828a0161382e565b9350506080870135613c36816138d3565b915060a0870135613c46816136f8565b809150509295509295509295565b6001600160a01b038116811461024f57600080fd5b600080600060608486031215613c7e57600080fd5b8335613c8981613c54565b92506020840135613c9981613c54565b915060408401356001600160401b03811115613cb457600080fd5b613cc08682870161382e565b9150509250925092565b600060408284031215613cdc57600080fd5b613ce4613724565b9050813581526020820135602082015292915050565b60008060808385031215613d0d57600080fd5b613d178484613cca565b9150613d268460408501613cca565b90509250929050565b600060208284031215613d4157600080fd5b5035919050565b600080600080600080600060e0888a031215613d6357600080fd5b8735613d6e81613c54565b96506020880135613d7e816136f8565b9550604088013594506060880135935060808801356001600160401b03811115613da757600080fd5b613db38a828b0161382e565b93505060a0880135613dc4816138d3565b915060c0880135613dd4816136f8565b8091505092959891949750929550565b6001600160401b0360c01b841681526001600160601b03831660208201526060604082015260006127d96060830184613929565b600060208284031215613e2a57600080fd5b815161254781613a9a565b600181811c90821680613e4957607f821691505b602082108103613e6957634e487b7160e01b600052602260045260246000fd5b50919050565b8051613e7a81613b36565b919050565b600060208284031215613e9157600080fd5b815161254781613b36565b8051613e7a816138d3565b600060208284031215613eb957600080fd5b8151612547816138d3565b6001600160401b0360c01b83168152604060208201526001600160601b03825116604082015260006020830151604060608401526127d96080840182613929565b8051613e7a816136f8565b8051613e7a81613c54565b600082601f830112613f2c57600080fd5b8151613f3a61384d82613807565b818152846020838601011115613f4f57600080fd5b6139c6826020830160208701613905565b8051613e7a81613ac8565b600060208284031215613f7d57600080fd5b81516001600160401b0380821115613f9457600080fd5b908301906101c08286031215613fa957600080fd5b613fb161374c565b613fba83613e9c565b8152613fc860208401613e9c565b6020820152613fd960408401613f05565b6040820152613fea60608401613f10565b6060820152613ffb60808401613f05565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518183015250610120808401518381111561403e57600080fd5b61404a88828701613f1b565b828401525050610140808401518381111561406457600080fd5b61407088828701613f1b565b8284015250506101609150614086828401613f60565b82820152610180915061409a828401613f60565b828201526101a091506140ae828401613f60565b91810191909152949350505050565b6000602082840312156140cf57600080fd5b815161254781613ac8565b6001600160601b0383168152604060208201526141036040820183516001600160601b03169052565b6000602083015161411f60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160a01b03811660a08401525060808301516001600160c01b0319811660c08401525060a083015160e083015260c0830151610100818185015260e08501519150610120828186015281860151925061014091508282860152808601519250506101c061016081818701526141b7610200870185613929565b9350828701519250610180603f1987860301818801526141d78585613929565b94508188015193506101a091506141f68288018564ffffffffff169052565b87015164ffffffffff811683880152925086015164ffffffffff81166101e087015291506142219050565b50949350505050565b60006020828403121561423c57600080fd5b5051919050565b8051613e7a81613b8f565b60006020828403121561426057600080fd5b815161254781613b8f565b80820180821115610f9857634e487b7160e01b600052601160045260246000fd5b60006001600160601b038085168352604060208401528084511660408401525060208301516142c8606084018280518252602090810151910152565b5060408301516101208060a08501526142e5610160850183613929565b9150606085015160c0850152608085015160e085015260a085015161010085015260c085015161431d8286018264ffffffffff169052565b505060e084015164ffffffffff8116610140850152614221565b60006040828403121561434957600080fd5b614351613724565b825161435c81613b36565b81526020928301519281019290925250919050565b60006020828403121561438357600080fd5b815161254781613c54565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006143bf6080830184613929565b9695505050505050565b6000602082840312156143db57600080fd5b81516001600160401b038116811461254757600080fd5b60006040828403121561440457600080fd5b61440c613724565b9050815181526020820151602082015292915050565b60006101e0828403121561443557600080fd5b61443d61376f565b61444683613e9c565b815261445460208401613e9c565b602082015261446560408401613f10565b604082015261447784606085016143f2565b60608201526144898460a085016143f2565b608082015261449b8460e085016143f2565b60a08201526144ae8461012085016143f2565b60c08201526144c18461016085016143f2565b60e08201526144d4846101a085016143f2565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061451860408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061457a8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b634e487b7160e01b600052603260045260246000fd5b6020815260006125476020830184613955565b60006020828403121561460357600080fd5b81516001600160401b038082111561461a57600080fd5b9083019060e0828603121561462e57600080fd5b614636613792565b61463f83613e9c565b815261464d60208401613e9c565b602082015261465e60408401614243565b604082015261466f60608401613e6f565b606082015261468060808401613f10565b608082015261469160a08401613f10565b60a082015260c0830151828111156146a857600080fd5b6146b487828601613f1b565b60c08301525095945050505050565b6000602082840312156146d557600080fd5b81516001600160401b03808211156146ec57600080fd5b90830190610120828603121561470157600080fd5b6147096137b4565b61471283613e9c565b815261472186602085016143f2565b602082015260608301518281111561473857600080fd5b61474487828601613f1b565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261477460e08401613f60565b60c08201526147866101008401613f60565b60e082015295945050505050565b815181526020808301519082015260408101610f98565b82815260608101612547602083018480518252602090810151910152565b600080604083850312156147dc57600080fd5b505080516020909101519092909150565b6001600160601b038516815260806020820152600061480f6080830186613929565b82810360408401526148218186613929565b91505082606083015295945050505050565b634e487b7160e01b600052601260045260246000fdfef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122011af7182d01266421c1862bcc076595a869d9faaf9f4a1131bc2c3fe489655e564736f6c63430008140033",
766
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61364780620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063ada9652e11610097578063bf7e214f11610071578063bf7e214f1461040f578063caf4e3d41461042d578063cc9fc59a14610435578063f7c34ee01461043d57600080fd5b8063ada9652e146103d8578063b68d1809146103ed578063b6b412ba146103fc57600080fd5b8063893d20e8116100d3578063893d20e8146103895780638e32e979146103915780638f997f6d146103a45780638fb36037146103b757600080fd5b8063675393bf146103505780637a9e5e4b146103635780637cef48421461037657600080fd5b806327bb7a33116101665780634420e486116101405780634420e486146102cf57806349bb9e4b146102fa5780635ab1bd531461030d578063644c45e01461033257600080fd5b806327bb7a33146102a1578063329d6e74146102b457806336fc697e146102c757600080fd5b80630fec111c116101a25780630fec111c1461023c578063138461e0146102515780631eff4b2214610259578063214cdb801461028e57600080fd5b806301ffc9a7146101c9578063095e2b721461020b5780630d8e6e2c14610220575b600080fd5b6101f66101d73660046128ee565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610219366004612a6c565b610450565b005b61022861054c565b60405162ffffff9091168152602001610202565b6102446105d6565b6040516102029190612b09565b61021e6106f7565b6102807f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b61021e61029c3660046128ee565b6108fe565b61021e6102af366004612bdb565b61092b565b61021e6102c2366004612c73565b6109d0565b61021e610b1d565b6102e26102dd366004612ca7565b610b63565b6040516001600160601b039091168152602001610202565b61021e610308366004612cc4565b610c28565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6000805160206135b2833981519152546001600160601b03166102e2565b61021e61035e366004612ca7565b610d27565b61021e610371366004612ca7565b610e35565b61021e610384366004612ce2565b610ecf565b61031a610fab565b61021e61039f366004612d19565b6110e2565b61021e6103b2366004612a6c565b61131b565b6103bf6114a8565b6040516001600160e01b03199091168152602001610202565b6102806000805160206135b283398151915281565b604051606e8152602001610202565b61021e61040a366004612d94565b6114e0565b6000805160206135d2833981519152546001600160a01b031661031a565b61031a6116ae565b61031a6116ba565b61021e61044b366004612dc0565b6116c6565b60008061045d606e61173d565b925050915060006040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190612dee565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b8152600401610513929190612e33565b600060405180830381600087803b15801561052d57600080fd5b505af1158015610541573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d19190612e58565b905090565b6105de6128b0565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610653610fab565b6001600160a01b0316815260200182600101805461067090612e7d565b80601f016020809104026020016040519081016040528092919081815260200182805461069c90612e7d565b80156106e95780601f106106be576101008083540402835291602001916106e9565b820191906000526020600020905b8154815290600101906020018083116106cc57829003601f168201915b505050505081525091505090565b60006000805160206135b283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610766573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078a9190612ec2565b156107bb5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107ce6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a9190612ec2565b6108625760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107b2565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108da9190612eea565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109066118df565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109336118df565b61093d82876116c6565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109c68382612f55565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109f261054c565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a569190613029565b6000805160206135f28339815191528054600160401b900460ff1680610a89575080546001600160401b03808416911610155b15610aa75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ad183611918565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b256118df565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b7c86606e610b77611920565b611997565b92965090945092509050856000610b916116ae565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610be3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0b91908101906130ac565b805197509050610c1c848389611c88565b50505050505050919050565b6000805160206135f28339815191528054600160401b810460ff1615906001600160401b0316600081158015610c5b5750825b90506000826001600160401b03166001148015610c775750303b155b905081158015610c85575080155b15610ca35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ccd57845460ff60401b1916600160401b1785555b610cd78787612343565b8315610d1e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610d2f6118df565b806001600160a01b03163b600003610d655760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610ddf575060408051601f3d908101601f19168201909252610ddc91810190612ec2565b60015b610e075760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b2565b80610e305760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107b2565b505b50565b33610e556000805160206135d2833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e905760405162d1953b60e31b81526001600160a01b03821660048201526024016107b2565b816001600160a01b03163b600003610ec6576040516361798f2f60e11b81526001600160a01b03831660048201526024016107b2565b610e3082612581565b6000610edb606e61173d565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f419190612dee565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef484290604401600060405180830381600087803b158015610f9757600080fd5b505af1158015610d1e573d6000803e3d6000fd5b6000806000805160206135b283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561101b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103f9190612ec2565b156110cc576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190612dee565b91505090565b54600160601b90046001600160a01b0316919050565b6110ea6118df565b61116a83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561112c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111509190612eea565b603c6000856040518060200160405280600081525061092b565b6001600160a01b0382161561118757611182826125e2565b6112f6565b600061119b6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156111fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121f919061317e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112889190612dee565b90506112f4816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ef9190612dee565b6125e2565b505b611306634a531f3360e01b6108fe565b61131663b68d180960e01b6108fe565b505050565b6000611327606e61173d565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138f9190612dee565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa1580156113e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261140b919081019061319b565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114789190612dee565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b81526004016105139392919061321a565b6000805160206135d2833981519152805460009190600160a01b900460ff166114d25760006110c6565b638fb3603760e01b91505090565b6000806114ed606e61173d565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190612dee565b60405163242bdc1960e21b81526001600160601b03851660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa1580156115aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ce9190613282565b9050858160800181905250848160a00181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611620573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116449190612dee565b6001600160a01b0316630cbc6b89858360ff6040518463ffffffff1660e01b8152600401611674939291906133be565b600060405180830381600087803b15801561168e57600080fd5b505af11580156116a2573d6000803e3d6000fd5b50505050505050505050565b60006105d160286125f3565b60006105d160466125f3565b6116ce6118df565b6116d781610d27565b6116df610b1d565b6001600160a01b0382166117065760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206135b283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006117476128b0565b600061175b6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156117a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c59190612eea565b92506117d18385612706565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183b9190612dee565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611885573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a99190612ec2565b156118d857608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107b2565b9193909250565b6000805160206135f283398151915254600160401b900460ff1661191657604051631afcd79f60e31b815260040160405180910390fd5b565b6101c46118df565b6040516368aebf7b60e01b81526005600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d19190613029565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156119eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0f9190612ec2565b611a37576040516359bff0e360e11b81526001600160a01b03881660048201526024016107b2565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a9f91908101906130ac565b9050611ab681604001518860ff9081169116141590565b15611af6576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107b2565b60a08101516001600160a01b0385811690821614611b485760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107b2565b81602001519250611b588361280a565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbc9190612dee565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015611c13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c379190612ec2565b611c7d57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107b2565b505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611ccb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cef9190613282565b90506000611d056001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8291908101906130ac565b6080015190506000611d9c6001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611df1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e1991908101906130ac565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611e6a57600080fd5b505af1158015611e7e573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611ecc57600080fd5b505af1158015611ee0573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611f2e57600080fd5b505af1158015611f42573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f8157600080fd5b505af1158015611f95573d6000803e3d6000fd5b50505050866001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffb9190612dee565b6001600160a01b031663fbc1a3a086886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015612049573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206d9190613282565b6040518363ffffffff1660e01b815260040161208a9291906133ee565b600060405180830381600087803b1580156120a457600080fd5b505af11580156120b8573d6000803e3d6000fd5b5060009250600191506120c89050565b6040519080825280602002602001820160405280156120fb57816020015b60608152602001906001900390816120e65790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061212f5761212f61340c565b602002602001018190525063b6b412ba60e01b816000815181106121555761215561340c565b602002602001015160008151811061216f5761216f61340c565b6001600160e01b031992909216602092830291909101909101526040805160018082528183019092526000918160200160208202803683370190505090506121b5611920565b816000815181106121c8576121c861340c565b60200260200101906001600160401b031690816001600160401b0316815250506121f06116ba565b6001600160a01b0316636c6fbb286122106001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038d81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612258573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227c9190612eea565b8a8b6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122e39190810190613422565b86866040518663ffffffff1660e01b81526004016123059594939291906134ae565b600060405180830381600087803b15801561231f57600080fd5b505af1158015612333573d6000803e3d6000fd5b5050505050505050509392505050565b6000805160206135f28339815191528054600160401b810460ff1615906001600160401b03166000811580156123765750825b90506000826001600160401b031660011480156123925750303b155b9050811580156123a0575080155b156123be5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156123e857845460ff60401b1916600160401b1785555b600080878060200190518101906123ff9190613582565b90925090506124108260008b6110e2565b6001546001600160a01b031663d39e6043608c61242b61054c565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a4919061317e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156124e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250d9190612dee565b600280546001600160a01b0319166001600160a01b039290921691909117905561253d6308bcea6160e01b6108fe565b50508315610d1e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d15565b6000805160206135d283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6125ea6118df565b610e328161289f565b60006126076001546001600160a01b031690565b6001600160a01b031663d39e60438361261e61054c565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612673573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612697919061317e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156126dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127009190612dee565b92915050565b61270e6128b0565b60006127226001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612771573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261279991908101906130ac565b91506127b082604001518460ff9081169116141590565b156127f457608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016107b2565b612801826020015161280a565b90509250929050565b600061281e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561286d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289591908101906130ac565b6080015192915050565b6128a76118df565b610e3281612581565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561290057600080fd5b81356001600160e01b03198116811461291857600080fd5b9392505050565b80356001600160c01b03198116811461293757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156129745761297461293c565b60405290565b60405160e081016001600160401b03811182821017156129745761297461293c565b60405161010081016001600160401b03811182821017156129745761297461293c565b604051601f8201601f191681016001600160401b03811182821017156129e7576129e761293c565b604052919050565b60006001600160401b03821115612a0857612a0861293c565b50601f01601f191660200190565b600082601f830112612a2757600080fd5b8135612a3a612a35826129ef565b6129bf565b818152846020838601011115612a4f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215612a7f57600080fd5b612a888361291f565b915060208301356001600160401b03811115612aa357600080fd5b612aaf85828601612a16565b9150509250929050565b60005b83811015612ad4578181015183820152602001612abc565b50506000910152565b60008151808452612af5816020860160208601612ab9565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612b7260c08401826001600160a01b03169052565b5060c083015160e080840152612b8c610100840182612add565b949350505050565b6001600160a01b0381168114610e3257600080fd5b6001600160601b0381168114610e3257600080fd5b60ff81168114610e3257600080fd5b8015158114610e3257600080fd5b60008060008060008060c08789031215612bf457600080fd5b8635612bff81612b94565b95506020870135612c0f81612ba9565b94506040870135612c1f81612bbe565b93506060870135612c2f81612bcd565b92506080870135612c3f81612b94565b915060a08701356001600160401b03811115612c5a57600080fd5b612c6689828a01612a16565b9150509295509295509295565b600060208284031215612c8557600080fd5b81356001600160401b03811115612c9b57600080fd5b612b8c84828501612a16565b600060208284031215612cb957600080fd5b813561291881612b94565b60008060408385031215612cd757600080fd5b8235612a8881612b94565b60008060408385031215612cf557600080fd5b612cfe8361291f565b91506020830135612d0e81612bbe565b809150509250929050565b600080600060608486031215612d2e57600080fd5b8335612d3981612b94565b92506020840135612d4981612b94565b91506040840135612d5981612b94565b809150509250925092565b600060408284031215612d7657600080fd5b612d7e612952565b9050813581526020820135602082015292915050565b60008060808385031215612da757600080fd5b612db18484612d64565b91506128018460408501612d64565b60008060408385031215612dd357600080fd5b8235612dde81612b94565b91506020830135612d0e81612b94565b600060208284031215612e0057600080fd5b815161291881612b94565b6001600160601b0381511682526000602082015160406020850152612b8c6040850182612add565b6001600160401b0360c01b83168152604060208201526000612b8c6040830184612e0b565b600060208284031215612e6a57600080fd5b815162ffffff8116811461291857600080fd5b600181811c90821680612e9157607f821691505b602082108103612eb157634e487b7160e01b600052602260045260246000fd5b50919050565b805161293781612bcd565b600060208284031215612ed457600080fd5b815161291881612bcd565b805161293781612ba9565b600060208284031215612efc57600080fd5b815161291881612ba9565b601f82111561131657600081815260208120601f850160051c81016020861015612f2e5750805b601f850160051c820191505b81811015612f4d57828155600101612f3a565b505050505050565b81516001600160401b03811115612f6e57612f6e61293c565b612f8281612f7c8454612e7d565b84612f07565b602080601f831160018114612fb75760008415612f9f5750858301515b600019600386901b1c1916600185901b178555612f4d565b600085815260208120601f198616915b82811015612fe657888601518255948401946001909101908401612fc7565b50858210156130045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610e3257600080fd5b60006020828403121561303b57600080fd5b815161291881613014565b805161293781612bbe565b805161293781612b94565b600061306a612a35846129ef565b905082815283838301111561307e57600080fd5b612918836020830184612ab9565b600082601f83011261309d57600080fd5b6129188383516020850161305c565b6000602082840312156130be57600080fd5b81516001600160401b03808211156130d557600080fd5b9083019060e082860312156130e957600080fd5b6130f161297a565b6130fa83612edf565b815261310860208401612edf565b602082015261311960408401613046565b604082015261312a60608401612eb7565b606082015261313b60808401613051565b608082015261314c60a08401613051565b60a082015260c08301518281111561316357600080fd5b61316f8782860161308c565b60c08301525095945050505050565b60006020828403121561319057600080fd5b815161291881612bbe565b6000602082840312156131ad57600080fd5b81516001600160401b03808211156131c457600080fd5b90830190604082860312156131d857600080fd5b6131e0612952565b82516131eb81612ba9565b81526020830151828111156131ff57600080fd5b61320b8782860161308c565b60208301525095945050505050565b6001600160401b0360c01b8416815260606020820152600061323f6060830185612e0b565b905060ff83166040830152949350505050565b60006040828403121561326457600080fd5b61326c612952565b9050815181526020820151602082015292915050565b6000610140828403121561329557600080fd5b61329d61299c565b6132a683613051565b81526132b460208401613051565b60208201526132c560408401612edf565b60408201526132d660608401612edf565b60608201526132e88460808501613252565b60808201526132fa8460c08501613252565b60a082015261330c6101008401612eb7565b60c082015261331e6101208401613051565b60e08201529392505050565b60018060a01b038082511683528060208301511660208401525060408101516001600160601b03808216604085015280606084015116606085015250506080810151613383608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151151561010083015260e001516001600160a01b031661012090910152565b6001600160601b038416815261018081016133dc602083018561332a565b60ff8316610160830152949350505050565b6001600160601b03831681526101608101612918602083018461332a565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561343457600080fd5b81516001600160401b0381111561344a57600080fd5b8201601f8101841361345b57600080fd5b612b8c8482516020840161305c565b600081518084526020808501945080840160005b838110156134a35781516001600160401b03168752958201959082019060010161347e565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526134df60a0840187612add565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561355d57868403601f19018652825180518086529089019089860190845b818110156135485783516001600160e01b0319168352928b0192918b0191600101613522565b50509689019694505091870191600101613500565b5050508681036080880152613572818961346a565b9c9b505050505050505050505050565b6000806040838503121561359557600080fd5b82516135a081612b94565b6020840151909250612d0e81612b9456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122046c7ea3a77428386d0e7cb63222cd58bd3f7693fd7a088132e728d0dcba0ef0a64736f6c63430008140033",
767
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063ada9652e11610097578063bf7e214f11610071578063bf7e214f1461040f578063caf4e3d41461042d578063cc9fc59a14610435578063f7c34ee01461043d57600080fd5b8063ada9652e146103d8578063b68d1809146103ed578063b6b412ba146103fc57600080fd5b8063893d20e8116100d3578063893d20e8146103895780638e32e979146103915780638f997f6d146103a45780638fb36037146103b757600080fd5b8063675393bf146103505780637a9e5e4b146103635780637cef48421461037657600080fd5b806327bb7a33116101665780634420e486116101405780634420e486146102cf57806349bb9e4b146102fa5780635ab1bd531461030d578063644c45e01461033257600080fd5b806327bb7a33146102a1578063329d6e74146102b457806336fc697e146102c757600080fd5b80630fec111c116101a25780630fec111c1461023c578063138461e0146102515780631eff4b2214610259578063214cdb801461028e57600080fd5b806301ffc9a7146101c9578063095e2b721461020b5780630d8e6e2c14610220575b600080fd5b6101f66101d73660046128ee565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610219366004612a6c565b610450565b005b61022861054c565b60405162ffffff9091168152602001610202565b6102446105d6565b6040516102029190612b09565b61021e6106f7565b6102807f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b61021e61029c3660046128ee565b6108fe565b61021e6102af366004612bdb565b61092b565b61021e6102c2366004612c73565b6109d0565b61021e610b1d565b6102e26102dd366004612ca7565b610b63565b6040516001600160601b039091168152602001610202565b61021e610308366004612cc4565b610c28565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6000805160206135b2833981519152546001600160601b03166102e2565b61021e61035e366004612ca7565b610d27565b61021e610371366004612ca7565b610e35565b61021e610384366004612ce2565b610ecf565b61031a610fab565b61021e61039f366004612d19565b6110e2565b61021e6103b2366004612a6c565b61131b565b6103bf6114a8565b6040516001600160e01b03199091168152602001610202565b6102806000805160206135b283398151915281565b604051606e8152602001610202565b61021e61040a366004612d94565b6114e0565b6000805160206135d2833981519152546001600160a01b031661031a565b61031a6116ae565b61031a6116ba565b61021e61044b366004612dc0565b6116c6565b60008061045d606e61173d565b925050915060006040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190612dee565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b8152600401610513929190612e33565b600060405180830381600087803b15801561052d57600080fd5b505af1158015610541573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d19190612e58565b905090565b6105de6128b0565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610653610fab565b6001600160a01b0316815260200182600101805461067090612e7d565b80601f016020809104026020016040519081016040528092919081815260200182805461069c90612e7d565b80156106e95780601f106106be576101008083540402835291602001916106e9565b820191906000526020600020905b8154815290600101906020018083116106cc57829003601f168201915b505050505081525091505090565b60006000805160206135b283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610766573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078a9190612ec2565b156107bb5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107ce6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a9190612ec2565b6108625760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107b2565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108da9190612eea565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109066118df565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109336118df565b61093d82876116c6565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109c68382612f55565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109f261054c565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a569190613029565b6000805160206135f28339815191528054600160401b900460ff1680610a89575080546001600160401b03808416911610155b15610aa75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ad183611918565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b256118df565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b7c86606e610b77611920565b611997565b92965090945092509050856000610b916116ae565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610be3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0b91908101906130ac565b805197509050610c1c848389611c88565b50505050505050919050565b6000805160206135f28339815191528054600160401b810460ff1615906001600160401b0316600081158015610c5b5750825b90506000826001600160401b03166001148015610c775750303b155b905081158015610c85575080155b15610ca35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ccd57845460ff60401b1916600160401b1785555b610cd78787612343565b8315610d1e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610d2f6118df565b806001600160a01b03163b600003610d655760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610ddf575060408051601f3d908101601f19168201909252610ddc91810190612ec2565b60015b610e075760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b2565b80610e305760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107b2565b505b50565b33610e556000805160206135d2833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e905760405162d1953b60e31b81526001600160a01b03821660048201526024016107b2565b816001600160a01b03163b600003610ec6576040516361798f2f60e11b81526001600160a01b03831660048201526024016107b2565b610e3082612581565b6000610edb606e61173d565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f419190612dee565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef484290604401600060405180830381600087803b158015610f9757600080fd5b505af1158015610d1e573d6000803e3d6000fd5b6000806000805160206135b283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561101b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103f9190612ec2565b156110cc576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190612dee565b91505090565b54600160601b90046001600160a01b0316919050565b6110ea6118df565b61116a83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561112c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111509190612eea565b603c6000856040518060200160405280600081525061092b565b6001600160a01b0382161561118757611182826125e2565b6112f6565b600061119b6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156111fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121f919061317e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112889190612dee565b90506112f4816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ef9190612dee565b6125e2565b505b611306634a531f3360e01b6108fe565b61131663b68d180960e01b6108fe565b505050565b6000611327606e61173d565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138f9190612dee565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa1580156113e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261140b919081019061319b565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114789190612dee565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b81526004016105139392919061321a565b6000805160206135d2833981519152805460009190600160a01b900460ff166114d25760006110c6565b638fb3603760e01b91505090565b6000806114ed606e61173d565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190612dee565b60405163242bdc1960e21b81526001600160601b03851660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa1580156115aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ce9190613282565b9050858160800181905250848160a00181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611620573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116449190612dee565b6001600160a01b0316630cbc6b89858360ff6040518463ffffffff1660e01b8152600401611674939291906133be565b600060405180830381600087803b15801561168e57600080fd5b505af11580156116a2573d6000803e3d6000fd5b50505050505050505050565b60006105d160286125f3565b60006105d160466125f3565b6116ce6118df565b6116d781610d27565b6116df610b1d565b6001600160a01b0382166117065760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206135b283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006117476128b0565b600061175b6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156117a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c59190612eea565b92506117d18385612706565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183b9190612dee565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611885573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a99190612ec2565b156118d857608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107b2565b9193909250565b6000805160206135f283398151915254600160401b900460ff1661191657604051631afcd79f60e31b815260040160405180910390fd5b565b6101c46118df565b6040516368aebf7b60e01b81526005600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d19190613029565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156119eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0f9190612ec2565b611a37576040516359bff0e360e11b81526001600160a01b03881660048201526024016107b2565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a9f91908101906130ac565b9050611ab681604001518860ff9081169116141590565b15611af6576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107b2565b60a08101516001600160a01b0385811690821614611b485760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107b2565b81602001519250611b588361280a565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbc9190612dee565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015611c13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c379190612ec2565b611c7d57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107b2565b505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611ccb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cef9190613282565b90506000611d056001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8291908101906130ac565b6080015190506000611d9c6001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611df1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e1991908101906130ac565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611e6a57600080fd5b505af1158015611e7e573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611ecc57600080fd5b505af1158015611ee0573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611f2e57600080fd5b505af1158015611f42573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f8157600080fd5b505af1158015611f95573d6000803e3d6000fd5b50505050866001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffb9190612dee565b6001600160a01b031663fbc1a3a086886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015612049573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206d9190613282565b6040518363ffffffff1660e01b815260040161208a9291906133ee565b600060405180830381600087803b1580156120a457600080fd5b505af11580156120b8573d6000803e3d6000fd5b5060009250600191506120c89050565b6040519080825280602002602001820160405280156120fb57816020015b60608152602001906001900390816120e65790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061212f5761212f61340c565b602002602001018190525063b6b412ba60e01b816000815181106121555761215561340c565b602002602001015160008151811061216f5761216f61340c565b6001600160e01b031992909216602092830291909101909101526040805160018082528183019092526000918160200160208202803683370190505090506121b5611920565b816000815181106121c8576121c861340c565b60200260200101906001600160401b031690816001600160401b0316815250506121f06116ba565b6001600160a01b0316636c6fbb286122106001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038d81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612258573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227c9190612eea565b8a8b6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122e39190810190613422565b86866040518663ffffffff1660e01b81526004016123059594939291906134ae565b600060405180830381600087803b15801561231f57600080fd5b505af1158015612333573d6000803e3d6000fd5b5050505050505050509392505050565b6000805160206135f28339815191528054600160401b810460ff1615906001600160401b03166000811580156123765750825b90506000826001600160401b031660011480156123925750303b155b9050811580156123a0575080155b156123be5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156123e857845460ff60401b1916600160401b1785555b600080878060200190518101906123ff9190613582565b90925090506124108260008b6110e2565b6001546001600160a01b031663d39e6043608c61242b61054c565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a4919061317e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156124e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250d9190612dee565b600280546001600160a01b0319166001600160a01b039290921691909117905561253d6308bcea6160e01b6108fe565b50508315610d1e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d15565b6000805160206135d283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6125ea6118df565b610e328161289f565b60006126076001546001600160a01b031690565b6001600160a01b031663d39e60438361261e61054c565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612673573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612697919061317e565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156126dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127009190612dee565b92915050565b61270e6128b0565b60006127226001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612771573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261279991908101906130ac565b91506127b082604001518460ff9081169116141590565b156127f457608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016107b2565b612801826020015161280a565b90509250929050565b600061281e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561286d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289591908101906130ac565b6080015192915050565b6128a76118df565b610e3281612581565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561290057600080fd5b81356001600160e01b03198116811461291857600080fd5b9392505050565b80356001600160c01b03198116811461293757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156129745761297461293c565b60405290565b60405160e081016001600160401b03811182821017156129745761297461293c565b60405161010081016001600160401b03811182821017156129745761297461293c565b604051601f8201601f191681016001600160401b03811182821017156129e7576129e761293c565b604052919050565b60006001600160401b03821115612a0857612a0861293c565b50601f01601f191660200190565b600082601f830112612a2757600080fd5b8135612a3a612a35826129ef565b6129bf565b818152846020838601011115612a4f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215612a7f57600080fd5b612a888361291f565b915060208301356001600160401b03811115612aa357600080fd5b612aaf85828601612a16565b9150509250929050565b60005b83811015612ad4578181015183820152602001612abc565b50506000910152565b60008151808452612af5816020860160208601612ab9565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612b7260c08401826001600160a01b03169052565b5060c083015160e080840152612b8c610100840182612add565b949350505050565b6001600160a01b0381168114610e3257600080fd5b6001600160601b0381168114610e3257600080fd5b60ff81168114610e3257600080fd5b8015158114610e3257600080fd5b60008060008060008060c08789031215612bf457600080fd5b8635612bff81612b94565b95506020870135612c0f81612ba9565b94506040870135612c1f81612bbe565b93506060870135612c2f81612bcd565b92506080870135612c3f81612b94565b915060a08701356001600160401b03811115612c5a57600080fd5b612c6689828a01612a16565b9150509295509295509295565b600060208284031215612c8557600080fd5b81356001600160401b03811115612c9b57600080fd5b612b8c84828501612a16565b600060208284031215612cb957600080fd5b813561291881612b94565b60008060408385031215612cd757600080fd5b8235612a8881612b94565b60008060408385031215612cf557600080fd5b612cfe8361291f565b91506020830135612d0e81612bbe565b809150509250929050565b600080600060608486031215612d2e57600080fd5b8335612d3981612b94565b92506020840135612d4981612b94565b91506040840135612d5981612b94565b809150509250925092565b600060408284031215612d7657600080fd5b612d7e612952565b9050813581526020820135602082015292915050565b60008060808385031215612da757600080fd5b612db18484612d64565b91506128018460408501612d64565b60008060408385031215612dd357600080fd5b8235612dde81612b94565b91506020830135612d0e81612b94565b600060208284031215612e0057600080fd5b815161291881612b94565b6001600160601b0381511682526000602082015160406020850152612b8c6040850182612add565b6001600160401b0360c01b83168152604060208201526000612b8c6040830184612e0b565b600060208284031215612e6a57600080fd5b815162ffffff8116811461291857600080fd5b600181811c90821680612e9157607f821691505b602082108103612eb157634e487b7160e01b600052602260045260246000fd5b50919050565b805161293781612bcd565b600060208284031215612ed457600080fd5b815161291881612bcd565b805161293781612ba9565b600060208284031215612efc57600080fd5b815161291881612ba9565b601f82111561131657600081815260208120601f850160051c81016020861015612f2e5750805b601f850160051c820191505b81811015612f4d57828155600101612f3a565b505050505050565b81516001600160401b03811115612f6e57612f6e61293c565b612f8281612f7c8454612e7d565b84612f07565b602080601f831160018114612fb75760008415612f9f5750858301515b600019600386901b1c1916600185901b178555612f4d565b600085815260208120601f198616915b82811015612fe657888601518255948401946001909101908401612fc7565b50858210156130045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610e3257600080fd5b60006020828403121561303b57600080fd5b815161291881613014565b805161293781612bbe565b805161293781612b94565b600061306a612a35846129ef565b905082815283838301111561307e57600080fd5b612918836020830184612ab9565b600082601f83011261309d57600080fd5b6129188383516020850161305c565b6000602082840312156130be57600080fd5b81516001600160401b03808211156130d557600080fd5b9083019060e082860312156130e957600080fd5b6130f161297a565b6130fa83612edf565b815261310860208401612edf565b602082015261311960408401613046565b604082015261312a60608401612eb7565b606082015261313b60808401613051565b608082015261314c60a08401613051565b60a082015260c08301518281111561316357600080fd5b61316f8782860161308c565b60c08301525095945050505050565b60006020828403121561319057600080fd5b815161291881612bbe565b6000602082840312156131ad57600080fd5b81516001600160401b03808211156131c457600080fd5b90830190604082860312156131d857600080fd5b6131e0612952565b82516131eb81612ba9565b81526020830151828111156131ff57600080fd5b61320b8782860161308c565b60208301525095945050505050565b6001600160401b0360c01b8416815260606020820152600061323f6060830185612e0b565b905060ff83166040830152949350505050565b60006040828403121561326457600080fd5b61326c612952565b9050815181526020820151602082015292915050565b6000610140828403121561329557600080fd5b61329d61299c565b6132a683613051565b81526132b460208401613051565b60208201526132c560408401612edf565b60408201526132d660608401612edf565b60608201526132e88460808501613252565b60808201526132fa8460c08501613252565b60a082015261330c6101008401612eb7565b60c082015261331e6101208401613051565b60e08201529392505050565b60018060a01b038082511683528060208301511660208401525060408101516001600160601b03808216604085015280606084015116606085015250506080810151613383608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151151561010083015260e001516001600160a01b031661012090910152565b6001600160601b038416815261018081016133dc602083018561332a565b60ff8316610160830152949350505050565b6001600160601b03831681526101608101612918602083018461332a565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561343457600080fd5b81516001600160401b0381111561344a57600080fd5b8201601f8101841361345b57600080fd5b612b8c8482516020840161305c565b600081518084526020808501945080840160005b838110156134a35781516001600160401b03168752958201959082019060010161347e565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526134df60a0840187612add565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561355d57868403601f19018652825180518086529089019089860190845b818110156135485783516001600160e01b0319168352928b0192918b0191600101613522565b50509689019694505091870191600101613500565b5050508681036080880152613572818961346a565b9c9b505050505050505050505050565b6000806040838503121561359557600080fd5b82516135a081612b94565b6020840151909250612d0e81612b9456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122046c7ea3a77428386d0e7cb63222cd58bd3f7693fd7a088132e728d0dcba0ef0a64736f6c63430008140033",
856
768
  "linkReferences": {
857
- "contracts/types/Blocknumber.sol": {
858
- "BlocknumberLib": [
859
- {
860
- "length": 20,
861
- "start": 5826
862
- }
863
- ]
864
- },
865
- "contracts/types/Fee.sol": {
866
- "FeeLib": [
867
- {
868
- "length": 20,
869
- "start": 12814
870
- },
871
- {
872
- "length": 20,
873
- "start": 14344
874
- },
875
- {
876
- "length": 20,
877
- "start": 14486
878
- },
879
- {
880
- "length": 20,
881
- "start": 14626
882
- }
883
- ]
884
- },
885
769
  "contracts/types/NftId.sol": {
886
770
  "NftIdLib": [
887
771
  {
888
772
  "length": 20,
889
- "start": 4402
890
- },
891
- {
892
- "length": 20,
893
- "start": 6531
894
- },
895
- {
896
- "length": 20,
897
- "start": 7889
898
- },
899
- {
900
- "length": 20,
901
- "start": 11168
902
- }
903
- ]
904
- },
905
- "contracts/types/Timestamp.sol": {
906
- "TimestampLib": [
907
- {
908
- "length": 20,
909
- "start": 5199
910
- },
911
- {
912
- "length": 20,
913
- "start": 5419
914
- },
915
- {
916
- "length": 20,
917
- "start": 7111
918
- },
919
- {
920
- "length": 20,
921
- "start": 9428
773
+ "start": 2066
922
774
  },
923
775
  {
924
776
  "length": 20,
925
- "start": 9648
777
+ "start": 4295
926
778
  }
927
779
  ]
928
780
  },
929
- "contracts/types/UFixed.sol": {
930
- "UFixedMathLib": [
931
- {
932
- "length": 20,
933
- "start": 5954
934
- },
781
+ "contracts/types/RoleId.sol": {
782
+ "RoleIdLib": [
935
783
  {
936
784
  "length": 20,
937
- "start": 6087
785
+ "start": 6687
938
786
  }
939
787
  ]
940
788
  },
@@ -942,125 +790,73 @@
942
790
  "VersionLib": [
943
791
  {
944
792
  "length": 20,
945
- "start": 625
793
+ "start": 1625
946
794
  },
947
795
  {
948
796
  "length": 20,
949
- "start": 975
797
+ "start": 2744
950
798
  },
951
799
  {
952
800
  "length": 20,
953
- "start": 3942
801
+ "start": 9516
954
802
  },
955
803
  {
956
804
  "length": 20,
957
- "start": 8351
958
- },
805
+ "start": 10015
806
+ }
807
+ ],
808
+ "VersionPartLib": [
959
809
  {
960
810
  "length": 20,
961
- "start": 10642
811
+ "start": 4775
962
812
  }
963
813
  ]
964
814
  }
965
815
  },
966
816
  "deployedLinkReferences": {
967
- "contracts/types/Blocknumber.sol": {
968
- "BlocknumberLib": [
969
- {
970
- "length": 20,
971
- "start": 3632
972
- }
973
- ]
974
- },
975
- "contracts/types/Fee.sol": {
976
- "FeeLib": [
977
- {
978
- "length": 20,
979
- "start": 10620
980
- },
981
- {
982
- "length": 20,
983
- "start": 12150
984
- },
985
- {
986
- "length": 20,
987
- "start": 12292
988
- },
989
- {
990
- "length": 20,
991
- "start": 12432
992
- }
993
- ]
994
- },
995
817
  "contracts/types/NftId.sol": {
996
818
  "NftIdLib": [
997
819
  {
998
820
  "length": 20,
999
- "start": 2208
1000
- },
1001
- {
1002
- "length": 20,
1003
- "start": 4337
1004
- },
1005
- {
1006
- "length": 20,
1007
- "start": 5695
821
+ "start": 1836
1008
822
  },
1009
823
  {
1010
824
  "length": 20,
1011
- "start": 8974
825
+ "start": 4065
1012
826
  }
1013
827
  ]
1014
828
  },
1015
- "contracts/types/Timestamp.sol": {
1016
- "TimestampLib": [
1017
- {
1018
- "length": 20,
1019
- "start": 3005
1020
- },
1021
- {
1022
- "length": 20,
1023
- "start": 3225
1024
- },
1025
- {
1026
- "length": 20,
1027
- "start": 4917
1028
- },
1029
- {
1030
- "length": 20,
1031
- "start": 7234
1032
- },
829
+ "contracts/types/RoleId.sol": {
830
+ "RoleIdLib": [
1033
831
  {
1034
832
  "length": 20,
1035
- "start": 7454
833
+ "start": 6457
1036
834
  }
1037
835
  ]
1038
836
  },
1039
- "contracts/types/UFixed.sol": {
1040
- "UFixedMathLib": [
837
+ "contracts/types/Version.sol": {
838
+ "VersionLib": [
1041
839
  {
1042
840
  "length": 20,
1043
- "start": 3760
841
+ "start": 1395
1044
842
  },
1045
843
  {
1046
844
  "length": 20,
1047
- "start": 3893
1048
- }
1049
- ]
1050
- },
1051
- "contracts/types/Version.sol": {
1052
- "VersionLib": [
845
+ "start": 2514
846
+ },
1053
847
  {
1054
848
  "length": 20,
1055
- "start": 1748
849
+ "start": 9286
1056
850
  },
1057
851
  {
1058
852
  "length": 20,
1059
- "start": 6157
1060
- },
853
+ "start": 9785
854
+ }
855
+ ],
856
+ "VersionPartLib": [
1061
857
  {
1062
858
  "length": 20,
1063
- "start": 8448
859
+ "start": 4545
1064
860
  }
1065
861
  ]
1066
862
  }