@etherisc/gif-next 0.0.2-da06f3b-803 → 0.0.2-da09ec0-359

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +315 -98
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +668 -141
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +241 -60
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +438 -86
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +526 -144
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +257 -144
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +676 -183
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +435 -186
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +267 -1594
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +232 -208
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +393 -2515
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +359 -92
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +424 -236
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +338 -409
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +291 -108
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  41. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +197 -169
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +51 -42
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  55. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +526 -340
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +340 -93
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1376 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +982 -198
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +430 -87
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +493 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +290 -270
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +527 -128
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +181 -296
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +705 -122
  88. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +510 -0
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -160
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +449 -395
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +349 -114
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1018 -202
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +360 -89
  100. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  102. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +231 -223
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -95
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +15 -2
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +70 -193
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +28 -15
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +182 -232
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -94
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +23 -11
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +128 -37
  128. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  130. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -29
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IService.sol/IService.json +71 -160
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +100 -33
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -76
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +115 -58
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Service.sol/Service.json +172 -160
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +115 -58
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +190 -210
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  182. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  194. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  220. package/contracts/components/Component.sol +134 -78
  221. package/contracts/components/Distribution.sol +189 -57
  222. package/contracts/components/IComponent.sol +62 -15
  223. package/contracts/components/IDistributionComponent.sol +39 -15
  224. package/contracts/components/IPoolComponent.sol +86 -23
  225. package/contracts/components/IProductComponent.sol +8 -6
  226. package/contracts/components/Pool.sol +230 -136
  227. package/contracts/components/Product.sol +227 -118
  228. package/contracts/instance/BundleManager.sol +10 -9
  229. package/contracts/instance/Cloneable.sol +7 -2
  230. package/contracts/instance/IInstance.sol +40 -35
  231. package/contracts/instance/IInstanceService.sol +44 -13
  232. package/contracts/instance/Instance.sol +131 -171
  233. package/contracts/instance/InstanceAccessManager.sol +281 -154
  234. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  235. package/contracts/instance/InstanceReader.sol +90 -15
  236. package/contracts/instance/InstanceService.sol +173 -338
  237. package/contracts/instance/InstanceServiceManager.sol +1 -1
  238. package/contracts/instance/InstanceStore.sol +212 -0
  239. package/contracts/instance/ObjectManager.sol +6 -8
  240. package/contracts/instance/base/ComponentService.sol +53 -39
  241. package/contracts/instance/base/KeyValueStore.sol +13 -36
  242. package/contracts/instance/base/Lifecycle.sol +26 -6
  243. package/contracts/instance/module/IAccess.sol +18 -12
  244. package/contracts/instance/module/IBundle.sol +8 -5
  245. package/contracts/instance/module/IComponents.sol +41 -0
  246. package/contracts/instance/module/IDistribution.sol +3 -0
  247. package/contracts/instance/module/IPolicy.sol +43 -11
  248. package/contracts/instance/module/ISetup.sol +7 -20
  249. package/contracts/instance/service/ApplicationService.sol +186 -0
  250. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  251. package/contracts/instance/service/BundleService.sol +225 -136
  252. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  253. package/contracts/instance/service/ClaimService.sol +437 -0
  254. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  255. package/contracts/instance/service/DistributionService.sol +264 -22
  256. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  257. package/contracts/instance/service/IApplicationService.sol +62 -0
  258. package/contracts/instance/service/IBundleService.sol +96 -22
  259. package/contracts/instance/service/IClaimService.sol +90 -0
  260. package/contracts/instance/service/IDistributionService.sol +76 -1
  261. package/contracts/instance/service/IPolicyService.sol +40 -54
  262. package/contracts/instance/service/IPoolService.sol +97 -3
  263. package/contracts/instance/service/IPricingService.sol +37 -0
  264. package/contracts/instance/service/PolicyService.sol +200 -362
  265. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  266. package/contracts/instance/service/PoolService.sol +313 -20
  267. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  268. package/contracts/instance/service/PricingService.sol +275 -0
  269. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  270. package/contracts/instance/service/ProductService.sol +41 -64
  271. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  272. package/contracts/registry/ChainNft.sol +8 -0
  273. package/contracts/registry/IRegistry.sol +3 -2
  274. package/contracts/registry/IRegistryService.sol +12 -11
  275. package/contracts/registry/ITransferInterceptor.sol +1 -0
  276. package/contracts/registry/Registry.sol +30 -20
  277. package/contracts/registry/RegistryService.sol +75 -51
  278. package/contracts/registry/RegistryServiceManager.sol +13 -13
  279. package/contracts/registry/ReleaseManager.sol +32 -40
  280. package/contracts/registry/TokenRegistry.sol +16 -12
  281. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  282. package/contracts/shared/ERC165.sol +14 -12
  283. package/contracts/shared/INftOwnable.sol +11 -10
  284. package/contracts/shared/IPolicyHolder.sol +40 -0
  285. package/contracts/shared/IRegisterable.sol +3 -3
  286. package/contracts/shared/IRegistryLinked.sol +11 -0
  287. package/contracts/shared/IService.sol +6 -4
  288. package/contracts/shared/IVersionable.sol +4 -47
  289. package/contracts/shared/NftOwnable.sol +64 -85
  290. package/contracts/shared/PolicyHolder.sol +94 -0
  291. package/contracts/shared/ProxyManager.sol +100 -25
  292. package/contracts/shared/Registerable.sol +16 -27
  293. package/contracts/shared/RegistryLinked.sol +43 -0
  294. package/contracts/shared/Service.sol +32 -20
  295. package/contracts/shared/TokenHandler.sol +14 -6
  296. package/contracts/shared/Versionable.sol +4 -92
  297. package/contracts/test/TestRegisterable.sol +1 -1
  298. package/contracts/test/TestService.sol +1 -1
  299. package/contracts/types/Amount.sol +109 -0
  300. package/contracts/types/Blocknumber.sol +1 -0
  301. package/contracts/types/ClaimId.sol +75 -0
  302. package/contracts/types/DistributorType.sol +2 -2
  303. package/contracts/types/Fee.sol +17 -8
  304. package/contracts/types/NftId.sol +8 -0
  305. package/contracts/types/ObjectType.sol +16 -7
  306. package/contracts/types/PayoutId.sol +82 -0
  307. package/contracts/types/Referral.sol +4 -0
  308. package/contracts/types/RoleId.sol +12 -8
  309. package/contracts/types/Seconds.sol +54 -0
  310. package/contracts/types/StateId.sol +7 -2
  311. package/contracts/types/Timestamp.sol +18 -13
  312. package/contracts/types/UFixed.sol +1 -0
  313. package/contracts/types/Version.sol +1 -0
  314. package/package.json +1 -1
  315. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  317. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  319. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  321. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  323. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  325. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  329. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  331. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  333. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  335. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  338. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  340. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  342. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  344. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  346. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  348. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  350. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  352. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  354. package/contracts/experiment/cloning/Cloner.sol +0 -47
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
@@ -7,32 +7,38 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "nftId",
16
- "type": "uint96"
17
12
  }
18
13
  ],
19
- "name": "ErrorAlreadyLinked",
14
+ "name": "AccessManagedInvalidAuthority",
20
15
  "type": "error"
21
16
  },
22
17
  {
23
18
  "inputs": [
24
19
  {
25
20
  "internalType": "address",
26
- "name": "component",
21
+ "name": "caller",
27
22
  "type": "address"
28
23
  },
29
24
  {
30
- "internalType": "NftId",
31
- "name": "nftId",
32
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
33
39
  }
34
40
  ],
35
- "name": "ErrorComponentServiceAlreadyRegistered",
41
+ "name": "AccessManagedUnauthorized",
36
42
  "type": "error"
37
43
  },
38
44
  {
@@ -46,6 +52,27 @@
46
52
  "name": "ErrorComponentServiceComponentLocked",
47
53
  "type": "error"
48
54
  },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
49
76
  {
50
77
  "inputs": [
51
78
  {
@@ -124,76 +151,286 @@
124
151
  "inputs": [
125
152
  {
126
153
  "internalType": "address",
127
- "name": "contractAddress",
154
+ "name": "sender",
128
155
  "type": "address"
129
156
  }
130
157
  ],
131
- "name": "ErrorContractNotRegistered",
158
+ "name": "ErrorComponentServiceSenderNotService",
132
159
  "type": "error"
133
160
  },
134
161
  {
135
162
  "inputs": [
136
163
  {
137
164
  "internalType": "address",
138
- "name": "target",
165
+ "name": "caller",
139
166
  "type": "address"
140
167
  }
141
168
  ],
142
- "name": "ErrorIAccessTargetLocked",
169
+ "name": "ErrorDistributionServiceCallerNotRegistered",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "Amount",
176
+ "name": "transferredDistributionFeeAmount",
177
+ "type": "uint96"
178
+ },
179
+ {
180
+ "internalType": "Amount",
181
+ "name": "expectedDistributionFeeAmount",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "name": "ErrorDistributionServiceInvalidFeeTransferred",
143
186
  "type": "error"
144
187
  },
145
188
  {
146
189
  "inputs": [
147
190
  {
148
191
  "internalType": "address",
149
- "name": "account",
192
+ "name": "target",
150
193
  "type": "address"
151
194
  }
152
195
  ],
153
- "name": "ErrorNotOwner",
196
+ "name": "ErrorIAccessTargetLocked",
154
197
  "type": "error"
155
198
  },
156
199
  {
157
200
  "inputs": [
158
201
  {
159
202
  "internalType": "address",
160
- "name": "registryAddress",
203
+ "name": "caller",
161
204
  "type": "address"
162
205
  }
163
206
  ],
164
- "name": "ErrorNotRegistry",
207
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "commissionPercentage",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "maxCommissionPercentage",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "maxDiscountPercentage",
231
+ "type": "uint256"
232
+ },
233
+ {
234
+ "internalType": "uint256",
235
+ "name": "discountPercentage",
236
+ "type": "uint256"
237
+ }
238
+ ],
239
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "minDiscountPercentage",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "discountPercentage",
252
+ "type": "uint256"
253
+ }
254
+ ],
255
+ "name": "ErrorIDistributionServiceDiscountTooLow",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "Timestamp",
262
+ "name": "expiryAt",
263
+ "type": "uint40"
264
+ }
265
+ ],
266
+ "name": "ErrorIDistributionServiceExpirationInvalid",
267
+ "type": "error"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "maxReferralLifetime",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "expiryAt",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "ErrorIDistributionServiceExpiryTooLong",
283
+ "type": "error"
284
+ },
285
+ {
286
+ "inputs": [
287
+ {
288
+ "internalType": "string",
289
+ "name": "code",
290
+ "type": "string"
291
+ }
292
+ ],
293
+ "name": "ErrorIDistributionServiceInvalidReferral",
294
+ "type": "error"
295
+ },
296
+ {
297
+ "inputs": [
298
+ {
299
+ "internalType": "ReferralId",
300
+ "name": "referralId",
301
+ "type": "bytes8"
302
+ }
303
+ ],
304
+ "name": "ErrorIDistributionServiceInvalidReferralId",
305
+ "type": "error"
306
+ },
307
+ {
308
+ "inputs": [
309
+ {
310
+ "internalType": "uint256",
311
+ "name": "maxDiscountPercentage",
312
+ "type": "uint256"
313
+ },
314
+ {
315
+ "internalType": "uint256",
316
+ "name": "limit",
317
+ "type": "uint256"
318
+ }
319
+ ],
320
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
321
+ "type": "error"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "maxReferrals",
328
+ "type": "uint256"
329
+ }
330
+ ],
331
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
332
+ "type": "error"
333
+ },
334
+ {
335
+ "inputs": [
336
+ {
337
+ "internalType": "uint256",
338
+ "name": "minFee",
339
+ "type": "uint256"
340
+ },
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "limit",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
348
+ "type": "error"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "NftId",
354
+ "name": "nftId",
355
+ "type": "uint96"
356
+ },
357
+ {
358
+ "internalType": "NftId",
359
+ "name": "parentNftId",
360
+ "type": "uint96"
361
+ }
362
+ ],
363
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
364
+ "type": "error"
365
+ },
366
+ {
367
+ "inputs": [
368
+ {
369
+ "internalType": "NftId",
370
+ "name": "distributionNftId",
371
+ "type": "uint96"
372
+ },
373
+ {
374
+ "internalType": "ReferralId",
375
+ "name": "referralId",
376
+ "type": "bytes8"
377
+ }
378
+ ],
379
+ "name": "ErrorIDistributionServiceReferralInvalid",
380
+ "type": "error"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "NftId",
386
+ "name": "nftId",
387
+ "type": "uint96"
388
+ }
389
+ ],
390
+ "name": "ErrorNftOwnableAlreadyLinked",
165
391
  "type": "error"
166
392
  },
167
393
  {
168
394
  "inputs": [
169
395
  {
170
396
  "internalType": "address",
171
- "name": "registryAddress",
397
+ "name": "contractAddress",
172
398
  "type": "address"
173
399
  }
174
400
  ],
175
- "name": "ErrorRegisterableNotRegistry",
401
+ "name": "ErrorNftOwnableContractNotRegistered",
176
402
  "type": "error"
177
403
  },
178
404
  {
179
405
  "inputs": [],
180
- "name": "ErrorRegistryAddressZero",
406
+ "name": "ErrorNftOwnableInitialOwnerZero",
181
407
  "type": "error"
182
408
  },
183
409
  {
184
410
  "inputs": [
185
411
  {
186
412
  "internalType": "address",
187
- "name": "registry",
413
+ "name": "account",
414
+ "type": "address"
415
+ }
416
+ ],
417
+ "name": "ErrorNftOwnableNotOwner",
418
+ "type": "error"
419
+ },
420
+ {
421
+ "inputs": [
422
+ {
423
+ "internalType": "address",
424
+ "name": "registryAddress",
188
425
  "type": "address"
189
426
  }
190
427
  ],
191
- "name": "ErrorRegistryAlreadyInitialized",
428
+ "name": "ErrorNotRegistry",
192
429
  "type": "error"
193
430
  },
194
431
  {
195
432
  "inputs": [],
196
- "name": "ErrorRegistryNotInitialized",
433
+ "name": "ErrorServiceNotImplemented",
197
434
  "type": "error"
198
435
  },
199
436
  {
@@ -211,12 +448,12 @@
211
448
  "inputs": [
212
449
  {
213
450
  "indexed": false,
214
- "internalType": "uint64",
215
- "name": "version",
216
- "type": "uint64"
451
+ "internalType": "address",
452
+ "name": "authority",
453
+ "type": "address"
217
454
  }
218
455
  ],
219
- "name": "Initialized",
456
+ "name": "AuthorityUpdated",
220
457
  "type": "event"
221
458
  },
222
459
  {
@@ -224,29 +461,17 @@
224
461
  "inputs": [
225
462
  {
226
463
  "indexed": false,
227
- "internalType": "Version",
464
+ "internalType": "uint64",
228
465
  "name": "version",
229
- "type": "uint24"
230
- },
231
- {
232
- "indexed": false,
233
- "internalType": "address",
234
- "name": "implementation",
235
- "type": "address"
236
- },
237
- {
238
- "indexed": false,
239
- "internalType": "address",
240
- "name": "activatedBy",
241
- "type": "address"
466
+ "type": "uint64"
242
467
  }
243
468
  ],
244
- "name": "LogVersionableInitialized",
469
+ "name": "Initialized",
245
470
  "type": "event"
246
471
  },
247
472
  {
248
473
  "inputs": [],
249
- "name": "REGISTERABLE_LOCATION_V1",
474
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
250
475
  "outputs": [
251
476
  {
252
477
  "internalType": "bytes32",
@@ -259,30 +484,188 @@
259
484
  },
260
485
  {
261
486
  "inputs": [],
262
- "name": "getDomain",
487
+ "name": "REGISTERABLE_LOCATION_V1",
263
488
  "outputs": [
264
489
  {
265
- "internalType": "ObjectType",
490
+ "internalType": "bytes32",
266
491
  "name": "",
267
- "type": "uint8"
492
+ "type": "bytes32"
268
493
  }
269
494
  ],
270
- "stateMutability": "pure",
495
+ "stateMutability": "view",
271
496
  "type": "function"
272
497
  },
273
498
  {
274
499
  "inputs": [],
275
- "name": "getInitialInfo",
500
+ "name": "authority",
276
501
  "outputs": [
277
502
  {
278
- "components": [
279
- {
280
- "internalType": "NftId",
281
- "name": "nftId",
282
- "type": "uint96"
283
- },
284
- {
285
- "internalType": "NftId",
503
+ "internalType": "address",
504
+ "name": "",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "stateMutability": "view",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [
513
+ {
514
+ "internalType": "address",
515
+ "name": "distributor",
516
+ "type": "address"
517
+ },
518
+ {
519
+ "internalType": "DistributorType",
520
+ "name": "distributorType",
521
+ "type": "bytes8"
522
+ },
523
+ {
524
+ "internalType": "bytes",
525
+ "name": "data",
526
+ "type": "bytes"
527
+ }
528
+ ],
529
+ "name": "createDistributor",
530
+ "outputs": [
531
+ {
532
+ "internalType": "NftId",
533
+ "name": "distributorNftId",
534
+ "type": "uint96"
535
+ }
536
+ ],
537
+ "stateMutability": "nonpayable",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [
542
+ {
543
+ "internalType": "string",
544
+ "name": "name",
545
+ "type": "string"
546
+ },
547
+ {
548
+ "internalType": "UFixed",
549
+ "name": "minDiscountPercentage",
550
+ "type": "uint256"
551
+ },
552
+ {
553
+ "internalType": "UFixed",
554
+ "name": "maxDiscountPercentage",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "internalType": "UFixed",
559
+ "name": "commissionPercentage",
560
+ "type": "uint256"
561
+ },
562
+ {
563
+ "internalType": "uint32",
564
+ "name": "maxReferralCount",
565
+ "type": "uint32"
566
+ },
567
+ {
568
+ "internalType": "uint32",
569
+ "name": "maxReferralLifetime",
570
+ "type": "uint32"
571
+ },
572
+ {
573
+ "internalType": "bool",
574
+ "name": "allowSelfReferrals",
575
+ "type": "bool"
576
+ },
577
+ {
578
+ "internalType": "bool",
579
+ "name": "allowRenewals",
580
+ "type": "bool"
581
+ },
582
+ {
583
+ "internalType": "bytes",
584
+ "name": "data",
585
+ "type": "bytes"
586
+ }
587
+ ],
588
+ "name": "createDistributorType",
589
+ "outputs": [
590
+ {
591
+ "internalType": "DistributorType",
592
+ "name": "distributorType",
593
+ "type": "bytes8"
594
+ }
595
+ ],
596
+ "stateMutability": "nonpayable",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "NftId",
603
+ "name": "distributorNftId",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "internalType": "string",
608
+ "name": "code",
609
+ "type": "string"
610
+ },
611
+ {
612
+ "internalType": "UFixed",
613
+ "name": "discountPercentage",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint32",
618
+ "name": "maxReferrals",
619
+ "type": "uint32"
620
+ },
621
+ {
622
+ "internalType": "Timestamp",
623
+ "name": "expiryAt",
624
+ "type": "uint40"
625
+ },
626
+ {
627
+ "internalType": "bytes",
628
+ "name": "data",
629
+ "type": "bytes"
630
+ }
631
+ ],
632
+ "name": "createReferral",
633
+ "outputs": [
634
+ {
635
+ "internalType": "ReferralId",
636
+ "name": "referralId",
637
+ "type": "bytes8"
638
+ }
639
+ ],
640
+ "stateMutability": "nonpayable",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "inputs": [],
645
+ "name": "getDomain",
646
+ "outputs": [
647
+ {
648
+ "internalType": "ObjectType",
649
+ "name": "",
650
+ "type": "uint8"
651
+ }
652
+ ],
653
+ "stateMutability": "pure",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [],
658
+ "name": "getInitialInfo",
659
+ "outputs": [
660
+ {
661
+ "components": [
662
+ {
663
+ "internalType": "NftId",
664
+ "name": "nftId",
665
+ "type": "uint96"
666
+ },
667
+ {
668
+ "internalType": "NftId",
286
669
  "name": "parentNftId",
287
670
  "type": "uint96"
288
671
  },
@@ -322,10 +705,10 @@
322
705
  },
323
706
  {
324
707
  "inputs": [],
325
- "name": "getInitialOwner",
708
+ "name": "getInstanceService",
326
709
  "outputs": [
327
710
  {
328
- "internalType": "address",
711
+ "internalType": "contract InstanceService",
329
712
  "name": "",
330
713
  "type": "address"
331
714
  }
@@ -335,12 +718,12 @@
335
718
  },
336
719
  {
337
720
  "inputs": [],
338
- "name": "getInitializedVersion",
721
+ "name": "getNftId",
339
722
  "outputs": [
340
723
  {
341
- "internalType": "uint64",
724
+ "internalType": "NftId",
342
725
  "name": "",
343
- "type": "uint64"
726
+ "type": "uint96"
344
727
  }
345
728
  ],
346
729
  "stateMutability": "view",
@@ -348,10 +731,10 @@
348
731
  },
349
732
  {
350
733
  "inputs": [],
351
- "name": "getInstanceService",
734
+ "name": "getOwner",
352
735
  "outputs": [
353
736
  {
354
- "internalType": "contract InstanceService",
737
+ "internalType": "address",
355
738
  "name": "",
356
739
  "type": "address"
357
740
  }
@@ -361,12 +744,12 @@
361
744
  },
362
745
  {
363
746
  "inputs": [],
364
- "name": "getMajorVersion",
747
+ "name": "getRegistry",
365
748
  "outputs": [
366
749
  {
367
- "internalType": "VersionPart",
368
- "name": "majorVersion",
369
- "type": "uint8"
750
+ "internalType": "contract IRegistry",
751
+ "name": "",
752
+ "type": "address"
370
753
  }
371
754
  ],
372
755
  "stateMutability": "view",
@@ -374,12 +757,12 @@
374
757
  },
375
758
  {
376
759
  "inputs": [],
377
- "name": "getNftId",
760
+ "name": "getRegistryService",
378
761
  "outputs": [
379
762
  {
380
- "internalType": "NftId",
763
+ "internalType": "contract IRegistryService",
381
764
  "name": "",
382
- "type": "uint96"
765
+ "type": "address"
383
766
  }
384
767
  ],
385
768
  "stateMutability": "view",
@@ -387,153 +770,255 @@
387
770
  },
388
771
  {
389
772
  "inputs": [],
390
- "name": "getOwner",
773
+ "name": "getVersion",
391
774
  "outputs": [
392
775
  {
393
- "internalType": "address",
776
+ "internalType": "Version",
394
777
  "name": "",
395
- "type": "address"
778
+ "type": "uint24"
396
779
  }
397
780
  ],
398
- "stateMutability": "view",
781
+ "stateMutability": "pure",
399
782
  "type": "function"
400
783
  },
401
784
  {
402
785
  "inputs": [],
403
- "name": "getRegistry",
404
- "outputs": [
786
+ "name": "initializeERC165",
787
+ "outputs": [],
788
+ "stateMutability": "nonpayable",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
405
793
  {
406
- "internalType": "contract IRegistry",
407
- "name": "",
794
+ "internalType": "address",
795
+ "name": "initialOwner",
796
+ "type": "address"
797
+ },
798
+ {
799
+ "internalType": "address",
800
+ "name": "registryAddress",
408
801
  "type": "address"
409
802
  }
410
803
  ],
411
- "stateMutability": "view",
804
+ "name": "initializeNftOwnable",
805
+ "outputs": [],
806
+ "stateMutability": "nonpayable",
412
807
  "type": "function"
413
808
  },
414
809
  {
415
- "inputs": [],
416
- "name": "getRegistryService",
417
- "outputs": [
810
+ "inputs": [
418
811
  {
419
- "internalType": "contract IRegistryService",
420
- "name": "",
812
+ "internalType": "address",
813
+ "name": "registryAddress",
814
+ "type": "address"
815
+ },
816
+ {
817
+ "internalType": "NftId",
818
+ "name": "parentNftId",
819
+ "type": "uint96"
820
+ },
821
+ {
822
+ "internalType": "ObjectType",
823
+ "name": "objectType",
824
+ "type": "uint8"
825
+ },
826
+ {
827
+ "internalType": "bool",
828
+ "name": "isInterceptor",
829
+ "type": "bool"
830
+ },
831
+ {
832
+ "internalType": "address",
833
+ "name": "initialOwner",
421
834
  "type": "address"
835
+ },
836
+ {
837
+ "internalType": "bytes",
838
+ "name": "registryData",
839
+ "type": "bytes"
422
840
  }
423
841
  ],
424
- "stateMutability": "view",
842
+ "name": "initializeRegisterable",
843
+ "outputs": [],
844
+ "stateMutability": "nonpayable",
425
845
  "type": "function"
426
846
  },
427
847
  {
428
- "inputs": [],
429
- "name": "getVersion",
430
- "outputs": [
848
+ "inputs": [
431
849
  {
432
- "internalType": "Version",
433
- "name": "",
434
- "type": "uint24"
850
+ "internalType": "address",
851
+ "name": "registryAddress",
852
+ "type": "address"
435
853
  }
436
854
  ],
437
- "stateMutability": "pure",
855
+ "name": "initializeRegistryLinked",
856
+ "outputs": [],
857
+ "stateMutability": "nonpayable",
438
858
  "type": "function"
439
859
  },
440
860
  {
441
861
  "inputs": [
442
862
  {
443
- "internalType": "uint256",
444
- "name": "idx",
445
- "type": "uint256"
863
+ "internalType": "address",
864
+ "name": "registry",
865
+ "type": "address"
866
+ },
867
+ {
868
+ "internalType": "address",
869
+ "name": "authority",
870
+ "type": "address"
871
+ },
872
+ {
873
+ "internalType": "address",
874
+ "name": "initialOwner",
875
+ "type": "address"
446
876
  }
447
877
  ],
448
- "name": "getVersion",
449
- "outputs": [
878
+ "name": "initializeService",
879
+ "outputs": [],
880
+ "stateMutability": "nonpayable",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [
450
885
  {
451
- "internalType": "Version",
452
- "name": "",
453
- "type": "uint24"
886
+ "internalType": "address",
887
+ "name": "activatedBy",
888
+ "type": "address"
889
+ },
890
+ {
891
+ "internalType": "bytes",
892
+ "name": "data",
893
+ "type": "bytes"
454
894
  }
455
895
  ],
456
- "stateMutability": "view",
896
+ "name": "initializeVersionable",
897
+ "outputs": [],
898
+ "stateMutability": "nonpayable",
457
899
  "type": "function"
458
900
  },
459
901
  {
460
902
  "inputs": [],
461
- "name": "getVersionCount",
903
+ "name": "isConsumingScheduledOp",
462
904
  "outputs": [
463
905
  {
464
- "internalType": "uint256",
906
+ "internalType": "bytes4",
465
907
  "name": "",
466
- "type": "uint256"
908
+ "type": "bytes4"
467
909
  }
468
910
  ],
469
911
  "stateMutability": "view",
470
912
  "type": "function"
471
913
  },
914
+ {
915
+ "inputs": [],
916
+ "name": "linkToRegisteredNftId",
917
+ "outputs": [],
918
+ "stateMutability": "nonpayable",
919
+ "type": "function"
920
+ },
472
921
  {
473
922
  "inputs": [
474
923
  {
475
- "internalType": "Version",
476
- "name": "_version",
477
- "type": "uint24"
478
- }
479
- ],
480
- "name": "getVersionInfo",
481
- "outputs": [
924
+ "internalType": "NftId",
925
+ "name": "distributionNftId",
926
+ "type": "uint96"
927
+ },
928
+ {
929
+ "internalType": "ReferralId",
930
+ "name": "referralId",
931
+ "type": "bytes8"
932
+ },
482
933
  {
483
934
  "components": [
484
935
  {
485
- "internalType": "Version",
486
- "name": "version",
487
- "type": "uint24"
936
+ "internalType": "uint256",
937
+ "name": "netPremiumAmount",
938
+ "type": "uint256"
488
939
  },
489
940
  {
490
- "internalType": "address",
491
- "name": "implementation",
492
- "type": "address"
941
+ "internalType": "uint256",
942
+ "name": "fullPremiumAmount",
943
+ "type": "uint256"
493
944
  },
494
945
  {
495
- "internalType": "address",
496
- "name": "activatedBy",
497
- "type": "address"
946
+ "internalType": "uint256",
947
+ "name": "premiumAmount",
948
+ "type": "uint256"
949
+ },
950
+ {
951
+ "internalType": "uint256",
952
+ "name": "productFeeFixAmount",
953
+ "type": "uint256"
954
+ },
955
+ {
956
+ "internalType": "uint256",
957
+ "name": "poolFeeFixAmount",
958
+ "type": "uint256"
959
+ },
960
+ {
961
+ "internalType": "uint256",
962
+ "name": "bundleFeeFixAmount",
963
+ "type": "uint256"
964
+ },
965
+ {
966
+ "internalType": "uint256",
967
+ "name": "distributionFeeFixAmount",
968
+ "type": "uint256"
969
+ },
970
+ {
971
+ "internalType": "uint256",
972
+ "name": "productFeeVarAmount",
973
+ "type": "uint256"
974
+ },
975
+ {
976
+ "internalType": "uint256",
977
+ "name": "poolFeeVarAmount",
978
+ "type": "uint256"
979
+ },
980
+ {
981
+ "internalType": "uint256",
982
+ "name": "bundleFeeVarAmount",
983
+ "type": "uint256"
984
+ },
985
+ {
986
+ "internalType": "uint256",
987
+ "name": "distributionFeeVarAmount",
988
+ "type": "uint256"
498
989
  },
499
990
  {
500
- "internalType": "Timestamp",
501
- "name": "activatedAt",
502
- "type": "uint40"
991
+ "internalType": "uint256",
992
+ "name": "distributionOwnerFeeFixAmount",
993
+ "type": "uint256"
994
+ },
995
+ {
996
+ "internalType": "uint256",
997
+ "name": "distributionOwnerFeeVarAmount",
998
+ "type": "uint256"
503
999
  },
504
1000
  {
505
- "internalType": "Blocknumber",
506
- "name": "activatedIn",
507
- "type": "uint32"
1001
+ "internalType": "uint256",
1002
+ "name": "commissionAmount",
1003
+ "type": "uint256"
1004
+ },
1005
+ {
1006
+ "internalType": "uint256",
1007
+ "name": "discountAmount",
1008
+ "type": "uint256"
508
1009
  }
509
1010
  ],
510
- "internalType": "struct IVersionable.VersionInfo",
511
- "name": "",
1011
+ "internalType": "struct IPolicy.Premium",
1012
+ "name": "premium",
512
1013
  "type": "tuple"
513
- }
514
- ],
515
- "stateMutability": "view",
516
- "type": "function"
517
- },
518
- {
519
- "inputs": [
520
- {
521
- "internalType": "address",
522
- "name": "implementation",
523
- "type": "address"
524
- },
525
- {
526
- "internalType": "address",
527
- "name": "activatedBy",
528
- "type": "address"
529
1014
  },
530
1015
  {
531
- "internalType": "bytes",
532
- "name": "data",
533
- "type": "bytes"
1016
+ "internalType": "Amount",
1017
+ "name": "transferredDistributionFeeAmount",
1018
+ "type": "uint96"
534
1019
  }
535
1020
  ],
536
- "name": "initialize",
1021
+ "name": "processSale",
537
1022
  "outputs": [],
538
1023
  "stateMutability": "nonpayable",
539
1024
  "type": "function"
@@ -541,29 +1026,27 @@
541
1026
  {
542
1027
  "inputs": [
543
1028
  {
544
- "internalType": "Version",
545
- "name": "_version",
546
- "type": "uint24"
1029
+ "internalType": "NftId",
1030
+ "name": "distributionNftId",
1031
+ "type": "uint96"
1032
+ },
1033
+ {
1034
+ "internalType": "ReferralId",
1035
+ "name": "referralId",
1036
+ "type": "bytes8"
547
1037
  }
548
1038
  ],
549
- "name": "isInitialized",
1039
+ "name": "referralIsValid",
550
1040
  "outputs": [
551
1041
  {
552
1042
  "internalType": "bool",
553
- "name": "",
1043
+ "name": "isValid",
554
1044
  "type": "bool"
555
1045
  }
556
1046
  ],
557
1047
  "stateMutability": "view",
558
1048
  "type": "function"
559
1049
  },
560
- {
561
- "inputs": [],
562
- "name": "linkToRegisteredNftId",
563
- "outputs": [],
564
- "stateMutability": "nonpayable",
565
- "type": "function"
566
- },
567
1050
  {
568
1051
  "inputs": [
569
1052
  {
@@ -585,6 +1068,49 @@
585
1068
  },
586
1069
  {
587
1070
  "inputs": [
1071
+ {
1072
+ "internalType": "bytes4",
1073
+ "name": "interfaceId",
1074
+ "type": "bytes4"
1075
+ }
1076
+ ],
1077
+ "name": "registerInterface",
1078
+ "outputs": [],
1079
+ "stateMutability": "nonpayable",
1080
+ "type": "function"
1081
+ },
1082
+ {
1083
+ "inputs": [
1084
+ {
1085
+ "internalType": "address",
1086
+ "name": "newAuthority",
1087
+ "type": "address"
1088
+ }
1089
+ ],
1090
+ "name": "setAuthority",
1091
+ "outputs": [],
1092
+ "stateMutability": "nonpayable",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "components": [
1099
+ {
1100
+ "internalType": "UFixed",
1101
+ "name": "fractionalFee",
1102
+ "type": "uint256"
1103
+ },
1104
+ {
1105
+ "internalType": "uint256",
1106
+ "name": "fixedFee",
1107
+ "type": "uint256"
1108
+ }
1109
+ ],
1110
+ "internalType": "struct Fee",
1111
+ "name": "minDistributionOwnerFee",
1112
+ "type": "tuple"
1113
+ },
588
1114
  {
589
1115
  "components": [
590
1116
  {
@@ -629,36 +1155,62 @@
629
1155
  },
630
1156
  {
631
1157
  "inputs": [
632
- {
633
- "internalType": "address",
634
- "name": "implementation",
635
- "type": "address"
636
- },
637
- {
638
- "internalType": "address",
639
- "name": "activatedBy",
640
- "type": "address"
641
- },
642
1158
  {
643
1159
  "internalType": "bytes",
644
1160
  "name": "data",
645
1161
  "type": "bytes"
646
1162
  }
647
1163
  ],
648
- "name": "upgrade",
1164
+ "name": "upgradeVersionable",
649
1165
  "outputs": [],
650
1166
  "stateMutability": "nonpayable",
651
1167
  "type": "function"
652
1168
  }
653
1169
  ],
654
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612c2a806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063b88da7591161007c578063b88da75914610417578063caf4e3d41461042a578063cc9fc59a14610432578063cde749f41461043a578063cf7a1d7714610442578063fb2cb1011461045557600080fd5b8063893d20e8146103a0578063946dfcfe146103a8578063a745e3df146103cf578063b3c65015146103e2578063b68d18091461040257600080fd5b80633f52c0f61161010a5780633f52c0f6146101f95780634420e4861461020c5780634d459c90146102375780634f421333146103505780635ab1bd5314610363578063644c45e01461038857600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101ba5780631eff4b22146101c4575b600080fd5b6101746101553660046122be565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610191610466565b60405162ffffff9091168152602001610180565b6101ad6104f0565b604051610180919061233f565b6101c26106ae565b005b6101eb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6101c261020736600461245a565b6108d0565b61021f61021a3660046124a1565b610a33565b6040516001600160601b039091168152602001610180565b6102f36102453660046124cf565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612bd583398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461035e3660046124cf565b610da1565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b600154600160a01b90046001600160601b031661021f565b610370610e54565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101eb565b6101c26103dd366004612513565b610f6d565b6103ea6110c7565b6040516001600160401b039091168152602001610180565b60785b60405160ff9091168152602001610180565b6101916104253660046125b7565b6110e8565b610370611139565b6103706111d6565b610405611200565b6101c2610450366004612513565b611283565b6002546001600160a01b0316610370565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb91906125d0565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105a0906125ed565b80601f01602080910402602001604051908101604052809291908181526020018280546105cc906125ed565b80156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b50505050508152505090506040518060e00160405280610637600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106926002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610710573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610734919061263c565b1561077b576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107a45760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610811919061263c565b610839576040516372657a5160e01b81526001600160a01b0382166004820152602401610772565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a7919061266e565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108dd607861138c565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610921573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109459190612689565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa15801561099b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bf91906126b1565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e3906109f9908590859060ff906004016127bb565b600060405180830381600087803b158015610a1357600080fd5b505af1158015610a27573d6000803e3d6000fd5b50505050505050505050565b600080808080610a4c866078610a4761162e565b6116a5565b93509350935093506000610a5e611139565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015610ab0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad89190810190612854565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b1a57600080fd5b505af1158015610b2e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316630b24cf5f88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160c060405180830381865afa158015610b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bab91906126b1565b6040518363ffffffff1660e01b8152600401610bc8929190612926565b600060405180830381600087803b158015610be257600080fd5b505af1158015610bf6573d6000803e3d6000fd5b50505050610c026111d6565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610c50573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c789190810190612943565b6040518463ffffffff1660e01b8152600401610c969392919061298b565b600060405180830381600087803b158015610cb057600080fd5b505af1158015610cc4573d6000803e3d6000fd5b50505050610cd06111d6565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610d1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d469190810190612943565b6040518463ffffffff1660e01b8152600401610d649392919061298b565b600060405180830381600087803b158015610d7e57600080fd5b505af1158015610d92573d6000803e3d6000fd5b50505050505050505050919050565b600080600080516020612bd583398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4d91906129c7565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd919061263c565b15610f5d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610f39573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb9190612689565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f8f610466565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff391906129f5565b600080516020612bb58339815191528054600160401b900460ff1680611026575080546001600160401b03808416911610155b156110445760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561106f8585611a73565b61107883611d12565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104eb600080516020612bb5833981519152546001600160401b031690565b6000600080516020612bd5833981519152600101828154811061110d5761110d612a12565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061114e6001546001600160a01b031690565b6001600160a01b031663d39e604360285b611167611200565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156111ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d09190612689565b92915050565b6000806111eb6001546001600160a01b031690565b6001600160a01b031663d39e6043604661115f565b600061120a610466565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561125f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb9190612a28565b600080516020612bb58339815191528054600160401b810460ff1615906001600160401b03166000811580156112b65750825b90506000826001600160401b031660011480156112d25750303b155b9050811580156112e0575080155b156112fe5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561132857845460ff60401b1916600160401b1785555b6113328888611a73565b61133c8787611d1a565b831561138257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114439190810190612854565b925061145983604001518560ff90811691161490565b61149b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610772565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156114f1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115199190810190612854565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611562573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115869190612689565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa1580156115d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f7919061263c565b1561162657608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610772565b505050915091565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb91906129f5565b600154604051636939560f60e11b81526001600160a01b038581166004830152600092339284928392839291169063d272ac1e90602401602060405180830381865afa1580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171d919061266e565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179c919061263c565b156117d35760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610772565b6040516301ffc9a760e01b8152636fb9922f60e11b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015611821573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611845919061263c565b61186d576040516359bff0e360e11b81526001600160a01b0389166004820152602401610772565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156118ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118d59190810190612854565b90506118ec81604001518960ff9081169116141590565b1561192c576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610772565b60a08101516001600160a01b038681169082161461197e5760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610772565b8160200151935061198e84611e45565b9450600061199a6111d6565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa1580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1d919061263c565b905080611a6657604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b0388166044820152606401610772565b5050505093509350935093565b611a7b611edc565b600080516020612bd58339815191526000611aab600080516020612bb5833981519152546001600160401b031690565b90506000611ab7610466565b9050816001600160401b0316600103611ae45760028301805462ffffff191662ffffff8316179055611b32565b600283015462ffffff90811690821611611b325760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610772565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0a9190612a45565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906110b89083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611edc565b600080516020612bb58339815191528054600160401b810460ff1615906001600160401b0316600081158015611d4d5750825b90506000826001600160401b03166001148015611d695750303b155b905081158015611d77575080155b15611d955760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611dbf57845460ff60401b1916600160401b1785555b60008087806020019051810190611dd69190612a6c565b92509050611de4818a611f15565b611df4631fa9607b60e11b611f80565b50508315611e3c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080611e5a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611ea9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed19190810190612854565b608001519392505050565b600080516020612bb583398151915254600160401b900460ff16611f1357604051631afcd79f60e31b815260040160405180910390fd5b565b60006078611f21611200565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611f5684611fa5565b90506000611f698583603c848888612010565b611f79637b6a51fd60e01b611f80565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611fec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d0919061266e565b6120516301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61205b82876120dc565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016120cb8382612af5565b50611e3c6303fb044760e21b611f80565b6001600160a01b0382166121325760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610772565b600280546001600160a01b0319166001600160a01b0384161790556121568161215a565b5050565b6001546001600160a01b0316156121935760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610772565b6001600160a01b0381166121ba5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036121f05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610772565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630114a7d560e01b60048201526301ffc9a790602401602060405180830381865afa92505050801561226a575060408051601f3d908101601f191682019092526122679181019061263c565b60015b6122925760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610772565b806121565760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610772565b50565b6000602082840312156122d057600080fd5b81356001600160e01b0319811681146122e857600080fd5b9392505050565b60005b8381101561230a5781810151838201526020016122f2565b50506000910152565b6000815180845261232b8160208601602086016122ef565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516123a860c08401826001600160a01b03169052565b5060c083015160e0808401526123c2610100840182612313565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612402576124026123ca565b60405290565b60405160e081016001600160401b0381118282101715612402576124026123ca565b604051601f8201601f191681016001600160401b0381118282101715612452576124526123ca565b604052919050565b60006040828403121561246c57600080fd5b6124746123e0565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146122bb57600080fd5b6000602082840312156124b357600080fd5b81356122e88161248c565b62ffffff811681146122bb57600080fd5b6000602082840312156124e157600080fd5b81356122e8816124be565b60006001600160401b03821115612505576125056123ca565b50601f01601f191660200190565b60008060006060848603121561252857600080fd5b83356125338161248c565b925060208401356125438161248c565b915060408401356001600160401b0381111561255e57600080fd5b8401601f8101861361256f57600080fd5b803561258261257d826124ec565b61242a565b81815287602083850101111561259757600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156125c957600080fd5b5035919050565b6000602082840312156125e257600080fd5b81516122e8816124be565b600181811c9082168061260157607f821691505b60208210810361262157634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461263757600080fd5b919050565b60006020828403121561264e57600080fd5b6122e882612627565b80516001600160601b038116811461263757600080fd5b60006020828403121561268057600080fd5b6122e882612657565b60006020828403121561269b57600080fd5b81516122e88161248c565b80516126378161248c565b600081830360c08112156126c457600080fd5b60405160a081018181106001600160401b03821117156126e6576126e66123ca565b6040526126f284612657565b815260208401516127028161248c565b60208201526040603f198301121561271957600080fd5b6127216123e0565b9150604084015182526060840151602083015281604082015261274660808501612627565b606082015261275760a085016126a6565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b038416815261010081016127d96020830185612764565b60ff831660e0830152949350505050565b60ff811681146122bb57600080fd5b8051612637816127ea565b600061281261257d846124ec565b905082815283838301111561282657600080fd5b6122e88360208301846122ef565b600082601f83011261284557600080fd5b6122e883835160208501612804565b60006020828403121561286657600080fd5b81516001600160401b038082111561287d57600080fd5b9083019060e0828603121561289157600080fd5b612899612408565b6128a283612657565b81526128b060208401612657565b60208201526128c1604084016127f9565b60408201526128d260608401612627565b60608201526128e3608084016126a6565b60808201526128f460a084016126a6565b60a082015260c08301518281111561290b57600080fd5b61291787828601612834565b60c08301525095945050505050565b6001600160601b038316815260e081016122e86020830184612764565b60006020828403121561295557600080fd5b81516001600160401b0381111561296b57600080fd5b8201601f8101841361297c57600080fd5b6123c284825160208401612804565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906129be90830184612313565b95945050505050565b6000602082840312156129d957600080fd5b5051919050565b6001600160401b03811681146122bb57600080fd5b600060208284031215612a0757600080fd5b81516122e8816129e0565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a3a57600080fd5b81516122e8816127ea565b600060208284031215612a5757600080fd5b815164ffffffffff811681146122e857600080fd5b60008060408385031215612a7f57600080fd5b8251612a8a8161248c565b6020840151909250612a9b8161248c565b809150509250929050565b601f821115612af057600081815260208120601f850160051c81016020861015612acd5750805b601f850160051c820191505b81811015612aec57828155600101612ad9565b5050505b505050565b81516001600160401b03811115612b0e57612b0e6123ca565b612b2281612b1c84546125ed565b84612aa6565b602080601f831160018114612b575760008415612b3f5750858301515b600019600386901b1c1916600185901b178555612aec565b600085815260208120601f198616915b82811015612b8657888601518255948401946001909101908401612b67565b5085821015612ba45787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205f655856894b110c3286a164e551a61446b46011674d55bdcd2bc4cb3d418c1a64736f6c63430008140033",
655
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063b88da7591161007c578063b88da75914610417578063caf4e3d41461042a578063cc9fc59a14610432578063cde749f41461043a578063cf7a1d7714610442578063fb2cb1011461045557600080fd5b8063893d20e8146103a0578063946dfcfe146103a8578063a745e3df146103cf578063b3c65015146103e2578063b68d18091461040257600080fd5b80633f52c0f61161010a5780633f52c0f6146101f95780634420e4861461020c5780634d459c90146102375780634f421333146103505780635ab1bd5314610363578063644c45e01461038857600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101ba5780631eff4b22146101c4575b600080fd5b6101746101553660046122be565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610191610466565b60405162ffffff9091168152602001610180565b6101ad6104f0565b604051610180919061233f565b6101c26106ae565b005b6101eb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6101c261020736600461245a565b6108d0565b61021f61021a3660046124a1565b610a33565b6040516001600160601b039091168152602001610180565b6102f36102453660046124cf565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612bd583398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461035e3660046124cf565b610da1565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b600154600160a01b90046001600160601b031661021f565b610370610e54565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101eb565b6101c26103dd366004612513565b610f6d565b6103ea6110c7565b6040516001600160401b039091168152602001610180565b60785b60405160ff9091168152602001610180565b6101916104253660046125b7565b6110e8565b610370611139565b6103706111d6565b610405611200565b6101c2610450366004612513565b611283565b6002546001600160a01b0316610370565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb91906125d0565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105a0906125ed565b80601f01602080910402602001604051908101604052809291908181526020018280546105cc906125ed565b80156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b50505050508152505090506040518060e00160405280610637600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106926002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610710573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610734919061263c565b1561077b576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107a45760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610811919061263c565b610839576040516372657a5160e01b81526001600160a01b0382166004820152602401610772565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a7919061266e565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108dd607861138c565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610921573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109459190612689565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa15801561099b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bf91906126b1565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e3906109f9908590859060ff906004016127bb565b600060405180830381600087803b158015610a1357600080fd5b505af1158015610a27573d6000803e3d6000fd5b50505050505050505050565b600080808080610a4c866078610a4761162e565b6116a5565b93509350935093506000610a5e611139565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015610ab0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad89190810190612854565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b1a57600080fd5b505af1158015610b2e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316630b24cf5f88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160c060405180830381865afa158015610b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bab91906126b1565b6040518363ffffffff1660e01b8152600401610bc8929190612926565b600060405180830381600087803b158015610be257600080fd5b505af1158015610bf6573d6000803e3d6000fd5b50505050610c026111d6565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610c50573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c789190810190612943565b6040518463ffffffff1660e01b8152600401610c969392919061298b565b600060405180830381600087803b158015610cb057600080fd5b505af1158015610cc4573d6000803e3d6000fd5b50505050610cd06111d6565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610d1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d469190810190612943565b6040518463ffffffff1660e01b8152600401610d649392919061298b565b600060405180830381600087803b158015610d7e57600080fd5b505af1158015610d92573d6000803e3d6000fd5b50505050505050505050919050565b600080600080516020612bd583398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4d91906129c7565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd919061263c565b15610f5d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610f39573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb9190612689565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f8f610466565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff391906129f5565b600080516020612bb58339815191528054600160401b900460ff1680611026575080546001600160401b03808416911610155b156110445760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561106f8585611a73565b61107883611d12565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104eb600080516020612bb5833981519152546001600160401b031690565b6000600080516020612bd5833981519152600101828154811061110d5761110d612a12565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061114e6001546001600160a01b031690565b6001600160a01b031663d39e604360285b611167611200565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156111ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d09190612689565b92915050565b6000806111eb6001546001600160a01b031690565b6001600160a01b031663d39e6043604661115f565b600061120a610466565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561125f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb9190612a28565b600080516020612bb58339815191528054600160401b810460ff1615906001600160401b03166000811580156112b65750825b90506000826001600160401b031660011480156112d25750303b155b9050811580156112e0575080155b156112fe5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561132857845460ff60401b1916600160401b1785555b6113328888611a73565b61133c8787611d1a565b831561138257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114439190810190612854565b925061145983604001518560ff90811691161490565b61149b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610772565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156114f1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115199190810190612854565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611562573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115869190612689565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa1580156115d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f7919061263c565b1561162657608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610772565b505050915091565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104eb91906129f5565b600154604051636939560f60e11b81526001600160a01b038581166004830152600092339284928392839291169063d272ac1e90602401602060405180830381865afa1580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171d919061266e565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179c919061263c565b156117d35760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610772565b6040516301ffc9a760e01b8152636fb9922f60e11b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015611821573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611845919061263c565b61186d576040516359bff0e360e11b81526001600160a01b0389166004820152602401610772565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156118ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118d59190810190612854565b90506118ec81604001518960ff9081169116141590565b1561192c576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610772565b60a08101516001600160a01b038681169082161461197e5760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610772565b8160200151935061198e84611e45565b9450600061199a6111d6565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa1580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1d919061263c565b905080611a6657604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b0388166044820152606401610772565b5050505093509350935093565b611a7b611edc565b600080516020612bd58339815191526000611aab600080516020612bb5833981519152546001600160401b031690565b90506000611ab7610466565b9050816001600160401b0316600103611ae45760028301805462ffffff191662ffffff8316179055611b32565b600283015462ffffff90811690821611611b325760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610772565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0a9190612a45565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906110b89083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611edc565b600080516020612bb58339815191528054600160401b810460ff1615906001600160401b0316600081158015611d4d5750825b90506000826001600160401b03166001148015611d695750303b155b905081158015611d77575080155b15611d955760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611dbf57845460ff60401b1916600160401b1785555b60008087806020019051810190611dd69190612a6c565b92509050611de4818a611f15565b611df4631fa9607b60e11b611f80565b50508315611e3c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080611e5a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611ea9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed19190810190612854565b608001519392505050565b600080516020612bb583398151915254600160401b900460ff16611f1357604051631afcd79f60e31b815260040160405180910390fd5b565b60006078611f21611200565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611f5684611fa5565b90506000611f698583603c848888612010565b611f79637b6a51fd60e01b611f80565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611fec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d0919061266e565b6120516301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61205b82876120dc565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016120cb8382612af5565b50611e3c6303fb044760e21b611f80565b6001600160a01b0382166121325760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610772565b600280546001600160a01b0319166001600160a01b0384161790556121568161215a565b5050565b6001546001600160a01b0316156121935760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610772565b6001600160a01b0381166121ba5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036121f05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610772565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630114a7d560e01b60048201526301ffc9a790602401602060405180830381865afa92505050801561226a575060408051601f3d908101601f191682019092526122679181019061263c565b60015b6122925760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610772565b806121565760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610772565b50565b6000602082840312156122d057600080fd5b81356001600160e01b0319811681146122e857600080fd5b9392505050565b60005b8381101561230a5781810151838201526020016122f2565b50506000910152565b6000815180845261232b8160208601602086016122ef565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516123a860c08401826001600160a01b03169052565b5060c083015160e0808401526123c2610100840182612313565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612402576124026123ca565b60405290565b60405160e081016001600160401b0381118282101715612402576124026123ca565b604051601f8201601f191681016001600160401b0381118282101715612452576124526123ca565b604052919050565b60006040828403121561246c57600080fd5b6124746123e0565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146122bb57600080fd5b6000602082840312156124b357600080fd5b81356122e88161248c565b62ffffff811681146122bb57600080fd5b6000602082840312156124e157600080fd5b81356122e8816124be565b60006001600160401b03821115612505576125056123ca565b50601f01601f191660200190565b60008060006060848603121561252857600080fd5b83356125338161248c565b925060208401356125438161248c565b915060408401356001600160401b0381111561255e57600080fd5b8401601f8101861361256f57600080fd5b803561258261257d826124ec565b61242a565b81815287602083850101111561259757600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156125c957600080fd5b5035919050565b6000602082840312156125e257600080fd5b81516122e8816124be565b600181811c9082168061260157607f821691505b60208210810361262157634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461263757600080fd5b919050565b60006020828403121561264e57600080fd5b6122e882612627565b80516001600160601b038116811461263757600080fd5b60006020828403121561268057600080fd5b6122e882612657565b60006020828403121561269b57600080fd5b81516122e88161248c565b80516126378161248c565b600081830360c08112156126c457600080fd5b60405160a081018181106001600160401b03821117156126e6576126e66123ca565b6040526126f284612657565b815260208401516127028161248c565b60208201526040603f198301121561271957600080fd5b6127216123e0565b9150604084015182526060840151602083015281604082015261274660808501612627565b606082015261275760a085016126a6565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b038416815261010081016127d96020830185612764565b60ff831660e0830152949350505050565b60ff811681146122bb57600080fd5b8051612637816127ea565b600061281261257d846124ec565b905082815283838301111561282657600080fd5b6122e88360208301846122ef565b600082601f83011261284557600080fd5b6122e883835160208501612804565b60006020828403121561286657600080fd5b81516001600160401b038082111561287d57600080fd5b9083019060e0828603121561289157600080fd5b612899612408565b6128a283612657565b81526128b060208401612657565b60208201526128c1604084016127f9565b60408201526128d260608401612627565b60608201526128e3608084016126a6565b60808201526128f460a084016126a6565b60a082015260c08301518281111561290b57600080fd5b61291787828601612834565b60c08301525095945050505050565b6001600160601b038316815260e081016122e86020830184612764565b60006020828403121561295557600080fd5b81516001600160401b0381111561296b57600080fd5b8201601f8101841361297c57600080fd5b6123c284825160208401612804565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906129be90830184612313565b95945050505050565b6000602082840312156129d957600080fd5b5051919050565b6001600160401b03811681146122bb57600080fd5b600060208284031215612a0757600080fd5b81516122e8816129e0565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a3a57600080fd5b81516122e8816127ea565b600060208284031215612a5757600080fd5b815164ffffffffff811681146122e857600080fd5b60008060408385031215612a7f57600080fd5b8251612a8a8161248c565b6020840151909250612a9b8161248c565b809150509250929050565b601f821115612af057600081815260208120601f850160051c81016020861015612acd5750805b601f850160051c820191505b81811015612aec57828155600101612ad9565b5050505b505050565b81516001600160401b03811115612b0e57612b0e6123ca565b612b2281612b1c84546125ed565b84612aa6565b602080601f831160018114612b575760008415612b3f5750858301515b600019600386901b1c1916600185901b178555612aec565b600085815260208120601f198616915b82811015612b8657888601518255948401946001909101908401612b67565b5085821015612ba45787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205f655856894b110c3286a164e551a61446b46011674d55bdcd2bc4cb3d418c1a64736f6c63430008140033",
1170
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6155b680620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063644c45e01161010457806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f14610458578063caf4e3d414610476578063cc9fc59a1461047e578063f7c34ee01461048657600080fd5b806392e5fab61461040e578063ada9652e14610421578063b68d180914610436578063b6b412ba1461044557600080fd5b8063893d20e8116100de578063893d20e8146103bf5780638dd2b781146103c75780638e32e979146103da5780638fb36037146103ed57600080fd5b8063644c45e01461037b578063675393bf146103995780637a9e5e4b146103ac57600080fd5b806327bb7a331161017c5780634420e4861161014b5780634420e4861461030557806349bb9e4b146103305780635ab1bd53146103435780635dcb3bae1461036857600080fd5b806327bb7a33146102b75780632b5198b1146102ca578063329d6e74146102ea57806336fc697e146102fd57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806325d07384146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed3660046140be565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610499565b60405162ffffff9091168152602001610218565b610245610523565b6040516102189190614138565b61025a610644565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f3660046140be565b61084b565b61020c6102b23660046141fe565b610878565b61025a6102c53660046143e9565b610bab565b6102dd6102d8366004614493565b610c50565b604051610218919061455f565b61025a6102f8366004614574565b61117c565b61025a6112c9565b6103186103133660046145a8565b61130f565b6040516001600160601b039091168152602001610218565b61025a61033e3660046145c5565b61180c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b610318610376366004614614565b61190b565b600080516020615521833981519152546001600160601b0316610318565b61025a6103a73660046145a8565b611b8f565b61025a6103ba3660046145a8565b611c9d565b610350611d37565b6102dd6103d5366004614688565b611e6e565b61025a6103e8366004614722565b6126da565b6103f5612913565b6040516001600160e01b03199091168152602001610218565b61025a61041c36600461476d565b61294b565b61028360008051602061552183398151915281565b60405160788152602001610218565b61025a6104533660046148b1565b6130fa565b600080516020615541833981519152546001600160a01b0316610350565b6103506133e2565b6103506133ee565b61025a6104943660046148dd565b6133fa565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e919061490b565b905090565b61052b614080565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016105a0611d37565b6001600160a01b031681526020018260010180546105bd90614930565b80601f01602080910402602001604051908101604052809291908181526020018280546105e990614930565b80156106365780601f1061060b57610100808354040283529160200191610636565b820191906000526020600020905b81548152906001019060200180831161061957829003601f168201915b505050505081525091505090565b600060008051602061552183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d79190614975565b156107085780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061071b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610763573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107879190614975565b6107af5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016106ff565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610803573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610827919061499d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610853613471565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600080610884846134aa565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ea91906149ba565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b8152600401610915919061455f565b600060405180830381865afa158015610932573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261095a9190810190614a32565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156109b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109dc9190614975565b156109ec57600092505050610ba5565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610a48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6c9190614975565b80610b7e575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af29190614975565b8015610b7e5750610b7e73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b699190614b10565b8260a0015164ffffffffff9081169116111590565b9250828015610ba05750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b610bb3613471565b610bbd82876133fa565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c468382614b7b565b5050505050505050565b60008080610c5e60786135d3565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ca3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc791906149ba565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015610d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3b9190614c75565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015610d9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc39190614d16565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af4158015610e27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4b9190614d16565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec99190614975565b15610fd857604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f429190614d16565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb69190614d16565b60405163e2ed03dd60e01b8152600481019290925260248201526044016106ff565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611014929190614d2f565b602060405180830381865af4158015611031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110559190614d51565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110d91906149ba565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b815260040161113a929190614d6e565b600060405180830381600087803b15801561115457600080fd5b505af1158015611168573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61119e610499565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112029190614e46565b6000805160206155618339815191528054600160401b900460ff1680611235575080546001600160401b03808416911610155b156112535760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561127d83613775565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6112d1613471565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008080808061132886607861132361377d565b6137f5565b9350935093509350600061133a6133e2565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af115801561138c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113b49190810190614e6e565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156113f657600080fd5b505af115801561140a573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611453573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147791906149ba565b6001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa1580156114c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e99190614c75565b6040518363ffffffff1660e01b8152600401611506929190614f78565b600060405180830381600087803b15801561152057600080fd5b505af1158015611534573d6000803e3d6000fd5b5060009250600291506115449050565b60405190808252806020026020018201604052801561157757816020015b60608152602001906001900390816115625790505b506040805160018082528183019092529192506020808301908036833701905050816000815181106115ab576115ab614f96565b6020908102919091010152604080516002808252606082019092529081602001602082028036833701905050816001815181106115ea576115ea614f96565b602002602001018190525063b6b412ba60e01b8160008151811061161057611610614f96565b602002602001015160008151811061162a5761162a614f96565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b908290600190811061166157611661614f96565b602002602001015160008151811061167b5761167b614f96565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506116bf61377d565b816000815181106116d2576116d2614f96565b60200260200101906001600160401b031690816001600160401b0316815250506116fa613ae6565b8160018151811061170d5761170d614f96565b60200260200101906001600160401b031690816001600160401b0316815250506117356133ee565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611783573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ab9190810190614fac565b86866040518663ffffffff1660e01b81526004016117cd959493929190615024565b600060405180830381600087803b1580156117e757600080fd5b505af11580156117fb573d6000803e3d6000fd5b505050505050505050505050919050565b6000805160206155618339815191528054600160401b810460ff1615906001600160401b031660008115801561183f5750825b90506000826001600160401b0316600114801561185b5750303b155b905081158015611869575080155b156118875760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156118b157845460ff60401b1916600160401b1785555b6118bb8787613b22565b831561190257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000808061191960786135d3565b92505091506119266133e2565b6001600160a01b03166357a8fba76040518060e00160405280611947600090565b6001600160601b03168152602001856001600160601b0316815260200161196c607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016119cb9190614138565b6020604051808303816000875af11580156119ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0e919061499d565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa9919061499d565b6001600160601b03168152602001600063ffffffff168152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2691906149ba565b6001600160a01b0316637cca112485836040518363ffffffff1660e01b8152600401611b5392919061515e565b600060405180830381600087803b158015611b6d57600080fd5b505af1158015611b81573d6000803e3d6000fd5b505050505050509392505050565b611b97613471565b806001600160a01b03163b600003611bcd5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ff565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611c47575060408051601f3d908101601f19168201909252611c4491810190614975565b60015b611c6f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ff565b80611c985760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106ff565b505b50565b33611cbd600080516020615541833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614611cf85760405162d1953b60e31b81526001600160a01b03821660048201526024016106ff565b816001600160a01b03163b600003611d2e576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ff565b611c9882613c42565b60008060008051602061552183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcb9190614975565b15611e58576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5291906149ba565b91505090565b54600160601b90046001600160a01b0316919050565b60008080611e7c60786135d3565b92505091508751600003611ea55787604051634fad6a5360e11b81526004016106ff9190615180565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611efb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1f9190614975565b15611f465760405163df85467b60e01b815264ffffffffff861660048201526024016106ff565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611faa91906149ba565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611ffd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120259190810190615193565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c69061205890859060040161455f565b600060405180830381865afa158015612075573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261209d9190810190615252565b90508863ffffffff16816080015163ffffffff1610156120de576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016106ff565b60208101518a10156121fa576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612140573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121649190614d16565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156121b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d89190614d16565b6040516338a25a8b60e21b8152600481019290925260248201526044016106ff565b60408101518a1115612316576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561225c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122809190614d16565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156122d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122f49190614d16565b604051631e1ea4f360e31b8152600481019290925260248201526044016106ff565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190614b10565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156123e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124099190614d16565b604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af415801561245f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124839190614d16565b61248d919061535f565b11156125395760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156124ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125129190614d16565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016106ff565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906125729088908f90600401614d2f565b602060405180830381865af415801561258f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b39190614d51565b955060006040518060e001604052808e6001600160601b031681526020018d81526020018c81526020018b63ffffffff168152602001600063ffffffff1681526020018a64ffffffffff168152602001898152509050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266b91906149ba565b6001600160a01b031663ca0e7f0888836040518363ffffffff1660e01b81526004016126989291906153ee565b600060405180830381600087803b1580156126b257600080fd5b505af11580156126c6573d6000803e3d6000fd5b505050505050505050509695505050505050565b6126e2613471565b61276283846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612724573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612748919061499d565b603c60008560405180602001604052806000815250610bab565b6001600160a01b0382161561277f5761277a82613ca3565b6128ee565b60006127936001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156127f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128179190615413565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561285c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288091906149ba565b90506128ec816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e791906149ba565b613ca3565b505b6128fe634a531f3360e01b61084b565b61290e63b68d180960e01b61084b565b505050565b600080516020615541833981519152805460009190600160a01b900460ff1661293d576000611e52565b638fb3603760e01b91505090565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061298f906001600160c01b031988169060040161455f565b602060405180830381865af41580156129ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129d09190614975565b15905060006129df8686610878565b90508180156129ec575080155b15612a2557604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016106ff565b6000612a30876134aa565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9691906149ba565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ad8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612afc91906149ba565b90506000826001600160a01b0316631d3be4778a6040518263ffffffff1660e01b8152600401612b2c919061455f565b600060405180830381865afa158015612b49573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b719190810190614a32565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038516906327b1d79290602401600060405180830381865afa158015612bc7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bef9190810190615193565b604051639ad69c6760e01b81526001600160601b038d1660048201529091506000906001600160a01b03861690639ad69c679060240161010060405180830381865afa158015612c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c679190614c75565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968c61018001518d6101600151612c9b9190615430565b6040518263ffffffff1660e01b8152600401612cb991815260200190565b602060405180830381865af4158015612cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cfa919061499d565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d6101a001516040518263ffffffff1660e01b8152600401612d3c91815260200190565b602060405180830381865af4158015612d59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d7d919061499d565b9050612d928b612d8d8484613cb4565b613d42565b612dd0578a612da18383613cb4565b60405160016282bae560e01b031981526001600160601b039283166004820152911660248201526044016106ff565b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015612e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4c9190614975565b15612f455760405163046e44af60e11b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015612ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ecd9190614d16565b8360a001818151612ede9190615430565b9052506001600160a01b03861663f7b442d18f8560ff6040518463ffffffff1660e01b8152600401612f1293929190615443565b600060405180830381600087803b158015612f2c57600080fd5b505af1158015612f40573d6000803e3d6000fd5b505050505b89156130ea57600185608001818151612f5e9190615473565b63ffffffff169052506001600160a01b0386166361105e0e8e8760ff6040518463ffffffff1660e01b8152600401612f9893929190615497565b600060405180830381600087803b158015612fb257600080fd5b505af1158015612fc6573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__92506330b8415f9150602401602060405180830381865af4158015613022573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130469190614975565b156130ea57613059846060015182613cb4565b6001600160601b031660608501526080840180516001919061307c908390615473565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03881691631e40b363916130b79190889060ff906004016154cf565b600060405180830381600087803b1580156130d157600080fd5b505af11580156130e5573d6000803e3d6000fd5b505050505b5050505050505050505050505050565b815181511015613214578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613157573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061317b9190614d16565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156131ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131f29190614d16565b604051631a9c6b0960e01b8152600481019290925260248201526044016106ff565b60008061322160786135d3565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328a91906149ba565b604051639ad69c6760e01b81526001600160601b03851660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa1580156132de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133029190614c75565b9050858160400181905250848160600181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061337891906149ba565b6001600160a01b031663f7b442d1858360ff6040518463ffffffff1660e01b81526004016133a893929190615443565b600060405180830381600087803b1580156133c257600080fd5b505af11580156133d6573d6000803e3d6000fd5b50505050505050505050565b600061051e6028613dc9565b600061051e6046613dc9565b613402613471565b61340b81611b8f565b6134136112c9565b6001600160a01b03821661343a5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061552183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061556183398151915254600160401b900460ff166134a857604051631afcd79f60e31b815260040160405180910390fd5b565b6000806134bf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561350e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135369190810190614e6e565b60200151905060006135506001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561359f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135c79190810190614e6e565b60800151949350505050565b60006135dd614080565b60006135f16001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061365b919061499d565b92506136678385613ed6565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d191906149ba565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561371b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061373f9190614975565b1561376e57608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016106ff565b9193909250565b6101da613471565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156137d1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e9190614e46565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061386d9190614975565b613895576040516359bff0e360e11b81526001600160a01b03881660048201526024016106ff565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156138d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526138fd9190810190614e6e565b905061391481604001518860ff9081169116141590565b15613954576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016106ff565b60a08101516001600160a01b03858116908216146139a65760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016106ff565b816020015192506139b683613fda565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156139f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a1a91906149ba565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015613a71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a959190614975565b613adb57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016106ff565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016137b4565b6000805160206155618339815191528054600160401b810460ff1615906001600160401b0316600081158015613b555750825b90506000826001600160401b03166001148015613b715750303b155b905081158015613b7f575080155b15613b9d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613bc757845460ff60401b1916600160401b1785555b60008087806020019051810190613bde91906154f1565b92509050613bee8160008b6126da565b613bfe637d64c78b60e11b61084b565b5050831561190257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016118f9565b60008051602061554183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613cab613471565b611c9a8161406f565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015613d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d3b919061499d565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015613da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d3b9190614975565b6000613ddd6001546001600160a01b031690565b6001600160a01b031663d39e604383613df4610499565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e6d9190615413565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba591906149ba565b613ede614080565b6000613ef26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613f41573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f699190810190614e6e565b9150613f8082604001518460ff9081169116141590565b15613fc457608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016106ff565b613fd18260200151613fda565b90509250929050565b6000613fee6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561403d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140659190810190614e6e565b6080015192915050565b614077613471565b611c9a81613c42565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156140d057600080fd5b81356001600160e01b031981168114613d3b57600080fd5b60005b838110156141035781810151838201526020016140eb565b50506000910152565b600081518084526141248160208601602086016140e8565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516141a160c08401826001600160a01b03169052565b5060c083015160e0808401526141bb61010084018261410c565b949350505050565b6001600160601b0381168114611c9a57600080fd5b80356141e3816141c3565b919050565b6001600160c01b031981168114611c9a57600080fd5b6000806040838503121561421157600080fd5b823561421c816141c3565b9150602083013561422c816141e8565b809150509250929050565b6001600160a01b0381168114611c9a57600080fd5b60ff81168114611c9a57600080fd5b8015158114611c9a57600080fd5b80356141e38161425b565b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b03811182821017156142ad576142ad614274565b60405290565b604080519081016001600160401b03811182821017156142ad576142ad614274565b60405160e081016001600160401b03811182821017156142ad576142ad614274565b60405160a081016001600160401b03811182821017156142ad576142ad614274565b60405161012081016001600160401b03811182821017156142ad576142ad614274565b604051601f8201601f191681016001600160401b038111828210171561436457614364614274565b604052919050565b60006001600160401b0382111561438557614385614274565b50601f01601f191660200190565b600082601f8301126143a457600080fd5b81356143b76143b28261436c565b61433c565b8181528460208386010111156143cc57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561440257600080fd5b863561440d81614237565b9550602087013561441d816141c3565b9450604087013561442d8161424c565b9350606087013561443d8161425b565b9250608087013561444d81614237565b915060a08701356001600160401b0381111561446857600080fd5b61447489828a01614393565b9150509295509295509295565b63ffffffff81168114611c9a57600080fd5b60008060008060008060008060006101208a8c0312156144b257600080fd5b89356001600160401b03808211156144c957600080fd5b6144d58d838e01614393565b9a5060208c0135995060408c0135985060608c0135975060808c013591506144fc82614481565b90955060a08b01359061450e82614481565b81955061451d60c08d01614269565b945061452b60e08d01614269565b93506101008c013591508082111561454257600080fd5b5061454f8c828d01614393565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561458657600080fd5b81356001600160401b0381111561459c57600080fd5b6141bb84828501614393565b6000602082840312156145ba57600080fd5b8135613d3b81614237565b600080604083850312156145d857600080fd5b82356145e381614237565b915060208301356001600160401b038111156145fe57600080fd5b61460a85828601614393565b9150509250929050565b60008060006060848603121561462957600080fd5b833561463481614237565b92506020840135614644816141e8565b915060408401356001600160401b0381111561465f57600080fd5b61466b86828701614393565b9150509250925092565b64ffffffffff81168114611c9a57600080fd5b60008060008060008060c087890312156146a157600080fd5b86356146ac816141c3565b955060208701356001600160401b03808211156146c857600080fd5b6146d48a838b01614393565b965060408901359550606089013591506146ed82614481565b9093506080880135906146ff82614675565b90925060a0880135908082111561471557600080fd5b5061447489828a01614393565b60008060006060848603121561473757600080fd5b833561474281614237565b9250602084013561475281614237565b9150604084013561476281614237565b809150509250925092565b60008060008084860361024081121561478557600080fd5b8535614790816141c3565b945060208601356147a0816141e8565b93506101e0603f1982018113156147b657600080fd5b6147be61428a565b915060408701358252606087013560208301526080870135604083015260a0870135606083015260c0870135608083015260e087013560a08301526101008088013560c08401526101208089013560e0850152610140808a0135838601526101609250828a0135828601526101809150818a013581860152506101a0808a0135838601526101c09250828a013582860152838a01358186015250506102008801358184015250508092505061487661022086016141d8565b905092959194509250565b60006040828403121561489357600080fd5b61489b6142b3565b9050813581526020820135602082015292915050565b600080608083850312156148c457600080fd5b6148ce8484614881565b9150613fd18460408501614881565b600080604083850312156148f057600080fd5b82356148fb81614237565b9150602083013561422c81614237565b60006020828403121561491d57600080fd5b815162ffffff81168114613d3b57600080fd5b600181811c9082168061494457607f821691505b60208210810361496457634e487b7160e01b600052602260045260246000fd5b50919050565b80516141e38161425b565b60006020828403121561498757600080fd5b8151613d3b8161425b565b80516141e3816141c3565b6000602082840312156149af57600080fd5b8151613d3b816141c3565b6000602082840312156149cc57600080fd5b8151613d3b81614237565b600082601f8301126149e857600080fd5b81516149f66143b28261436c565b818152846020838601011115614a0b57600080fd5b6141bb8260208301602087016140e8565b80516141e381614481565b80516141e381614675565b600060208284031215614a4457600080fd5b81516001600160401b0380821115614a5b57600080fd5b9083019060e08286031215614a6f57600080fd5b614a776142d5565b614a8083614992565b8152602083015182811115614a9457600080fd5b614aa0878286016149d7565b60208301525060408301516040820152614abc60608401614a1c565b6060820152614acd60808401614a1c565b6080820152614ade60a08401614a27565b60a082015260c083015182811115614af557600080fd5b614b01878286016149d7565b60c08301525095945050505050565b600060208284031215614b2257600080fd5b8151613d3b81614675565b601f82111561290e57600081815260208120601f850160051c81016020861015614b545750805b601f850160051c820191505b81811015614b7357828155600101614b60565b505050505050565b81516001600160401b03811115614b9457614b94614274565b614ba881614ba28454614930565b84614b2d565b602080601f831160018114614bdd5760008415614bc55750858301515b600019600386901b1c1916600185901b178555614b73565b600085815260208120601f198616915b82811015614c0c57888601518255948401946001909101908401614bed565b5085821015614c2a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060408284031215614c4c57600080fd5b614c546142b3565b9050815181526020820151602082015292915050565b80516141e381614237565b60006101008284031215614c8857600080fd5b60405160c081018181106001600160401b0382111715614caa57614caa614274565b6040528251614cb8816141c3565b81526020830151614cc881614237565b6020820152614cda8460408501614c3a565b6040820152614cec8460808501614c3a565b606082015260c0830151614cff81614237565b608082015260e0929092015160a083015250919050565b600060208284031215614d2857600080fd5b5051919050565b6001600160601b03831681526040602082015260006141bb604083018461410c565b600060208284031215614d6357600080fd5b8151613d3b816141e8565b6001600160401b0360c01b831681526040602082015260008251610120806040850152614d9f61016085018361410c565b91506020850151606085015260408501516080850152606085015160a08501526080850151614dd660c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c0850151610100614dfe8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152614e27828261410c565b9695505050505050565b6001600160401b0381168114611c9a57600080fd5b600060208284031215614e5857600080fd5b8151613d3b81614e31565b80516141e38161424c565b600060208284031215614e8057600080fd5b81516001600160401b0380821115614e9757600080fd5b9083019060e08286031215614eab57600080fd5b614eb36142d5565b614ebc83614992565b8152614eca60208401614992565b6020820152614edb60408401614e63565b6040820152614eec6060840161496a565b6060820152614efd60808401614c6a565b6080820152614ade60a08401614c6a565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b03831681526101208101613d3b6020830184614f0e565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614fbe57600080fd5b81516001600160401b03811115614fd457600080fd5b6141bb848285016149d7565b600081518084526020808501945080840160005b838110156150195781516001600160401b031687529582019590820190600101614ff4565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015261505560a084018761410c565b8381036060850152855180825282820190600581901b830184018489016000805b848110156150d357868403601f19018652825180518086529089019089860190845b818110156150be5783516001600160e01b0319168352928b0192918b0191600101615098565b50509689019694505091870191600101615076565b50505086810360808801526150e88189614fe0565b9c9b505050505050505050505050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261512f60a085018261410c565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b03831681526040602082015260006141bb60408301846150f8565b602081526000613d3b602083018461410c565b6000602082840312156151a557600080fd5b81516001600160401b03808211156151bc57600080fd5b9083019060a082860312156151d057600080fd5b6151d86142f7565b82516151e3816141e8565b815260208301516151f38161425b565b602082015260408301518281111561520a57600080fd5b615216878286016149d7565b6040830152506060830151915061522c826141c3565b8160608201526080830151925061524283614481565b6080810192909252509392505050565b60006020828403121561526457600080fd5b81516001600160401b038082111561527b57600080fd5b90830190610120828603121561529057600080fd5b615298614319565b8251828111156152a757600080fd5b6152b3878286016149d7565b8252506020830151602082015260408301516040820152606083015160608201526152e060808401614a1c565b60808201526152f160a08401614a1c565b60a082015261530260c0840161496a565b60c082015261531360e0840161496a565b60e0820152610100808401518381111561532c57600080fd5b615338888287016149d7565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610ba557610ba5615349565b6001600160601b0381511682526000602082015160e0602085015261539a60e085018261410c565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152610ba0828261410c565b6001600160401b0360c01b831681526040602082015260006141bb6040830184615372565b60006020828403121561542557600080fd5b8151613d3b8161424c565b80820180821115610ba557610ba5615349565b6001600160601b038416815261014081016154616020830185614f0e565b60ff8316610120830152949350505050565b63ffffffff81811683821601908082111561549057615490615349565b5092915050565b6001600160401b0360c01b841681526060602082015260006154bc6060830185615372565b905060ff83166040830152949350505050565b6001600160601b03841681526060602082015260006154bc60608301856150f8565b6000806040838503121561550457600080fd5b825161550f81614237565b602084015190925061422c8161423756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b3ff393c9b1bbe38c29b4c53a3d81e5122b3bf588363004183f6e89f30be161064736f6c63430008140033",
1171
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063644c45e01161010457806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f14610458578063caf4e3d414610476578063cc9fc59a1461047e578063f7c34ee01461048657600080fd5b806392e5fab61461040e578063ada9652e14610421578063b68d180914610436578063b6b412ba1461044557600080fd5b8063893d20e8116100de578063893d20e8146103bf5780638dd2b781146103c75780638e32e979146103da5780638fb36037146103ed57600080fd5b8063644c45e01461037b578063675393bf146103995780637a9e5e4b146103ac57600080fd5b806327bb7a331161017c5780634420e4861161014b5780634420e4861461030557806349bb9e4b146103305780635ab1bd53146103435780635dcb3bae1461036857600080fd5b806327bb7a33146102b75780632b5198b1146102ca578063329d6e74146102ea57806336fc697e146102fd57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806325d07384146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed3660046140be565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610499565b60405162ffffff9091168152602001610218565b610245610523565b6040516102189190614138565b61025a610644565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f3660046140be565b61084b565b61020c6102b23660046141fe565b610878565b61025a6102c53660046143e9565b610bab565b6102dd6102d8366004614493565b610c50565b604051610218919061455f565b61025a6102f8366004614574565b61117c565b61025a6112c9565b6103186103133660046145a8565b61130f565b6040516001600160601b039091168152602001610218565b61025a61033e3660046145c5565b61180c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b610318610376366004614614565b61190b565b600080516020615521833981519152546001600160601b0316610318565b61025a6103a73660046145a8565b611b8f565b61025a6103ba3660046145a8565b611c9d565b610350611d37565b6102dd6103d5366004614688565b611e6e565b61025a6103e8366004614722565b6126da565b6103f5612913565b6040516001600160e01b03199091168152602001610218565b61025a61041c36600461476d565b61294b565b61028360008051602061552183398151915281565b60405160788152602001610218565b61025a6104533660046148b1565b6130fa565b600080516020615541833981519152546001600160a01b0316610350565b6103506133e2565b6103506133ee565b61025a6104943660046148dd565b6133fa565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e919061490b565b905090565b61052b614080565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016105a0611d37565b6001600160a01b031681526020018260010180546105bd90614930565b80601f01602080910402602001604051908101604052809291908181526020018280546105e990614930565b80156106365780601f1061060b57610100808354040283529160200191610636565b820191906000526020600020905b81548152906001019060200180831161061957829003601f168201915b505050505081525091505090565b600060008051602061552183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d79190614975565b156107085780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061071b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610763573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107879190614975565b6107af5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016106ff565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610803573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610827919061499d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610853613471565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600080610884846134aa565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ea91906149ba565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b8152600401610915919061455f565b600060405180830381865afa158015610932573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261095a9190810190614a32565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156109b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109dc9190614975565b156109ec57600092505050610ba5565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610a48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6c9190614975565b80610b7e575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af29190614975565b8015610b7e5750610b7e73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b699190614b10565b8260a0015164ffffffffff9081169116111590565b9250828015610ba05750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b610bb3613471565b610bbd82876133fa565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c468382614b7b565b5050505050505050565b60008080610c5e60786135d3565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ca3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc791906149ba565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015610d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3b9190614c75565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015610d9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc39190614d16565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af4158015610e27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4b9190614d16565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec99190614975565b15610fd857604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f429190614d16565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb69190614d16565b60405163e2ed03dd60e01b8152600481019290925260248201526044016106ff565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611014929190614d2f565b602060405180830381865af4158015611031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110559190614d51565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110d91906149ba565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b815260040161113a929190614d6e565b600060405180830381600087803b15801561115457600080fd5b505af1158015611168573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61119e610499565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112029190614e46565b6000805160206155618339815191528054600160401b900460ff1680611235575080546001600160401b03808416911610155b156112535760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561127d83613775565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6112d1613471565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008080808061132886607861132361377d565b6137f5565b9350935093509350600061133a6133e2565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af115801561138c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113b49190810190614e6e565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156113f657600080fd5b505af115801561140a573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611453573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147791906149ba565b6001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa1580156114c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e99190614c75565b6040518363ffffffff1660e01b8152600401611506929190614f78565b600060405180830381600087803b15801561152057600080fd5b505af1158015611534573d6000803e3d6000fd5b5060009250600291506115449050565b60405190808252806020026020018201604052801561157757816020015b60608152602001906001900390816115625790505b506040805160018082528183019092529192506020808301908036833701905050816000815181106115ab576115ab614f96565b6020908102919091010152604080516002808252606082019092529081602001602082028036833701905050816001815181106115ea576115ea614f96565b602002602001018190525063b6b412ba60e01b8160008151811061161057611610614f96565b602002602001015160008151811061162a5761162a614f96565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b908290600190811061166157611661614f96565b602002602001015160008151811061167b5761167b614f96565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506116bf61377d565b816000815181106116d2576116d2614f96565b60200260200101906001600160401b031690816001600160401b0316815250506116fa613ae6565b8160018151811061170d5761170d614f96565b60200260200101906001600160401b031690816001600160401b0316815250506117356133ee565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611783573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ab9190810190614fac565b86866040518663ffffffff1660e01b81526004016117cd959493929190615024565b600060405180830381600087803b1580156117e757600080fd5b505af11580156117fb573d6000803e3d6000fd5b505050505050505050505050919050565b6000805160206155618339815191528054600160401b810460ff1615906001600160401b031660008115801561183f5750825b90506000826001600160401b0316600114801561185b5750303b155b905081158015611869575080155b156118875760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156118b157845460ff60401b1916600160401b1785555b6118bb8787613b22565b831561190257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000808061191960786135d3565b92505091506119266133e2565b6001600160a01b03166357a8fba76040518060e00160405280611947600090565b6001600160601b03168152602001856001600160601b0316815260200161196c607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016119cb9190614138565b6020604051808303816000875af11580156119ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0e919061499d565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa9919061499d565b6001600160601b03168152602001600063ffffffff168152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2691906149ba565b6001600160a01b0316637cca112485836040518363ffffffff1660e01b8152600401611b5392919061515e565b600060405180830381600087803b158015611b6d57600080fd5b505af1158015611b81573d6000803e3d6000fd5b505050505050509392505050565b611b97613471565b806001600160a01b03163b600003611bcd5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ff565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611c47575060408051601f3d908101601f19168201909252611c4491810190614975565b60015b611c6f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ff565b80611c985760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106ff565b505b50565b33611cbd600080516020615541833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614611cf85760405162d1953b60e31b81526001600160a01b03821660048201526024016106ff565b816001600160a01b03163b600003611d2e576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ff565b611c9882613c42565b60008060008051602061552183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcb9190614975565b15611e58576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5291906149ba565b91505090565b54600160601b90046001600160a01b0316919050565b60008080611e7c60786135d3565b92505091508751600003611ea55787604051634fad6a5360e11b81526004016106ff9190615180565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611efb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1f9190614975565b15611f465760405163df85467b60e01b815264ffffffffff861660048201526024016106ff565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611faa91906149ba565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611ffd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120259190810190615193565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c69061205890859060040161455f565b600060405180830381865afa158015612075573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261209d9190810190615252565b90508863ffffffff16816080015163ffffffff1610156120de576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016106ff565b60208101518a10156121fa576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612140573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121649190614d16565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156121b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d89190614d16565b6040516338a25a8b60e21b8152600481019290925260248201526044016106ff565b60408101518a1115612316576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561225c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122809190614d16565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156122d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122f49190614d16565b604051631e1ea4f360e31b8152600481019290925260248201526044016106ff565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190614b10565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156123e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124099190614d16565b604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af415801561245f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124839190614d16565b61248d919061535f565b11156125395760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156124ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125129190614d16565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016106ff565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906125729088908f90600401614d2f565b602060405180830381865af415801561258f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b39190614d51565b955060006040518060e001604052808e6001600160601b031681526020018d81526020018c81526020018b63ffffffff168152602001600063ffffffff1681526020018a64ffffffffff168152602001898152509050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266b91906149ba565b6001600160a01b031663ca0e7f0888836040518363ffffffff1660e01b81526004016126989291906153ee565b600060405180830381600087803b1580156126b257600080fd5b505af11580156126c6573d6000803e3d6000fd5b505050505050505050509695505050505050565b6126e2613471565b61276283846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612724573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612748919061499d565b603c60008560405180602001604052806000815250610bab565b6001600160a01b0382161561277f5761277a82613ca3565b6128ee565b60006127936001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156127f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128179190615413565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561285c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288091906149ba565b90506128ec816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e791906149ba565b613ca3565b505b6128fe634a531f3360e01b61084b565b61290e63b68d180960e01b61084b565b505050565b600080516020615541833981519152805460009190600160a01b900460ff1661293d576000611e52565b638fb3603760e01b91505090565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061298f906001600160c01b031988169060040161455f565b602060405180830381865af41580156129ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129d09190614975565b15905060006129df8686610878565b90508180156129ec575080155b15612a2557604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016106ff565b6000612a30876134aa565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9691906149ba565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ad8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612afc91906149ba565b90506000826001600160a01b0316631d3be4778a6040518263ffffffff1660e01b8152600401612b2c919061455f565b600060405180830381865afa158015612b49573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b719190810190614a32565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038516906327b1d79290602401600060405180830381865afa158015612bc7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bef9190810190615193565b604051639ad69c6760e01b81526001600160601b038d1660048201529091506000906001600160a01b03861690639ad69c679060240161010060405180830381865afa158015612c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c679190614c75565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968c61018001518d6101600151612c9b9190615430565b6040518263ffffffff1660e01b8152600401612cb991815260200190565b602060405180830381865af4158015612cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cfa919061499d565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d6101a001516040518263ffffffff1660e01b8152600401612d3c91815260200190565b602060405180830381865af4158015612d59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d7d919061499d565b9050612d928b612d8d8484613cb4565b613d42565b612dd0578a612da18383613cb4565b60405160016282bae560e01b031981526001600160601b039283166004820152911660248201526044016106ff565b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015612e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4c9190614975565b15612f455760405163046e44af60e11b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015612ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ecd9190614d16565b8360a001818151612ede9190615430565b9052506001600160a01b03861663f7b442d18f8560ff6040518463ffffffff1660e01b8152600401612f1293929190615443565b600060405180830381600087803b158015612f2c57600080fd5b505af1158015612f40573d6000803e3d6000fd5b505050505b89156130ea57600185608001818151612f5e9190615473565b63ffffffff169052506001600160a01b0386166361105e0e8e8760ff6040518463ffffffff1660e01b8152600401612f9893929190615497565b600060405180830381600087803b158015612fb257600080fd5b505af1158015612fc6573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__92506330b8415f9150602401602060405180830381865af4158015613022573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130469190614975565b156130ea57613059846060015182613cb4565b6001600160601b031660608501526080840180516001919061307c908390615473565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03881691631e40b363916130b79190889060ff906004016154cf565b600060405180830381600087803b1580156130d157600080fd5b505af11580156130e5573d6000803e3d6000fd5b505050505b5050505050505050505050505050565b815181511015613214578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613157573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061317b9190614d16565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156131ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131f29190614d16565b604051631a9c6b0960e01b8152600481019290925260248201526044016106ff565b60008061322160786135d3565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328a91906149ba565b604051639ad69c6760e01b81526001600160601b03851660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa1580156132de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133029190614c75565b9050858160400181905250848160600181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061337891906149ba565b6001600160a01b031663f7b442d1858360ff6040518463ffffffff1660e01b81526004016133a893929190615443565b600060405180830381600087803b1580156133c257600080fd5b505af11580156133d6573d6000803e3d6000fd5b50505050505050505050565b600061051e6028613dc9565b600061051e6046613dc9565b613402613471565b61340b81611b8f565b6134136112c9565b6001600160a01b03821661343a5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061552183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061556183398151915254600160401b900460ff166134a857604051631afcd79f60e31b815260040160405180910390fd5b565b6000806134bf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561350e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135369190810190614e6e565b60200151905060006135506001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561359f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135c79190810190614e6e565b60800151949350505050565b60006135dd614080565b60006135f16001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061365b919061499d565b92506136678385613ed6565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d191906149ba565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561371b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061373f9190614975565b1561376e57608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016106ff565b9193909250565b6101da613471565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156137d1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e9190614e46565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061386d9190614975565b613895576040516359bff0e360e11b81526001600160a01b03881660048201526024016106ff565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156138d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526138fd9190810190614e6e565b905061391481604001518860ff9081169116141590565b15613954576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016106ff565b60a08101516001600160a01b03858116908216146139a65760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016106ff565b816020015192506139b683613fda565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156139f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a1a91906149ba565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015613a71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a959190614975565b613adb57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016106ff565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016137b4565b6000805160206155618339815191528054600160401b810460ff1615906001600160401b0316600081158015613b555750825b90506000826001600160401b03166001148015613b715750303b155b905081158015613b7f575080155b15613b9d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613bc757845460ff60401b1916600160401b1785555b60008087806020019051810190613bde91906154f1565b92509050613bee8160008b6126da565b613bfe637d64c78b60e11b61084b565b5050831561190257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016118f9565b60008051602061554183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613cab613471565b611c9a8161406f565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015613d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d3b919061499d565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015613da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d3b9190614975565b6000613ddd6001546001600160a01b031690565b6001600160a01b031663d39e604383613df4610499565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e6d9190615413565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba591906149ba565b613ede614080565b6000613ef26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613f41573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f699190810190614e6e565b9150613f8082604001518460ff9081169116141590565b15613fc457608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016106ff565b613fd18260200151613fda565b90509250929050565b6000613fee6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561403d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140659190810190614e6e565b6080015192915050565b614077613471565b611c9a81613c42565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156140d057600080fd5b81356001600160e01b031981168114613d3b57600080fd5b60005b838110156141035781810151838201526020016140eb565b50506000910152565b600081518084526141248160208601602086016140e8565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516141a160c08401826001600160a01b03169052565b5060c083015160e0808401526141bb61010084018261410c565b949350505050565b6001600160601b0381168114611c9a57600080fd5b80356141e3816141c3565b919050565b6001600160c01b031981168114611c9a57600080fd5b6000806040838503121561421157600080fd5b823561421c816141c3565b9150602083013561422c816141e8565b809150509250929050565b6001600160a01b0381168114611c9a57600080fd5b60ff81168114611c9a57600080fd5b8015158114611c9a57600080fd5b80356141e38161425b565b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b03811182821017156142ad576142ad614274565b60405290565b604080519081016001600160401b03811182821017156142ad576142ad614274565b60405160e081016001600160401b03811182821017156142ad576142ad614274565b60405160a081016001600160401b03811182821017156142ad576142ad614274565b60405161012081016001600160401b03811182821017156142ad576142ad614274565b604051601f8201601f191681016001600160401b038111828210171561436457614364614274565b604052919050565b60006001600160401b0382111561438557614385614274565b50601f01601f191660200190565b600082601f8301126143a457600080fd5b81356143b76143b28261436c565b61433c565b8181528460208386010111156143cc57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561440257600080fd5b863561440d81614237565b9550602087013561441d816141c3565b9450604087013561442d8161424c565b9350606087013561443d8161425b565b9250608087013561444d81614237565b915060a08701356001600160401b0381111561446857600080fd5b61447489828a01614393565b9150509295509295509295565b63ffffffff81168114611c9a57600080fd5b60008060008060008060008060006101208a8c0312156144b257600080fd5b89356001600160401b03808211156144c957600080fd5b6144d58d838e01614393565b9a5060208c0135995060408c0135985060608c0135975060808c013591506144fc82614481565b90955060a08b01359061450e82614481565b81955061451d60c08d01614269565b945061452b60e08d01614269565b93506101008c013591508082111561454257600080fd5b5061454f8c828d01614393565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561458657600080fd5b81356001600160401b0381111561459c57600080fd5b6141bb84828501614393565b6000602082840312156145ba57600080fd5b8135613d3b81614237565b600080604083850312156145d857600080fd5b82356145e381614237565b915060208301356001600160401b038111156145fe57600080fd5b61460a85828601614393565b9150509250929050565b60008060006060848603121561462957600080fd5b833561463481614237565b92506020840135614644816141e8565b915060408401356001600160401b0381111561465f57600080fd5b61466b86828701614393565b9150509250925092565b64ffffffffff81168114611c9a57600080fd5b60008060008060008060c087890312156146a157600080fd5b86356146ac816141c3565b955060208701356001600160401b03808211156146c857600080fd5b6146d48a838b01614393565b965060408901359550606089013591506146ed82614481565b9093506080880135906146ff82614675565b90925060a0880135908082111561471557600080fd5b5061447489828a01614393565b60008060006060848603121561473757600080fd5b833561474281614237565b9250602084013561475281614237565b9150604084013561476281614237565b809150509250925092565b60008060008084860361024081121561478557600080fd5b8535614790816141c3565b945060208601356147a0816141e8565b93506101e0603f1982018113156147b657600080fd5b6147be61428a565b915060408701358252606087013560208301526080870135604083015260a0870135606083015260c0870135608083015260e087013560a08301526101008088013560c08401526101208089013560e0850152610140808a0135838601526101609250828a0135828601526101809150818a013581860152506101a0808a0135838601526101c09250828a013582860152838a01358186015250506102008801358184015250508092505061487661022086016141d8565b905092959194509250565b60006040828403121561489357600080fd5b61489b6142b3565b9050813581526020820135602082015292915050565b600080608083850312156148c457600080fd5b6148ce8484614881565b9150613fd18460408501614881565b600080604083850312156148f057600080fd5b82356148fb81614237565b9150602083013561422c81614237565b60006020828403121561491d57600080fd5b815162ffffff81168114613d3b57600080fd5b600181811c9082168061494457607f821691505b60208210810361496457634e487b7160e01b600052602260045260246000fd5b50919050565b80516141e38161425b565b60006020828403121561498757600080fd5b8151613d3b8161425b565b80516141e3816141c3565b6000602082840312156149af57600080fd5b8151613d3b816141c3565b6000602082840312156149cc57600080fd5b8151613d3b81614237565b600082601f8301126149e857600080fd5b81516149f66143b28261436c565b818152846020838601011115614a0b57600080fd5b6141bb8260208301602087016140e8565b80516141e381614481565b80516141e381614675565b600060208284031215614a4457600080fd5b81516001600160401b0380821115614a5b57600080fd5b9083019060e08286031215614a6f57600080fd5b614a776142d5565b614a8083614992565b8152602083015182811115614a9457600080fd5b614aa0878286016149d7565b60208301525060408301516040820152614abc60608401614a1c565b6060820152614acd60808401614a1c565b6080820152614ade60a08401614a27565b60a082015260c083015182811115614af557600080fd5b614b01878286016149d7565b60c08301525095945050505050565b600060208284031215614b2257600080fd5b8151613d3b81614675565b601f82111561290e57600081815260208120601f850160051c81016020861015614b545750805b601f850160051c820191505b81811015614b7357828155600101614b60565b505050505050565b81516001600160401b03811115614b9457614b94614274565b614ba881614ba28454614930565b84614b2d565b602080601f831160018114614bdd5760008415614bc55750858301515b600019600386901b1c1916600185901b178555614b73565b600085815260208120601f198616915b82811015614c0c57888601518255948401946001909101908401614bed565b5085821015614c2a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060408284031215614c4c57600080fd5b614c546142b3565b9050815181526020820151602082015292915050565b80516141e381614237565b60006101008284031215614c8857600080fd5b60405160c081018181106001600160401b0382111715614caa57614caa614274565b6040528251614cb8816141c3565b81526020830151614cc881614237565b6020820152614cda8460408501614c3a565b6040820152614cec8460808501614c3a565b606082015260c0830151614cff81614237565b608082015260e0929092015160a083015250919050565b600060208284031215614d2857600080fd5b5051919050565b6001600160601b03831681526040602082015260006141bb604083018461410c565b600060208284031215614d6357600080fd5b8151613d3b816141e8565b6001600160401b0360c01b831681526040602082015260008251610120806040850152614d9f61016085018361410c565b91506020850151606085015260408501516080850152606085015160a08501526080850151614dd660c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c0850151610100614dfe8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152614e27828261410c565b9695505050505050565b6001600160401b0381168114611c9a57600080fd5b600060208284031215614e5857600080fd5b8151613d3b81614e31565b80516141e38161424c565b600060208284031215614e8057600080fd5b81516001600160401b0380821115614e9757600080fd5b9083019060e08286031215614eab57600080fd5b614eb36142d5565b614ebc83614992565b8152614eca60208401614992565b6020820152614edb60408401614e63565b6040820152614eec6060840161496a565b6060820152614efd60808401614c6a565b6080820152614ade60a08401614c6a565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b03831681526101208101613d3b6020830184614f0e565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614fbe57600080fd5b81516001600160401b03811115614fd457600080fd5b6141bb848285016149d7565b600081518084526020808501945080840160005b838110156150195781516001600160401b031687529582019590820190600101614ff4565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015261505560a084018761410c565b8381036060850152855180825282820190600581901b830184018489016000805b848110156150d357868403601f19018652825180518086529089019089860190845b818110156150be5783516001600160e01b0319168352928b0192918b0191600101615098565b50509689019694505091870191600101615076565b50505086810360808801526150e88189614fe0565b9c9b505050505050505050505050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261512f60a085018261410c565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b03831681526040602082015260006141bb60408301846150f8565b602081526000613d3b602083018461410c565b6000602082840312156151a557600080fd5b81516001600160401b03808211156151bc57600080fd5b9083019060a082860312156151d057600080fd5b6151d86142f7565b82516151e3816141e8565b815260208301516151f38161425b565b602082015260408301518281111561520a57600080fd5b615216878286016149d7565b6040830152506060830151915061522c826141c3565b8160608201526080830151925061524283614481565b6080810192909252509392505050565b60006020828403121561526457600080fd5b81516001600160401b038082111561527b57600080fd5b90830190610120828603121561529057600080fd5b615298614319565b8251828111156152a757600080fd5b6152b3878286016149d7565b8252506020830151602082015260408301516040820152606083015160608201526152e060808401614a1c565b60808201526152f160a08401614a1c565b60a082015261530260c0840161496a565b60c082015261531360e0840161496a565b60e0820152610100808401518381111561532c57600080fd5b615338888287016149d7565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610ba557610ba5615349565b6001600160601b0381511682526000602082015160e0602085015261539a60e085018261410c565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152610ba0828261410c565b6001600160401b0360c01b831681526040602082015260006141bb6040830184615372565b60006020828403121561542557600080fd5b8151613d3b8161424c565b80820180821115610ba557610ba5615349565b6001600160601b038416815261014081016154616020830185614f0e565b60ff8316610120830152949350505050565b63ffffffff81811683821601908082111561549057615490615349565b5092915050565b6001600160401b0360c01b841681526060602082015260006154bc6060830185615372565b905060ff83166040830152949350505050565b6001600160601b03841681526060602082015260006154bc60608301856150f8565b6000806040838503121561550457600080fd5b825161550f81614237565b602084015190925061422c8161423756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b3ff393c9b1bbe38c29b4c53a3d81e5122b3bf588363004183f6e89f30be161064736f6c63430008140033",
656
1172
  "linkReferences": {
657
- "contracts/types/Blocknumber.sol": {
658
- "BlocknumberLib": [
1173
+ "contracts/types/Amount.sol": {
1174
+ "AmountLib": [
1175
+ {
1176
+ "length": 20,
1177
+ "start": 6948
1178
+ },
1179
+ {
1180
+ "length": 20,
1181
+ "start": 11603
1182
+ },
1183
+ {
1184
+ "length": 20,
1185
+ "start": 11750
1186
+ },
1187
+ {
1188
+ "length": 20,
1189
+ "start": 11988
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 12117
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 12492
1198
+ },
659
1199
  {
660
1200
  "length": 20,
661
- "start": 3881
1201
+ "start": 15811
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 15953
1206
+ }
1207
+ ]
1208
+ },
1209
+ "contracts/types/DistributorType.sol": {
1210
+ "DistributorTypeLib": [
1211
+ {
1212
+ "length": 20,
1213
+ "start": 4291
662
1214
  }
663
1215
  ]
664
1216
  },
@@ -666,15 +1218,27 @@
666
1218
  "NftIdLib": [
667
1219
  {
668
1220
  "length": 20,
669
- "start": 2064
1221
+ "start": 1887
670
1222
  },
671
1223
  {
672
1224
  "length": 20,
673
- "start": 4025
1225
+ "start": 2660
1226
+ },
1227
+ {
1228
+ "length": 20,
1229
+ "start": 7763
1230
+ }
1231
+ ]
1232
+ },
1233
+ "contracts/types/Referral.sol": {
1234
+ "ReferralLib": [
1235
+ {
1236
+ "length": 20,
1237
+ "start": 9774
674
1238
  },
675
1239
  {
676
1240
  "length": 20,
677
- "start": 6264
1241
+ "start": 10819
678
1242
  }
679
1243
  ]
680
1244
  },
@@ -682,7 +1246,11 @@
682
1246
  "RoleIdLib": [
683
1247
  {
684
1248
  "length": 20,
685
- "start": 6017
1249
+ "start": 14460
1250
+ },
1251
+ {
1252
+ "length": 20,
1253
+ "start": 15334
686
1254
  }
687
1255
  ]
688
1256
  },
@@ -690,7 +1258,83 @@
690
1258
  "TimestampLib": [
691
1259
  {
692
1260
  "length": 20,
693
- "start": 7398
1261
+ "start": 2804
1262
+ },
1263
+ {
1264
+ "length": 20,
1265
+ "start": 2938
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 3044
1270
+ },
1271
+ {
1272
+ "length": 20,
1273
+ "start": 8103
1274
+ },
1275
+ {
1276
+ "length": 20,
1277
+ "start": 9225
1278
+ },
1279
+ {
1280
+ "length": 20,
1281
+ "start": 9361
1282
+ },
1283
+ {
1284
+ "length": 20,
1285
+ "start": 9483
1286
+ },
1287
+ {
1288
+ "length": 20,
1289
+ "start": 9626
1290
+ }
1291
+ ]
1292
+ },
1293
+ "contracts/types/UFixed.sol": {
1294
+ "UFixedLib": [
1295
+ {
1296
+ "length": 20,
1297
+ "start": 3659
1298
+ },
1299
+ {
1300
+ "length": 20,
1301
+ "start": 3795
1302
+ },
1303
+ {
1304
+ "length": 20,
1305
+ "start": 3921
1306
+ },
1307
+ {
1308
+ "length": 20,
1309
+ "start": 4042
1310
+ },
1311
+ {
1312
+ "length": 20,
1313
+ "start": 4158
1314
+ },
1315
+ {
1316
+ "length": 20,
1317
+ "start": 8684
1318
+ },
1319
+ {
1320
+ "length": 20,
1321
+ "start": 8800
1322
+ },
1323
+ {
1324
+ "length": 20,
1325
+ "start": 8968
1326
+ },
1327
+ {
1328
+ "length": 20,
1329
+ "start": 9084
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 12803
1334
+ },
1335
+ {
1336
+ "length": 20,
1337
+ "start": 12922
694
1338
  }
695
1339
  ]
696
1340
  },
@@ -698,25 +1342,67 @@
698
1342
  "VersionLib": [
699
1343
  {
700
1344
  "length": 20,
701
- "start": 1479
1345
+ "start": 1446
702
1346
  },
703
1347
  {
704
1348
  "length": 20,
705
- "start": 4265
1349
+ "start": 4708
706
1350
  },
707
1351
  {
708
1352
  "length": 20,
709
- "start": 4959
1353
+ "start": 16117
1354
+ }
1355
+ ],
1356
+ "VersionPartLib": [
1357
+ {
1358
+ "length": 20,
1359
+ "start": 10399
710
1360
  }
711
1361
  ]
712
1362
  }
713
1363
  },
714
1364
  "deployedLinkReferences": {
715
- "contracts/types/Blocknumber.sol": {
716
- "BlocknumberLib": [
1365
+ "contracts/types/Amount.sol": {
1366
+ "AmountLib": [
1367
+ {
1368
+ "length": 20,
1369
+ "start": 6718
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 11373
1374
+ },
1375
+ {
1376
+ "length": 20,
1377
+ "start": 11520
1378
+ },
1379
+ {
1380
+ "length": 20,
1381
+ "start": 11758
1382
+ },
1383
+ {
1384
+ "length": 20,
1385
+ "start": 11887
1386
+ },
1387
+ {
1388
+ "length": 20,
1389
+ "start": 12262
1390
+ },
1391
+ {
1392
+ "length": 20,
1393
+ "start": 15581
1394
+ },
1395
+ {
1396
+ "length": 20,
1397
+ "start": 15723
1398
+ }
1399
+ ]
1400
+ },
1401
+ "contracts/types/DistributorType.sol": {
1402
+ "DistributorTypeLib": [
717
1403
  {
718
1404
  "length": 20,
719
- "start": 3567
1405
+ "start": 4061
720
1406
  }
721
1407
  ]
722
1408
  },
@@ -724,15 +1410,27 @@
724
1410
  "NftIdLib": [
725
1411
  {
726
1412
  "length": 20,
727
- "start": 1750
1413
+ "start": 1657
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 2430
728
1418
  },
729
1419
  {
730
1420
  "length": 20,
731
- "start": 3711
1421
+ "start": 7533
1422
+ }
1423
+ ]
1424
+ },
1425
+ "contracts/types/Referral.sol": {
1426
+ "ReferralLib": [
1427
+ {
1428
+ "length": 20,
1429
+ "start": 9544
732
1430
  },
733
1431
  {
734
1432
  "length": 20,
735
- "start": 5950
1433
+ "start": 10589
736
1434
  }
737
1435
  ]
738
1436
  },
@@ -740,7 +1438,11 @@
740
1438
  "RoleIdLib": [
741
1439
  {
742
1440
  "length": 20,
743
- "start": 5703
1441
+ "start": 14230
1442
+ },
1443
+ {
1444
+ "length": 20,
1445
+ "start": 15104
744
1446
  }
745
1447
  ]
746
1448
  },
@@ -748,7 +1450,83 @@
748
1450
  "TimestampLib": [
749
1451
  {
750
1452
  "length": 20,
751
- "start": 7084
1453
+ "start": 2574
1454
+ },
1455
+ {
1456
+ "length": 20,
1457
+ "start": 2708
1458
+ },
1459
+ {
1460
+ "length": 20,
1461
+ "start": 2814
1462
+ },
1463
+ {
1464
+ "length": 20,
1465
+ "start": 7873
1466
+ },
1467
+ {
1468
+ "length": 20,
1469
+ "start": 8995
1470
+ },
1471
+ {
1472
+ "length": 20,
1473
+ "start": 9131
1474
+ },
1475
+ {
1476
+ "length": 20,
1477
+ "start": 9253
1478
+ },
1479
+ {
1480
+ "length": 20,
1481
+ "start": 9396
1482
+ }
1483
+ ]
1484
+ },
1485
+ "contracts/types/UFixed.sol": {
1486
+ "UFixedLib": [
1487
+ {
1488
+ "length": 20,
1489
+ "start": 3429
1490
+ },
1491
+ {
1492
+ "length": 20,
1493
+ "start": 3565
1494
+ },
1495
+ {
1496
+ "length": 20,
1497
+ "start": 3691
1498
+ },
1499
+ {
1500
+ "length": 20,
1501
+ "start": 3812
1502
+ },
1503
+ {
1504
+ "length": 20,
1505
+ "start": 3928
1506
+ },
1507
+ {
1508
+ "length": 20,
1509
+ "start": 8454
1510
+ },
1511
+ {
1512
+ "length": 20,
1513
+ "start": 8570
1514
+ },
1515
+ {
1516
+ "length": 20,
1517
+ "start": 8738
1518
+ },
1519
+ {
1520
+ "length": 20,
1521
+ "start": 8854
1522
+ },
1523
+ {
1524
+ "length": 20,
1525
+ "start": 12573
1526
+ },
1527
+ {
1528
+ "length": 20,
1529
+ "start": 12692
752
1530
  }
753
1531
  ]
754
1532
  },
@@ -756,15 +1534,21 @@
756
1534
  "VersionLib": [
757
1535
  {
758
1536
  "length": 20,
759
- "start": 1165
1537
+ "start": 1216
760
1538
  },
761
1539
  {
762
1540
  "length": 20,
763
- "start": 3951
1541
+ "start": 4478
764
1542
  },
765
1543
  {
766
1544
  "length": 20,
767
- "start": 4645
1545
+ "start": 15887
1546
+ }
1547
+ ],
1548
+ "VersionPartLib": [
1549
+ {
1550
+ "length": 20,
1551
+ "start": 10169
768
1552
  }
769
1553
  ]
770
1554
  }