@etherisc/gif-next 0.0.2-bf75dbb-287 → 0.0.2-c0b400a-177

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. package/README.md +73 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +743 -168
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +152 -100
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +737 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +675 -258
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +525 -223
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1043 -394
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +237 -166
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +923 -1197
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +569 -198
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -263
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +387 -377
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +295 -126
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +189 -177
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +69 -43
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1229 -213
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +440 -79
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPolicyService.sol/IPolicyService.json} +267 -169
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +75 -375
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +38 -414
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +253 -478
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +295 -102
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +201 -571
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +286 -125
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +158 -215
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +202 -318
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +31 -183
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +127 -170
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  183. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  200. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  202. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  204. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  208. package/contracts/components/Component.sol +251 -0
  209. package/contracts/components/Distribution.sol +200 -83
  210. package/contracts/components/IComponent.sol +74 -0
  211. package/contracts/components/IDistributionComponent.sol +44 -17
  212. package/contracts/components/IPoolComponent.sol +88 -41
  213. package/contracts/components/IProductComponent.sol +10 -5
  214. package/contracts/components/Pool.sol +210 -178
  215. package/contracts/components/Product.sol +125 -121
  216. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  217. package/contracts/instance/BundleManager.sol +14 -16
  218. package/contracts/instance/Cloneable.sol +7 -2
  219. package/contracts/instance/IInstance.sol +56 -14
  220. package/contracts/instance/IInstanceService.sol +42 -4
  221. package/contracts/instance/Instance.sol +133 -260
  222. package/contracts/instance/InstanceAccessManager.sol +410 -176
  223. package/contracts/instance/InstanceReader.sol +9 -34
  224. package/contracts/instance/InstanceService.sol +390 -159
  225. package/contracts/instance/InstanceServiceManager.sol +6 -9
  226. package/contracts/instance/ObjectManager.sol +10 -29
  227. package/contracts/instance/base/ComponentService.sol +134 -0
  228. package/contracts/instance/base/KeyValueStore.sol +5 -2
  229. package/contracts/instance/base/Lifecycle.sol +11 -2
  230. package/contracts/instance/module/IAccess.sol +36 -20
  231. package/contracts/instance/module/IBundle.sol +2 -1
  232. package/contracts/instance/module/IComponents.sol +35 -0
  233. package/contracts/instance/module/IDistribution.sol +2 -0
  234. package/contracts/instance/module/IPolicy.sol +30 -3
  235. package/contracts/instance/module/ISetup.sol +7 -20
  236. package/contracts/instance/service/ApplicationService.sol +350 -0
  237. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  238. package/contracts/instance/service/BundleService.sol +336 -0
  239. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  240. package/contracts/instance/service/ClaimService.sol +151 -0
  241. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  242. package/contracts/instance/service/DistributionService.sol +408 -29
  243. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  244. package/contracts/instance/service/IApplicationService.sol +82 -0
  245. package/contracts/instance/service/IBundleService.sol +62 -0
  246. package/contracts/instance/service/IClaimService.sol +61 -0
  247. package/contracts/instance/service/IDistributionService.sol +86 -0
  248. package/contracts/instance/service/IPolicyService.sol +72 -0
  249. package/contracts/instance/service/IPoolService.sol +19 -35
  250. package/contracts/instance/service/IProductService.sol +2 -72
  251. package/contracts/instance/service/PolicyService.sol +403 -0
  252. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  253. package/contracts/instance/service/PoolService.sol +139 -206
  254. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  255. package/contracts/instance/service/ProductService.sol +131 -460
  256. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  257. package/contracts/registry/ChainNft.sol +9 -1
  258. package/contracts/registry/IRegistry.sol +39 -19
  259. package/contracts/registry/IRegistryService.sol +30 -13
  260. package/contracts/registry/ITransferInterceptor.sol +1 -0
  261. package/contracts/registry/Registry.sol +243 -224
  262. package/contracts/registry/RegistryAccessManager.sol +216 -0
  263. package/contracts/registry/RegistryService.sol +96 -171
  264. package/contracts/registry/RegistryServiceManager.sol +21 -39
  265. package/contracts/registry/ReleaseManager.sol +322 -0
  266. package/contracts/registry/TokenRegistry.sol +22 -17
  267. package/contracts/shared/ERC165.sol +14 -12
  268. package/contracts/shared/INftOwnable.sol +11 -10
  269. package/contracts/shared/IPolicyHolder.sol +26 -0
  270. package/contracts/shared/IRegisterable.sol +4 -6
  271. package/contracts/shared/IRegistryLinked.sol +12 -0
  272. package/contracts/shared/IService.sol +4 -1
  273. package/contracts/shared/IVersionable.sol +4 -47
  274. package/contracts/shared/NftOwnable.sol +66 -80
  275. package/contracts/shared/PolicyHolder.sol +81 -0
  276. package/contracts/shared/ProxyManager.sol +100 -25
  277. package/contracts/shared/Registerable.sol +16 -32
  278. package/contracts/shared/RegistryLinked.sol +48 -0
  279. package/contracts/shared/Service.sol +25 -22
  280. package/contracts/shared/TokenHandler.sol +11 -5
  281. package/contracts/shared/Versionable.sol +4 -92
  282. package/contracts/test/TestRegisterable.sol +1 -1
  283. package/contracts/test/TestService.sol +4 -3
  284. package/contracts/types/Blocknumber.sol +1 -0
  285. package/contracts/types/ClaimId.sol +52 -0
  286. package/contracts/types/DistributorType.sol +2 -2
  287. package/contracts/types/Fee.sol +1 -0
  288. package/contracts/types/NftId.sol +8 -0
  289. package/contracts/types/ObjectType.sol +10 -5
  290. package/contracts/types/PayoutId.sol +54 -0
  291. package/contracts/types/Referral.sol +4 -0
  292. package/contracts/types/RoleId.sol +26 -19
  293. package/contracts/types/Seconds.sol +54 -0
  294. package/contracts/types/StateId.sol +1 -0
  295. package/contracts/types/Timestamp.sol +13 -13
  296. package/contracts/types/UFixed.sol +1 -0
  297. package/contracts/types/Version.sol +1 -0
  298. package/package.json +3 -3
  299. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  300. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  301. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -368
  302. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  303. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  308. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  310. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  312. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  314. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  316. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  318. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  320. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  324. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  327. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  329. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  333. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  335. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  337. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  339. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  341. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  342. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  343. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  345. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  346. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  347. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  348. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  350. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  351. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  352. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  353. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  354. package/contracts/components/BaseComponent.sol +0 -132
  355. package/contracts/components/IBaseComponent.sol +0 -31
  356. package/contracts/experiment/cloning/Cloner.sol +0 -47
  357. package/contracts/experiment/errors/Require.sol +0 -38
  358. package/contracts/experiment/errors/Revert.sol +0 -44
  359. package/contracts/experiment/inheritance/A.sol +0 -53
  360. package/contracts/experiment/inheritance/B.sol +0 -28
  361. package/contracts/experiment/inheritance/C.sol +0 -34
  362. package/contracts/experiment/inheritance/IA.sol +0 -13
  363. package/contracts/experiment/inheritance/IB.sol +0 -10
  364. package/contracts/experiment/inheritance/IC.sol +0 -12
  365. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  366. package/contracts/experiment/statemachine/ISM.sol +0 -25
  367. package/contracts/experiment/statemachine/SM.sol +0 -57
  368. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  369. package/contracts/experiment/types/TypeA.sol +0 -47
  370. package/contracts/experiment/types/TypeB.sol +0 -29
  371. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  372. package/contracts/instance/IInstanceBase.sol +0 -26
  373. package/contracts/instance/InstanceBase.sol +0 -41
  374. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  375. package/contracts/instance/base/IInstanceBase.sol +0 -23
  376. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  377. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  378. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,130 +6,173 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
9
+ "internalType": "address",
10
+ "name": "component",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
12
17
  }
13
18
  ],
14
- "name": "ComponentTypeInvalid",
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
15
20
  "type": "error"
16
21
  },
17
22
  {
18
23
  "inputs": [
19
24
  {
20
25
  "internalType": "address",
21
- "name": "registry",
26
+ "name": "component",
22
27
  "type": "address"
23
- },
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
24
35
  {
25
36
  "internalType": "NftId",
26
- "name": "nftId",
37
+ "name": "instanceNftId",
27
38
  "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "sender",
48
+ "type": "address"
28
49
  }
29
50
  ],
30
- "name": "ErrorAlreadyLinked",
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
31
52
  "type": "error"
32
53
  },
33
54
  {
34
55
  "inputs": [
35
56
  {
36
57
  "internalType": "address",
37
- "name": "contractAddress",
58
+ "name": "component",
38
59
  "type": "address"
60
+ },
61
+ {
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
39
70
  }
40
71
  ],
41
- "name": "ErrorContractNotRegistered",
72
+ "name": "ErrorComponentServiceInvalidType",
42
73
  "type": "error"
43
74
  },
44
75
  {
45
76
  "inputs": [
46
77
  {
47
78
  "internalType": "address",
48
- "name": "customer",
79
+ "name": "component",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorComponentServiceNotComponent",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "component",
49
91
  "type": "address"
50
92
  },
51
93
  {
52
94
  "internalType": "address",
53
- "name": "tokenHandlerAddress",
95
+ "name": "initialOwner",
54
96
  "type": "address"
55
97
  },
56
98
  {
57
- "internalType": "uint256",
58
- "name": "amount",
59
- "type": "uint256"
99
+ "internalType": "address",
100
+ "name": "sender",
101
+ "type": "address"
60
102
  }
61
103
  ],
62
- "name": "ErrorIProductServiceInsufficientAllowance",
104
+ "name": "ErrorComponentServiceSenderNotOwner",
63
105
  "type": "error"
64
106
  },
65
107
  {
66
108
  "inputs": [
67
109
  {
68
110
  "internalType": "address",
69
- "name": "account",
111
+ "name": "target",
70
112
  "type": "address"
71
113
  }
72
114
  ],
73
- "name": "ErrorNotOwner",
115
+ "name": "ErrorIAccessTargetLocked",
74
116
  "type": "error"
75
117
  },
76
118
  {
77
119
  "inputs": [
78
120
  {
79
121
  "internalType": "address",
80
- "name": "registryAddress",
122
+ "name": "caller",
81
123
  "type": "address"
82
124
  }
83
125
  ],
84
- "name": "ErrorNotRegistry",
126
+ "name": "ErrorIServiceCallerUnknown",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "NftId",
133
+ "name": "nftId",
134
+ "type": "uint96"
135
+ }
136
+ ],
137
+ "name": "ErrorNftOwnableAlreadyLinked",
85
138
  "type": "error"
86
139
  },
87
140
  {
88
141
  "inputs": [
89
142
  {
90
143
  "internalType": "address",
91
- "name": "registryAddress",
144
+ "name": "contractAddress",
92
145
  "type": "address"
93
146
  }
94
147
  ],
95
- "name": "ErrorRegisterableNotRegistry",
148
+ "name": "ErrorNftOwnableContractNotRegistered",
96
149
  "type": "error"
97
150
  },
98
151
  {
99
152
  "inputs": [],
100
- "name": "ErrorRegistryAddressZero",
153
+ "name": "ErrorNftOwnableInitialOwnerZero",
101
154
  "type": "error"
102
155
  },
103
156
  {
104
157
  "inputs": [
105
158
  {
106
159
  "internalType": "address",
107
- "name": "registry",
160
+ "name": "account",
108
161
  "type": "address"
109
162
  }
110
163
  ],
111
- "name": "ErrorRegistryAlreadyInitialized",
112
- "type": "error"
113
- },
114
- {
115
- "inputs": [],
116
- "name": "ErrorRegistryNotInitialized",
164
+ "name": "ErrorNftOwnableNotOwner",
117
165
  "type": "error"
118
166
  },
119
167
  {
120
168
  "inputs": [
121
- {
122
- "internalType": "RoleId",
123
- "name": "expected",
124
- "type": "uint64"
125
- },
126
169
  {
127
170
  "internalType": "address",
128
- "name": "caller",
171
+ "name": "registryAddress",
129
172
  "type": "address"
130
173
  }
131
174
  ],
132
- "name": "ExpectedRoleMissing",
175
+ "name": "ErrorNotRegistry",
133
176
  "type": "error"
134
177
  },
135
178
  {
@@ -168,39 +211,14 @@
168
211
  "name": "LogProductServiceSender",
169
212
  "type": "event"
170
213
  },
171
- {
172
- "anonymous": false,
173
- "inputs": [
174
- {
175
- "indexed": false,
176
- "internalType": "Version",
177
- "name": "version",
178
- "type": "uint24"
179
- },
180
- {
181
- "indexed": false,
182
- "internalType": "address",
183
- "name": "implementation",
184
- "type": "address"
185
- },
186
- {
187
- "indexed": false,
188
- "internalType": "address",
189
- "name": "activatedBy",
190
- "type": "address"
191
- }
192
- ],
193
- "name": "LogVersionableInitialized",
194
- "type": "event"
195
- },
196
214
  {
197
215
  "inputs": [],
198
- "name": "NAME",
216
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
199
217
  "outputs": [
200
218
  {
201
- "internalType": "string",
219
+ "internalType": "bytes32",
202
220
  "name": "",
203
- "type": "string"
221
+ "type": "bytes32"
204
222
  }
205
223
  ],
206
224
  "stateMutability": "view",
@@ -219,24 +237,6 @@
219
237
  "stateMutability": "view",
220
238
  "type": "function"
221
239
  },
222
- {
223
- "inputs": [
224
- {
225
- "internalType": "NftId",
226
- "name": "policyNftId",
227
- "type": "uint96"
228
- },
229
- {
230
- "internalType": "Timestamp",
231
- "name": "activateAt",
232
- "type": "uint40"
233
- }
234
- ],
235
- "name": "activate",
236
- "outputs": [],
237
- "stateMutability": "nonpayable",
238
- "type": "function"
239
- },
240
240
  {
241
241
  "inputs": [
242
242
  {
@@ -244,183 +244,28 @@
244
244
  "name": "riskId",
245
245
  "type": "bytes8"
246
246
  },
247
- {
248
- "internalType": "uint256",
249
- "name": "sumInsuredAmount",
250
- "type": "uint256"
251
- },
252
- {
253
- "internalType": "uint256",
254
- "name": "lifetime",
255
- "type": "uint256"
256
- },
257
247
  {
258
248
  "internalType": "bytes",
259
- "name": "applicationData",
249
+ "name": "data",
260
250
  "type": "bytes"
261
- },
262
- {
263
- "internalType": "NftId",
264
- "name": "bundleNftId",
265
- "type": "uint96"
266
- },
267
- {
268
- "internalType": "ReferralId",
269
- "name": "referralId",
270
- "type": "bytes8"
271
- }
272
- ],
273
- "name": "calculatePremium",
274
- "outputs": [
275
- {
276
- "internalType": "uint256",
277
- "name": "premiumAmount",
278
- "type": "uint256"
279
- },
280
- {
281
- "internalType": "uint256",
282
- "name": "productFeeAmount",
283
- "type": "uint256"
284
- },
285
- {
286
- "internalType": "uint256",
287
- "name": "poolFeeAmount",
288
- "type": "uint256"
289
- },
290
- {
291
- "internalType": "uint256",
292
- "name": "bundleFeeAmount",
293
- "type": "uint256"
294
- },
295
- {
296
- "internalType": "uint256",
297
- "name": "distributionFeeAmount",
298
- "type": "uint256"
299
- }
300
- ],
301
- "stateMutability": "view",
302
- "type": "function"
303
- },
304
- {
305
- "inputs": [
306
- {
307
- "internalType": "UFixed",
308
- "name": "collateralizationLevel",
309
- "type": "uint256"
310
- },
311
- {
312
- "internalType": "uint256",
313
- "name": "sumInsuredAmount",
314
- "type": "uint256"
315
251
  }
316
252
  ],
317
- "name": "calculateRequiredCollateral",
318
- "outputs": [
319
- {
320
- "internalType": "uint256",
321
- "name": "collateralAmount",
322
- "type": "uint256"
323
- }
324
- ],
325
- "stateMutability": "pure",
326
- "type": "function"
327
- },
328
- {
329
- "inputs": [
330
- {
331
- "internalType": "NftId",
332
- "name": "policyNftId",
333
- "type": "uint96"
334
- }
335
- ],
336
- "name": "close",
337
- "outputs": [],
338
- "stateMutability": "nonpayable",
339
- "type": "function"
340
- },
341
- {
342
- "inputs": [
343
- {
344
- "internalType": "NftId",
345
- "name": "policyNftId",
346
- "type": "uint96"
347
- },
348
- {
349
- "internalType": "Timestamp",
350
- "name": "activateAt",
351
- "type": "uint40"
352
- }
353
- ],
354
- "name": "collectPremium",
253
+ "name": "createRisk",
355
254
  "outputs": [],
356
255
  "stateMutability": "nonpayable",
357
256
  "type": "function"
358
257
  },
359
258
  {
360
- "inputs": [
361
- {
362
- "internalType": "address",
363
- "name": "applicationOwner",
364
- "type": "address"
365
- },
366
- {
367
- "internalType": "RiskId",
368
- "name": "riskId",
369
- "type": "bytes8"
370
- },
371
- {
372
- "internalType": "uint256",
373
- "name": "sumInsuredAmount",
374
- "type": "uint256"
375
- },
376
- {
377
- "internalType": "uint256",
378
- "name": "lifetime",
379
- "type": "uint256"
380
- },
381
- {
382
- "internalType": "bytes",
383
- "name": "applicationData",
384
- "type": "bytes"
385
- },
386
- {
387
- "internalType": "NftId",
388
- "name": "bundleNftId",
389
- "type": "uint96"
390
- },
391
- {
392
- "internalType": "ReferralId",
393
- "name": "referralId",
394
- "type": "bytes8"
395
- }
396
- ],
397
- "name": "createApplication",
259
+ "inputs": [],
260
+ "name": "getDomain",
398
261
  "outputs": [
399
262
  {
400
- "internalType": "NftId",
401
- "name": "policyNftId",
402
- "type": "uint96"
403
- }
404
- ],
405
- "stateMutability": "nonpayable",
406
- "type": "function"
407
- },
408
- {
409
- "inputs": [
410
- {
411
- "internalType": "RiskId",
412
- "name": "riskId",
413
- "type": "bytes8"
414
- },
415
- {
416
- "internalType": "bytes",
417
- "name": "data",
418
- "type": "bytes"
263
+ "internalType": "ObjectType",
264
+ "name": "",
265
+ "type": "uint8"
419
266
  }
420
267
  ],
421
- "name": "createRisk",
422
- "outputs": [],
423
- "stateMutability": "nonpayable",
268
+ "stateMutability": "pure",
424
269
  "type": "function"
425
270
  },
426
271
  {
@@ -466,26 +311,8 @@
466
311
  }
467
312
  ],
468
313
  "internalType": "struct IRegistry.ObjectInfo",
469
- "name": "",
314
+ "name": "info",
470
315
  "type": "tuple"
471
- },
472
- {
473
- "internalType": "bytes",
474
- "name": "data",
475
- "type": "bytes"
476
- }
477
- ],
478
- "stateMutability": "view",
479
- "type": "function"
480
- },
481
- {
482
- "inputs": [],
483
- "name": "getInitializedVersion",
484
- "outputs": [
485
- {
486
- "internalType": "uint64",
487
- "name": "",
488
- "type": "uint64"
489
316
  }
490
317
  ],
491
318
  "stateMutability": "view",
@@ -519,25 +346,25 @@
519
346
  },
520
347
  {
521
348
  "inputs": [],
522
- "name": "getName",
349
+ "name": "getNftId",
523
350
  "outputs": [
524
351
  {
525
- "internalType": "string",
526
- "name": "name",
527
- "type": "string"
352
+ "internalType": "NftId",
353
+ "name": "",
354
+ "type": "uint96"
528
355
  }
529
356
  ],
530
- "stateMutability": "pure",
357
+ "stateMutability": "view",
531
358
  "type": "function"
532
359
  },
533
360
  {
534
361
  "inputs": [],
535
- "name": "getNftId",
362
+ "name": "getOwner",
536
363
  "outputs": [
537
364
  {
538
- "internalType": "NftId",
365
+ "internalType": "address",
539
366
  "name": "",
540
- "type": "uint96"
367
+ "type": "address"
541
368
  }
542
369
  ],
543
370
  "stateMutability": "view",
@@ -545,10 +372,10 @@
545
372
  },
546
373
  {
547
374
  "inputs": [],
548
- "name": "getOwner",
375
+ "name": "getRegistry",
549
376
  "outputs": [
550
377
  {
551
- "internalType": "address",
378
+ "internalType": "contract IRegistry",
552
379
  "name": "",
553
380
  "type": "address"
554
381
  }
@@ -558,10 +385,10 @@
558
385
  },
559
386
  {
560
387
  "inputs": [],
561
- "name": "getRegistry",
388
+ "name": "getRegistryAddress",
562
389
  "outputs": [
563
390
  {
564
- "internalType": "contract IRegistry",
391
+ "internalType": "address",
565
392
  "name": "",
566
393
  "type": "address"
567
394
  }
@@ -595,103 +422,96 @@
595
422
  "stateMutability": "pure",
596
423
  "type": "function"
597
424
  },
425
+ {
426
+ "inputs": [],
427
+ "name": "initializeERC165",
428
+ "outputs": [],
429
+ "stateMutability": "nonpayable",
430
+ "type": "function"
431
+ },
598
432
  {
599
433
  "inputs": [
600
434
  {
601
- "internalType": "uint256",
602
- "name": "idx",
603
- "type": "uint256"
604
- }
605
- ],
606
- "name": "getVersion",
607
- "outputs": [
435
+ "internalType": "address",
436
+ "name": "initialOwner",
437
+ "type": "address"
438
+ },
608
439
  {
609
- "internalType": "Version",
610
- "name": "",
611
- "type": "uint24"
440
+ "internalType": "address",
441
+ "name": "registryAddress",
442
+ "type": "address"
612
443
  }
613
444
  ],
614
- "stateMutability": "view",
445
+ "name": "initializeNftOwnable",
446
+ "outputs": [],
447
+ "stateMutability": "nonpayable",
615
448
  "type": "function"
616
449
  },
617
450
  {
618
- "inputs": [],
619
- "name": "getVersionCount",
620
- "outputs": [
451
+ "inputs": [
621
452
  {
622
- "internalType": "uint256",
623
- "name": "",
624
- "type": "uint256"
453
+ "internalType": "address",
454
+ "name": "registryAddress",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "internalType": "NftId",
459
+ "name": "parentNftId",
460
+ "type": "uint96"
461
+ },
462
+ {
463
+ "internalType": "ObjectType",
464
+ "name": "objectType",
465
+ "type": "uint8"
466
+ },
467
+ {
468
+ "internalType": "bool",
469
+ "name": "isInterceptor",
470
+ "type": "bool"
471
+ },
472
+ {
473
+ "internalType": "address",
474
+ "name": "initialOwner",
475
+ "type": "address"
476
+ },
477
+ {
478
+ "internalType": "bytes",
479
+ "name": "registryData",
480
+ "type": "bytes"
625
481
  }
626
482
  ],
627
- "stateMutability": "view",
483
+ "name": "initializeRegisterable",
484
+ "outputs": [],
485
+ "stateMutability": "nonpayable",
628
486
  "type": "function"
629
487
  },
630
488
  {
631
489
  "inputs": [
632
490
  {
633
- "internalType": "Version",
634
- "name": "_version",
635
- "type": "uint24"
636
- }
637
- ],
638
- "name": "getVersionInfo",
639
- "outputs": [
640
- {
641
- "components": [
642
- {
643
- "internalType": "Version",
644
- "name": "version",
645
- "type": "uint24"
646
- },
647
- {
648
- "internalType": "address",
649
- "name": "implementation",
650
- "type": "address"
651
- },
652
- {
653
- "internalType": "address",
654
- "name": "activatedBy",
655
- "type": "address"
656
- },
657
- {
658
- "internalType": "Timestamp",
659
- "name": "activatedAt",
660
- "type": "uint40"
661
- },
662
- {
663
- "internalType": "Blocknumber",
664
- "name": "activatedIn",
665
- "type": "uint32"
666
- }
667
- ],
668
- "internalType": "struct IVersionable.VersionInfo",
669
- "name": "",
670
- "type": "tuple"
491
+ "internalType": "address",
492
+ "name": "registryAddress",
493
+ "type": "address"
671
494
  }
672
495
  ],
673
- "stateMutability": "view",
496
+ "name": "initializeRegistryLinked",
497
+ "outputs": [],
498
+ "stateMutability": "nonpayable",
674
499
  "type": "function"
675
500
  },
676
501
  {
677
502
  "inputs": [
678
503
  {
679
504
  "internalType": "address",
680
- "name": "implementation",
505
+ "name": "registry",
681
506
  "type": "address"
682
507
  },
683
508
  {
684
509
  "internalType": "address",
685
- "name": "activatedBy",
510
+ "name": "initialOwner",
686
511
  "type": "address"
687
- },
688
- {
689
- "internalType": "bytes",
690
- "name": "data",
691
- "type": "bytes"
692
512
  }
693
513
  ],
694
- "name": "initialize",
514
+ "name": "initializeService",
695
515
  "outputs": [],
696
516
  "stateMutability": "nonpayable",
697
517
  "type": "function"
@@ -699,20 +519,19 @@
699
519
  {
700
520
  "inputs": [
701
521
  {
702
- "internalType": "Version",
703
- "name": "_version",
704
- "type": "uint24"
705
- }
706
- ],
707
- "name": "isInitialized",
708
- "outputs": [
522
+ "internalType": "address",
523
+ "name": "activatedBy",
524
+ "type": "address"
525
+ },
709
526
  {
710
- "internalType": "bool",
711
- "name": "",
712
- "type": "bool"
527
+ "internalType": "bytes",
528
+ "name": "data",
529
+ "type": "bytes"
713
530
  }
714
531
  ],
715
- "stateMutability": "view",
532
+ "name": "initializeVersionable",
533
+ "outputs": [],
534
+ "stateMutability": "nonpayable",
716
535
  "type": "function"
717
536
  },
718
537
  {
@@ -726,7 +545,7 @@
726
545
  "inputs": [
727
546
  {
728
547
  "internalType": "address",
729
- "name": "componentAddress",
548
+ "name": "productAddress",
730
549
  "type": "address"
731
550
  }
732
551
  ],
@@ -734,7 +553,7 @@
734
553
  "outputs": [
735
554
  {
736
555
  "internalType": "NftId",
737
- "name": "componentNftId",
556
+ "name": "productNftId",
738
557
  "type": "uint96"
739
558
  }
740
559
  ],
@@ -744,12 +563,12 @@
744
563
  {
745
564
  "inputs": [
746
565
  {
747
- "internalType": "NftId",
748
- "name": "policyNftId",
749
- "type": "uint96"
566
+ "internalType": "bytes4",
567
+ "name": "interfaceId",
568
+ "type": "bytes4"
750
569
  }
751
570
  ],
752
- "name": "revoke",
571
+ "name": "registerInterface",
753
572
  "outputs": [],
754
573
  "stateMutability": "nonpayable",
755
574
  "type": "function"
@@ -815,29 +634,6 @@
815
634
  "stateMutability": "view",
816
635
  "type": "function"
817
636
  },
818
- {
819
- "inputs": [
820
- {
821
- "internalType": "NftId",
822
- "name": "policyNftId",
823
- "type": "uint96"
824
- },
825
- {
826
- "internalType": "bool",
827
- "name": "requirePremiumPayment",
828
- "type": "bool"
829
- },
830
- {
831
- "internalType": "Timestamp",
832
- "name": "activateAt",
833
- "type": "uint40"
834
- }
835
- ],
836
- "name": "underwrite",
837
- "outputs": [],
838
- "stateMutability": "nonpayable",
839
- "type": "function"
840
- },
841
637
  {
842
638
  "inputs": [
843
639
  {
@@ -876,80 +672,34 @@
876
672
  },
877
673
  {
878
674
  "inputs": [
879
- {
880
- "internalType": "address",
881
- "name": "implementation",
882
- "type": "address"
883
- },
884
- {
885
- "internalType": "address",
886
- "name": "activatedBy",
887
- "type": "address"
888
- },
889
675
  {
890
676
  "internalType": "bytes",
891
677
  "name": "data",
892
678
  "type": "bytes"
893
679
  }
894
680
  ],
895
- "name": "upgrade",
681
+ "name": "upgradeVersionable",
896
682
  "outputs": [],
897
683
  "stateMutability": "nonpayable",
898
684
  "type": "function"
899
685
  }
900
686
  ],
901
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615b02806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063644c45e01161011a578063b3c65015116100ad578063c2c749871161007c578063c2c7498714610613578063caf4e3d414610626578063cc9fc59a1461062e578063cde749f414610636578063cf7a1d771461065057600080fd5b8063b3c65015146105ba578063b6b412ba146105da578063b88da759146105ed578063bbfbbfba1461060057600080fd5b8063946dfcfe116100e9578063946dfcfe146105185780639cdaa7f91461053f578063a3f4df7e1461057a578063a745e3df146105a757600080fd5b8063644c45e0146104d25780637cef4842146104ea578063893d20e8146104fd5780638f997f6d1461050557600080fd5b80634420e486116101925780635ab1bd53116101615780635ab1bd53146104745780635fd1a5f514610499578063603ccaad146104ac578063630361f6146104bf57600080fd5b80634420e4861461030a5780634d459c90146103355780634d5e16a91461044e5780634f4213331461046157600080fd5b80630fec111c116101ce5780630fec111c14610284578063138461e01461029a57806317d7de7c146102a25780631eff4b22146102d557600080fd5b806301ffc9a714610200578063095e2b72146102425780630aaba8e8146102575780630d8e6e2c14610268575b600080fd5b61022d61020e3660046145a6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61025561025036600461475c565b610663565b005b6102556102653660046147c0565b50565b6102706106fc565b60405162ffffff9091168152602001610239565b61028c610786565b60405161023992919061489e565b6102556108d9565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b60405161023991906148cc565b6102fc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61031d6103183660046148f4565b610afb565b6040516001600160601b039091168152602001610239565b6103f1610343366004614922565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020615aad83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61025561045c366004614952565b610e62565b61022d61046f366004614922565b611126565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b6102fc6104a736600461498b565b6111d9565b6102556104ba3660046147c0565b6112e2565b6102556104cd3660046149bb565b611334565b600154600160a01b90046001600160601b031661031d565b6102556104f8366004614a15565b6118b3565b610481611934565b61025561051336600461475c565b611a4e565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102fc565b61055261054d366004614a43565b611b78565b604080519586526020860194909452928401919091526060830152608082015260a001610239565b6102c86040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b6102556105b5366004614acb565b611c56565b6105c2611db0565b6040516001600160401b039091168152602001610239565b6102556105e8366004614b5c565b611dd1565b6102706105fb366004614b91565b611f3e565b61025561060e366004614952565b611f8f565b61031d610621366004614baa565b61200c565b6104816122c4565b610481612379565b61063e6123f1565b60405160ff9091168152602001610239565b61025561065e366004614acb565b612474565b600080610670606e61257d565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a906106c29089908590600401614c6e565b600060405180830381600087803b1580156106dc57600080fd5b505af11580156106f0573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190614c93565b905090565b61078e6144ea565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107da6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610822611934565b6001600160a01b0316815260200182600101805461083f90614cb0565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90614cb0565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561093b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190614cfa565b156109a6576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109cf5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3c9190614cfa565b610a64576040516372657a5160e01b81526001600160a01b038216600482015260240161099d565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190614d22565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000818082610b098261283b565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b929190614d3f565b9050610b9c612379565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190614d22565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610c70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c949190614cfa565b610ccb576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b038316602482015260440161099d565b33886000610cd88261283b565b90506000610ce46122c4565b9050610cee6144ea565b6060610d028460785b60ff90811691161490565b15610d8a57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610d58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d809190810190614e64565b9092509050610e34565b610d9584606e610cf7565b15610dd057604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610d39565b610ddb84608c610cf7565b15610e1657604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610d39565b60405163062839b560e01b815260ff8516600482015260240161099d565b81519c506000610e43836128b0565b9050610e508e8383612952565b50505050505050505050505050919050565b6000610e6e606e61257d565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190614d3f565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610f28573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f509190810190614ee5565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd49190614cfa565b6110205760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161099d565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561108b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110af9190615059565b64ffffffffff166101c0820152604051634d4b06a960e11b81526001600160a01b03841690639a960d52906110ed90889085906064906004016151a5565b600060405180830381600087803b15801561110757600080fd5b505af115801561111b573d6000803e3d6000fd5b505050505050505050565b600080600080516020615aad83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156111ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d291906151da565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af415801561122e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125291906151da565b9050600061126085836129c7565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156112b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d791906151da565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161099d565b600080611341606e61257d565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a99190614d3f565b835160405163bd7d9d8560e01b81526001600160601b0389166004820152919250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa1580156113ff573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114279190810190614ee5565b80519091506001600160601b038381169116146114865760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161099d565b604051639096a1f360e01b81526001600160601b0389166004820152611502906001600160a01b03851690639096a1f390602401602060405180830381865afa1580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb91906151f3565b600a610cf7565b61154e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161099d565b6000611558614528565b60405163242bdc1960e21b81526001600160601b0385166004820152600090819081906001600160a01b038916906390af70649060240161024060405180830381865afa1580156115ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d19190615240565b90506115db614528565b6115e78a8a89856129e3565b91975090945061160092508a9150869050858f86612b66565b925061160f8885858f86612b66565b9250602864ffffffffff8b16156116c257606464ffffffffff8c166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b49190615059565b64ffffffffff166101c08701525b8b156116f8576116dc898b600001518f8960a00151612b8d565b91508560a001518660c0018181516116f49190615337565b9052505b600560009054906101000a90046001600160a01b03166001600160a01b03166332e6f9228a8f8887876040518663ffffffff1660e01b81526004016117769594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b600060405180830381600087803b15801561179057600080fd5b505af11580156117a4573d6000803e3d6000fd5b50505050886001600160a01b0316639a960d528e88846040518463ffffffff1660e01b81526004016117d8939291906151a5565b600060405180830381600087803b1580156117f257600080fd5b505af1158015611806573d6000803e3d6000fd5b505085516040516355e343a960e01b81526001600160601b039091166004820152600092506001600160a01b038b1691506355e343a99060240161018060405180830381865afa15801561185e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118829190615358565b90508060e00151156118a3576118a385600001518f89886040015188613145565b5050505050505050505050505050565b60006118bf606e61257d565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b15801561191757600080fd5b505af115801561192b573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bd9190614cfa565b15611a3e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015611a1a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190614d3f565b506002546001600160a01b031690565b6000611a5a606e61257d565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac19190614d3f565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611b15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b3d919081019061540d565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110ed908890859060ff9060040161548c565b600080600080600080611b8961320f565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611bbf94939291906154b1565b602060405180830381865afa158015611bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0091906151da565b9050611c0e81838b8b61322e565b92985090965094509250611c228682615337565b9650611c2e8486615337565b611c389088615337565b9650611c448388615337565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611c786106fc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cdc9190615501565b600080516020615a8d8339815191528054600160401b900460ff1680611d0f575080546001600160401b03808416911610155b15611d2d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611d5885856138c7565b611d6183613b66565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610781600080516020615a8d833981519152546001600160401b031690565b600080611dde606e61257d565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e469190614d3f565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161024060405180830381865afa158015611e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec19190615240565b60a0810188905260c081018790526040516354e750a160e11b81529091506001600160a01b0385169063a9cea14290611f03908590859060ff90600401615644565b600060405180830381600087803b158015611f1d57600080fd5b505af1158015611f31573d6000803e3d6000fd5b5050505050505050505050565b6000600080516020615aad8339815191526001018281548110611f6357611f63615674565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611f9c606e61257d565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fe0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120049190614d3f565b505050505050565b6000808061201a606e61257d565b915091506120266122c4565b6001600160a01b0316635c992fed6040518060e00160405280612047600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016120c0919061568a565b6020604051808303816000875af11580156120df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121039190614d22565b925060006121158a8a8a8a8a8a611b78565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff168152602001600081526020016121c4600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d40009061220a908890859060040161569d565b600060405180830381600087803b15801561222457600080fd5b505af1158015612238573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc86612254600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561229d57600080fd5b505af11580156122b1573d6000803e3d6000fd5b5050505050505050979650505050505050565b6000806122d96001546001600160a01b031690565b6001600160a01b031663a3bcd81d6122ef6123f1565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015612355573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc9190614d3f565b600061238d6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6123a36123f1565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff90911660248201526084016119fd565b60006123fb6106fc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612450573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078191906151f3565b600080516020615a8d8339815191528054600160401b810460ff1615906001600160401b03166000811580156124a75750825b90506000826001600160401b031660011480156124c35750303b155b9050811580156124d1575080155b156124ef5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561251957845460ff60401b1916600160401b1785555b61252388886138c7565b61252d8787613b6e565b831561257357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6125856144ea565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156125d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f69190614d22565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612651573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126759190614cfa565b6126c15760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161099d565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561271c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261274491908101906156bf565b925061275a83604001518560ff90811691161490565b61279c5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161099d565b60006127b06001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612805573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261282d91908101906156bf565b608001519395939450505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561287c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128a49190810190614e64565b50604001519392505050565b6000806128c56001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561291e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261294691908101906156bf565b60800151949350505050565b6000828060200190518101906129689190615240565b6040516348ffb75560e11b81529091506001600160a01b038316906391ff6eaa9061299990879085906004016156f3565b600060405180830381600087803b1580156129b357600080fd5b505af1158015612573573d6000803e3d6000fd5b60006129dc8383670de0b6b3a7640000613d80565b9392505050565b60006129ed614528565b6020840151604051634793b4ab60e01b81526001600160601b03821660048201529092506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa158015612a45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a6d9190810190615711565b805160608601519193506001600160601b03908116911614612aca5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161099d565b60608401516040516355e343a960e01b81526001600160601b03821660048201526000906001600160a01b038916906355e343a99060240161018060405180830381865afa158015612b20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b449190615358565b9050612b58816040015188608001516111d9565b925050509450945094915050565b612b6e614528565b8184608001818151612b809190615337565b9052509295945050505050565b6000811561313d576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf99190614d3f565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015612c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6d9190615240565b60208101519091506000612c896001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cfc9190614d3f565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d629190614d3f565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a99060240161018060405180830381865afa158015612db8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ddc9190615358565b61010081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290612e269084906004016157e2565b602060405180830381865af4158015612e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e679190614cfa565b15612ed3576040516317d5759960e31b81526001600160a01b0386169063beabacc890612e9c90879086908d906004016157f9565b600060405180830381600087803b158015612eb657600080fd5b505af1158015612eca573d6000803e3d6000fd5b50505050613136565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f62919061581d565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd39190614d3f565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613023573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304791906151da565b101561306c5786888c6040516333ac6f1760e11b815260040161099d939291906157f9565b6040516317d5759960e31b81526001600160a01b0389169063beabacc89061309c908a90859088906004016157f9565b600060405180830381600087803b1580156130b657600080fd5b505af11580156130ca573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc891506130fe908a90899087906004016157f9565b600060405180830381600087803b15801561311857600080fd5b505af115801561312c573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b60006131596001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156131a8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526131d091908101906156bf565b608001516101008501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611f03918a9189908990600401615841565b60006132196144ea565b613223606e61257d565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015613275573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132999190614d3f565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132fd9190614d3f565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015613340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133649190614d22565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156133b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133df9190810190615711565b80519091506001600160601b038381169116146134495760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161099d565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613497573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134bb9190614d22565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015613500573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135249190615240565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561358d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135b1919061581d565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a99060240161018060405180830381865afa158015613607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061362b9190615358565b606081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136b8919061581d565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137229190614d22565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160c060405180830381865afa158015613775573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137999190615887565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613802573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613826919061581d565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af4158015613890573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138b4919061581d565b5080955050505050945094509450949050565b6138cf613e69565b600080516020615aad83398151915260006138ff600080516020615a8d833981519152546001600160401b031690565b9050600061390b6106fc565b9050816001600160401b03166001036139385760028301805462ffffff191662ffffff8316179055613986565b600283015462ffffff908116908216116139865760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161099d565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015613a3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a5e9190615059565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890611da19083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb613e69565b600080516020615a8d8339815191528054600160401b810460ff1615906001600160401b0316600081158015613ba15750825b90506000826001600160401b03166001148015613bbd5750303b155b905081158015613bcb575080155b15613be95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613c1357845460ff60401b1916600160401b1785555b600086806020019051810190613c29919061591d565b600480546001600160a01b039093166001600160a01b0319909316831790559150613c549089613ea2565b60015460408051808201909152600b81526a506f6f6c5365727669636560a81b60208201526001600160a01b039091169063a3bcd81d90613c936123f1565b6040518363ffffffff1660e01b8152600401613cb092919061594c565b602060405180830381865afa158015613ccd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cf19190614d3f565b600580546001600160a01b0319166001600160a01b0392909216919091179055613d21631b4612f160e31b613ff8565b613d31632c987bf360e21b613ff8565b50831561192b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b6000808060001985870985870292508281108382030391505080600003613dba57838281613db057613db0615971565b04925050506129dc565b808411613e015760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161099d565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600080516020615a8d83398151915254600160401b900460ff16613ea057604051631afcd79f60e31b815260040160405180910390fd5b565b613eac828261401d565b613eb46140a9565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055613f06614122565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055613f5861415e565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055613faa614199565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600061404a60408051808201909152600e81526d50726f647563745365727669636560901b602082015290565b6140526123f1565b60405160200161406392919061594c565b6040516020818303038152906040529050600061407f846141d4565b905060006140928583603c84888861423f565b6140a2631b4612f160e31b613ff8565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156140fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190615501565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016140e1565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016140e1565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016140e1565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561421b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc9190614d22565b6142806301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61428a828761430b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016142fa83826159cd565b5061192b6303fb044760e21b613ff8565b6001600160a01b0382166143615760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161099d565b600280546001600160a01b0319166001600160a01b03841617905561438581614389565b5050565b6001546001600160a01b0316156143c25760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161099d565b6001600160a01b0381166143e95760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361441f5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015614499575060408051601f3d908101601f1916820190925261449691810190614cfa565b60015b6144c15760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099d565b806143855760405163fdeac91f60e01b81526001600160a01b038316600482015260240161099d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b03168152602001614561604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156145b857600080fd5b81356001600160e01b0319811681146129dc57600080fd5b6001600160c01b03198116811461026557600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561461e5761461e6145e6565b60405290565b60405160e081016001600160401b038111828210171561461e5761461e6145e6565b60405161020081016001600160401b038111828210171561461e5761461e6145e6565b60405161018081016001600160401b038111828210171561461e5761461e6145e6565b60405161012081016001600160401b038111828210171561461e5761461e6145e6565b604051601f8201601f191681016001600160401b03811182821017156146d7576146d76145e6565b604052919050565b60006001600160401b038211156146f8576146f86145e6565b50601f01601f191660200190565b600082601f83011261471757600080fd5b813561472a614725826146df565b6146af565b81815284602083860101111561473f57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561476f57600080fd5b823561477a816145d0565b915060208301356001600160401b0381111561479557600080fd5b6147a185828601614706565b9150509250929050565b6001600160601b038116811461026557600080fd5b6000602082840312156147d257600080fd5b81356129dc816147ab565b60005b838110156147f85781810151838201526020016147e0565b50506000910152565b600081518084526148198160208601602086016147dd565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261313d60e0850182614801565b6040815260006148b1604083018561482d565b82810360208401526148c38185614801565b95945050505050565b6020815260006129dc6020830184614801565b6001600160a01b038116811461026557600080fd5b60006020828403121561490657600080fd5b81356129dc816148df565b62ffffff8116811461026557600080fd5b60006020828403121561493457600080fd5b81356129dc81614911565b64ffffffffff8116811461026557600080fd5b6000806040838503121561496557600080fd5b8235614970816147ab565b915060208301356149808161493f565b809150509250929050565b6000806040838503121561499e57600080fd5b50508035926020909101359150565b801515811461026557600080fd5b6000806000606084860312156149d057600080fd5b83356149db816147ab565b925060208401356149eb816149ad565b915060408401356149fb8161493f565b809150509250925092565b60ff8116811461026557600080fd5b60008060408385031215614a2857600080fd5b8235614a33816145d0565b9150602083013561498081614a06565b60008060008060008060c08789031215614a5c57600080fd5b8635614a67816145d0565b9550602087013594506040870135935060608701356001600160401b03811115614a9057600080fd5b614a9c89828a01614706565b9350506080870135614aad816147ab565b915060a0870135614abd816145d0565b809150509295509295509295565b600080600060608486031215614ae057600080fd5b8335614aeb816148df565b92506020840135614afb816148df565b915060408401356001600160401b03811115614b1657600080fd5b614b2286828701614706565b9150509250925092565b600060408284031215614b3e57600080fd5b614b466145fc565b9050813581526020820135602082015292915050565b60008060808385031215614b6f57600080fd5b614b798484614b2c565b9150614b888460408501614b2c565b90509250929050565b600060208284031215614ba357600080fd5b5035919050565b600080600080600080600060e0888a031215614bc557600080fd5b8735614bd0816148df565b96506020880135614be0816145d0565b9550604088013594506060880135935060808801356001600160401b03811115614c0957600080fd5b614c158a828b01614706565b93505060a0880135614c26816147ab565b915060c0880135614c36816145d0565b8091505092959891949750929550565b6001600160601b038151168252600060208201516040602085015261313d6040850182614801565b6001600160401b0360c01b8316815260406020820152600061313d6040830184614c46565b600060208284031215614ca557600080fd5b81516129dc81614911565b600181811c90821680614cc457607f821691505b602082108103614ce457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614cf5816149ad565b919050565b600060208284031215614d0c57600080fd5b81516129dc816149ad565b8051614cf5816147ab565b600060208284031215614d3457600080fd5b81516129dc816147ab565b600060208284031215614d5157600080fd5b81516129dc816148df565b8051614cf581614a06565b8051614cf5816148df565b600082601f830112614d8357600080fd5b8151614d91614725826146df565b818152846020838601011115614da657600080fd5b61313d8260208301602087016147dd565b600060e08284031215614dc957600080fd5b614dd1614624565b9050614ddc82614d17565b8152614dea60208301614d17565b6020820152614dfb60408301614d5c565b6040820152614e0c60608301614cea565b6060820152614e1d60808301614d67565b6080820152614e2e60a08301614d67565b60a082015260c08201516001600160401b03811115614e4c57600080fd5b614e5884828501614d72565b60c08301525092915050565b60008060408385031215614e7757600080fd5b82516001600160401b0380821115614e8e57600080fd5b614e9a86838701614db7565b93506020850151915080821115614eb057600080fd5b506147a185828601614d72565b8051614cf5816145d0565b805161ffff81168114614cf557600080fd5b8051614cf58161493f565b600060208284031215614ef757600080fd5b81516001600160401b0380821115614f0e57600080fd5b908301906102008286031215614f2357600080fd5b614f2b614646565b614f3483614d17565b8152614f4260208401614d17565b6020820152614f5360408401614ebd565b6040820152614f6460608401614ebd565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115614fa557600080fd5b614fb188828701614d72565b8284015250506101208084015183811115614fcb57600080fd5b614fd788828701614d72565b8284015250506101409150614fed828401614ec8565b828201526101609150615001828401614ec8565b82820152610180915081830151828201526101a09150615022828401614eda565b828201526101c09150615036828401614eda565b828201526101e0915061504a828401614eda565b91810191909152949350505050565b60006020828403121561506b57600080fd5b81516129dc8161493f565b80516001600160601b03168252600061020060208301516150a260208601826001600160601b03169052565b5060408301516150be60408601826001600160c01b0319169052565b5060608301516150da60608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e085015261010080840151828287015261511b83870182614801565b9250505061012080840151858303828701526151378382614801565b92505050610140808401516151518287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b03841681526060602082015260006151c76060830185615076565b905060ff83166040830152949350505050565b6000602082840312156151ec57600080fd5b5051919050565b60006020828403121561520557600080fd5b81516129dc81614a06565b60006040828403121561522257600080fd5b61522a6145fc565b9050815181526020820151602082015292915050565b6000610240828403121561525357600080fd5b61525b614669565b61526483614d67565b815261527260208401614d67565b602082015261528360408401614d17565b604082015261529460608401614d17565b60608201526152a68460808501615210565b60808201526152b88460c08501615210565b60a08201526101006152cc85828601615210565b60c08301526101406152e086828701615210565b60e08401526152f3866101808701615210565b82840152615305866101c08701615210565b6101208401526153186102008601614cea565b908301525061532a6102208401614d67565b6101608201529392505050565b808201808211156112dc57634e487b7160e01b600052601160045260246000fd5b6000610180828403121561536b57600080fd5b61537361468c565b61537c83614d17565b815261538a60208401614d67565b6020820152604083015160408201526153a68460608501615210565b60608201526153b88460a08501615210565b60808201526153ca8460e08501615210565b60a08201526153dc6101208401614cea565b60c08201526153ee6101408401614cea565b60e08201526154006101608401614d67565b6101008201529392505050565b60006020828403121561541f57600080fd5b81516001600160401b038082111561543657600080fd5b908301906040828603121561544a57600080fd5b6154526145fc565b825161545d816147ab565b815260208301518281111561547157600080fd5b61547d87828601614d72565b60208301525095945050505050565b6001600160401b0360c01b841681526060602082015260006151c76060830185614c46565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006154e26080830184614801565b9695505050505050565b6001600160401b038116811461026557600080fd5b60006020828403121561551357600080fd5b81516129dc816154ec565b80516001600160a01b03168252602081015161554560208401826001600160a01b03169052565b50604081015161556060408401826001600160601b03169052565b50606081015161557b60608401826001600160601b03169052565b506080810151615598608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006155ce8185018380518252602090810151910152565b60e083015191506101406155ee8186018480518252602090810151910152565b9083015180516101808601526020908101516101a086015261012084015180516101c087015201516101e085015282015115156102008401525061016001516001600160a01b031661022090910152565b505050565b6001600160601b03841681526102808101615662602083018561551e565b60ff8316610260830152949350505050565b634e487b7160e01b600052603260045260246000fd5b6020815260006129dc602083018461482d565b6001600160601b038316815260406020820152600061313d6040830184615076565b6000602082840312156156d157600080fd5b81516001600160401b038111156156e757600080fd5b61313d84828501614db7565b6001600160601b038316815261026081016129dc602083018461551e565b60006020828403121561572357600080fd5b81516001600160401b038082111561573a57600080fd5b90830190610140828603121561574f57600080fd5b61575761468c565b61576083614d17565b815261576f8660208501615210565b602082015260608301518281111561578657600080fd5b61579287828601614d72565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506157d0828401614eda565b60e082015261504a6101208401614eda565b8151815260208083015190820152604081016112dc565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000806040838503121561583057600080fd5b505080516020909101519092909150565b6001600160601b03851681526080602082015260006158636080830186614801565b82810360408401526158758186614801565b91505082606083015295945050505050565b600060c0828403121561589957600080fd5b60405160a081018181106001600160401b03821117156158bb576158bb6145e6565b60405282516158c9816147ab565b815260208301516158d9816148df565b60208201526158eb8460408501615210565b604082015260808301516158fe816149ad565b606082015260a0830151615911816148df565b60808201529392505050565b6000806040838503121561593057600080fd5b825161593b816148df565b6020840151909250614980816148df565b60408152600061595f6040830185614801565b905060ff831660208301529392505050565b634e487b7160e01b600052601260045260246000fd5b601f82111561563f57600081815260208120601f850160051c810160208610156159ae5750805b601f850160051c820191505b81811015612004578281556001016159ba565b81516001600160401b038111156159e6576159e66145e6565b6159fa816159f48454614cb0565b84615987565b602080601f831160018114615a2f5760008415615a175750858301515b600019600386901b1c1916600185901b178555612004565b600085815260208120601f198616915b82811015615a5e57888601518255948401946001909101908401615a3f565b5085821015615a7c5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122064faacd989e41c5943dd2b0b2af45215e754f5a24b42e4372dd73ebae289a15864736f6c63430008140033",
902
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063644c45e01161011a578063b3c65015116100ad578063c2c749871161007c578063c2c7498714610613578063caf4e3d414610626578063cc9fc59a1461062e578063cde749f414610636578063cf7a1d771461065057600080fd5b8063b3c65015146105ba578063b6b412ba146105da578063b88da759146105ed578063bbfbbfba1461060057600080fd5b8063946dfcfe116100e9578063946dfcfe146105185780639cdaa7f91461053f578063a3f4df7e1461057a578063a745e3df146105a757600080fd5b8063644c45e0146104d25780637cef4842146104ea578063893d20e8146104fd5780638f997f6d1461050557600080fd5b80634420e486116101925780635ab1bd53116101615780635ab1bd53146104745780635fd1a5f514610499578063603ccaad146104ac578063630361f6146104bf57600080fd5b80634420e4861461030a5780634d459c90146103355780634d5e16a91461044e5780634f4213331461046157600080fd5b80630fec111c116101ce5780630fec111c14610284578063138461e01461029a57806317d7de7c146102a25780631eff4b22146102d557600080fd5b806301ffc9a714610200578063095e2b72146102425780630aaba8e8146102575780630d8e6e2c14610268575b600080fd5b61022d61020e3660046145a6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61025561025036600461475c565b610663565b005b6102556102653660046147c0565b50565b6102706106fc565b60405162ffffff9091168152602001610239565b61028c610786565b60405161023992919061489e565b6102556108d9565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b60405161023991906148cc565b6102fc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61031d6103183660046148f4565b610afb565b6040516001600160601b039091168152602001610239565b6103f1610343366004614922565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020615aad83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61025561045c366004614952565b610e62565b61022d61046f366004614922565b611126565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b6102fc6104a736600461498b565b6111d9565b6102556104ba3660046147c0565b6112e2565b6102556104cd3660046149bb565b611334565b600154600160a01b90046001600160601b031661031d565b6102556104f8366004614a15565b6118b3565b610481611934565b61025561051336600461475c565b611a4e565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102fc565b61055261054d366004614a43565b611b78565b604080519586526020860194909452928401919091526060830152608082015260a001610239565b6102c86040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b6102556105b5366004614acb565b611c56565b6105c2611db0565b6040516001600160401b039091168152602001610239565b6102556105e8366004614b5c565b611dd1565b6102706105fb366004614b91565b611f3e565b61025561060e366004614952565b611f8f565b61031d610621366004614baa565b61200c565b6104816122c4565b610481612379565b61063e6123f1565b60405160ff9091168152602001610239565b61025561065e366004614acb565b612474565b600080610670606e61257d565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a906106c29089908590600401614c6e565b600060405180830381600087803b1580156106dc57600080fd5b505af11580156106f0573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190614c93565b905090565b61078e6144ea565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107da6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610822611934565b6001600160a01b0316815260200182600101805461083f90614cb0565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90614cb0565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561093b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190614cfa565b156109a6576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109cf5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3c9190614cfa565b610a64576040516372657a5160e01b81526001600160a01b038216600482015260240161099d565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190614d22565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000818082610b098261283b565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b929190614d3f565b9050610b9c612379565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190614d22565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610c70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c949190614cfa565b610ccb576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b038316602482015260440161099d565b33886000610cd88261283b565b90506000610ce46122c4565b9050610cee6144ea565b6060610d028460785b60ff90811691161490565b15610d8a57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610d58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d809190810190614e64565b9092509050610e34565b610d9584606e610cf7565b15610dd057604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610d39565b610ddb84608c610cf7565b15610e1657604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610d39565b60405163062839b560e01b815260ff8516600482015260240161099d565b81519c506000610e43836128b0565b9050610e508e8383612952565b50505050505050505050505050919050565b6000610e6e606e61257d565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190614d3f565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610f28573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f509190810190614ee5565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd49190614cfa565b6110205760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161099d565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561108b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110af9190615059565b64ffffffffff166101c0820152604051634d4b06a960e11b81526001600160a01b03841690639a960d52906110ed90889085906064906004016151a5565b600060405180830381600087803b15801561110757600080fd5b505af115801561111b573d6000803e3d6000fd5b505050505050505050565b600080600080516020615aad83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156111ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d291906151da565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af415801561122e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125291906151da565b9050600061126085836129c7565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156112b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d791906151da565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161099d565b600080611341606e61257d565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a99190614d3f565b835160405163bd7d9d8560e01b81526001600160601b0389166004820152919250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa1580156113ff573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114279190810190614ee5565b80519091506001600160601b038381169116146114865760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161099d565b604051639096a1f360e01b81526001600160601b0389166004820152611502906001600160a01b03851690639096a1f390602401602060405180830381865afa1580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb91906151f3565b600a610cf7565b61154e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161099d565b6000611558614528565b60405163242bdc1960e21b81526001600160601b0385166004820152600090819081906001600160a01b038916906390af70649060240161024060405180830381865afa1580156115ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d19190615240565b90506115db614528565b6115e78a8a89856129e3565b91975090945061160092508a9150869050858f86612b66565b925061160f8885858f86612b66565b9250602864ffffffffff8b16156116c257606464ffffffffff8c166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b49190615059565b64ffffffffff166101c08701525b8b156116f8576116dc898b600001518f8960a00151612b8d565b91508560a001518660c0018181516116f49190615337565b9052505b600560009054906101000a90046001600160a01b03166001600160a01b03166332e6f9228a8f8887876040518663ffffffff1660e01b81526004016117769594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b600060405180830381600087803b15801561179057600080fd5b505af11580156117a4573d6000803e3d6000fd5b50505050886001600160a01b0316639a960d528e88846040518463ffffffff1660e01b81526004016117d8939291906151a5565b600060405180830381600087803b1580156117f257600080fd5b505af1158015611806573d6000803e3d6000fd5b505085516040516355e343a960e01b81526001600160601b039091166004820152600092506001600160a01b038b1691506355e343a99060240161018060405180830381865afa15801561185e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118829190615358565b90508060e00151156118a3576118a385600001518f89886040015188613145565b5050505050505050505050505050565b60006118bf606e61257d565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b15801561191757600080fd5b505af115801561192b573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bd9190614cfa565b15611a3e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015611a1a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190614d3f565b506002546001600160a01b031690565b6000611a5a606e61257d565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac19190614d3f565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611b15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b3d919081019061540d565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110ed908890859060ff9060040161548c565b600080600080600080611b8961320f565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611bbf94939291906154b1565b602060405180830381865afa158015611bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0091906151da565b9050611c0e81838b8b61322e565b92985090965094509250611c228682615337565b9650611c2e8486615337565b611c389088615337565b9650611c448388615337565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611c786106fc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cdc9190615501565b600080516020615a8d8339815191528054600160401b900460ff1680611d0f575080546001600160401b03808416911610155b15611d2d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611d5885856138c7565b611d6183613b66565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610781600080516020615a8d833981519152546001600160401b031690565b600080611dde606e61257d565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e469190614d3f565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161024060405180830381865afa158015611e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec19190615240565b60a0810188905260c081018790526040516354e750a160e11b81529091506001600160a01b0385169063a9cea14290611f03908590859060ff90600401615644565b600060405180830381600087803b158015611f1d57600080fd5b505af1158015611f31573d6000803e3d6000fd5b5050505050505050505050565b6000600080516020615aad8339815191526001018281548110611f6357611f63615674565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611f9c606e61257d565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fe0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120049190614d3f565b505050505050565b6000808061201a606e61257d565b915091506120266122c4565b6001600160a01b0316635c992fed6040518060e00160405280612047600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016120c0919061568a565b6020604051808303816000875af11580156120df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121039190614d22565b925060006121158a8a8a8a8a8a611b78565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff168152602001600081526020016121c4600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d40009061220a908890859060040161569d565b600060405180830381600087803b15801561222457600080fd5b505af1158015612238573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc86612254600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561229d57600080fd5b505af11580156122b1573d6000803e3d6000fd5b5050505050505050979650505050505050565b6000806122d96001546001600160a01b031690565b6001600160a01b031663a3bcd81d6122ef6123f1565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015612355573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc9190614d3f565b600061238d6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6123a36123f1565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff90911660248201526084016119fd565b60006123fb6106fc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612450573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078191906151f3565b600080516020615a8d8339815191528054600160401b810460ff1615906001600160401b03166000811580156124a75750825b90506000826001600160401b031660011480156124c35750303b155b9050811580156124d1575080155b156124ef5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561251957845460ff60401b1916600160401b1785555b61252388886138c7565b61252d8787613b6e565b831561257357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6125856144ea565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156125d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f69190614d22565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612651573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126759190614cfa565b6126c15760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161099d565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561271c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261274491908101906156bf565b925061275a83604001518560ff90811691161490565b61279c5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161099d565b60006127b06001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612805573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261282d91908101906156bf565b608001519395939450505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561287c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128a49190810190614e64565b50604001519392505050565b6000806128c56001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561291e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261294691908101906156bf565b60800151949350505050565b6000828060200190518101906129689190615240565b6040516348ffb75560e11b81529091506001600160a01b038316906391ff6eaa9061299990879085906004016156f3565b600060405180830381600087803b1580156129b357600080fd5b505af1158015612573573d6000803e3d6000fd5b60006129dc8383670de0b6b3a7640000613d80565b9392505050565b60006129ed614528565b6020840151604051634793b4ab60e01b81526001600160601b03821660048201529092506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa158015612a45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a6d9190810190615711565b805160608601519193506001600160601b03908116911614612aca5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161099d565b60608401516040516355e343a960e01b81526001600160601b03821660048201526000906001600160a01b038916906355e343a99060240161018060405180830381865afa158015612b20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b449190615358565b9050612b58816040015188608001516111d9565b925050509450945094915050565b612b6e614528565b8184608001818151612b809190615337565b9052509295945050505050565b6000811561313d576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf99190614d3f565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015612c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6d9190615240565b60208101519091506000612c896001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cfc9190614d3f565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d629190614d3f565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a99060240161018060405180830381865afa158015612db8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ddc9190615358565b61010081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290612e269084906004016157e2565b602060405180830381865af4158015612e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e679190614cfa565b15612ed3576040516317d5759960e31b81526001600160a01b0386169063beabacc890612e9c90879086908d906004016157f9565b600060405180830381600087803b158015612eb657600080fd5b505af1158015612eca573d6000803e3d6000fd5b50505050613136565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f62919061581d565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd39190614d3f565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613023573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304791906151da565b101561306c5786888c6040516333ac6f1760e11b815260040161099d939291906157f9565b6040516317d5759960e31b81526001600160a01b0389169063beabacc89061309c908a90859088906004016157f9565b600060405180830381600087803b1580156130b657600080fd5b505af11580156130ca573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc891506130fe908a90899087906004016157f9565b600060405180830381600087803b15801561311857600080fd5b505af115801561312c573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b60006131596001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156131a8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526131d091908101906156bf565b608001516101008501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611f03918a9189908990600401615841565b60006132196144ea565b613223606e61257d565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015613275573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132999190614d3f565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132fd9190614d3f565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015613340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133649190614d22565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156133b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133df9190810190615711565b80519091506001600160601b038381169116146134495760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161099d565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613497573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134bb9190614d22565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015613500573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135249190615240565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561358d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135b1919061581d565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a99060240161018060405180830381865afa158015613607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061362b9190615358565b606081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136b8919061581d565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137229190614d22565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160c060405180830381865afa158015613775573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137999190615887565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613802573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613826919061581d565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af4158015613890573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138b4919061581d565b5080955050505050945094509450949050565b6138cf613e69565b600080516020615aad83398151915260006138ff600080516020615a8d833981519152546001600160401b031690565b9050600061390b6106fc565b9050816001600160401b03166001036139385760028301805462ffffff191662ffffff8316179055613986565b600283015462ffffff908116908216116139865760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161099d565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015613a3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a5e9190615059565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890611da19083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb613e69565b600080516020615a8d8339815191528054600160401b810460ff1615906001600160401b0316600081158015613ba15750825b90506000826001600160401b03166001148015613bbd5750303b155b905081158015613bcb575080155b15613be95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613c1357845460ff60401b1916600160401b1785555b600086806020019051810190613c29919061591d565b600480546001600160a01b039093166001600160a01b0319909316831790559150613c549089613ea2565b60015460408051808201909152600b81526a506f6f6c5365727669636560a81b60208201526001600160a01b039091169063a3bcd81d90613c936123f1565b6040518363ffffffff1660e01b8152600401613cb092919061594c565b602060405180830381865afa158015613ccd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cf19190614d3f565b600580546001600160a01b0319166001600160a01b0392909216919091179055613d21631b4612f160e31b613ff8565b613d31632c987bf360e21b613ff8565b50831561192b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b6000808060001985870985870292508281108382030391505080600003613dba57838281613db057613db0615971565b04925050506129dc565b808411613e015760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161099d565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600080516020615a8d83398151915254600160401b900460ff16613ea057604051631afcd79f60e31b815260040160405180910390fd5b565b613eac828261401d565b613eb46140a9565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055613f06614122565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055613f5861415e565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055613faa614199565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600061404a60408051808201909152600e81526d50726f647563745365727669636560901b602082015290565b6140526123f1565b60405160200161406392919061594c565b6040516020818303038152906040529050600061407f846141d4565b905060006140928583603c84888861423f565b6140a2631b4612f160e31b613ff8565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156140fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190615501565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016140e1565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016140e1565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016140e1565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561421b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc9190614d22565b6142806301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61428a828761430b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016142fa83826159cd565b5061192b6303fb044760e21b613ff8565b6001600160a01b0382166143615760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161099d565b600280546001600160a01b0319166001600160a01b03841617905561438581614389565b5050565b6001546001600160a01b0316156143c25760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161099d565b6001600160a01b0381166143e95760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361441f5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015614499575060408051601f3d908101601f1916820190925261449691810190614cfa565b60015b6144c15760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099d565b806143855760405163fdeac91f60e01b81526001600160a01b038316600482015260240161099d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b03168152602001614561604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156145b857600080fd5b81356001600160e01b0319811681146129dc57600080fd5b6001600160c01b03198116811461026557600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561461e5761461e6145e6565b60405290565b60405160e081016001600160401b038111828210171561461e5761461e6145e6565b60405161020081016001600160401b038111828210171561461e5761461e6145e6565b60405161018081016001600160401b038111828210171561461e5761461e6145e6565b60405161012081016001600160401b038111828210171561461e5761461e6145e6565b604051601f8201601f191681016001600160401b03811182821017156146d7576146d76145e6565b604052919050565b60006001600160401b038211156146f8576146f86145e6565b50601f01601f191660200190565b600082601f83011261471757600080fd5b813561472a614725826146df565b6146af565b81815284602083860101111561473f57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561476f57600080fd5b823561477a816145d0565b915060208301356001600160401b0381111561479557600080fd5b6147a185828601614706565b9150509250929050565b6001600160601b038116811461026557600080fd5b6000602082840312156147d257600080fd5b81356129dc816147ab565b60005b838110156147f85781810151838201526020016147e0565b50506000910152565b600081518084526148198160208601602086016147dd565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261313d60e0850182614801565b6040815260006148b1604083018561482d565b82810360208401526148c38185614801565b95945050505050565b6020815260006129dc6020830184614801565b6001600160a01b038116811461026557600080fd5b60006020828403121561490657600080fd5b81356129dc816148df565b62ffffff8116811461026557600080fd5b60006020828403121561493457600080fd5b81356129dc81614911565b64ffffffffff8116811461026557600080fd5b6000806040838503121561496557600080fd5b8235614970816147ab565b915060208301356149808161493f565b809150509250929050565b6000806040838503121561499e57600080fd5b50508035926020909101359150565b801515811461026557600080fd5b6000806000606084860312156149d057600080fd5b83356149db816147ab565b925060208401356149eb816149ad565b915060408401356149fb8161493f565b809150509250925092565b60ff8116811461026557600080fd5b60008060408385031215614a2857600080fd5b8235614a33816145d0565b9150602083013561498081614a06565b60008060008060008060c08789031215614a5c57600080fd5b8635614a67816145d0565b9550602087013594506040870135935060608701356001600160401b03811115614a9057600080fd5b614a9c89828a01614706565b9350506080870135614aad816147ab565b915060a0870135614abd816145d0565b809150509295509295509295565b600080600060608486031215614ae057600080fd5b8335614aeb816148df565b92506020840135614afb816148df565b915060408401356001600160401b03811115614b1657600080fd5b614b2286828701614706565b9150509250925092565b600060408284031215614b3e57600080fd5b614b466145fc565b9050813581526020820135602082015292915050565b60008060808385031215614b6f57600080fd5b614b798484614b2c565b9150614b888460408501614b2c565b90509250929050565b600060208284031215614ba357600080fd5b5035919050565b600080600080600080600060e0888a031215614bc557600080fd5b8735614bd0816148df565b96506020880135614be0816145d0565b9550604088013594506060880135935060808801356001600160401b03811115614c0957600080fd5b614c158a828b01614706565b93505060a0880135614c26816147ab565b915060c0880135614c36816145d0565b8091505092959891949750929550565b6001600160601b038151168252600060208201516040602085015261313d6040850182614801565b6001600160401b0360c01b8316815260406020820152600061313d6040830184614c46565b600060208284031215614ca557600080fd5b81516129dc81614911565b600181811c90821680614cc457607f821691505b602082108103614ce457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614cf5816149ad565b919050565b600060208284031215614d0c57600080fd5b81516129dc816149ad565b8051614cf5816147ab565b600060208284031215614d3457600080fd5b81516129dc816147ab565b600060208284031215614d5157600080fd5b81516129dc816148df565b8051614cf581614a06565b8051614cf5816148df565b600082601f830112614d8357600080fd5b8151614d91614725826146df565b818152846020838601011115614da657600080fd5b61313d8260208301602087016147dd565b600060e08284031215614dc957600080fd5b614dd1614624565b9050614ddc82614d17565b8152614dea60208301614d17565b6020820152614dfb60408301614d5c565b6040820152614e0c60608301614cea565b6060820152614e1d60808301614d67565b6080820152614e2e60a08301614d67565b60a082015260c08201516001600160401b03811115614e4c57600080fd5b614e5884828501614d72565b60c08301525092915050565b60008060408385031215614e7757600080fd5b82516001600160401b0380821115614e8e57600080fd5b614e9a86838701614db7565b93506020850151915080821115614eb057600080fd5b506147a185828601614d72565b8051614cf5816145d0565b805161ffff81168114614cf557600080fd5b8051614cf58161493f565b600060208284031215614ef757600080fd5b81516001600160401b0380821115614f0e57600080fd5b908301906102008286031215614f2357600080fd5b614f2b614646565b614f3483614d17565b8152614f4260208401614d17565b6020820152614f5360408401614ebd565b6040820152614f6460608401614ebd565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115614fa557600080fd5b614fb188828701614d72565b8284015250506101208084015183811115614fcb57600080fd5b614fd788828701614d72565b8284015250506101409150614fed828401614ec8565b828201526101609150615001828401614ec8565b82820152610180915081830151828201526101a09150615022828401614eda565b828201526101c09150615036828401614eda565b828201526101e0915061504a828401614eda565b91810191909152949350505050565b60006020828403121561506b57600080fd5b81516129dc8161493f565b80516001600160601b03168252600061020060208301516150a260208601826001600160601b03169052565b5060408301516150be60408601826001600160c01b0319169052565b5060608301516150da60608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e085015261010080840151828287015261511b83870182614801565b9250505061012080840151858303828701526151378382614801565b92505050610140808401516151518287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b03841681526060602082015260006151c76060830185615076565b905060ff83166040830152949350505050565b6000602082840312156151ec57600080fd5b5051919050565b60006020828403121561520557600080fd5b81516129dc81614a06565b60006040828403121561522257600080fd5b61522a6145fc565b9050815181526020820151602082015292915050565b6000610240828403121561525357600080fd5b61525b614669565b61526483614d67565b815261527260208401614d67565b602082015261528360408401614d17565b604082015261529460608401614d17565b60608201526152a68460808501615210565b60808201526152b88460c08501615210565b60a08201526101006152cc85828601615210565b60c08301526101406152e086828701615210565b60e08401526152f3866101808701615210565b82840152615305866101c08701615210565b6101208401526153186102008601614cea565b908301525061532a6102208401614d67565b6101608201529392505050565b808201808211156112dc57634e487b7160e01b600052601160045260246000fd5b6000610180828403121561536b57600080fd5b61537361468c565b61537c83614d17565b815261538a60208401614d67565b6020820152604083015160408201526153a68460608501615210565b60608201526153b88460a08501615210565b60808201526153ca8460e08501615210565b60a08201526153dc6101208401614cea565b60c08201526153ee6101408401614cea565b60e08201526154006101608401614d67565b6101008201529392505050565b60006020828403121561541f57600080fd5b81516001600160401b038082111561543657600080fd5b908301906040828603121561544a57600080fd5b6154526145fc565b825161545d816147ab565b815260208301518281111561547157600080fd5b61547d87828601614d72565b60208301525095945050505050565b6001600160401b0360c01b841681526060602082015260006151c76060830185614c46565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006154e26080830184614801565b9695505050505050565b6001600160401b038116811461026557600080fd5b60006020828403121561551357600080fd5b81516129dc816154ec565b80516001600160a01b03168252602081015161554560208401826001600160a01b03169052565b50604081015161556060408401826001600160601b03169052565b50606081015161557b60608401826001600160601b03169052565b506080810151615598608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006155ce8185018380518252602090810151910152565b60e083015191506101406155ee8186018480518252602090810151910152565b9083015180516101808601526020908101516101a086015261012084015180516101c087015201516101e085015282015115156102008401525061016001516001600160a01b031661022090910152565b505050565b6001600160601b03841681526102808101615662602083018561551e565b60ff8316610260830152949350505050565b634e487b7160e01b600052603260045260246000fd5b6020815260006129dc602083018461482d565b6001600160601b038316815260406020820152600061313d6040830184615076565b6000602082840312156156d157600080fd5b81516001600160401b038111156156e757600080fd5b61313d84828501614db7565b6001600160601b038316815261026081016129dc602083018461551e565b60006020828403121561572357600080fd5b81516001600160401b038082111561573a57600080fd5b90830190610140828603121561574f57600080fd5b61575761468c565b61576083614d17565b815261576f8660208501615210565b602082015260608301518281111561578657600080fd5b61579287828601614d72565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506157d0828401614eda565b60e082015261504a6101208401614eda565b8151815260208083015190820152604081016112dc565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000806040838503121561583057600080fd5b505080516020909101519092909150565b6001600160601b03851681526080602082015260006158636080830186614801565b82810360408401526158758186614801565b91505082606083015295945050505050565b600060c0828403121561589957600080fd5b60405160a081018181106001600160401b03821117156158bb576158bb6145e6565b60405282516158c9816147ab565b815260208301516158d9816148df565b60208201526158eb8460408501615210565b604082015260808301516158fe816149ad565b606082015260a0830151615911816148df565b60808201529392505050565b6000806040838503121561593057600080fd5b825161593b816148df565b6020840151909250614980816148df565b60408152600061595f6040830185614801565b905060ff831660208301529392505050565b634e487b7160e01b600052601260045260246000fd5b601f82111561563f57600081815260208120601f850160051c810160208610156159ae5750805b601f850160051c820191505b81811015612004578281556001016159ba565b81516001600160401b038111156159e6576159e66145e6565b6159fa816159f48454614cb0565b84615987565b602080601f831160018114615a2f5760008415615a175750858301515b600019600386901b1c1916600185901b178555612004565b600085815260208120601f198616915b82811015615a5e57888601518255948401946001909101908401615a3f565b5085821015615a7c5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122064faacd989e41c5943dd2b0b2af45215e754f5a24b42e4372dd73ebae289a15864736f6c63430008140033",
687
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6131f080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b6b412ba11610097578063cde749f411610071578063cde749f4146103c3578063ea866572146103cb578063f21de1e8146102f2578063f7c34ee0146103de57600080fd5b8063b6b412ba146103a0578063caf4e3d4146103b3578063cc9fc59a146103bb57600080fd5b8063893d20e8116100d3578063893d20e81461035b5780638f997f6d14610363578063ada9652e14610376578063b68d18091461038b57600080fd5b8063644c45e014610317578063675393bf146103355780637cef48421461034857600080fd5b8063214cdb801161016657806336fc697e1161014057806336fc697e146102ac5780634420e486146102b457806349bb9e4b146102df5780635ab1bd53146102f257600080fd5b8063214cdb801461027357806327bb7a3314610286578063329d6e741461029957600080fd5b806301ffc9a7146101ae578063095e2b72146101f05780630d8e6e2c146102055780630fec111c14610221578063138461e0146102365780631eff4b221461023e575b600080fd5b6101db6101bc3660046124f8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102036101fe366004612676565b6103f1565b005b61020d61048a565b60405162ffffff90911681526020016101e7565b610229610514565b6040516101e79190612713565b6102036106c8565b6102657f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6102036102813660046124f8565b6108cf565b6102036102943660046127e5565b6108fc565b6102036102a736600461287d565b610988565b610203610ad5565b6102c76102c23660046128b1565b610b1b565b6040516001600160601b0390911681526020016101e7565b6102036102ed3660046128ce565b610be0565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b60008051602061317b833981519152546001600160601b03166102c7565b6102036103433660046128b1565b610cdf565b6102036103563660046128ec565b610ded565b6102ff610e65565b610203610371366004612676565b610f9c565b61026560008051602061317b83398151915281565b606e5b60405160ff90911681526020016101e7565b6102036103ae366004612953565b6110ff565b6102ff61126c565b6102ff611309565b61038e611333565b6102036103d9366004612988565b6113aa565b6102036103ec366004612988565b611442565b6000806103fe606e6114b9565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a9061045090899085906004016129de565b600060405180830381600087803b15801561046a57600080fd5b505af115801561047e573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612a03565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c490612a28565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090612a28565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b50505050508152505090506040518060e0016040528061065b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ac610e65565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061317b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075b9190612a6d565b1561078c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061079f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190612a6d565b6108335760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610783565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190612a95565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d761175b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61090461175b565b61090e8287611442565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161097e8382612b01565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109aa61048a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190612bd5565b60008051602061319b8339815191528054600160401b900460ff1680610a41575080546001600160401b03808416911610155b15610a5f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8983611794565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610add61175b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b3486606e610b2f61179c565b611813565b92965090945092509050856000610b4961126c565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610b9b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc39190810190612c58565b805197509050610bd4848389611c44565b50505050505050919050565b60008051602061319b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610c135750825b90506000826001600160401b03166001148015610c2f5750303b155b905081158015610c3d575080155b15610c5b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c8557845460ff60401b1916600160401b1785555b610c8f878761229e565b8315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ce761175b565b806001600160a01b03163b600003610d1d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610d97575060408051601f3d908101601f19168201909252610d9491810190612a6d565b60015b610dbf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b80610de85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610783565b505b50565b6000610df9606e6114b9565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b158015610e5157600080fd5b505af1158015610cd6573d6000803e3d6000fd5b60008060008051602061317b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef99190612a6d565b15610f86576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f809190612d2a565b91505090565b54600160601b90046001600160a01b0316919050565b6000610fa8606e6114b9565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100f9190612d2a565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261108b9190810190612d47565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110c6908890859060ff90600401612dc6565b600060405180830381600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050505050505050565b60008061110c606e6114b9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111749190612d2a565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161014060405180830381865afa1580156111cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ef9190612e2e565b6080810188905260a08101879052604051630cbc6b8960e01b81529091506001600160a01b03851690630cbc6b8990611231908590859060ff90600401612f6a565b600060405180830381600087803b15801561124b57600080fd5b505af115801561125f573d6000803e3d6000fd5b5050505050505050505050565b6000806112816001546001600160a01b031690565b6001600160a01b031663d39e604360285b61129a611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113039190612d2a565b92915050565b60008061131e6001546001600160a01b031690565b6001600160a01b031663d39e60436046611292565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612f9a565b6113b261175b565b61143282836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114189190612a95565b603c600085604051806020016040528060008152506108fc565b610de8637b6a51fd60e01b6108cf565b61144a61175b565b61145381610cdf565b61145b610ad5565b6001600160a01b0382166114825760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061317b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611548573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115709190810190612c58565b925061158683604001518560ff90811691161490565b6115c85760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610783565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561161e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116469190810190612c58565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b39190612d2a565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117249190612a6d565b1561175357608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610783565b505050915091565b60008051602061319b83398151915254600160401b900460ff1661179257604051631afcd79f60e31b815260040160405180910390fd5b565b6101a961175b565b6040516368aebf7b60e01b81526005600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156117ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612bd5565b60003381808061182b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190612a95565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119169190612a6d565b1561194d5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610783565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a6d565b6119e7576040516359bff0e360e11b81526001600160a01b0389166004820152602401610783565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a27573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4f9190810190612c58565b9050611a6681604001518960ff9081169116141590565b15611aa6576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610783565b60a08101516001600160a01b0386811690821614611af85760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610783565b81602001519350611b0884612461565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612d2a565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa158015611bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bed9190612a6d565b905080611c3657604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b0389166044820152606401610783565b505050505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cab9190612e2e565b90506000611cc16001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3e9190810190612c58565b6080015190506000611d586001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611dad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611dd59190810190612c58565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611e2657600080fd5b505af1158015611e3a573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611e8857600080fd5b505af1158015611e9c573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611eea57600080fd5b505af1158015611efe573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f3d57600080fd5b505af1158015611f51573d6000803e3d6000fd5b50505050866001600160a01b031663fbc1a3a086886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611fa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc89190612e2e565b6040518363ffffffff1660e01b8152600401611fe5929190612fb7565b600060405180830381600087803b158015611fff57600080fd5b505af1158015612013573d6000803e3d6000fd5b5060009250600191506120239050565b60405190808252806020026020018201604052801561205657816020015b60608152602001906001900390816120415790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061208a5761208a612fd5565b602002602001018190525063b6b412ba60e01b816000815181106120b0576120b0612fd5565b60200260200101516000815181106120ca576120ca612fd5565b6001600160e01b0319929092166020928302919091019091015260408051600180825281830190925260009181602001602082028036833701905050905061211061179c565b8160008151811061212357612123612fd5565b60200260200101906001600160401b031690816001600160401b03168152505061214b611309565b6001600160a01b0316636c6fbb2861216b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038d81166004830152919091169063d272ac1e90602401602060405180830381865afa1580156121b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d79190612a95565b8a8b6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612216573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261223e9190810190612feb565b86866040518663ffffffff1660e01b8152600401612260959493929190613077565b600060405180830381600087803b15801561227a57600080fd5b505af115801561228e573d6000803e3d6000fd5b5050505050505050509392505050565b60008051602061319b8339815191528054600160401b810460ff1615906001600160401b03166000811580156122d15750825b90506000826001600160401b031660011480156122ed5750303b155b9050811580156122fb575080155b156123195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561234357845460ff60401b1916600160401b1785555b6000808780602001905181019061235a919061314b565b9092509050612369828a6113aa565b6001546001600160a01b031663d39e6043608c612384611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156123c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ed9190612d2a565b600280546001600160a01b0319166001600160a01b039290921691909117905561241d6308bcea6160e01b6108cf565b50508315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ccd565b6000806124766001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156124c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124ed9190810190612c58565b608001519392505050565b60006020828403121561250a57600080fd5b81356001600160e01b03198116811461252257600080fd5b9392505050565b80356001600160c01b03198116811461254157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561257e5761257e612546565b60405290565b60405160e081016001600160401b038111828210171561257e5761257e612546565b60405161010081016001600160401b038111828210171561257e5761257e612546565b604051601f8201601f191681016001600160401b03811182821017156125f1576125f1612546565b604052919050565b60006001600160401b0382111561261257612612612546565b50601f01601f191660200190565b600082601f83011261263157600080fd5b813561264461263f826125f9565b6125c9565b81815284602083860101111561265957600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561268957600080fd5b61269283612529565b915060208301356001600160401b038111156126ad57600080fd5b6126b985828601612620565b9150509250929050565b60005b838110156126de5781810151838201526020016126c6565b50506000910152565b600081518084526126ff8160208601602086016126c3565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161277c60c08401826001600160a01b03169052565b5060c083015160e0808401526127966101008401826126e7565b949350505050565b6001600160a01b0381168114610dea57600080fd5b6001600160601b0381168114610dea57600080fd5b60ff81168114610dea57600080fd5b8015158114610dea57600080fd5b60008060008060008060c087890312156127fe57600080fd5b86356128098161279e565b95506020870135612819816127b3565b94506040870135612829816127c8565b93506060870135612839816127d7565b925060808701356128498161279e565b915060a08701356001600160401b0381111561286457600080fd5b61287089828a01612620565b9150509295509295509295565b60006020828403121561288f57600080fd5b81356001600160401b038111156128a557600080fd5b61279684828501612620565b6000602082840312156128c357600080fd5b81356125228161279e565b600080604083850312156128e157600080fd5b82356126928161279e565b600080604083850312156128ff57600080fd5b61290883612529565b91506020830135612918816127c8565b809150509250929050565b60006040828403121561293557600080fd5b61293d61255c565b9050813581526020820135602082015292915050565b6000806080838503121561296657600080fd5b6129708484612923565b915061297f8460408501612923565b90509250929050565b6000806040838503121561299b57600080fd5b82356129a68161279e565b915060208301356129188161279e565b6001600160601b038151168252600060208201516040602085015261279660408501826126e7565b6001600160401b0360c01b8316815260406020820152600061279660408301846129b6565b600060208284031215612a1557600080fd5b815162ffffff8116811461252257600080fd5b600181811c90821680612a3c57607f821691505b602082108103612a5c57634e487b7160e01b600052602260045260246000fd5b50919050565b8051612541816127d7565b600060208284031215612a7f57600080fd5b8151612522816127d7565b8051612541816127b3565b600060208284031215612aa757600080fd5b8151612522816127b3565b601f821115612afc57600081815260208120601f850160051c81016020861015612ad95750805b601f850160051c820191505b81811015612af857828155600101612ae5565b5050505b505050565b81516001600160401b03811115612b1a57612b1a612546565b612b2e81612b288454612a28565b84612ab2565b602080601f831160018114612b635760008415612b4b5750858301515b600019600386901b1c1916600185901b178555612af8565b600085815260208120601f198616915b82811015612b9257888601518255948401946001909101908401612b73565b5085821015612bb05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610dea57600080fd5b600060208284031215612be757600080fd5b815161252281612bc0565b8051612541816127c8565b80516125418161279e565b6000612c1661263f846125f9565b9050828152838383011115612c2a57600080fd5b6125228360208301846126c3565b600082601f830112612c4957600080fd5b61252283835160208501612c08565b600060208284031215612c6a57600080fd5b81516001600160401b0380821115612c8157600080fd5b9083019060e08286031215612c9557600080fd5b612c9d612584565b612ca683612a8a565b8152612cb460208401612a8a565b6020820152612cc560408401612bf2565b6040820152612cd660608401612a62565b6060820152612ce760808401612bfd565b6080820152612cf860a08401612bfd565b60a082015260c083015182811115612d0f57600080fd5b612d1b87828601612c38565b60c08301525095945050505050565b600060208284031215612d3c57600080fd5b81516125228161279e565b600060208284031215612d5957600080fd5b81516001600160401b0380821115612d7057600080fd5b9083019060408286031215612d8457600080fd5b612d8c61255c565b8251612d97816127b3565b8152602083015182811115612dab57600080fd5b612db787828601612c38565b60208301525095945050505050565b6001600160401b0360c01b84168152606060208201526000612deb60608301856129b6565b905060ff83166040830152949350505050565b600060408284031215612e1057600080fd5b612e1861255c565b9050815181526020820151602082015292915050565b60006101408284031215612e4157600080fd5b612e496125a6565b612e5283612bfd565b8152612e6060208401612bfd565b6020820152612e7160408401612a8a565b6040820152612e8260608401612a8a565b6060820152612e948460808501612dfe565b6080820152612ea68460c08501612dfe565b60a0820152612eb86101008401612a62565b60c0820152612eca6101208401612bfd565b60e08201529392505050565b60018060a01b038082511683528060208301511660208401525060408101516001600160601b03808216604085015280606084015116606085015250506080810151612f2f608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151151561010083015260e001516001600160a01b031661012090910152565b6001600160601b03841681526101808101612f886020830185612ed6565b60ff8316610160830152949350505050565b600060208284031215612fac57600080fd5b8151612522816127c8565b6001600160601b038316815261016081016125226020830184612ed6565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612ffd57600080fd5b81516001600160401b0381111561301357600080fd5b8201601f8101841361302457600080fd5b61279684825160208401612c08565b600081518084526020808501945080840160005b8381101561306c5781516001600160401b031687529582019590820190600101613047565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526130a860a08401876126e7565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561312657868403601f19018652825180518086529089019089860190845b818110156131115783516001600160e01b0319168352928b0192918b01916001016130eb565b505096890196945050918701916001016130c9565b505050868103608088015261313b8189613033565b9c9b505050505050505050505050565b6000806040838503121561315e57600080fd5b82516131698161279e565b60208401519092506129188161279e56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220fa4dbba136e8c5ea58feb6167de7d4411b5635324f56a2aad664f3b0526c9a5b64736f6c63430008140033",
688
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b6b412ba11610097578063cde749f411610071578063cde749f4146103c3578063ea866572146103cb578063f21de1e8146102f2578063f7c34ee0146103de57600080fd5b8063b6b412ba146103a0578063caf4e3d4146103b3578063cc9fc59a146103bb57600080fd5b8063893d20e8116100d3578063893d20e81461035b5780638f997f6d14610363578063ada9652e14610376578063b68d18091461038b57600080fd5b8063644c45e014610317578063675393bf146103355780637cef48421461034857600080fd5b8063214cdb801161016657806336fc697e1161014057806336fc697e146102ac5780634420e486146102b457806349bb9e4b146102df5780635ab1bd53146102f257600080fd5b8063214cdb801461027357806327bb7a3314610286578063329d6e741461029957600080fd5b806301ffc9a7146101ae578063095e2b72146101f05780630d8e6e2c146102055780630fec111c14610221578063138461e0146102365780631eff4b221461023e575b600080fd5b6101db6101bc3660046124f8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102036101fe366004612676565b6103f1565b005b61020d61048a565b60405162ffffff90911681526020016101e7565b610229610514565b6040516101e79190612713565b6102036106c8565b6102657f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6102036102813660046124f8565b6108cf565b6102036102943660046127e5565b6108fc565b6102036102a736600461287d565b610988565b610203610ad5565b6102c76102c23660046128b1565b610b1b565b6040516001600160601b0390911681526020016101e7565b6102036102ed3660046128ce565b610be0565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b60008051602061317b833981519152546001600160601b03166102c7565b6102036103433660046128b1565b610cdf565b6102036103563660046128ec565b610ded565b6102ff610e65565b610203610371366004612676565b610f9c565b61026560008051602061317b83398151915281565b606e5b60405160ff90911681526020016101e7565b6102036103ae366004612953565b6110ff565b6102ff61126c565b6102ff611309565b61038e611333565b6102036103d9366004612988565b6113aa565b6102036103ec366004612988565b611442565b6000806103fe606e6114b9565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a9061045090899085906004016129de565b600060405180830381600087803b15801561046a57600080fd5b505af115801561047e573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612a03565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c490612a28565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090612a28565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b50505050508152505090506040518060e0016040528061065b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ac610e65565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061317b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075b9190612a6d565b1561078c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061079f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190612a6d565b6108335760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610783565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190612a95565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d761175b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61090461175b565b61090e8287611442565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161097e8382612b01565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109aa61048a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190612bd5565b60008051602061319b8339815191528054600160401b900460ff1680610a41575080546001600160401b03808416911610155b15610a5f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8983611794565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610add61175b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b3486606e610b2f61179c565b611813565b92965090945092509050856000610b4961126c565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610b9b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc39190810190612c58565b805197509050610bd4848389611c44565b50505050505050919050565b60008051602061319b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610c135750825b90506000826001600160401b03166001148015610c2f5750303b155b905081158015610c3d575080155b15610c5b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c8557845460ff60401b1916600160401b1785555b610c8f878761229e565b8315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ce761175b565b806001600160a01b03163b600003610d1d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610d97575060408051601f3d908101601f19168201909252610d9491810190612a6d565b60015b610dbf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b80610de85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610783565b505b50565b6000610df9606e6114b9565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b158015610e5157600080fd5b505af1158015610cd6573d6000803e3d6000fd5b60008060008051602061317b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef99190612a6d565b15610f86576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f809190612d2a565b91505090565b54600160601b90046001600160a01b0316919050565b6000610fa8606e6114b9565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100f9190612d2a565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261108b9190810190612d47565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110c6908890859060ff90600401612dc6565b600060405180830381600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050505050505050565b60008061110c606e6114b9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111749190612d2a565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161014060405180830381865afa1580156111cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ef9190612e2e565b6080810188905260a08101879052604051630cbc6b8960e01b81529091506001600160a01b03851690630cbc6b8990611231908590859060ff90600401612f6a565b600060405180830381600087803b15801561124b57600080fd5b505af115801561125f573d6000803e3d6000fd5b5050505050505050505050565b6000806112816001546001600160a01b031690565b6001600160a01b031663d39e604360285b61129a611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113039190612d2a565b92915050565b60008061131e6001546001600160a01b031690565b6001600160a01b031663d39e60436046611292565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612f9a565b6113b261175b565b61143282836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114189190612a95565b603c600085604051806020016040528060008152506108fc565b610de8637b6a51fd60e01b6108cf565b61144a61175b565b61145381610cdf565b61145b610ad5565b6001600160a01b0382166114825760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061317b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611548573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115709190810190612c58565b925061158683604001518560ff90811691161490565b6115c85760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610783565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561161e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116469190810190612c58565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b39190612d2a565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117249190612a6d565b1561175357608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610783565b505050915091565b60008051602061319b83398151915254600160401b900460ff1661179257604051631afcd79f60e31b815260040160405180910390fd5b565b6101a961175b565b6040516368aebf7b60e01b81526005600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156117ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612bd5565b60003381808061182b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190612a95565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119169190612a6d565b1561194d5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610783565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a6d565b6119e7576040516359bff0e360e11b81526001600160a01b0389166004820152602401610783565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a27573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4f9190810190612c58565b9050611a6681604001518960ff9081169116141590565b15611aa6576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610783565b60a08101516001600160a01b0386811690821614611af85760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610783565b81602001519350611b0884612461565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612d2a565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa158015611bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bed9190612a6d565b905080611c3657604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b0389166044820152606401610783565b505050505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cab9190612e2e565b90506000611cc16001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3e9190810190612c58565b6080015190506000611d586001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611dad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611dd59190810190612c58565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611e2657600080fd5b505af1158015611e3a573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611e8857600080fd5b505af1158015611e9c573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611eea57600080fd5b505af1158015611efe573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f3d57600080fd5b505af1158015611f51573d6000803e3d6000fd5b50505050866001600160a01b031663fbc1a3a086886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611fa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc89190612e2e565b6040518363ffffffff1660e01b8152600401611fe5929190612fb7565b600060405180830381600087803b158015611fff57600080fd5b505af1158015612013573d6000803e3d6000fd5b5060009250600191506120239050565b60405190808252806020026020018201604052801561205657816020015b60608152602001906001900390816120415790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061208a5761208a612fd5565b602002602001018190525063b6b412ba60e01b816000815181106120b0576120b0612fd5565b60200260200101516000815181106120ca576120ca612fd5565b6001600160e01b0319929092166020928302919091019091015260408051600180825281830190925260009181602001602082028036833701905050905061211061179c565b8160008151811061212357612123612fd5565b60200260200101906001600160401b031690816001600160401b03168152505061214b611309565b6001600160a01b0316636c6fbb2861216b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038d81166004830152919091169063d272ac1e90602401602060405180830381865afa1580156121b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d79190612a95565b8a8b6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612216573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261223e9190810190612feb565b86866040518663ffffffff1660e01b8152600401612260959493929190613077565b600060405180830381600087803b15801561227a57600080fd5b505af115801561228e573d6000803e3d6000fd5b5050505050505050509392505050565b60008051602061319b8339815191528054600160401b810460ff1615906001600160401b03166000811580156122d15750825b90506000826001600160401b031660011480156122ed5750303b155b9050811580156122fb575080155b156123195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561234357845460ff60401b1916600160401b1785555b6000808780602001905181019061235a919061314b565b9092509050612369828a6113aa565b6001546001600160a01b031663d39e6043608c612384611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156123c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ed9190612d2a565b600280546001600160a01b0319166001600160a01b039290921691909117905561241d6308bcea6160e01b6108cf565b50508315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ccd565b6000806124766001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156124c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124ed9190810190612c58565b608001519392505050565b60006020828403121561250a57600080fd5b81356001600160e01b03198116811461252257600080fd5b9392505050565b80356001600160c01b03198116811461254157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561257e5761257e612546565b60405290565b60405160e081016001600160401b038111828210171561257e5761257e612546565b60405161010081016001600160401b038111828210171561257e5761257e612546565b604051601f8201601f191681016001600160401b03811182821017156125f1576125f1612546565b604052919050565b60006001600160401b0382111561261257612612612546565b50601f01601f191660200190565b600082601f83011261263157600080fd5b813561264461263f826125f9565b6125c9565b81815284602083860101111561265957600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561268957600080fd5b61269283612529565b915060208301356001600160401b038111156126ad57600080fd5b6126b985828601612620565b9150509250929050565b60005b838110156126de5781810151838201526020016126c6565b50506000910152565b600081518084526126ff8160208601602086016126c3565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161277c60c08401826001600160a01b03169052565b5060c083015160e0808401526127966101008401826126e7565b949350505050565b6001600160a01b0381168114610dea57600080fd5b6001600160601b0381168114610dea57600080fd5b60ff81168114610dea57600080fd5b8015158114610dea57600080fd5b60008060008060008060c087890312156127fe57600080fd5b86356128098161279e565b95506020870135612819816127b3565b94506040870135612829816127c8565b93506060870135612839816127d7565b925060808701356128498161279e565b915060a08701356001600160401b0381111561286457600080fd5b61287089828a01612620565b9150509295509295509295565b60006020828403121561288f57600080fd5b81356001600160401b038111156128a557600080fd5b61279684828501612620565b6000602082840312156128c357600080fd5b81356125228161279e565b600080604083850312156128e157600080fd5b82356126928161279e565b600080604083850312156128ff57600080fd5b61290883612529565b91506020830135612918816127c8565b809150509250929050565b60006040828403121561293557600080fd5b61293d61255c565b9050813581526020820135602082015292915050565b6000806080838503121561296657600080fd5b6129708484612923565b915061297f8460408501612923565b90509250929050565b6000806040838503121561299b57600080fd5b82356129a68161279e565b915060208301356129188161279e565b6001600160601b038151168252600060208201516040602085015261279660408501826126e7565b6001600160401b0360c01b8316815260406020820152600061279660408301846129b6565b600060208284031215612a1557600080fd5b815162ffffff8116811461252257600080fd5b600181811c90821680612a3c57607f821691505b602082108103612a5c57634e487b7160e01b600052602260045260246000fd5b50919050565b8051612541816127d7565b600060208284031215612a7f57600080fd5b8151612522816127d7565b8051612541816127b3565b600060208284031215612aa757600080fd5b8151612522816127b3565b601f821115612afc57600081815260208120601f850160051c81016020861015612ad95750805b601f850160051c820191505b81811015612af857828155600101612ae5565b5050505b505050565b81516001600160401b03811115612b1a57612b1a612546565b612b2e81612b288454612a28565b84612ab2565b602080601f831160018114612b635760008415612b4b5750858301515b600019600386901b1c1916600185901b178555612af8565b600085815260208120601f198616915b82811015612b9257888601518255948401946001909101908401612b73565b5085821015612bb05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610dea57600080fd5b600060208284031215612be757600080fd5b815161252281612bc0565b8051612541816127c8565b80516125418161279e565b6000612c1661263f846125f9565b9050828152838383011115612c2a57600080fd5b6125228360208301846126c3565b600082601f830112612c4957600080fd5b61252283835160208501612c08565b600060208284031215612c6a57600080fd5b81516001600160401b0380821115612c8157600080fd5b9083019060e08286031215612c9557600080fd5b612c9d612584565b612ca683612a8a565b8152612cb460208401612a8a565b6020820152612cc560408401612bf2565b6040820152612cd660608401612a62565b6060820152612ce760808401612bfd565b6080820152612cf860a08401612bfd565b60a082015260c083015182811115612d0f57600080fd5b612d1b87828601612c38565b60c08301525095945050505050565b600060208284031215612d3c57600080fd5b81516125228161279e565b600060208284031215612d5957600080fd5b81516001600160401b0380821115612d7057600080fd5b9083019060408286031215612d8457600080fd5b612d8c61255c565b8251612d97816127b3565b8152602083015182811115612dab57600080fd5b612db787828601612c38565b60208301525095945050505050565b6001600160401b0360c01b84168152606060208201526000612deb60608301856129b6565b905060ff83166040830152949350505050565b600060408284031215612e1057600080fd5b612e1861255c565b9050815181526020820151602082015292915050565b60006101408284031215612e4157600080fd5b612e496125a6565b612e5283612bfd565b8152612e6060208401612bfd565b6020820152612e7160408401612a8a565b6040820152612e8260608401612a8a565b6060820152612e948460808501612dfe565b6080820152612ea68460c08501612dfe565b60a0820152612eb86101008401612a62565b60c0820152612eca6101208401612bfd565b60e08201529392505050565b60018060a01b038082511683528060208301511660208401525060408101516001600160601b03808216604085015280606084015116606085015250506080810151612f2f608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151151561010083015260e001516001600160a01b031661012090910152565b6001600160601b03841681526101808101612f886020830185612ed6565b60ff8316610160830152949350505050565b600060208284031215612fac57600080fd5b8151612522816127c8565b6001600160601b038316815261016081016125226020830184612ed6565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612ffd57600080fd5b81516001600160401b0381111561301357600080fd5b8201601f8101841361302457600080fd5b61279684825160208401612c08565b600081518084526020808501945080840160005b8381101561306c5781516001600160401b031687529582019590820190600101613047565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526130a860a08401876126e7565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561312657868403601f19018652825180518086529089019089860190845b818110156131115783516001600160e01b0319168352928b0192918b01916001016130eb565b505096890196945050918701916001016130c9565b505050868103608088015261313b8189613033565b9c9b505050505050505050505050565b6000806040838503121561315e57600080fd5b82516131698161279e565b60208401519092506129188161279e56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220fa4dbba136e8c5ea58feb6167de7d4411b5635324f56a2aad664f3b0526c9a5b64736f6c63430008140033",
903
689
  "linkReferences": {
904
- "contracts/types/Blocknumber.sol": {
905
- "BlocknumberLib": [
906
- {
907
- "length": 20,
908
- "start": 4782
909
- }
910
- ]
911
- },
912
- "contracts/types/Fee.sol": {
913
- "FeeLib": [
914
- {
915
- "length": 20,
916
- "start": 12088
917
- },
918
- {
919
- "length": 20,
920
- "start": 12351
921
- },
922
- {
923
- "length": 20,
924
- "start": 13966
925
- },
926
- {
927
- "length": 20,
928
- "start": 14229
929
- },
930
- {
931
- "length": 20,
932
- "start": 14595
933
- },
934
- {
935
- "length": 20,
936
- "start": 14735
937
- }
938
- ]
939
- },
940
690
  "contracts/types/NftId.sol": {
941
691
  "NftIdLib": [
942
692
  {
943
693
  "length": 20,
944
- "start": 2619
694
+ "start": 2019
945
695
  },
946
696
  {
947
697
  "length": 20,
948
- "start": 6809
698
+ "start": 3969
949
699
  },
950
700
  {
951
701
  "length": 20,
952
- "start": 10065
702
+ "start": 6558
953
703
  }
954
704
  ]
955
705
  },
@@ -957,51 +707,7 @@
957
707
  "RoleIdLib": [
958
708
  {
959
709
  "length": 20,
960
- "start": 16893
961
- },
962
- {
963
- "length": 20,
964
- "start": 17014
965
- },
966
- {
967
- "length": 20,
968
- "start": 17073
969
- },
970
- {
971
- "length": 20,
972
- "start": 17132
973
- }
974
- ]
975
- },
976
- "contracts/types/Timestamp.sol": {
977
- "TimestampLib": [
978
- {
979
- "length": 20,
980
- "start": 4272
981
- },
982
- {
983
- "length": 20,
984
- "start": 4491
985
- },
986
- {
987
- "length": 20,
988
- "start": 6032
989
- },
990
- {
991
- "length": 20,
992
- "start": 15162
993
- }
994
- ]
995
- },
996
- "contracts/types/UFixed.sol": {
997
- "UFixedLib": [
998
- {
999
- "length": 20,
1000
- "start": 4910
1001
- },
1002
- {
1003
- "length": 20,
1004
- "start": 5043
710
+ "start": 6299
1005
711
  }
1006
712
  ]
1007
713
  },
@@ -1009,69 +715,35 @@
1009
715
  "VersionLib": [
1010
716
  {
1011
717
  "length": 20,
1012
- "start": 2141
718
+ "start": 1431
1013
719
  },
1014
720
  {
1015
721
  "length": 20,
1016
- "start": 7570
1017
- },
722
+ "start": 2672
723
+ }
724
+ ],
725
+ "VersionPartLib": [
1018
726
  {
1019
727
  "length": 20,
1020
- "start": 9552
728
+ "start": 5170
1021
729
  }
1022
730
  ]
1023
731
  }
1024
732
  },
1025
733
  "deployedLinkReferences": {
1026
- "contracts/types/Blocknumber.sol": {
1027
- "BlocknumberLib": [
1028
- {
1029
- "length": 20,
1030
- "start": 4468
1031
- }
1032
- ]
1033
- },
1034
- "contracts/types/Fee.sol": {
1035
- "FeeLib": [
1036
- {
1037
- "length": 20,
1038
- "start": 11774
1039
- },
1040
- {
1041
- "length": 20,
1042
- "start": 12037
1043
- },
1044
- {
1045
- "length": 20,
1046
- "start": 13652
1047
- },
1048
- {
1049
- "length": 20,
1050
- "start": 13915
1051
- },
1052
- {
1053
- "length": 20,
1054
- "start": 14281
1055
- },
1056
- {
1057
- "length": 20,
1058
- "start": 14421
1059
- }
1060
- ]
1061
- },
1062
734
  "contracts/types/NftId.sol": {
1063
735
  "NftIdLib": [
1064
736
  {
1065
737
  "length": 20,
1066
- "start": 2305
738
+ "start": 1789
1067
739
  },
1068
740
  {
1069
741
  "length": 20,
1070
- "start": 6495
742
+ "start": 3739
1071
743
  },
1072
744
  {
1073
745
  "length": 20,
1074
- "start": 9751
746
+ "start": 6328
1075
747
  }
1076
748
  ]
1077
749
  },
@@ -1079,51 +751,7 @@
1079
751
  "RoleIdLib": [
1080
752
  {
1081
753
  "length": 20,
1082
- "start": 16579
1083
- },
1084
- {
1085
- "length": 20,
1086
- "start": 16700
1087
- },
1088
- {
1089
- "length": 20,
1090
- "start": 16759
1091
- },
1092
- {
1093
- "length": 20,
1094
- "start": 16818
1095
- }
1096
- ]
1097
- },
1098
- "contracts/types/Timestamp.sol": {
1099
- "TimestampLib": [
1100
- {
1101
- "length": 20,
1102
- "start": 3958
1103
- },
1104
- {
1105
- "length": 20,
1106
- "start": 4177
1107
- },
1108
- {
1109
- "length": 20,
1110
- "start": 5718
1111
- },
1112
- {
1113
- "length": 20,
1114
- "start": 14848
1115
- }
1116
- ]
1117
- },
1118
- "contracts/types/UFixed.sol": {
1119
- "UFixedLib": [
1120
- {
1121
- "length": 20,
1122
- "start": 4596
1123
- },
1124
- {
1125
- "length": 20,
1126
- "start": 4729
754
+ "start": 6069
1127
755
  }
1128
756
  ]
1129
757
  },
@@ -1131,15 +759,17 @@
1131
759
  "VersionLib": [
1132
760
  {
1133
761
  "length": 20,
1134
- "start": 1827
762
+ "start": 1201
1135
763
  },
1136
764
  {
1137
765
  "length": 20,
1138
- "start": 7256
1139
- },
766
+ "start": 2442
767
+ }
768
+ ],
769
+ "VersionPartLib": [
1140
770
  {
1141
771
  "length": 20,
1142
- "start": 9238
772
+ "start": 4940
1143
773
  }
1144
774
  ]
1145
775
  }