@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,37 +7,177 @@
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",
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",
11
60
  "type": "address"
12
61
  },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
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",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorComponentServiceInvalidType",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "component",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorComponentServiceNotComponent",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
32
139
  "type": "address"
33
140
  },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorComponentServiceSenderNotOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "sender",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorComponentServiceSenderNotService",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "address",
165
+ "name": "target",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorIAccessTargetLocked",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
34
174
  {
35
175
  "internalType": "NftId",
36
176
  "name": "nftId",
37
177
  "type": "uint96"
38
178
  }
39
179
  ],
40
- "name": "ErrorAlreadyLinked",
180
+ "name": "ErrorNftOwnableAlreadyLinked",
41
181
  "type": "error"
42
182
  },
43
183
  {
@@ -48,7 +188,12 @@
48
188
  "type": "address"
49
189
  }
50
190
  ],
51
- "name": "ErrorContractNotRegistered",
191
+ "name": "ErrorNftOwnableContractNotRegistered",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "ErrorNftOwnableInitialOwnerZero",
52
197
  "type": "error"
53
198
  },
54
199
  {
@@ -59,7 +204,7 @@
59
204
  "type": "address"
60
205
  }
61
206
  ],
62
- "name": "ErrorNotOwner",
207
+ "name": "ErrorNftOwnableNotOwner",
63
208
  "type": "error"
64
209
  },
65
210
  {
@@ -76,33 +221,49 @@
76
221
  {
77
222
  "inputs": [
78
223
  {
79
- "internalType": "address",
80
- "name": "registryAddress",
81
- "type": "address"
224
+ "internalType": "NftId",
225
+ "name": "poolNftId",
226
+ "type": "uint96"
82
227
  }
83
228
  ],
84
- "name": "ErrorRegisterableNotRegistry",
229
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
85
230
  "type": "error"
86
231
  },
87
232
  {
88
- "inputs": [],
89
- "name": "ErrorRegistryAddressZero",
233
+ "inputs": [
234
+ {
235
+ "internalType": "NftId",
236
+ "name": "bundlePoolNftId",
237
+ "type": "uint96"
238
+ },
239
+ {
240
+ "internalType": "NftId",
241
+ "name": "productPoolNftId",
242
+ "type": "uint96"
243
+ }
244
+ ],
245
+ "name": "ErrorPoolServiceBundlePoolMismatch",
90
246
  "type": "error"
91
247
  },
92
248
  {
93
249
  "inputs": [
94
250
  {
95
- "internalType": "address",
96
- "name": "registry",
97
- "type": "address"
251
+ "internalType": "Amount",
252
+ "name": "expectedAmount",
253
+ "type": "uint96"
254
+ },
255
+ {
256
+ "internalType": "Amount",
257
+ "name": "actualAmount",
258
+ "type": "uint96"
98
259
  }
99
260
  ],
100
- "name": "ErrorRegistryAlreadyInitialized",
261
+ "name": "ErrorPoolServiceInvalidTransferAmount",
101
262
  "type": "error"
102
263
  },
103
264
  {
104
265
  "inputs": [],
105
- "name": "ErrorRegistryNotInitialized",
266
+ "name": "ErrorServiceNotImplemented",
106
267
  "type": "error"
107
268
  },
108
269
  {
@@ -115,6 +276,19 @@
115
276
  "name": "NotInitializing",
116
277
  "type": "error"
117
278
  },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": false,
284
+ "internalType": "address",
285
+ "name": "authority",
286
+ "type": "address"
287
+ }
288
+ ],
289
+ "name": "AuthorityUpdated",
290
+ "type": "event"
291
+ },
118
292
  {
119
293
  "anonymous": false,
120
294
  "inputs": [
@@ -133,34 +307,103 @@
133
307
  "inputs": [
134
308
  {
135
309
  "indexed": false,
136
- "internalType": "Version",
137
- "name": "version",
138
- "type": "uint24"
310
+ "internalType": "NftId",
311
+ "name": "instanceNftId",
312
+ "type": "uint96"
139
313
  },
140
314
  {
141
315
  "indexed": false,
142
- "internalType": "address",
143
- "name": "implementation",
144
- "type": "address"
316
+ "internalType": "NftId",
317
+ "name": "poolNftId",
318
+ "type": "uint96"
145
319
  },
146
320
  {
147
321
  "indexed": false,
148
- "internalType": "address",
149
- "name": "activatedBy",
150
- "type": "address"
322
+ "internalType": "NftId",
323
+ "name": "bundleNftId",
324
+ "type": "uint96"
325
+ }
326
+ ],
327
+ "name": "LogPoolServiceBundleClosed",
328
+ "type": "event"
329
+ },
330
+ {
331
+ "anonymous": false,
332
+ "inputs": [
333
+ {
334
+ "indexed": false,
335
+ "internalType": "NftId",
336
+ "name": "instanceNftId",
337
+ "type": "uint96"
338
+ },
339
+ {
340
+ "indexed": false,
341
+ "internalType": "NftId",
342
+ "name": "poolNftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "NftId",
348
+ "name": "bundleNftId",
349
+ "type": "uint96"
350
+ }
351
+ ],
352
+ "name": "LogPoolServiceBundleCreated",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": false,
360
+ "internalType": "NftId",
361
+ "name": "poolNftId",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "RoleId",
367
+ "name": "bundleOwnerRole",
368
+ "type": "uint64"
369
+ }
370
+ ],
371
+ "name": "LogPoolServiceBundleOwnerRoleSet",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": false,
379
+ "internalType": "NftId",
380
+ "name": "poolNftId",
381
+ "type": "uint96"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "Amount",
386
+ "name": "previousMaxCapitalAmount",
387
+ "type": "uint96"
388
+ },
389
+ {
390
+ "indexed": false,
391
+ "internalType": "Amount",
392
+ "name": "currentMaxCapitalAmount",
393
+ "type": "uint96"
151
394
  }
152
395
  ],
153
- "name": "LogVersionableInitialized",
396
+ "name": "LogPoolServiceMaxCapitalAmountUpdated",
154
397
  "type": "event"
155
398
  },
156
399
  {
157
400
  "inputs": [],
158
- "name": "NAME",
401
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
159
402
  "outputs": [
160
403
  {
161
- "internalType": "string",
404
+ "internalType": "bytes32",
162
405
  "name": "",
163
- "type": "string"
406
+ "type": "bytes32"
164
407
  }
165
408
  ],
166
409
  "stateMutability": "view",
@@ -179,6 +422,32 @@
179
422
  "stateMutability": "view",
180
423
  "type": "function"
181
424
  },
425
+ {
426
+ "inputs": [],
427
+ "name": "authority",
428
+ "outputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "",
432
+ "type": "address"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [
440
+ {
441
+ "internalType": "NftId",
442
+ "name": "bundleNftId",
443
+ "type": "uint96"
444
+ }
445
+ ],
446
+ "name": "closeBundle",
447
+ "outputs": [],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
182
451
  {
183
452
  "inputs": [
184
453
  {
@@ -204,14 +473,14 @@
204
473
  "type": "tuple"
205
474
  },
206
475
  {
207
- "internalType": "uint256",
476
+ "internalType": "Amount",
208
477
  "name": "stakingAmount",
209
- "type": "uint256"
478
+ "type": "uint96"
210
479
  },
211
480
  {
212
- "internalType": "uint256",
481
+ "internalType": "Seconds",
213
482
  "name": "lifetime",
214
- "type": "uint256"
483
+ "type": "uint40"
215
484
  },
216
485
  {
217
486
  "internalType": "bytes",
@@ -232,15 +501,28 @@
232
501
  },
233
502
  {
234
503
  "inputs": [],
235
- "name": "getInitialInfo",
504
+ "name": "getDomain",
236
505
  "outputs": [
237
506
  {
238
- "components": [
239
- {
240
- "internalType": "NftId",
241
- "name": "nftId",
242
- "type": "uint96"
243
- },
507
+ "internalType": "ObjectType",
508
+ "name": "",
509
+ "type": "uint8"
510
+ }
511
+ ],
512
+ "stateMutability": "pure",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [],
517
+ "name": "getInitialInfo",
518
+ "outputs": [
519
+ {
520
+ "components": [
521
+ {
522
+ "internalType": "NftId",
523
+ "name": "nftId",
524
+ "type": "uint96"
525
+ },
244
526
  {
245
527
  "internalType": "NftId",
246
528
  "name": "parentNftId",
@@ -273,13 +555,8 @@
273
555
  }
274
556
  ],
275
557
  "internalType": "struct IRegistry.ObjectInfo",
276
- "name": "",
558
+ "name": "info",
277
559
  "type": "tuple"
278
- },
279
- {
280
- "internalType": "bytes",
281
- "name": "data",
282
- "type": "bytes"
283
560
  }
284
561
  ],
285
562
  "stateMutability": "view",
@@ -287,12 +564,12 @@
287
564
  },
288
565
  {
289
566
  "inputs": [],
290
- "name": "getInitializedVersion",
567
+ "name": "getInstanceService",
291
568
  "outputs": [
292
569
  {
293
- "internalType": "uint64",
570
+ "internalType": "contract InstanceService",
294
571
  "name": "",
295
- "type": "uint64"
572
+ "type": "address"
296
573
  }
297
574
  ],
298
575
  "stateMutability": "view",
@@ -300,12 +577,12 @@
300
577
  },
301
578
  {
302
579
  "inputs": [],
303
- "name": "getMajorVersion",
580
+ "name": "getNftId",
304
581
  "outputs": [
305
582
  {
306
- "internalType": "VersionPart",
307
- "name": "majorVersion",
308
- "type": "uint8"
583
+ "internalType": "NftId",
584
+ "name": "",
585
+ "type": "uint96"
309
586
  }
310
587
  ],
311
588
  "stateMutability": "view",
@@ -313,25 +590,25 @@
313
590
  },
314
591
  {
315
592
  "inputs": [],
316
- "name": "getName",
593
+ "name": "getOwner",
317
594
  "outputs": [
318
595
  {
319
- "internalType": "string",
320
- "name": "name",
321
- "type": "string"
596
+ "internalType": "address",
597
+ "name": "",
598
+ "type": "address"
322
599
  }
323
600
  ],
324
- "stateMutability": "pure",
601
+ "stateMutability": "view",
325
602
  "type": "function"
326
603
  },
327
604
  {
328
605
  "inputs": [],
329
- "name": "getNftId",
606
+ "name": "getRegistry",
330
607
  "outputs": [
331
608
  {
332
- "internalType": "NftId",
609
+ "internalType": "contract IRegistry",
333
610
  "name": "",
334
- "type": "uint96"
611
+ "type": "address"
335
612
  }
336
613
  ],
337
614
  "stateMutability": "view",
@@ -339,10 +616,10 @@
339
616
  },
340
617
  {
341
618
  "inputs": [],
342
- "name": "getOwner",
619
+ "name": "getRegistryService",
343
620
  "outputs": [
344
621
  {
345
- "internalType": "address",
622
+ "internalType": "contract IRegistryService",
346
623
  "name": "",
347
624
  "type": "address"
348
625
  }
@@ -352,25 +629,142 @@
352
629
  },
353
630
  {
354
631
  "inputs": [],
355
- "name": "getRegistry",
632
+ "name": "getVersion",
356
633
  "outputs": [
357
634
  {
358
- "internalType": "contract IRegistry",
635
+ "internalType": "Version",
359
636
  "name": "",
637
+ "type": "uint24"
638
+ }
639
+ ],
640
+ "stateMutability": "pure",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "inputs": [],
645
+ "name": "initializeERC165",
646
+ "outputs": [],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "address",
654
+ "name": "initialOwner",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "address",
659
+ "name": "registryAddress",
360
660
  "type": "address"
361
661
  }
362
662
  ],
363
- "stateMutability": "view",
663
+ "name": "initializeNftOwnable",
664
+ "outputs": [],
665
+ "stateMutability": "nonpayable",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "inputs": [
670
+ {
671
+ "internalType": "address",
672
+ "name": "registryAddress",
673
+ "type": "address"
674
+ },
675
+ {
676
+ "internalType": "NftId",
677
+ "name": "parentNftId",
678
+ "type": "uint96"
679
+ },
680
+ {
681
+ "internalType": "ObjectType",
682
+ "name": "objectType",
683
+ "type": "uint8"
684
+ },
685
+ {
686
+ "internalType": "bool",
687
+ "name": "isInterceptor",
688
+ "type": "bool"
689
+ },
690
+ {
691
+ "internalType": "address",
692
+ "name": "initialOwner",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "internalType": "bytes",
697
+ "name": "registryData",
698
+ "type": "bytes"
699
+ }
700
+ ],
701
+ "name": "initializeRegisterable",
702
+ "outputs": [],
703
+ "stateMutability": "nonpayable",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ {
709
+ "internalType": "address",
710
+ "name": "registryAddress",
711
+ "type": "address"
712
+ }
713
+ ],
714
+ "name": "initializeRegistryLinked",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "address",
723
+ "name": "registry",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "address",
728
+ "name": "authority",
729
+ "type": "address"
730
+ },
731
+ {
732
+ "internalType": "address",
733
+ "name": "initialOwner",
734
+ "type": "address"
735
+ }
736
+ ],
737
+ "name": "initializeService",
738
+ "outputs": [],
739
+ "stateMutability": "nonpayable",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [
744
+ {
745
+ "internalType": "address",
746
+ "name": "activatedBy",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "internalType": "bytes",
751
+ "name": "data",
752
+ "type": "bytes"
753
+ }
754
+ ],
755
+ "name": "initializeVersionable",
756
+ "outputs": [],
757
+ "stateMutability": "nonpayable",
364
758
  "type": "function"
365
759
  },
366
760
  {
367
761
  "inputs": [],
368
- "name": "getRegistryService",
762
+ "name": "isConsumingScheduledOp",
369
763
  "outputs": [
370
764
  {
371
- "internalType": "contract IRegistryService",
765
+ "internalType": "bytes4",
372
766
  "name": "",
373
- "type": "address"
767
+ "type": "bytes4"
374
768
  }
375
769
  ],
376
770
  "stateMutability": "view",
@@ -378,75 +772,461 @@
378
772
  },
379
773
  {
380
774
  "inputs": [],
381
- "name": "getVersion",
382
- "outputs": [
775
+ "name": "linkToRegisteredNftId",
776
+ "outputs": [],
777
+ "stateMutability": "nonpayable",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [
383
782
  {
384
- "internalType": "Version",
385
- "name": "",
386
- "type": "uint24"
783
+ "internalType": "contract IInstance",
784
+ "name": "instance",
785
+ "type": "address"
786
+ },
787
+ {
788
+ "internalType": "NftId",
789
+ "name": "productNftId",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "NftId",
794
+ "name": "applicationNftId",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "components": [
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "productNftId",
802
+ "type": "uint96"
803
+ },
804
+ {
805
+ "internalType": "NftId",
806
+ "name": "bundleNftId",
807
+ "type": "uint96"
808
+ },
809
+ {
810
+ "internalType": "ReferralId",
811
+ "name": "referralId",
812
+ "type": "bytes8"
813
+ },
814
+ {
815
+ "internalType": "RiskId",
816
+ "name": "riskId",
817
+ "type": "bytes8"
818
+ },
819
+ {
820
+ "internalType": "Amount",
821
+ "name": "sumInsuredAmount",
822
+ "type": "uint96"
823
+ },
824
+ {
825
+ "internalType": "Amount",
826
+ "name": "premiumAmount",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "internalType": "Amount",
831
+ "name": "premiumPaidAmount",
832
+ "type": "uint96"
833
+ },
834
+ {
835
+ "internalType": "Seconds",
836
+ "name": "lifetime",
837
+ "type": "uint40"
838
+ },
839
+ {
840
+ "internalType": "bytes",
841
+ "name": "applicationData",
842
+ "type": "bytes"
843
+ },
844
+ {
845
+ "internalType": "bytes",
846
+ "name": "policyData",
847
+ "type": "bytes"
848
+ },
849
+ {
850
+ "internalType": "uint16",
851
+ "name": "claimsCount",
852
+ "type": "uint16"
853
+ },
854
+ {
855
+ "internalType": "uint16",
856
+ "name": "openClaimsCount",
857
+ "type": "uint16"
858
+ },
859
+ {
860
+ "internalType": "Amount",
861
+ "name": "claimAmount",
862
+ "type": "uint96"
863
+ },
864
+ {
865
+ "internalType": "Amount",
866
+ "name": "payoutAmount",
867
+ "type": "uint96"
868
+ },
869
+ {
870
+ "internalType": "Timestamp",
871
+ "name": "activatedAt",
872
+ "type": "uint40"
873
+ },
874
+ {
875
+ "internalType": "Timestamp",
876
+ "name": "expiredAt",
877
+ "type": "uint40"
878
+ },
879
+ {
880
+ "internalType": "Timestamp",
881
+ "name": "closedAt",
882
+ "type": "uint40"
883
+ }
884
+ ],
885
+ "internalType": "struct IPolicy.PolicyInfo",
886
+ "name": "applicationInfo",
887
+ "type": "tuple"
888
+ },
889
+ {
890
+ "internalType": "Amount",
891
+ "name": "premiumAmount",
892
+ "type": "uint96"
893
+ }
894
+ ],
895
+ "name": "lockCollateral",
896
+ "outputs": [],
897
+ "stateMutability": "nonpayable",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [
902
+ {
903
+ "internalType": "NftId",
904
+ "name": "bundleNftId",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "components": [
909
+ {
910
+ "internalType": "uint256",
911
+ "name": "netPremiumAmount",
912
+ "type": "uint256"
913
+ },
914
+ {
915
+ "internalType": "uint256",
916
+ "name": "fullPremiumAmount",
917
+ "type": "uint256"
918
+ },
919
+ {
920
+ "internalType": "uint256",
921
+ "name": "premiumAmount",
922
+ "type": "uint256"
923
+ },
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "productFeeFixAmount",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "poolFeeFixAmount",
932
+ "type": "uint256"
933
+ },
934
+ {
935
+ "internalType": "uint256",
936
+ "name": "bundleFeeFixAmount",
937
+ "type": "uint256"
938
+ },
939
+ {
940
+ "internalType": "uint256",
941
+ "name": "distributionFeeFixAmount",
942
+ "type": "uint256"
943
+ },
944
+ {
945
+ "internalType": "uint256",
946
+ "name": "productFeeVarAmount",
947
+ "type": "uint256"
948
+ },
949
+ {
950
+ "internalType": "uint256",
951
+ "name": "poolFeeVarAmount",
952
+ "type": "uint256"
953
+ },
954
+ {
955
+ "internalType": "uint256",
956
+ "name": "bundleFeeVarAmount",
957
+ "type": "uint256"
958
+ },
959
+ {
960
+ "internalType": "uint256",
961
+ "name": "distributionFeeVarAmount",
962
+ "type": "uint256"
963
+ },
964
+ {
965
+ "internalType": "uint256",
966
+ "name": "distributionOwnerFeeFixAmount",
967
+ "type": "uint256"
968
+ },
969
+ {
970
+ "internalType": "uint256",
971
+ "name": "distributionOwnerFeeVarAmount",
972
+ "type": "uint256"
973
+ },
974
+ {
975
+ "internalType": "uint256",
976
+ "name": "commissionAmount",
977
+ "type": "uint256"
978
+ },
979
+ {
980
+ "internalType": "uint256",
981
+ "name": "discountAmount",
982
+ "type": "uint256"
983
+ }
984
+ ],
985
+ "internalType": "struct IPolicy.Premium",
986
+ "name": "premium",
987
+ "type": "tuple"
988
+ },
989
+ {
990
+ "internalType": "Amount",
991
+ "name": "actualAmountTransferred",
992
+ "type": "uint96"
993
+ }
994
+ ],
995
+ "name": "processSale",
996
+ "outputs": [],
997
+ "stateMutability": "nonpayable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "contract IInstance",
1004
+ "name": "instance",
1005
+ "type": "address"
1006
+ },
1007
+ {
1008
+ "internalType": "NftId",
1009
+ "name": "policyNftId",
1010
+ "type": "uint96"
1011
+ },
1012
+ {
1013
+ "components": [
1014
+ {
1015
+ "internalType": "NftId",
1016
+ "name": "productNftId",
1017
+ "type": "uint96"
1018
+ },
1019
+ {
1020
+ "internalType": "NftId",
1021
+ "name": "bundleNftId",
1022
+ "type": "uint96"
1023
+ },
1024
+ {
1025
+ "internalType": "ReferralId",
1026
+ "name": "referralId",
1027
+ "type": "bytes8"
1028
+ },
1029
+ {
1030
+ "internalType": "RiskId",
1031
+ "name": "riskId",
1032
+ "type": "bytes8"
1033
+ },
1034
+ {
1035
+ "internalType": "Amount",
1036
+ "name": "sumInsuredAmount",
1037
+ "type": "uint96"
1038
+ },
1039
+ {
1040
+ "internalType": "Amount",
1041
+ "name": "premiumAmount",
1042
+ "type": "uint96"
1043
+ },
1044
+ {
1045
+ "internalType": "Amount",
1046
+ "name": "premiumPaidAmount",
1047
+ "type": "uint96"
1048
+ },
1049
+ {
1050
+ "internalType": "Seconds",
1051
+ "name": "lifetime",
1052
+ "type": "uint40"
1053
+ },
1054
+ {
1055
+ "internalType": "bytes",
1056
+ "name": "applicationData",
1057
+ "type": "bytes"
1058
+ },
1059
+ {
1060
+ "internalType": "bytes",
1061
+ "name": "policyData",
1062
+ "type": "bytes"
1063
+ },
1064
+ {
1065
+ "internalType": "uint16",
1066
+ "name": "claimsCount",
1067
+ "type": "uint16"
1068
+ },
1069
+ {
1070
+ "internalType": "uint16",
1071
+ "name": "openClaimsCount",
1072
+ "type": "uint16"
1073
+ },
1074
+ {
1075
+ "internalType": "Amount",
1076
+ "name": "claimAmount",
1077
+ "type": "uint96"
1078
+ },
1079
+ {
1080
+ "internalType": "Amount",
1081
+ "name": "payoutAmount",
1082
+ "type": "uint96"
1083
+ },
1084
+ {
1085
+ "internalType": "Timestamp",
1086
+ "name": "activatedAt",
1087
+ "type": "uint40"
1088
+ },
1089
+ {
1090
+ "internalType": "Timestamp",
1091
+ "name": "expiredAt",
1092
+ "type": "uint40"
1093
+ },
1094
+ {
1095
+ "internalType": "Timestamp",
1096
+ "name": "closedAt",
1097
+ "type": "uint40"
1098
+ }
1099
+ ],
1100
+ "internalType": "struct IPolicy.PolicyInfo",
1101
+ "name": "policyInfo",
1102
+ "type": "tuple"
1103
+ },
1104
+ {
1105
+ "internalType": "Amount",
1106
+ "name": "payoutAmount",
1107
+ "type": "uint96"
387
1108
  }
388
1109
  ],
389
- "stateMutability": "pure",
1110
+ "name": "reduceCollateral",
1111
+ "outputs": [],
1112
+ "stateMutability": "nonpayable",
390
1113
  "type": "function"
391
1114
  },
392
1115
  {
393
1116
  "inputs": [
394
1117
  {
395
- "internalType": "uint256",
396
- "name": "idx",
397
- "type": "uint256"
1118
+ "internalType": "address",
1119
+ "name": "poolAddress",
1120
+ "type": "address"
398
1121
  }
399
1122
  ],
400
- "name": "getVersion",
1123
+ "name": "register",
401
1124
  "outputs": [
402
1125
  {
403
- "internalType": "Version",
404
- "name": "",
405
- "type": "uint24"
1126
+ "internalType": "NftId",
1127
+ "name": "poolNftId",
1128
+ "type": "uint96"
406
1129
  }
407
1130
  ],
408
- "stateMutability": "view",
1131
+ "stateMutability": "nonpayable",
409
1132
  "type": "function"
410
1133
  },
411
1134
  {
412
- "inputs": [],
413
- "name": "getVersionCount",
414
- "outputs": [
1135
+ "inputs": [
415
1136
  {
416
- "internalType": "uint256",
417
- "name": "",
418
- "type": "uint256"
1137
+ "internalType": "bytes4",
1138
+ "name": "interfaceId",
1139
+ "type": "bytes4"
419
1140
  }
420
1141
  ],
421
- "stateMutability": "view",
1142
+ "name": "registerInterface",
1143
+ "outputs": [],
1144
+ "stateMutability": "nonpayable",
422
1145
  "type": "function"
423
1146
  },
424
1147
  {
425
1148
  "inputs": [
426
1149
  {
427
- "internalType": "Version",
428
- "name": "_version",
429
- "type": "uint24"
430
- }
431
- ],
432
- "name": "getVersionInfo",
433
- "outputs": [
1150
+ "internalType": "contract IInstance",
1151
+ "name": "instance",
1152
+ "type": "address"
1153
+ },
1154
+ {
1155
+ "internalType": "NftId",
1156
+ "name": "policyNftId",
1157
+ "type": "uint96"
1158
+ },
434
1159
  {
435
1160
  "components": [
436
1161
  {
437
- "internalType": "Version",
438
- "name": "version",
439
- "type": "uint24"
1162
+ "internalType": "NftId",
1163
+ "name": "productNftId",
1164
+ "type": "uint96"
440
1165
  },
441
1166
  {
442
- "internalType": "address",
443
- "name": "implementation",
444
- "type": "address"
1167
+ "internalType": "NftId",
1168
+ "name": "bundleNftId",
1169
+ "type": "uint96"
445
1170
  },
446
1171
  {
447
- "internalType": "address",
448
- "name": "activatedBy",
449
- "type": "address"
1172
+ "internalType": "ReferralId",
1173
+ "name": "referralId",
1174
+ "type": "bytes8"
1175
+ },
1176
+ {
1177
+ "internalType": "RiskId",
1178
+ "name": "riskId",
1179
+ "type": "bytes8"
1180
+ },
1181
+ {
1182
+ "internalType": "Amount",
1183
+ "name": "sumInsuredAmount",
1184
+ "type": "uint96"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "premiumAmount",
1189
+ "type": "uint96"
1190
+ },
1191
+ {
1192
+ "internalType": "Amount",
1193
+ "name": "premiumPaidAmount",
1194
+ "type": "uint96"
1195
+ },
1196
+ {
1197
+ "internalType": "Seconds",
1198
+ "name": "lifetime",
1199
+ "type": "uint40"
1200
+ },
1201
+ {
1202
+ "internalType": "bytes",
1203
+ "name": "applicationData",
1204
+ "type": "bytes"
1205
+ },
1206
+ {
1207
+ "internalType": "bytes",
1208
+ "name": "policyData",
1209
+ "type": "bytes"
1210
+ },
1211
+ {
1212
+ "internalType": "uint16",
1213
+ "name": "claimsCount",
1214
+ "type": "uint16"
1215
+ },
1216
+ {
1217
+ "internalType": "uint16",
1218
+ "name": "openClaimsCount",
1219
+ "type": "uint16"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "claimAmount",
1224
+ "type": "uint96"
1225
+ },
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "payoutAmount",
1229
+ "type": "uint96"
450
1230
  },
451
1231
  {
452
1232
  "internalType": "Timestamp",
@@ -454,38 +1234,22 @@
454
1234
  "type": "uint40"
455
1235
  },
456
1236
  {
457
- "internalType": "Blocknumber",
458
- "name": "activatedIn",
459
- "type": "uint32"
1237
+ "internalType": "Timestamp",
1238
+ "name": "expiredAt",
1239
+ "type": "uint40"
1240
+ },
1241
+ {
1242
+ "internalType": "Timestamp",
1243
+ "name": "closedAt",
1244
+ "type": "uint40"
460
1245
  }
461
1246
  ],
462
- "internalType": "struct IVersionable.VersionInfo",
463
- "name": "",
1247
+ "internalType": "struct IPolicy.PolicyInfo",
1248
+ "name": "policyInfo",
464
1249
  "type": "tuple"
465
1250
  }
466
1251
  ],
467
- "stateMutability": "view",
468
- "type": "function"
469
- },
470
- {
471
- "inputs": [
472
- {
473
- "internalType": "address",
474
- "name": "implementation",
475
- "type": "address"
476
- },
477
- {
478
- "internalType": "address",
479
- "name": "activatedBy",
480
- "type": "address"
481
- },
482
- {
483
- "internalType": "bytes",
484
- "name": "data",
485
- "type": "bytes"
486
- }
487
- ],
488
- "name": "initialize",
1252
+ "name": "releaseCollateral",
489
1253
  "outputs": [],
490
1254
  "stateMutability": "nonpayable",
491
1255
  "type": "function"
@@ -493,25 +1257,12 @@
493
1257
  {
494
1258
  "inputs": [
495
1259
  {
496
- "internalType": "Version",
497
- "name": "_version",
498
- "type": "uint24"
499
- }
500
- ],
501
- "name": "isInitialized",
502
- "outputs": [
503
- {
504
- "internalType": "bool",
505
- "name": "",
506
- "type": "bool"
1260
+ "internalType": "address",
1261
+ "name": "newAuthority",
1262
+ "type": "address"
507
1263
  }
508
1264
  ],
509
- "stateMutability": "view",
510
- "type": "function"
511
- },
512
- {
513
- "inputs": [],
514
- "name": "linkToRegisteredNftId",
1265
+ "name": "setAuthority",
515
1266
  "outputs": [],
516
1267
  "stateMutability": "nonpayable",
517
1268
  "type": "function"
@@ -519,29 +1270,12 @@
519
1270
  {
520
1271
  "inputs": [
521
1272
  {
522
- "internalType": "NftId",
523
- "name": "bundleNftId",
524
- "type": "uint96"
525
- },
526
- {
527
- "components": [
528
- {
529
- "internalType": "UFixed",
530
- "name": "fractionalFee",
531
- "type": "uint256"
532
- },
533
- {
534
- "internalType": "uint256",
535
- "name": "fixedFee",
536
- "type": "uint256"
537
- }
538
- ],
539
- "internalType": "struct Fee",
540
- "name": "fee",
541
- "type": "tuple"
1273
+ "internalType": "RoleId",
1274
+ "name": "bundleOwnerRole",
1275
+ "type": "uint64"
542
1276
  }
543
1277
  ],
544
- "name": "setBundleFee",
1278
+ "name": "setBundleOwnerRole",
545
1279
  "outputs": [],
546
1280
  "stateMutability": "nonpayable",
547
1281
  "type": "function"
@@ -605,6 +1339,19 @@
605
1339
  "stateMutability": "nonpayable",
606
1340
  "type": "function"
607
1341
  },
1342
+ {
1343
+ "inputs": [
1344
+ {
1345
+ "internalType": "Amount",
1346
+ "name": "maxCapitalAmount",
1347
+ "type": "uint96"
1348
+ }
1349
+ ],
1350
+ "name": "setMaxCapitalAmount",
1351
+ "outputs": [],
1352
+ "stateMutability": "nonpayable",
1353
+ "type": "function"
1354
+ },
608
1355
  {
609
1356
  "inputs": [
610
1357
  {
@@ -626,36 +1373,78 @@
626
1373
  },
627
1374
  {
628
1375
  "inputs": [
629
- {
630
- "internalType": "address",
631
- "name": "implementation",
632
- "type": "address"
633
- },
634
- {
635
- "internalType": "address",
636
- "name": "activatedBy",
637
- "type": "address"
638
- },
639
1376
  {
640
1377
  "internalType": "bytes",
641
1378
  "name": "data",
642
1379
  "type": "bytes"
643
1380
  }
644
1381
  ],
645
- "name": "upgrade",
1382
+ "name": "upgradeVersionable",
646
1383
  "outputs": [],
647
1384
  "stateMutability": "nonpayable",
648
1385
  "type": "function"
649
1386
  }
650
1387
  ],
651
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162003051380380620030518339810160408190526200003491620005e4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055828282600280546001600160a01b031916331790556200008f620000e4565b6200009c83838362000198565b505050620000b66209196b60e61b620000bf60201b60201c565b5050506200087e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001355760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001955780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001c360408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b620001cd62000246565b604051602001620001e09291906200063c565b60408051808303601f190181529190529050620002048484602860008686620002d3565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b600062000252620003a4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ce919062000696565b905090565b620002df82876200042c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200035e838262000767565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000406573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ce919062000833565b600280546001600160a01b0319166001600160a01b038416179055620004528162000456565b5050565b6001546001600160a01b031615620004955760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b038116620004bd5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620004f55760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200048c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000572575060408051601f3d908101601f191682019092526200056f918101906200085a565b60015b6200059c5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200048c565b80620004525760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200048c565b80516001600160a01b0381168114620005df57600080fd5b919050565b600080600060608486031215620005fa57600080fd5b6200060584620005c7565b60208501519093506001600160601b03811681146200062357600080fd5b91506200063360408501620005c7565b90509250925092565b604081526000835180604084015260005b818110156200066c57602081870181015160608684010152016200064d565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b600060208284031215620006a957600080fd5b815160ff81168114620006bb57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006ed57607f821691505b6020821081036200070e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200076257600081815260208120601f850160051c810160208610156200073d5750805b601f850160051c820191505b818110156200075e5782815560010162000749565b5050505b505050565b81516001600160401b03811115620007835762000783620006c2565b6200079b81620007948454620006d8565b8462000714565b602080601f831160018114620007d35760008415620007ba5750858301515b600019600386901b1c1916600185901b1785556200075e565b600085815260208120601f198616915b828110156200080457888601518255948401946001909101908401620007e3565b5085821015620008235787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200084657600080fd5b815162ffffff81168114620006bb57600080fd5b6000602082840312156200086d57600080fd5b81518015158114620006bb57600080fd5b6127c3806200088e6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806382678766116100b8578063b3c650151161007c578063b3c6501514610439578063b88da75914610459578063caf4e3d41461046c578063cde749f414610474578063cf7a1d771461048e578063e3458d53146104a157600080fd5b806382678766146103ba578063893d20e8146103cd578063946dfcfe146103d5578063a3f4df7e146103fc578063a745e3df1461042657600080fd5b80631eff4b221161010a5780631eff4b22146101f55780634d459c901461022a5780634f421333146103435780635ab1bd5314610356578063636450f51461037b578063644c45e01461038e57600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101bb57806317d7de7c146101c5575b600080fd5b610174610155366004611c3d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101916104b4565b60405162ffffff9091168152602001610180565b6101ad61053e565b604051610180929190611d37565b6101c36106b2565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101809190611d65565b61021c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6102e6610238366004611d8c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061276e83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b610174610351366004611d8c565b6108d4565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b6101c3610389366004611ec4565b610987565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610180565b6101c36103c8366004611efa565b610bb6565b610363610d38565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461021c565b6101e86040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6101c3610434366004611f7c565b610e51565b610441610fab565b6040516001600160401b039091168152602001610180565b610191610467366004612020565b610fcc565b61036361101d565b61047c6110d8565b60405160ff9091168152602001610180565b6101c361049c366004611f7c565b61115b565b6103a26104af366004612039565b611264565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610515573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053991906120e1565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105b3600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105fb610d38565b6001600160a01b03168152602001826001018054610618906120fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610644906120fe565b80156106915780601f1061066657610100808354040283529160200191610691565b820191906000526020600020905b81548152906001019060200180831161067457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610714573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610738919061214d565b1561077f576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107a85760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610815919061214d565b61083d576040516372657a5160e01b81526001600160a01b0382166004820152602401610776565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190612173565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061276e83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561095c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109809190612190565b1192915050565b600080610994608c611460565b604051634793b4ab60e01b81526001600160601b038716600482015291935091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156109e9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a119190810190612233565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a93919061214d565b610adf5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610776565b825181516001600160601b03918216911614610b485760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610776565b60208101849052604051637e8a1e3b60e11b81526001600160a01b0383169063fd143c7690610b7d9088908590600401612304565b600060405180830381600087803b158015610b9757600080fd5b505af1158015610bab573d6000803e3d6000fd5b505050505050505050565b600080610bc3608c611460565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa158015610c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3f9190612173565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906123be565b60a0810188905260c0810187905260e081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90610cfd908590859060040161247d565b600060405180830381600087803b158015610d1757600080fd5b505af1158015610d2b573d6000803e3d6000fd5b5050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc1919061214d565b15610e4157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610e1d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105399190612564565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e736104b4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610eb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed79190612581565b60008051602061274e8339815191528054600160401b900460ff1680610f0a575080546001600160401b03808416911610155b15610f285760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f538585611757565b610f5c83611992565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061053960008051602061274e833981519152546001600160401b031690565b600060008051602061276e8339815191526001018281548110610ff157610ff16125aa565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806110326001546001600160a01b031690565b6001600160a01b031663a3bcd81d6110486110d8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d29190612564565b92915050565b60006110e26104b4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611137573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053991906125da565b60008051602061274e8339815191528054600160401b810460ff1615906001600160401b031660008115801561118e5750825b90506000826001600160401b031660011480156111aa5750303b155b9050811580156111b8575080155b156111d65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561120057845460ff60401b1916600160401b1785555b61120a8888611757565b6112148787611992565b831561125a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008080611272608c611460565b8151919350915061128161101d565b6001600160a01b031663c2bf08c86040518060e001604052806112a2600090565b6001600160601b03168152602001846001600160601b031681526020016112c760dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161132691906125f7565b6020604051808303816000875af1158015611345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113699190612173565b6040516346aea9b760e11b81529094506001600160a01b03831690638d5d536e906113a490879085908e908e908e908e908e9060040161260a565b600060405180830381600087803b1580156113be57600080fd5b505af11580156113d2573d6000803e3d6000fd5b5050604051639845743760e01b81526001600160601b03808816600483015284166024820152604481018b90526001600160a01b038516925063984574379150606401600060405180830381600087803b15801561142f57600080fd5b505af1158015611443573d6000803e3d6000fd5b505050506114538282868b61199a565b5050509695505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b0316604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156114ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115129190612173565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561156d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611591919061214d565b6115dd5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610776565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611638573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611660919081019061267b565b925061167683604001518560ff90811691161490565b6116b85760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610776565b60006116cc6001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611721573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611749919081019061267b565b608001519395939450505050565b61175f611c04565b60008051602061276e833981519152600061178f60008051602061274e833981519152546001600160401b031690565b9050600061179b6104b4565b9050816001600160401b03166001036117c85760028301805462ffffff191662ffffff8316179055611816565b600283015462ffffff908116908216116118165760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610776565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161188a4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f9c9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611c04565b8015611bfe57604051639ae31ff560e01b81526001600160601b03841660048201526000906001600160a01b03861690639ae31ff590602401602060405180830381865afa1580156119f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a149190612173565b60405163a310e2a360e01b81526001600160601b03821660048201529091506000906001600160a01b0387169063a310e2a390602401602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b9190612564565b90506000611aa16001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611af0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b149190612564565b604051630d48c43b60e11b81526001600160601b03881660048201529091506000906001600160a01b03891690631a91887690602401602060405180830381865afa158015611b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8b9190612564565b6040516317d5759960e31b81526001600160a01b0384811660048301528083166024830152604482018890529192509084169063beabacc890606401600060405180830381600087803b158015611be157600080fd5b505af1158015611bf5573d6000803e3d6000fd5b50505050505050505b50505050565b60008051602061274e83398151915254600160401b900460ff16611c3b57604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611c4f57600080fd5b81356001600160e01b031981168114611c6757600080fd5b9392505050565b60005b83811015611c89578181015183820152602001611c71565b50506000910152565b60008151808452611caa816020860160208601611c6e565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152611d2f60e0850182611c92565b949350505050565b604081526000611d4a6040830185611cbe565b8281036020840152611d5c8185611c92565b95945050505050565b602081526000611c676020830184611c92565b62ffffff81168114611d8957600080fd5b50565b600060208284031215611d9e57600080fd5b8135611c6781611d78565b6001600160601b0381168114611d8957600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611df657611df6611dbe565b60405290565b60405161010081016001600160401b0381118282101715611df657611df6611dbe565b60405161012081016001600160401b0381118282101715611df657611df6611dbe565b60405160e081016001600160401b0381118282101715611df657611df6611dbe565b604051601f8201601f191681016001600160401b0381118282101715611e8c57611e8c611dbe565b604052919050565b600060408284031215611ea657600080fd5b611eae611dd4565b9050813581526020820135602082015292915050565b60008060608385031215611ed757600080fd5b8235611ee281611da9565b9150611ef18460208501611e94565b90509250929050565b600080600060c08486031215611f0f57600080fd5b611f198585611e94565b9250611f288560408601611e94565b9150611f378560808601611e94565b90509250925092565b6001600160a01b0381168114611d8957600080fd5b60006001600160401b03821115611f6e57611f6e611dbe565b50601f01601f191660200190565b600080600060608486031215611f9157600080fd5b8335611f9c81611f40565b92506020840135611fac81611f40565b915060408401356001600160401b03811115611fc757600080fd5b8401601f81018613611fd857600080fd5b8035611feb611fe682611f55565b611e64565b81815287602083850101111561200057600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561203257600080fd5b5035919050565b60008060008060008060c0878903121561205257600080fd5b863561205d81611f40565b955061206c8860208901611e94565b9450606087013593506080870135925060a08701356001600160401b038082111561209657600080fd5b818901915089601f8301126120aa57600080fd5b8135818111156120b957600080fd5b8a60208285010111156120cb57600080fd5b6020830194508093505050509295509295509295565b6000602082840312156120f357600080fd5b8151611c6781611d78565b600181811c9082168061211257607f821691505b60208210810361213257634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461214857600080fd5b919050565b60006020828403121561215f57600080fd5b611c6782612138565b805161214881611da9565b60006020828403121561218557600080fd5b8151611c6781611da9565b6000602082840312156121a257600080fd5b5051919050565b6000604082840312156121bb57600080fd5b6121c3611dd4565b9050815181526020820151602082015292915050565b600082601f8301126121ea57600080fd5b81516121f8611fe682611f55565b81815284602083860101111561220d57600080fd5b611d2f826020830160208701611c6e565b805164ffffffffff8116811461214857600080fd5b60006020828403121561224557600080fd5b81516001600160401b038082111561225c57600080fd5b90830190610120828603121561227157600080fd5b612279611dfc565b61228283612168565b815261229186602085016121a9565b60208201526060830151828111156122a857600080fd5b6122b4878286016121d9565b6040830152506080830151606082015260a0830151608082015260c083015160a08201526122e460e0840161221e565b60c08201526122f6610100840161221e565b60e082015295945050505050565b60006001600160601b03808516835260406020840152808451166040840152506020830151612340606084018280518252602090810151910152565b5060408301516101208060a085015261235d610160850183611c92565b9150606085015160c0850152608085015160e085015260a085015161010085015260c08501516123958286018264ffffffffff169052565b505060e084015164ffffffffff811661014085015250949350505050565b805161214881611f40565b60006101e082840312156123d157600080fd5b6123d9611e1f565b6123e283612168565b81526123f060208401612168565b6020820152612401604084016123b3565b604082015261241384606085016121a9565b60608201526124258460a085016121a9565b60808201526124378460e085016121a9565b60a082015261244a8461012085016121a9565b60c082015261245d8461016085016121a9565b60e0820152612470846101a085016121a9565b6101008201529392505050565b6001600160601b0383811682528251166020808301919091528201516102008201906124b460408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006125168185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b60006020828403121561257657600080fd5b8151611c6781611f40565b60006020828403121561259357600080fd5b81516001600160401b0381168114611c6757600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff81168114611d8957600080fd5b8051612148816125c0565b6000602082840312156125ec57600080fd5b8151611c67816125c0565b602081526000611c676020830184611cbe565b6001600160601b038881168252871660208201526000612637604083018880518252602090810151910152565b8560808301528460a083015260e060c08301528260e08301526101008385828501376000838501820152601f909301601f1916909101909101979650505050505050565b60006020828403121561268d57600080fd5b81516001600160401b03808211156126a457600080fd5b9083019060e082860312156126b857600080fd5b6126c0611e42565b6126c983612168565b81526126d760208401612168565b60208201526126e8604084016125cf565b60408201526126f960608401612138565b606082015261270a608084016123b3565b608082015261271b60a084016123b3565b60a082015260c08301518281111561273257600080fd5b61273e878286016121d9565b60c0830152509594505050505056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122007bffd4b6bf50065d36e0fb587494fcdfb4eb8dcc2c103d4ae196be2a37aa95164736f6c63430008140033",
652
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c806382678766116100b8578063b3c650151161007c578063b3c6501514610439578063b88da75914610459578063caf4e3d41461046c578063cde749f414610474578063cf7a1d771461048e578063e3458d53146104a157600080fd5b806382678766146103ba578063893d20e8146103cd578063946dfcfe146103d5578063a3f4df7e146103fc578063a745e3df1461042657600080fd5b80631eff4b221161010a5780631eff4b22146101f55780634d459c901461022a5780634f421333146103435780635ab1bd5314610356578063636450f51461037b578063644c45e01461038e57600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101bb57806317d7de7c146101c5575b600080fd5b610174610155366004611c3d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101916104b4565b60405162ffffff9091168152602001610180565b6101ad61053e565b604051610180929190611d37565b6101c36106b2565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101809190611d65565b61021c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6102e6610238366004611d8c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061276e83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b610174610351366004611d8c565b6108d4565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b6101c3610389366004611ec4565b610987565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610180565b6101c36103c8366004611efa565b610bb6565b610363610d38565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461021c565b6101e86040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6101c3610434366004611f7c565b610e51565b610441610fab565b6040516001600160401b039091168152602001610180565b610191610467366004612020565b610fcc565b61036361101d565b61047c6110d8565b60405160ff9091168152602001610180565b6101c361049c366004611f7c565b61115b565b6103a26104af366004612039565b611264565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610515573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053991906120e1565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105b3600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105fb610d38565b6001600160a01b03168152602001826001018054610618906120fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610644906120fe565b80156106915780601f1061066657610100808354040283529160200191610691565b820191906000526020600020905b81548152906001019060200180831161067457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610714573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610738919061214d565b1561077f576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107a85760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610815919061214d565b61083d576040516372657a5160e01b81526001600160a01b0382166004820152602401610776565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190612173565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061276e83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561095c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109809190612190565b1192915050565b600080610994608c611460565b604051634793b4ab60e01b81526001600160601b038716600482015291935091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156109e9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a119190810190612233565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a93919061214d565b610adf5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610776565b825181516001600160601b03918216911614610b485760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610776565b60208101849052604051637e8a1e3b60e11b81526001600160a01b0383169063fd143c7690610b7d9088908590600401612304565b600060405180830381600087803b158015610b9757600080fd5b505af1158015610bab573d6000803e3d6000fd5b505050505050505050565b600080610bc3608c611460565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa158015610c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3f9190612173565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906123be565b60a0810188905260c0810187905260e081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90610cfd908590859060040161247d565b600060405180830381600087803b158015610d1757600080fd5b505af1158015610d2b573d6000803e3d6000fd5b5050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc1919061214d565b15610e4157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610e1d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105399190612564565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e736104b4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610eb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed79190612581565b60008051602061274e8339815191528054600160401b900460ff1680610f0a575080546001600160401b03808416911610155b15610f285760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f538585611757565b610f5c83611992565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061053960008051602061274e833981519152546001600160401b031690565b600060008051602061276e8339815191526001018281548110610ff157610ff16125aa565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806110326001546001600160a01b031690565b6001600160a01b031663a3bcd81d6110486110d8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d29190612564565b92915050565b60006110e26104b4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611137573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053991906125da565b60008051602061274e8339815191528054600160401b810460ff1615906001600160401b031660008115801561118e5750825b90506000826001600160401b031660011480156111aa5750303b155b9050811580156111b8575080155b156111d65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561120057845460ff60401b1916600160401b1785555b61120a8888611757565b6112148787611992565b831561125a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008080611272608c611460565b8151919350915061128161101d565b6001600160a01b031663c2bf08c86040518060e001604052806112a2600090565b6001600160601b03168152602001846001600160601b031681526020016112c760dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161132691906125f7565b6020604051808303816000875af1158015611345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113699190612173565b6040516346aea9b760e11b81529094506001600160a01b03831690638d5d536e906113a490879085908e908e908e908e908e9060040161260a565b600060405180830381600087803b1580156113be57600080fd5b505af11580156113d2573d6000803e3d6000fd5b5050604051639845743760e01b81526001600160601b03808816600483015284166024820152604481018b90526001600160a01b038516925063984574379150606401600060405180830381600087803b15801561142f57600080fd5b505af1158015611443573d6000803e3d6000fd5b505050506114538282868b61199a565b5050509695505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b0316604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156114ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115129190612173565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561156d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611591919061214d565b6115dd5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610776565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611638573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611660919081019061267b565b925061167683604001518560ff90811691161490565b6116b85760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610776565b60006116cc6001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611721573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611749919081019061267b565b608001519395939450505050565b61175f611c04565b60008051602061276e833981519152600061178f60008051602061274e833981519152546001600160401b031690565b9050600061179b6104b4565b9050816001600160401b03166001036117c85760028301805462ffffff191662ffffff8316179055611816565b600283015462ffffff908116908216116118165760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610776565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161188a4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f9c9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611c04565b8015611bfe57604051639ae31ff560e01b81526001600160601b03841660048201526000906001600160a01b03861690639ae31ff590602401602060405180830381865afa1580156119f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a149190612173565b60405163a310e2a360e01b81526001600160601b03821660048201529091506000906001600160a01b0387169063a310e2a390602401602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b9190612564565b90506000611aa16001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611af0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b149190612564565b604051630d48c43b60e11b81526001600160601b03881660048201529091506000906001600160a01b03891690631a91887690602401602060405180830381865afa158015611b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8b9190612564565b6040516317d5759960e31b81526001600160a01b0384811660048301528083166024830152604482018890529192509084169063beabacc890606401600060405180830381600087803b158015611be157600080fd5b505af1158015611bf5573d6000803e3d6000fd5b50505050505050505b50505050565b60008051602061274e83398151915254600160401b900460ff16611c3b57604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611c4f57600080fd5b81356001600160e01b031981168114611c6757600080fd5b9392505050565b60005b83811015611c89578181015183820152602001611c71565b50506000910152565b60008151808452611caa816020860160208601611c6e565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152611d2f60e0850182611c92565b949350505050565b604081526000611d4a6040830185611cbe565b8281036020840152611d5c8185611c92565b95945050505050565b602081526000611c676020830184611c92565b62ffffff81168114611d8957600080fd5b50565b600060208284031215611d9e57600080fd5b8135611c6781611d78565b6001600160601b0381168114611d8957600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611df657611df6611dbe565b60405290565b60405161010081016001600160401b0381118282101715611df657611df6611dbe565b60405161012081016001600160401b0381118282101715611df657611df6611dbe565b60405160e081016001600160401b0381118282101715611df657611df6611dbe565b604051601f8201601f191681016001600160401b0381118282101715611e8c57611e8c611dbe565b604052919050565b600060408284031215611ea657600080fd5b611eae611dd4565b9050813581526020820135602082015292915050565b60008060608385031215611ed757600080fd5b8235611ee281611da9565b9150611ef18460208501611e94565b90509250929050565b600080600060c08486031215611f0f57600080fd5b611f198585611e94565b9250611f288560408601611e94565b9150611f378560808601611e94565b90509250925092565b6001600160a01b0381168114611d8957600080fd5b60006001600160401b03821115611f6e57611f6e611dbe565b50601f01601f191660200190565b600080600060608486031215611f9157600080fd5b8335611f9c81611f40565b92506020840135611fac81611f40565b915060408401356001600160401b03811115611fc757600080fd5b8401601f81018613611fd857600080fd5b8035611feb611fe682611f55565b611e64565b81815287602083850101111561200057600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561203257600080fd5b5035919050565b60008060008060008060c0878903121561205257600080fd5b863561205d81611f40565b955061206c8860208901611e94565b9450606087013593506080870135925060a08701356001600160401b038082111561209657600080fd5b818901915089601f8301126120aa57600080fd5b8135818111156120b957600080fd5b8a60208285010111156120cb57600080fd5b6020830194508093505050509295509295509295565b6000602082840312156120f357600080fd5b8151611c6781611d78565b600181811c9082168061211257607f821691505b60208210810361213257634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461214857600080fd5b919050565b60006020828403121561215f57600080fd5b611c6782612138565b805161214881611da9565b60006020828403121561218557600080fd5b8151611c6781611da9565b6000602082840312156121a257600080fd5b5051919050565b6000604082840312156121bb57600080fd5b6121c3611dd4565b9050815181526020820151602082015292915050565b600082601f8301126121ea57600080fd5b81516121f8611fe682611f55565b81815284602083860101111561220d57600080fd5b611d2f826020830160208701611c6e565b805164ffffffffff8116811461214857600080fd5b60006020828403121561224557600080fd5b81516001600160401b038082111561225c57600080fd5b90830190610120828603121561227157600080fd5b612279611dfc565b61228283612168565b815261229186602085016121a9565b60208201526060830151828111156122a857600080fd5b6122b4878286016121d9565b6040830152506080830151606082015260a0830151608082015260c083015160a08201526122e460e0840161221e565b60c08201526122f6610100840161221e565b60e082015295945050505050565b60006001600160601b03808516835260406020840152808451166040840152506020830151612340606084018280518252602090810151910152565b5060408301516101208060a085015261235d610160850183611c92565b9150606085015160c0850152608085015160e085015260a085015161010085015260c08501516123958286018264ffffffffff169052565b505060e084015164ffffffffff811661014085015250949350505050565b805161214881611f40565b60006101e082840312156123d157600080fd5b6123d9611e1f565b6123e283612168565b81526123f060208401612168565b6020820152612401604084016123b3565b604082015261241384606085016121a9565b60608201526124258460a085016121a9565b60808201526124378460e085016121a9565b60a082015261244a8461012085016121a9565b60c082015261245d8461016085016121a9565b60e0820152612470846101a085016121a9565b6101008201529392505050565b6001600160601b0383811682528251166020808301919091528201516102008201906124b460408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006125168185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b60006020828403121561257657600080fd5b8151611c6781611f40565b60006020828403121561259357600080fd5b81516001600160401b0381168114611c6757600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff81168114611d8957600080fd5b8051612148816125c0565b6000602082840312156125ec57600080fd5b8151611c67816125c0565b602081526000611c676020830184611cbe565b6001600160601b038881168252871660208201526000612637604083018880518252602090810151910152565b8560808301528460a083015260e060c08301528260e08301526101008385828501376000838501820152601f909301601f1916909101909101979650505050505050565b60006020828403121561268d57600080fd5b81516001600160401b03808211156126a457600080fd5b9083019060e082860312156126b857600080fd5b6126c0611e42565b6126c983612168565b81526126d760208401612168565b60208201526126e8604084016125cf565b60408201526126f960608401612138565b606082015261270a608084016123b3565b608082015261271b60a084016123b3565b60a082015260c08301518281111561273257600080fd5b61273e878286016121d9565b60c0830152509594505050505056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122007bffd4b6bf50065d36e0fb587494fcdfb4eb8dcc2c103d4ae196be2a37aa95164736f6c63430008140033",
1388
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615d8c80620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f7c34ee0146200054c578063fce06ca8146200056357600080fd5b8063a8de511714620004c3578063ada9652e14620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063991cbfb31462000495578063a3c2605214620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f457600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462004059565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b604051620002669190620040d9565b620002b162000734565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462004059565b62000949565b620002b162000312366004620043a1565b62000978565b620002b16200032936600462004447565b62000a23565b620002b162000b7b565b620002b16200034a3660046200466d565b62000bc3565b620003676200036136600462004702565b62000fc5565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004722565b62001563565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005cf7833981519152546001600160601b031662000367565b620002b1620003ee36600462004777565b6200166b565b620002b16200040536600462004702565b620018dc565b620003676200041c366004620047ca565b620019f5565b620002b16200043336600462004702565b62001c67565b620002b16200044a36600462004891565b62001d09565b620003a462001f3a565b620002b16200046b366004620048de565b62002079565b6200047b620022cd565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004930565b62002308565b620002b1620004bd36600462004a45565b62002aa9565b620002b1620004d436600462004a65565b62002d6b565b620002db60008051602062005cf783398151915281565b604051608c815260200162000266565b60008051602062005d17833981519152546001600160a01b0316620003a4565b620003a462002e61565b620003a462002e6f565b620002b16200054636600462004777565b62002e7d565b620002b16200055d36600462004ace565b62002fb3565b620002b16200057436600462004b0c565b62003032565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004b8a565b905090565b620006116200400d565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016200068862001f3a565b6001600160a01b03168152602001826001018054620006a79062004bb1565b80601f0160208091040260200160405190810160405280929190818152602001828054620006d59062004bb1565b8015620007265780601f10620006fa5761010080835404028352916020019162000726565b820191906000526020600020905b8154815290600101906020018083116200070857829003601f168201915b505050505081525091505090565b600060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007cb919062004bfa565b15620007fd5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008116001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000880919062004bfa565b620008aa5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620007f4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620008ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000925919062004c27565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b620009536200309d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009826200309d565b6200098e828762002fb3565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a19838262004c99565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a476200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000a88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000aae919062004d72565b60008051602062005d378339815191528054600160401b900460ff168062000ae3575080546001600160401b03808416911610155b1562000b025760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b2e83620030d8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000b856200309d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c2a919062004d92565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000c7f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ca5919062004df2565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000d03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d2d919081019062004f06565b905062000d3f816000015184620030e2565b1562000d75578051604051630a49ea2360e01b81526001600160601b0391821660048201529084166024820152604401620007f4565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dc6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000df091908101906200501a565b905060008160c0015180602001905181019062000e0e919062005114565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000e8857600080fd5b505af115801562000e9d573d6000803e3d6000fd5b505050508260e001511562000fb657600062000ec16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f11573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f3b91908101906200522e565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000f80959493929190620052df565b600060405180830381600087803b15801562000f9b57600080fd5b505af115801562000fb0573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008080808062000fe286608c62000fdc620030f9565b62003173565b9296509094509250905085600062000ff962002e61565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af11580156200104c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200107691908101906200522e565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010b457600080fd5b505af1158015620010c9573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001115573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200113f91908101906200501a565b9050806020015160405162001154906200404b565b6001600160a01b039091168152602001604051809103906000f08015801562001181573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001204919062004d92565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b815260040162001233929190620053c2565b600060405180830381600087803b1580156200124e57600080fd5b505af115801562001263573d6000803e3d6000fd5b506000925060029150620012749050565b604051908082528060200260200182016040528015620012a957816020015b6060815260200190600190039081620012935790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012e057620012e0620053e6565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620013215762001321620053e6565b6020026020010181905250638267876660e01b816000815181106200134a576200134a620053e6565b6020026020010151600081518110620013675762001367620053e6565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b9082906001908110620013a157620013a1620053e6565b6020026020010151600081518110620013be57620013be620053e6565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062001404620030f9565b816000815181106200141a576200141a620053e6565b60200260200101906001600160401b031690816001600160401b031681525050620014446200347b565b816001815181106200145a576200145a620053e6565b60200260200101906001600160401b031690816001600160401b0316815250506200148462002e6f565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014fd9190810190620053fc565b86866040518663ffffffff1660e01b8152600401620015219594939291906200547a565b600060405180830381600087803b1580156200153c57600080fd5b505af115801562001551573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620015985750825b90506000826001600160401b03166001148015620015b55750303b155b905081158015620015c4575080155b15620015e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160e57845460ff60401b1916600160401b1785555b6200161a8787620034b8565b83156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806200167a608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620016c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016e6919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200173a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200176491908101906200501a565b905060008160c0015180602001905181019062001782919062005114565b604080820180516001600160601b038a16909152905191925090620017ac90839060200162005556565b6040516020818303038152906040528360c00181905250846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001802573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001828919062004d92565b6001600160a01b031663a4eeee59878560ff6040518463ffffffff1660e01b81526004016200185a9392919062005685565b600060405180830381600087803b1580156200187557600080fd5b505af11580156200188a573d6000803e3d6000fd5b5050604080516001600160601b03808b16825280861660208301528b16918101919091527f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec2159250606001905062001659565b620018e66200309d565b806001600160a01b03163b6000036200191e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200199b575060408051601f3d908101601f19168201909252620019989181019062004bfa565b60015b620019c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b80620019f05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007f4565b505b50565b6000808062001a05608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a4b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a71919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001ac5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001aef91908101906200501a565b9050600062001aff828b620038be565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b815260040162001b52989796959493929190620056bc565b6020604051808303816000875af115801562001b72573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b98919062004c27565b955062001ba7828d8c62003a0b565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c07573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c2d919062004c27565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3362001c8960008051602062005d17833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001cc65760405162d1953b60e31b81526001600160a01b0382166004820152602401620007f4565b816001600160a01b03163b60000362001cfe576040516361798f2f60e11b81526001600160a01b0383166004820152602401620007f4565b620019f08262003b19565b60008062001d18608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d5e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d84919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e0291908101906200501a565b905060008160c0015180602001905181019062001e20919062005114565b61014081018990526101608101889052610180810187905260405190915062001e4e90829060200162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ea4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001eca919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001efc9392919062005685565b600060405180830381600087803b15801562001f1757600080fd5b505af115801562001f2c573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001fac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd2919062004bfa565b1562002063576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562002037573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200205d919062004d92565b91505090565b54600160601b90046001600160a01b0316919050565b620020836200309d565b6200210883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620020c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020ed919062004c27565b603c6000856040518060200160405280600081525062000978565b6001600160a01b038216156200212957620021238262003b7b565b620022a4565b60006200213e6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156200219f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021c591906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200220b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002231919062004d92565b9050620022a2816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200229c919062004d92565b62003b7b565b505b620022b6634a531f3360e01b62000949565b620022c863b68d180960e01b62000949565b505050565b60008051602062005d17833981519152805460009190600160a01b900460ff16620022fa5760006200205d565b638fb3603760e01b91505090565b60006200231d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200239b91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015620023f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200241f91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa15801562002479573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620024a391908101906200522e565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a60800151620024e191906200576d565b6040518263ffffffff1660e01b81526004016200250091815260200190565b602060405180830381865af41580156200251e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002544919062004c27565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a001516200257991906200576d565b6040518263ffffffff1660e01b81526004016200259891815260200190565b602060405180830381865af4158015620025b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025dc919062004c27565b90506000620026786200267173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200262691815260200190565b602060405180830381865af415801562002644573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200266a919062004c27565b8562003b90565b8362003b90565b905062002686898262003c22565b620026b857604051639080fd1360e01b81526001600160601b0380831660048301528a166024820152604401620007f4565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002711573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002737919062004bfa565b156200299e576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200277e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027a4919062004d92565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620027f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200282191908101906200501a565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200288b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028b1919062004c27565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa15801562002905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200292b919062004d92565b6001600160a01b031663a4eeee598860000151836200294860ff90565b6040518463ffffffff1660e01b8152600401620029689392919062005685565b600060405180830381600087803b1580156200298357600080fd5b505af115801562002998573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620029f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a1d919062004bfa565b1562002a9c57600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b15801562002a8257600080fd5b505af115801562002a97573d6000803e3d6000fd5b505050505b5050505050505050505050565b60008062002ab8608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002afe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b24919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ba291908101906200501a565b905060008160c0015180602001905181019062002bc0919062005114565b905062002be7816020015162002bd562003cac565b6001600160401b039081169116141590565b1562002c125760405163eff765ff60e01b81526001600160601b0386166004820152602401620007f4565b6001600160401b03861660208083019190915260405162002c369183910162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c8c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cb2919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162002ce49392919062005685565b600060405180830381600087803b15801562002cff57600080fd5b505af115801562002d14573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002da0919062003cee565b6040518563ffffffff1660e01b815260040162002dc194939291906200578f565b600060405180830381600087803b15801562002ddc57600080fd5b505af115801562002df1573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002e4c57600080fd5b505af115801562001662573d6000803e3d6000fd5b600062000602602862003d3a565b600062000602604662003d3a565b60008062002e8c608c6200370c565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002eeb57600080fd5b505af115801562002f00573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002f64573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f8a919062004c27565b604080516001600160601b03928316815282861660208201529186169082015260600162000b6e565b62002fbd6200309d565b62002fc881620018dc565b62002fd262000b7b565b6001600160a01b03821662002ffa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005cf783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f916200306d918891889187906004016200578f565b600060405180830381600087803b1580156200308857600080fd5b505af115801562000a19573d6000803e3d6000fd5b60008051602062005d3783398151915254600160401b900460ff16620030d657604051631afcd79f60e31b815260040160405180910390fd5b565b620002256200309d565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200314d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004d72565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620031c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031ee919062004bfa565b62003218576040516359bff0e360e11b81526001600160a01b0388166004820152602401620007f4565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562003259573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200328391908101906200522e565b90506200329b81604001518860ff9081169116141590565b15620032dd576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401620007f4565b60a08101516001600160a01b0385811690821614620033315760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401620007f4565b81602001519250620033438362003e50565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003384573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033aa919062004d92565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562003402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003428919062004bfa565b6200347057604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401620007f4565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620034ed5750825b90506000826001600160401b031660011480156200350a5750303b155b90508115801562003519575080155b15620035385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200356357845460ff60401b1916600160401b1785555b600080878060200190518101906200357c9190620057c1565b90925090506200358f8260008b62002079565b6001546001600160a01b031663d39e604360dc620035ac6200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200362891906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200366e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003694919062004d92565b600280546001600160a01b0319166001600160a01b0392909216919091179055620036c6630152d21960e61b62000949565b505083156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001659565b6000620037186200400d565b60006200372d6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562003774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200379a919062004c27565b9250620037a8838562003ee9565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620037ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003815919062004d92565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562003860573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003886919062004bfa565b15620038b757608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401620007f4565b9193909250565b600081905060008360c00151806020019051810190620038df919062005114565b61016001516040516305deb8b760e01b815290915073__$a23651848365a6a5ca15f07b4331037f48$__906305deb8b79062003920908490600401620057f5565b602060405180830381865af41580156200393e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003964919062004bfa565b1562003a0457604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af4158015620039d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039fe91906200580d565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562003a71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a97919062004bfa565b1562003b125760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b15801562003af857600080fd5b505af115801562003b0d573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005d1783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003b856200309d565b620019f28162003ff8565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af415801562003bf5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004c27565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562003c86573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004bfa565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa229060440162003bd7565b600062003d4f6001546001600160a01b031690565b6001600160a01b031663d39e60438362003d686200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003dbe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de491906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030f3919062004d92565b600062003e656001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003edf91908101906200522e565b6080015192915050565b62003ef36200400d565b600062003f086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003f58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003f8291908101906200522e565b915062003f9a82604001518460ff9081169116141590565b1562003fe057608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401620007f4565b62003fef826020015162003e50565b90509250929050565b620040026200309d565b620019f28162003b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6104b5806200584283390190565b6000602082840312156200406c57600080fd5b81356001600160e01b03198116811462003c1b57600080fd5b60005b83811015620040a257818101518382015260200162004088565b50506000910152565b60008151808452620040c581602086016020860162004085565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200414360c08401826001600160a01b03169052565b5060c083015160e0808401526200415f610100840182620040ab565b949350505050565b6001600160a01b0381168114620019f257600080fd5b6001600160601b0381168114620019f257600080fd5b8035620041a0816200417d565b919050565b60ff81168114620019f257600080fd5b8015158114620019f257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b0381118282101715620042005762004200620041c4565b60405290565b604080519081016001600160401b0381118282101715620042005762004200620041c4565b6040516101e081016001600160401b0381118282101715620042005762004200620041c4565b60405161010081016001600160401b0381118282101715620042005762004200620041c4565b60405161012081016001600160401b0381118282101715620042005762004200620041c4565b60405160e081016001600160401b0381118282101715620042005762004200620041c4565b6040516101a081016001600160401b0381118282101715620042005762004200620041c4565b604051601f8201601f191681016001600160401b0381118282101715620043135762004313620041c4565b604052919050565b60006001600160401b03821115620043375762004337620041c4565b50601f01601f191660200190565b600082601f8301126200435757600080fd5b81356200436e62004368826200431b565b620042e8565b8181528460208386010111156200438457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215620043bb57600080fd5b8635620043c88162004167565b95506020870135620043da816200417d565b94506040870135620043ec81620041a5565b93506060870135620043fe81620041b5565b92506080870135620044108162004167565b915060a08701356001600160401b038111156200442c57600080fd5b6200443a89828a0162004345565b9150509295509295509295565b6000602082840312156200445a57600080fd5b81356001600160401b038111156200447157600080fd5b6200415f8482850162004345565b80356001600160c01b031981168114620041a057600080fd5b64ffffffffff81168114620019f257600080fd5b8035620041a08162004498565b803561ffff81168114620041a057600080fd5b60006102208284031215620044e057600080fd5b620044ea620041da565b9050620044f78262004193565b8152620045076020830162004193565b60208201526200451a604083016200447f565b60408201526200452d606083016200447f565b6060820152620045406080830162004193565b60808201526200455360a0830162004193565b60a08201526200456660c0830162004193565b60c08201526200457960e08301620044ac565b60e0820152610100808301356001600160401b03808211156200459b57600080fd5b620045a98683870162004345565b83850152610120925082850135915080821115620045c657600080fd5b50620045d58582860162004345565b828401525050610140620045eb818401620044b9565b90820152610160620045ff838201620044b9565b908201526101806200461383820162004193565b908201526101a06200462783820162004193565b908201526101c06200463b838201620044ac565b908201526101e06200464f838201620044ac565b9082015261020062004663838201620044ac565b9082015292915050565b600080600080600060a086880312156200468657600080fd5b8535620046938162004167565b94506020860135620046a5816200417d565b93506040860135620046b7816200417d565b925060608601356001600160401b03811115620046d357600080fd5b620046e188828901620044cc565b9250506080860135620046f4816200417d565b809150509295509295909350565b6000602082840312156200471557600080fd5b813562003c1b8162004167565b600080604083850312156200473657600080fd5b8235620047438162004167565b915060208301356001600160401b038111156200475f57600080fd5b6200476d8582860162004345565b9150509250929050565b6000602082840312156200478a57600080fd5b813562003c1b816200417d565b600060408284031215620047aa57600080fd5b620047b462004206565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215620047e457600080fd5b8635620047f18162004167565b955062004802886020890162004797565b9450606087013562004814816200417d565b93506080870135620048268162004498565b925060a08701356001600160401b03808211156200484357600080fd5b818901915089601f8301126200485857600080fd5b8135818111156200486857600080fd5b8a60208285010111156200487b57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620048a757600080fd5b620048b3858562004797565b9250620048c4856040860162004797565b9150620048d5856080860162004797565b90509250925092565b600080600060608486031215620048f457600080fd5b8335620049018162004167565b92506020840135620049138162004167565b91506040840135620049258162004167565b809150509250925092565b60008060008385036102208112156200494857600080fd5b843562004955816200417d565b93506101e0601f1982018113156200496c57600080fd5b620049766200422b565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c091508188013581850152508187013581840152505080925050620048d5610200850162004193565b6001600160401b0381168114620019f257600080fd5b60006020828403121562004a5857600080fd5b813562003c1b8162004a2f565b60008060006060848603121562004a7b57600080fd5b833562004a888162004167565b9250602084013562004a9a816200417d565b915060408401356001600160401b0381111562004ab657600080fd5b62004ac486828701620044cc565b9150509250925092565b6000806040838503121562004ae257600080fd5b823562004aef8162004167565b9150602083013562004b018162004167565b809150509250929050565b6000806000806080858703121562004b2357600080fd5b843562004b308162004167565b9350602085013562004b42816200417d565b925060408501356001600160401b0381111562004b5e57600080fd5b62004b6c87828801620044cc565b925050606085013562004b7f816200417d565b939692955090935050565b60006020828403121562004b9d57600080fd5b815162ffffff8116811462003c1b57600080fd5b600181811c9082168062004bc657607f821691505b60208210810362004be757634e487b7160e01b600052602260045260246000fd5b50919050565b8051620041a081620041b5565b60006020828403121562004c0d57600080fd5b815162003c1b81620041b5565b8051620041a0816200417d565b60006020828403121562004c3a57600080fd5b815162003c1b816200417d565b601f821115620022c857600081815260208120601f850160051c8101602086101562004c705750805b601f850160051c820191505b8181101562004c915782815560010162004c7c565b505050505050565b81516001600160401b0381111562004cb55762004cb5620041c4565b62004ccd8162004cc6845462004bb1565b8462004c47565b602080601f83116001811462004d05576000841562004cec5750858301515b600019600386901b1c1916600185901b17855562004c91565b600085815260208120601f198616915b8281101562004d365788860151825594840194600190910190840162004d15565b508582101562004d555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8051620041a08162004a2f565b60006020828403121562004d8557600080fd5b815162003c1b8162004a2f565b60006020828403121562004da557600080fd5b815162003c1b8162004167565b8051620041a08162004167565b60006040828403121562004dd257600080fd5b62004ddc62004206565b9050815181526020820151602082015292915050565b6000610140828403121562004e0657600080fd5b62004e1062004251565b62004e1b8362004db2565b815262004e2b6020840162004db2565b602082015262004e3e6040840162004c1a565b604082015262004e516060840162004c1a565b606082015262004e65846080850162004dbf565b608082015262004e798460c0850162004dbf565b60a082015262004e8d610100840162004bed565b60c082015262004ea1610120840162004db2565b60e08201529392505050565b600082601f83011262004ebf57600080fd5b815162004ed062004368826200431b565b81815284602083860101111562004ee657600080fd5b6200415f82602083016020870162004085565b8051620041a08162004498565b60006020828403121562004f1957600080fd5b81516001600160401b038082111562004f3157600080fd5b90830190610140828603121562004f4757600080fd5b62004f5162004277565b62004f5c8362004c1a565b815262004f6d866020850162004dbf565b602082015260608301518281111562004f8557600080fd5b62004f938782860162004ead565b60408301525062004fa76080840162004c1a565b606082015262004fba60a0840162004c1a565b608082015262004fcd60c0840162004c1a565b60a082015262004fe060e0840162004ef9565b60c0820152610100915062004ff782840162004ef9565b60e08201526200500b610120840162004ef9565b91810191909152949350505050565b6000602082840312156200502d57600080fd5b81516001600160401b03808211156200504557600080fd5b9083019060e082860312156200505a57600080fd5b620050646200429d565b8251828111156200507457600080fd5b620050828782860162004ead565b825250620050936020840162004db2565b6020820152620050a66040840162004db2565b6040820152620050b96060840162004db2565b6060820152620050cc6080840162004c1a565b6080820152620050df60a0840162004c1a565b60a082015260c083015182811115620050f757600080fd5b620051058782860162004ead565b60c08301525095945050505050565b600061020082840312156200512857600080fd5b62005132620042c2565b6200513d8362004c1a565b81526200514d6020840162004d65565b6020820152620051606040840162004c1a565b6040820152620051736060840162004c1a565b6060820152620051866080840162004c1a565b60808201526200519960a0840162004bed565b60a0820152620051ac60c0840162004bed565b60c0820152620051bf60e0840162004bed565b60e082015261010083810151908201526101208084015190820152610140620051eb8582860162004dbf565b90820152610180620052008585830162004dbf565b61016083015262005216856101c0860162004dbf565b908201529392505050565b8051620041a081620041a5565b6000602082840312156200524157600080fd5b81516001600160401b03808211156200525957600080fd5b9083019060e082860312156200526e57600080fd5b620052786200429d565b620052838362004c1a565b8152620052936020840162004c1a565b6020820152620052a66040840162005221565b6040820152620052b96060840162004bed565b6060820152620052cc6080840162004db2565b6080820152620050df60a0840162004db2565b60006001600160601b03808816835260a060208401526200530460a0840188620040ab565b81871660408501528381036060850152620053208187620040ab565b9250508084166080840152509695505050505050565b6000815160e084526200534d60e0850182620040ab565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c0860152620053b98282620040ab565b95945050505050565b6001600160601b03831681526040602082015260006200415f604083018462005336565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200540f57600080fd5b81516001600160401b038111156200542657600080fd5b6200415f8482850162004ead565b600081518084526020808501945080840160005b838110156200546f5781516001600160401b03168752958201959082019060010162005448565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620054ad60a0840187620040ab565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200552f57868403601f19018652825180518086529089019089860190845b81811015620055195783516001600160e01b0319168352928b0192918b0191600101620054f1565b50509689019694505091870191600101620054ce565b505050868103608088015262005546818962005434565b9c9b505050505050505050505050565b81516001600160601b03168152610200810160208301516200558360208401826001600160401b03169052565b5060408301516200559f60408401826001600160601b03169052565b506060830151620055bb60608401826001600160601b03169052565b506080830151620055d760808401826001600160601b03169052565b5060a0830151620055ec60a084018215159052565b5060c08301516200560160c084018215159052565b5060e08301516200561660e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620056678185018380518252602090810151910152565b84015180516101c085015260208101516101e0850152905062003a04565b6001600160601b0384168152606060208201526000620056a9606083018562005336565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005700606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b6000602082840312156200576057600080fd5b815162003c1b81620041a5565b80820180821115620030f357634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b60008060408385031215620057d557600080fd5b8251620057e28162004167565b602084015190925062004b018162004167565b815181526020808301519082015260408101620030f3565b600080604083850312156200582157600080fd5b82516200582e816200417d565b602084015190925062004b01816200417d56fe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203f5dbaff0bc8268aed9860de9b0749da0aee6f3bdf4090001e7eb82d5ad031c864736f6c63430008140033",
1389
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f7c34ee0146200054c578063fce06ca8146200056357600080fd5b8063a8de511714620004c3578063ada9652e14620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063991cbfb31462000495578063a3c2605214620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f457600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462004059565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b604051620002669190620040d9565b620002b162000734565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462004059565b62000949565b620002b162000312366004620043a1565b62000978565b620002b16200032936600462004447565b62000a23565b620002b162000b7b565b620002b16200034a3660046200466d565b62000bc3565b620003676200036136600462004702565b62000fc5565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004722565b62001563565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005cf7833981519152546001600160601b031662000367565b620002b1620003ee36600462004777565b6200166b565b620002b16200040536600462004702565b620018dc565b620003676200041c366004620047ca565b620019f5565b620002b16200043336600462004702565b62001c67565b620002b16200044a36600462004891565b62001d09565b620003a462001f3a565b620002b16200046b366004620048de565b62002079565b6200047b620022cd565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004930565b62002308565b620002b1620004bd36600462004a45565b62002aa9565b620002b1620004d436600462004a65565b62002d6b565b620002db60008051602062005cf783398151915281565b604051608c815260200162000266565b60008051602062005d17833981519152546001600160a01b0316620003a4565b620003a462002e61565b620003a462002e6f565b620002b16200054636600462004777565b62002e7d565b620002b16200055d36600462004ace565b62002fb3565b620002b16200057436600462004b0c565b62003032565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004b8a565b905090565b620006116200400d565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016200068862001f3a565b6001600160a01b03168152602001826001018054620006a79062004bb1565b80601f0160208091040260200160405190810160405280929190818152602001828054620006d59062004bb1565b8015620007265780601f10620006fa5761010080835404028352916020019162000726565b820191906000526020600020905b8154815290600101906020018083116200070857829003601f168201915b505050505081525091505090565b600060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007cb919062004bfa565b15620007fd5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008116001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000880919062004bfa565b620008aa5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620007f4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620008ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000925919062004c27565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b620009536200309d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009826200309d565b6200098e828762002fb3565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a19838262004c99565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a476200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000a88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000aae919062004d72565b60008051602062005d378339815191528054600160401b900460ff168062000ae3575080546001600160401b03808416911610155b1562000b025760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b2e83620030d8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000b856200309d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c2a919062004d92565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000c7f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ca5919062004df2565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000d03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d2d919081019062004f06565b905062000d3f816000015184620030e2565b1562000d75578051604051630a49ea2360e01b81526001600160601b0391821660048201529084166024820152604401620007f4565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dc6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000df091908101906200501a565b905060008160c0015180602001905181019062000e0e919062005114565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000e8857600080fd5b505af115801562000e9d573d6000803e3d6000fd5b505050508260e001511562000fb657600062000ec16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f11573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f3b91908101906200522e565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000f80959493929190620052df565b600060405180830381600087803b15801562000f9b57600080fd5b505af115801562000fb0573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008080808062000fe286608c62000fdc620030f9565b62003173565b9296509094509250905085600062000ff962002e61565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af11580156200104c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200107691908101906200522e565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010b457600080fd5b505af1158015620010c9573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001115573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200113f91908101906200501a565b9050806020015160405162001154906200404b565b6001600160a01b039091168152602001604051809103906000f08015801562001181573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001204919062004d92565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b815260040162001233929190620053c2565b600060405180830381600087803b1580156200124e57600080fd5b505af115801562001263573d6000803e3d6000fd5b506000925060029150620012749050565b604051908082528060200260200182016040528015620012a957816020015b6060815260200190600190039081620012935790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012e057620012e0620053e6565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620013215762001321620053e6565b6020026020010181905250638267876660e01b816000815181106200134a576200134a620053e6565b6020026020010151600081518110620013675762001367620053e6565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b9082906001908110620013a157620013a1620053e6565b6020026020010151600081518110620013be57620013be620053e6565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062001404620030f9565b816000815181106200141a576200141a620053e6565b60200260200101906001600160401b031690816001600160401b031681525050620014446200347b565b816001815181106200145a576200145a620053e6565b60200260200101906001600160401b031690816001600160401b0316815250506200148462002e6f565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014fd9190810190620053fc565b86866040518663ffffffff1660e01b8152600401620015219594939291906200547a565b600060405180830381600087803b1580156200153c57600080fd5b505af115801562001551573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620015985750825b90506000826001600160401b03166001148015620015b55750303b155b905081158015620015c4575080155b15620015e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160e57845460ff60401b1916600160401b1785555b6200161a8787620034b8565b83156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806200167a608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620016c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016e6919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200173a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200176491908101906200501a565b905060008160c0015180602001905181019062001782919062005114565b604080820180516001600160601b038a16909152905191925090620017ac90839060200162005556565b6040516020818303038152906040528360c00181905250846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001802573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001828919062004d92565b6001600160a01b031663a4eeee59878560ff6040518463ffffffff1660e01b81526004016200185a9392919062005685565b600060405180830381600087803b1580156200187557600080fd5b505af11580156200188a573d6000803e3d6000fd5b5050604080516001600160601b03808b16825280861660208301528b16918101919091527f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec2159250606001905062001659565b620018e66200309d565b806001600160a01b03163b6000036200191e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200199b575060408051601f3d908101601f19168201909252620019989181019062004bfa565b60015b620019c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b80620019f05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007f4565b505b50565b6000808062001a05608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a4b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a71919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001ac5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001aef91908101906200501a565b9050600062001aff828b620038be565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b815260040162001b52989796959493929190620056bc565b6020604051808303816000875af115801562001b72573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b98919062004c27565b955062001ba7828d8c62003a0b565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c07573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c2d919062004c27565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3362001c8960008051602062005d17833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001cc65760405162d1953b60e31b81526001600160a01b0382166004820152602401620007f4565b816001600160a01b03163b60000362001cfe576040516361798f2f60e11b81526001600160a01b0383166004820152602401620007f4565b620019f08262003b19565b60008062001d18608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d5e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d84919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e0291908101906200501a565b905060008160c0015180602001905181019062001e20919062005114565b61014081018990526101608101889052610180810187905260405190915062001e4e90829060200162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ea4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001eca919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001efc9392919062005685565b600060405180830381600087803b15801562001f1757600080fd5b505af115801562001f2c573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001fac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd2919062004bfa565b1562002063576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562002037573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200205d919062004d92565b91505090565b54600160601b90046001600160a01b0316919050565b620020836200309d565b6200210883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620020c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020ed919062004c27565b603c6000856040518060200160405280600081525062000978565b6001600160a01b038216156200212957620021238262003b7b565b620022a4565b60006200213e6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156200219f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021c591906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200220b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002231919062004d92565b9050620022a2816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200229c919062004d92565b62003b7b565b505b620022b6634a531f3360e01b62000949565b620022c863b68d180960e01b62000949565b505050565b60008051602062005d17833981519152805460009190600160a01b900460ff16620022fa5760006200205d565b638fb3603760e01b91505090565b60006200231d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200239b91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015620023f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200241f91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa15801562002479573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620024a391908101906200522e565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a60800151620024e191906200576d565b6040518263ffffffff1660e01b81526004016200250091815260200190565b602060405180830381865af41580156200251e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002544919062004c27565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a001516200257991906200576d565b6040518263ffffffff1660e01b81526004016200259891815260200190565b602060405180830381865af4158015620025b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025dc919062004c27565b90506000620026786200267173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200262691815260200190565b602060405180830381865af415801562002644573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200266a919062004c27565b8562003b90565b8362003b90565b905062002686898262003c22565b620026b857604051639080fd1360e01b81526001600160601b0380831660048301528a166024820152604401620007f4565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002711573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002737919062004bfa565b156200299e576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200277e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027a4919062004d92565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620027f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200282191908101906200501a565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200288b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028b1919062004c27565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa15801562002905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200292b919062004d92565b6001600160a01b031663a4eeee598860000151836200294860ff90565b6040518463ffffffff1660e01b8152600401620029689392919062005685565b600060405180830381600087803b1580156200298357600080fd5b505af115801562002998573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620029f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a1d919062004bfa565b1562002a9c57600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b15801562002a8257600080fd5b505af115801562002a97573d6000803e3d6000fd5b505050505b5050505050505050505050565b60008062002ab8608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002afe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b24919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ba291908101906200501a565b905060008160c0015180602001905181019062002bc0919062005114565b905062002be7816020015162002bd562003cac565b6001600160401b039081169116141590565b1562002c125760405163eff765ff60e01b81526001600160601b0386166004820152602401620007f4565b6001600160401b03861660208083019190915260405162002c369183910162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c8c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cb2919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162002ce49392919062005685565b600060405180830381600087803b15801562002cff57600080fd5b505af115801562002d14573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002da0919062003cee565b6040518563ffffffff1660e01b815260040162002dc194939291906200578f565b600060405180830381600087803b15801562002ddc57600080fd5b505af115801562002df1573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002e4c57600080fd5b505af115801562001662573d6000803e3d6000fd5b600062000602602862003d3a565b600062000602604662003d3a565b60008062002e8c608c6200370c565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002eeb57600080fd5b505af115801562002f00573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002f64573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f8a919062004c27565b604080516001600160601b03928316815282861660208201529186169082015260600162000b6e565b62002fbd6200309d565b62002fc881620018dc565b62002fd262000b7b565b6001600160a01b03821662002ffa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005cf783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f916200306d918891889187906004016200578f565b600060405180830381600087803b1580156200308857600080fd5b505af115801562000a19573d6000803e3d6000fd5b60008051602062005d3783398151915254600160401b900460ff16620030d657604051631afcd79f60e31b815260040160405180910390fd5b565b620002256200309d565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200314d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004d72565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620031c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031ee919062004bfa565b62003218576040516359bff0e360e11b81526001600160a01b0388166004820152602401620007f4565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562003259573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200328391908101906200522e565b90506200329b81604001518860ff9081169116141590565b15620032dd576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401620007f4565b60a08101516001600160a01b0385811690821614620033315760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401620007f4565b81602001519250620033438362003e50565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003384573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033aa919062004d92565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562003402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003428919062004bfa565b6200347057604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401620007f4565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620034ed5750825b90506000826001600160401b031660011480156200350a5750303b155b90508115801562003519575080155b15620035385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200356357845460ff60401b1916600160401b1785555b600080878060200190518101906200357c9190620057c1565b90925090506200358f8260008b62002079565b6001546001600160a01b031663d39e604360dc620035ac6200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200362891906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200366e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003694919062004d92565b600280546001600160a01b0319166001600160a01b0392909216919091179055620036c6630152d21960e61b62000949565b505083156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001659565b6000620037186200400d565b60006200372d6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562003774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200379a919062004c27565b9250620037a8838562003ee9565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620037ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003815919062004d92565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562003860573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003886919062004bfa565b15620038b757608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401620007f4565b9193909250565b600081905060008360c00151806020019051810190620038df919062005114565b61016001516040516305deb8b760e01b815290915073__$a23651848365a6a5ca15f07b4331037f48$__906305deb8b79062003920908490600401620057f5565b602060405180830381865af41580156200393e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003964919062004bfa565b1562003a0457604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af4158015620039d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039fe91906200580d565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562003a71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a97919062004bfa565b1562003b125760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b15801562003af857600080fd5b505af115801562003b0d573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005d1783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003b856200309d565b620019f28162003ff8565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af415801562003bf5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004c27565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562003c86573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004bfa565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa229060440162003bd7565b600062003d4f6001546001600160a01b031690565b6001600160a01b031663d39e60438362003d686200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003dbe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de491906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030f3919062004d92565b600062003e656001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003edf91908101906200522e565b6080015192915050565b62003ef36200400d565b600062003f086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003f58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003f8291908101906200522e565b915062003f9a82604001518460ff9081169116141590565b1562003fe057608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401620007f4565b62003fef826020015162003e50565b90509250929050565b620040026200309d565b620019f28162003b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6104b5806200584283390190565b6000602082840312156200406c57600080fd5b81356001600160e01b03198116811462003c1b57600080fd5b60005b83811015620040a257818101518382015260200162004088565b50506000910152565b60008151808452620040c581602086016020860162004085565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200414360c08401826001600160a01b03169052565b5060c083015160e0808401526200415f610100840182620040ab565b949350505050565b6001600160a01b0381168114620019f257600080fd5b6001600160601b0381168114620019f257600080fd5b8035620041a0816200417d565b919050565b60ff81168114620019f257600080fd5b8015158114620019f257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b0381118282101715620042005762004200620041c4565b60405290565b604080519081016001600160401b0381118282101715620042005762004200620041c4565b6040516101e081016001600160401b0381118282101715620042005762004200620041c4565b60405161010081016001600160401b0381118282101715620042005762004200620041c4565b60405161012081016001600160401b0381118282101715620042005762004200620041c4565b60405160e081016001600160401b0381118282101715620042005762004200620041c4565b6040516101a081016001600160401b0381118282101715620042005762004200620041c4565b604051601f8201601f191681016001600160401b0381118282101715620043135762004313620041c4565b604052919050565b60006001600160401b03821115620043375762004337620041c4565b50601f01601f191660200190565b600082601f8301126200435757600080fd5b81356200436e62004368826200431b565b620042e8565b8181528460208386010111156200438457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215620043bb57600080fd5b8635620043c88162004167565b95506020870135620043da816200417d565b94506040870135620043ec81620041a5565b93506060870135620043fe81620041b5565b92506080870135620044108162004167565b915060a08701356001600160401b038111156200442c57600080fd5b6200443a89828a0162004345565b9150509295509295509295565b6000602082840312156200445a57600080fd5b81356001600160401b038111156200447157600080fd5b6200415f8482850162004345565b80356001600160c01b031981168114620041a057600080fd5b64ffffffffff81168114620019f257600080fd5b8035620041a08162004498565b803561ffff81168114620041a057600080fd5b60006102208284031215620044e057600080fd5b620044ea620041da565b9050620044f78262004193565b8152620045076020830162004193565b60208201526200451a604083016200447f565b60408201526200452d606083016200447f565b6060820152620045406080830162004193565b60808201526200455360a0830162004193565b60a08201526200456660c0830162004193565b60c08201526200457960e08301620044ac565b60e0820152610100808301356001600160401b03808211156200459b57600080fd5b620045a98683870162004345565b83850152610120925082850135915080821115620045c657600080fd5b50620045d58582860162004345565b828401525050610140620045eb818401620044b9565b90820152610160620045ff838201620044b9565b908201526101806200461383820162004193565b908201526101a06200462783820162004193565b908201526101c06200463b838201620044ac565b908201526101e06200464f838201620044ac565b9082015261020062004663838201620044ac565b9082015292915050565b600080600080600060a086880312156200468657600080fd5b8535620046938162004167565b94506020860135620046a5816200417d565b93506040860135620046b7816200417d565b925060608601356001600160401b03811115620046d357600080fd5b620046e188828901620044cc565b9250506080860135620046f4816200417d565b809150509295509295909350565b6000602082840312156200471557600080fd5b813562003c1b8162004167565b600080604083850312156200473657600080fd5b8235620047438162004167565b915060208301356001600160401b038111156200475f57600080fd5b6200476d8582860162004345565b9150509250929050565b6000602082840312156200478a57600080fd5b813562003c1b816200417d565b600060408284031215620047aa57600080fd5b620047b462004206565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215620047e457600080fd5b8635620047f18162004167565b955062004802886020890162004797565b9450606087013562004814816200417d565b93506080870135620048268162004498565b925060a08701356001600160401b03808211156200484357600080fd5b818901915089601f8301126200485857600080fd5b8135818111156200486857600080fd5b8a60208285010111156200487b57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620048a757600080fd5b620048b3858562004797565b9250620048c4856040860162004797565b9150620048d5856080860162004797565b90509250925092565b600080600060608486031215620048f457600080fd5b8335620049018162004167565b92506020840135620049138162004167565b91506040840135620049258162004167565b809150509250925092565b60008060008385036102208112156200494857600080fd5b843562004955816200417d565b93506101e0601f1982018113156200496c57600080fd5b620049766200422b565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c091508188013581850152508187013581840152505080925050620048d5610200850162004193565b6001600160401b0381168114620019f257600080fd5b60006020828403121562004a5857600080fd5b813562003c1b8162004a2f565b60008060006060848603121562004a7b57600080fd5b833562004a888162004167565b9250602084013562004a9a816200417d565b915060408401356001600160401b0381111562004ab657600080fd5b62004ac486828701620044cc565b9150509250925092565b6000806040838503121562004ae257600080fd5b823562004aef8162004167565b9150602083013562004b018162004167565b809150509250929050565b6000806000806080858703121562004b2357600080fd5b843562004b308162004167565b9350602085013562004b42816200417d565b925060408501356001600160401b0381111562004b5e57600080fd5b62004b6c87828801620044cc565b925050606085013562004b7f816200417d565b939692955090935050565b60006020828403121562004b9d57600080fd5b815162ffffff8116811462003c1b57600080fd5b600181811c9082168062004bc657607f821691505b60208210810362004be757634e487b7160e01b600052602260045260246000fd5b50919050565b8051620041a081620041b5565b60006020828403121562004c0d57600080fd5b815162003c1b81620041b5565b8051620041a0816200417d565b60006020828403121562004c3a57600080fd5b815162003c1b816200417d565b601f821115620022c857600081815260208120601f850160051c8101602086101562004c705750805b601f850160051c820191505b8181101562004c915782815560010162004c7c565b505050505050565b81516001600160401b0381111562004cb55762004cb5620041c4565b62004ccd8162004cc6845462004bb1565b8462004c47565b602080601f83116001811462004d05576000841562004cec5750858301515b600019600386901b1c1916600185901b17855562004c91565b600085815260208120601f198616915b8281101562004d365788860151825594840194600190910190840162004d15565b508582101562004d555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8051620041a08162004a2f565b60006020828403121562004d8557600080fd5b815162003c1b8162004a2f565b60006020828403121562004da557600080fd5b815162003c1b8162004167565b8051620041a08162004167565b60006040828403121562004dd257600080fd5b62004ddc62004206565b9050815181526020820151602082015292915050565b6000610140828403121562004e0657600080fd5b62004e1062004251565b62004e1b8362004db2565b815262004e2b6020840162004db2565b602082015262004e3e6040840162004c1a565b604082015262004e516060840162004c1a565b606082015262004e65846080850162004dbf565b608082015262004e798460c0850162004dbf565b60a082015262004e8d610100840162004bed565b60c082015262004ea1610120840162004db2565b60e08201529392505050565b600082601f83011262004ebf57600080fd5b815162004ed062004368826200431b565b81815284602083860101111562004ee657600080fd5b6200415f82602083016020870162004085565b8051620041a08162004498565b60006020828403121562004f1957600080fd5b81516001600160401b038082111562004f3157600080fd5b90830190610140828603121562004f4757600080fd5b62004f5162004277565b62004f5c8362004c1a565b815262004f6d866020850162004dbf565b602082015260608301518281111562004f8557600080fd5b62004f938782860162004ead565b60408301525062004fa76080840162004c1a565b606082015262004fba60a0840162004c1a565b608082015262004fcd60c0840162004c1a565b60a082015262004fe060e0840162004ef9565b60c0820152610100915062004ff782840162004ef9565b60e08201526200500b610120840162004ef9565b91810191909152949350505050565b6000602082840312156200502d57600080fd5b81516001600160401b03808211156200504557600080fd5b9083019060e082860312156200505a57600080fd5b620050646200429d565b8251828111156200507457600080fd5b620050828782860162004ead565b825250620050936020840162004db2565b6020820152620050a66040840162004db2565b6040820152620050b96060840162004db2565b6060820152620050cc6080840162004c1a565b6080820152620050df60a0840162004c1a565b60a082015260c083015182811115620050f757600080fd5b620051058782860162004ead565b60c08301525095945050505050565b600061020082840312156200512857600080fd5b62005132620042c2565b6200513d8362004c1a565b81526200514d6020840162004d65565b6020820152620051606040840162004c1a565b6040820152620051736060840162004c1a565b6060820152620051866080840162004c1a565b60808201526200519960a0840162004bed565b60a0820152620051ac60c0840162004bed565b60c0820152620051bf60e0840162004bed565b60e082015261010083810151908201526101208084015190820152610140620051eb8582860162004dbf565b90820152610180620052008585830162004dbf565b61016083015262005216856101c0860162004dbf565b908201529392505050565b8051620041a081620041a5565b6000602082840312156200524157600080fd5b81516001600160401b03808211156200525957600080fd5b9083019060e082860312156200526e57600080fd5b620052786200429d565b620052838362004c1a565b8152620052936020840162004c1a565b6020820152620052a66040840162005221565b6040820152620052b96060840162004bed565b6060820152620052cc6080840162004db2565b6080820152620050df60a0840162004db2565b60006001600160601b03808816835260a060208401526200530460a0840188620040ab565b81871660408501528381036060850152620053208187620040ab565b9250508084166080840152509695505050505050565b6000815160e084526200534d60e0850182620040ab565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c0860152620053b98282620040ab565b95945050505050565b6001600160601b03831681526040602082015260006200415f604083018462005336565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200540f57600080fd5b81516001600160401b038111156200542657600080fd5b6200415f8482850162004ead565b600081518084526020808501945080840160005b838110156200546f5781516001600160401b03168752958201959082019060010162005448565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620054ad60a0840187620040ab565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200552f57868403601f19018652825180518086529089019089860190845b81811015620055195783516001600160e01b0319168352928b0192918b0191600101620054f1565b50509689019694505091870191600101620054ce565b505050868103608088015262005546818962005434565b9c9b505050505050505050505050565b81516001600160601b03168152610200810160208301516200558360208401826001600160401b03169052565b5060408301516200559f60408401826001600160601b03169052565b506060830151620055bb60608401826001600160601b03169052565b506080830151620055d760808401826001600160601b03169052565b5060a0830151620055ec60a084018215159052565b5060c08301516200560160c084018215159052565b5060e08301516200561660e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620056678185018380518252602090810151910152565b84015180516101c085015260208101516101e0850152905062003a04565b6001600160601b0384168152606060208201526000620056a9606083018562005336565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005700606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b6000602082840312156200576057600080fd5b815162003c1b81620041a5565b80820180821115620030f357634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b60008060408385031215620057d557600080fd5b8251620057e28162004167565b602084015190925062004b018162004167565b815181526020808301519082015260408101620030f3565b600080604083850312156200582157600080fd5b82516200582e816200417d565b602084015190925062004b01816200417d56fe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203f5dbaff0bc8268aed9860de9b0749da0aee6f3bdf4090001e7eb82d5ad031c864736f6c63430008140033",
653
1390
  "linkReferences": {
654
- "contracts/types/Blocknumber.sol": {
655
- "BlocknumberLib": [
1391
+ "contracts/types/Amount.sol": {
1392
+ "AmountLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 9624
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 9776
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 9936
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 10172
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 10550
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 10914
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 15132
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 15519
1424
+ },
1425
+ {
1426
+ "length": 20,
1427
+ "start": 15665
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 15869
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 23138
1436
+ }
1437
+ ]
1438
+ },
1439
+ "contracts/types/Fee.sol": {
1440
+ "FeeLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 14812
1444
+ },
656
1445
  {
657
1446
  "length": 20,
658
- "start": 4528
1447
+ "start": 14980
659
1448
  }
660
1449
  ]
661
1450
  },
@@ -663,19 +1452,27 @@
663
1452
  "NftIdLib": [
664
1453
  {
665
1454
  "length": 20,
666
- "start": 3944
1455
+ "start": 2128
667
1456
  },
668
1457
  {
669
1458
  "length": 20,
670
- "start": 4803
1459
+ "start": 8279
1460
+ }
1461
+ ]
1462
+ },
1463
+ "contracts/types/RoleId.sol": {
1464
+ "RoleIdLib": [
1465
+ {
1466
+ "length": 20,
1467
+ "start": 12791
671
1468
  },
672
1469
  {
673
1470
  "length": 20,
674
- "start": 5617
1471
+ "start": 13691
675
1472
  },
676
1473
  {
677
1474
  "length": 20,
678
- "start": 7617
1475
+ "start": 15793
679
1476
  }
680
1477
  ]
681
1478
  },
@@ -683,33 +1480,87 @@
683
1480
  "VersionLib": [
684
1481
  {
685
1482
  "length": 20,
686
- "start": 621
1483
+ "start": 1671
687
1484
  },
688
1485
  {
689
1486
  "length": 20,
690
- "start": 971
1487
+ "start": 2827
691
1488
  },
692
1489
  {
693
1490
  "length": 20,
694
- "start": 3433
1491
+ "start": 13997
695
1492
  },
696
1493
  {
697
1494
  "length": 20,
698
- "start": 5857
699
- },
1495
+ "start": 15977
1496
+ }
1497
+ ],
1498
+ "VersionPartLib": [
700
1499
  {
701
1500
  "length": 20,
702
- "start": 6539
1501
+ "start": 8778
703
1502
  }
704
1503
  ]
705
1504
  }
706
1505
  },
707
1506
  "deployedLinkReferences": {
708
- "contracts/types/Blocknumber.sol": {
709
- "BlocknumberLib": [
1507
+ "contracts/types/Amount.sol": {
1508
+ "AmountLib": [
1509
+ {
1510
+ "length": 20,
1511
+ "start": 9394
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 9546
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 9706
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 9942
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 10320
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 10684
1532
+ },
710
1533
  {
711
1534
  "length": 20,
712
- "start": 2338
1535
+ "start": 14902
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 15289
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 15435
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 15639
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 22908
1552
+ }
1553
+ ]
1554
+ },
1555
+ "contracts/types/Fee.sol": {
1556
+ "FeeLib": [
1557
+ {
1558
+ "length": 20,
1559
+ "start": 14582
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 14750
713
1564
  }
714
1565
  ]
715
1566
  },
@@ -717,19 +1568,27 @@
717
1568
  "NftIdLib": [
718
1569
  {
719
1570
  "length": 20,
720
- "start": 1754
1571
+ "start": 1898
721
1572
  },
722
1573
  {
723
1574
  "length": 20,
724
- "start": 2613
1575
+ "start": 8049
1576
+ }
1577
+ ]
1578
+ },
1579
+ "contracts/types/RoleId.sol": {
1580
+ "RoleIdLib": [
1581
+ {
1582
+ "length": 20,
1583
+ "start": 12561
725
1584
  },
726
1585
  {
727
1586
  "length": 20,
728
- "start": 3427
1587
+ "start": 13461
729
1588
  },
730
1589
  {
731
1590
  "length": 20,
732
- "start": 5427
1591
+ "start": 15563
733
1592
  }
734
1593
  ]
735
1594
  },
@@ -737,15 +1596,25 @@
737
1596
  "VersionLib": [
738
1597
  {
739
1598
  "length": 20,
740
- "start": 1243
1599
+ "start": 1441
1600
+ },
1601
+ {
1602
+ "length": 20,
1603
+ "start": 2597
741
1604
  },
742
1605
  {
743
1606
  "length": 20,
744
- "start": 3667
1607
+ "start": 13767
745
1608
  },
746
1609
  {
747
1610
  "length": 20,
748
- "start": 4349
1611
+ "start": 15747
1612
+ }
1613
+ ],
1614
+ "VersionPartLib": [
1615
+ {
1616
+ "length": 20,
1617
+ "start": 8548
749
1618
  }
750
1619
  ]
751
1620
  }