@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e26c262-698

Sign up to get free protection for your applications and to get access to all the features.
Files changed (454) hide show
  1. package/README.md +232 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +954 -192
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +192 -168
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +719 -27
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +773 -127
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +556 -33
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +906 -266
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +702 -159
  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/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1415 -1008
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +567 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2129 -1194
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1311 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1279 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1033 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +701 -0
  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/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +203 -195
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +67 -245
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → IComponents.sol/IComponents.json} +2 -2
  55. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  57. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  59. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  61. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  62. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  63. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  64. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  65. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  67. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  69. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  71. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  73. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  75. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  77. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1341 -239
  79. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  81. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  83. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  85. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  87. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  89. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IPolicyService.sol/IPolicyService.json} +263 -191
  91. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +84 -217
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +314 -243
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
  103. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +242 -533
  105. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +234 -216
  113. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  115. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  117. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  119. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +229 -297
  121. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +312 -132
  123. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  125. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  127. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  130. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  132. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
  134. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  136. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  137. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  138. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  139. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +59 -44
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  150. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  152. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  153. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/Service.sol/Service.json} +155 -151
  154. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  158. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  160. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  162. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  164. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  166. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -211
  168. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  171. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
  173. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  175. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  177. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  180. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  182. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  184. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  186. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  188. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  189. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  190. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  192. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  194. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  196. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  198. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  200. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  202. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  204. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  206. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  208. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  210. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  212. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  214. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  216. package/contracts/components/Component.sol +251 -0
  217. package/contracts/components/Distribution.sol +204 -79
  218. package/contracts/components/IComponent.sol +74 -0
  219. package/contracts/components/IDistributionComponent.sol +43 -18
  220. package/contracts/components/IPoolComponent.sol +88 -39
  221. package/contracts/components/IProductComponent.sol +12 -9
  222. package/contracts/components/Pool.sol +216 -163
  223. package/contracts/components/Product.sol +133 -139
  224. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  225. package/contracts/instance/BundleManager.sol +127 -0
  226. package/contracts/instance/Cloneable.sol +51 -0
  227. package/contracts/instance/IInstance.sol +85 -39
  228. package/contracts/instance/IInstanceService.sol +72 -0
  229. package/contracts/instance/Instance.sol +310 -66
  230. package/contracts/instance/InstanceAccessManager.sol +522 -0
  231. package/contracts/instance/InstanceReader.sol +290 -0
  232. package/contracts/instance/InstanceService.sol +495 -0
  233. package/contracts/instance/InstanceServiceManager.sol +54 -0
  234. package/contracts/instance/ObjectManager.sol +82 -0
  235. package/contracts/instance/base/ComponentService.sol +134 -0
  236. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  237. package/contracts/instance/base/ILifecycle.sol +3 -3
  238. package/contracts/instance/base/KeyValueStore.sol +52 -38
  239. package/contracts/instance/base/Lifecycle.sol +12 -3
  240. package/contracts/instance/module/IAccess.sol +54 -0
  241. package/contracts/instance/module/IBundle.sol +21 -0
  242. package/contracts/instance/module/IComponents.sol +35 -0
  243. package/contracts/instance/module/IDistribution.sol +41 -0
  244. package/contracts/instance/module/IPolicy.sol +72 -0
  245. package/contracts/instance/module/IRisk.sol +11 -0
  246. package/contracts/instance/module/ISetup.sol +33 -0
  247. package/contracts/instance/module/ITreasury.sol +23 -0
  248. package/contracts/instance/service/ApplicationService.sol +350 -0
  249. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  250. package/contracts/instance/service/BundleService.sol +336 -0
  251. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  252. package/contracts/instance/service/ClaimService.sol +151 -0
  253. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  254. package/contracts/instance/service/DistributionService.sol +435 -22
  255. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  256. package/contracts/instance/service/IApplicationService.sol +82 -0
  257. package/contracts/instance/service/IBundleService.sol +62 -0
  258. package/contracts/instance/service/IClaimService.sol +61 -0
  259. package/contracts/instance/service/IDistributionService.sol +87 -1
  260. package/contracts/instance/service/IPolicyService.sol +72 -0
  261. package/contracts/instance/service/IPoolService.sol +22 -24
  262. package/contracts/instance/service/IProductService.sol +9 -76
  263. package/contracts/instance/service/PolicyService.sol +403 -0
  264. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  265. package/contracts/instance/service/PoolService.sol +181 -110
  266. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  267. package/contracts/instance/service/ProductService.sol +163 -432
  268. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  269. package/contracts/registry/ChainNft.sol +47 -24
  270. package/contracts/registry/IRegistry.sol +52 -8
  271. package/contracts/registry/IRegistryService.sol +52 -20
  272. package/contracts/registry/ITransferInterceptor.sol +1 -0
  273. package/contracts/registry/Registry.sol +277 -236
  274. package/contracts/registry/RegistryAccessManager.sol +216 -0
  275. package/contracts/registry/RegistryService.sol +113 -271
  276. package/contracts/registry/RegistryServiceManager.sol +24 -25
  277. package/contracts/registry/ReleaseManager.sol +322 -0
  278. package/contracts/registry/TokenRegistry.sol +116 -0
  279. package/contracts/shared/ERC165.sol +14 -8
  280. package/contracts/shared/INftOwnable.sol +11 -10
  281. package/contracts/shared/IPolicyHolder.sol +26 -0
  282. package/contracts/shared/IRegisterable.sol +4 -6
  283. package/contracts/shared/IRegistryLinked.sol +12 -0
  284. package/contracts/shared/IService.sol +18 -0
  285. package/contracts/shared/IVersionable.sol +4 -47
  286. package/contracts/shared/NftOwnable.sol +67 -83
  287. package/contracts/shared/PolicyHolder.sol +81 -0
  288. package/contracts/shared/ProxyManager.sol +100 -25
  289. package/contracts/shared/Registerable.sol +16 -31
  290. package/contracts/shared/RegistryLinked.sol +48 -0
  291. package/contracts/shared/Service.sol +58 -0
  292. package/contracts/shared/TokenHandler.sol +33 -0
  293. package/contracts/shared/Versionable.sol +4 -92
  294. package/contracts/test/TestRegisterable.sol +1 -1
  295. package/contracts/test/TestRoleId.sol +1 -1
  296. package/contracts/test/TestService.sol +6 -7
  297. package/contracts/types/Blocknumber.sol +1 -0
  298. package/contracts/types/ClaimId.sol +52 -0
  299. package/contracts/types/DistributorType.sol +55 -0
  300. package/contracts/types/Fee.sol +1 -0
  301. package/contracts/types/Key32.sol +8 -3
  302. package/contracts/types/NftId.sol +8 -0
  303. package/contracts/types/NftIdSet.sol +26 -24
  304. package/contracts/types/NumberId.sol +52 -0
  305. package/contracts/types/ObjectType.sol +40 -14
  306. package/contracts/types/PayoutId.sol +54 -0
  307. package/contracts/types/Referral.sol +89 -0
  308. package/contracts/types/RoleId.sol +67 -15
  309. package/contracts/types/Seconds.sol +54 -0
  310. package/contracts/types/StateId.sol +6 -1
  311. package/contracts/types/Timestamp.sol +17 -13
  312. package/contracts/types/UFixed.sol +1 -0
  313. package/contracts/types/Version.sol +5 -1
  314. package/package.json +3 -3
  315. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  316. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
  317. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  320. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  322. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  326. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  328. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  330. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  332. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  334. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  337. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  339. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  341. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  343. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  345. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  347. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  349. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  351. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  352. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  353. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  354. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  355. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  356. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  357. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  358. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  359. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  362. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  365. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  367. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  369. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  372. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  373. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  375. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  376. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  378. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  379. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  380. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  381. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  383. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  385. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  388. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  389. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  390. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  393. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  394. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  395. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  397. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  398. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  399. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  400. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  401. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  402. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  403. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  404. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  405. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  406. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  407. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  408. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  409. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  410. package/contracts/components/BaseComponent.sol +0 -79
  411. package/contracts/components/IBaseComponent.sol +0 -19
  412. package/contracts/experiment/errors/Require.sol +0 -38
  413. package/contracts/experiment/errors/Revert.sol +0 -44
  414. package/contracts/experiment/inheritance/A.sol +0 -53
  415. package/contracts/experiment/inheritance/B.sol +0 -28
  416. package/contracts/experiment/inheritance/C.sol +0 -34
  417. package/contracts/experiment/inheritance/IA.sol +0 -13
  418. package/contracts/experiment/inheritance/IB.sol +0 -10
  419. package/contracts/experiment/inheritance/IC.sol +0 -12
  420. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  421. package/contracts/experiment/statemachine/ISM.sol +0 -25
  422. package/contracts/experiment/statemachine/SM.sol +0 -57
  423. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  424. package/contracts/experiment/types/TypeA.sol +0 -47
  425. package/contracts/experiment/types/TypeB.sol +0 -29
  426. package/contracts/instance/IInstanceLinked.sol +0 -8
  427. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  428. package/contracts/instance/base/IInstanceBase.sol +0 -23
  429. package/contracts/instance/base/IService.sol +0 -15
  430. package/contracts/instance/base/InstanceBase.sol +0 -89
  431. package/contracts/instance/base/ModuleBase.sol +0 -57
  432. package/contracts/instance/base/ServiceBase.sol +0 -44
  433. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  434. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  435. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  436. package/contracts/instance/module/component/IComponent.sol +0 -28
  437. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  438. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  439. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  440. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  441. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  442. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  443. package/contracts/instance/module/risk/IRisk.sol +0 -26
  444. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  445. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  446. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  447. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  448. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  449. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  450. package/contracts/registry/IChainNft.sol +0 -22
  451. package/contracts/test/TestDistribution.sol +0 -22
  452. package/contracts/test/TestPool.sol +0 -27
  453. package/contracts/test/TestProduct.sol +0 -74
  454. package/contracts/types/ReferralId.sol +0 -48
@@ -7,274 +7,864 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "component",
11
11
  "type": "address"
12
12
  },
13
13
  {
14
14
  "internalType": "NftId",
15
- "name": "registryNftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
16
38
  "type": "uint96"
17
39
  },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
18
45
  {
19
46
  "internalType": "address",
20
- "name": "initialOwner",
47
+ "name": "sender",
21
48
  "type": "address"
22
49
  }
23
50
  ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
52
+ "type": "error"
26
53
  },
27
54
  {
28
55
  "inputs": [
29
56
  {
30
57
  "internalType": "address",
31
- "name": "registry",
58
+ "name": "component",
32
59
  "type": "address"
33
60
  },
34
61
  {
35
- "internalType": "NftId",
36
- "name": "nftId",
37
- "type": "uint96"
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
38
70
  }
39
71
  ],
40
- "name": "ErrorAlreadyLinked",
72
+ "name": "ErrorComponentServiceInvalidType",
41
73
  "type": "error"
42
74
  },
43
75
  {
44
76
  "inputs": [
45
77
  {
46
78
  "internalType": "address",
47
- "name": "contractAddress",
79
+ "name": "component",
48
80
  "type": "address"
49
81
  }
50
82
  ],
51
- "name": "ErrorContractNotRegistered",
83
+ "name": "ErrorComponentServiceNotComponent",
52
84
  "type": "error"
53
85
  },
54
86
  {
55
87
  "inputs": [
56
88
  {
57
89
  "internalType": "address",
58
- "name": "account",
90
+ "name": "component",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "initialOwner",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "sender",
59
101
  "type": "address"
60
102
  }
61
103
  ],
62
- "name": "ErrorNotOwner",
104
+ "name": "ErrorComponentServiceSenderNotOwner",
63
105
  "type": "error"
64
106
  },
65
107
  {
66
108
  "inputs": [
67
109
  {
68
110
  "internalType": "address",
69
- "name": "registryAddress",
111
+ "name": "target",
70
112
  "type": "address"
71
113
  }
72
114
  ],
73
- "name": "ErrorNotRegistry",
115
+ "name": "ErrorIAccessTargetLocked",
74
116
  "type": "error"
75
117
  },
76
118
  {
77
119
  "inputs": [
78
120
  {
79
121
  "internalType": "address",
80
- "name": "registryAddress",
122
+ "name": "caller",
81
123
  "type": "address"
82
124
  }
83
125
  ],
84
- "name": "ErrorRegisterableNotRegistry",
126
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
85
127
  "type": "error"
86
128
  },
87
129
  {
88
- "inputs": [],
89
- "name": "ErrorRegistryAddressZero",
130
+ "inputs": [
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "commissionPercentage",
134
+ "type": "uint256"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "maxCommissionPercentage",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
90
143
  "type": "error"
91
144
  },
92
145
  {
93
146
  "inputs": [
94
147
  {
95
- "internalType": "address",
96
- "name": "registry",
97
- "type": "address"
148
+ "internalType": "uint256",
149
+ "name": "maxDiscountPercentage",
150
+ "type": "uint256"
151
+ },
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "discountPercentage",
155
+ "type": "uint256"
98
156
  }
99
157
  ],
100
- "name": "ErrorRegistryAlreadyInitialized",
158
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
101
159
  "type": "error"
102
160
  },
103
161
  {
104
- "inputs": [],
105
- "name": "ErrorRegistryNotInitialized",
162
+ "inputs": [
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "minDiscountPercentage",
166
+ "type": "uint256"
167
+ },
168
+ {
169
+ "internalType": "uint256",
170
+ "name": "discountPercentage",
171
+ "type": "uint256"
172
+ }
173
+ ],
174
+ "name": "ErrorIDistributionServiceDiscountTooLow",
106
175
  "type": "error"
107
176
  },
108
177
  {
109
- "inputs": [],
110
- "name": "InvalidInitialization",
178
+ "inputs": [
179
+ {
180
+ "internalType": "Timestamp",
181
+ "name": "expiryAt",
182
+ "type": "uint40"
183
+ }
184
+ ],
185
+ "name": "ErrorIDistributionServiceExpirationInvalid",
111
186
  "type": "error"
112
187
  },
113
188
  {
114
- "inputs": [],
115
- "name": "NotInitializing",
189
+ "inputs": [
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "maxReferralLifetime",
193
+ "type": "uint256"
194
+ },
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "expiryAt",
198
+ "type": "uint256"
199
+ }
200
+ ],
201
+ "name": "ErrorIDistributionServiceExpiryTooLong",
116
202
  "type": "error"
117
203
  },
118
204
  {
119
- "anonymous": false,
120
205
  "inputs": [
121
206
  {
122
- "indexed": false,
123
- "internalType": "uint64",
124
- "name": "version",
125
- "type": "uint64"
207
+ "internalType": "uint256",
208
+ "name": "distributionFeeFixAmount",
209
+ "type": "uint256"
210
+ },
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "distributionFeeVarAmount",
214
+ "type": "uint256"
215
+ },
216
+ {
217
+ "internalType": "uint256",
218
+ "name": "distributionOwnerFeeFixAmount",
219
+ "type": "uint256"
220
+ },
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "distributionOwnerFeeVarAmount",
224
+ "type": "uint256"
225
+ },
226
+ {
227
+ "internalType": "uint256",
228
+ "name": "commissionAmount",
229
+ "type": "uint256"
230
+ },
231
+ {
232
+ "internalType": "uint256",
233
+ "name": "discountAmount",
234
+ "type": "uint256"
126
235
  }
127
236
  ],
128
- "name": "Initialized",
129
- "type": "event"
237
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
238
+ "type": "error"
130
239
  },
131
240
  {
132
- "anonymous": false,
133
241
  "inputs": [
134
242
  {
135
- "indexed": false,
136
- "internalType": "Version",
137
- "name": "version",
138
- "type": "uint24"
139
- },
140
- {
141
- "indexed": false,
142
- "internalType": "address",
143
- "name": "implementation",
144
- "type": "address"
243
+ "internalType": "uint256",
244
+ "name": "transferredDistributionFeeAmount",
245
+ "type": "uint256"
145
246
  },
146
247
  {
147
- "indexed": false,
148
- "internalType": "address",
149
- "name": "activatedBy",
150
- "type": "address"
248
+ "internalType": "uint256",
249
+ "name": "expectedDistributionFeeAmount",
250
+ "type": "uint256"
151
251
  }
152
252
  ],
153
- "name": "LogVersionableInitialized",
154
- "type": "event"
253
+ "name": "ErrorIDistributionServiceInvalidFeeTransferred",
254
+ "type": "error"
155
255
  },
156
256
  {
157
- "inputs": [],
158
- "name": "NAME",
159
- "outputs": [
257
+ "inputs": [
160
258
  {
161
259
  "internalType": "string",
162
- "name": "",
260
+ "name": "code",
163
261
  "type": "string"
164
262
  }
165
263
  ],
166
- "stateMutability": "view",
167
- "type": "function"
264
+ "name": "ErrorIDistributionServiceInvalidReferral",
265
+ "type": "error"
168
266
  },
169
267
  {
170
- "inputs": [],
171
- "name": "REGISTERABLE_LOCATION_V1",
172
- "outputs": [
268
+ "inputs": [
173
269
  {
174
- "internalType": "bytes32",
175
- "name": "",
176
- "type": "bytes32"
270
+ "internalType": "ReferralId",
271
+ "name": "referralId",
272
+ "type": "bytes8"
177
273
  }
178
274
  ],
179
- "stateMutability": "view",
180
- "type": "function"
275
+ "name": "ErrorIDistributionServiceInvalidReferralId",
276
+ "type": "error"
181
277
  },
182
278
  {
183
- "inputs": [],
184
- "name": "getInitialInfo",
185
- "outputs": [
279
+ "inputs": [
186
280
  {
187
- "components": [
188
- {
189
- "internalType": "NftId",
190
- "name": "nftId",
191
- "type": "uint96"
192
- },
193
- {
194
- "internalType": "NftId",
195
- "name": "parentNftId",
196
- "type": "uint96"
197
- },
198
- {
199
- "internalType": "ObjectType",
200
- "name": "objectType",
201
- "type": "uint8"
202
- },
203
- {
204
- "internalType": "bool",
205
- "name": "isInterceptor",
206
- "type": "bool"
207
- },
208
- {
209
- "internalType": "address",
210
- "name": "objectAddress",
211
- "type": "address"
212
- },
213
- {
214
- "internalType": "address",
215
- "name": "initialOwner",
216
- "type": "address"
217
- },
218
- {
219
- "internalType": "bytes",
220
- "name": "data",
221
- "type": "bytes"
222
- }
223
- ],
224
- "internalType": "struct IRegistry.ObjectInfo",
225
- "name": "",
226
- "type": "tuple"
281
+ "internalType": "uint256",
282
+ "name": "maxDiscountPercentage",
283
+ "type": "uint256"
227
284
  },
228
285
  {
229
- "internalType": "bytes",
230
- "name": "data",
231
- "type": "bytes"
286
+ "internalType": "uint256",
287
+ "name": "limit",
288
+ "type": "uint256"
232
289
  }
233
290
  ],
234
- "stateMutability": "view",
235
- "type": "function"
291
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
292
+ "type": "error"
236
293
  },
237
294
  {
238
- "inputs": [],
239
- "name": "getInitializedVersion",
240
- "outputs": [
295
+ "inputs": [
241
296
  {
242
- "internalType": "uint64",
243
- "name": "",
244
- "type": "uint64"
297
+ "internalType": "uint256",
298
+ "name": "maxReferrals",
299
+ "type": "uint256"
245
300
  }
246
301
  ],
247
- "stateMutability": "view",
248
- "type": "function"
302
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
303
+ "type": "error"
249
304
  },
250
305
  {
251
- "inputs": [],
252
- "name": "getMajorVersion",
253
- "outputs": [
306
+ "inputs": [
254
307
  {
255
- "internalType": "VersionPart",
256
- "name": "majorVersion",
257
- "type": "uint8"
258
- }
259
- ],
260
- "stateMutability": "view",
261
- "type": "function"
262
- },
263
- {
264
- "inputs": [],
265
- "name": "getName",
266
- "outputs": [
308
+ "internalType": "uint256",
309
+ "name": "minFee",
310
+ "type": "uint256"
311
+ },
267
312
  {
268
- "internalType": "string",
269
- "name": "name",
270
- "type": "string"
313
+ "internalType": "uint256",
314
+ "name": "limit",
315
+ "type": "uint256"
271
316
  }
272
317
  ],
273
- "stateMutability": "pure",
274
- "type": "function"
318
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
319
+ "type": "error"
275
320
  },
276
321
  {
277
- "inputs": [],
322
+ "inputs": [
323
+ {
324
+ "internalType": "NftId",
325
+ "name": "nftId",
326
+ "type": "uint96"
327
+ },
328
+ {
329
+ "internalType": "NftId",
330
+ "name": "parentNftId",
331
+ "type": "uint96"
332
+ }
333
+ ],
334
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
335
+ "type": "error"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "NftId",
341
+ "name": "distributionNftId",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "internalType": "ReferralId",
346
+ "name": "referralId",
347
+ "type": "bytes8"
348
+ }
349
+ ],
350
+ "name": "ErrorIDistributionServiceReferralInvalid",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "caller",
358
+ "type": "address"
359
+ }
360
+ ],
361
+ "name": "ErrorIServiceCallerUnknown",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [
366
+ {
367
+ "internalType": "NftId",
368
+ "name": "nftId",
369
+ "type": "uint96"
370
+ }
371
+ ],
372
+ "name": "ErrorNftOwnableAlreadyLinked",
373
+ "type": "error"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "address",
379
+ "name": "contractAddress",
380
+ "type": "address"
381
+ }
382
+ ],
383
+ "name": "ErrorNftOwnableContractNotRegistered",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [],
388
+ "name": "ErrorNftOwnableInitialOwnerZero",
389
+ "type": "error"
390
+ },
391
+ {
392
+ "inputs": [
393
+ {
394
+ "internalType": "address",
395
+ "name": "account",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "name": "ErrorNftOwnableNotOwner",
400
+ "type": "error"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "address",
406
+ "name": "registryAddress",
407
+ "type": "address"
408
+ }
409
+ ],
410
+ "name": "ErrorNotRegistry",
411
+ "type": "error"
412
+ },
413
+ {
414
+ "inputs": [],
415
+ "name": "InvalidInitialization",
416
+ "type": "error"
417
+ },
418
+ {
419
+ "inputs": [],
420
+ "name": "NotInitializing",
421
+ "type": "error"
422
+ },
423
+ {
424
+ "anonymous": false,
425
+ "inputs": [
426
+ {
427
+ "indexed": false,
428
+ "internalType": "uint64",
429
+ "name": "version",
430
+ "type": "uint64"
431
+ }
432
+ ],
433
+ "name": "Initialized",
434
+ "type": "event"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
439
+ "outputs": [
440
+ {
441
+ "internalType": "bytes32",
442
+ "name": "",
443
+ "type": "bytes32"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [],
451
+ "name": "REGISTERABLE_LOCATION_V1",
452
+ "outputs": [
453
+ {
454
+ "internalType": "bytes32",
455
+ "name": "",
456
+ "type": "bytes32"
457
+ }
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [
464
+ {
465
+ "internalType": "NftId",
466
+ "name": "distributionNftId",
467
+ "type": "uint96"
468
+ },
469
+ {
470
+ "internalType": "ReferralId",
471
+ "name": "referralId",
472
+ "type": "bytes8"
473
+ },
474
+ {
475
+ "components": [
476
+ {
477
+ "internalType": "uint256",
478
+ "name": "netPremiumAmount",
479
+ "type": "uint256"
480
+ },
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "fullPremiumAmount",
484
+ "type": "uint256"
485
+ },
486
+ {
487
+ "internalType": "uint256",
488
+ "name": "premiumAmount",
489
+ "type": "uint256"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "productFeeFixAmount",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "uint256",
498
+ "name": "poolFeeFixAmount",
499
+ "type": "uint256"
500
+ },
501
+ {
502
+ "internalType": "uint256",
503
+ "name": "bundleFeeFixAmount",
504
+ "type": "uint256"
505
+ },
506
+ {
507
+ "internalType": "uint256",
508
+ "name": "distributionFeeFixAmount",
509
+ "type": "uint256"
510
+ },
511
+ {
512
+ "internalType": "uint256",
513
+ "name": "productFeeVarAmount",
514
+ "type": "uint256"
515
+ },
516
+ {
517
+ "internalType": "uint256",
518
+ "name": "poolFeeVarAmount",
519
+ "type": "uint256"
520
+ },
521
+ {
522
+ "internalType": "uint256",
523
+ "name": "bundleFeeVarAmount",
524
+ "type": "uint256"
525
+ },
526
+ {
527
+ "internalType": "uint256",
528
+ "name": "distributionFeeVarAmount",
529
+ "type": "uint256"
530
+ },
531
+ {
532
+ "internalType": "uint256",
533
+ "name": "distributionOwnerFeeFixAmount",
534
+ "type": "uint256"
535
+ },
536
+ {
537
+ "internalType": "uint256",
538
+ "name": "distributionOwnerFeeVarAmount",
539
+ "type": "uint256"
540
+ },
541
+ {
542
+ "internalType": "uint256",
543
+ "name": "commissionAmount",
544
+ "type": "uint256"
545
+ },
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "discountAmount",
549
+ "type": "uint256"
550
+ }
551
+ ],
552
+ "internalType": "struct IPolicy.Premium",
553
+ "name": "premium",
554
+ "type": "tuple"
555
+ }
556
+ ],
557
+ "name": "calculateFeeAmount",
558
+ "outputs": [
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "netPremiumAmount",
564
+ "type": "uint256"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "fullPremiumAmount",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "internalType": "uint256",
573
+ "name": "premiumAmount",
574
+ "type": "uint256"
575
+ },
576
+ {
577
+ "internalType": "uint256",
578
+ "name": "productFeeFixAmount",
579
+ "type": "uint256"
580
+ },
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "poolFeeFixAmount",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "bundleFeeFixAmount",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "distributionFeeFixAmount",
594
+ "type": "uint256"
595
+ },
596
+ {
597
+ "internalType": "uint256",
598
+ "name": "productFeeVarAmount",
599
+ "type": "uint256"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "poolFeeVarAmount",
604
+ "type": "uint256"
605
+ },
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "bundleFeeVarAmount",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "distributionFeeVarAmount",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "distributionOwnerFeeFixAmount",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "distributionOwnerFeeVarAmount",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "commissionAmount",
629
+ "type": "uint256"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "discountAmount",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "internalType": "struct IPolicy.Premium",
638
+ "name": "finalPremium",
639
+ "type": "tuple"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "address",
649
+ "name": "distributor",
650
+ "type": "address"
651
+ },
652
+ {
653
+ "internalType": "DistributorType",
654
+ "name": "distributorType",
655
+ "type": "bytes8"
656
+ },
657
+ {
658
+ "internalType": "bytes",
659
+ "name": "data",
660
+ "type": "bytes"
661
+ }
662
+ ],
663
+ "name": "createDistributor",
664
+ "outputs": [
665
+ {
666
+ "internalType": "NftId",
667
+ "name": "distributorNftId",
668
+ "type": "uint96"
669
+ }
670
+ ],
671
+ "stateMutability": "nonpayable",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "string",
678
+ "name": "name",
679
+ "type": "string"
680
+ },
681
+ {
682
+ "internalType": "UFixed",
683
+ "name": "minDiscountPercentage",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "internalType": "UFixed",
688
+ "name": "maxDiscountPercentage",
689
+ "type": "uint256"
690
+ },
691
+ {
692
+ "internalType": "UFixed",
693
+ "name": "commissionPercentage",
694
+ "type": "uint256"
695
+ },
696
+ {
697
+ "internalType": "uint32",
698
+ "name": "maxReferralCount",
699
+ "type": "uint32"
700
+ },
701
+ {
702
+ "internalType": "uint32",
703
+ "name": "maxReferralLifetime",
704
+ "type": "uint32"
705
+ },
706
+ {
707
+ "internalType": "bool",
708
+ "name": "allowSelfReferrals",
709
+ "type": "bool"
710
+ },
711
+ {
712
+ "internalType": "bool",
713
+ "name": "allowRenewals",
714
+ "type": "bool"
715
+ },
716
+ {
717
+ "internalType": "bytes",
718
+ "name": "data",
719
+ "type": "bytes"
720
+ }
721
+ ],
722
+ "name": "createDistributorType",
723
+ "outputs": [
724
+ {
725
+ "internalType": "DistributorType",
726
+ "name": "distributorType",
727
+ "type": "bytes8"
728
+ }
729
+ ],
730
+ "stateMutability": "nonpayable",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [
735
+ {
736
+ "internalType": "NftId",
737
+ "name": "distributorNftId",
738
+ "type": "uint96"
739
+ },
740
+ {
741
+ "internalType": "string",
742
+ "name": "code",
743
+ "type": "string"
744
+ },
745
+ {
746
+ "internalType": "UFixed",
747
+ "name": "discountPercentage",
748
+ "type": "uint256"
749
+ },
750
+ {
751
+ "internalType": "uint32",
752
+ "name": "maxReferrals",
753
+ "type": "uint32"
754
+ },
755
+ {
756
+ "internalType": "Timestamp",
757
+ "name": "expiryAt",
758
+ "type": "uint40"
759
+ },
760
+ {
761
+ "internalType": "bytes",
762
+ "name": "data",
763
+ "type": "bytes"
764
+ }
765
+ ],
766
+ "name": "createReferral",
767
+ "outputs": [
768
+ {
769
+ "internalType": "ReferralId",
770
+ "name": "referralId",
771
+ "type": "bytes8"
772
+ }
773
+ ],
774
+ "stateMutability": "nonpayable",
775
+ "type": "function"
776
+ },
777
+ {
778
+ "inputs": [],
779
+ "name": "getDomain",
780
+ "outputs": [
781
+ {
782
+ "internalType": "ObjectType",
783
+ "name": "",
784
+ "type": "uint8"
785
+ }
786
+ ],
787
+ "stateMutability": "pure",
788
+ "type": "function"
789
+ },
790
+ {
791
+ "inputs": [],
792
+ "name": "getInitialInfo",
793
+ "outputs": [
794
+ {
795
+ "components": [
796
+ {
797
+ "internalType": "NftId",
798
+ "name": "nftId",
799
+ "type": "uint96"
800
+ },
801
+ {
802
+ "internalType": "NftId",
803
+ "name": "parentNftId",
804
+ "type": "uint96"
805
+ },
806
+ {
807
+ "internalType": "ObjectType",
808
+ "name": "objectType",
809
+ "type": "uint8"
810
+ },
811
+ {
812
+ "internalType": "bool",
813
+ "name": "isInterceptor",
814
+ "type": "bool"
815
+ },
816
+ {
817
+ "internalType": "address",
818
+ "name": "objectAddress",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "address",
823
+ "name": "initialOwner",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "bytes",
828
+ "name": "data",
829
+ "type": "bytes"
830
+ }
831
+ ],
832
+ "internalType": "struct IRegistry.ObjectInfo",
833
+ "name": "info",
834
+ "type": "tuple"
835
+ }
836
+ ],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [],
842
+ "name": "getInstanceService",
843
+ "outputs": [
844
+ {
845
+ "internalType": "contract InstanceService",
846
+ "name": "",
847
+ "type": "address"
848
+ }
849
+ ],
850
+ "stateMutability": "view",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [],
855
+ "name": "getMajorVersion",
856
+ "outputs": [
857
+ {
858
+ "internalType": "VersionPart",
859
+ "name": "majorVersion",
860
+ "type": "uint8"
861
+ }
862
+ ],
863
+ "stateMutability": "view",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [],
278
868
  "name": "getNftId",
279
869
  "outputs": [
280
870
  {
@@ -312,6 +902,19 @@
312
902
  "stateMutability": "view",
313
903
  "type": "function"
314
904
  },
905
+ {
906
+ "inputs": [],
907
+ "name": "getRegistryAddress",
908
+ "outputs": [
909
+ {
910
+ "internalType": "address",
911
+ "name": "",
912
+ "type": "address"
913
+ }
914
+ ],
915
+ "stateMutability": "view",
916
+ "type": "function"
917
+ },
315
918
  {
316
919
  "inputs": [],
317
920
  "name": "getRegistryService",
@@ -338,135 +941,305 @@
338
941
  "stateMutability": "pure",
339
942
  "type": "function"
340
943
  },
944
+ {
945
+ "inputs": [],
946
+ "name": "initializeERC165",
947
+ "outputs": [],
948
+ "stateMutability": "nonpayable",
949
+ "type": "function"
950
+ },
341
951
  {
342
952
  "inputs": [
343
953
  {
344
- "internalType": "uint256",
345
- "name": "idx",
346
- "type": "uint256"
954
+ "internalType": "address",
955
+ "name": "initialOwner",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "registryAddress",
961
+ "type": "address"
347
962
  }
348
963
  ],
349
- "name": "getVersion",
350
- "outputs": [
964
+ "name": "initializeNftOwnable",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
351
971
  {
352
- "internalType": "Version",
353
- "name": "",
354
- "type": "uint24"
972
+ "internalType": "address",
973
+ "name": "registryAddress",
974
+ "type": "address"
975
+ },
976
+ {
977
+ "internalType": "NftId",
978
+ "name": "parentNftId",
979
+ "type": "uint96"
980
+ },
981
+ {
982
+ "internalType": "ObjectType",
983
+ "name": "objectType",
984
+ "type": "uint8"
985
+ },
986
+ {
987
+ "internalType": "bool",
988
+ "name": "isInterceptor",
989
+ "type": "bool"
990
+ },
991
+ {
992
+ "internalType": "address",
993
+ "name": "initialOwner",
994
+ "type": "address"
995
+ },
996
+ {
997
+ "internalType": "bytes",
998
+ "name": "registryData",
999
+ "type": "bytes"
355
1000
  }
356
1001
  ],
357
- "stateMutability": "view",
1002
+ "name": "initializeRegisterable",
1003
+ "outputs": [],
1004
+ "stateMutability": "nonpayable",
358
1005
  "type": "function"
359
1006
  },
360
1007
  {
361
- "inputs": [],
362
- "name": "getVersionCount",
363
- "outputs": [
1008
+ "inputs": [
364
1009
  {
365
- "internalType": "uint256",
366
- "name": "",
367
- "type": "uint256"
1010
+ "internalType": "address",
1011
+ "name": "registryAddress",
1012
+ "type": "address"
368
1013
  }
369
1014
  ],
370
- "stateMutability": "view",
1015
+ "name": "initializeRegistryLinked",
1016
+ "outputs": [],
1017
+ "stateMutability": "nonpayable",
371
1018
  "type": "function"
372
1019
  },
373
1020
  {
374
1021
  "inputs": [
375
1022
  {
376
- "internalType": "Version",
377
- "name": "_version",
378
- "type": "uint24"
1023
+ "internalType": "address",
1024
+ "name": "registry",
1025
+ "type": "address"
1026
+ },
1027
+ {
1028
+ "internalType": "address",
1029
+ "name": "initialOwner",
1030
+ "type": "address"
379
1031
  }
380
1032
  ],
381
- "name": "getVersionInfo",
382
- "outputs": [
1033
+ "name": "initializeService",
1034
+ "outputs": [],
1035
+ "stateMutability": "nonpayable",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "address",
1042
+ "name": "activatedBy",
1043
+ "type": "address"
1044
+ },
1045
+ {
1046
+ "internalType": "bytes",
1047
+ "name": "data",
1048
+ "type": "bytes"
1049
+ }
1050
+ ],
1051
+ "name": "initializeVersionable",
1052
+ "outputs": [],
1053
+ "stateMutability": "nonpayable",
1054
+ "type": "function"
1055
+ },
1056
+ {
1057
+ "inputs": [],
1058
+ "name": "linkToRegisteredNftId",
1059
+ "outputs": [],
1060
+ "stateMutability": "nonpayable",
1061
+ "type": "function"
1062
+ },
1063
+ {
1064
+ "inputs": [
1065
+ {
1066
+ "internalType": "NftId",
1067
+ "name": "distributionNftId",
1068
+ "type": "uint96"
1069
+ },
1070
+ {
1071
+ "internalType": "ReferralId",
1072
+ "name": "referralId",
1073
+ "type": "bytes8"
1074
+ },
383
1075
  {
384
1076
  "components": [
385
1077
  {
386
- "internalType": "Version",
387
- "name": "version",
388
- "type": "uint24"
1078
+ "internalType": "uint256",
1079
+ "name": "netPremiumAmount",
1080
+ "type": "uint256"
1081
+ },
1082
+ {
1083
+ "internalType": "uint256",
1084
+ "name": "fullPremiumAmount",
1085
+ "type": "uint256"
389
1086
  },
390
1087
  {
391
- "internalType": "address",
392
- "name": "implementation",
393
- "type": "address"
1088
+ "internalType": "uint256",
1089
+ "name": "premiumAmount",
1090
+ "type": "uint256"
394
1091
  },
395
1092
  {
396
- "internalType": "address",
397
- "name": "activatedBy",
398
- "type": "address"
1093
+ "internalType": "uint256",
1094
+ "name": "productFeeFixAmount",
1095
+ "type": "uint256"
1096
+ },
1097
+ {
1098
+ "internalType": "uint256",
1099
+ "name": "poolFeeFixAmount",
1100
+ "type": "uint256"
1101
+ },
1102
+ {
1103
+ "internalType": "uint256",
1104
+ "name": "bundleFeeFixAmount",
1105
+ "type": "uint256"
1106
+ },
1107
+ {
1108
+ "internalType": "uint256",
1109
+ "name": "distributionFeeFixAmount",
1110
+ "type": "uint256"
1111
+ },
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "productFeeVarAmount",
1115
+ "type": "uint256"
1116
+ },
1117
+ {
1118
+ "internalType": "uint256",
1119
+ "name": "poolFeeVarAmount",
1120
+ "type": "uint256"
1121
+ },
1122
+ {
1123
+ "internalType": "uint256",
1124
+ "name": "bundleFeeVarAmount",
1125
+ "type": "uint256"
1126
+ },
1127
+ {
1128
+ "internalType": "uint256",
1129
+ "name": "distributionFeeVarAmount",
1130
+ "type": "uint256"
1131
+ },
1132
+ {
1133
+ "internalType": "uint256",
1134
+ "name": "distributionOwnerFeeFixAmount",
1135
+ "type": "uint256"
1136
+ },
1137
+ {
1138
+ "internalType": "uint256",
1139
+ "name": "distributionOwnerFeeVarAmount",
1140
+ "type": "uint256"
399
1141
  },
400
1142
  {
401
- "internalType": "Timestamp",
402
- "name": "activatedAt",
403
- "type": "uint40"
1143
+ "internalType": "uint256",
1144
+ "name": "commissionAmount",
1145
+ "type": "uint256"
404
1146
  },
405
1147
  {
406
- "internalType": "Blocknumber",
407
- "name": "activatedIn",
408
- "type": "uint32"
1148
+ "internalType": "uint256",
1149
+ "name": "discountAmount",
1150
+ "type": "uint256"
409
1151
  }
410
1152
  ],
411
- "internalType": "struct IVersionable.VersionInfo",
412
- "name": "",
1153
+ "internalType": "struct IPolicy.Premium",
1154
+ "name": "premium",
413
1155
  "type": "tuple"
1156
+ },
1157
+ {
1158
+ "internalType": "uint256",
1159
+ "name": "transferredDistributionFeeAmount",
1160
+ "type": "uint256"
414
1161
  }
415
1162
  ],
416
- "stateMutability": "view",
1163
+ "name": "processSale",
1164
+ "outputs": [],
1165
+ "stateMutability": "nonpayable",
417
1166
  "type": "function"
418
1167
  },
419
1168
  {
420
1169
  "inputs": [
421
1170
  {
422
- "internalType": "address",
423
- "name": "implementation",
424
- "type": "address"
1171
+ "internalType": "NftId",
1172
+ "name": "distributionNftId",
1173
+ "type": "uint96"
425
1174
  },
426
1175
  {
427
- "internalType": "address",
428
- "name": "activatedBy",
429
- "type": "address"
430
- },
1176
+ "internalType": "ReferralId",
1177
+ "name": "referralId",
1178
+ "type": "bytes8"
1179
+ }
1180
+ ],
1181
+ "name": "referralIsValid",
1182
+ "outputs": [
431
1183
  {
432
- "internalType": "bytes",
433
- "name": "data",
434
- "type": "bytes"
1184
+ "internalType": "bool",
1185
+ "name": "isValid",
1186
+ "type": "bool"
435
1187
  }
436
1188
  ],
437
- "name": "initialize",
438
- "outputs": [],
439
- "stateMutability": "nonpayable",
1189
+ "stateMutability": "view",
440
1190
  "type": "function"
441
1191
  },
442
1192
  {
443
1193
  "inputs": [
444
1194
  {
445
- "internalType": "Version",
446
- "name": "_version",
447
- "type": "uint24"
1195
+ "internalType": "address",
1196
+ "name": "distributionAddress",
1197
+ "type": "address"
448
1198
  }
449
1199
  ],
450
- "name": "isInitialized",
1200
+ "name": "register",
451
1201
  "outputs": [
452
1202
  {
453
- "internalType": "bool",
454
- "name": "",
455
- "type": "bool"
1203
+ "internalType": "NftId",
1204
+ "name": "distributionNftId",
1205
+ "type": "uint96"
456
1206
  }
457
1207
  ],
458
- "stateMutability": "view",
1208
+ "stateMutability": "nonpayable",
459
1209
  "type": "function"
460
1210
  },
461
1211
  {
462
- "inputs": [],
463
- "name": "linkToRegisteredNftId",
1212
+ "inputs": [
1213
+ {
1214
+ "internalType": "bytes4",
1215
+ "name": "interfaceId",
1216
+ "type": "bytes4"
1217
+ }
1218
+ ],
1219
+ "name": "registerInterface",
464
1220
  "outputs": [],
465
1221
  "stateMutability": "nonpayable",
466
1222
  "type": "function"
467
1223
  },
468
1224
  {
469
1225
  "inputs": [
1226
+ {
1227
+ "components": [
1228
+ {
1229
+ "internalType": "UFixed",
1230
+ "name": "fractionalFee",
1231
+ "type": "uint256"
1232
+ },
1233
+ {
1234
+ "internalType": "uint256",
1235
+ "name": "fixedFee",
1236
+ "type": "uint256"
1237
+ }
1238
+ ],
1239
+ "internalType": "struct Fee",
1240
+ "name": "minDistributionOwnerFee",
1241
+ "type": "tuple"
1242
+ },
470
1243
  {
471
1244
  "components": [
472
1245
  {
@@ -512,14 +1285,14 @@
512
1285
  {
513
1286
  "inputs": [
514
1287
  {
515
- "internalType": "address",
516
- "name": "implementation",
517
- "type": "address"
1288
+ "internalType": "NftId",
1289
+ "name": "distributorNftId",
1290
+ "type": "uint96"
518
1291
  },
519
1292
  {
520
- "internalType": "address",
521
- "name": "activatedBy",
522
- "type": "address"
1293
+ "internalType": "DistributorType",
1294
+ "name": "distributorType",
1295
+ "type": "bytes8"
523
1296
  },
524
1297
  {
525
1298
  "internalType": "bytes",
@@ -527,20 +1300,37 @@
527
1300
  "type": "bytes"
528
1301
  }
529
1302
  ],
530
- "name": "upgrade",
1303
+ "name": "updateDistributorType",
1304
+ "outputs": [],
1305
+ "stateMutability": "nonpayable",
1306
+ "type": "function"
1307
+ },
1308
+ {
1309
+ "inputs": [
1310
+ {
1311
+ "internalType": "bytes",
1312
+ "name": "data",
1313
+ "type": "bytes"
1314
+ }
1315
+ ],
1316
+ "name": "upgradeVersionable",
531
1317
  "outputs": [],
532
1318
  "stateMutability": "nonpayable",
533
1319
  "type": "function"
534
1320
  }
535
1321
  ],
536
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002640380380620026408339810160408190526200003491620005f7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055828282600280546001600160a01b031916331790556200008f620000e5565b6200009c83838362000199565b505050620000b7631fa9607b60e11b620000c060201b60201c565b50505062000891565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001365760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001965780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001d660408051808201909152601381527f446973747269627574696f6e5365727669636500000000000000000000000000602082015290565b620001e062000259565b604051602001620001f39291906200064f565b60408051808303601f190181529190529050620002178484602860008686620002e6565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b600062000265620003b7565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e19190620006a9565b905090565b620002f282876200043f565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200037183826200077a565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000419573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e1919062000846565b600280546001600160a01b0319166001600160a01b038416179055620004658162000469565b5050565b6001546001600160a01b031615620004a85760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b038116620004d05760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620005085760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200049f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000585575060408051601f3d908101601f1916820190925262000582918101906200086d565b60015b620005af5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200049f565b80620004655760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200049f565b80516001600160a01b0381168114620005f257600080fd5b919050565b6000806000606084860312156200060d57600080fd5b6200061884620005da565b60208501519093506001600160601b03811681146200063657600080fd5b91506200064660408501620005da565b90509250925092565b604081526000835180604084015260005b818110156200067f576020818701810151606086840101520162000660565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b600060208284031215620006bc57600080fd5b815160ff81168114620006ce57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200070057607f821691505b6020821081036200072157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200077557600081815260208120601f850160051c81016020861015620007505750805b601f850160051c820191505b8181101562000771578281556001016200075c565b5050505b505050565b81516001600160401b03811115620007965762000796620006d5565b620007ae81620007a78454620006eb565b8462000727565b602080601f831160018114620007e65760008415620007cd5750858301515b600019600386901b1c1916600185901b17855562000771565b600085815260208120601f198616915b828110156200081757888601518255948401946001909101908401620007f6565b5085821015620008365787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200085957600080fd5b815162ffffff81168114620006ce57600080fd5b6000602082840312156200088057600080fd5b81518015158114620006ce57600080fd5b611d9f80620008a16000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063644c45e0116100ad578063b3c6501511610071578063b3c650151461041f578063b88da7591461043f578063caf4e3d414610452578063cde749f41461045a578063cf7a1d771461047457600080fd5b8063644c45e014610380578063893d20e8146103ab578063946dfcfe146103b3578063a3f4df7e146103da578063a745e3df1461040c57600080fd5b80631eff4b22116100f45780631eff4b22146101e75780633f52c0f61461021c5780634d459c901461022f5780634f421333146103485780635ab1bd531461035b57600080fd5b806301ffc9a7146101315780630d8e6e2c146101735780630fec111c1461018f578063138461e0146101a557806317d7de7c146101af575b600080fd5b61015e61013f36600461157a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017b610487565b60405162ffffff909116815260200161016a565b610197610511565b60405161016a9291906115fb565b6101ad610697565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b60405161016a91906116a2565b61020e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016a565b6101ad61022a366004611768565b6108b9565b6102eb61023d3660046117ae565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611d4a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161016a565b61015e6103563660046117ae565b610a2c565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b600154600160a01b90046001600160601b03166040516001600160601b03909116815260200161016a565b610368610adf565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461020e565b6101da60405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101ad61041a366004611807565b610bf8565b610427610d52565b6040516001600160401b03909116815260200161016a565b61017b61044d3660046118ab565b610d73565b610368610dc4565b610462610e7f565b60405160ff909116815260200161016a565b6101ad610482366004611807565b610f02565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c91906118c4565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105986001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105e0610adf565b6001600160a01b031681526020018260010180546105fd906118e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610629906118e1565b80156106765780601f1061064b57610100808354040283529160200191610676565b820191906000526020600020905b81548152906001019060200180831161065957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071d9190611930565b15610764576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661078d5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fa9190611930565b610822576040516372657a5160e01b81526001600160a01b038216600482015260240161075b565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561086c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108909190611962565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108c6607861100b565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109429190611962565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ba91906119b8565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b906109f39085908590600401611a77565b600060405180830381600087803b158015610a0d57600080fd5b505af1158015610a21573d6000803e3d6000fd5b505050505050505050565b600080600080516020611d4a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad89190611b5e565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b689190611930565b15610be857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610bc4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c9190611b77565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c1a610487565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611b94565b600080516020611d2a8339815191528054600160401b900460ff1680610cb1575080546001600160401b03808416911610155b15610ccf5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cfa8585611302565b610d038361153d565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061050c600080516020611d2a833981519152546001600160401b031690565b6000600080516020611d4a8339815191526001018281548110610d9857610d98611bbd565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610dd96001546001600160a01b031690565b6001600160a01b031663a3bcd81d610def610e7f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015610e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e799190611b77565b92915050565b6000610e89610487565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c9190611bed565b600080516020611d2a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f355750825b90506000826001600160401b03166001148015610f515750303b155b905081158015610f5f575080155b15610f7d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fa757845460ff60401b1916600160401b1785555b610fb18888611302565b610fbb878761153d565b831561100157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b0316604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015611099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bd9190611962565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c9190611930565b6111885760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161075b565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156111e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261120b9190810190611c57565b925061122183604001518560ff90811691161490565b6112635760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161075b565b60006112776001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156112cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112f49190810190611c57565b608001519395939450505050565b61130a611541565b600080516020611d4a833981519152600061133a600080516020611d2a833981519152546001600160401b031690565b90506000611346610487565b9050816001600160401b03166001036113735760028301805462ffffff191662ffffff83161790556113c1565b600283015462ffffff908116908216116113c15760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161075b565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089169284019290925290861690820152606081016114354290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d439083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61012c5b600080516020611d2a83398151915254600160401b900460ff1661157857604051631afcd79f60e31b815260040160405180910390fd5b565b60006020828403121561158c57600080fd5b81356001600160e01b0319811681146115a457600080fd5b9392505050565b60005b838110156115c65781810151838201526020016115ae565b50506000910152565b600081518084526115e78160208601602086016115ab565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161163f60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526116856101208401826115cf565b9050828103602084015261169981856115cf565b95945050505050565b6020815260006115a460208301846115cf565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156116ed576116ed6116b5565b60405290565b60405161012081016001600160401b03811182821017156116ed576116ed6116b5565b60405160e081016001600160401b03811182821017156116ed576116ed6116b5565b604051601f8201601f191681016001600160401b0381118282101715611760576117606116b5565b604052919050565b60006040828403121561177a57600080fd5b6117826116cb565b82358152602083013560208201528091505092915050565b62ffffff811681146117ab57600080fd5b50565b6000602082840312156117c057600080fd5b81356115a48161179a565b6001600160a01b03811681146117ab57600080fd5b60006001600160401b038211156117f9576117f96116b5565b50601f01601f191660200190565b60008060006060848603121561181c57600080fd5b8335611827816117cb565b92506020840135611837816117cb565b915060408401356001600160401b0381111561185257600080fd5b8401601f8101861361186357600080fd5b8035611876611871826117e0565b611738565b81815287602083850101111561188b57600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156118bd57600080fd5b5035919050565b6000602082840312156118d657600080fd5b81516115a48161179a565b600181811c908216806118f557607f821691505b60208210810361191557634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461192b57600080fd5b919050565b60006020828403121561194257600080fd5b6115a48261191b565b80516001600160601b038116811461192b57600080fd5b60006020828403121561197457600080fd5b6115a48261194b565b805161192b816117cb565b60006040828403121561199a57600080fd5b6119a26116cb565b9050815181526020820151602082015292915050565b60006101e082840312156119cb57600080fd5b6119d36116f3565b6119dc8361194b565b81526119ea6020840161194b565b60208201526119fb6040840161197d565b6040820152611a0d8460608501611988565b6060820152611a1f8460a08501611988565b6080820152611a318460e08501611988565b60a0820152611a44846101208501611988565b60c0820152611a57846101608501611988565b60e0820152611a6a846101a08501611988565b6101008201529392505050565b6001600160601b038381168252825116602080830191909152820151610200820190611aae60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151610100611b108185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b600060208284031215611b7057600080fd5b5051919050565b600060208284031215611b8957600080fd5b81516115a4816117cb565b600060208284031215611ba657600080fd5b81516001600160401b03811681146115a457600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff811681146117ab57600080fd5b805161192b81611bd3565b600060208284031215611bff57600080fd5b81516115a481611bd3565b600082601f830112611c1b57600080fd5b8151611c29611871826117e0565b818152846020838601011115611c3e57600080fd5b611c4f8260208301602087016115ab565b949350505050565b600060208284031215611c6957600080fd5b81516001600160401b0380821115611c8057600080fd5b9083019060e08286031215611c9457600080fd5b611c9c611716565b611ca58361194b565b8152611cb36020840161194b565b6020820152611cc460408401611be2565b6040820152611cd56060840161191b565b6060820152611ce66080840161197d565b6080820152611cf760a0840161197d565b60a082015260c083015182811115611d0e57600080fd5b611d1a87828601611c0a565b60c0830152509594505050505056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200ed1ca5b8e91f71c9d8350551691ad154a8a768e35ec50aa49d8ed5072b3ff4e64736f6c63430008140033",
537
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063644c45e0116100ad578063b3c6501511610071578063b3c650151461041f578063b88da7591461043f578063caf4e3d414610452578063cde749f41461045a578063cf7a1d771461047457600080fd5b8063644c45e014610380578063893d20e8146103ab578063946dfcfe146103b3578063a3f4df7e146103da578063a745e3df1461040c57600080fd5b80631eff4b22116100f45780631eff4b22146101e75780633f52c0f61461021c5780634d459c901461022f5780634f421333146103485780635ab1bd531461035b57600080fd5b806301ffc9a7146101315780630d8e6e2c146101735780630fec111c1461018f578063138461e0146101a557806317d7de7c146101af575b600080fd5b61015e61013f36600461157a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017b610487565b60405162ffffff909116815260200161016a565b610197610511565b60405161016a9291906115fb565b6101ad610697565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b60405161016a91906116a2565b61020e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016a565b6101ad61022a366004611768565b6108b9565b6102eb61023d3660046117ae565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611d4a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161016a565b61015e6103563660046117ae565b610a2c565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b600154600160a01b90046001600160601b03166040516001600160601b03909116815260200161016a565b610368610adf565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461020e565b6101da60405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101ad61041a366004611807565b610bf8565b610427610d52565b6040516001600160401b03909116815260200161016a565b61017b61044d3660046118ab565b610d73565b610368610dc4565b610462610e7f565b60405160ff909116815260200161016a565b6101ad610482366004611807565b610f02565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c91906118c4565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105986001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105e0610adf565b6001600160a01b031681526020018260010180546105fd906118e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610629906118e1565b80156106765780601f1061064b57610100808354040283529160200191610676565b820191906000526020600020905b81548152906001019060200180831161065957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071d9190611930565b15610764576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661078d5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fa9190611930565b610822576040516372657a5160e01b81526001600160a01b038216600482015260240161075b565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561086c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108909190611962565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108c6607861100b565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109429190611962565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ba91906119b8565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b906109f39085908590600401611a77565b600060405180830381600087803b158015610a0d57600080fd5b505af1158015610a21573d6000803e3d6000fd5b505050505050505050565b600080600080516020611d4a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad89190611b5e565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b689190611930565b15610be857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610bc4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c9190611b77565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c1a610487565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611b94565b600080516020611d2a8339815191528054600160401b900460ff1680610cb1575080546001600160401b03808416911610155b15610ccf5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cfa8585611302565b610d038361153d565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061050c600080516020611d2a833981519152546001600160401b031690565b6000600080516020611d4a8339815191526001018281548110610d9857610d98611bbd565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610dd96001546001600160a01b031690565b6001600160a01b031663a3bcd81d610def610e7f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015610e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e799190611b77565b92915050565b6000610e89610487565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c9190611bed565b600080516020611d2a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f355750825b90506000826001600160401b03166001148015610f515750303b155b905081158015610f5f575080155b15610f7d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fa757845460ff60401b1916600160401b1785555b610fb18888611302565b610fbb878761153d565b831561100157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b0316604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015611099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bd9190611962565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c9190611930565b6111885760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161075b565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156111e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261120b9190810190611c57565b925061122183604001518560ff90811691161490565b6112635760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161075b565b60006112776001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156112cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112f49190810190611c57565b608001519395939450505050565b61130a611541565b600080516020611d4a833981519152600061133a600080516020611d2a833981519152546001600160401b031690565b90506000611346610487565b9050816001600160401b03166001036113735760028301805462ffffff191662ffffff83161790556113c1565b600283015462ffffff908116908216116113c15760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161075b565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089169284019290925290861690820152606081016114354290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d439083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61012c5b600080516020611d2a83398151915254600160401b900460ff1661157857604051631afcd79f60e31b815260040160405180910390fd5b565b60006020828403121561158c57600080fd5b81356001600160e01b0319811681146115a457600080fd5b9392505050565b60005b838110156115c65781810151838201526020016115ae565b50506000910152565b600081518084526115e78160208601602086016115ab565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161163f60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526116856101208401826115cf565b9050828103602084015261169981856115cf565b95945050505050565b6020815260006115a460208301846115cf565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156116ed576116ed6116b5565b60405290565b60405161012081016001600160401b03811182821017156116ed576116ed6116b5565b60405160e081016001600160401b03811182821017156116ed576116ed6116b5565b604051601f8201601f191681016001600160401b0381118282101715611760576117606116b5565b604052919050565b60006040828403121561177a57600080fd5b6117826116cb565b82358152602083013560208201528091505092915050565b62ffffff811681146117ab57600080fd5b50565b6000602082840312156117c057600080fd5b81356115a48161179a565b6001600160a01b03811681146117ab57600080fd5b60006001600160401b038211156117f9576117f96116b5565b50601f01601f191660200190565b60008060006060848603121561181c57600080fd5b8335611827816117cb565b92506020840135611837816117cb565b915060408401356001600160401b0381111561185257600080fd5b8401601f8101861361186357600080fd5b8035611876611871826117e0565b611738565b81815287602083850101111561188b57600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156118bd57600080fd5b5035919050565b6000602082840312156118d657600080fd5b81516115a48161179a565b600181811c908216806118f557607f821691505b60208210810361191557634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461192b57600080fd5b919050565b60006020828403121561194257600080fd5b6115a48261191b565b80516001600160601b038116811461192b57600080fd5b60006020828403121561197457600080fd5b6115a48261194b565b805161192b816117cb565b60006040828403121561199a57600080fd5b6119a26116cb565b9050815181526020820151602082015292915050565b60006101e082840312156119cb57600080fd5b6119d36116f3565b6119dc8361194b565b81526119ea6020840161194b565b60208201526119fb6040840161197d565b6040820152611a0d8460608501611988565b6060820152611a1f8460a08501611988565b6080820152611a318460e08501611988565b60a0820152611a44846101208501611988565b60c0820152611a57846101608501611988565b60e0820152611a6a846101a08501611988565b6101008201529392505050565b6001600160601b038381168252825116602080830191909152820151610200820190611aae60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151610100611b108185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b600060208284031215611b7057600080fd5b5051919050565b600060208284031215611b8957600080fd5b81516115a4816117cb565b600060208284031215611ba657600080fd5b81516001600160401b03811681146115a457600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff811681146117ab57600080fd5b805161192b81611bd3565b600060208284031215611bff57600080fd5b81516115a481611bd3565b600082601f830112611c1b57600080fd5b8151611c29611871826117e0565b818152846020838601011115611c3e57600080fd5b611c4f8260208301602087016115ab565b949350505050565b600060208284031215611c6957600080fd5b81516001600160401b0380821115611c8057600080fd5b9083019060e08286031215611c9457600080fd5b611c9c611716565b611ca58361194b565b8152611cb36020840161194b565b6020820152611cc460408401611be2565b6040820152611cd56060840161191b565b6060820152611ce66080840161197d565b6080820152611cf760a0840161197d565b60a082015260c083015182811115611d0e57600080fd5b611d1a87828601611c0a565b60c0830152509594505050505056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200ed1ca5b8e91f71c9d8350551691ad154a8a768e35ec50aa49d8ed5072b3ff4e64736f6c63430008140033",
1322
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615e9d80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635ab1bd531161010f578063b6b412ba116100a2578063d25f509511610071578063d25f5095146104f6578063ea86657214610509578063f21de1e81461041d578063f7c34ee01461051c57600080fd5b8063b6b412ba146104cb578063caf4e3d4146104de578063cc9fc59a146104e6578063cde749f4146104ee57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e578063ada9652e146104a1578063b68d1809146104b657600080fd5b80635ab1bd531461041d5780635dcb3bae14610442578063644c45e014610455578063675393bf1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780633d683fd9146103cc5780634420e486146103df57806349bb9e4b1461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f83660046149d3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461052f565b60405162ffffff9091168152602001610223565b6102506105b9565b6040516102239190614a4d565b61026561076d565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa3660046149d3565b610974565b6102c26102bd366004614cbc565b6109a1565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d05565b61122f565b61026561038c366004614dfd565b611568565b6103a461039f366004614ea7565b6115f4565b6040516102239190614f73565b6102656103bf366004614f88565b611baf565b610265611cfc565b6102656103da366004614fbc565b611d42565b6103f26103ed36600461501d565b611eb0565b6040516001600160601b039091168152602001610223565b61026561041836600461503a565b61234c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103f2610450366004615089565b61244b565b600080516020615e28833981519152546001600160601b03166103f2565b61026561048136600461501d565b6125ec565b61042a6126fa565b6103a461049c3660046150bc565b612831565b61028e600080516020615e2883398151915281565b60785b60405160ff9091168152602001610223565b6102656104d9366004615186565b6130c1565b61042a613347565b61042a6133de565b6104b9613408565b6102656105043660046151bb565b61347f565b61026561051736600461520d565b6139d3565b61026561052a36600461520d565b613a6b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b4919061523b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061066990615260565b80601f016020809104026020016040519081016040528092919081815260200182805461069590615260565b80156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b50505050508152505090506040518060e00160405280610700600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107516126fa565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615e2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906152a5565b156108315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108446001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b091906152a5565b6108d85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095091906152cd565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61097c613ae2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a2585613b1b565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c91906152ea565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190615342565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b9e9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b56919060040190815260200190565b602060405180830381865af4158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9791906153e3565b8451613c9e565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1391906153e3565b61014089018190526020890180519192508291610c31908390615412565b905250610c3e8a8a61122f565b610c705750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611228565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c9f908d90600401614f73565b600060405180830381865afa158015610cbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce49190810190615480565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d62919081019061555e565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d959190600401614f73565b600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda9190810190615607565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5791906153e3565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e9a92600401918252602082015260400190565b602060405180830381865af4158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb91906153e3565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5091906153e3565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f999160040190815260200190565b602060405180830381865af4158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda91906153e3565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261101d92600401918252602082015260400190565b602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906153e3565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d391906153e3565b6101c08d0181905260208701516101608e01526110f082876156fe565b6110fa91906156fe565b6101808d01526101c08c015160208d015161111591906156fe565b60408d0152505050506020820151610160890151101561118e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b876101a00151886101800151896101c001516111aa9190615412565b6111b49190615412565b8861014001511461121e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b8796505050505050505b9392505050565b600080600061123d85613b1b565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a591906152ea565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016112d09190614f73565b600060405180830381865afa1580156112ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113159190810190615480565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139791906152a5565b156113a85760009350505050611562565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142891906152a5565b8061153a575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae91906152a5565b801561153a575061153a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611501573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115259190615711565b8260a0015164ffffffffff9081169116111590565b935083801561155c5750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b611570613ae2565b61157a8287613a6b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115ea838261577d565b5050505050505050565b6000806000611601613cb3565b92509250506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a91906152ea565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de9190615342565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611742573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176691906153e3565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee91906153e3565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015611848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186c91906152a5565b1561197b57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e591906153e3565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611935573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195991906153e3565b60405163e2ed03dd60e01b815260048101929092526024820152604401610828565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119b792919061583c565b602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f8919061585e565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a3f906001600160c01b0319881690600401614f73565b602060405180830381865af4158015611a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8091906153e3565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec91906152a5565b611b9f5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611b6b908590859060040161587b565b600060405180830381600087803b158015611b8557600080fd5b505af1158015611b99573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611bd161052f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190615947565b600080516020615e488339815191528054600160401b900460ff1680611c68575080546001600160401b03808416911610155b15611c865760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611cb083613cfd565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d04613ae2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d4c613cb3565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db491906152ea565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2f919081019061555e565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611e76908990859060ff906004016159bb565b600060405180830381600087803b158015611e9057600080fd5b505af1158015611ea4573d6000803e3d6000fd5b50505050505050505050565b600080808080611ec9866078611ec4613d05565b613d7d565b93509350935093506000611edb613347565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f5591908101906159fb565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f9757600080fd5b505af1158015611fab573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120299190615342565b6040518363ffffffff1660e01b8152600401612046929190615b05565b600060405180830381600087803b15801561206057600080fd5b505af1158015612074573d6000803e3d6000fd5b5060009250600291506120849050565b6040519080825280602002602001820160405280156120b757816020015b60608152602001906001900390816120a25790505b506040805160018082528183019092529192506020808301908036833701905050816000815181106120eb576120eb615b23565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061212a5761212a615b23565b602002602001018190525063b6b412ba60e01b8160008151811061215057612150615b23565b602002602001015160008151811061216a5761216a615b23565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106121a1576121a1615b23565b60200260200101516000815181106121bb576121bb615b23565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506121ff613d05565b8160008151811061221257612212615b23565b60200260200101906001600160401b031690816001600160401b03168152505061223a6141ae565b8160018151811061224d5761224d615b23565b60200260200101906001600160401b031690816001600160401b0316815250506122756133de565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122eb9190810190615b39565b86866040518663ffffffff1660e01b815260040161230d959493929190615bb1565b600060405180830381600087803b15801561232757600080fd5b505af115801561233b573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615e488339815191528054600160401b810460ff1615906001600160401b031660008115801561237f5750825b90506000826001600160401b0316600114801561239b5750303b155b9050811580156123a9575080155b156123c75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156123f157845460ff60401b1916600160401b1785555b6123fb87876141ea565b831561244257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612458613cb3565b9250925050612465613347565b6001600160a01b03166357a8fba76040518060e00160405280612486600090565b6001600160601b03168152602001856001600160601b031681526020016124ab607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161250a9190614a4d565b6020604051808303816000875af1158015612529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254d91906152cd565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906125b09087908590600401615c85565b600060405180830381600087803b1580156125ca57600080fd5b505af11580156125de573d6000803e3d6000fd5b505050505050509392505050565b6125f4613ae2565b806001600160a01b03163b60000361262a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156126a4575060408051601f3d908101601f191682019092526126a1918101906152a5565b60015b6126cc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b806126f55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610828565b505b50565b600080600080516020615e2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561276a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278e91906152a5565b1561281b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061281591906152ea565b91505090565b54600160601b90046001600160a01b0316919050565b600080600061283e613cb3565b925092505087516000036128675787604051634fad6a5360e11b81526004016108289190615ca7565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156128bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e191906152a5565b156129085760405163df85467b60e01b815264ffffffffff86166004820152602401610828565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061296c91906152ea565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156129bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129e7919081019061555e565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612a1c908590600401614f73565b600060405180830381865afa158015612a39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a619190810190615607565b90508963ffffffff16816080015163ffffffff161015612aa2576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610828565b60208101518b1015612bbe576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2891906153e3565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9c91906153e3565b6040516338a25a8b60e21b815260048101929092526024820152604401610828565b60408101518b1115612cda576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c4491906153e3565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb891906153e3565b604051631e1ea4f360e31b815260048101929092526024820152604401610828565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d529190615711565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dcd91906153e3565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4791906153e3565b612e5191906156fe565b1115612efd5760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed691906153e3565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610828565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612f3692919061583c565b602060405180830381865af4158015612f53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f77919061585e565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b815260040161301f9190614f73565b602060405180830381865af415801561303c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306091906153e3565b836040518363ffffffff1660e01b815260040161307e929190615d3f565b600060405180830381600087803b15801561309857600080fd5b505af11580156130ac573d6000803e3d6000fd5b50505050505050505050509695505050505050565b8151815110156131db578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561311e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314291906153e3565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b991906153e3565b604051631a9c6b0960e01b815260048101929092526024820152604401610828565b6000806131e86078614308565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561322c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061325091906152ea565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240161010060405180830381865afa1580156132a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132cb9190615342565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0385169063f7b442d19061330c908590859060ff90600401615d58565b600060405180830381600087803b15801561332657600080fd5b505af115801561333a573d6000803e3d6000fd5b5050505050505050505050565b60008061335c6001546001600160a01b031690565b6001600160a01b031663d39e604360285b613375613408565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156133ba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156291906152ea565b6000806133f36001546001600160a01b031690565b6001600160a01b031663d39e6043604661336d565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561345b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615d88565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf906134c3906001600160c01b0319881690600401614f73565b602060405180830381865af41580156134e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350491906152a5565b1590506000613513868661122f565b9050818015613520575080155b1561355957604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610828565b600061356487613b1b565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135cb91906152ea565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016135fb9190614f73565b600060405180830381865afa158015613618573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136409190810190615480565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa158015613696573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136be919081019061555e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa158015613712573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137369190615342565b905060008961018001518a61016001516137509190615412565b6101a08b01519091506137638183615412565b8a1461379657896137748284615412565b60405163b9d36bcd60e01b815260048101929092526024820152604401610828565b811561381557818360a0018181516137ae9190615412565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016137e293929190615d58565b600060405180830381600087803b1580156137fc57600080fd5b505af1158015613810573d6000803e3d6000fd5b505050505b88156139c45760018560800181815161382e9190615da5565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016138959190614f73565b602060405180830381865af41580156138b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d691906153e3565b8760ff6040518463ffffffff1660e01b81526004016138f793929190615dc9565b600060405180830381600087803b15801561391157600080fd5b505af1158015613925573d6000803e3d6000fd5b5050505060008111156139c45780846060018181516139449190615412565b9052506080840180516001919061395c908390615412565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916139919190889060ff906004016159bb565b600060405180830381600087803b1580156139ab57600080fd5b505af11580156139bf573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6139db613ae2565b613a5b82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a4191906152cd565b603c60008560405180602001604052806000815250611568565b6126f5637b6a51fd60e01b610974565b613a73613ae2565b613a7c816125ec565b613a84611cfc565b6001600160a01b038216613aab5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615e2883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615e4883398151915254600160401b900460ff16613b1957604051631afcd79f60e31b815260040160405180910390fd5b565b6000806000613b326001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613b81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613ba991908101906159fb565b90506000613bbf6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c3c91908101906159fb565b9050613c5a8160400151613c4e604690565b60ff9081169116141590565b15613c91576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b6080015192949293505050565b60006112288383670de0b6b3a76400006145aa565b600080600080613cc1614694565b9296509094509092509050613cd7816078613c4e565b15613cf757604051637ab07d8760e01b8152336004820152602401610828565b50909192565b6101e5613ae2565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613d59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615947565b600033818080613d956001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015613ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e0191906152cd565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015613e5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e8091906152a5565b15613eb75760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610828565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015613f05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2991906152a5565b613f51576040516359bff0e360e11b81526001600160a01b0389166004820152602401610828565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613f91573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613fb991908101906159fb565b9050613fd081604001518960ff9081169116141590565b15614010576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610828565b60a08101516001600160a01b03868116908216146140625760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610828565b816020015193506140728461493c565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140d891906152ea565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa158015614133573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061415791906152a5565b9050806141a057604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b0389166044820152606401610828565b505050505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613d3c565b600080516020615e488339815191528054600160401b810460ff1615906001600160401b031660008115801561421d5750825b90506000826001600160401b031660011480156142395750303b155b905081158015614247575080155b156142655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561428f57845460ff60401b1916600160401b1785555b600080878060200190518101906142a69190615de2565b925090506142b4818a6139d3565b6142c463a6812b7960e01b610974565b5050831561244257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001612439565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614397573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526143bf91908101906159fb565b92506143d583604001518560ff90811691161490565b6144175760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610828565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561446d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261449591908101906159fb565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156144de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061450291906152ea565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561454f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061457391906152a5565b156145a257608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610828565b505050915091565b60008080600019858709858702925082811083820303915050806000036145e4578382816145da576145da615e11565b0492505050611228565b80841161462b5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610828565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b33600080806146ab6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa1580156146f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061471791906152cd565b604051630a4d29dd60e31b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015614772573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061479691906152a5565b156147bf5760405163aec62dbb60e01b81526001600160a01b0385166004820152602401610828565b60006147d36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614822573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261484a91908101906159fb565b90508060400151925060006148676001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156148bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526148e491908101906159fb565b90506148f68160400151613c4e604690565b1561492d576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b80608001519250505090919293565b6000806149516001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156149a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526149c891908101906159fb565b608001519392505050565b6000602082840312156149e557600080fd5b81356001600160e01b03198116811461122857600080fd5b60005b83811015614a18578181015183820152602001614a00565b50506000910152565b60008151808452614a398160208601602086016149fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614ab660c08401826001600160a01b03169052565b5060c083015160e080840152614ad0610100840182614a21565b949350505050565b6001600160601b03811681146126f757600080fd5b6001600160c01b0319811681146126f757600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614b3c57614b3c614b03565b60405290565b604080519081016001600160401b0381118282101715614b3c57614b3c614b03565b60405160e081016001600160401b0381118282101715614b3c57614b3c614b03565b60405160a081016001600160401b0381118282101715614b3c57614b3c614b03565b60405161012081016001600160401b0381118282101715614b3c57614b3c614b03565b604051601f8201601f191681016001600160401b0381118282101715614bf357614bf3614b03565b604052919050565b60006101e08284031215614c0e57600080fd5b614c16614b19565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614cd257600080fd5b8335614cdd81614ad8565b92506020840135614ced81614aed565b9150614cfc8560408601614bfb565b90509250925092565b60008060408385031215614d1857600080fd5b8235614d2381614ad8565b91506020830135614d3381614aed565b809150509250929050565b6001600160a01b03811681146126f757600080fd5b60ff811681146126f757600080fd5b80151581146126f757600080fd5b8035614d7b81614d62565b919050565b60006001600160401b03821115614d9957614d99614b03565b50601f01601f191660200190565b600082601f830112614db857600080fd5b8135614dcb614dc682614d80565b614bcb565b818152846020838601011115614de057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e1657600080fd5b8635614e2181614d3e565b95506020870135614e3181614ad8565b94506040870135614e4181614d53565b93506060870135614e5181614d62565b92506080870135614e6181614d3e565b915060a08701356001600160401b03811115614e7c57600080fd5b614e8889828a01614da7565b9150509295509295509295565b63ffffffff811681146126f757600080fd5b60008060008060008060008060006101208a8c031215614ec657600080fd5b89356001600160401b0380821115614edd57600080fd5b614ee98d838e01614da7565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f1082614e95565b90955060a08b013590614f2282614e95565b819550614f3160c08d01614d70565b9450614f3f60e08d01614d70565b93506101008c0135915080821115614f5657600080fd5b50614f638c828d01614da7565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614f9a57600080fd5b81356001600160401b03811115614fb057600080fd5b614ad084828501614da7565b600080600060608486031215614fd157600080fd5b8335614fdc81614ad8565b92506020840135614fec81614aed565b915060408401356001600160401b0381111561500757600080fd5b61501386828701614da7565b9150509250925092565b60006020828403121561502f57600080fd5b813561122881614d3e565b6000806040838503121561504d57600080fd5b823561505881614d3e565b915060208301356001600160401b0381111561507357600080fd5b61507f85828601614da7565b9150509250929050565b60008060006060848603121561509e57600080fd5b8335614fdc81614d3e565b64ffffffffff811681146126f757600080fd5b60008060008060008060c087890312156150d557600080fd5b86356150e081614ad8565b955060208701356001600160401b03808211156150fc57600080fd5b6151088a838b01614da7565b9650604089013595506060890135915061512182614e95565b909350608088013590615133826150a9565b90925060a0880135908082111561514957600080fd5b50614e8889828a01614da7565b60006040828403121561516857600080fd5b615170614b42565b9050813581526020820135602082015292915050565b6000806080838503121561519957600080fd5b6151a38484615156565b91506151b28460408501615156565b90509250929050565b60008060008061024085870312156151d257600080fd5b84356151dd81614ad8565b935060208501356151ed81614aed565b92506151fc8660408701614bfb565b939692955092936102200135925050565b6000806040838503121561522057600080fd5b823561522b81614d3e565b91506020830135614d3381614d3e565b60006020828403121561524d57600080fd5b815162ffffff8116811461122857600080fd5b600181811c9082168061527457607f821691505b60208210810361529457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614d7b81614d62565b6000602082840312156152b757600080fd5b815161122881614d62565b8051614d7b81614ad8565b6000602082840312156152df57600080fd5b815161122881614ad8565b6000602082840312156152fc57600080fd5b815161122881614d3e565b60006040828403121561531957600080fd5b615321614b42565b9050815181526020820151602082015292915050565b8051614d7b81614d3e565b6000610100828403121561535557600080fd5b60405160c081018181106001600160401b038211171561537757615377614b03565b604052825161538581614ad8565b8152602083015161539581614d3e565b60208201526153a78460408501615307565b60408201526153b98460808501615307565b606082015260c08301516153cc81614d3e565b608082015260e0929092015160a083015250919050565b6000602082840312156153f557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611562576115626153fc565b600082601f83011261543657600080fd5b8151615444614dc682614d80565b81815284602083860101111561545957600080fd5b614ad08260208301602087016149fd565b8051614d7b81614e95565b8051614d7b816150a9565b60006020828403121561549257600080fd5b81516001600160401b03808211156154a957600080fd5b9083019060e082860312156154bd57600080fd5b6154c5614b64565b6154ce836152c2565b81526020830151828111156154e257600080fd5b6154ee87828601615425565b6020830152506040830151604082015261550a6060840161546a565b606082015261551b6080840161546a565b608082015261552c60a08401615475565b60a082015260c08301518281111561554357600080fd5b61554f87828601615425565b60c08301525095945050505050565b60006020828403121561557057600080fd5b81516001600160401b038082111561558757600080fd5b9083019060a0828603121561559b57600080fd5b6155a3614b86565b82516155ae81614aed565b815260208301516155be81614d62565b60208201526040830151828111156155d557600080fd5b6155e187828601615425565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561561957600080fd5b81516001600160401b038082111561563057600080fd5b90830190610120828603121561564557600080fd5b61564d614ba8565b82518281111561565c57600080fd5b61566887828601615425565b8252506020830151602082015260408301516040820152606083015160608201526156956080840161546a565b60808201526156a660a0840161546a565b60a08201526156b760c0840161529a565b60c08201526156c860e0840161529a565b60e082015261010080840151838111156156e157600080fd5b6156ed88828701615425565b918301919091525095945050505050565b81810381811115611562576115626153fc565b60006020828403121561572357600080fd5b8151611228816150a9565b601f82111561577857600081815260208120601f850160051c810160208610156157555750805b601f850160051c820191505b8181101561577457828155600101615761565b5050505b505050565b81516001600160401b0381111561579657615796614b03565b6157aa816157a48454615260565b8461572e565b602080601f8311600181146157df57600084156157c75750858301515b600019600386901b1c1916600185901b178555615774565b600085815260208120601f198616915b8281101561580e578886015182559484019460019091019084016157ef565b508582101561582c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614ad06040830184614a21565b60006020828403121561587057600080fd5b815161122881614aed565b82815260406020820152600082516101208060408501526158a0610160850183614a21565b91506020850151606085015260408501516080850152606085015160a085015260808501516158d760c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006158ff8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159288282614a21565b9695505050505050565b6001600160401b03811681146126f757600080fd5b60006020828403121561595957600080fd5b815161122881615932565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261599b60a0850182614a21565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b03841681526060602082015260006159dd6060830185615964565b905060ff83166040830152949350505050565b8051614d7b81614d53565b600060208284031215615a0d57600080fd5b81516001600160401b0380821115615a2457600080fd5b9083019060e08286031215615a3857600080fd5b615a40614b64565b615a49836152c2565b8152615a57602084016152c2565b6020820152615a68604084016159f0565b6040820152615a796060840161529a565b6060820152615a8a60808401615337565b608082015261552c60a08401615337565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016112286020830184615a9b565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b4b57600080fd5b81516001600160401b03811115615b6157600080fd5b614ad084828501615425565b600081518084526020808501945080840160005b83811015615ba65781516001600160401b031687529582019590820190600101615b81565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615be260a0840187614a21565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615c6057868403601f19018652825180518086529089019089860190845b81811015615c4b5783516001600160e01b0319168352928b0192918b0191600101615c25565b50509689019694505091870191600101615c03565b5050508681036080880152615c758189615b6d565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614ad06040830184615964565b6020815260006112286020830184614a21565b6001600160601b0381511682526000602082015160e06020850152615ce260e0850182614a21565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152615d368282614a21565b95945050505050565b828152604060208201526000614ad06040830184615cba565b6001600160601b03841681526101408101615d766020830185615a9b565b60ff8316610120830152949350505050565b600060208284031215615d9a57600080fd5b815161122881614d53565b63ffffffff818116838216019080821115615dc257615dc26153fc565b5092915050565b8381526060602082015260006159dd6060830185615cba565b60008060408385031215615df557600080fd5b8251615e0081614d3e565b6020840151909250614d3381614d3e565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c88fb75c78fa4a171b3e2a13ace6bf784902ed1f43afe9c06dc2af06af5aeea464736f6c63430008140033",
1323
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635ab1bd531161010f578063b6b412ba116100a2578063d25f509511610071578063d25f5095146104f6578063ea86657214610509578063f21de1e81461041d578063f7c34ee01461051c57600080fd5b8063b6b412ba146104cb578063caf4e3d4146104de578063cc9fc59a146104e6578063cde749f4146104ee57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e578063ada9652e146104a1578063b68d1809146104b657600080fd5b80635ab1bd531461041d5780635dcb3bae14610442578063644c45e014610455578063675393bf1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780633d683fd9146103cc5780634420e486146103df57806349bb9e4b1461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f83660046149d3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461052f565b60405162ffffff9091168152602001610223565b6102506105b9565b6040516102239190614a4d565b61026561076d565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa3660046149d3565b610974565b6102c26102bd366004614cbc565b6109a1565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d05565b61122f565b61026561038c366004614dfd565b611568565b6103a461039f366004614ea7565b6115f4565b6040516102239190614f73565b6102656103bf366004614f88565b611baf565b610265611cfc565b6102656103da366004614fbc565b611d42565b6103f26103ed36600461501d565b611eb0565b6040516001600160601b039091168152602001610223565b61026561041836600461503a565b61234c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103f2610450366004615089565b61244b565b600080516020615e28833981519152546001600160601b03166103f2565b61026561048136600461501d565b6125ec565b61042a6126fa565b6103a461049c3660046150bc565b612831565b61028e600080516020615e2883398151915281565b60785b60405160ff9091168152602001610223565b6102656104d9366004615186565b6130c1565b61042a613347565b61042a6133de565b6104b9613408565b6102656105043660046151bb565b61347f565b61026561051736600461520d565b6139d3565b61026561052a36600461520d565b613a6b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b4919061523b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061066990615260565b80601f016020809104026020016040519081016040528092919081815260200182805461069590615260565b80156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b50505050508152505090506040518060e00160405280610700600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107516126fa565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615e2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906152a5565b156108315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108446001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b091906152a5565b6108d85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095091906152cd565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61097c613ae2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a2585613b1b565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c91906152ea565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190615342565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b9e9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b56919060040190815260200190565b602060405180830381865af4158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9791906153e3565b8451613c9e565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1391906153e3565b61014089018190526020890180519192508291610c31908390615412565b905250610c3e8a8a61122f565b610c705750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611228565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c9f908d90600401614f73565b600060405180830381865afa158015610cbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce49190810190615480565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d62919081019061555e565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d959190600401614f73565b600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda9190810190615607565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5791906153e3565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e9a92600401918252602082015260400190565b602060405180830381865af4158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb91906153e3565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5091906153e3565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f999160040190815260200190565b602060405180830381865af4158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda91906153e3565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261101d92600401918252602082015260400190565b602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906153e3565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d391906153e3565b6101c08d0181905260208701516101608e01526110f082876156fe565b6110fa91906156fe565b6101808d01526101c08c015160208d015161111591906156fe565b60408d0152505050506020820151610160890151101561118e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b876101a00151886101800151896101c001516111aa9190615412565b6111b49190615412565b8861014001511461121e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b8796505050505050505b9392505050565b600080600061123d85613b1b565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a591906152ea565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016112d09190614f73565b600060405180830381865afa1580156112ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113159190810190615480565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139791906152a5565b156113a85760009350505050611562565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142891906152a5565b8061153a575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae91906152a5565b801561153a575061153a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611501573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115259190615711565b8260a0015164ffffffffff9081169116111590565b935083801561155c5750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b611570613ae2565b61157a8287613a6b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115ea838261577d565b5050505050505050565b6000806000611601613cb3565b92509250506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a91906152ea565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de9190615342565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611742573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176691906153e3565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee91906153e3565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015611848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186c91906152a5565b1561197b57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e591906153e3565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611935573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195991906153e3565b60405163e2ed03dd60e01b815260048101929092526024820152604401610828565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119b792919061583c565b602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f8919061585e565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a3f906001600160c01b0319881690600401614f73565b602060405180830381865af4158015611a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8091906153e3565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec91906152a5565b611b9f5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611b6b908590859060040161587b565b600060405180830381600087803b158015611b8557600080fd5b505af1158015611b99573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611bd161052f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190615947565b600080516020615e488339815191528054600160401b900460ff1680611c68575080546001600160401b03808416911610155b15611c865760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611cb083613cfd565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d04613ae2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d4c613cb3565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db491906152ea565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2f919081019061555e565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611e76908990859060ff906004016159bb565b600060405180830381600087803b158015611e9057600080fd5b505af1158015611ea4573d6000803e3d6000fd5b50505050505050505050565b600080808080611ec9866078611ec4613d05565b613d7d565b93509350935093506000611edb613347565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f5591908101906159fb565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f9757600080fd5b505af1158015611fab573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120299190615342565b6040518363ffffffff1660e01b8152600401612046929190615b05565b600060405180830381600087803b15801561206057600080fd5b505af1158015612074573d6000803e3d6000fd5b5060009250600291506120849050565b6040519080825280602002602001820160405280156120b757816020015b60608152602001906001900390816120a25790505b506040805160018082528183019092529192506020808301908036833701905050816000815181106120eb576120eb615b23565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061212a5761212a615b23565b602002602001018190525063b6b412ba60e01b8160008151811061215057612150615b23565b602002602001015160008151811061216a5761216a615b23565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106121a1576121a1615b23565b60200260200101516000815181106121bb576121bb615b23565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506121ff613d05565b8160008151811061221257612212615b23565b60200260200101906001600160401b031690816001600160401b03168152505061223a6141ae565b8160018151811061224d5761224d615b23565b60200260200101906001600160401b031690816001600160401b0316815250506122756133de565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122eb9190810190615b39565b86866040518663ffffffff1660e01b815260040161230d959493929190615bb1565b600060405180830381600087803b15801561232757600080fd5b505af115801561233b573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615e488339815191528054600160401b810460ff1615906001600160401b031660008115801561237f5750825b90506000826001600160401b0316600114801561239b5750303b155b9050811580156123a9575080155b156123c75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156123f157845460ff60401b1916600160401b1785555b6123fb87876141ea565b831561244257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612458613cb3565b9250925050612465613347565b6001600160a01b03166357a8fba76040518060e00160405280612486600090565b6001600160601b03168152602001856001600160601b031681526020016124ab607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161250a9190614a4d565b6020604051808303816000875af1158015612529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254d91906152cd565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906125b09087908590600401615c85565b600060405180830381600087803b1580156125ca57600080fd5b505af11580156125de573d6000803e3d6000fd5b505050505050509392505050565b6125f4613ae2565b806001600160a01b03163b60000361262a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156126a4575060408051601f3d908101601f191682019092526126a1918101906152a5565b60015b6126cc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b806126f55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610828565b505b50565b600080600080516020615e2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561276a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278e91906152a5565b1561281b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061281591906152ea565b91505090565b54600160601b90046001600160a01b0316919050565b600080600061283e613cb3565b925092505087516000036128675787604051634fad6a5360e11b81526004016108289190615ca7565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156128bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e191906152a5565b156129085760405163df85467b60e01b815264ffffffffff86166004820152602401610828565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061296c91906152ea565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156129bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129e7919081019061555e565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612a1c908590600401614f73565b600060405180830381865afa158015612a39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a619190810190615607565b90508963ffffffff16816080015163ffffffff161015612aa2576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610828565b60208101518b1015612bbe576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2891906153e3565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9c91906153e3565b6040516338a25a8b60e21b815260048101929092526024820152604401610828565b60408101518b1115612cda576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c4491906153e3565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb891906153e3565b604051631e1ea4f360e31b815260048101929092526024820152604401610828565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d529190615711565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dcd91906153e3565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4791906153e3565b612e5191906156fe565b1115612efd5760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed691906153e3565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610828565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612f3692919061583c565b602060405180830381865af4158015612f53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f77919061585e565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b815260040161301f9190614f73565b602060405180830381865af415801561303c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306091906153e3565b836040518363ffffffff1660e01b815260040161307e929190615d3f565b600060405180830381600087803b15801561309857600080fd5b505af11580156130ac573d6000803e3d6000fd5b50505050505050505050509695505050505050565b8151815110156131db578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561311e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314291906153e3565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b991906153e3565b604051631a9c6b0960e01b815260048101929092526024820152604401610828565b6000806131e86078614308565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561322c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061325091906152ea565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240161010060405180830381865afa1580156132a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132cb9190615342565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0385169063f7b442d19061330c908590859060ff90600401615d58565b600060405180830381600087803b15801561332657600080fd5b505af115801561333a573d6000803e3d6000fd5b5050505050505050505050565b60008061335c6001546001600160a01b031690565b6001600160a01b031663d39e604360285b613375613408565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156133ba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156291906152ea565b6000806133f36001546001600160a01b031690565b6001600160a01b031663d39e6043604661336d565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561345b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615d88565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf906134c3906001600160c01b0319881690600401614f73565b602060405180830381865af41580156134e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350491906152a5565b1590506000613513868661122f565b9050818015613520575080155b1561355957604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610828565b600061356487613b1b565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135cb91906152ea565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016135fb9190614f73565b600060405180830381865afa158015613618573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136409190810190615480565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa158015613696573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136be919081019061555e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa158015613712573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137369190615342565b905060008961018001518a61016001516137509190615412565b6101a08b01519091506137638183615412565b8a1461379657896137748284615412565b60405163b9d36bcd60e01b815260048101929092526024820152604401610828565b811561381557818360a0018181516137ae9190615412565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016137e293929190615d58565b600060405180830381600087803b1580156137fc57600080fd5b505af1158015613810573d6000803e3d6000fd5b505050505b88156139c45760018560800181815161382e9190615da5565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016138959190614f73565b602060405180830381865af41580156138b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d691906153e3565b8760ff6040518463ffffffff1660e01b81526004016138f793929190615dc9565b600060405180830381600087803b15801561391157600080fd5b505af1158015613925573d6000803e3d6000fd5b5050505060008111156139c45780846060018181516139449190615412565b9052506080840180516001919061395c908390615412565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916139919190889060ff906004016159bb565b600060405180830381600087803b1580156139ab57600080fd5b505af11580156139bf573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6139db613ae2565b613a5b82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a4191906152cd565b603c60008560405180602001604052806000815250611568565b6126f5637b6a51fd60e01b610974565b613a73613ae2565b613a7c816125ec565b613a84611cfc565b6001600160a01b038216613aab5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615e2883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615e4883398151915254600160401b900460ff16613b1957604051631afcd79f60e31b815260040160405180910390fd5b565b6000806000613b326001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613b81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613ba991908101906159fb565b90506000613bbf6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c3c91908101906159fb565b9050613c5a8160400151613c4e604690565b60ff9081169116141590565b15613c91576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b6080015192949293505050565b60006112288383670de0b6b3a76400006145aa565b600080600080613cc1614694565b9296509094509092509050613cd7816078613c4e565b15613cf757604051637ab07d8760e01b8152336004820152602401610828565b50909192565b6101e5613ae2565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613d59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615947565b600033818080613d956001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015613ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e0191906152cd565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015613e5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e8091906152a5565b15613eb75760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610828565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015613f05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2991906152a5565b613f51576040516359bff0e360e11b81526001600160a01b0389166004820152602401610828565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613f91573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613fb991908101906159fb565b9050613fd081604001518960ff9081169116141590565b15614010576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610828565b60a08101516001600160a01b03868116908216146140625760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610828565b816020015193506140728461493c565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140d891906152ea565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa158015614133573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061415791906152a5565b9050806141a057604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b0389166044820152606401610828565b505050505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613d3c565b600080516020615e488339815191528054600160401b810460ff1615906001600160401b031660008115801561421d5750825b90506000826001600160401b031660011480156142395750303b155b905081158015614247575080155b156142655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561428f57845460ff60401b1916600160401b1785555b600080878060200190518101906142a69190615de2565b925090506142b4818a6139d3565b6142c463a6812b7960e01b610974565b5050831561244257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001612439565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614397573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526143bf91908101906159fb565b92506143d583604001518560ff90811691161490565b6144175760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610828565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561446d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261449591908101906159fb565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156144de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061450291906152ea565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561454f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061457391906152a5565b156145a257608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610828565b505050915091565b60008080600019858709858702925082811083820303915050806000036145e4578382816145da576145da615e11565b0492505050611228565b80841161462b5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610828565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b33600080806146ab6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa1580156146f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061471791906152cd565b604051630a4d29dd60e31b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015614772573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061479691906152a5565b156147bf5760405163aec62dbb60e01b81526001600160a01b0385166004820152602401610828565b60006147d36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614822573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261484a91908101906159fb565b90508060400151925060006148676001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156148bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526148e491908101906159fb565b90506148f68160400151613c4e604690565b1561492d576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b80608001519250505090919293565b6000806149516001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156149a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526149c891908101906159fb565b608001519392505050565b6000602082840312156149e557600080fd5b81356001600160e01b03198116811461122857600080fd5b60005b83811015614a18578181015183820152602001614a00565b50506000910152565b60008151808452614a398160208601602086016149fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614ab660c08401826001600160a01b03169052565b5060c083015160e080840152614ad0610100840182614a21565b949350505050565b6001600160601b03811681146126f757600080fd5b6001600160c01b0319811681146126f757600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614b3c57614b3c614b03565b60405290565b604080519081016001600160401b0381118282101715614b3c57614b3c614b03565b60405160e081016001600160401b0381118282101715614b3c57614b3c614b03565b60405160a081016001600160401b0381118282101715614b3c57614b3c614b03565b60405161012081016001600160401b0381118282101715614b3c57614b3c614b03565b604051601f8201601f191681016001600160401b0381118282101715614bf357614bf3614b03565b604052919050565b60006101e08284031215614c0e57600080fd5b614c16614b19565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614cd257600080fd5b8335614cdd81614ad8565b92506020840135614ced81614aed565b9150614cfc8560408601614bfb565b90509250925092565b60008060408385031215614d1857600080fd5b8235614d2381614ad8565b91506020830135614d3381614aed565b809150509250929050565b6001600160a01b03811681146126f757600080fd5b60ff811681146126f757600080fd5b80151581146126f757600080fd5b8035614d7b81614d62565b919050565b60006001600160401b03821115614d9957614d99614b03565b50601f01601f191660200190565b600082601f830112614db857600080fd5b8135614dcb614dc682614d80565b614bcb565b818152846020838601011115614de057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e1657600080fd5b8635614e2181614d3e565b95506020870135614e3181614ad8565b94506040870135614e4181614d53565b93506060870135614e5181614d62565b92506080870135614e6181614d3e565b915060a08701356001600160401b03811115614e7c57600080fd5b614e8889828a01614da7565b9150509295509295509295565b63ffffffff811681146126f757600080fd5b60008060008060008060008060006101208a8c031215614ec657600080fd5b89356001600160401b0380821115614edd57600080fd5b614ee98d838e01614da7565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f1082614e95565b90955060a08b013590614f2282614e95565b819550614f3160c08d01614d70565b9450614f3f60e08d01614d70565b93506101008c0135915080821115614f5657600080fd5b50614f638c828d01614da7565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614f9a57600080fd5b81356001600160401b03811115614fb057600080fd5b614ad084828501614da7565b600080600060608486031215614fd157600080fd5b8335614fdc81614ad8565b92506020840135614fec81614aed565b915060408401356001600160401b0381111561500757600080fd5b61501386828701614da7565b9150509250925092565b60006020828403121561502f57600080fd5b813561122881614d3e565b6000806040838503121561504d57600080fd5b823561505881614d3e565b915060208301356001600160401b0381111561507357600080fd5b61507f85828601614da7565b9150509250929050565b60008060006060848603121561509e57600080fd5b8335614fdc81614d3e565b64ffffffffff811681146126f757600080fd5b60008060008060008060c087890312156150d557600080fd5b86356150e081614ad8565b955060208701356001600160401b03808211156150fc57600080fd5b6151088a838b01614da7565b9650604089013595506060890135915061512182614e95565b909350608088013590615133826150a9565b90925060a0880135908082111561514957600080fd5b50614e8889828a01614da7565b60006040828403121561516857600080fd5b615170614b42565b9050813581526020820135602082015292915050565b6000806080838503121561519957600080fd5b6151a38484615156565b91506151b28460408501615156565b90509250929050565b60008060008061024085870312156151d257600080fd5b84356151dd81614ad8565b935060208501356151ed81614aed565b92506151fc8660408701614bfb565b939692955092936102200135925050565b6000806040838503121561522057600080fd5b823561522b81614d3e565b91506020830135614d3381614d3e565b60006020828403121561524d57600080fd5b815162ffffff8116811461122857600080fd5b600181811c9082168061527457607f821691505b60208210810361529457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614d7b81614d62565b6000602082840312156152b757600080fd5b815161122881614d62565b8051614d7b81614ad8565b6000602082840312156152df57600080fd5b815161122881614ad8565b6000602082840312156152fc57600080fd5b815161122881614d3e565b60006040828403121561531957600080fd5b615321614b42565b9050815181526020820151602082015292915050565b8051614d7b81614d3e565b6000610100828403121561535557600080fd5b60405160c081018181106001600160401b038211171561537757615377614b03565b604052825161538581614ad8565b8152602083015161539581614d3e565b60208201526153a78460408501615307565b60408201526153b98460808501615307565b606082015260c08301516153cc81614d3e565b608082015260e0929092015160a083015250919050565b6000602082840312156153f557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611562576115626153fc565b600082601f83011261543657600080fd5b8151615444614dc682614d80565b81815284602083860101111561545957600080fd5b614ad08260208301602087016149fd565b8051614d7b81614e95565b8051614d7b816150a9565b60006020828403121561549257600080fd5b81516001600160401b03808211156154a957600080fd5b9083019060e082860312156154bd57600080fd5b6154c5614b64565b6154ce836152c2565b81526020830151828111156154e257600080fd5b6154ee87828601615425565b6020830152506040830151604082015261550a6060840161546a565b606082015261551b6080840161546a565b608082015261552c60a08401615475565b60a082015260c08301518281111561554357600080fd5b61554f87828601615425565b60c08301525095945050505050565b60006020828403121561557057600080fd5b81516001600160401b038082111561558757600080fd5b9083019060a0828603121561559b57600080fd5b6155a3614b86565b82516155ae81614aed565b815260208301516155be81614d62565b60208201526040830151828111156155d557600080fd5b6155e187828601615425565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561561957600080fd5b81516001600160401b038082111561563057600080fd5b90830190610120828603121561564557600080fd5b61564d614ba8565b82518281111561565c57600080fd5b61566887828601615425565b8252506020830151602082015260408301516040820152606083015160608201526156956080840161546a565b60808201526156a660a0840161546a565b60a08201526156b760c0840161529a565b60c08201526156c860e0840161529a565b60e082015261010080840151838111156156e157600080fd5b6156ed88828701615425565b918301919091525095945050505050565b81810381811115611562576115626153fc565b60006020828403121561572357600080fd5b8151611228816150a9565b601f82111561577857600081815260208120601f850160051c810160208610156157555750805b601f850160051c820191505b8181101561577457828155600101615761565b5050505b505050565b81516001600160401b0381111561579657615796614b03565b6157aa816157a48454615260565b8461572e565b602080601f8311600181146157df57600084156157c75750858301515b600019600386901b1c1916600185901b178555615774565b600085815260208120601f198616915b8281101561580e578886015182559484019460019091019084016157ef565b508582101561582c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614ad06040830184614a21565b60006020828403121561587057600080fd5b815161122881614aed565b82815260406020820152600082516101208060408501526158a0610160850183614a21565b91506020850151606085015260408501516080850152606085015160a085015260808501516158d760c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006158ff8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159288282614a21565b9695505050505050565b6001600160401b03811681146126f757600080fd5b60006020828403121561595957600080fd5b815161122881615932565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261599b60a0850182614a21565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b03841681526060602082015260006159dd6060830185615964565b905060ff83166040830152949350505050565b8051614d7b81614d53565b600060208284031215615a0d57600080fd5b81516001600160401b0380821115615a2457600080fd5b9083019060e08286031215615a3857600080fd5b615a40614b64565b615a49836152c2565b8152615a57602084016152c2565b6020820152615a68604084016159f0565b6040820152615a796060840161529a565b6060820152615a8a60808401615337565b608082015261552c60a08401615337565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016112286020830184615a9b565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b4b57600080fd5b81516001600160401b03811115615b6157600080fd5b614ad084828501615425565b600081518084526020808501945080840160005b83811015615ba65781516001600160401b031687529582019590820190600101615b81565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615be260a0840187614a21565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615c6057868403601f19018652825180518086529089019089860190845b81811015615c4b5783516001600160e01b0319168352928b0192918b0191600101615c25565b50509689019694505091870191600101615c03565b5050508681036080880152615c758189615b6d565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614ad06040830184615964565b6020815260006112286020830184614a21565b6001600160601b0381511682526000602082015160e06020850152615ce260e0850182614a21565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152615d368282614a21565b95945050505050565b828152604060208201526000614ad06040830184615cba565b6001600160601b03841681526101408101615d766020830185615a9b565b60ff8316610120830152949350505050565b600060208284031215615d9a57600080fd5b815161122881614d53565b63ffffffff818116838216019080821115615dc257615dc26153fc565b5092915050565b8381526060602082015260006159dd6060830185615cba565b60008060408385031215615df557600080fd5b8251615e0081614d3e565b6020840151909250614d3381614d3e565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c88fb75c78fa4a171b3e2a13ace6bf784902ed1f43afe9c06dc2af06af5aeea464736f6c63430008140033",
538
1324
  "linkReferences": {
539
- "contracts/types/Blocknumber.sol": {
540
- "BlocknumberLib": [
1325
+ "contracts/types/DistributorType.sol": {
1326
+ "DistributorTypeLib": [
1327
+ {
1328
+ "length": 20,
1329
+ "start": 6758
1330
+ },
541
1331
  {
542
1332
  "length": 20,
543
- "start": 4891
1333
+ "start": 6899
544
1334
  }
545
1335
  ]
546
1336
  },
@@ -548,49 +1338,203 @@
548
1338
  "NftIdLib": [
549
1339
  {
550
1340
  "length": 20,
551
- "start": 3936
1341
+ "start": 2184
1342
+ },
1343
+ {
1344
+ "length": 20,
1345
+ "start": 5151
552
1346
  },
553
1347
  {
554
1348
  "length": 20,
555
- "start": 5035
1349
+ "start": 10262
556
1350
  },
557
1351
  {
558
1352
  "length": 20,
559
- "start": 6527
1353
+ "start": 16136
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 18462
560
1358
  }
561
1359
  ]
562
1360
  },
563
- "contracts/types/Version.sol": {
564
- "VersionLib": [
1361
+ "contracts/types/Referral.sol": {
1362
+ "ReferralLib": [
1363
+ {
1364
+ "length": 20,
1365
+ "start": 12261
1366
+ },
1367
+ {
1368
+ "length": 20,
1369
+ "start": 12495
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 13687
1374
+ },
1375
+ {
1376
+ "length": 20,
1377
+ "start": 14661
1378
+ }
1379
+ ]
1380
+ },
1381
+ "contracts/types/RoleId.sol": {
1382
+ "RoleIdLib": [
1383
+ {
1384
+ "length": 20,
1385
+ "start": 15876
1386
+ },
1387
+ {
1388
+ "length": 20,
1389
+ "start": 17070
1390
+ }
1391
+ ]
1392
+ },
1393
+ "contracts/types/Timestamp.sol": {
1394
+ "TimestampLib": [
1395
+ {
1396
+ "length": 20,
1397
+ "start": 5296
1398
+ },
1399
+ {
1400
+ "length": 20,
1401
+ "start": 5430
1402
+ },
1403
+ {
1404
+ "length": 20,
1405
+ "start": 5536
1406
+ },
565
1407
  {
566
1408
  "length": 20,
567
- "start": 640
1409
+ "start": 10601
568
1410
  },
569
1411
  {
570
1412
  "length": 20,
571
- "start": 990
1413
+ "start": 11725
572
1414
  },
573
1415
  {
574
1416
  "length": 20,
575
- "start": 3407
1417
+ "start": 11861
576
1418
  },
577
1419
  {
578
1420
  "length": 20,
579
- "start": 5275
1421
+ "start": 11983
1422
+ },
1423
+ {
1424
+ "length": 20,
1425
+ "start": 12126
1426
+ }
1427
+ ]
1428
+ },
1429
+ "contracts/types/UFixed.sol": {
1430
+ "UFixedLib": [
1431
+ {
1432
+ "length": 20,
1433
+ "start": 3089
1434
+ },
1435
+ {
1436
+ "length": 20,
1437
+ "start": 3227
1438
+ },
1439
+ {
1440
+ "length": 20,
1441
+ "start": 3807
1442
+ },
1443
+ {
1444
+ "length": 20,
1445
+ "start": 3921
1446
+ },
1447
+ {
1448
+ "length": 20,
1449
+ "start": 4056
1450
+ },
1451
+ {
1452
+ "length": 20,
1453
+ "start": 4181
1454
+ },
1455
+ {
1456
+ "length": 20,
1457
+ "start": 4308
1458
+ },
1459
+ {
1460
+ "length": 20,
1461
+ "start": 4443
1462
+ },
1463
+ {
1464
+ "length": 20,
1465
+ "start": 6126
1466
+ },
1467
+ {
1468
+ "length": 20,
1469
+ "start": 6262
1470
+ },
1471
+ {
1472
+ "length": 20,
1473
+ "start": 6388
1474
+ },
1475
+ {
1476
+ "length": 20,
1477
+ "start": 6509
1478
+ },
1479
+ {
1480
+ "length": 20,
1481
+ "start": 6625
1482
+ },
1483
+ {
1484
+ "length": 20,
1485
+ "start": 11184
1486
+ },
1487
+ {
1488
+ "length": 20,
1489
+ "start": 11300
1490
+ },
1491
+ {
1492
+ "length": 20,
1493
+ "start": 11468
1494
+ },
1495
+ {
1496
+ "length": 20,
1497
+ "start": 11584
1498
+ },
1499
+ {
1500
+ "length": 20,
1501
+ "start": 12746
1502
+ },
1503
+ {
1504
+ "length": 20,
1505
+ "start": 12865
1506
+ }
1507
+ ]
1508
+ },
1509
+ "contracts/types/Version.sol": {
1510
+ "VersionLib": [
1511
+ {
1512
+ "length": 20,
1513
+ "start": 1596
580
1514
  },
581
1515
  {
582
1516
  "length": 20,
583
- "start": 5957
1517
+ "start": 7319
1518
+ }
1519
+ ],
1520
+ "VersionPartLib": [
1521
+ {
1522
+ "length": 20,
1523
+ "start": 13575
584
1524
  }
585
1525
  ]
586
1526
  }
587
1527
  },
588
1528
  "deployedLinkReferences": {
589
- "contracts/types/Blocknumber.sol": {
590
- "BlocknumberLib": [
1529
+ "contracts/types/DistributorType.sol": {
1530
+ "DistributorTypeLib": [
1531
+ {
1532
+ "length": 20,
1533
+ "start": 6528
1534
+ },
591
1535
  {
592
1536
  "length": 20,
593
- "start": 2682
1537
+ "start": 6669
594
1538
  }
595
1539
  ]
596
1540
  },
@@ -598,15 +1542,171 @@
598
1542
  "NftIdLib": [
599
1543
  {
600
1544
  "length": 20,
601
- "start": 1727
1545
+ "start": 1954
1546
+ },
1547
+ {
1548
+ "length": 20,
1549
+ "start": 4921
1550
+ },
1551
+ {
1552
+ "length": 20,
1553
+ "start": 10032
1554
+ },
1555
+ {
1556
+ "length": 20,
1557
+ "start": 15906
1558
+ },
1559
+ {
1560
+ "length": 20,
1561
+ "start": 18232
1562
+ }
1563
+ ]
1564
+ },
1565
+ "contracts/types/Referral.sol": {
1566
+ "ReferralLib": [
1567
+ {
1568
+ "length": 20,
1569
+ "start": 12031
1570
+ },
1571
+ {
1572
+ "length": 20,
1573
+ "start": 12265
1574
+ },
1575
+ {
1576
+ "length": 20,
1577
+ "start": 13457
1578
+ },
1579
+ {
1580
+ "length": 20,
1581
+ "start": 14431
1582
+ }
1583
+ ]
1584
+ },
1585
+ "contracts/types/RoleId.sol": {
1586
+ "RoleIdLib": [
1587
+ {
1588
+ "length": 20,
1589
+ "start": 15646
1590
+ },
1591
+ {
1592
+ "length": 20,
1593
+ "start": 16840
1594
+ }
1595
+ ]
1596
+ },
1597
+ "contracts/types/Timestamp.sol": {
1598
+ "TimestampLib": [
1599
+ {
1600
+ "length": 20,
1601
+ "start": 5066
1602
+ },
1603
+ {
1604
+ "length": 20,
1605
+ "start": 5200
1606
+ },
1607
+ {
1608
+ "length": 20,
1609
+ "start": 5306
1610
+ },
1611
+ {
1612
+ "length": 20,
1613
+ "start": 10371
1614
+ },
1615
+ {
1616
+ "length": 20,
1617
+ "start": 11495
1618
+ },
1619
+ {
1620
+ "length": 20,
1621
+ "start": 11631
1622
+ },
1623
+ {
1624
+ "length": 20,
1625
+ "start": 11753
1626
+ },
1627
+ {
1628
+ "length": 20,
1629
+ "start": 11896
1630
+ }
1631
+ ]
1632
+ },
1633
+ "contracts/types/UFixed.sol": {
1634
+ "UFixedLib": [
1635
+ {
1636
+ "length": 20,
1637
+ "start": 2859
1638
+ },
1639
+ {
1640
+ "length": 20,
1641
+ "start": 2997
1642
+ },
1643
+ {
1644
+ "length": 20,
1645
+ "start": 3577
1646
+ },
1647
+ {
1648
+ "length": 20,
1649
+ "start": 3691
1650
+ },
1651
+ {
1652
+ "length": 20,
1653
+ "start": 3826
1654
+ },
1655
+ {
1656
+ "length": 20,
1657
+ "start": 3951
1658
+ },
1659
+ {
1660
+ "length": 20,
1661
+ "start": 4078
1662
+ },
1663
+ {
1664
+ "length": 20,
1665
+ "start": 4213
1666
+ },
1667
+ {
1668
+ "length": 20,
1669
+ "start": 5896
1670
+ },
1671
+ {
1672
+ "length": 20,
1673
+ "start": 6032
1674
+ },
1675
+ {
1676
+ "length": 20,
1677
+ "start": 6158
1678
+ },
1679
+ {
1680
+ "length": 20,
1681
+ "start": 6279
1682
+ },
1683
+ {
1684
+ "length": 20,
1685
+ "start": 6395
1686
+ },
1687
+ {
1688
+ "length": 20,
1689
+ "start": 10954
1690
+ },
1691
+ {
1692
+ "length": 20,
1693
+ "start": 11070
1694
+ },
1695
+ {
1696
+ "length": 20,
1697
+ "start": 11238
1698
+ },
1699
+ {
1700
+ "length": 20,
1701
+ "start": 11354
602
1702
  },
603
1703
  {
604
1704
  "length": 20,
605
- "start": 2826
1705
+ "start": 12516
606
1706
  },
607
1707
  {
608
1708
  "length": 20,
609
- "start": 4318
1709
+ "start": 12635
610
1710
  }
611
1711
  ]
612
1712
  },
@@ -614,15 +1714,17 @@
614
1714
  "VersionLib": [
615
1715
  {
616
1716
  "length": 20,
617
- "start": 1198
1717
+ "start": 1366
618
1718
  },
619
1719
  {
620
1720
  "length": 20,
621
- "start": 3066
622
- },
1721
+ "start": 7089
1722
+ }
1723
+ ],
1724
+ "VersionPartLib": [
623
1725
  {
624
1726
  "length": 20,
625
- "start": 3748
1727
+ "start": 13345
626
1728
  }
627
1729
  ]
628
1730
  }