@etherisc/gif-next 0.0.2-cff6256-424 → 0.0.2-d086e6d-456

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. package/README.md +141 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +897 -238
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +295 -132
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +801 -36
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +844 -258
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +626 -234
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2107 -184
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +334 -157
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +979 -1206
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +571 -177
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +227 -221
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +529 -233
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +324 -91
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +298 -137
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +69 -43
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1058 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1258 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +717 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +844 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1405 -224
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +451 -74
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +646 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +683 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +227 -194
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +791 -134
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +630 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +450 -143
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +96 -373
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1111 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1264 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +867 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +227 -224
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +243 -206
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +241 -330
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +235 -295
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +295 -150
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +95 -157
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +195 -148
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +213 -202
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +197 -83
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +43 -18
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +225 -180
  217. package/contracts/components/Product.sol +130 -134
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +127 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +77 -12
  222. package/contracts/instance/IInstanceService.sol +47 -5
  223. package/contracts/instance/Instance.sol +152 -268
  224. package/contracts/instance/InstanceAccessManager.sol +410 -176
  225. package/contracts/instance/InstanceReader.sol +36 -35
  226. package/contracts/instance/InstanceService.sol +429 -92
  227. package/contracts/instance/InstanceServiceManager.sol +11 -13
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +136 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +11 -2
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -4
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +30 -3
  237. package/contracts/instance/module/ISetup.sol +9 -19
  238. package/contracts/instance/service/ApplicationService.sol +350 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +431 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +151 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +378 -39
  245. package/contracts/instance/service/DistributionServiceManager.sol +11 -13
  246. package/contracts/instance/service/IApplicationService.sol +82 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -0
  248. package/contracts/instance/service/IClaimService.sol +61 -0
  249. package/contracts/instance/service/IDistributionService.sol +86 -0
  250. package/contracts/instance/service/IPolicyService.sol +72 -0
  251. package/contracts/instance/service/IPoolService.sol +79 -17
  252. package/contracts/instance/service/IProductService.sol +6 -73
  253. package/contracts/instance/service/PolicyService.sol +360 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +343 -0
  256. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  257. package/contracts/instance/service/ProductService.sol +210 -0
  258. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +40 -33
  261. package/contracts/registry/IRegistryService.sol +48 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +234 -256
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +117 -231
  266. package/contracts/registry/RegistryServiceManager.sol +21 -39
  267. package/contracts/registry/ReleaseManager.sol +322 -0
  268. package/contracts/registry/TokenRegistry.sol +22 -17
  269. package/contracts/shared/ERC165.sol +14 -12
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +8 -2
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +67 -83
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -32
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +31 -22
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +60 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +52 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/NftIdSet.sol +26 -24
  293. package/contracts/types/ObjectType.sol +10 -5
  294. package/contracts/types/PayoutId.sol +54 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -17
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +1 -0
  299. package/contracts/types/Timestamp.sol +13 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +1 -0
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/contracts/components/BaseComponent.sol +0 -91
  359. package/contracts/components/IBaseComponent.sol +0 -25
  360. package/contracts/experiment/cloning/Cloner.sol +0 -47
  361. package/contracts/experiment/errors/Require.sol +0 -38
  362. package/contracts/experiment/errors/Revert.sol +0 -44
  363. package/contracts/experiment/inheritance/A.sol +0 -53
  364. package/contracts/experiment/inheritance/B.sol +0 -28
  365. package/contracts/experiment/inheritance/C.sol +0 -34
  366. package/contracts/experiment/inheritance/IA.sol +0 -13
  367. package/contracts/experiment/inheritance/IB.sol +0 -10
  368. package/contracts/experiment/inheritance/IC.sol +0 -12
  369. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  370. package/contracts/experiment/statemachine/ISM.sol +0 -25
  371. package/contracts/experiment/statemachine/SM.sol +0 -57
  372. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  373. package/contracts/experiment/types/TypeA.sol +0 -47
  374. package/contracts/experiment/types/TypeB.sol +0 -29
  375. package/contracts/instance/AccessManagedSimple.sol +0 -115
  376. package/contracts/instance/AccessManagerSimple.sol +0 -692
  377. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  378. package/contracts/instance/base/ComponentServiceBase.sol +0 -39
  379. package/contracts/instance/base/IInstanceBase.sol +0 -23
  380. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  381. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  382. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,155 +7,848 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ },
51
+ {
52
+ "internalType": "NftId",
53
+ "name": "nftId",
54
+ "type": "uint96"
55
+ }
56
+ ],
57
+ "name": "ErrorComponentServiceAlreadyRegistered",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "component",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorComponentServiceComponentLocked",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "NftId",
75
+ "name": "instanceNftId",
76
+ "type": "uint96"
77
+ },
78
+ {
79
+ "internalType": "RoleId",
80
+ "name": "requiredRole",
81
+ "type": "uint64"
82
+ },
83
+ {
84
+ "internalType": "address",
85
+ "name": "sender",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "ErrorComponentServiceExpectedRoleMissing",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "component",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "internalType": "ObjectType",
101
+ "name": "requiredType",
102
+ "type": "uint8"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "componentType",
107
+ "type": "uint8"
108
+ }
109
+ ],
110
+ "name": "ErrorComponentServiceInvalidType",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "address",
117
+ "name": "component",
118
+ "type": "address"
119
+ }
120
+ ],
121
+ "name": "ErrorComponentServiceNotComponent",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "component",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "internalType": "address",
133
+ "name": "initialOwner",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "sender",
139
+ "type": "address"
140
+ }
141
+ ],
142
+ "name": "ErrorComponentServiceSenderNotOwner",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "target",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "ErrorIAccessTargetLocked",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "caller",
11
161
  "type": "address"
162
+ }
163
+ ],
164
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "commissionPercentage",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "internalType": "uint256",
176
+ "name": "maxCommissionPercentage",
177
+ "type": "uint256"
178
+ }
179
+ ],
180
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "maxDiscountPercentage",
188
+ "type": "uint256"
189
+ },
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "discountPercentage",
193
+ "type": "uint256"
194
+ }
195
+ ],
196
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "minDiscountPercentage",
204
+ "type": "uint256"
205
+ },
206
+ {
207
+ "internalType": "uint256",
208
+ "name": "discountPercentage",
209
+ "type": "uint256"
210
+ }
211
+ ],
212
+ "name": "ErrorIDistributionServiceDiscountTooLow",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "internalType": "Timestamp",
219
+ "name": "expiryAt",
220
+ "type": "uint40"
221
+ }
222
+ ],
223
+ "name": "ErrorIDistributionServiceExpirationInvalid",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "maxReferralLifetime",
231
+ "type": "uint256"
232
+ },
233
+ {
234
+ "internalType": "uint256",
235
+ "name": "expiryAt",
236
+ "type": "uint256"
237
+ }
238
+ ],
239
+ "name": "ErrorIDistributionServiceExpiryTooLong",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "distributionFeeFixAmount",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "distributionFeeVarAmount",
252
+ "type": "uint256"
253
+ },
254
+ {
255
+ "internalType": "uint256",
256
+ "name": "distributionOwnerFeeFixAmount",
257
+ "type": "uint256"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "distributionOwnerFeeVarAmount",
262
+ "type": "uint256"
263
+ },
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "commissionAmount",
267
+ "type": "uint256"
268
+ },
269
+ {
270
+ "internalType": "uint256",
271
+ "name": "discountAmount",
272
+ "type": "uint256"
273
+ }
274
+ ],
275
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "transferredDistributionFeeAmount",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "expectedDistributionFeeAmount",
288
+ "type": "uint256"
289
+ }
290
+ ],
291
+ "name": "ErrorIDistributionServiceInvalidFeeTransferred",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [
296
+ {
297
+ "internalType": "string",
298
+ "name": "code",
299
+ "type": "string"
300
+ }
301
+ ],
302
+ "name": "ErrorIDistributionServiceInvalidReferral",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "ReferralId",
309
+ "name": "referralId",
310
+ "type": "bytes8"
311
+ }
312
+ ],
313
+ "name": "ErrorIDistributionServiceInvalidReferralId",
314
+ "type": "error"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "uint256",
320
+ "name": "maxDiscountPercentage",
321
+ "type": "uint256"
322
+ },
323
+ {
324
+ "internalType": "uint256",
325
+ "name": "limit",
326
+ "type": "uint256"
327
+ }
328
+ ],
329
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
330
+ "type": "error"
331
+ },
332
+ {
333
+ "inputs": [
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "maxReferrals",
337
+ "type": "uint256"
338
+ }
339
+ ],
340
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
341
+ "type": "error"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "minFee",
348
+ "type": "uint256"
349
+ },
350
+ {
351
+ "internalType": "uint256",
352
+ "name": "limit",
353
+ "type": "uint256"
354
+ }
355
+ ],
356
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "NftId",
363
+ "name": "nftId",
364
+ "type": "uint96"
365
+ },
366
+ {
367
+ "internalType": "NftId",
368
+ "name": "parentNftId",
369
+ "type": "uint96"
370
+ }
371
+ ],
372
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
373
+ "type": "error"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "NftId",
379
+ "name": "distributionNftId",
380
+ "type": "uint96"
12
381
  },
382
+ {
383
+ "internalType": "ReferralId",
384
+ "name": "referralId",
385
+ "type": "bytes8"
386
+ }
387
+ ],
388
+ "name": "ErrorIDistributionServiceReferralInvalid",
389
+ "type": "error"
390
+ },
391
+ {
392
+ "inputs": [
393
+ {
394
+ "internalType": "address",
395
+ "name": "caller",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "name": "ErrorIServiceCallerUnknown",
400
+ "type": "error"
401
+ },
402
+ {
403
+ "inputs": [
13
404
  {
14
405
  "internalType": "NftId",
15
406
  "name": "nftId",
16
407
  "type": "uint96"
17
408
  }
18
409
  ],
19
- "name": "ErrorAlreadyLinked",
20
- "type": "error"
21
- },
22
- {
23
- "inputs": [
410
+ "name": "ErrorNftOwnableAlreadyLinked",
411
+ "type": "error"
412
+ },
413
+ {
414
+ "inputs": [
415
+ {
416
+ "internalType": "address",
417
+ "name": "contractAddress",
418
+ "type": "address"
419
+ }
420
+ ],
421
+ "name": "ErrorNftOwnableContractNotRegistered",
422
+ "type": "error"
423
+ },
424
+ {
425
+ "inputs": [],
426
+ "name": "ErrorNftOwnableInitialOwnerZero",
427
+ "type": "error"
428
+ },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "address",
433
+ "name": "account",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "name": "ErrorNftOwnableNotOwner",
438
+ "type": "error"
439
+ },
440
+ {
441
+ "inputs": [
442
+ {
443
+ "internalType": "address",
444
+ "name": "registryAddress",
445
+ "type": "address"
446
+ }
447
+ ],
448
+ "name": "ErrorNotRegistry",
449
+ "type": "error"
450
+ },
451
+ {
452
+ "inputs": [],
453
+ "name": "InvalidInitialization",
454
+ "type": "error"
455
+ },
456
+ {
457
+ "inputs": [],
458
+ "name": "NotInitializing",
459
+ "type": "error"
460
+ },
461
+ {
462
+ "anonymous": false,
463
+ "inputs": [
464
+ {
465
+ "indexed": false,
466
+ "internalType": "address",
467
+ "name": "authority",
468
+ "type": "address"
469
+ }
470
+ ],
471
+ "name": "AuthorityUpdated",
472
+ "type": "event"
473
+ },
474
+ {
475
+ "anonymous": false,
476
+ "inputs": [
477
+ {
478
+ "indexed": false,
479
+ "internalType": "uint64",
480
+ "name": "version",
481
+ "type": "uint64"
482
+ }
483
+ ],
484
+ "name": "Initialized",
485
+ "type": "event"
486
+ },
487
+ {
488
+ "inputs": [],
489
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
490
+ "outputs": [
491
+ {
492
+ "internalType": "bytes32",
493
+ "name": "",
494
+ "type": "bytes32"
495
+ }
496
+ ],
497
+ "stateMutability": "view",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [],
502
+ "name": "REGISTERABLE_LOCATION_V1",
503
+ "outputs": [
504
+ {
505
+ "internalType": "bytes32",
506
+ "name": "",
507
+ "type": "bytes32"
508
+ }
509
+ ],
510
+ "stateMutability": "view",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [],
515
+ "name": "authority",
516
+ "outputs": [
517
+ {
518
+ "internalType": "address",
519
+ "name": "",
520
+ "type": "address"
521
+ }
522
+ ],
523
+ "stateMutability": "view",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [
528
+ {
529
+ "internalType": "NftId",
530
+ "name": "distributionNftId",
531
+ "type": "uint96"
532
+ },
533
+ {
534
+ "internalType": "ReferralId",
535
+ "name": "referralId",
536
+ "type": "bytes8"
537
+ },
538
+ {
539
+ "components": [
540
+ {
541
+ "internalType": "uint256",
542
+ "name": "netPremiumAmount",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "internalType": "uint256",
547
+ "name": "fullPremiumAmount",
548
+ "type": "uint256"
549
+ },
550
+ {
551
+ "internalType": "uint256",
552
+ "name": "premiumAmount",
553
+ "type": "uint256"
554
+ },
555
+ {
556
+ "internalType": "uint256",
557
+ "name": "productFeeFixAmount",
558
+ "type": "uint256"
559
+ },
560
+ {
561
+ "internalType": "uint256",
562
+ "name": "poolFeeFixAmount",
563
+ "type": "uint256"
564
+ },
565
+ {
566
+ "internalType": "uint256",
567
+ "name": "bundleFeeFixAmount",
568
+ "type": "uint256"
569
+ },
570
+ {
571
+ "internalType": "uint256",
572
+ "name": "distributionFeeFixAmount",
573
+ "type": "uint256"
574
+ },
575
+ {
576
+ "internalType": "uint256",
577
+ "name": "productFeeVarAmount",
578
+ "type": "uint256"
579
+ },
580
+ {
581
+ "internalType": "uint256",
582
+ "name": "poolFeeVarAmount",
583
+ "type": "uint256"
584
+ },
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "bundleFeeVarAmount",
588
+ "type": "uint256"
589
+ },
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "distributionFeeVarAmount",
593
+ "type": "uint256"
594
+ },
595
+ {
596
+ "internalType": "uint256",
597
+ "name": "distributionOwnerFeeFixAmount",
598
+ "type": "uint256"
599
+ },
600
+ {
601
+ "internalType": "uint256",
602
+ "name": "distributionOwnerFeeVarAmount",
603
+ "type": "uint256"
604
+ },
605
+ {
606
+ "internalType": "uint256",
607
+ "name": "commissionAmount",
608
+ "type": "uint256"
609
+ },
610
+ {
611
+ "internalType": "uint256",
612
+ "name": "discountAmount",
613
+ "type": "uint256"
614
+ }
615
+ ],
616
+ "internalType": "struct IPolicy.Premium",
617
+ "name": "premium",
618
+ "type": "tuple"
619
+ }
620
+ ],
621
+ "name": "calculateFeeAmount",
622
+ "outputs": [
24
623
  {
25
- "internalType": "address",
26
- "name": "contractAddress",
27
- "type": "address"
624
+ "components": [
625
+ {
626
+ "internalType": "uint256",
627
+ "name": "netPremiumAmount",
628
+ "type": "uint256"
629
+ },
630
+ {
631
+ "internalType": "uint256",
632
+ "name": "fullPremiumAmount",
633
+ "type": "uint256"
634
+ },
635
+ {
636
+ "internalType": "uint256",
637
+ "name": "premiumAmount",
638
+ "type": "uint256"
639
+ },
640
+ {
641
+ "internalType": "uint256",
642
+ "name": "productFeeFixAmount",
643
+ "type": "uint256"
644
+ },
645
+ {
646
+ "internalType": "uint256",
647
+ "name": "poolFeeFixAmount",
648
+ "type": "uint256"
649
+ },
650
+ {
651
+ "internalType": "uint256",
652
+ "name": "bundleFeeFixAmount",
653
+ "type": "uint256"
654
+ },
655
+ {
656
+ "internalType": "uint256",
657
+ "name": "distributionFeeFixAmount",
658
+ "type": "uint256"
659
+ },
660
+ {
661
+ "internalType": "uint256",
662
+ "name": "productFeeVarAmount",
663
+ "type": "uint256"
664
+ },
665
+ {
666
+ "internalType": "uint256",
667
+ "name": "poolFeeVarAmount",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "internalType": "uint256",
672
+ "name": "bundleFeeVarAmount",
673
+ "type": "uint256"
674
+ },
675
+ {
676
+ "internalType": "uint256",
677
+ "name": "distributionFeeVarAmount",
678
+ "type": "uint256"
679
+ },
680
+ {
681
+ "internalType": "uint256",
682
+ "name": "distributionOwnerFeeFixAmount",
683
+ "type": "uint256"
684
+ },
685
+ {
686
+ "internalType": "uint256",
687
+ "name": "distributionOwnerFeeVarAmount",
688
+ "type": "uint256"
689
+ },
690
+ {
691
+ "internalType": "uint256",
692
+ "name": "commissionAmount",
693
+ "type": "uint256"
694
+ },
695
+ {
696
+ "internalType": "uint256",
697
+ "name": "discountAmount",
698
+ "type": "uint256"
699
+ }
700
+ ],
701
+ "internalType": "struct IPolicy.Premium",
702
+ "name": "finalPremium",
703
+ "type": "tuple"
28
704
  }
29
705
  ],
30
- "name": "ErrorContractNotRegistered",
31
- "type": "error"
706
+ "stateMutability": "view",
707
+ "type": "function"
32
708
  },
33
709
  {
34
710
  "inputs": [
35
711
  {
36
712
  "internalType": "address",
37
- "name": "account",
713
+ "name": "distributor",
38
714
  "type": "address"
39
- }
40
- ],
41
- "name": "ErrorNotOwner",
42
- "type": "error"
43
- },
44
- {
45
- "inputs": [
715
+ },
46
716
  {
47
- "internalType": "address",
48
- "name": "registryAddress",
49
- "type": "address"
717
+ "internalType": "DistributorType",
718
+ "name": "distributorType",
719
+ "type": "bytes8"
720
+ },
721
+ {
722
+ "internalType": "bytes",
723
+ "name": "data",
724
+ "type": "bytes"
50
725
  }
51
726
  ],
52
- "name": "ErrorNotRegistry",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [
727
+ "name": "createDistributor",
728
+ "outputs": [
57
729
  {
58
- "internalType": "address",
59
- "name": "registryAddress",
60
- "type": "address"
730
+ "internalType": "NftId",
731
+ "name": "distributorNftId",
732
+ "type": "uint96"
61
733
  }
62
734
  ],
63
- "name": "ErrorRegisterableNotRegistry",
64
- "type": "error"
65
- },
66
- {
67
- "inputs": [],
68
- "name": "ErrorRegistryAddressZero",
69
- "type": "error"
735
+ "stateMutability": "nonpayable",
736
+ "type": "function"
70
737
  },
71
738
  {
72
739
  "inputs": [
73
740
  {
74
- "internalType": "address",
75
- "name": "registry",
76
- "type": "address"
741
+ "internalType": "string",
742
+ "name": "name",
743
+ "type": "string"
744
+ },
745
+ {
746
+ "internalType": "UFixed",
747
+ "name": "minDiscountPercentage",
748
+ "type": "uint256"
749
+ },
750
+ {
751
+ "internalType": "UFixed",
752
+ "name": "maxDiscountPercentage",
753
+ "type": "uint256"
754
+ },
755
+ {
756
+ "internalType": "UFixed",
757
+ "name": "commissionPercentage",
758
+ "type": "uint256"
759
+ },
760
+ {
761
+ "internalType": "uint32",
762
+ "name": "maxReferralCount",
763
+ "type": "uint32"
764
+ },
765
+ {
766
+ "internalType": "uint32",
767
+ "name": "maxReferralLifetime",
768
+ "type": "uint32"
769
+ },
770
+ {
771
+ "internalType": "bool",
772
+ "name": "allowSelfReferrals",
773
+ "type": "bool"
774
+ },
775
+ {
776
+ "internalType": "bool",
777
+ "name": "allowRenewals",
778
+ "type": "bool"
779
+ },
780
+ {
781
+ "internalType": "bytes",
782
+ "name": "data",
783
+ "type": "bytes"
77
784
  }
78
785
  ],
79
- "name": "ErrorRegistryAlreadyInitialized",
80
- "type": "error"
81
- },
82
- {
83
- "inputs": [],
84
- "name": "ErrorRegistryNotInitialized",
85
- "type": "error"
86
- },
87
- {
88
- "inputs": [],
89
- "name": "InvalidInitialization",
90
- "type": "error"
91
- },
92
- {
93
- "inputs": [],
94
- "name": "NotInitializing",
95
- "type": "error"
96
- },
97
- {
98
- "anonymous": false,
99
- "inputs": [
786
+ "name": "createDistributorType",
787
+ "outputs": [
100
788
  {
101
- "indexed": false,
102
- "internalType": "uint64",
103
- "name": "version",
104
- "type": "uint64"
789
+ "internalType": "DistributorType",
790
+ "name": "distributorType",
791
+ "type": "bytes8"
105
792
  }
106
793
  ],
107
- "name": "Initialized",
108
- "type": "event"
794
+ "stateMutability": "nonpayable",
795
+ "type": "function"
109
796
  },
110
797
  {
111
- "anonymous": false,
112
798
  "inputs": [
113
799
  {
114
- "indexed": false,
115
- "internalType": "Version",
116
- "name": "version",
117
- "type": "uint24"
800
+ "internalType": "NftId",
801
+ "name": "distributorNftId",
802
+ "type": "uint96"
118
803
  },
119
804
  {
120
- "indexed": false,
121
- "internalType": "address",
122
- "name": "implementation",
123
- "type": "address"
805
+ "internalType": "string",
806
+ "name": "code",
807
+ "type": "string"
124
808
  },
125
809
  {
126
- "indexed": false,
127
- "internalType": "address",
128
- "name": "activatedBy",
129
- "type": "address"
810
+ "internalType": "UFixed",
811
+ "name": "discountPercentage",
812
+ "type": "uint256"
813
+ },
814
+ {
815
+ "internalType": "uint32",
816
+ "name": "maxReferrals",
817
+ "type": "uint32"
818
+ },
819
+ {
820
+ "internalType": "Timestamp",
821
+ "name": "expiryAt",
822
+ "type": "uint40"
823
+ },
824
+ {
825
+ "internalType": "bytes",
826
+ "name": "data",
827
+ "type": "bytes"
130
828
  }
131
829
  ],
132
- "name": "LogVersionableInitialized",
133
- "type": "event"
134
- },
135
- {
136
- "inputs": [],
137
- "name": "NAME",
830
+ "name": "createReferral",
138
831
  "outputs": [
139
832
  {
140
- "internalType": "string",
141
- "name": "",
142
- "type": "string"
833
+ "internalType": "ReferralId",
834
+ "name": "referralId",
835
+ "type": "bytes8"
143
836
  }
144
837
  ],
145
- "stateMutability": "view",
838
+ "stateMutability": "nonpayable",
146
839
  "type": "function"
147
840
  },
148
841
  {
149
842
  "inputs": [],
150
- "name": "REGISTERABLE_LOCATION_V1",
843
+ "name": "getDomain",
151
844
  "outputs": [
152
845
  {
153
- "internalType": "bytes32",
846
+ "internalType": "ObjectType",
154
847
  "name": "",
155
- "type": "bytes32"
848
+ "type": "uint8"
156
849
  }
157
850
  ],
158
- "stateMutability": "view",
851
+ "stateMutability": "pure",
159
852
  "type": "function"
160
853
  },
161
854
  {
@@ -201,13 +894,8 @@
201
894
  }
202
895
  ],
203
896
  "internalType": "struct IRegistry.ObjectInfo",
204
- "name": "",
897
+ "name": "info",
205
898
  "type": "tuple"
206
- },
207
- {
208
- "internalType": "bytes",
209
- "name": "data",
210
- "type": "bytes"
211
899
  }
212
900
  ],
213
901
  "stateMutability": "view",
@@ -215,12 +903,12 @@
215
903
  },
216
904
  {
217
905
  "inputs": [],
218
- "name": "getInitializedVersion",
906
+ "name": "getInstanceService",
219
907
  "outputs": [
220
908
  {
221
- "internalType": "uint64",
909
+ "internalType": "contract InstanceService",
222
910
  "name": "",
223
- "type": "uint64"
911
+ "type": "address"
224
912
  }
225
913
  ],
226
914
  "stateMutability": "view",
@@ -230,26 +918,13 @@
230
918
  "inputs": [],
231
919
  "name": "getMajorVersion",
232
920
  "outputs": [
233
- {
234
- "internalType": "VersionPart",
235
- "name": "majorVersion",
236
- "type": "uint8"
237
- }
238
- ],
239
- "stateMutability": "view",
240
- "type": "function"
241
- },
242
- {
243
- "inputs": [],
244
- "name": "getName",
245
- "outputs": [
246
- {
247
- "internalType": "string",
248
- "name": "name",
249
- "type": "string"
921
+ {
922
+ "internalType": "VersionPart",
923
+ "name": "majorVersion",
924
+ "type": "uint8"
250
925
  }
251
926
  ],
252
- "stateMutability": "pure",
927
+ "stateMutability": "view",
253
928
  "type": "function"
254
929
  },
255
930
  {
@@ -293,10 +968,10 @@
293
968
  },
294
969
  {
295
970
  "inputs": [],
296
- "name": "getRegistryService",
971
+ "name": "getRegistryAddress",
297
972
  "outputs": [
298
973
  {
299
- "internalType": "contract IRegistryService",
974
+ "internalType": "address",
300
975
  "name": "",
301
976
  "type": "address"
302
977
  }
@@ -306,25 +981,19 @@
306
981
  },
307
982
  {
308
983
  "inputs": [],
309
- "name": "getVersion",
984
+ "name": "getRegistryService",
310
985
  "outputs": [
311
986
  {
312
- "internalType": "Version",
987
+ "internalType": "contract IRegistryService",
313
988
  "name": "",
314
- "type": "uint24"
989
+ "type": "address"
315
990
  }
316
991
  ],
317
- "stateMutability": "pure",
992
+ "stateMutability": "view",
318
993
  "type": "function"
319
994
  },
320
995
  {
321
- "inputs": [
322
- {
323
- "internalType": "uint256",
324
- "name": "idx",
325
- "type": "uint256"
326
- }
327
- ],
996
+ "inputs": [],
328
997
  "name": "getVersion",
329
998
  "outputs": [
330
999
  {
@@ -333,75 +1002,105 @@
333
1002
  "type": "uint24"
334
1003
  }
335
1004
  ],
336
- "stateMutability": "view",
1005
+ "stateMutability": "pure",
337
1006
  "type": "function"
338
1007
  },
339
1008
  {
340
1009
  "inputs": [],
341
- "name": "getVersionCount",
342
- "outputs": [
1010
+ "name": "initializeERC165",
1011
+ "outputs": [],
1012
+ "stateMutability": "nonpayable",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [
343
1017
  {
344
- "internalType": "uint256",
345
- "name": "",
346
- "type": "uint256"
1018
+ "internalType": "address",
1019
+ "name": "initialOwner",
1020
+ "type": "address"
1021
+ },
1022
+ {
1023
+ "internalType": "address",
1024
+ "name": "registryAddress",
1025
+ "type": "address"
347
1026
  }
348
1027
  ],
349
- "stateMutability": "view",
1028
+ "name": "initializeNftOwnable",
1029
+ "outputs": [],
1030
+ "stateMutability": "nonpayable",
350
1031
  "type": "function"
351
1032
  },
352
1033
  {
353
1034
  "inputs": [
354
1035
  {
355
- "internalType": "Version",
356
- "name": "_version",
357
- "type": "uint24"
1036
+ "internalType": "address",
1037
+ "name": "registryAddress",
1038
+ "type": "address"
1039
+ },
1040
+ {
1041
+ "internalType": "NftId",
1042
+ "name": "parentNftId",
1043
+ "type": "uint96"
1044
+ },
1045
+ {
1046
+ "internalType": "ObjectType",
1047
+ "name": "objectType",
1048
+ "type": "uint8"
1049
+ },
1050
+ {
1051
+ "internalType": "bool",
1052
+ "name": "isInterceptor",
1053
+ "type": "bool"
1054
+ },
1055
+ {
1056
+ "internalType": "address",
1057
+ "name": "initialOwner",
1058
+ "type": "address"
1059
+ },
1060
+ {
1061
+ "internalType": "bytes",
1062
+ "name": "registryData",
1063
+ "type": "bytes"
358
1064
  }
359
1065
  ],
360
- "name": "getVersionInfo",
361
- "outputs": [
1066
+ "name": "initializeRegisterable",
1067
+ "outputs": [],
1068
+ "stateMutability": "nonpayable",
1069
+ "type": "function"
1070
+ },
1071
+ {
1072
+ "inputs": [
362
1073
  {
363
- "components": [
364
- {
365
- "internalType": "Version",
366
- "name": "version",
367
- "type": "uint24"
368
- },
369
- {
370
- "internalType": "address",
371
- "name": "implementation",
372
- "type": "address"
373
- },
374
- {
375
- "internalType": "address",
376
- "name": "activatedBy",
377
- "type": "address"
378
- },
379
- {
380
- "internalType": "Timestamp",
381
- "name": "activatedAt",
382
- "type": "uint40"
383
- },
384
- {
385
- "internalType": "Blocknumber",
386
- "name": "activatedIn",
387
- "type": "uint32"
388
- }
389
- ],
390
- "internalType": "struct IVersionable.VersionInfo",
391
- "name": "",
392
- "type": "tuple"
1074
+ "internalType": "address",
1075
+ "name": "registryAddress",
1076
+ "type": "address"
393
1077
  }
394
1078
  ],
395
- "stateMutability": "view",
1079
+ "name": "initializeRegistryLinked",
1080
+ "outputs": [],
1081
+ "stateMutability": "nonpayable",
396
1082
  "type": "function"
397
1083
  },
398
1084
  {
399
1085
  "inputs": [
400
1086
  {
401
1087
  "internalType": "address",
402
- "name": "implementation",
1088
+ "name": "registry",
403
1089
  "type": "address"
404
1090
  },
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "initialOwner",
1094
+ "type": "address"
1095
+ }
1096
+ ],
1097
+ "name": "initializeService",
1098
+ "outputs": [],
1099
+ "stateMutability": "nonpayable",
1100
+ "type": "function"
1101
+ },
1102
+ {
1103
+ "inputs": [
405
1104
  {
406
1105
  "internalType": "address",
407
1106
  "name": "activatedBy",
@@ -413,25 +1112,19 @@
413
1112
  "type": "bytes"
414
1113
  }
415
1114
  ],
416
- "name": "initialize",
1115
+ "name": "initializeVersionable",
417
1116
  "outputs": [],
418
1117
  "stateMutability": "nonpayable",
419
1118
  "type": "function"
420
1119
  },
421
1120
  {
422
- "inputs": [
423
- {
424
- "internalType": "Version",
425
- "name": "_version",
426
- "type": "uint24"
427
- }
428
- ],
429
- "name": "isInitialized",
1121
+ "inputs": [],
1122
+ "name": "isConsumingScheduledOp",
430
1123
  "outputs": [
431
1124
  {
432
- "internalType": "bool",
1125
+ "internalType": "bytes4",
433
1126
  "name": "",
434
- "type": "bool"
1127
+ "type": "bytes4"
435
1128
  }
436
1129
  ],
437
1130
  "stateMutability": "view",
@@ -447,13 +1140,137 @@
447
1140
  {
448
1141
  "inputs": [
449
1142
  {
450
- "internalType": "address",
451
- "name": "distributionComponentAddress",
452
- "type": "address"
1143
+ "internalType": "NftId",
1144
+ "name": "distributionNftId",
1145
+ "type": "uint96"
1146
+ },
1147
+ {
1148
+ "internalType": "ReferralId",
1149
+ "name": "referralId",
1150
+ "type": "bytes8"
1151
+ },
1152
+ {
1153
+ "components": [
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "netPremiumAmount",
1157
+ "type": "uint256"
1158
+ },
1159
+ {
1160
+ "internalType": "uint256",
1161
+ "name": "fullPremiumAmount",
1162
+ "type": "uint256"
1163
+ },
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "premiumAmount",
1167
+ "type": "uint256"
1168
+ },
1169
+ {
1170
+ "internalType": "uint256",
1171
+ "name": "productFeeFixAmount",
1172
+ "type": "uint256"
1173
+ },
1174
+ {
1175
+ "internalType": "uint256",
1176
+ "name": "poolFeeFixAmount",
1177
+ "type": "uint256"
1178
+ },
1179
+ {
1180
+ "internalType": "uint256",
1181
+ "name": "bundleFeeFixAmount",
1182
+ "type": "uint256"
1183
+ },
1184
+ {
1185
+ "internalType": "uint256",
1186
+ "name": "distributionFeeFixAmount",
1187
+ "type": "uint256"
1188
+ },
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "productFeeVarAmount",
1192
+ "type": "uint256"
1193
+ },
1194
+ {
1195
+ "internalType": "uint256",
1196
+ "name": "poolFeeVarAmount",
1197
+ "type": "uint256"
1198
+ },
1199
+ {
1200
+ "internalType": "uint256",
1201
+ "name": "bundleFeeVarAmount",
1202
+ "type": "uint256"
1203
+ },
1204
+ {
1205
+ "internalType": "uint256",
1206
+ "name": "distributionFeeVarAmount",
1207
+ "type": "uint256"
1208
+ },
1209
+ {
1210
+ "internalType": "uint256",
1211
+ "name": "distributionOwnerFeeFixAmount",
1212
+ "type": "uint256"
1213
+ },
1214
+ {
1215
+ "internalType": "uint256",
1216
+ "name": "distributionOwnerFeeVarAmount",
1217
+ "type": "uint256"
1218
+ },
1219
+ {
1220
+ "internalType": "uint256",
1221
+ "name": "commissionAmount",
1222
+ "type": "uint256"
1223
+ },
1224
+ {
1225
+ "internalType": "uint256",
1226
+ "name": "discountAmount",
1227
+ "type": "uint256"
1228
+ }
1229
+ ],
1230
+ "internalType": "struct IPolicy.Premium",
1231
+ "name": "premium",
1232
+ "type": "tuple"
1233
+ },
1234
+ {
1235
+ "internalType": "uint256",
1236
+ "name": "transferredDistributionFeeAmount",
1237
+ "type": "uint256"
1238
+ }
1239
+ ],
1240
+ "name": "processSale",
1241
+ "outputs": [],
1242
+ "stateMutability": "nonpayable",
1243
+ "type": "function"
1244
+ },
1245
+ {
1246
+ "inputs": [
1247
+ {
1248
+ "internalType": "NftId",
1249
+ "name": "distributionNftId",
1250
+ "type": "uint96"
453
1251
  },
1252
+ {
1253
+ "internalType": "ReferralId",
1254
+ "name": "referralId",
1255
+ "type": "bytes8"
1256
+ }
1257
+ ],
1258
+ "name": "referralIsValid",
1259
+ "outputs": [
1260
+ {
1261
+ "internalType": "bool",
1262
+ "name": "isValid",
1263
+ "type": "bool"
1264
+ }
1265
+ ],
1266
+ "stateMutability": "view",
1267
+ "type": "function"
1268
+ },
1269
+ {
1270
+ "inputs": [
454
1271
  {
455
1272
  "internalType": "address",
456
- "name": "componentOwner",
1273
+ "name": "distributionAddress",
457
1274
  "type": "address"
458
1275
  }
459
1276
  ],
@@ -470,6 +1287,49 @@
470
1287
  },
471
1288
  {
472
1289
  "inputs": [
1290
+ {
1291
+ "internalType": "bytes4",
1292
+ "name": "interfaceId",
1293
+ "type": "bytes4"
1294
+ }
1295
+ ],
1296
+ "name": "registerInterface",
1297
+ "outputs": [],
1298
+ "stateMutability": "nonpayable",
1299
+ "type": "function"
1300
+ },
1301
+ {
1302
+ "inputs": [
1303
+ {
1304
+ "internalType": "address",
1305
+ "name": "newAuthority",
1306
+ "type": "address"
1307
+ }
1308
+ ],
1309
+ "name": "setAuthority",
1310
+ "outputs": [],
1311
+ "stateMutability": "nonpayable",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "inputs": [
1316
+ {
1317
+ "components": [
1318
+ {
1319
+ "internalType": "UFixed",
1320
+ "name": "fractionalFee",
1321
+ "type": "uint256"
1322
+ },
1323
+ {
1324
+ "internalType": "uint256",
1325
+ "name": "fixedFee",
1326
+ "type": "uint256"
1327
+ }
1328
+ ],
1329
+ "internalType": "struct Fee",
1330
+ "name": "minDistributionOwnerFee",
1331
+ "type": "tuple"
1332
+ },
473
1333
  {
474
1334
  "components": [
475
1335
  {
@@ -515,14 +1375,14 @@
515
1375
  {
516
1376
  "inputs": [
517
1377
  {
518
- "internalType": "address",
519
- "name": "implementation",
520
- "type": "address"
1378
+ "internalType": "NftId",
1379
+ "name": "distributorNftId",
1380
+ "type": "uint96"
521
1381
  },
522
1382
  {
523
- "internalType": "address",
524
- "name": "activatedBy",
525
- "type": "address"
1383
+ "internalType": "DistributorType",
1384
+ "name": "distributorType",
1385
+ "type": "bytes8"
526
1386
  },
527
1387
  {
528
1388
  "internalType": "bytes",
@@ -530,20 +1390,37 @@
530
1390
  "type": "bytes"
531
1391
  }
532
1392
  ],
533
- "name": "upgrade",
1393
+ "name": "updateDistributorType",
1394
+ "outputs": [],
1395
+ "stateMutability": "nonpayable",
1396
+ "type": "function"
1397
+ },
1398
+ {
1399
+ "inputs": [
1400
+ {
1401
+ "internalType": "bytes",
1402
+ "name": "data",
1403
+ "type": "bytes"
1404
+ }
1405
+ ],
1406
+ "name": "upgradeVersionable",
534
1407
  "outputs": [],
535
1408
  "stateMutability": "nonpayable",
536
1409
  "type": "function"
537
1410
  }
538
1411
  ],
539
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612639806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063644c45e0116100b8578063aa6773541161007c578063aa6773541461042b578063b3c650151461043e578063b88da7591461045e578063caf4e3d414610471578063cde749f414610479578063cf7a1d771461049357600080fd5b8063644c45e01461038b578063893d20e8146103b7578063946dfcfe146103bf578063a3f4df7e146103e6578063a745e3df1461041857600080fd5b80631eff4b22116100ff5780631eff4b22146101f25780633f52c0f6146102275780634d459c901461023a5780634f421333146103535780635ab1bd531461036657600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101b057806317d7de7c146101ba575b600080fd5b61016961014a366004611c86565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101866104a6565b60405162ffffff9091168152602001610175565b6101a2610530565b604051610175929190611d07565b6101b86106b6565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101759190611dae565b6102197f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b8610235366004611e51565b6108d8565b6102f6610248366004611e94565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206125e483398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b610169610361366004611e94565b610a3b565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610175565b610373610aee565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610219565b6101e560405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101b8610426366004611eed565b610c07565b61039f610439366004611f91565b610d61565b610446610f2d565b6040516001600160401b039091168152602001610175565b61018661046c366004611fca565b610f4e565b610373610f9f565b61048161105a565b60405160ff9091168152602001610175565b6101b86104a1366004611eed565b6110dd565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052b9190611fe3565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105b76001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105ff610aee565b6001600160a01b0316815260200182600101805461061c90612000565b80601f016020809104026020016040519081016040528092919081815260200182805461064890612000565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073c919061204f565b15610783576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107ac5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610819919061204f565b610841576040516372657a5160e01b81526001600160a01b038216600482015260240161077a565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561088b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108af9190612081565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108e560786111e6565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610929573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094d919061209c565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c791906120c4565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e390610a01908590859060ff906004016121ce565b600060405180830381600087803b158015610a1b57600080fd5b505af1158015610a2f573d6000803e3d6000fd5b50505050505050505050565b6000806000805160206125e483398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610ac3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae791906121fd565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b77919061204f565b15610bf757600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052b919061209c565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c296104a6565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8d9190612216565b6000805160206125c48339815191528054600160401b900460ff1680610cc0575080546001600160401b03808416911610155b15610cde5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d0985856114d7565b610d1283611776565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60008281610d6d610f9f565b604051638fbc2d8160e01b81526001600160a01b0384811660048301528681166024830152919250600091831690638fbc2d81906044016000604051808303816000875af1158015610dc3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610deb9190810190612353565b509050806000015193506000836001600160a01b0316638e7ff97e6040518163ffffffff1660e01b815260040160c060405180830381865afa158015610e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5991906120c4565b90506000846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebf919061209c565b604051630b24cf5f60e01b81529091506001600160a01b03821690630b24cf5f90610ef090899086906004016123b6565b600060405180830381600087803b158015610f0a57600080fd5b505af1158015610f1e573d6000803e3d6000fd5b50505050505050505092915050565b600061052b6000805160206125c4833981519152546001600160401b031690565b60006000805160206125e48339815191526001018281548110610f7357610f736123d3565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610fb46001546001600160a01b031690565b6001600160a01b031663a3bcd81d610fca61105a565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611030573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611054919061209c565b92915050565b60006110646104a6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110b9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052b91906123e9565b6000805160206125c48339815191528054600160401b810460ff1615906001600160401b03166000811580156111105750825b90506000826001600160401b0316600114801561112c5750303b155b90508115801561113a575080155b156111585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118257845460ff60401b1916600160401b1785555b61118c88886114d7565b611196878761177e565b83156111dc57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561126e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112929190612081565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611311919061204f565b61135d5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161077a565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156113b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113e09190810190612406565b92506113f683604001518560ff90811691161490565b6114385760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161077a565b600061144c6001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156114a1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114c99190810190612406565b608001519395939450505050565b6114df6118d4565b6000805160206125e4833981519152600061150f6000805160206125c4833981519152546001600160401b031690565b9050600061151b6104a6565b9050816001600160401b03166001036115485760028301805462ffffff191662ffffff8316179055611596565b600283015462ffffff908116908216116115965760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161077a565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561164a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166e919061243a565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d529083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101376118d4565b6000805160206125c48339815191528054600160401b810460ff1615906001600160401b03166000811580156117b15750825b90506000826001600160401b031660011480156117cd5750303b155b9050811580156117db575080155b156117f95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561182357845460ff60401b1916600160401b1785555b6000868060200190518101906118399190612461565b600380546001600160a01b039093166001600160a01b0319909316831790559150611864908261190d565b611874631b4612f160e31b61199e565b611884631fa9607b60e11b61199e565b5083156118cb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000805160206125c483398151915254600160401b900460ff1661190b57604051631afcd79f60e31b815260040160405180910390fd5b565b600061193f604080518082019091526013815272446973747269627574696f6e5365727669636560681b602082015290565b61194761105a565b604051602001611958929190612490565b60405160208183030381529060405290506000611974846119c3565b905060006119878583603c848888611a2e565b611997631b4612f160e31b61199e565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611a0a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110549190612081565b611a6f6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611a798287611afa565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611ae98382612504565b506118cb6303fb044760e21b61199e565b600280546001600160a01b0319166001600160a01b038416179055611b1e81611b22565b5050565b6001546001600160a01b031615611b5b5760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161077a565b6001600160a01b038116611b825760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611bb85760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611c32575060408051601f3d908101601f19168201909252611c2f9181019061204f565b60015b611c5a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077a565b80611b1e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161077a565b50565b600060208284031215611c9857600080fd5b81356001600160e01b031981168114611cb057600080fd5b9392505050565b60005b83811015611cd2578181015183820152602001611cba565b50506000910152565b60008151808452611cf3816020860160208601611cb7565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611d4b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611d91610120840182611cdb565b90508281036020840152611da58185611cdb565b95945050505050565b602081526000611cb06020830184611cdb565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611df957611df9611dc1565b60405290565b60405160e081016001600160401b0381118282101715611df957611df9611dc1565b604051601f8201601f191681016001600160401b0381118282101715611e4957611e49611dc1565b604052919050565b600060408284031215611e6357600080fd5b611e6b611dd7565b82358152602083013560208201528091505092915050565b62ffffff81168114611c8357600080fd5b600060208284031215611ea657600080fd5b8135611cb081611e83565b6001600160a01b0381168114611c8357600080fd5b60006001600160401b03821115611edf57611edf611dc1565b50601f01601f191660200190565b600080600060608486031215611f0257600080fd5b8335611f0d81611eb1565b92506020840135611f1d81611eb1565b915060408401356001600160401b03811115611f3857600080fd5b8401601f81018613611f4957600080fd5b8035611f5c611f5782611ec6565b611e21565b818152876020838501011115611f7157600080fd5b816020840160208301376000602083830101528093505050509250925092565b60008060408385031215611fa457600080fd5b8235611faf81611eb1565b91506020830135611fbf81611eb1565b809150509250929050565b600060208284031215611fdc57600080fd5b5035919050565b600060208284031215611ff557600080fd5b8151611cb081611e83565b600181811c9082168061201457607f821691505b60208210810361203457634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461204a57600080fd5b919050565b60006020828403121561206157600080fd5b611cb08261203a565b80516001600160601b038116811461204a57600080fd5b60006020828403121561209357600080fd5b611cb08261206a565b6000602082840312156120ae57600080fd5b8151611cb081611eb1565b805161204a81611eb1565b600081830360c08112156120d757600080fd5b60405160a081018181106001600160401b03821117156120f9576120f9611dc1565b6040526121058461206a565b8152602084015161211581611eb1565b60208201526040603f198301121561212c57600080fd5b612134611dd7565b915060408401518252606084015160208301528160408201526121596080850161203a565b606082015261216a60a085016120b9565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b038416815261010081016121ec6020830185612177565b60ff831660e0830152949350505050565b60006020828403121561220f57600080fd5b5051919050565b60006020828403121561222857600080fd5b81516001600160401b0381168114611cb057600080fd5b60ff81168114611c8357600080fd5b805161204a8161223f565b600082601f83011261226a57600080fd5b8151612278611f5782611ec6565b81815284602083860101111561228d57600080fd5b61229e826020830160208701611cb7565b949350505050565b600060e082840312156122b857600080fd5b6122c0611dff565b90506122cb8261206a565b81526122d96020830161206a565b60208201526122ea6040830161224e565b60408201526122fb6060830161203a565b606082015261230c608083016120b9565b608082015261231d60a083016120b9565b60a082015260c08201516001600160401b0381111561233b57600080fd5b61234784828501612259565b60c08301525092915050565b6000806040838503121561236657600080fd5b82516001600160401b038082111561237d57600080fd5b612389868387016122a6565b9350602085015191508082111561239f57600080fd5b506123ac85828601612259565b9150509250929050565b6001600160601b038316815260e08101611cb06020830184612177565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123fb57600080fd5b8151611cb08161223f565b60006020828403121561241857600080fd5b81516001600160401b0381111561242e57600080fd5b61229e848285016122a6565b60006020828403121561244c57600080fd5b815164ffffffffff81168114611cb057600080fd5b6000806040838503121561247457600080fd5b825161247f81611eb1565b6020840151909250611fbf81611eb1565b6040815260006124a36040830185611cdb565b905060ff831660208301529392505050565b601f8211156124ff57600081815260208120601f850160051c810160208610156124dc5750805b601f850160051c820191505b818110156124fb578281556001016124e8565b5050505b505050565b81516001600160401b0381111561251d5761251d611dc1565b6125318161252b8454612000565b846124b5565b602080601f831160018114612566576000841561254e5750858301515b600019600386901b1c1916600185901b1785556124fb565b600085815260208120601f198616915b8281101561259557888601518255948401946001909101908401612576565b50858210156125b35787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220184a454e0e28836de4b7d2a3aba126f114135ff870dad3352a64748f36c0664c64736f6c63430008140033",
540
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063644c45e0116100b8578063aa6773541161007c578063aa6773541461042b578063b3c650151461043e578063b88da7591461045e578063caf4e3d414610471578063cde749f414610479578063cf7a1d771461049357600080fd5b8063644c45e01461038b578063893d20e8146103b7578063946dfcfe146103bf578063a3f4df7e146103e6578063a745e3df1461041857600080fd5b80631eff4b22116100ff5780631eff4b22146101f25780633f52c0f6146102275780634d459c901461023a5780634f421333146103535780635ab1bd531461036657600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101b057806317d7de7c146101ba575b600080fd5b61016961014a366004611c86565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101866104a6565b60405162ffffff9091168152602001610175565b6101a2610530565b604051610175929190611d07565b6101b86106b6565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101759190611dae565b6102197f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b8610235366004611e51565b6108d8565b6102f6610248366004611e94565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206125e483398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b610169610361366004611e94565b610a3b565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610175565b610373610aee565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610219565b6101e560405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101b8610426366004611eed565b610c07565b61039f610439366004611f91565b610d61565b610446610f2d565b6040516001600160401b039091168152602001610175565b61018661046c366004611fca565b610f4e565b610373610f9f565b61048161105a565b60405160ff9091168152602001610175565b6101b86104a1366004611eed565b6110dd565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052b9190611fe3565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105b76001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105ff610aee565b6001600160a01b0316815260200182600101805461061c90612000565b80601f016020809104026020016040519081016040528092919081815260200182805461064890612000565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073c919061204f565b15610783576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107ac5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610819919061204f565b610841576040516372657a5160e01b81526001600160a01b038216600482015260240161077a565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561088b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108af9190612081565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108e560786111e6565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610929573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094d919061209c565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c791906120c4565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e390610a01908590859060ff906004016121ce565b600060405180830381600087803b158015610a1b57600080fd5b505af1158015610a2f573d6000803e3d6000fd5b50505050505050505050565b6000806000805160206125e483398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610ac3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae791906121fd565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b77919061204f565b15610bf757600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052b919061209c565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c296104a6565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8d9190612216565b6000805160206125c48339815191528054600160401b900460ff1680610cc0575080546001600160401b03808416911610155b15610cde5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d0985856114d7565b610d1283611776565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60008281610d6d610f9f565b604051638fbc2d8160e01b81526001600160a01b0384811660048301528681166024830152919250600091831690638fbc2d81906044016000604051808303816000875af1158015610dc3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610deb9190810190612353565b509050806000015193506000836001600160a01b0316638e7ff97e6040518163ffffffff1660e01b815260040160c060405180830381865afa158015610e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5991906120c4565b90506000846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebf919061209c565b604051630b24cf5f60e01b81529091506001600160a01b03821690630b24cf5f90610ef090899086906004016123b6565b600060405180830381600087803b158015610f0a57600080fd5b505af1158015610f1e573d6000803e3d6000fd5b50505050505050505092915050565b600061052b6000805160206125c4833981519152546001600160401b031690565b60006000805160206125e48339815191526001018281548110610f7357610f736123d3565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610fb46001546001600160a01b031690565b6001600160a01b031663a3bcd81d610fca61105a565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611030573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611054919061209c565b92915050565b60006110646104a6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110b9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052b91906123e9565b6000805160206125c48339815191528054600160401b810460ff1615906001600160401b03166000811580156111105750825b90506000826001600160401b0316600114801561112c5750303b155b90508115801561113a575080155b156111585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118257845460ff60401b1916600160401b1785555b61118c88886114d7565b611196878761177e565b83156111dc57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561126e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112929190612081565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611311919061204f565b61135d5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161077a565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156113b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113e09190810190612406565b92506113f683604001518560ff90811691161490565b6114385760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161077a565b600061144c6001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156114a1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114c99190810190612406565b608001519395939450505050565b6114df6118d4565b6000805160206125e4833981519152600061150f6000805160206125c4833981519152546001600160401b031690565b9050600061151b6104a6565b9050816001600160401b03166001036115485760028301805462ffffff191662ffffff8316179055611596565b600283015462ffffff908116908216116115965760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161077a565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561164a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166e919061243a565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d529083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101376118d4565b6000805160206125c48339815191528054600160401b810460ff1615906001600160401b03166000811580156117b15750825b90506000826001600160401b031660011480156117cd5750303b155b9050811580156117db575080155b156117f95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561182357845460ff60401b1916600160401b1785555b6000868060200190518101906118399190612461565b600380546001600160a01b039093166001600160a01b0319909316831790559150611864908261190d565b611874631b4612f160e31b61199e565b611884631fa9607b60e11b61199e565b5083156118cb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000805160206125c483398151915254600160401b900460ff1661190b57604051631afcd79f60e31b815260040160405180910390fd5b565b600061193f604080518082019091526013815272446973747269627574696f6e5365727669636560681b602082015290565b61194761105a565b604051602001611958929190612490565b60405160208183030381529060405290506000611974846119c3565b905060006119878583603c848888611a2e565b611997631b4612f160e31b61199e565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611a0a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110549190612081565b611a6f6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611a798287611afa565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611ae98382612504565b506118cb6303fb044760e21b61199e565b600280546001600160a01b0319166001600160a01b038416179055611b1e81611b22565b5050565b6001546001600160a01b031615611b5b5760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161077a565b6001600160a01b038116611b825760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611bb85760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611c32575060408051601f3d908101601f19168201909252611c2f9181019061204f565b60015b611c5a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077a565b80611b1e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161077a565b50565b600060208284031215611c9857600080fd5b81356001600160e01b031981168114611cb057600080fd5b9392505050565b60005b83811015611cd2578181015183820152602001611cba565b50506000910152565b60008151808452611cf3816020860160208601611cb7565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611d4b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611d91610120840182611cdb565b90508281036020840152611da58185611cdb565b95945050505050565b602081526000611cb06020830184611cdb565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611df957611df9611dc1565b60405290565b60405160e081016001600160401b0381118282101715611df957611df9611dc1565b604051601f8201601f191681016001600160401b0381118282101715611e4957611e49611dc1565b604052919050565b600060408284031215611e6357600080fd5b611e6b611dd7565b82358152602083013560208201528091505092915050565b62ffffff81168114611c8357600080fd5b600060208284031215611ea657600080fd5b8135611cb081611e83565b6001600160a01b0381168114611c8357600080fd5b60006001600160401b03821115611edf57611edf611dc1565b50601f01601f191660200190565b600080600060608486031215611f0257600080fd5b8335611f0d81611eb1565b92506020840135611f1d81611eb1565b915060408401356001600160401b03811115611f3857600080fd5b8401601f81018613611f4957600080fd5b8035611f5c611f5782611ec6565b611e21565b818152876020838501011115611f7157600080fd5b816020840160208301376000602083830101528093505050509250925092565b60008060408385031215611fa457600080fd5b8235611faf81611eb1565b91506020830135611fbf81611eb1565b809150509250929050565b600060208284031215611fdc57600080fd5b5035919050565b600060208284031215611ff557600080fd5b8151611cb081611e83565b600181811c9082168061201457607f821691505b60208210810361203457634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461204a57600080fd5b919050565b60006020828403121561206157600080fd5b611cb08261203a565b80516001600160601b038116811461204a57600080fd5b60006020828403121561209357600080fd5b611cb08261206a565b6000602082840312156120ae57600080fd5b8151611cb081611eb1565b805161204a81611eb1565b600081830360c08112156120d757600080fd5b60405160a081018181106001600160401b03821117156120f9576120f9611dc1565b6040526121058461206a565b8152602084015161211581611eb1565b60208201526040603f198301121561212c57600080fd5b612134611dd7565b915060408401518252606084015160208301528160408201526121596080850161203a565b606082015261216a60a085016120b9565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b038416815261010081016121ec6020830185612177565b60ff831660e0830152949350505050565b60006020828403121561220f57600080fd5b5051919050565b60006020828403121561222857600080fd5b81516001600160401b0381168114611cb057600080fd5b60ff81168114611c8357600080fd5b805161204a8161223f565b600082601f83011261226a57600080fd5b8151612278611f5782611ec6565b81815284602083860101111561228d57600080fd5b61229e826020830160208701611cb7565b949350505050565b600060e082840312156122b857600080fd5b6122c0611dff565b90506122cb8261206a565b81526122d96020830161206a565b60208201526122ea6040830161224e565b60408201526122fb6060830161203a565b606082015261230c608083016120b9565b608082015261231d60a083016120b9565b60a082015260c08201516001600160401b0381111561233b57600080fd5b61234784828501612259565b60c08301525092915050565b6000806040838503121561236657600080fd5b82516001600160401b038082111561237d57600080fd5b612389868387016122a6565b9350602085015191508082111561239f57600080fd5b506123ac85828601612259565b9150509250929050565b6001600160601b038316815260e08101611cb06020830184612177565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123fb57600080fd5b8151611cb08161223f565b60006020828403121561241857600080fd5b81516001600160401b0381111561242e57600080fd5b61229e848285016122a6565b60006020828403121561244c57600080fd5b815164ffffffffff81168114611cb057600080fd5b6000806040838503121561247457600080fd5b825161247f81611eb1565b6020840151909250611fbf81611eb1565b6040815260006124a36040830185611cdb565b905060ff831660208301529392505050565b601f8211156124ff57600081815260208120601f850160051c810160208610156124dc5750805b601f850160051c820191505b818110156124fb578281556001016124e8565b5050505b505050565b81516001600160401b0381111561251d5761251d611dc1565b6125318161252b8454612000565b846124b5565b602080601f831160018114612566576000841561254e5750858301515b600019600386901b1c1916600185901b1785556124fb565b600085815260208120601f198616915b8281101561259557888601518255948401946001909101908401612576565b50858210156125b35787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220184a454e0e28836de4b7d2a3aba126f114135ff870dad3352a64748f36c0664c64736f6c63430008140033",
1412
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615f9b80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c8063644c45e01161011a578063b6b412ba116100ad578063cde749f41161007c578063cde749f414610561578063d25f509514610569578063ea8665721461057c578063f21de1e81461043e578063f7c34ee01461058f57600080fd5b8063b6b412ba14610520578063bf7e214f14610533578063caf4e3d414610551578063cc9fc59a1461055957600080fd5b80638dd2b781116100e95780638dd2b781146104c25780638fb36037146104d5578063ada9652e146104f6578063b68d18091461050b57600080fd5b8063644c45e014610476578063675393bf146104945780637a9e5e4b146104a7578063893d20e8146104ba57600080fd5b806327bb7a331161019d5780633d683fd91161016c5780633d683fd9146103ed5780634420e4861461040057806349bb9e4b1461042b5780635ab1bd531461043e5780635dcb3bae1461046357600080fd5b806327bb7a331461039f5780632b5198b1146103b2578063329d6e74146103d257806336fc697e146103e557600080fd5b80631eff4b22116101d95780631eff4b2214610288578063214cdb80146102bd578063219a3195146102d057806325d073841461038c57600080fd5b806301ffc9a71461020b5780630d8e6e2c1461024d5780630fec111c14610269578063138461e01461027e575b600080fd5b610238610219366004614aba565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102556105a2565b60405162ffffff9091168152602001610244565b61027161062c565b6040516102449190614b34565b6102866107e0565b005b6102af7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610244565b6102866102cb366004614aba565b6109e7565b6102e36102de366004614da3565b610a14565b6040516102449190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b61023861039a366004614dec565b6112a1565b6102866103ad366004614ee4565b6115d4565b6103c56103c0366004614f8e565b611660565b604051610244919061505a565b6102866103e036600461506f565b611c1a565b610286611d67565b6102866103fb3660046150a3565b611dad565b61041361040e366004615104565b611f1a565b6040516001600160601b039091168152602001610244565b610286610439366004615121565b6123b6565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610244565b610413610471366004615170565b6124b5565b600080516020615f06833981519152546001600160601b0316610413565b6102866104a2366004615104565b612655565b6102866104b5366004615104565b612763565b61044b6127fd565b6103c56104d03660046151a3565b612934565b6104dd6131c3565b6040516001600160e01b03199091168152602001610244565b6102af600080516020615f0683398151915281565b60785b60405160ff9091168152602001610244565b61028661052e36600461526d565b6131fb565b600080516020615f26833981519152546001600160a01b031661044b565b61044b613481565b61044b613518565b61050e613542565b6102866105773660046152a2565b6135b9565b61028661058a3660046152f4565b613b0c565b61028661059d3660046152f4565b613bb4565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610603573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190615322565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106dc90615347565b80601f016020809104026020016040519081016040528092919081815260200182805461070890615347565b80156107555780601f1061072a57610100808354040283529160200191610755565b820191906000526020600020905b81548152906001019060200180831161073857829003601f168201915b50505050508152505090506040518060e00160405280610773600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107c46127fd565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615f0683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561084f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610873919061538c565b156108a45780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108b76001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610923919061538c565b61094b5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161089b565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561099f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c391906153b4565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109ef613c2b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a8d604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a9885613c64565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe91906153d1565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610b52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b769190615429565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610c109173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610bc8919060040190815260200190565b602060405180830381865af4158015610be5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0991906154ca565b8451613d8d565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8591906154ca565b61014089018190526020890180519192508291610ca39083906154f9565b905250610cb08a8a6112a1565b610ce25750505060c085015161016086015250505061014082015161018083015250602081015160408201528061129a565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610d11908d9060040161505a565b600060405180830381865afa158015610d2e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d569190810190615567565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610dac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dd49190810190615645565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610e07919060040161505a565b600060405180830381865afa158015610e24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4c91908101906156ee565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906154ca565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610f0c92600401918252602082015260400190565b602060405180830381865af4158015610f29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4d91906154ca565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc291906154ca565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e9161100b9160040190815260200190565b602060405180830381865af4158015611028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104c91906154ca565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261108f92600401918252602082015260400190565b602060405180830381865af41580156110ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d091906154ca565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611121573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114591906154ca565b6101c08d0181905260208701516101608e015261116282876157e5565b61116c91906157e5565b6101808d01526101c08c015160208d015161118791906157e5565b60408d015250505050602082015161016089015110156112005760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c40161089b565b876101a00151886101800151896101c0015161121c91906154f9565b61122691906154f9565b886101400151146112905760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c40161089b565b8796505050505050505b9392505050565b6000806112ad84613c64565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131391906153d1565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b815260040161133e919061505a565b600060405180830381865afa15801561135b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113839190810190615567565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156113e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611405919061538c565b15611415576000925050506115ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611471573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611495919061538c565b806115a7575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156114f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151b919061538c565b80156115a757506115a773__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561156e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159291906157f8565b8260a0015164ffffffffff9081169116111590565b92508280156115c95750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6115dc613c2b565b6115e68287613bb4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016116568382615864565b5050505050505050565b600080600061166d613da2565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d591906153d1565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015611725573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117499190615429565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af41580156117ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d191906154ca565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af4158015611835573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185991906154ca565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af41580156118b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d7919061538c565b156119e657604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561192c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195091906154ca565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156119a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c491906154ca565b60405163e2ed03dd60e01b81526004810192909252602482015260440161089b565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611a22929190615923565b602060405180830381865af4158015611a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a639190615945565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611aaa906001600160c01b031988169060040161505a565b602060405180830381865af4158015611ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aeb91906154ca565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611b33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b57919061538c565b611c0a5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611bd69085908590600401615962565b600060405180830381600087803b158015611bf057600080fd5b505af1158015611c04573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611c3c6105a2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190615a2e565b600080516020615f468339815191528054600160401b900460ff1680611cd3575080546001600160401b03808416911610155b15611cf15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611d1b83614026565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d6f613c2b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611db7613da2565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1e91906153d1565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e999190810190615645565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611ee0908990859060ff90600401615aa2565b600060405180830381600087803b158015611efa57600080fd5b505af1158015611f0e573d6000803e3d6000fd5b50505050505050505050565b600080808080611f33866078611f2e61402e565b6140a6565b93509350935093506000611f45613481565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f97573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fbf9190810190615ae2565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561200157600080fd5b505af1158015612015573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa15801561206f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120939190615429565b6040518363ffffffff1660e01b81526004016120b0929190615bec565b600060405180830381600087803b1580156120ca57600080fd5b505af11580156120de573d6000803e3d6000fd5b5060009250600291506120ee9050565b60405190808252806020026020018201604052801561212157816020015b606081526020019060019003908161210c5790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061215557612155615c0a565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061219457612194615c0a565b602002602001018190525063b6b412ba60e01b816000815181106121ba576121ba615c0a565b60200260200101516000815181106121d4576121d4615c0a565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b908290600190811061220b5761220b615c0a565b602002602001015160008151811061222557612225615c0a565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905061226961402e565b8160008151811061227c5761227c615c0a565b60200260200101906001600160401b031690816001600160401b0316815250506122a46144d7565b816001815181106122b7576122b7615c0a565b60200260200101906001600160401b031690816001600160401b0316815250506122df613518565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561232d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123559190810190615c20565b86866040518663ffffffff1660e01b8152600401612377959493929190615c98565b600060405180830381600087803b15801561239157600080fd5b505af11580156123a5573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f468339815191528054600160401b810460ff1615906001600160401b03166000811580156123e95750825b90506000826001600160401b031660011480156124055750303b155b905081158015612413575080155b156124315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561245b57845460ff60401b1916600160401b1785555b6124658787614513565b83156124ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008060006124c2613da2565b915091506124ce613481565b6001600160a01b03166357a8fba76040518060e001604052806124ef600090565b6001600160601b03168152602001856001600160601b03168152602001612514607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016125739190614b34565b6020604051808303816000875af1158015612592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b691906153b4565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906126199087908590600401615d6c565b600060405180830381600087803b15801561263357600080fd5b505af1158015612647573d6000803e3d6000fd5b505050505050509392505050565b61265d613c2b565b806001600160a01b03163b6000036126935760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801561270d575060408051601f3d908101601f1916820190925261270a9181019061538c565b60015b6127355760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089b565b8061275e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161089b565b505b50565b33612783600080516020615f26833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146127be5760405162d1953b60e31b81526001600160a01b038216600482015260240161089b565b816001600160a01b03163b6000036127f4576040516361798f2f60e11b81526001600160a01b038316600482015260240161089b565b61275e82614631565b600080600080516020615f0683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561286d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612891919061538c565b1561291e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291891906153d1565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612941613da2565b9150915087516000036129695787604051634fad6a5360e11b815260040161089b9190615d8e565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156129bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e3919061538c565b15612a0a5760405163df85467b60e01b815264ffffffffff8616600482015260240161089b565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6e91906153d1565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612ac1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae99190810190615645565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612b1e90859060040161505a565b600060405180830381865afa158015612b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b6391908101906156ee565b90508963ffffffff16816080015163ffffffff161015612ba4576080810151604051636fcee12560e01b815263ffffffff909116600482015260240161089b565b60208101518b1015612cc0576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2a91906154ca565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9e91906154ca565b6040516338a25a8b60e21b81526004810192909252602482015260440161089b565b60408101518b1115612ddc576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612d22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4691906154ca565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dba91906154ca565b604051631e1ea4f360e31b81526004810192909252602482015260440161089b565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e5491906157f8565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ecf91906154ca565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612f25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4991906154ca565b612f5391906157e5565b1115612fff5760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612fb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd891906154ca565b6040516331fa6ab160e11b815263ffffffff9092166004830152602482015260440161089b565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401613038929190615923565b602060405180830381865af4158015613055573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130799190615945565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401613121919061505a565b602060405180830381865af415801561313e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316291906154ca565b836040518363ffffffff1660e01b8152600401613180929190615e1d565b600060405180830381600087803b15801561319a57600080fd5b505af11580156131ae573d6000803e3d6000fd5b50505050505050505050509695505050505050565b600080516020615f26833981519152805460009190600160a01b900460ff166131ed576000612918565b638fb3603760e01b91505090565b815181511015613315578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613258573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061327c91906154ca565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156132cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132f391906154ca565b604051631a9c6b0960e01b81526004810192909252602482015260440161089b565b600080806133236078614692565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613369573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338d91906153d1565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa1580156133e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134059190615429565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613446908890859060ff90600401615e36565b600060405180830381600087803b15801561346057600080fd5b505af1158015613474573d6000803e3d6000fd5b5050505050505050505050565b6000806134966001546001600160a01b031690565b6001600160a01b031663d39e604360285b6134af613542565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156134f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ce91906153d1565b60008061352d6001546001600160a01b031690565b6001600160a01b031663d39e604360466134a7565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015613595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190615e66565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf906135fd906001600160c01b031988169060040161505a565b602060405180830381865af415801561361a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363e919061538c565b159050600061364d86866112a1565b905081801561365a575080155b1561369357604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b03198616602482015260440161089b565b600061369e87613c64565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061370491906153d1565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b8152600401613734919061505a565b600060405180830381865afa158015613751573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137799190810190615567565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156137cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137f79190810190615645565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561384b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061386f9190615429565b905060008961018001518a610160015161388991906154f9565b6101a08b015190915061389c81836154f9565b8a146138cf57896138ad82846154f9565b60405163b9d36bcd60e01b81526004810192909252602482015260440161089b565b811561394e57818360a0018181516138e791906154f9565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161391b93929190615e36565b600060405180830381600087803b15801561393557600080fd5b505af1158015613949573d6000803e3d6000fd5b505050505b8815613afd576001856080018181516139679190615e83565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016139ce919061505a565b602060405180830381865af41580156139eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a0f91906154ca565b8760ff6040518463ffffffff1660e01b8152600401613a3093929190615ea7565b600060405180830381600087803b158015613a4a57600080fd5b505af1158015613a5e573d6000803e3d6000fd5b505050506000811115613afd578084606001818151613a7d91906154f9565b90525060808401805160019190613a959083906154f9565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e3491613aca9190889060ff90600401615aa2565b600060405180830381600087803b158015613ae457600080fd5b505af1158015613af8573d6000803e3d6000fd5b505050505b50505050505050505050505050565b613b14613c2b565b613b9482836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b7a91906153b4565b603c600085604051806020016040528060008152506115d4565b613ba4634a531f3360e01b6109e7565b61275e637b6a51fd60e01b6109e7565b613bbc613c2b565b613bc581612655565b613bcd611d67565b6001600160a01b038216613bf45760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f0683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f4683398151915254600160401b900460ff16613c6257604051631afcd79f60e31b815260040160405180910390fd5b565b600080613c796001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613cc8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613cf09190810190615ae2565b6020015190506000613d0a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d59573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d819190810190615ae2565b60800151949350505050565b600061129a8383670de0b6b3a7640000614939565b600080613db76001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e2191906153b4565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613e7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ea0919061538c565b15613ec05760405163aec62dbb60e01b815233600482015260240161089b565b6000613ed46001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613f23573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f4b9190810190615ae2565b9050613f698160400151613f5d607890565b60ff9081169116141590565b15613f8957604051637ab07d8760e01b815233600482015260240161089b565b6000613f9d6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613ff2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261401a9190810190615ae2565b60800151939492505050565b610206613c2b565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015614082573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190615a2e565b6000338180806140be6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015614106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061412a91906153b4565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015614185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141a9919061538c565b156141e05760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161089b565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801561422e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614252919061538c565b61427a576040516359bff0e360e11b81526001600160a01b038916600482015260240161089b565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156142ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526142e29190810190615ae2565b90506142f981604001518960ff9081169116141590565b15614339576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161089b565b60a08101516001600160a01b038681169082161461438b5760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161089b565b8160200151935061439b84614a23565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156143dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061440191906153d1565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa15801561445c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614480919061538c565b9050806144c957604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b038916604482015260640161089b565b505050505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401614065565b600080516020615f468339815191528054600160401b810460ff1615906001600160401b03166000811580156145465750825b90506000826001600160401b031660011480156145625750303b155b905081158015614570575080155b1561458e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156145b857845460ff60401b1916600160401b1785555b600080878060200190518101906145cf9190615ec0565b925090506145dd818a613b0c565b6145ed63a6812b7960e01b6109e7565b505083156124ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016124a3565b600080516020615f2683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806146de6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614725573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261474d9190810190615ae2565b8051604082015190955090935060ff8681169116146147a45760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161089b565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156147fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526148229190810190615ae2565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561486b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061488f91906153d1565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa1580156148dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614900919061538c565b1561492f57608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161089b565b5050509193909250565b60008080600019858709858702925082811083820303915050806000036149735783828161496957614969615eef565b049250505061129a565b8084116149ba5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161089b565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b600080614a386001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a87573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614aaf9190810190615ae2565b608001519392505050565b600060208284031215614acc57600080fd5b81356001600160e01b03198116811461129a57600080fd5b60005b83811015614aff578181015183820152602001614ae7565b50506000910152565b60008151808452614b20816020860160208601614ae4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b9d60c08401826001600160a01b03169052565b5060c083015160e080840152614bb7610100840182614b08565b949350505050565b6001600160601b038116811461276057600080fd5b6001600160c01b03198116811461276057600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614c2357614c23614bea565b60405290565b604080519081016001600160401b0381118282101715614c2357614c23614bea565b60405160e081016001600160401b0381118282101715614c2357614c23614bea565b60405160a081016001600160401b0381118282101715614c2357614c23614bea565b60405161012081016001600160401b0381118282101715614c2357614c23614bea565b604051601f8201601f191681016001600160401b0381118282101715614cda57614cda614bea565b604052919050565b60006101e08284031215614cf557600080fd5b614cfd614c00565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614db957600080fd5b8335614dc481614bbf565b92506020840135614dd481614bd4565b9150614de38560408601614ce2565b90509250925092565b60008060408385031215614dff57600080fd5b8235614e0a81614bbf565b91506020830135614e1a81614bd4565b809150509250929050565b6001600160a01b038116811461276057600080fd5b60ff8116811461276057600080fd5b801515811461276057600080fd5b8035614e6281614e49565b919050565b60006001600160401b03821115614e8057614e80614bea565b50601f01601f191660200190565b600082601f830112614e9f57600080fd5b8135614eb2614ead82614e67565b614cb2565b818152846020838601011115614ec757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614efd57600080fd5b8635614f0881614e25565b95506020870135614f1881614bbf565b94506040870135614f2881614e3a565b93506060870135614f3881614e49565b92506080870135614f4881614e25565b915060a08701356001600160401b03811115614f6357600080fd5b614f6f89828a01614e8e565b9150509295509295509295565b63ffffffff8116811461276057600080fd5b60008060008060008060008060006101208a8c031215614fad57600080fd5b89356001600160401b0380821115614fc457600080fd5b614fd08d838e01614e8e565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614ff782614f7c565b90955060a08b01359061500982614f7c565b81955061501860c08d01614e57565b945061502660e08d01614e57565b93506101008c013591508082111561503d57600080fd5b5061504a8c828d01614e8e565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561508157600080fd5b81356001600160401b0381111561509757600080fd5b614bb784828501614e8e565b6000806000606084860312156150b857600080fd5b83356150c381614bbf565b925060208401356150d381614bd4565b915060408401356001600160401b038111156150ee57600080fd5b6150fa86828701614e8e565b9150509250925092565b60006020828403121561511657600080fd5b813561129a81614e25565b6000806040838503121561513457600080fd5b823561513f81614e25565b915060208301356001600160401b0381111561515a57600080fd5b61516685828601614e8e565b9150509250929050565b60008060006060848603121561518557600080fd5b83356150c381614e25565b64ffffffffff8116811461276057600080fd5b60008060008060008060c087890312156151bc57600080fd5b86356151c781614bbf565b955060208701356001600160401b03808211156151e357600080fd5b6151ef8a838b01614e8e565b9650604089013595506060890135915061520882614f7c565b90935060808801359061521a82615190565b90925060a0880135908082111561523057600080fd5b50614f6f89828a01614e8e565b60006040828403121561524f57600080fd5b615257614c29565b9050813581526020820135602082015292915050565b6000806080838503121561528057600080fd5b61528a848461523d565b9150615299846040850161523d565b90509250929050565b60008060008061024085870312156152b957600080fd5b84356152c481614bbf565b935060208501356152d481614bd4565b92506152e38660408701614ce2565b939692955092936102200135925050565b6000806040838503121561530757600080fd5b823561531281614e25565b91506020830135614e1a81614e25565b60006020828403121561533457600080fd5b815162ffffff8116811461129a57600080fd5b600181811c9082168061535b57607f821691505b60208210810361537b57634e487b7160e01b600052602260045260246000fd5b50919050565b8051614e6281614e49565b60006020828403121561539e57600080fd5b815161129a81614e49565b8051614e6281614bbf565b6000602082840312156153c657600080fd5b815161129a81614bbf565b6000602082840312156153e357600080fd5b815161129a81614e25565b60006040828403121561540057600080fd5b615408614c29565b9050815181526020820151602082015292915050565b8051614e6281614e25565b6000610100828403121561543c57600080fd5b60405160c081018181106001600160401b038211171561545e5761545e614bea565b604052825161546c81614bbf565b8152602083015161547c81614e25565b602082015261548e84604085016153ee565b60408201526154a084608085016153ee565b606082015260c08301516154b381614e25565b608082015260e0929092015160a083015250919050565b6000602082840312156154dc57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115ce576115ce6154e3565b600082601f83011261551d57600080fd5b815161552b614ead82614e67565b81815284602083860101111561554057600080fd5b614bb7826020830160208701614ae4565b8051614e6281614f7c565b8051614e6281615190565b60006020828403121561557957600080fd5b81516001600160401b038082111561559057600080fd5b9083019060e082860312156155a457600080fd5b6155ac614c4b565b6155b5836153a9565b81526020830151828111156155c957600080fd5b6155d58782860161550c565b602083015250604083015160408201526155f160608401615551565b606082015261560260808401615551565b608082015261561360a0840161555c565b60a082015260c08301518281111561562a57600080fd5b6156368782860161550c565b60c08301525095945050505050565b60006020828403121561565757600080fd5b81516001600160401b038082111561566e57600080fd5b9083019060a0828603121561568257600080fd5b61568a614c6d565b825161569581614bd4565b815260208301516156a581614e49565b60208201526040830151828111156156bc57600080fd5b6156c88782860161550c565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561570057600080fd5b81516001600160401b038082111561571757600080fd5b90830190610120828603121561572c57600080fd5b615734614c8f565b82518281111561574357600080fd5b61574f8782860161550c565b82525060208301516020820152604083015160408201526060830151606082015261577c60808401615551565b608082015261578d60a08401615551565b60a082015261579e60c08401615381565b60c08201526157af60e08401615381565b60e082015261010080840151838111156157c857600080fd5b6157d48882870161550c565b918301919091525095945050505050565b818103818111156115ce576115ce6154e3565b60006020828403121561580a57600080fd5b815161129a81615190565b601f82111561585f57600081815260208120601f850160051c8101602086101561583c5750805b601f850160051c820191505b8181101561585b57828155600101615848565b5050505b505050565b81516001600160401b0381111561587d5761587d614bea565b6158918161588b8454615347565b84615815565b602080601f8311600181146158c657600084156158ae5750858301515b600019600386901b1c1916600185901b17855561585b565b600085815260208120601f198616915b828110156158f5578886015182559484019460019091019084016158d6565b50858210156159135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614bb76040830184614b08565b60006020828403121561595757600080fd5b815161129a81614bd4565b8281526040602082015260008251610120806040850152615987610160850183614b08565b91506020850151606085015260408501516080850152606085015160a085015260808501516159be60c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006159e68187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152615a0f8282614b08565b9695505050505050565b6001600160401b038116811461276057600080fd5b600060208284031215615a4057600080fd5b815161129a81615a19565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615a8260a0850182614b08565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b0384168152606060208201526000615ac46060830185615a4b565b905060ff83166040830152949350505050565b8051614e6281614e3a565b600060208284031215615af457600080fd5b81516001600160401b0380821115615b0b57600080fd5b9083019060e08286031215615b1f57600080fd5b615b27614c4b565b615b30836153a9565b8152615b3e602084016153a9565b6020820152615b4f60408401615ad7565b6040820152615b6060608401615381565b6060820152615b716080840161541e565b608082015261561360a0840161541e565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b0383168152610120810161129a6020830184615b82565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615c3257600080fd5b81516001600160401b03811115615c4857600080fd5b614bb78482850161550c565b600081518084526020808501945080840160005b83811015615c8d5781516001600160401b031687529582019590820190600101615c68565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615cc960a0840187614b08565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615d4757868403601f19018652825180518086529089019089860190845b81811015615d325783516001600160e01b0319168352928b0192918b0191600101615d0c565b50509689019694505091870191600101615cea565b5050508681036080880152615d5c8189615c54565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614bb76040830184615a4b565b60208152600061129a6020830184614b08565b6001600160601b0381511682526000602082015160e06020850152615dc960e0850182614b08565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526115c98282614b08565b828152604060208201526000614bb76040830184615da1565b6001600160601b03841681526101408101615e546020830185615b82565b60ff8316610120830152949350505050565b600060208284031215615e7857600080fd5b815161129a81614e3a565b63ffffffff818116838216019080821115615ea057615ea06154e3565b5092915050565b838152606060208201526000615ac46060830185615da1565b60008060408385031215615ed357600080fd5b8251615ede81614e25565b6020840151909250614e1a81614e25565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212205485d0c0a813c01b611d5e9810e5005a0228bc1902ea6b8f90720ace3a625acd64736f6c63430008140033",
1413
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102065760003560e01c8063644c45e01161011a578063b6b412ba116100ad578063cde749f41161007c578063cde749f414610561578063d25f509514610569578063ea8665721461057c578063f21de1e81461043e578063f7c34ee01461058f57600080fd5b8063b6b412ba14610520578063bf7e214f14610533578063caf4e3d414610551578063cc9fc59a1461055957600080fd5b80638dd2b781116100e95780638dd2b781146104c25780638fb36037146104d5578063ada9652e146104f6578063b68d18091461050b57600080fd5b8063644c45e014610476578063675393bf146104945780637a9e5e4b146104a7578063893d20e8146104ba57600080fd5b806327bb7a331161019d5780633d683fd91161016c5780633d683fd9146103ed5780634420e4861461040057806349bb9e4b1461042b5780635ab1bd531461043e5780635dcb3bae1461046357600080fd5b806327bb7a331461039f5780632b5198b1146103b2578063329d6e74146103d257806336fc697e146103e557600080fd5b80631eff4b22116101d95780631eff4b2214610288578063214cdb80146102bd578063219a3195146102d057806325d073841461038c57600080fd5b806301ffc9a71461020b5780630d8e6e2c1461024d5780630fec111c14610269578063138461e01461027e575b600080fd5b610238610219366004614aba565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102556105a2565b60405162ffffff9091168152602001610244565b61027161062c565b6040516102449190614b34565b6102866107e0565b005b6102af7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610244565b6102866102cb366004614aba565b6109e7565b6102e36102de366004614da3565b610a14565b6040516102449190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b61023861039a366004614dec565b6112a1565b6102866103ad366004614ee4565b6115d4565b6103c56103c0366004614f8e565b611660565b604051610244919061505a565b6102866103e036600461506f565b611c1a565b610286611d67565b6102866103fb3660046150a3565b611dad565b61041361040e366004615104565b611f1a565b6040516001600160601b039091168152602001610244565b610286610439366004615121565b6123b6565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610244565b610413610471366004615170565b6124b5565b600080516020615f06833981519152546001600160601b0316610413565b6102866104a2366004615104565b612655565b6102866104b5366004615104565b612763565b61044b6127fd565b6103c56104d03660046151a3565b612934565b6104dd6131c3565b6040516001600160e01b03199091168152602001610244565b6102af600080516020615f0683398151915281565b60785b60405160ff9091168152602001610244565b61028661052e36600461526d565b6131fb565b600080516020615f26833981519152546001600160a01b031661044b565b61044b613481565b61044b613518565b61050e613542565b6102866105773660046152a2565b6135b9565b61028661058a3660046152f4565b613b0c565b61028661059d3660046152f4565b613bb4565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610603573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190615322565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106dc90615347565b80601f016020809104026020016040519081016040528092919081815260200182805461070890615347565b80156107555780601f1061072a57610100808354040283529160200191610755565b820191906000526020600020905b81548152906001019060200180831161073857829003601f168201915b50505050508152505090506040518060e00160405280610773600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107c46127fd565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615f0683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561084f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610873919061538c565b156108a45780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108b76001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610923919061538c565b61094b5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161089b565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561099f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c391906153b4565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109ef613c2b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a8d604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a9885613c64565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe91906153d1565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610b52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b769190615429565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610c109173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610bc8919060040190815260200190565b602060405180830381865af4158015610be5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0991906154ca565b8451613d8d565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8591906154ca565b61014089018190526020890180519192508291610ca39083906154f9565b905250610cb08a8a6112a1565b610ce25750505060c085015161016086015250505061014082015161018083015250602081015160408201528061129a565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610d11908d9060040161505a565b600060405180830381865afa158015610d2e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d569190810190615567565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610dac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dd49190810190615645565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610e07919060040161505a565b600060405180830381865afa158015610e24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4c91908101906156ee565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906154ca565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610f0c92600401918252602082015260400190565b602060405180830381865af4158015610f29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4d91906154ca565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc291906154ca565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e9161100b9160040190815260200190565b602060405180830381865af4158015611028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104c91906154ca565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261108f92600401918252602082015260400190565b602060405180830381865af41580156110ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d091906154ca565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611121573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114591906154ca565b6101c08d0181905260208701516101608e015261116282876157e5565b61116c91906157e5565b6101808d01526101c08c015160208d015161118791906157e5565b60408d015250505050602082015161016089015110156112005760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c40161089b565b876101a00151886101800151896101c0015161121c91906154f9565b61122691906154f9565b886101400151146112905760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c40161089b565b8796505050505050505b9392505050565b6000806112ad84613c64565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131391906153d1565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b815260040161133e919061505a565b600060405180830381865afa15801561135b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113839190810190615567565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156113e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611405919061538c565b15611415576000925050506115ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611471573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611495919061538c565b806115a7575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156114f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151b919061538c565b80156115a757506115a773__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561156e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159291906157f8565b8260a0015164ffffffffff9081169116111590565b92508280156115c95750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6115dc613c2b565b6115e68287613bb4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016116568382615864565b5050505050505050565b600080600061166d613da2565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d591906153d1565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015611725573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117499190615429565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af41580156117ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d191906154ca565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af4158015611835573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185991906154ca565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af41580156118b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d7919061538c565b156119e657604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561192c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195091906154ca565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156119a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c491906154ca565b60405163e2ed03dd60e01b81526004810192909252602482015260440161089b565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611a22929190615923565b602060405180830381865af4158015611a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a639190615945565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611aaa906001600160c01b031988169060040161505a565b602060405180830381865af4158015611ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aeb91906154ca565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611b33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b57919061538c565b611c0a5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611bd69085908590600401615962565b600060405180830381600087803b158015611bf057600080fd5b505af1158015611c04573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611c3c6105a2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190615a2e565b600080516020615f468339815191528054600160401b900460ff1680611cd3575080546001600160401b03808416911610155b15611cf15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611d1b83614026565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d6f613c2b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611db7613da2565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1e91906153d1565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e999190810190615645565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611ee0908990859060ff90600401615aa2565b600060405180830381600087803b158015611efa57600080fd5b505af1158015611f0e573d6000803e3d6000fd5b50505050505050505050565b600080808080611f33866078611f2e61402e565b6140a6565b93509350935093506000611f45613481565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f97573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fbf9190810190615ae2565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561200157600080fd5b505af1158015612015573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa15801561206f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120939190615429565b6040518363ffffffff1660e01b81526004016120b0929190615bec565b600060405180830381600087803b1580156120ca57600080fd5b505af11580156120de573d6000803e3d6000fd5b5060009250600291506120ee9050565b60405190808252806020026020018201604052801561212157816020015b606081526020019060019003908161210c5790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061215557612155615c0a565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061219457612194615c0a565b602002602001018190525063b6b412ba60e01b816000815181106121ba576121ba615c0a565b60200260200101516000815181106121d4576121d4615c0a565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b908290600190811061220b5761220b615c0a565b602002602001015160008151811061222557612225615c0a565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905061226961402e565b8160008151811061227c5761227c615c0a565b60200260200101906001600160401b031690816001600160401b0316815250506122a46144d7565b816001815181106122b7576122b7615c0a565b60200260200101906001600160401b031690816001600160401b0316815250506122df613518565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561232d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123559190810190615c20565b86866040518663ffffffff1660e01b8152600401612377959493929190615c98565b600060405180830381600087803b15801561239157600080fd5b505af11580156123a5573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f468339815191528054600160401b810460ff1615906001600160401b03166000811580156123e95750825b90506000826001600160401b031660011480156124055750303b155b905081158015612413575080155b156124315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561245b57845460ff60401b1916600160401b1785555b6124658787614513565b83156124ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008060006124c2613da2565b915091506124ce613481565b6001600160a01b03166357a8fba76040518060e001604052806124ef600090565b6001600160601b03168152602001856001600160601b03168152602001612514607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016125739190614b34565b6020604051808303816000875af1158015612592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b691906153b4565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906126199087908590600401615d6c565b600060405180830381600087803b15801561263357600080fd5b505af1158015612647573d6000803e3d6000fd5b505050505050509392505050565b61265d613c2b565b806001600160a01b03163b6000036126935760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801561270d575060408051601f3d908101601f1916820190925261270a9181019061538c565b60015b6127355760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089b565b8061275e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161089b565b505b50565b33612783600080516020615f26833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146127be5760405162d1953b60e31b81526001600160a01b038216600482015260240161089b565b816001600160a01b03163b6000036127f4576040516361798f2f60e11b81526001600160a01b038316600482015260240161089b565b61275e82614631565b600080600080516020615f0683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561286d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612891919061538c565b1561291e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291891906153d1565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612941613da2565b9150915087516000036129695787604051634fad6a5360e11b815260040161089b9190615d8e565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156129bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e3919061538c565b15612a0a5760405163df85467b60e01b815264ffffffffff8616600482015260240161089b565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6e91906153d1565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612ac1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae99190810190615645565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612b1e90859060040161505a565b600060405180830381865afa158015612b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b6391908101906156ee565b90508963ffffffff16816080015163ffffffff161015612ba4576080810151604051636fcee12560e01b815263ffffffff909116600482015260240161089b565b60208101518b1015612cc0576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2a91906154ca565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9e91906154ca565b6040516338a25a8b60e21b81526004810192909252602482015260440161089b565b60408101518b1115612ddc576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612d22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4691906154ca565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dba91906154ca565b604051631e1ea4f360e31b81526004810192909252602482015260440161089b565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e5491906157f8565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ecf91906154ca565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612f25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4991906154ca565b612f5391906157e5565b1115612fff5760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612fb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd891906154ca565b6040516331fa6ab160e11b815263ffffffff9092166004830152602482015260440161089b565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401613038929190615923565b602060405180830381865af4158015613055573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130799190615945565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401613121919061505a565b602060405180830381865af415801561313e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316291906154ca565b836040518363ffffffff1660e01b8152600401613180929190615e1d565b600060405180830381600087803b15801561319a57600080fd5b505af11580156131ae573d6000803e3d6000fd5b50505050505050505050509695505050505050565b600080516020615f26833981519152805460009190600160a01b900460ff166131ed576000612918565b638fb3603760e01b91505090565b815181511015613315578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613258573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061327c91906154ca565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156132cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132f391906154ca565b604051631a9c6b0960e01b81526004810192909252602482015260440161089b565b600080806133236078614692565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613369573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338d91906153d1565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa1580156133e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134059190615429565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613446908890859060ff90600401615e36565b600060405180830381600087803b15801561346057600080fd5b505af1158015613474573d6000803e3d6000fd5b5050505050505050505050565b6000806134966001546001600160a01b031690565b6001600160a01b031663d39e604360285b6134af613542565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156134f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ce91906153d1565b60008061352d6001546001600160a01b031690565b6001600160a01b031663d39e604360466134a7565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015613595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190615e66565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf906135fd906001600160c01b031988169060040161505a565b602060405180830381865af415801561361a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363e919061538c565b159050600061364d86866112a1565b905081801561365a575080155b1561369357604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b03198616602482015260440161089b565b600061369e87613c64565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061370491906153d1565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b8152600401613734919061505a565b600060405180830381865afa158015613751573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137799190810190615567565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156137cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137f79190810190615645565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561384b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061386f9190615429565b905060008961018001518a610160015161388991906154f9565b6101a08b015190915061389c81836154f9565b8a146138cf57896138ad82846154f9565b60405163b9d36bcd60e01b81526004810192909252602482015260440161089b565b811561394e57818360a0018181516138e791906154f9565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161391b93929190615e36565b600060405180830381600087803b15801561393557600080fd5b505af1158015613949573d6000803e3d6000fd5b505050505b8815613afd576001856080018181516139679190615e83565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016139ce919061505a565b602060405180830381865af41580156139eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a0f91906154ca565b8760ff6040518463ffffffff1660e01b8152600401613a3093929190615ea7565b600060405180830381600087803b158015613a4a57600080fd5b505af1158015613a5e573d6000803e3d6000fd5b505050506000811115613afd578084606001818151613a7d91906154f9565b90525060808401805160019190613a959083906154f9565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e3491613aca9190889060ff90600401615aa2565b600060405180830381600087803b158015613ae457600080fd5b505af1158015613af8573d6000803e3d6000fd5b505050505b50505050505050505050505050565b613b14613c2b565b613b9482836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b7a91906153b4565b603c600085604051806020016040528060008152506115d4565b613ba4634a531f3360e01b6109e7565b61275e637b6a51fd60e01b6109e7565b613bbc613c2b565b613bc581612655565b613bcd611d67565b6001600160a01b038216613bf45760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f0683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f4683398151915254600160401b900460ff16613c6257604051631afcd79f60e31b815260040160405180910390fd5b565b600080613c796001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613cc8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613cf09190810190615ae2565b6020015190506000613d0a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d59573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d819190810190615ae2565b60800151949350505050565b600061129a8383670de0b6b3a7640000614939565b600080613db76001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e2191906153b4565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613e7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ea0919061538c565b15613ec05760405163aec62dbb60e01b815233600482015260240161089b565b6000613ed46001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613f23573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f4b9190810190615ae2565b9050613f698160400151613f5d607890565b60ff9081169116141590565b15613f8957604051637ab07d8760e01b815233600482015260240161089b565b6000613f9d6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613ff2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261401a9190810190615ae2565b60800151939492505050565b610206613c2b565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015614082573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190615a2e565b6000338180806140be6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015614106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061412a91906153b4565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015614185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141a9919061538c565b156141e05760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161089b565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801561422e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614252919061538c565b61427a576040516359bff0e360e11b81526001600160a01b038916600482015260240161089b565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156142ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526142e29190810190615ae2565b90506142f981604001518960ff9081169116141590565b15614339576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161089b565b60a08101516001600160a01b038681169082161461438b5760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161089b565b8160200151935061439b84614a23565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156143dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061440191906153d1565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa15801561445c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614480919061538c565b9050806144c957604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b038916604482015260640161089b565b505050505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401614065565b600080516020615f468339815191528054600160401b810460ff1615906001600160401b03166000811580156145465750825b90506000826001600160401b031660011480156145625750303b155b905081158015614570575080155b1561458e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156145b857845460ff60401b1916600160401b1785555b600080878060200190518101906145cf9190615ec0565b925090506145dd818a613b0c565b6145ed63a6812b7960e01b6109e7565b505083156124ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016124a3565b600080516020615f2683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806146de6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614725573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261474d9190810190615ae2565b8051604082015190955090935060ff8681169116146147a45760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161089b565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156147fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526148229190810190615ae2565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561486b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061488f91906153d1565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa1580156148dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614900919061538c565b1561492f57608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161089b565b5050509193909250565b60008080600019858709858702925082811083820303915050806000036149735783828161496957614969615eef565b049250505061129a565b8084116149ba5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161089b565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b600080614a386001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a87573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614aaf9190810190615ae2565b608001519392505050565b600060208284031215614acc57600080fd5b81356001600160e01b03198116811461129a57600080fd5b60005b83811015614aff578181015183820152602001614ae7565b50506000910152565b60008151808452614b20816020860160208601614ae4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b9d60c08401826001600160a01b03169052565b5060c083015160e080840152614bb7610100840182614b08565b949350505050565b6001600160601b038116811461276057600080fd5b6001600160c01b03198116811461276057600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614c2357614c23614bea565b60405290565b604080519081016001600160401b0381118282101715614c2357614c23614bea565b60405160e081016001600160401b0381118282101715614c2357614c23614bea565b60405160a081016001600160401b0381118282101715614c2357614c23614bea565b60405161012081016001600160401b0381118282101715614c2357614c23614bea565b604051601f8201601f191681016001600160401b0381118282101715614cda57614cda614bea565b604052919050565b60006101e08284031215614cf557600080fd5b614cfd614c00565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614db957600080fd5b8335614dc481614bbf565b92506020840135614dd481614bd4565b9150614de38560408601614ce2565b90509250925092565b60008060408385031215614dff57600080fd5b8235614e0a81614bbf565b91506020830135614e1a81614bd4565b809150509250929050565b6001600160a01b038116811461276057600080fd5b60ff8116811461276057600080fd5b801515811461276057600080fd5b8035614e6281614e49565b919050565b60006001600160401b03821115614e8057614e80614bea565b50601f01601f191660200190565b600082601f830112614e9f57600080fd5b8135614eb2614ead82614e67565b614cb2565b818152846020838601011115614ec757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614efd57600080fd5b8635614f0881614e25565b95506020870135614f1881614bbf565b94506040870135614f2881614e3a565b93506060870135614f3881614e49565b92506080870135614f4881614e25565b915060a08701356001600160401b03811115614f6357600080fd5b614f6f89828a01614e8e565b9150509295509295509295565b63ffffffff8116811461276057600080fd5b60008060008060008060008060006101208a8c031215614fad57600080fd5b89356001600160401b0380821115614fc457600080fd5b614fd08d838e01614e8e565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614ff782614f7c565b90955060a08b01359061500982614f7c565b81955061501860c08d01614e57565b945061502660e08d01614e57565b93506101008c013591508082111561503d57600080fd5b5061504a8c828d01614e8e565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561508157600080fd5b81356001600160401b0381111561509757600080fd5b614bb784828501614e8e565b6000806000606084860312156150b857600080fd5b83356150c381614bbf565b925060208401356150d381614bd4565b915060408401356001600160401b038111156150ee57600080fd5b6150fa86828701614e8e565b9150509250925092565b60006020828403121561511657600080fd5b813561129a81614e25565b6000806040838503121561513457600080fd5b823561513f81614e25565b915060208301356001600160401b0381111561515a57600080fd5b61516685828601614e8e565b9150509250929050565b60008060006060848603121561518557600080fd5b83356150c381614e25565b64ffffffffff8116811461276057600080fd5b60008060008060008060c087890312156151bc57600080fd5b86356151c781614bbf565b955060208701356001600160401b03808211156151e357600080fd5b6151ef8a838b01614e8e565b9650604089013595506060890135915061520882614f7c565b90935060808801359061521a82615190565b90925060a0880135908082111561523057600080fd5b50614f6f89828a01614e8e565b60006040828403121561524f57600080fd5b615257614c29565b9050813581526020820135602082015292915050565b6000806080838503121561528057600080fd5b61528a848461523d565b9150615299846040850161523d565b90509250929050565b60008060008061024085870312156152b957600080fd5b84356152c481614bbf565b935060208501356152d481614bd4565b92506152e38660408701614ce2565b939692955092936102200135925050565b6000806040838503121561530757600080fd5b823561531281614e25565b91506020830135614e1a81614e25565b60006020828403121561533457600080fd5b815162ffffff8116811461129a57600080fd5b600181811c9082168061535b57607f821691505b60208210810361537b57634e487b7160e01b600052602260045260246000fd5b50919050565b8051614e6281614e49565b60006020828403121561539e57600080fd5b815161129a81614e49565b8051614e6281614bbf565b6000602082840312156153c657600080fd5b815161129a81614bbf565b6000602082840312156153e357600080fd5b815161129a81614e25565b60006040828403121561540057600080fd5b615408614c29565b9050815181526020820151602082015292915050565b8051614e6281614e25565b6000610100828403121561543c57600080fd5b60405160c081018181106001600160401b038211171561545e5761545e614bea565b604052825161546c81614bbf565b8152602083015161547c81614e25565b602082015261548e84604085016153ee565b60408201526154a084608085016153ee565b606082015260c08301516154b381614e25565b608082015260e0929092015160a083015250919050565b6000602082840312156154dc57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115ce576115ce6154e3565b600082601f83011261551d57600080fd5b815161552b614ead82614e67565b81815284602083860101111561554057600080fd5b614bb7826020830160208701614ae4565b8051614e6281614f7c565b8051614e6281615190565b60006020828403121561557957600080fd5b81516001600160401b038082111561559057600080fd5b9083019060e082860312156155a457600080fd5b6155ac614c4b565b6155b5836153a9565b81526020830151828111156155c957600080fd5b6155d58782860161550c565b602083015250604083015160408201526155f160608401615551565b606082015261560260808401615551565b608082015261561360a0840161555c565b60a082015260c08301518281111561562a57600080fd5b6156368782860161550c565b60c08301525095945050505050565b60006020828403121561565757600080fd5b81516001600160401b038082111561566e57600080fd5b9083019060a0828603121561568257600080fd5b61568a614c6d565b825161569581614bd4565b815260208301516156a581614e49565b60208201526040830151828111156156bc57600080fd5b6156c88782860161550c565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561570057600080fd5b81516001600160401b038082111561571757600080fd5b90830190610120828603121561572c57600080fd5b615734614c8f565b82518281111561574357600080fd5b61574f8782860161550c565b82525060208301516020820152604083015160408201526060830151606082015261577c60808401615551565b608082015261578d60a08401615551565b60a082015261579e60c08401615381565b60c08201526157af60e08401615381565b60e082015261010080840151838111156157c857600080fd5b6157d48882870161550c565b918301919091525095945050505050565b818103818111156115ce576115ce6154e3565b60006020828403121561580a57600080fd5b815161129a81615190565b601f82111561585f57600081815260208120601f850160051c8101602086101561583c5750805b601f850160051c820191505b8181101561585b57828155600101615848565b5050505b505050565b81516001600160401b0381111561587d5761587d614bea565b6158918161588b8454615347565b84615815565b602080601f8311600181146158c657600084156158ae5750858301515b600019600386901b1c1916600185901b17855561585b565b600085815260208120601f198616915b828110156158f5578886015182559484019460019091019084016158d6565b50858210156159135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614bb76040830184614b08565b60006020828403121561595757600080fd5b815161129a81614bd4565b8281526040602082015260008251610120806040850152615987610160850183614b08565b91506020850151606085015260408501516080850152606085015160a085015260808501516159be60c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006159e68187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152615a0f8282614b08565b9695505050505050565b6001600160401b038116811461276057600080fd5b600060208284031215615a4057600080fd5b815161129a81615a19565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615a8260a0850182614b08565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b0384168152606060208201526000615ac46060830185615a4b565b905060ff83166040830152949350505050565b8051614e6281614e3a565b600060208284031215615af457600080fd5b81516001600160401b0380821115615b0b57600080fd5b9083019060e08286031215615b1f57600080fd5b615b27614c4b565b615b30836153a9565b8152615b3e602084016153a9565b6020820152615b4f60408401615ad7565b6040820152615b6060608401615381565b6060820152615b716080840161541e565b608082015261561360a0840161541e565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b0383168152610120810161129a6020830184615b82565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615c3257600080fd5b81516001600160401b03811115615c4857600080fd5b614bb78482850161550c565b600081518084526020808501945080840160005b83811015615c8d5781516001600160401b031687529582019590820190600101615c68565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615cc960a0840187614b08565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615d4757868403601f19018652825180518086529089019089860190845b81811015615d325783516001600160e01b0319168352928b0192918b0191600101615d0c565b50509689019694505091870191600101615cea565b5050508681036080880152615d5c8189615c54565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614bb76040830184615a4b565b60208152600061129a6020830184614b08565b6001600160601b0381511682526000602082015160e06020850152615dc960e0850182614b08565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526115c98282614b08565b828152604060208201526000614bb76040830184615da1565b6001600160601b03841681526101408101615e546020830185615b82565b60ff8316610120830152949350505050565b600060208284031215615e7857600080fd5b815161129a81614e3a565b63ffffffff818116838216019080821115615ea057615ea06154e3565b5092915050565b838152606060208201526000615ac46060830185615da1565b60008060408385031215615ed357600080fd5b8251615ede81614e25565b6020840151909250614e1a81614e25565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212205485d0c0a813c01b611d5e9810e5005a0228bc1902ea6b8f90720ace3a625acd64736f6c63430008140033",
541
1414
  "linkReferences": {
542
- "contracts/types/Blocknumber.sol": {
543
- "BlocknumberLib": [
1415
+ "contracts/types/DistributorType.sol": {
1416
+ "DistributorTypeLib": [
544
1417
  {
545
1418
  "length": 20,
546
- "start": 3011
1419
+ "start": 6865
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 7006
547
1424
  }
548
1425
  ]
549
1426
  },
@@ -551,15 +1428,55 @@
551
1428
  "NftIdLib": [
552
1429
  {
553
1430
  "length": 20,
554
- "start": 2072
1431
+ "start": 2299
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 5261
1436
+ },
1437
+ {
1438
+ "length": 20,
1439
+ "start": 10521
1440
+ },
1441
+ {
1442
+ "length": 20,
1443
+ "start": 16168
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 16945
1448
+ }
1449
+ ]
1450
+ },
1451
+ "contracts/types/Referral.sol": {
1452
+ "ReferralLib": [
1453
+ {
1454
+ "length": 20,
1455
+ "start": 12519
555
1456
  },
556
1457
  {
557
1458
  "length": 20,
558
- "start": 3155
1459
+ "start": 12753
559
1460
  },
560
1461
  {
561
1462
  "length": 20,
562
- "start": 5101
1463
+ "start": 14001
1464
+ },
1465
+ {
1466
+ "length": 20,
1467
+ "start": 14974
1468
+ }
1469
+ ]
1470
+ },
1471
+ "contracts/types/RoleId.sol": {
1472
+ "RoleIdLib": [
1473
+ {
1474
+ "length": 20,
1475
+ "start": 16685
1476
+ },
1477
+ {
1478
+ "length": 20,
1479
+ "start": 17879
563
1480
  }
564
1481
  ]
565
1482
  },
@@ -567,7 +1484,115 @@
567
1484
  "TimestampLib": [
568
1485
  {
569
1486
  "length": 20,
570
- "start": 5962
1487
+ "start": 5405
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 5539
1492
+ },
1493
+ {
1494
+ "length": 20,
1495
+ "start": 5645
1496
+ },
1497
+ {
1498
+ "length": 20,
1499
+ "start": 10859
1500
+ },
1501
+ {
1502
+ "length": 20,
1503
+ "start": 11983
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 12119
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 12241
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 12384
1516
+ }
1517
+ ]
1518
+ },
1519
+ "contracts/types/UFixed.sol": {
1520
+ "UFixedLib": [
1521
+ {
1522
+ "length": 20,
1523
+ "start": 3203
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 3341
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 3921
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 4035
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 4170
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 4295
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 4422
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 4557
1552
+ },
1553
+ {
1554
+ "length": 20,
1555
+ "start": 6233
1556
+ },
1557
+ {
1558
+ "length": 20,
1559
+ "start": 6369
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 6495
1564
+ },
1565
+ {
1566
+ "length": 20,
1567
+ "start": 6616
1568
+ },
1569
+ {
1570
+ "length": 20,
1571
+ "start": 6732
1572
+ },
1573
+ {
1574
+ "length": 20,
1575
+ "start": 11442
1576
+ },
1577
+ {
1578
+ "length": 20,
1579
+ "start": 11558
1580
+ },
1581
+ {
1582
+ "length": 20,
1583
+ "start": 11726
1584
+ },
1585
+ {
1586
+ "length": 20,
1587
+ "start": 11842
1588
+ },
1589
+ {
1590
+ "length": 20,
1591
+ "start": 13060
1592
+ },
1593
+ {
1594
+ "length": 20,
1595
+ "start": 13179
571
1596
  }
572
1597
  ]
573
1598
  },
@@ -575,25 +1600,31 @@
575
1600
  "VersionLib": [
576
1601
  {
577
1602
  "length": 20,
578
- "start": 1543
1603
+ "start": 1711
579
1604
  },
580
1605
  {
581
1606
  "length": 20,
582
- "start": 3395
583
- },
1607
+ "start": 7426
1608
+ }
1609
+ ],
1610
+ "VersionPartLib": [
584
1611
  {
585
1612
  "length": 20,
586
- "start": 4537
1613
+ "start": 13889
587
1614
  }
588
1615
  ]
589
1616
  }
590
1617
  },
591
1618
  "deployedLinkReferences": {
592
- "contracts/types/Blocknumber.sol": {
593
- "BlocknumberLib": [
1619
+ "contracts/types/DistributorType.sol": {
1620
+ "DistributorTypeLib": [
1621
+ {
1622
+ "length": 20,
1623
+ "start": 6635
1624
+ },
594
1625
  {
595
1626
  "length": 20,
596
- "start": 2697
1627
+ "start": 6776
597
1628
  }
598
1629
  ]
599
1630
  },
@@ -601,15 +1632,55 @@
601
1632
  "NftIdLib": [
602
1633
  {
603
1634
  "length": 20,
604
- "start": 1758
1635
+ "start": 2069
1636
+ },
1637
+ {
1638
+ "length": 20,
1639
+ "start": 5031
1640
+ },
1641
+ {
1642
+ "length": 20,
1643
+ "start": 10291
1644
+ },
1645
+ {
1646
+ "length": 20,
1647
+ "start": 15938
1648
+ },
1649
+ {
1650
+ "length": 20,
1651
+ "start": 16715
1652
+ }
1653
+ ]
1654
+ },
1655
+ "contracts/types/Referral.sol": {
1656
+ "ReferralLib": [
1657
+ {
1658
+ "length": 20,
1659
+ "start": 12289
1660
+ },
1661
+ {
1662
+ "length": 20,
1663
+ "start": 12523
1664
+ },
1665
+ {
1666
+ "length": 20,
1667
+ "start": 13771
605
1668
  },
606
1669
  {
607
1670
  "length": 20,
608
- "start": 2841
1671
+ "start": 14744
1672
+ }
1673
+ ]
1674
+ },
1675
+ "contracts/types/RoleId.sol": {
1676
+ "RoleIdLib": [
1677
+ {
1678
+ "length": 20,
1679
+ "start": 16455
609
1680
  },
610
1681
  {
611
1682
  "length": 20,
612
- "start": 4787
1683
+ "start": 17649
613
1684
  }
614
1685
  ]
615
1686
  },
@@ -617,7 +1688,115 @@
617
1688
  "TimestampLib": [
618
1689
  {
619
1690
  "length": 20,
620
- "start": 5648
1691
+ "start": 5175
1692
+ },
1693
+ {
1694
+ "length": 20,
1695
+ "start": 5309
1696
+ },
1697
+ {
1698
+ "length": 20,
1699
+ "start": 5415
1700
+ },
1701
+ {
1702
+ "length": 20,
1703
+ "start": 10629
1704
+ },
1705
+ {
1706
+ "length": 20,
1707
+ "start": 11753
1708
+ },
1709
+ {
1710
+ "length": 20,
1711
+ "start": 11889
1712
+ },
1713
+ {
1714
+ "length": 20,
1715
+ "start": 12011
1716
+ },
1717
+ {
1718
+ "length": 20,
1719
+ "start": 12154
1720
+ }
1721
+ ]
1722
+ },
1723
+ "contracts/types/UFixed.sol": {
1724
+ "UFixedLib": [
1725
+ {
1726
+ "length": 20,
1727
+ "start": 2973
1728
+ },
1729
+ {
1730
+ "length": 20,
1731
+ "start": 3111
1732
+ },
1733
+ {
1734
+ "length": 20,
1735
+ "start": 3691
1736
+ },
1737
+ {
1738
+ "length": 20,
1739
+ "start": 3805
1740
+ },
1741
+ {
1742
+ "length": 20,
1743
+ "start": 3940
1744
+ },
1745
+ {
1746
+ "length": 20,
1747
+ "start": 4065
1748
+ },
1749
+ {
1750
+ "length": 20,
1751
+ "start": 4192
1752
+ },
1753
+ {
1754
+ "length": 20,
1755
+ "start": 4327
1756
+ },
1757
+ {
1758
+ "length": 20,
1759
+ "start": 6003
1760
+ },
1761
+ {
1762
+ "length": 20,
1763
+ "start": 6139
1764
+ },
1765
+ {
1766
+ "length": 20,
1767
+ "start": 6265
1768
+ },
1769
+ {
1770
+ "length": 20,
1771
+ "start": 6386
1772
+ },
1773
+ {
1774
+ "length": 20,
1775
+ "start": 6502
1776
+ },
1777
+ {
1778
+ "length": 20,
1779
+ "start": 11212
1780
+ },
1781
+ {
1782
+ "length": 20,
1783
+ "start": 11328
1784
+ },
1785
+ {
1786
+ "length": 20,
1787
+ "start": 11496
1788
+ },
1789
+ {
1790
+ "length": 20,
1791
+ "start": 11612
1792
+ },
1793
+ {
1794
+ "length": 20,
1795
+ "start": 12830
1796
+ },
1797
+ {
1798
+ "length": 20,
1799
+ "start": 12949
621
1800
  }
622
1801
  ]
623
1802
  },
@@ -625,15 +1804,17 @@
625
1804
  "VersionLib": [
626
1805
  {
627
1806
  "length": 20,
628
- "start": 1229
1807
+ "start": 1481
629
1808
  },
630
1809
  {
631
1810
  "length": 20,
632
- "start": 3081
633
- },
1811
+ "start": 7196
1812
+ }
1813
+ ],
1814
+ "VersionPartLib": [
634
1815
  {
635
1816
  "length": 20,
636
- "start": 4223
1817
+ "start": 13659
637
1818
  }
638
1819
  ]
639
1820
  }