@etherisc/gif-next 0.0.2-efef0ea-320 → 0.0.2-f034782-101

Sign up to get free protection for your applications and to get access to all the features.
Files changed (485) hide show
  1. package/README.md +283 -27
  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 +1046 -132
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +279 -226
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +584 -55
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +598 -131
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +430 -70
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1012 -234
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +830 -117
  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 +1410 -1111
  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 +2042 -1245
  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} +293 -204
  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/{access/IAccess.sol/IAccess.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 +1527 -302
  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} +213 -209
  87. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +793 -146
  89. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  91. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +168 -221
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +96 -383
  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 +426 -232
  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 +320 -488
  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 +199 -12
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  113. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  115. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -101
  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 +4 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  121. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  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 +4 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  132. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
  133. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  134. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
  137. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  138. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  139. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  140. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +105 -177
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  153. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  154. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +207 -169
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  158. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +4 -177
  161. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  163. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
  165. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  167. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestService.sol/TestService.json +241 -186
  169. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  171. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  173. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +13 -202
  175. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  176. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  180. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  182. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  183. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  185. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  187. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  189. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  191. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  192. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  193. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  194. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  195. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  197. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  199. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  201. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  203. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  205. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  207. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  209. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  211. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  212. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  213. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  214. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  215. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  216. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  217. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  219. package/contracts/components/Component.sol +251 -0
  220. package/contracts/components/Distribution.sol +210 -62
  221. package/contracts/components/IComponent.sol +74 -0
  222. package/contracts/components/IDistributionComponent.sol +43 -19
  223. package/contracts/components/IPoolComponent.sol +89 -47
  224. package/contracts/components/IProductComponent.sol +13 -11
  225. package/contracts/components/Pool.sol +220 -156
  226. package/contracts/components/Product.sol +137 -71
  227. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  228. package/contracts/instance/BundleManager.sol +127 -0
  229. package/contracts/instance/Cloneable.sol +51 -0
  230. package/contracts/instance/IInstance.sol +87 -42
  231. package/contracts/instance/IInstanceService.sol +72 -0
  232. package/contracts/instance/Instance.sol +311 -58
  233. package/contracts/instance/InstanceAccessManager.sol +522 -0
  234. package/contracts/instance/InstanceReader.sol +290 -0
  235. package/contracts/instance/InstanceService.sol +495 -0
  236. package/contracts/instance/InstanceServiceManager.sol +54 -0
  237. package/contracts/instance/ObjectManager.sol +82 -0
  238. package/contracts/instance/base/ComponentService.sol +134 -0
  239. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  240. package/contracts/instance/base/ILifecycle.sol +3 -3
  241. package/contracts/instance/base/KeyValueStore.sol +52 -38
  242. package/contracts/instance/base/Lifecycle.sol +12 -3
  243. package/contracts/instance/module/IAccess.sol +54 -0
  244. package/contracts/instance/module/IBundle.sol +21 -0
  245. package/contracts/instance/module/IComponents.sol +35 -0
  246. package/contracts/instance/module/IDistribution.sol +41 -0
  247. package/contracts/instance/module/IPolicy.sol +72 -0
  248. package/contracts/instance/module/IRisk.sol +11 -0
  249. package/contracts/instance/module/ISetup.sol +33 -0
  250. package/contracts/instance/module/ITreasury.sol +23 -0
  251. package/contracts/instance/service/ApplicationService.sol +350 -0
  252. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  253. package/contracts/instance/service/BundleService.sol +336 -0
  254. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  255. package/contracts/instance/service/ClaimService.sol +151 -0
  256. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  257. package/contracts/instance/service/DistributionService.sol +434 -26
  258. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  259. package/contracts/instance/service/IApplicationService.sol +82 -0
  260. package/contracts/instance/service/IBundleService.sol +62 -0
  261. package/contracts/instance/service/IClaimService.sol +61 -0
  262. package/contracts/instance/service/IDistributionService.sol +87 -1
  263. package/contracts/instance/service/IPolicyService.sol +72 -0
  264. package/contracts/instance/service/IPoolService.sol +22 -24
  265. package/contracts/instance/service/IProductService.sol +9 -76
  266. package/contracts/instance/service/PolicyService.sol +403 -0
  267. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  268. package/contracts/instance/service/PoolService.sol +182 -111
  269. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  270. package/contracts/instance/service/ProductService.sol +166 -434
  271. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  272. package/contracts/registry/ChainNft.sol +87 -36
  273. package/contracts/registry/IRegistry.sol +68 -24
  274. package/contracts/registry/IRegistryService.sol +67 -0
  275. package/contracts/registry/ITransferInterceptor.sol +7 -0
  276. package/contracts/registry/Registry.sol +372 -286
  277. package/contracts/registry/RegistryAccessManager.sol +216 -0
  278. package/contracts/registry/RegistryService.sol +283 -0
  279. package/contracts/registry/RegistryServiceManager.sol +62 -0
  280. package/contracts/registry/ReleaseManager.sol +322 -0
  281. package/contracts/registry/TokenRegistry.sol +116 -0
  282. package/contracts/shared/ContractDeployerLib.sol +72 -0
  283. package/contracts/shared/ERC165.sol +14 -8
  284. package/contracts/shared/INftOwnable.sol +23 -0
  285. package/contracts/shared/IPolicyHolder.sol +26 -0
  286. package/contracts/shared/IRegisterable.sol +10 -19
  287. package/contracts/shared/IRegistryLinked.sol +12 -0
  288. package/contracts/shared/IService.sol +18 -0
  289. package/contracts/shared/IVersionable.sol +37 -49
  290. package/contracts/shared/NftOwnable.sol +120 -0
  291. package/contracts/shared/PolicyHolder.sol +81 -0
  292. package/contracts/shared/ProxyManager.sol +169 -0
  293. package/contracts/shared/Registerable.sol +54 -66
  294. package/contracts/shared/RegistryLinked.sol +48 -0
  295. package/contracts/shared/Service.sol +58 -0
  296. package/contracts/shared/TokenHandler.sol +33 -0
  297. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  298. package/contracts/shared/Versionable.sol +37 -77
  299. package/contracts/test/TestFee.sol +2 -2
  300. package/contracts/test/TestRegisterable.sol +5 -6
  301. package/contracts/test/TestRoleId.sol +1 -1
  302. package/contracts/test/TestService.sol +7 -14
  303. package/contracts/types/Blocknumber.sol +1 -0
  304. package/contracts/types/ClaimId.sol +52 -0
  305. package/contracts/types/DistributorType.sol +55 -0
  306. package/contracts/types/Fee.sol +4 -3
  307. package/contracts/types/Key32.sol +8 -3
  308. package/contracts/types/NftId.sol +8 -0
  309. package/contracts/types/NftIdSet.sol +26 -24
  310. package/contracts/types/NumberId.sol +52 -0
  311. package/contracts/types/ObjectType.sol +40 -14
  312. package/contracts/types/PayoutId.sol +54 -0
  313. package/contracts/types/Referral.sol +89 -0
  314. package/contracts/types/RoleId.sol +68 -9
  315. package/contracts/types/Seconds.sol +54 -0
  316. package/contracts/types/StateId.sol +6 -1
  317. package/contracts/types/Timestamp.sol +17 -13
  318. package/contracts/types/UFixed.sol +129 -12
  319. package/contracts/types/Version.sol +6 -1
  320. package/package.json +6 -5
  321. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  322. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  323. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  326. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  328. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  330. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  332. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  334. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  336. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  338. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  340. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  343. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  345. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  347. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  349. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  351. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  353. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  355. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  356. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  357. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  358. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  359. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -387
  360. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  361. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  362. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  363. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  364. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  365. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  368. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  371. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  373. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  376. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  378. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  379. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  380. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  383. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  386. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  387. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  389. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  391. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  393. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  394. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  395. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  397. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  400. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  401. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  402. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  403. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  405. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  406. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  407. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  409. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  410. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -618
  411. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  412. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  413. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  414. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  415. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
  416. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
  417. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  418. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  419. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
  420. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
  421. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  422. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
  423. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
  424. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  425. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  426. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  427. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  428. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  429. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  430. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  431. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  432. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  433. package/contracts/components/BaseComponent.sol +0 -94
  434. package/contracts/components/IBaseComponent.sol +0 -19
  435. package/contracts/experiment/errors/Require.sol +0 -38
  436. package/contracts/experiment/errors/Revert.sol +0 -44
  437. package/contracts/experiment/inheritance/A.sol +0 -53
  438. package/contracts/experiment/inheritance/B.sol +0 -28
  439. package/contracts/experiment/inheritance/C.sol +0 -34
  440. package/contracts/experiment/inheritance/IA.sol +0 -13
  441. package/contracts/experiment/inheritance/IB.sol +0 -10
  442. package/contracts/experiment/inheritance/IC.sol +0 -12
  443. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  444. package/contracts/experiment/statemachine/ISM.sol +0 -25
  445. package/contracts/experiment/statemachine/README.md +0 -112
  446. package/contracts/experiment/statemachine/SM.sol +0 -57
  447. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  448. package/contracts/experiment/types/TypeA.sol +0 -47
  449. package/contracts/experiment/types/TypeB.sol +0 -29
  450. package/contracts/instance/IInstanceLinked.sol +0 -8
  451. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  452. package/contracts/instance/base/IInstanceBase.sol +0 -22
  453. package/contracts/instance/base/IService.sol +0 -15
  454. package/contracts/instance/base/InstanceBase.sol +0 -91
  455. package/contracts/instance/base/ModuleBase.sol +0 -57
  456. package/contracts/instance/base/ServiceBase.sol +0 -37
  457. package/contracts/instance/module/access/Access.sol +0 -149
  458. package/contracts/instance/module/access/IAccess.sol +0 -53
  459. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  460. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  461. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  462. package/contracts/instance/module/component/IComponent.sol +0 -28
  463. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  464. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  465. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  466. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  467. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  468. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  469. package/contracts/instance/module/risk/IRisk.sol +0 -26
  470. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  471. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  472. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  473. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  474. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  475. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  476. package/contracts/registry/IChainNft.sol +0 -21
  477. package/contracts/registry/IRegistryLinked.sol +0 -8
  478. package/contracts/registry/RegistryUpgradeable.sol +0 -488
  479. package/contracts/shared/IOwnable.sol +0 -6
  480. package/contracts/shared/Proxy.sol +0 -94
  481. package/contracts/shared/VersionableUpgradeable.sol +0 -136
  482. package/contracts/test/TestDistribution.sol +0 -21
  483. package/contracts/test/TestPool.sol +0 -25
  484. package/contracts/test/TestProduct.sol +0 -72
  485. package/contracts/types/ReferralId.sol +0 -48
@@ -7,487 +7,1706 @@
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
16
  "type": "uint96"
17
17
  }
18
18
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
21
- },
22
- {
23
- "inputs": [],
24
- "name": "InvalidInitialization",
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
25
20
  "type": "error"
26
21
  },
27
22
  {
28
- "inputs": [],
29
- "name": "NotInitializing",
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
30
31
  "type": "error"
31
32
  },
32
33
  {
33
- "anonymous": false,
34
34
  "inputs": [
35
35
  {
36
- "indexed": false,
37
- "internalType": "uint64",
38
- "name": "version",
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
39
43
  "type": "uint64"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "sender",
48
+ "type": "address"
40
49
  }
41
50
  ],
42
- "name": "Initialized",
43
- "type": "event"
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
52
+ "type": "error"
44
53
  },
45
54
  {
46
- "anonymous": false,
47
55
  "inputs": [
48
56
  {
49
- "indexed": false,
50
- "internalType": "Version",
51
- "name": "version",
52
- "type": "uint24"
53
- },
54
- {
55
- "indexed": false,
56
57
  "internalType": "address",
57
- "name": "implementation",
58
+ "name": "component",
58
59
  "type": "address"
59
60
  },
60
61
  {
61
- "indexed": false,
62
- "internalType": "address",
63
- "name": "activatedBy",
64
- "type": "address"
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
65
70
  }
66
71
  ],
67
- "name": "LogVersionableActivated",
68
- "type": "event"
72
+ "name": "ErrorComponentServiceInvalidType",
73
+ "type": "error"
69
74
  },
70
75
  {
71
- "inputs": [],
72
- "name": "NAME",
73
- "outputs": [
76
+ "inputs": [
74
77
  {
75
- "internalType": "string",
76
- "name": "",
77
- "type": "string"
78
+ "internalType": "address",
79
+ "name": "component",
80
+ "type": "address"
78
81
  }
79
82
  ],
80
- "stateMutability": "view",
81
- "type": "function"
83
+ "name": "ErrorComponentServiceNotComponent",
84
+ "type": "error"
82
85
  },
83
86
  {
84
87
  "inputs": [
85
88
  {
86
89
  "internalType": "address",
87
- "name": "implementation",
90
+ "name": "component",
88
91
  "type": "address"
89
92
  },
90
93
  {
91
94
  "internalType": "address",
92
- "name": "activatedBy",
95
+ "name": "initialOwner",
93
96
  "type": "address"
94
97
  },
95
98
  {
96
- "internalType": "bytes",
97
- "name": "activatinData",
98
- "type": "bytes"
99
+ "internalType": "address",
100
+ "name": "sender",
101
+ "type": "address"
99
102
  }
100
103
  ],
101
- "name": "activate",
102
- "outputs": [],
103
- "stateMutability": "nonpayable",
104
- "type": "function"
104
+ "name": "ErrorComponentServiceSenderNotOwner",
105
+ "type": "error"
105
106
  },
106
107
  {
107
- "inputs": [],
108
- "name": "getData",
109
- "outputs": [
108
+ "inputs": [
110
109
  {
111
- "internalType": "bytes",
112
- "name": "data",
113
- "type": "bytes"
110
+ "internalType": "address",
111
+ "name": "target",
112
+ "type": "address"
114
113
  }
115
114
  ],
116
- "stateMutability": "view",
117
- "type": "function"
115
+ "name": "ErrorIAccessTargetLocked",
116
+ "type": "error"
118
117
  },
119
118
  {
120
- "inputs": [],
121
- "name": "getInitializedVersion",
122
- "outputs": [
119
+ "inputs": [
123
120
  {
124
- "internalType": "uint64",
125
- "name": "",
126
- "type": "uint64"
121
+ "internalType": "address",
122
+ "name": "caller",
123
+ "type": "address"
127
124
  }
128
125
  ],
129
- "stateMutability": "view",
130
- "type": "function"
126
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
127
+ "type": "error"
131
128
  },
132
129
  {
133
- "inputs": [],
134
- "name": "getMajorVersion",
135
- "outputs": [
130
+ "inputs": [
136
131
  {
137
- "internalType": "VersionPart",
138
- "name": "majorVersion",
139
- "type": "uint8"
132
+ "internalType": "uint256",
133
+ "name": "commissionPercentage",
134
+ "type": "uint256"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "maxCommissionPercentage",
139
+ "type": "uint256"
140
140
  }
141
141
  ],
142
- "stateMutability": "view",
143
- "type": "function"
142
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
143
+ "type": "error"
144
144
  },
145
145
  {
146
- "inputs": [],
147
- "name": "getName",
148
- "outputs": [
146
+ "inputs": [
149
147
  {
150
- "internalType": "string",
151
- "name": "name",
152
- "type": "string"
148
+ "internalType": "uint256",
149
+ "name": "maxDiscountPercentage",
150
+ "type": "uint256"
151
+ },
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "discountPercentage",
155
+ "type": "uint256"
153
156
  }
154
157
  ],
155
- "stateMutability": "pure",
156
- "type": "function"
158
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
159
+ "type": "error"
157
160
  },
158
161
  {
159
- "inputs": [],
160
- "name": "getNftId",
161
- "outputs": [
162
+ "inputs": [
162
163
  {
163
- "internalType": "NftId",
164
- "name": "nftId",
165
- "type": "uint96"
164
+ "internalType": "uint256",
165
+ "name": "minDiscountPercentage",
166
+ "type": "uint256"
167
+ },
168
+ {
169
+ "internalType": "uint256",
170
+ "name": "discountPercentage",
171
+ "type": "uint256"
166
172
  }
167
173
  ],
168
- "stateMutability": "view",
169
- "type": "function"
174
+ "name": "ErrorIDistributionServiceDiscountTooLow",
175
+ "type": "error"
170
176
  },
171
177
  {
172
- "inputs": [],
173
- "name": "getOwner",
174
- "outputs": [
178
+ "inputs": [
175
179
  {
176
- "internalType": "address",
177
- "name": "owner",
178
- "type": "address"
180
+ "internalType": "Timestamp",
181
+ "name": "expiryAt",
182
+ "type": "uint40"
179
183
  }
180
184
  ],
181
- "stateMutability": "view",
182
- "type": "function"
185
+ "name": "ErrorIDistributionServiceExpirationInvalid",
186
+ "type": "error"
183
187
  },
184
188
  {
185
- "inputs": [],
186
- "name": "getParentNftId",
187
- "outputs": [
189
+ "inputs": [
188
190
  {
189
- "internalType": "NftId",
190
- "name": "nftId",
191
- "type": "uint96"
191
+ "internalType": "uint256",
192
+ "name": "maxReferralLifetime",
193
+ "type": "uint256"
194
+ },
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "expiryAt",
198
+ "type": "uint256"
192
199
  }
193
200
  ],
194
- "stateMutability": "view",
195
- "type": "function"
201
+ "name": "ErrorIDistributionServiceExpiryTooLong",
202
+ "type": "error"
196
203
  },
197
204
  {
198
- "inputs": [],
199
- "name": "getRegistry",
200
- "outputs": [
205
+ "inputs": [
201
206
  {
202
- "internalType": "contract IRegistry",
203
- "name": "registry",
204
- "type": "address"
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"
205
235
  }
206
236
  ],
207
- "stateMutability": "view",
208
- "type": "function"
237
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
238
+ "type": "error"
209
239
  },
210
240
  {
211
- "inputs": [],
212
- "name": "getType",
213
- "outputs": [
241
+ "inputs": [
214
242
  {
215
- "internalType": "ObjectType",
216
- "name": "",
217
- "type": "uint8"
243
+ "internalType": "uint256",
244
+ "name": "transferredDistributionFeeAmount",
245
+ "type": "uint256"
246
+ },
247
+ {
248
+ "internalType": "uint256",
249
+ "name": "expectedDistributionFeeAmount",
250
+ "type": "uint256"
218
251
  }
219
252
  ],
220
- "stateMutability": "pure",
221
- "type": "function"
253
+ "name": "ErrorIDistributionServiceInvalidFeeTransferred",
254
+ "type": "error"
222
255
  },
223
256
  {
224
- "inputs": [],
225
- "name": "getVersion",
226
- "outputs": [
257
+ "inputs": [
227
258
  {
228
- "internalType": "Version",
229
- "name": "",
230
- "type": "uint24"
259
+ "internalType": "string",
260
+ "name": "code",
261
+ "type": "string"
231
262
  }
232
263
  ],
233
- "stateMutability": "pure",
234
- "type": "function"
264
+ "name": "ErrorIDistributionServiceInvalidReferral",
265
+ "type": "error"
235
266
  },
236
267
  {
237
268
  "inputs": [
238
269
  {
239
- "internalType": "uint256",
240
- "name": "idx",
241
- "type": "uint256"
242
- }
243
- ],
244
- "name": "getVersion",
245
- "outputs": [
246
- {
247
- "internalType": "Version",
248
- "name": "",
249
- "type": "uint24"
270
+ "internalType": "ReferralId",
271
+ "name": "referralId",
272
+ "type": "bytes8"
250
273
  }
251
274
  ],
252
- "stateMutability": "view",
253
- "type": "function"
275
+ "name": "ErrorIDistributionServiceInvalidReferralId",
276
+ "type": "error"
254
277
  },
255
278
  {
256
- "inputs": [],
257
- "name": "getVersionCount",
258
- "outputs": [
279
+ "inputs": [
259
280
  {
260
281
  "internalType": "uint256",
261
- "name": "",
282
+ "name": "maxDiscountPercentage",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "limit",
262
288
  "type": "uint256"
263
289
  }
264
290
  ],
265
- "stateMutability": "view",
266
- "type": "function"
291
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
292
+ "type": "error"
267
293
  },
268
294
  {
269
295
  "inputs": [
270
296
  {
271
- "internalType": "Version",
272
- "name": "_version",
273
- "type": "uint24"
297
+ "internalType": "uint256",
298
+ "name": "maxReferrals",
299
+ "type": "uint256"
274
300
  }
275
301
  ],
276
- "name": "getVersionInfo",
277
- "outputs": [
302
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [
278
307
  {
279
- "components": [
280
- {
281
- "internalType": "Version",
282
- "name": "version",
283
- "type": "uint24"
284
- },
285
- {
286
- "internalType": "address",
287
- "name": "implementation",
288
- "type": "address"
289
- },
290
- {
291
- "internalType": "address",
292
- "name": "activatedBy",
293
- "type": "address"
294
- },
295
- {
296
- "internalType": "Timestamp",
297
- "name": "activatedAt",
298
- "type": "uint40"
299
- },
300
- {
301
- "internalType": "Blocknumber",
302
- "name": "activatedIn",
303
- "type": "uint32"
304
- }
305
- ],
306
- "internalType": "struct IVersionable.VersionInfo",
307
- "name": "",
308
- "type": "tuple"
308
+ "internalType": "uint256",
309
+ "name": "minFee",
310
+ "type": "uint256"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "limit",
315
+ "type": "uint256"
309
316
  }
310
317
  ],
311
- "stateMutability": "view",
312
- "type": "function"
318
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
319
+ "type": "error"
313
320
  },
314
321
  {
315
322
  "inputs": [
316
323
  {
317
- "internalType": "address",
318
- "name": "implementation",
319
- "type": "address"
320
- },
321
- {
322
- "internalType": "address",
323
- "name": "activatedBy",
324
- "type": "address"
324
+ "internalType": "NftId",
325
+ "name": "nftId",
326
+ "type": "uint96"
325
327
  },
326
328
  {
327
- "internalType": "bytes",
328
- "name": "initializationData",
329
- "type": "bytes"
329
+ "internalType": "NftId",
330
+ "name": "parentNftId",
331
+ "type": "uint96"
330
332
  }
331
333
  ],
332
- "name": "initialize",
333
- "outputs": [],
334
- "stateMutability": "nonpayable",
335
- "type": "function"
334
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
335
+ "type": "error"
336
336
  },
337
337
  {
338
338
  "inputs": [
339
339
  {
340
- "internalType": "Version",
341
- "name": "_version",
342
- "type": "uint24"
340
+ "internalType": "NftId",
341
+ "name": "distributionNftId",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "internalType": "ReferralId",
346
+ "name": "referralId",
347
+ "type": "bytes8"
343
348
  }
344
349
  ],
345
- "name": "isActivated",
346
- "outputs": [
350
+ "name": "ErrorIDistributionServiceReferralInvalid",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
347
355
  {
348
- "internalType": "bool",
349
- "name": "",
350
- "type": "bool"
356
+ "internalType": "address",
357
+ "name": "caller",
358
+ "type": "address"
351
359
  }
352
360
  ],
353
- "stateMutability": "view",
354
- "type": "function"
361
+ "name": "ErrorIServiceCallerUnknown",
362
+ "type": "error"
355
363
  },
356
364
  {
357
- "inputs": [],
358
- "name": "register",
359
- "outputs": [
365
+ "inputs": [
360
366
  {
361
367
  "internalType": "NftId",
362
368
  "name": "nftId",
363
369
  "type": "uint96"
364
370
  }
365
371
  ],
366
- "stateMutability": "nonpayable",
367
- "type": "function"
372
+ "name": "ErrorNftOwnableAlreadyLinked",
373
+ "type": "error"
368
374
  },
369
375
  {
370
376
  "inputs": [
371
377
  {
372
- "components": [
373
- {
374
- "internalType": "UFixed",
375
- "name": "fractionalFee",
376
- "type": "uint256"
377
- },
378
- {
379
- "internalType": "uint256",
380
- "name": "fixedFee",
381
- "type": "uint256"
382
- }
383
- ],
384
- "internalType": "struct Fee",
385
- "name": "distributionFee",
386
- "type": "tuple"
378
+ "internalType": "address",
379
+ "name": "contractAddress",
380
+ "type": "address"
387
381
  }
388
382
  ],
389
- "name": "setFees",
390
- "outputs": [],
391
- "stateMutability": "nonpayable",
392
- "type": "function"
383
+ "name": "ErrorNftOwnableContractNotRegistered",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [],
388
+ "name": "ErrorNftOwnableInitialOwnerZero",
389
+ "type": "error"
393
390
  },
394
391
  {
395
392
  "inputs": [
396
393
  {
397
- "internalType": "bytes4",
398
- "name": "interfaceId",
399
- "type": "bytes4"
400
- }
401
- ],
402
- "name": "supportsInterface",
403
- "outputs": [
404
- {
405
- "internalType": "bool",
406
- "name": "",
407
- "type": "bool"
394
+ "internalType": "address",
395
+ "name": "account",
396
+ "type": "address"
408
397
  }
409
398
  ],
410
- "stateMutability": "view",
411
- "type": "function"
399
+ "name": "ErrorNftOwnableNotOwner",
400
+ "type": "error"
412
401
  },
413
402
  {
414
403
  "inputs": [
415
404
  {
416
405
  "internalType": "address",
417
- "name": "implementation",
406
+ "name": "registryAddress",
418
407
  "type": "address"
419
- },
420
- {
421
- "internalType": "address",
422
- "name": "activatedBy",
423
- "type": "address"
424
- },
425
- {
426
- "internalType": "bytes",
427
- "name": "upgradeData",
428
- "type": "bytes"
429
408
  }
430
409
  ],
431
- "name": "upgrade",
432
- "outputs": [],
433
- "stateMutability": "nonpayable",
434
- "type": "function"
435
- }
436
- ],
437
- "bytecode": "0x60e06040523480156200001157600080fd5b50604051620020c2380380620020c2833981016040819052620000349162000760565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558181818181816001600160a01b038216620000d25760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000122573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001489190620007b5565b620001965760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c9565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002149190620007b5565b6200026e5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c9565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002be905060003362000343565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff191660011790555050505062000316631fa9607b60e11b6200031e60201b60201c565b505062000859565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006200034f6200061b565b90506200035c81620006a8565b15620003bb5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000c9565b600254156200047c576002805460009190620003da90600190620007e0565b81548110620003ed57620003ed62000802565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506200042082826200074e565b6200047a5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000c9565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620005064290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200060e9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200067d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006a3919062000818565b905090565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200074791906200083f565b1192915050565b62ffffff808216908316115b92915050565b600080604083850312156200077457600080fd5b82516001600160a01b03811681146200078c57600080fd5b60208401519092506001600160601b0381168114620007aa57600080fd5b809150509250929050565b600060208284031215620007c857600080fd5b81518015158114620007d957600080fd5b9392505050565b818103818111156200075a57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200082b57600080fd5b815162ffffff81168114620007d957600080fd5b6000602082840312156200085257600080fd5b5051919050565b60805160a05160c051611808620008ba60003960006109080152600061021c01526000818161037a0152818161061801528181610818015281816108890152818161094b01528181610b6901528181610cc50152610dbb01526118086000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063a3f4df7e1161007c578063a3f4df7e146103e6578063a745e3df146103b2578063b3c6501514610418578063b88da75914610439578063cde749f41461044c578063cf7a1d771461045457600080fd5b80635ab1bd53146103785780635b5b48f5146103b2578063644c45e0146103c5578063893d20e8146103cd578063946dfcfe146103d557600080fd5b80631aa3a008116100ff5780631aa3a008146101fa57806331b62a3b1461021a5780633bc5de30146102405780633f52c0f6146102545780634d459c901461026957600080fd5b806301ffc9a71461013c5780630abd84341461017e5780630d8e6e2c1461019157806315dae03e146101ad57806317d7de7c146101c2575b600080fd5b61016961014a366004611124565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61016961018c366004611169565b610467565b61019961050a565b60405162ffffff9091168152602001610175565b60285b60405160ff9091168152602001610175565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b60405161017591906111d6565b610202610594565b6040516001600160601b039091168152602001610175565b7f0000000000000000000000000000000000000000000000000000000000000000610202565b6040805160208101909152600081526101ed565b6102676102623660046112a0565b61068d565b005b61031b610277366004611169565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610175565b6102676103c036600461130f565b505050565b610202610800565b61039a610867565b600254604051908152602001610175565b6101ed60405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6104206109c4565b60405167ffffffffffffffff9091168152602001610175565b6101996104473660046113b4565b6109f8565b6101b0610a39565b61026761046236600461130f565b610b16565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156104df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050391906113cd565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561056b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058f91906113e6565b905090565b600061059e610867565b6001600160a01b0316336001600160a01b0316146106035760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610669573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058f919061141f565b60008061069a6078610b20565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa1580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610716919061141f565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa15801561076a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078e9190611475565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b906107c79085908590600401611534565b600060405180830381600087803b1580156107e157600080fd5b505af11580156107f5573d6000803e3d6000fd5b505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610669573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156108d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f4919061141f565b9050610901816000610e40565b1561092d577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561099a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109be919061161b565b91505090565b600061058f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b600060028281548110610a0d57610a0d611638565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9d91906113e6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610af2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058f919061165d565b6103c08383610e56565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc919061141f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5b919061167a565b610ca75760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016105fa565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610d14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3c91908101906116e9565b9250610d5283604001518560ff90811691161490565b610d945760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105fa565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610e0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e3291908101906116e9565b606001519395939450505050565b6001600160601b03828116908216145b92915050565b6000610e6061050a565b9050610e6b81610467565b15610ec85760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b60648201526084016105fa565b60025415610f87576002805460009190610ee4906001906117b1565b81548110610ef457610ef4611638565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610f2d828262ffffff90811691161190565b610f855760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b60648201526084016105fa565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020840152841690820152606081016110104290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906111179083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60006020828403121561113657600080fd5b81356001600160e01b03198116811461114e57600080fd5b9392505050565b62ffffff8116811461116657600080fd5b50565b60006020828403121561117b57600080fd5b813561114e81611155565b60005b838110156111a1578181015183820152602001611189565b50506000910152565b600081518084526111c2816020860160208601611186565b601f01601f19169290920160200192915050565b60208152600061114e60208301846111aa565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611222576112226111e9565b60405290565b604051610120810167ffffffffffffffff81118282101715611222576112226111e9565b60405160c0810167ffffffffffffffff81118282101715611222576112226111e9565b604051601f8201601f1916810167ffffffffffffffff81118282101715611298576112986111e9565b604052919050565b6000604082840312156112b257600080fd5b6112ba6111ff565b82358152602083013560208201528091505092915050565b6001600160a01b038116811461116657600080fd5b600067ffffffffffffffff821115611301576113016111e9565b50601f01601f191660200190565b60008060006060848603121561132457600080fd5b833561132f816112d2565b9250602084013561133f816112d2565b9150604084013567ffffffffffffffff81111561135b57600080fd5b8401601f8101861361136c57600080fd5b803561137f61137a826112e7565b61126f565b81815287602083850101111561139457600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156113c657600080fd5b5035919050565b6000602082840312156113df57600080fd5b5051919050565b6000602082840312156113f857600080fd5b815161114e81611155565b80516001600160601b038116811461141a57600080fd5b919050565b60006020828403121561143157600080fd5b61114e82611403565b805161141a816112d2565b60006040828403121561145757600080fd5b61145f6111ff565b9050815181526020820151602082015292915050565b60006101e0828403121561148857600080fd5b611490611228565b61149983611403565b81526114a760208401611403565b60208201526114b86040840161143a565b60408201526114ca8460608501611445565b60608201526114dc8460a08501611445565b60808201526114ee8460e08501611445565b60a0820152611501846101208501611445565b60c0820152611514846101608501611445565b60e0820152611527846101a08501611445565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061156b60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006115cd8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b60006020828403121561162d57600080fd5b815161114e816112d2565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461116657600080fd5b60006020828403121561166f57600080fd5b815161114e8161164e565b60006020828403121561168c57600080fd5b8151801515811461114e57600080fd5b600082601f8301126116ad57600080fd5b81516116bb61137a826112e7565b8181528460208386010111156116d057600080fd5b6116e1826020830160208701611186565b949350505050565b6000602082840312156116fb57600080fd5b815167ffffffffffffffff8082111561171357600080fd5b9083019060c0828603121561172757600080fd5b61172f61124c565b61173883611403565b815261174660208401611403565b602082015260408301516117598161164e565b6040820152606083015161176c816112d2565b6060820152608083015161177f816112d2565b608082015260a08301518281111561179657600080fd5b6117a28782860161169c565b60a08301525095945050505050565b81810381811115610e5057634e487b7160e01b600052601160045260246000fdfea2646970667358221220b089303b0c12a78f224dfcc6d6f6dadb8d2758af3952cf072560ed24a0ebfa0b64736f6c63430008140033",
438
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063a3f4df7e1161007c578063a3f4df7e146103e6578063a745e3df146103b2578063b3c6501514610418578063b88da75914610439578063cde749f41461044c578063cf7a1d771461045457600080fd5b80635ab1bd53146103785780635b5b48f5146103b2578063644c45e0146103c5578063893d20e8146103cd578063946dfcfe146103d557600080fd5b80631aa3a008116100ff5780631aa3a008146101fa57806331b62a3b1461021a5780633bc5de30146102405780633f52c0f6146102545780634d459c901461026957600080fd5b806301ffc9a71461013c5780630abd84341461017e5780630d8e6e2c1461019157806315dae03e146101ad57806317d7de7c146101c2575b600080fd5b61016961014a366004611124565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61016961018c366004611169565b610467565b61019961050a565b60405162ffffff9091168152602001610175565b60285b60405160ff9091168152602001610175565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b60405161017591906111d6565b610202610594565b6040516001600160601b039091168152602001610175565b7f0000000000000000000000000000000000000000000000000000000000000000610202565b6040805160208101909152600081526101ed565b6102676102623660046112a0565b61068d565b005b61031b610277366004611169565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610175565b6102676103c036600461130f565b505050565b610202610800565b61039a610867565b600254604051908152602001610175565b6101ed60405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6104206109c4565b60405167ffffffffffffffff9091168152602001610175565b6101996104473660046113b4565b6109f8565b6101b0610a39565b61026761046236600461130f565b610b16565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156104df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050391906113cd565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561056b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058f91906113e6565b905090565b600061059e610867565b6001600160a01b0316336001600160a01b0316146106035760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610669573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058f919061141f565b60008061069a6078610b20565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa1580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610716919061141f565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa15801561076a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078e9190611475565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b906107c79085908590600401611534565b600060405180830381600087803b1580156107e157600080fd5b505af11580156107f5573d6000803e3d6000fd5b505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610669573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156108d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f4919061141f565b9050610901816000610e40565b1561092d577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561099a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109be919061161b565b91505090565b600061058f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b600060028281548110610a0d57610a0d611638565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9d91906113e6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610af2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058f919061165d565b6103c08383610e56565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc919061141f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5b919061167a565b610ca75760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016105fa565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610d14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3c91908101906116e9565b9250610d5283604001518560ff90811691161490565b610d945760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105fa565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015610e0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e3291908101906116e9565b606001519395939450505050565b6001600160601b03828116908216145b92915050565b6000610e6061050a565b9050610e6b81610467565b15610ec85760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b60648201526084016105fa565b60025415610f87576002805460009190610ee4906001906117b1565b81548110610ef457610ef4611638565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610f2d828262ffffff90811691161190565b610f855760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b60648201526084016105fa565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020840152841690820152606081016110104290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906111179083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60006020828403121561113657600080fd5b81356001600160e01b03198116811461114e57600080fd5b9392505050565b62ffffff8116811461116657600080fd5b50565b60006020828403121561117b57600080fd5b813561114e81611155565b60005b838110156111a1578181015183820152602001611189565b50506000910152565b600081518084526111c2816020860160208601611186565b601f01601f19169290920160200192915050565b60208152600061114e60208301846111aa565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611222576112226111e9565b60405290565b604051610120810167ffffffffffffffff81118282101715611222576112226111e9565b60405160c0810167ffffffffffffffff81118282101715611222576112226111e9565b604051601f8201601f1916810167ffffffffffffffff81118282101715611298576112986111e9565b604052919050565b6000604082840312156112b257600080fd5b6112ba6111ff565b82358152602083013560208201528091505092915050565b6001600160a01b038116811461116657600080fd5b600067ffffffffffffffff821115611301576113016111e9565b50601f01601f191660200190565b60008060006060848603121561132457600080fd5b833561132f816112d2565b9250602084013561133f816112d2565b9150604084013567ffffffffffffffff81111561135b57600080fd5b8401601f8101861361136c57600080fd5b803561137f61137a826112e7565b61126f565b81815287602083850101111561139457600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156113c657600080fd5b5035919050565b6000602082840312156113df57600080fd5b5051919050565b6000602082840312156113f857600080fd5b815161114e81611155565b80516001600160601b038116811461141a57600080fd5b919050565b60006020828403121561143157600080fd5b61114e82611403565b805161141a816112d2565b60006040828403121561145757600080fd5b61145f6111ff565b9050815181526020820151602082015292915050565b60006101e0828403121561148857600080fd5b611490611228565b61149983611403565b81526114a760208401611403565b60208201526114b86040840161143a565b60408201526114ca8460608501611445565b60608201526114dc8460a08501611445565b60808201526114ee8460e08501611445565b60a0820152611501846101208501611445565b60c0820152611514846101608501611445565b60e0820152611527846101a08501611445565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061156b60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006115cd8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b60006020828403121561162d57600080fd5b815161114e816112d2565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461116657600080fd5b60006020828403121561166f57600080fd5b815161114e8161164e565b60006020828403121561168c57600080fd5b8151801515811461114e57600080fd5b600082601f8301126116ad57600080fd5b81516116bb61137a826112e7565b8181528460208386010111156116d057600080fd5b6116e1826020830160208701611186565b949350505050565b6000602082840312156116fb57600080fd5b815167ffffffffffffffff8082111561171357600080fd5b9083019060c0828603121561172757600080fd5b61172f61124c565b61173883611403565b815261174660208401611403565b602082015260408301516117598161164e565b6040820152606083015161176c816112d2565b6060820152608083015161177f816112d2565b608082015260a08301518281111561179657600080fd5b6117a28782860161169c565b60a08301525095945050505050565b81810381811115610e5057634e487b7160e01b600052601160045260246000fdfea2646970667358221220b089303b0c12a78f224dfcc6d6f6dadb8d2758af3952cf072560ed24a0ebfa0b64736f6c63430008140033",
439
- "linkReferences": {
440
- "contracts/types/Blocknumber.sol": {
441
- "BlocknumberLib": [
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": [
442
426
  {
443
- "length": 20,
444
- "start": 1766
445
- },
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": [
446
440
  {
447
- "length": 20,
448
- "start": 3423
441
+ "internalType": "bytes32",
442
+ "name": "",
443
+ "type": "bytes32"
449
444
  }
450
- ]
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
451
448
  },
452
- "contracts/types/NftId.sol": {
453
- "NftIdLib": [
449
+ {
450
+ "inputs": [],
451
+ "name": "REGISTERABLE_LOCATION_V1",
452
+ "outputs": [
454
453
  {
455
- "length": 20,
456
- "start": 5303
454
+ "internalType": "bytes32",
455
+ "name": "",
456
+ "type": "bytes32"
457
457
  }
458
- ]
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
459
461
  },
460
- "contracts/types/Version.sol": {
461
- "VersionLib": [
462
+ {
463
+ "inputs": [
462
464
  {
463
- "length": 20,
464
- "start": 1602
465
+ "internalType": "NftId",
466
+ "name": "distributionNftId",
467
+ "type": "uint96"
465
468
  },
466
469
  {
467
- "length": 20,
468
- "start": 3563
470
+ "internalType": "ReferralId",
471
+ "name": "referralId",
472
+ "type": "bytes8"
469
473
  },
470
474
  {
471
- "length": 20,
472
- "start": 4978
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"
473
555
  }
474
- ]
475
- }
476
- },
477
- "deployedLinkReferences": {
478
- "contracts/types/Blocknumber.sol": {
479
- "BlocknumberLib": [
556
+ ],
557
+ "name": "calculateFeeAmount",
558
+ "outputs": [
480
559
  {
481
- "length": 20,
482
- "start": 1189
483
- }
484
- ]
485
- },
486
- "contracts/types/NftId.sol": {
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": [],
868
+ "name": "getNftId",
869
+ "outputs": [
870
+ {
871
+ "internalType": "NftId",
872
+ "name": "",
873
+ "type": "uint96"
874
+ }
875
+ ],
876
+ "stateMutability": "view",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [],
881
+ "name": "getOwner",
882
+ "outputs": [
883
+ {
884
+ "internalType": "address",
885
+ "name": "",
886
+ "type": "address"
887
+ }
888
+ ],
889
+ "stateMutability": "view",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "inputs": [],
894
+ "name": "getRegistry",
895
+ "outputs": [
896
+ {
897
+ "internalType": "contract IRegistry",
898
+ "name": "",
899
+ "type": "address"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
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
+ },
918
+ {
919
+ "inputs": [],
920
+ "name": "getRegistryService",
921
+ "outputs": [
922
+ {
923
+ "internalType": "contract IRegistryService",
924
+ "name": "",
925
+ "type": "address"
926
+ }
927
+ ],
928
+ "stateMutability": "view",
929
+ "type": "function"
930
+ },
931
+ {
932
+ "inputs": [],
933
+ "name": "getVersion",
934
+ "outputs": [
935
+ {
936
+ "internalType": "Version",
937
+ "name": "",
938
+ "type": "uint24"
939
+ }
940
+ ],
941
+ "stateMutability": "pure",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [],
946
+ "name": "initializeERC165",
947
+ "outputs": [],
948
+ "stateMutability": "nonpayable",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "address",
955
+ "name": "initialOwner",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "registryAddress",
961
+ "type": "address"
962
+ }
963
+ ],
964
+ "name": "initializeNftOwnable",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
971
+ {
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"
1000
+ }
1001
+ ],
1002
+ "name": "initializeRegisterable",
1003
+ "outputs": [],
1004
+ "stateMutability": "nonpayable",
1005
+ "type": "function"
1006
+ },
1007
+ {
1008
+ "inputs": [
1009
+ {
1010
+ "internalType": "address",
1011
+ "name": "registryAddress",
1012
+ "type": "address"
1013
+ }
1014
+ ],
1015
+ "name": "initializeRegistryLinked",
1016
+ "outputs": [],
1017
+ "stateMutability": "nonpayable",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1022
+ {
1023
+ "internalType": "address",
1024
+ "name": "registry",
1025
+ "type": "address"
1026
+ },
1027
+ {
1028
+ "internalType": "address",
1029
+ "name": "initialOwner",
1030
+ "type": "address"
1031
+ }
1032
+ ],
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
+ },
1075
+ {
1076
+ "components": [
1077
+ {
1078
+ "internalType": "uint256",
1079
+ "name": "netPremiumAmount",
1080
+ "type": "uint256"
1081
+ },
1082
+ {
1083
+ "internalType": "uint256",
1084
+ "name": "fullPremiumAmount",
1085
+ "type": "uint256"
1086
+ },
1087
+ {
1088
+ "internalType": "uint256",
1089
+ "name": "premiumAmount",
1090
+ "type": "uint256"
1091
+ },
1092
+ {
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"
1141
+ },
1142
+ {
1143
+ "internalType": "uint256",
1144
+ "name": "commissionAmount",
1145
+ "type": "uint256"
1146
+ },
1147
+ {
1148
+ "internalType": "uint256",
1149
+ "name": "discountAmount",
1150
+ "type": "uint256"
1151
+ }
1152
+ ],
1153
+ "internalType": "struct IPolicy.Premium",
1154
+ "name": "premium",
1155
+ "type": "tuple"
1156
+ },
1157
+ {
1158
+ "internalType": "uint256",
1159
+ "name": "transferredDistributionFeeAmount",
1160
+ "type": "uint256"
1161
+ }
1162
+ ],
1163
+ "name": "processSale",
1164
+ "outputs": [],
1165
+ "stateMutability": "nonpayable",
1166
+ "type": "function"
1167
+ },
1168
+ {
1169
+ "inputs": [
1170
+ {
1171
+ "internalType": "NftId",
1172
+ "name": "distributionNftId",
1173
+ "type": "uint96"
1174
+ },
1175
+ {
1176
+ "internalType": "ReferralId",
1177
+ "name": "referralId",
1178
+ "type": "bytes8"
1179
+ }
1180
+ ],
1181
+ "name": "referralIsValid",
1182
+ "outputs": [
1183
+ {
1184
+ "internalType": "bool",
1185
+ "name": "isValid",
1186
+ "type": "bool"
1187
+ }
1188
+ ],
1189
+ "stateMutability": "view",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "address",
1196
+ "name": "distributionAddress",
1197
+ "type": "address"
1198
+ }
1199
+ ],
1200
+ "name": "register",
1201
+ "outputs": [
1202
+ {
1203
+ "internalType": "NftId",
1204
+ "name": "distributionNftId",
1205
+ "type": "uint96"
1206
+ }
1207
+ ],
1208
+ "stateMutability": "nonpayable",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [
1213
+ {
1214
+ "internalType": "bytes4",
1215
+ "name": "interfaceId",
1216
+ "type": "bytes4"
1217
+ }
1218
+ ],
1219
+ "name": "registerInterface",
1220
+ "outputs": [],
1221
+ "stateMutability": "nonpayable",
1222
+ "type": "function"
1223
+ },
1224
+ {
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
+ },
1243
+ {
1244
+ "components": [
1245
+ {
1246
+ "internalType": "UFixed",
1247
+ "name": "fractionalFee",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "internalType": "uint256",
1252
+ "name": "fixedFee",
1253
+ "type": "uint256"
1254
+ }
1255
+ ],
1256
+ "internalType": "struct Fee",
1257
+ "name": "distributionFee",
1258
+ "type": "tuple"
1259
+ }
1260
+ ],
1261
+ "name": "setFees",
1262
+ "outputs": [],
1263
+ "stateMutability": "nonpayable",
1264
+ "type": "function"
1265
+ },
1266
+ {
1267
+ "inputs": [
1268
+ {
1269
+ "internalType": "bytes4",
1270
+ "name": "interfaceId",
1271
+ "type": "bytes4"
1272
+ }
1273
+ ],
1274
+ "name": "supportsInterface",
1275
+ "outputs": [
1276
+ {
1277
+ "internalType": "bool",
1278
+ "name": "",
1279
+ "type": "bool"
1280
+ }
1281
+ ],
1282
+ "stateMutability": "view",
1283
+ "type": "function"
1284
+ },
1285
+ {
1286
+ "inputs": [
1287
+ {
1288
+ "internalType": "NftId",
1289
+ "name": "distributorNftId",
1290
+ "type": "uint96"
1291
+ },
1292
+ {
1293
+ "internalType": "DistributorType",
1294
+ "name": "distributorType",
1295
+ "type": "bytes8"
1296
+ },
1297
+ {
1298
+ "internalType": "bytes",
1299
+ "name": "data",
1300
+ "type": "bytes"
1301
+ }
1302
+ ],
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",
1317
+ "outputs": [],
1318
+ "stateMutability": "nonpayable",
1319
+ "type": "function"
1320
+ }
1321
+ ],
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",
1324
+ "linkReferences": {
1325
+ "contracts/types/DistributorType.sol": {
1326
+ "DistributorTypeLib": [
1327
+ {
1328
+ "length": 20,
1329
+ "start": 6758
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 6899
1334
+ }
1335
+ ]
1336
+ },
1337
+ "contracts/types/NftId.sol": {
1338
+ "NftIdLib": [
1339
+ {
1340
+ "length": 20,
1341
+ "start": 2184
1342
+ },
1343
+ {
1344
+ "length": 20,
1345
+ "start": 5151
1346
+ },
1347
+ {
1348
+ "length": 20,
1349
+ "start": 10262
1350
+ },
1351
+ {
1352
+ "length": 20,
1353
+ "start": 16136
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 18462
1358
+ }
1359
+ ]
1360
+ },
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
+ },
1407
+ {
1408
+ "length": 20,
1409
+ "start": 10601
1410
+ },
1411
+ {
1412
+ "length": 20,
1413
+ "start": 11725
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 11861
1418
+ },
1419
+ {
1420
+ "length": 20,
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
1514
+ },
1515
+ {
1516
+ "length": 20,
1517
+ "start": 7319
1518
+ }
1519
+ ],
1520
+ "VersionPartLib": [
1521
+ {
1522
+ "length": 20,
1523
+ "start": 13575
1524
+ }
1525
+ ]
1526
+ }
1527
+ },
1528
+ "deployedLinkReferences": {
1529
+ "contracts/types/DistributorType.sol": {
1530
+ "DistributorTypeLib": [
1531
+ {
1532
+ "length": 20,
1533
+ "start": 6528
1534
+ },
1535
+ {
1536
+ "length": 20,
1537
+ "start": 6669
1538
+ }
1539
+ ]
1540
+ },
1541
+ "contracts/types/NftId.sol": {
487
1542
  "NftIdLib": [
488
1543
  {
489
1544
  "length": 20,
490
- "start": 3069
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
1702
+ },
1703
+ {
1704
+ "length": 20,
1705
+ "start": 12516
1706
+ },
1707
+ {
1708
+ "length": 20,
1709
+ "start": 12635
491
1710
  }
492
1711
  ]
493
1712
  },
@@ -495,11 +1714,17 @@
495
1714
  "VersionLib": [
496
1715
  {
497
1716
  "length": 20,
498
- "start": 1329
1717
+ "start": 1366
499
1718
  },
500
1719
  {
501
1720
  "length": 20,
502
- "start": 2744
1721
+ "start": 7089
1722
+ }
1723
+ ],
1724
+ "VersionPartLib": [
1725
+ {
1726
+ "length": 20,
1727
+ "start": 13345
503
1728
  }
504
1729
  ]
505
1730
  }