@etherisc/gif-next 0.0.2-fe77319 → 0.0.2-ff8087d-237

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. package/README.md +359 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +727 -33
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1376 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1095 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +861 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1281 -69
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1064 -79
  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 +2365 -529
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2965 -581
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1099 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -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/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  53. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
  56. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  60. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  62. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  63. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  64. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1124 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1283 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1847 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +816 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +730 -0
  86. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1059 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +442 -0
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1622 -0
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +784 -0
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +559 -74
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +646 -77
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  140. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +339 -0
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.json +488 -0
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +370 -0
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  168. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestService.sol/TestService.json +588 -0
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  177. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  178. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  180. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  182. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  184. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
  186. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  188. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  190. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/Fee.sol/FeeLib.json +312 -0
  192. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  193. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  194. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +166 -0
  196. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  197. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  198. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  200. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  202. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  210. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  212. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  214. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +280 -0
  216. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  218. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  220. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  222. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  223. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  224. package/contracts/components/Component.sol +250 -40
  225. package/contracts/components/Distribution.sol +285 -0
  226. package/contracts/components/IComponent.sol +90 -0
  227. package/contracts/components/IDistributionComponent.sol +71 -0
  228. package/contracts/components/IPoolComponent.sol +114 -0
  229. package/contracts/components/IProductComponent.sol +41 -0
  230. package/contracts/components/Pool.sol +291 -18
  231. package/contracts/components/Product.sol +340 -33
  232. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  233. package/contracts/instance/BundleManager.sol +126 -0
  234. package/contracts/instance/Cloneable.sol +51 -0
  235. package/contracts/instance/IInstance.sol +99 -15
  236. package/contracts/instance/IInstanceService.sol +63 -0
  237. package/contracts/instance/Instance.sol +297 -42
  238. package/contracts/instance/InstanceAccessManager.sol +527 -0
  239. package/contracts/instance/InstanceReader.sol +366 -0
  240. package/contracts/instance/InstanceService.sol +484 -0
  241. package/contracts/instance/InstanceServiceManager.sol +54 -0
  242. package/contracts/instance/ObjectManager.sol +82 -0
  243. package/contracts/instance/base/ComponentService.sol +130 -0
  244. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  245. package/contracts/instance/base/ILifecycle.sol +30 -0
  246. package/contracts/instance/base/KeyValueStore.sol +149 -0
  247. package/contracts/instance/base/Lifecycle.sol +120 -0
  248. package/contracts/instance/module/IAccess.sol +54 -0
  249. package/contracts/instance/module/IBundle.sol +23 -0
  250. package/contracts/instance/module/IComponents.sol +41 -0
  251. package/contracts/instance/module/IDistribution.sol +42 -0
  252. package/contracts/instance/module/IPolicy.sol +77 -0
  253. package/contracts/instance/module/IRisk.sol +11 -0
  254. package/contracts/instance/module/ISetup.sol +33 -0
  255. package/contracts/instance/module/ITreasury.sol +23 -0
  256. package/contracts/instance/service/ApplicationService.sol +356 -0
  257. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  258. package/contracts/instance/service/BundleService.sol +385 -0
  259. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  260. package/contracts/instance/service/ClaimService.sol +443 -0
  261. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  262. package/contracts/instance/service/DistributionService.sol +432 -0
  263. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  264. package/contracts/instance/service/IApplicationService.sol +79 -0
  265. package/contracts/instance/service/IBundleService.sol +118 -0
  266. package/contracts/instance/service/IClaimService.sol +90 -0
  267. package/contracts/instance/service/IDistributionService.sol +101 -0
  268. package/contracts/instance/service/IPolicyService.sol +80 -0
  269. package/contracts/instance/service/IPoolService.sol +114 -0
  270. package/contracts/instance/service/IProductService.sol +40 -0
  271. package/contracts/instance/service/PolicyService.sol +372 -0
  272. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  273. package/contracts/instance/service/PoolService.sol +403 -0
  274. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  275. package/contracts/instance/service/ProductService.sol +210 -0
  276. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  277. package/contracts/registry/ChainNft.sol +210 -0
  278. package/contracts/registry/IRegistry.sol +87 -52
  279. package/contracts/registry/IRegistryService.sol +66 -0
  280. package/contracts/registry/ITransferInterceptor.sol +7 -0
  281. package/contracts/registry/Registry.sol +399 -129
  282. package/contracts/registry/RegistryAccessManager.sol +216 -0
  283. package/contracts/registry/RegistryService.sol +282 -0
  284. package/contracts/registry/RegistryServiceManager.sol +62 -0
  285. package/contracts/registry/ReleaseManager.sol +324 -0
  286. package/contracts/registry/TokenRegistry.sol +116 -0
  287. package/contracts/shared/ContractDeployerLib.sol +72 -0
  288. package/contracts/shared/ERC165.sol +27 -0
  289. package/contracts/shared/INftOwnable.sol +23 -0
  290. package/contracts/shared/IPolicyHolder.sol +40 -0
  291. package/contracts/shared/IRegisterable.sol +15 -0
  292. package/contracts/shared/IRegistryLinked.sol +11 -0
  293. package/contracts/shared/IService.sol +18 -0
  294. package/contracts/shared/IVersionable.sol +53 -0
  295. package/contracts/shared/NftOwnable.sol +118 -0
  296. package/contracts/shared/PolicyHolder.sol +94 -0
  297. package/contracts/shared/ProxyManager.sol +169 -0
  298. package/contracts/shared/Registerable.sol +75 -0
  299. package/contracts/shared/RegistryLinked.sol +43 -0
  300. package/contracts/shared/Service.sol +72 -0
  301. package/contracts/shared/TokenHandler.sol +35 -0
  302. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  303. package/contracts/shared/Versionable.sol +59 -0
  304. package/contracts/test/TestFee.sol +25 -0
  305. package/contracts/test/TestRegisterable.sol +18 -0
  306. package/contracts/test/TestRoleId.sol +14 -0
  307. package/contracts/test/TestService.sol +25 -0
  308. package/contracts/test/TestToken.sol +26 -0
  309. package/contracts/test/TestVersion.sol +44 -0
  310. package/contracts/test/TestVersionable.sol +17 -0
  311. package/contracts/test/Usdc.sol +26 -0
  312. package/contracts/types/AddressSet.sol +58 -0
  313. package/contracts/types/Amount.sol +109 -0
  314. package/contracts/types/Blocknumber.sol +119 -0
  315. package/contracts/types/ChainId.sol +38 -0
  316. package/contracts/types/ClaimId.sol +75 -0
  317. package/contracts/types/DistributorType.sol +55 -0
  318. package/contracts/types/Fee.sol +65 -0
  319. package/contracts/types/Key32.sol +50 -0
  320. package/contracts/types/NftId.sol +80 -0
  321. package/contracts/types/NftIdSet.sol +62 -0
  322. package/contracts/types/NumberId.sol +52 -0
  323. package/contracts/types/ObjectType.sol +157 -0
  324. package/contracts/types/PayoutId.sol +82 -0
  325. package/contracts/types/Referral.sol +89 -0
  326. package/contracts/types/RiskId.sol +43 -0
  327. package/contracts/types/RoleId.sol +97 -0
  328. package/contracts/types/Seconds.sol +54 -0
  329. package/contracts/types/StateId.sol +110 -0
  330. package/contracts/types/Timestamp.sol +132 -0
  331. package/contracts/types/UFixed.sol +326 -0
  332. package/contracts/types/Version.sol +108 -0
  333. package/package.json +21 -6
  334. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  335. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  336. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  337. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  338. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  339. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  340. package/artifacts/contracts/experiment/A.sol/A.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/A.sol/A.json +0 -128
  342. package/artifacts/contracts/experiment/A.sol/AShared.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/A.sol/AShared.json +0 -42
  344. package/artifacts/contracts/experiment/B.sol/B.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/B.sol/B.json +0 -76
  346. package/artifacts/contracts/experiment/C.sol/C.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/C.sol/C.json +0 -89
  348. package/artifacts/contracts/experiment/IA.sol/IA.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/IA.sol/IA.json +0 -128
  350. package/artifacts/contracts/experiment/IA.sol/ISharedA.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/IA.sol/ISharedA.json +0 -37
  352. package/artifacts/contracts/experiment/IB.sol/IB.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/IB.sol/IB.json +0 -50
  354. package/artifacts/contracts/experiment/IC.sol/IC.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/IC.sol/IC.json +0 -63
  356. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  358. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  359. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  360. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  361. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  362. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  364. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  366. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  367. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
  368. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  369. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  370. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  371. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  373. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  374. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  375. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  376. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  377. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  378. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  379. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  380. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  382. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  383. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  385. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
  387. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  389. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  390. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  391. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  393. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  394. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
  395. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  396. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  397. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  398. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  399. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  400. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  401. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  402. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  403. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  404. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  405. package/contracts/components/IPool.sol +0 -9
  406. package/contracts/components/IProduct.sol +0 -11
  407. package/contracts/experiment/A.sol +0 -56
  408. package/contracts/experiment/B.sol +0 -23
  409. package/contracts/experiment/C.sol +0 -28
  410. package/contracts/experiment/IA.sol +0 -18
  411. package/contracts/experiment/IB.sol +0 -9
  412. package/contracts/experiment/IC.sol +0 -11
  413. package/contracts/instance/access/Access.sol +0 -218
  414. package/contracts/instance/access/IAccess.sol +0 -83
  415. package/contracts/instance/component/ComponentModule.sol +0 -259
  416. package/contracts/instance/component/IComponent.sol +0 -94
  417. package/contracts/instance/policy/IPolicy.sol +0 -66
  418. package/contracts/instance/policy/PolicyModule.sol +0 -106
  419. package/contracts/instance/pool/IPoolModule.sol +0 -40
  420. package/contracts/instance/pool/PoolModule.sol +0 -83
  421. package/contracts/instance/product/IProductService.sol +0 -45
  422. package/contracts/instance/product/ProductService.sol +0 -105
@@ -0,0 +1,1847 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "DistributionService",
4
+ "sourceName": "contracts/instance/service/DistributionService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "instanceNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
88
+ {
89
+ "internalType": "address",
90
+ "name": "sender",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "component",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorComponentServiceInvalidType",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "component",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorComponentServiceNotComponent",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorComponentServiceSenderNotOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "sender",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorComponentServiceSenderNotService",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "address",
165
+ "name": "caller",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorDistributionServiceCallerNotRegistered",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "Amount",
176
+ "name": "transferredDistributionFeeAmount",
177
+ "type": "uint96"
178
+ },
179
+ {
180
+ "internalType": "Amount",
181
+ "name": "expectedDistributionFeeAmount",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "name": "ErrorDistributionServiceInvalidFeeTransferred",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "address",
192
+ "name": "target",
193
+ "type": "address"
194
+ }
195
+ ],
196
+ "name": "ErrorIAccessTargetLocked",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "address",
203
+ "name": "caller",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "commissionPercentage",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "maxCommissionPercentage",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "maxDiscountPercentage",
231
+ "type": "uint256"
232
+ },
233
+ {
234
+ "internalType": "uint256",
235
+ "name": "discountPercentage",
236
+ "type": "uint256"
237
+ }
238
+ ],
239
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "minDiscountPercentage",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "discountPercentage",
252
+ "type": "uint256"
253
+ }
254
+ ],
255
+ "name": "ErrorIDistributionServiceDiscountTooLow",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "Timestamp",
262
+ "name": "expiryAt",
263
+ "type": "uint40"
264
+ }
265
+ ],
266
+ "name": "ErrorIDistributionServiceExpirationInvalid",
267
+ "type": "error"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "maxReferralLifetime",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "expiryAt",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "ErrorIDistributionServiceExpiryTooLong",
283
+ "type": "error"
284
+ },
285
+ {
286
+ "inputs": [
287
+ {
288
+ "internalType": "uint256",
289
+ "name": "distributionFeeFixAmount",
290
+ "type": "uint256"
291
+ },
292
+ {
293
+ "internalType": "uint256",
294
+ "name": "distributionFeeVarAmount",
295
+ "type": "uint256"
296
+ },
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "distributionOwnerFeeFixAmount",
300
+ "type": "uint256"
301
+ },
302
+ {
303
+ "internalType": "uint256",
304
+ "name": "distributionOwnerFeeVarAmount",
305
+ "type": "uint256"
306
+ },
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "commissionAmount",
310
+ "type": "uint256"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "discountAmount",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "internalType": "string",
325
+ "name": "code",
326
+ "type": "string"
327
+ }
328
+ ],
329
+ "name": "ErrorIDistributionServiceInvalidReferral",
330
+ "type": "error"
331
+ },
332
+ {
333
+ "inputs": [
334
+ {
335
+ "internalType": "ReferralId",
336
+ "name": "referralId",
337
+ "type": "bytes8"
338
+ }
339
+ ],
340
+ "name": "ErrorIDistributionServiceInvalidReferralId",
341
+ "type": "error"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "maxDiscountPercentage",
348
+ "type": "uint256"
349
+ },
350
+ {
351
+ "internalType": "uint256",
352
+ "name": "limit",
353
+ "type": "uint256"
354
+ }
355
+ ],
356
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "uint256",
363
+ "name": "maxReferrals",
364
+ "type": "uint256"
365
+ }
366
+ ],
367
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
368
+ "type": "error"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "uint256",
374
+ "name": "minFee",
375
+ "type": "uint256"
376
+ },
377
+ {
378
+ "internalType": "uint256",
379
+ "name": "limit",
380
+ "type": "uint256"
381
+ }
382
+ ],
383
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "NftId",
390
+ "name": "nftId",
391
+ "type": "uint96"
392
+ },
393
+ {
394
+ "internalType": "NftId",
395
+ "name": "parentNftId",
396
+ "type": "uint96"
397
+ }
398
+ ],
399
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
400
+ "type": "error"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "NftId",
406
+ "name": "distributionNftId",
407
+ "type": "uint96"
408
+ },
409
+ {
410
+ "internalType": "ReferralId",
411
+ "name": "referralId",
412
+ "type": "bytes8"
413
+ }
414
+ ],
415
+ "name": "ErrorIDistributionServiceReferralInvalid",
416
+ "type": "error"
417
+ },
418
+ {
419
+ "inputs": [
420
+ {
421
+ "internalType": "NftId",
422
+ "name": "nftId",
423
+ "type": "uint96"
424
+ }
425
+ ],
426
+ "name": "ErrorNftOwnableAlreadyLinked",
427
+ "type": "error"
428
+ },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "address",
433
+ "name": "contractAddress",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "name": "ErrorNftOwnableContractNotRegistered",
438
+ "type": "error"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "ErrorNftOwnableInitialOwnerZero",
443
+ "type": "error"
444
+ },
445
+ {
446
+ "inputs": [
447
+ {
448
+ "internalType": "address",
449
+ "name": "account",
450
+ "type": "address"
451
+ }
452
+ ],
453
+ "name": "ErrorNftOwnableNotOwner",
454
+ "type": "error"
455
+ },
456
+ {
457
+ "inputs": [
458
+ {
459
+ "internalType": "address",
460
+ "name": "registryAddress",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "name": "ErrorNotRegistry",
465
+ "type": "error"
466
+ },
467
+ {
468
+ "inputs": [],
469
+ "name": "ErrorServiceNotImplemented",
470
+ "type": "error"
471
+ },
472
+ {
473
+ "inputs": [],
474
+ "name": "InvalidInitialization",
475
+ "type": "error"
476
+ },
477
+ {
478
+ "inputs": [],
479
+ "name": "NotInitializing",
480
+ "type": "error"
481
+ },
482
+ {
483
+ "anonymous": false,
484
+ "inputs": [
485
+ {
486
+ "indexed": false,
487
+ "internalType": "address",
488
+ "name": "authority",
489
+ "type": "address"
490
+ }
491
+ ],
492
+ "name": "AuthorityUpdated",
493
+ "type": "event"
494
+ },
495
+ {
496
+ "anonymous": false,
497
+ "inputs": [
498
+ {
499
+ "indexed": false,
500
+ "internalType": "uint64",
501
+ "name": "version",
502
+ "type": "uint64"
503
+ }
504
+ ],
505
+ "name": "Initialized",
506
+ "type": "event"
507
+ },
508
+ {
509
+ "inputs": [],
510
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
511
+ "outputs": [
512
+ {
513
+ "internalType": "bytes32",
514
+ "name": "",
515
+ "type": "bytes32"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [],
523
+ "name": "REGISTERABLE_LOCATION_V1",
524
+ "outputs": [
525
+ {
526
+ "internalType": "bytes32",
527
+ "name": "",
528
+ "type": "bytes32"
529
+ }
530
+ ],
531
+ "stateMutability": "view",
532
+ "type": "function"
533
+ },
534
+ {
535
+ "inputs": [],
536
+ "name": "authority",
537
+ "outputs": [
538
+ {
539
+ "internalType": "address",
540
+ "name": "",
541
+ "type": "address"
542
+ }
543
+ ],
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [
549
+ {
550
+ "internalType": "NftId",
551
+ "name": "distributionNftId",
552
+ "type": "uint96"
553
+ },
554
+ {
555
+ "internalType": "ReferralId",
556
+ "name": "referralId",
557
+ "type": "bytes8"
558
+ },
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "netPremiumAmount",
564
+ "type": "uint256"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "fullPremiumAmount",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "internalType": "uint256",
573
+ "name": "premiumAmount",
574
+ "type": "uint256"
575
+ },
576
+ {
577
+ "internalType": "uint256",
578
+ "name": "productFeeFixAmount",
579
+ "type": "uint256"
580
+ },
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "poolFeeFixAmount",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "bundleFeeFixAmount",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "distributionFeeFixAmount",
594
+ "type": "uint256"
595
+ },
596
+ {
597
+ "internalType": "uint256",
598
+ "name": "productFeeVarAmount",
599
+ "type": "uint256"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "poolFeeVarAmount",
604
+ "type": "uint256"
605
+ },
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "bundleFeeVarAmount",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "distributionFeeVarAmount",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "distributionOwnerFeeFixAmount",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "distributionOwnerFeeVarAmount",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "commissionAmount",
629
+ "type": "uint256"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "discountAmount",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "internalType": "struct IPolicy.Premium",
638
+ "name": "premium",
639
+ "type": "tuple"
640
+ }
641
+ ],
642
+ "name": "calculateFeeAmount",
643
+ "outputs": [
644
+ {
645
+ "components": [
646
+ {
647
+ "internalType": "uint256",
648
+ "name": "netPremiumAmount",
649
+ "type": "uint256"
650
+ },
651
+ {
652
+ "internalType": "uint256",
653
+ "name": "fullPremiumAmount",
654
+ "type": "uint256"
655
+ },
656
+ {
657
+ "internalType": "uint256",
658
+ "name": "premiumAmount",
659
+ "type": "uint256"
660
+ },
661
+ {
662
+ "internalType": "uint256",
663
+ "name": "productFeeFixAmount",
664
+ "type": "uint256"
665
+ },
666
+ {
667
+ "internalType": "uint256",
668
+ "name": "poolFeeFixAmount",
669
+ "type": "uint256"
670
+ },
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "bundleFeeFixAmount",
674
+ "type": "uint256"
675
+ },
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "distributionFeeFixAmount",
679
+ "type": "uint256"
680
+ },
681
+ {
682
+ "internalType": "uint256",
683
+ "name": "productFeeVarAmount",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "internalType": "uint256",
688
+ "name": "poolFeeVarAmount",
689
+ "type": "uint256"
690
+ },
691
+ {
692
+ "internalType": "uint256",
693
+ "name": "bundleFeeVarAmount",
694
+ "type": "uint256"
695
+ },
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "distributionFeeVarAmount",
699
+ "type": "uint256"
700
+ },
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "distributionOwnerFeeFixAmount",
704
+ "type": "uint256"
705
+ },
706
+ {
707
+ "internalType": "uint256",
708
+ "name": "distributionOwnerFeeVarAmount",
709
+ "type": "uint256"
710
+ },
711
+ {
712
+ "internalType": "uint256",
713
+ "name": "commissionAmount",
714
+ "type": "uint256"
715
+ },
716
+ {
717
+ "internalType": "uint256",
718
+ "name": "discountAmount",
719
+ "type": "uint256"
720
+ }
721
+ ],
722
+ "internalType": "struct IPolicy.Premium",
723
+ "name": "finalPremium",
724
+ "type": "tuple"
725
+ }
726
+ ],
727
+ "stateMutability": "view",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "address",
734
+ "name": "distributor",
735
+ "type": "address"
736
+ },
737
+ {
738
+ "internalType": "DistributorType",
739
+ "name": "distributorType",
740
+ "type": "bytes8"
741
+ },
742
+ {
743
+ "internalType": "bytes",
744
+ "name": "data",
745
+ "type": "bytes"
746
+ }
747
+ ],
748
+ "name": "createDistributor",
749
+ "outputs": [
750
+ {
751
+ "internalType": "NftId",
752
+ "name": "distributorNftId",
753
+ "type": "uint96"
754
+ }
755
+ ],
756
+ "stateMutability": "nonpayable",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [
761
+ {
762
+ "internalType": "string",
763
+ "name": "name",
764
+ "type": "string"
765
+ },
766
+ {
767
+ "internalType": "UFixed",
768
+ "name": "minDiscountPercentage",
769
+ "type": "uint256"
770
+ },
771
+ {
772
+ "internalType": "UFixed",
773
+ "name": "maxDiscountPercentage",
774
+ "type": "uint256"
775
+ },
776
+ {
777
+ "internalType": "UFixed",
778
+ "name": "commissionPercentage",
779
+ "type": "uint256"
780
+ },
781
+ {
782
+ "internalType": "uint32",
783
+ "name": "maxReferralCount",
784
+ "type": "uint32"
785
+ },
786
+ {
787
+ "internalType": "uint32",
788
+ "name": "maxReferralLifetime",
789
+ "type": "uint32"
790
+ },
791
+ {
792
+ "internalType": "bool",
793
+ "name": "allowSelfReferrals",
794
+ "type": "bool"
795
+ },
796
+ {
797
+ "internalType": "bool",
798
+ "name": "allowRenewals",
799
+ "type": "bool"
800
+ },
801
+ {
802
+ "internalType": "bytes",
803
+ "name": "data",
804
+ "type": "bytes"
805
+ }
806
+ ],
807
+ "name": "createDistributorType",
808
+ "outputs": [
809
+ {
810
+ "internalType": "DistributorType",
811
+ "name": "distributorType",
812
+ "type": "bytes8"
813
+ }
814
+ ],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
820
+ {
821
+ "internalType": "NftId",
822
+ "name": "distributorNftId",
823
+ "type": "uint96"
824
+ },
825
+ {
826
+ "internalType": "string",
827
+ "name": "code",
828
+ "type": "string"
829
+ },
830
+ {
831
+ "internalType": "UFixed",
832
+ "name": "discountPercentage",
833
+ "type": "uint256"
834
+ },
835
+ {
836
+ "internalType": "uint32",
837
+ "name": "maxReferrals",
838
+ "type": "uint32"
839
+ },
840
+ {
841
+ "internalType": "Timestamp",
842
+ "name": "expiryAt",
843
+ "type": "uint40"
844
+ },
845
+ {
846
+ "internalType": "bytes",
847
+ "name": "data",
848
+ "type": "bytes"
849
+ }
850
+ ],
851
+ "name": "createReferral",
852
+ "outputs": [
853
+ {
854
+ "internalType": "ReferralId",
855
+ "name": "referralId",
856
+ "type": "bytes8"
857
+ }
858
+ ],
859
+ "stateMutability": "nonpayable",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [],
864
+ "name": "getDomain",
865
+ "outputs": [
866
+ {
867
+ "internalType": "ObjectType",
868
+ "name": "",
869
+ "type": "uint8"
870
+ }
871
+ ],
872
+ "stateMutability": "pure",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [],
877
+ "name": "getInitialInfo",
878
+ "outputs": [
879
+ {
880
+ "components": [
881
+ {
882
+ "internalType": "NftId",
883
+ "name": "nftId",
884
+ "type": "uint96"
885
+ },
886
+ {
887
+ "internalType": "NftId",
888
+ "name": "parentNftId",
889
+ "type": "uint96"
890
+ },
891
+ {
892
+ "internalType": "ObjectType",
893
+ "name": "objectType",
894
+ "type": "uint8"
895
+ },
896
+ {
897
+ "internalType": "bool",
898
+ "name": "isInterceptor",
899
+ "type": "bool"
900
+ },
901
+ {
902
+ "internalType": "address",
903
+ "name": "objectAddress",
904
+ "type": "address"
905
+ },
906
+ {
907
+ "internalType": "address",
908
+ "name": "initialOwner",
909
+ "type": "address"
910
+ },
911
+ {
912
+ "internalType": "bytes",
913
+ "name": "data",
914
+ "type": "bytes"
915
+ }
916
+ ],
917
+ "internalType": "struct IRegistry.ObjectInfo",
918
+ "name": "info",
919
+ "type": "tuple"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "getInstanceService",
928
+ "outputs": [
929
+ {
930
+ "internalType": "contract InstanceService",
931
+ "name": "",
932
+ "type": "address"
933
+ }
934
+ ],
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [],
940
+ "name": "getNftId",
941
+ "outputs": [
942
+ {
943
+ "internalType": "NftId",
944
+ "name": "",
945
+ "type": "uint96"
946
+ }
947
+ ],
948
+ "stateMutability": "view",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [],
953
+ "name": "getOwner",
954
+ "outputs": [
955
+ {
956
+ "internalType": "address",
957
+ "name": "",
958
+ "type": "address"
959
+ }
960
+ ],
961
+ "stateMutability": "view",
962
+ "type": "function"
963
+ },
964
+ {
965
+ "inputs": [],
966
+ "name": "getRegistry",
967
+ "outputs": [
968
+ {
969
+ "internalType": "contract IRegistry",
970
+ "name": "",
971
+ "type": "address"
972
+ }
973
+ ],
974
+ "stateMutability": "view",
975
+ "type": "function"
976
+ },
977
+ {
978
+ "inputs": [],
979
+ "name": "getRegistryService",
980
+ "outputs": [
981
+ {
982
+ "internalType": "contract IRegistryService",
983
+ "name": "",
984
+ "type": "address"
985
+ }
986
+ ],
987
+ "stateMutability": "view",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [],
992
+ "name": "getVersion",
993
+ "outputs": [
994
+ {
995
+ "internalType": "Version",
996
+ "name": "",
997
+ "type": "uint24"
998
+ }
999
+ ],
1000
+ "stateMutability": "pure",
1001
+ "type": "function"
1002
+ },
1003
+ {
1004
+ "inputs": [],
1005
+ "name": "initializeERC165",
1006
+ "outputs": [],
1007
+ "stateMutability": "nonpayable",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "address",
1014
+ "name": "initialOwner",
1015
+ "type": "address"
1016
+ },
1017
+ {
1018
+ "internalType": "address",
1019
+ "name": "registryAddress",
1020
+ "type": "address"
1021
+ }
1022
+ ],
1023
+ "name": "initializeNftOwnable",
1024
+ "outputs": [],
1025
+ "stateMutability": "nonpayable",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "address",
1032
+ "name": "registryAddress",
1033
+ "type": "address"
1034
+ },
1035
+ {
1036
+ "internalType": "NftId",
1037
+ "name": "parentNftId",
1038
+ "type": "uint96"
1039
+ },
1040
+ {
1041
+ "internalType": "ObjectType",
1042
+ "name": "objectType",
1043
+ "type": "uint8"
1044
+ },
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "isInterceptor",
1048
+ "type": "bool"
1049
+ },
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "initialOwner",
1053
+ "type": "address"
1054
+ },
1055
+ {
1056
+ "internalType": "bytes",
1057
+ "name": "registryData",
1058
+ "type": "bytes"
1059
+ }
1060
+ ],
1061
+ "name": "initializeRegisterable",
1062
+ "outputs": [],
1063
+ "stateMutability": "nonpayable",
1064
+ "type": "function"
1065
+ },
1066
+ {
1067
+ "inputs": [
1068
+ {
1069
+ "internalType": "address",
1070
+ "name": "registryAddress",
1071
+ "type": "address"
1072
+ }
1073
+ ],
1074
+ "name": "initializeRegistryLinked",
1075
+ "outputs": [],
1076
+ "stateMutability": "nonpayable",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [
1081
+ {
1082
+ "internalType": "address",
1083
+ "name": "registry",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "internalType": "address",
1088
+ "name": "authority",
1089
+ "type": "address"
1090
+ },
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "initialOwner",
1094
+ "type": "address"
1095
+ }
1096
+ ],
1097
+ "name": "initializeService",
1098
+ "outputs": [],
1099
+ "stateMutability": "nonpayable",
1100
+ "type": "function"
1101
+ },
1102
+ {
1103
+ "inputs": [
1104
+ {
1105
+ "internalType": "address",
1106
+ "name": "activatedBy",
1107
+ "type": "address"
1108
+ },
1109
+ {
1110
+ "internalType": "bytes",
1111
+ "name": "data",
1112
+ "type": "bytes"
1113
+ }
1114
+ ],
1115
+ "name": "initializeVersionable",
1116
+ "outputs": [],
1117
+ "stateMutability": "nonpayable",
1118
+ "type": "function"
1119
+ },
1120
+ {
1121
+ "inputs": [],
1122
+ "name": "isConsumingScheduledOp",
1123
+ "outputs": [
1124
+ {
1125
+ "internalType": "bytes4",
1126
+ "name": "",
1127
+ "type": "bytes4"
1128
+ }
1129
+ ],
1130
+ "stateMutability": "view",
1131
+ "type": "function"
1132
+ },
1133
+ {
1134
+ "inputs": [],
1135
+ "name": "linkToRegisteredNftId",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "NftId",
1144
+ "name": "distributionNftId",
1145
+ "type": "uint96"
1146
+ },
1147
+ {
1148
+ "internalType": "ReferralId",
1149
+ "name": "referralId",
1150
+ "type": "bytes8"
1151
+ },
1152
+ {
1153
+ "components": [
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "netPremiumAmount",
1157
+ "type": "uint256"
1158
+ },
1159
+ {
1160
+ "internalType": "uint256",
1161
+ "name": "fullPremiumAmount",
1162
+ "type": "uint256"
1163
+ },
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "premiumAmount",
1167
+ "type": "uint256"
1168
+ },
1169
+ {
1170
+ "internalType": "uint256",
1171
+ "name": "productFeeFixAmount",
1172
+ "type": "uint256"
1173
+ },
1174
+ {
1175
+ "internalType": "uint256",
1176
+ "name": "poolFeeFixAmount",
1177
+ "type": "uint256"
1178
+ },
1179
+ {
1180
+ "internalType": "uint256",
1181
+ "name": "bundleFeeFixAmount",
1182
+ "type": "uint256"
1183
+ },
1184
+ {
1185
+ "internalType": "uint256",
1186
+ "name": "distributionFeeFixAmount",
1187
+ "type": "uint256"
1188
+ },
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "productFeeVarAmount",
1192
+ "type": "uint256"
1193
+ },
1194
+ {
1195
+ "internalType": "uint256",
1196
+ "name": "poolFeeVarAmount",
1197
+ "type": "uint256"
1198
+ },
1199
+ {
1200
+ "internalType": "uint256",
1201
+ "name": "bundleFeeVarAmount",
1202
+ "type": "uint256"
1203
+ },
1204
+ {
1205
+ "internalType": "uint256",
1206
+ "name": "distributionFeeVarAmount",
1207
+ "type": "uint256"
1208
+ },
1209
+ {
1210
+ "internalType": "uint256",
1211
+ "name": "distributionOwnerFeeFixAmount",
1212
+ "type": "uint256"
1213
+ },
1214
+ {
1215
+ "internalType": "uint256",
1216
+ "name": "distributionOwnerFeeVarAmount",
1217
+ "type": "uint256"
1218
+ },
1219
+ {
1220
+ "internalType": "uint256",
1221
+ "name": "commissionAmount",
1222
+ "type": "uint256"
1223
+ },
1224
+ {
1225
+ "internalType": "uint256",
1226
+ "name": "discountAmount",
1227
+ "type": "uint256"
1228
+ }
1229
+ ],
1230
+ "internalType": "struct IPolicy.Premium",
1231
+ "name": "premium",
1232
+ "type": "tuple"
1233
+ },
1234
+ {
1235
+ "internalType": "Amount",
1236
+ "name": "transferredDistributionFeeAmount",
1237
+ "type": "uint96"
1238
+ }
1239
+ ],
1240
+ "name": "processSale",
1241
+ "outputs": [],
1242
+ "stateMutability": "nonpayable",
1243
+ "type": "function"
1244
+ },
1245
+ {
1246
+ "inputs": [
1247
+ {
1248
+ "internalType": "NftId",
1249
+ "name": "distributionNftId",
1250
+ "type": "uint96"
1251
+ },
1252
+ {
1253
+ "internalType": "ReferralId",
1254
+ "name": "referralId",
1255
+ "type": "bytes8"
1256
+ }
1257
+ ],
1258
+ "name": "referralIsValid",
1259
+ "outputs": [
1260
+ {
1261
+ "internalType": "bool",
1262
+ "name": "isValid",
1263
+ "type": "bool"
1264
+ }
1265
+ ],
1266
+ "stateMutability": "view",
1267
+ "type": "function"
1268
+ },
1269
+ {
1270
+ "inputs": [
1271
+ {
1272
+ "internalType": "address",
1273
+ "name": "distributionAddress",
1274
+ "type": "address"
1275
+ }
1276
+ ],
1277
+ "name": "register",
1278
+ "outputs": [
1279
+ {
1280
+ "internalType": "NftId",
1281
+ "name": "distributionNftId",
1282
+ "type": "uint96"
1283
+ }
1284
+ ],
1285
+ "stateMutability": "nonpayable",
1286
+ "type": "function"
1287
+ },
1288
+ {
1289
+ "inputs": [
1290
+ {
1291
+ "internalType": "bytes4",
1292
+ "name": "interfaceId",
1293
+ "type": "bytes4"
1294
+ }
1295
+ ],
1296
+ "name": "registerInterface",
1297
+ "outputs": [],
1298
+ "stateMutability": "nonpayable",
1299
+ "type": "function"
1300
+ },
1301
+ {
1302
+ "inputs": [
1303
+ {
1304
+ "internalType": "address",
1305
+ "name": "newAuthority",
1306
+ "type": "address"
1307
+ }
1308
+ ],
1309
+ "name": "setAuthority",
1310
+ "outputs": [],
1311
+ "stateMutability": "nonpayable",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "inputs": [
1316
+ {
1317
+ "components": [
1318
+ {
1319
+ "internalType": "UFixed",
1320
+ "name": "fractionalFee",
1321
+ "type": "uint256"
1322
+ },
1323
+ {
1324
+ "internalType": "uint256",
1325
+ "name": "fixedFee",
1326
+ "type": "uint256"
1327
+ }
1328
+ ],
1329
+ "internalType": "struct Fee",
1330
+ "name": "minDistributionOwnerFee",
1331
+ "type": "tuple"
1332
+ },
1333
+ {
1334
+ "components": [
1335
+ {
1336
+ "internalType": "UFixed",
1337
+ "name": "fractionalFee",
1338
+ "type": "uint256"
1339
+ },
1340
+ {
1341
+ "internalType": "uint256",
1342
+ "name": "fixedFee",
1343
+ "type": "uint256"
1344
+ }
1345
+ ],
1346
+ "internalType": "struct Fee",
1347
+ "name": "distributionFee",
1348
+ "type": "tuple"
1349
+ }
1350
+ ],
1351
+ "name": "setFees",
1352
+ "outputs": [],
1353
+ "stateMutability": "nonpayable",
1354
+ "type": "function"
1355
+ },
1356
+ {
1357
+ "inputs": [
1358
+ {
1359
+ "internalType": "bytes4",
1360
+ "name": "interfaceId",
1361
+ "type": "bytes4"
1362
+ }
1363
+ ],
1364
+ "name": "supportsInterface",
1365
+ "outputs": [
1366
+ {
1367
+ "internalType": "bool",
1368
+ "name": "",
1369
+ "type": "bool"
1370
+ }
1371
+ ],
1372
+ "stateMutability": "view",
1373
+ "type": "function"
1374
+ },
1375
+ {
1376
+ "inputs": [
1377
+ {
1378
+ "internalType": "bytes",
1379
+ "name": "data",
1380
+ "type": "bytes"
1381
+ }
1382
+ ],
1383
+ "name": "upgradeVersionable",
1384
+ "outputs": [],
1385
+ "stateMutability": "nonpayable",
1386
+ "type": "function"
1387
+ }
1388
+ ],
1389
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615fac80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635dcb3bae1161010f57806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f1461051f578063caf4e3d41461053d578063cc9fc59a14610545578063f7c34ee01461054d57600080fd5b806392e5fab6146104d5578063ada9652e146104e8578063b68d1809146104fd578063b6b412ba1461050c57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e5780638e32e979146104a15780638fb36037146104b457600080fd5b80635dcb3bae1461042f578063644c45e014610442578063675393bf146104605780637a9e5e4b1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780634420e486146103cc57806349bb9e4b146103f75780635ab1bd531461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614a4d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610234610560565b60405162ffffff9091168152602001610223565b6102506105ea565b6040516102239190614ac7565b610265610741565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614a4d565b610948565b6102c26102bd366004614d36565b610975565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d7f565b61119d565b61026561038c366004614e77565b6114d0565b6103a461039f366004614f21565b611575565b6040516102239190614fed565b6102656103bf366004615002565b611a3e565b610265611b8b565b6103df6103da366004615036565b611bd1565b6040516001600160601b039091168152602001610223565b610265610405366004615053565b61206d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103df61043d3660046150a2565b61216c565b600080516020615f17833981519152546001600160601b03166103df565b61026561046e366004615036565b612388565b610265610481366004615036565b612496565b610417612530565b6103a461049c366004615116565b612667565b6102656104af3660046151b0565b612e67565b6104bc6130a0565b6040516001600160e01b03199091168152602001610223565b6102656104e33660046151fb565b6130d8565b61028e600080516020615f1783398151915281565b60405160788152602001610223565b61026561051a366004615288565b613820565b600080516020615f37833981519152546001600160a01b0316610417565b610417613aa6565b610417613ab2565b61026561055b3660046152bd565b613abe565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e591906152eb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161069d612530565b6001600160a01b031681526020018260010180546106ba90615310565b80601f01602080910402602001604051908101604052809291908181526020018280546106e690615310565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b505050505081525091505090565b6000600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190615355565b156108055780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108186001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190615355565b6108ac5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107fc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061537d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610950613b35565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109ee604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006109f985613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f919061539a565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad791906153f2565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b719173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b29919060040190815260200190565b602060405180830381865af4158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a9190615493565b8451613c97565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be69190615493565b61014089018190526020890180519192508291610c049083906154c2565b905250610c118a8a61119d565b610c435750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611196565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c72908d90600401614fed565b600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb79190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b0388169063d06458c69082906327b1d79290602401600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d919081019061560e565b516040516001600160e01b031960e084901b168152610d5f9190600401614fed565b600060405180830381865afa158015610d7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da491908101906156cd565b8a516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e219190615493565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e6492600401918252602082015260400190565b602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190615493565b6101a08c0181905260208c01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f639160040190815260200190565b602060405180830381865af4158015610f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa49190615493565b60408085015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610fe792600401918252602082015260400190565b602060405180830381865af4158015611004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110289190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109d9190615493565b6101c08c0181905260208601516101608d01526110ba82866157c4565b6110c491906157c4565b6101808c01526101c08b015160208c01516110df91906157c4565b60408c0152505050602082015161016089015110806111285750876101a00151886101800151896101c0015161111591906154c2565b61111f91906154c2565b88610140015114155b1561118c5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016107fc565b8796505050505050505b9392505050565b6000806111a984613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120f919061539a565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b815260040161123a9190614fed565b600060405180830381865afa158015611257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261127f9190810190615530565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190615355565b15611311576000925050506114ca565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561136d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113919190615355565b806114a3575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156113f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114179190615355565b80156114a357506114a373__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e91906157d7565b8260a0015164ffffffffff9081169116111590565b92508280156114c55750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6114d8613b35565b6114e28287613abe565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161156b8382615842565b5050505050505050565b6000806000611582613cac565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ea919061539a565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165e91906153f2565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af41580156116c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e69190615493565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561174a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176e9190615493565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af41580156117c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ec9190615355565b156118fb57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190615493565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d99190615493565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107fc565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611937929190615901565b602060405180830381865af4158015611954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119789190615923565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016119fc929190615940565b600060405180830381600087803b158015611a1657600080fd5b505af1158015611a2a573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611a60610560565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611aa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac49190615a18565b600080516020615f578339815191528054600160401b900460ff1680611af7575080546001600160401b03808416911610155b15611b155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611b3f83613f30565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611b93613b35565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080611bea866078611be5613f38565b613fb0565b93509350935093506000611bfc613aa6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c769190810190615a40565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611cb857600080fd5b505af1158015611ccc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4a91906153f2565b6040518363ffffffff1660e01b8152600401611d67929190615b4a565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b506000925060029150611da59050565b604051908082528060200260200182016040528015611dd857816020015b6060815260200190600190039081611dc35790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110611e0c57611e0c615b68565b602090810291909101015260408051600280825260608201909252908160200160208202803683370190505081600181518110611e4b57611e4b615b68565b602002602001018190525063b6b412ba60e01b81600081518110611e7157611e71615b68565b6020026020010151600081518110611e8b57611e8b615b68565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b9082906001908110611ec257611ec2615b68565b6020026020010151600081518110611edc57611edc615b68565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050611f20613f38565b81600081518110611f3357611f33615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f5b6142a1565b81600181518110611f6e57611f6e615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f96613ab2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611fe4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261200c9190810190615b7e565b86866040518663ffffffff1660e01b815260040161202e959493929190615bf6565b600060405180830381600087803b15801561204857600080fd5b505af115801561205c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156120a05750825b90506000826001600160401b031660011480156120bc5750303b155b9050811580156120ca575080155b156120e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561211257845460ff60401b1916600160401b1785555b61211c87876142dd565b831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612179613cac565b91509150612185613aa6565b6001600160a01b03166357a8fba76040518060e001604052806121a6600090565b6001600160601b03168152602001856001600160601b031681526020016121cb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161222a9190614ac7565b6020604051808303816000875af1158015612249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226d919061537d565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061537d565b6001600160601b031681526000602090910152604051631f32844960e21b81529091506001600160a01b03831690637cca11249061234c9087908590600401615d30565b600060405180830381600087803b15801561236657600080fd5b505af115801561237a573d6000803e3d6000fd5b505050505050509392505050565b612390613b35565b806001600160a01b03163b6000036123c65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015612440575060408051601f3d908101601f1916820190925261243d91810190615355565b60015b6124685760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b806124915760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107fc565b505b50565b336124b6600080516020615f37833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146124f15760405162d1953b60e31b81526001600160a01b03821660048201526024016107fc565b816001600160a01b03163b600003612527576040516361798f2f60e11b81526001600160a01b03831660048201526024016107fc565b612491826143fd565b600080600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156125a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c49190615355565b15612651576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061264b919061539a565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612674613cac565b91509150875160000361269c5787604051634fad6a5360e11b81526004016107fc9190615d52565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156126f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127169190615355565b1561273d5760405163df85467b60e01b815264ffffffffff861660048201526024016107fc565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561277d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a1919061539a565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156127f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261281c919081019061560e565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c69061284f908590600401614fed565b600060405180830381865afa15801561286c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289491908101906156cd565b90508863ffffffff16816080015163ffffffff1610156128d5576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107fc565b60208101518a10156129f1576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295b9190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129cf9190615493565b6040516338a25a8b60e21b8152600481019290925260248201526044016107fc565b60408101518a1115612b0d576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aeb9190615493565b604051631e1ea4f360e31b8152600481019290925260248201526044016107fc565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8591906157d7565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c009190615493565b604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7a9190615493565b612c8491906157c4565b1115612d305760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d099190615493565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107fc565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690612d699088908f90600401615901565b602060405180830381865af4158015612d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612daa9190615923565b6040805160e0810182526001600160601b038f168152602081018e90528082018d905263ffffffff8c1660608201526000608082015264ffffffffff8b1660a082015260c081018a90529051631941cfe160e31b8152919750906001600160a01b0386169063ca0e7f0890612e25908a908590600401615de1565b600060405180830381600087803b158015612e3f57600080fd5b505af1158015612e53573d6000803e3d6000fd5b505050505050505050509695505050505050565b612e6f613b35565b612eef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed5919061537d565b603c600085604051806020016040528060008152506114d0565b6001600160a01b03821615612f0c57612f078261445e565b61307b565b6000612f206001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa49190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612fe9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300d919061539a565b9050613079816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613050573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613074919061539a565b61445e565b505b61308b634a531f3360e01b610948565b61309b63b68d180960e01b610948565b505050565b600080516020615f37833981519152805460009190600160a01b900460ff166130ca57600061264b565b638fb3603760e01b91505090565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061311c906001600160c01b0319881690600401614fed565b602060405180830381865af4158015613139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315d9190615355565b159050600061316c868661119d565b9050818015613179575080155b156131b257604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107fc565b60006131bd87613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613223919061539a565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016132539190614fed565b600060405180830381865afa158015613270573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132989190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156132ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613316919081019061560e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561336a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338e91906153f2565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968b61018001518c61016001516133c291906154c2565b6040518263ffffffff1660e01b81526004016133e091815260200190565b602060405180830381865af41580156133fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613421919061537d565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968c6101a001516040518263ffffffff1660e01b815260040161346391815260200190565b602060405180830381865af4158015613480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134a4919061537d565b90506134b98a6134b4848461446f565b6144f6565b6134f757896134c8838361446f565b60405160016282bae560e01b031981526001600160601b039283166004820152911660248201526044016107fc565b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801561354f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135739190615355565b1561366c5760405163046e44af60e11b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156135d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135f49190615493565b8360a00181815161360591906154c2565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161363993929190615e23565b600060405180830381600087803b15801561365357600080fd5b505af1158015613667573d6000803e3d6000fd5b505050505b8815613811576001856080018181516136859190615e53565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e906136bf908f90899060ff90600401615e77565b600060405180830381600087803b1580156136d957600080fd5b505af11580156136ed573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__92506330b8415f9150602401602060405180830381865af4158015613749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061376d9190615355565b156138115761378084606001518261446f565b6001600160601b03166060850152608084018051600191906137a3908390615e53565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03891691631e40b363916137de9190889060ff90600401615eaf565b600060405180830381600087803b1580156137f857600080fd5b505af115801561380c573d6000803e3d6000fd5b505050505b50505050505050505050505050565b81518151101561393a578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561387d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138a19190615493565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156138f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139189190615493565b604051631a9c6b0960e01b8152600481019290925260248201526044016107fc565b60008080613948607861457d565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561398e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139b2919061539a565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613a06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a2a91906153f2565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613a6b908890859060ff90600401615e23565b600060405180830381600087803b158015613a8557600080fd5b505af1158015613a99573d6000803e3d6000fd5b5050505050505050505050565b60006105e560286147b0565b60006105e560466147b0565b613ac6613b35565b613acf81612388565b613ad7611b8b565b6001600160a01b038216613afe5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f1783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f5783398151915254600160401b900460ff16613b6c57604051631afcd79f60e31b815260040160405180910390fd5b565b600080613b836001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613bd2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bfa9190810190615a40565b6020015190506000613c146001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c8b9190810190615a40565b60800151949350505050565b60006111968383670de0b6b3a76400006148bd565b600080613cc16001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2b919061537d565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613daa9190615355565b15613dca5760405163752c00fd60e11b81523360048201526024016107fc565b6000613dde6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e559190810190615a40565b9050613e738160400151613e67607890565b60ff9081169116141590565b15613e9357604051637ab07d8760e01b81523360048201526024016107fc565b6000613ea76001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613efc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f249190810190615a40565b60800151939492505050565b6101e5613b35565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613f8c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190615a18565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015614004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140289190615355565b614050576040516359bff0e360e11b81526001600160a01b03881660048201526024016107fc565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015614090573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140b89190810190615a40565b90506140cf81604001518860ff9081169116141590565b1561410f576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107fc565b60a08101516001600160a01b03858116908216146141615760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107fc565b81602001519250614171836149a7565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141d5919061539a565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801561422c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142509190615355565b61429657604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107fc565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613f6f565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156143105750825b90506000826001600160401b0316600114801561432c5750303b155b90508115801561433a575080155b156143585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561438257845460ff60401b1916600160401b1785555b600080878060200190518101906143999190615ed1565b925090506143a98160008b612e67565b6143b963db53be8360e01b610948565b5050831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161215a565b600080516020615f3783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b614466613b35565b61249381614a3c565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156144d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611196919061537d565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015614559573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190615355565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806145c96001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614610573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146389190810190615a40565b925061464f83604001518660ff9081169116141590565b1561469357608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff80881660248401521660448201526064016107fc565b826000015193506146a783602001516149a7565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156146e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061470b919061539a565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147799190615355565b156147a857608083015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107fc565b509193909250565b60006147c46001546001600160a01b031690565b6001600160a01b031663d39e6043836147db610560565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015614830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148549190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ca919061539a565b60008080600019858709858702925082811083820303915050806000036148f7578382816148ed576148ed615f00565b0492505050611196565b80841161493e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107fc565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006149bb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614a329190810190615a40565b6080015192915050565b614a44613b35565b612493816143fd565b600060208284031215614a5f57600080fd5b81356001600160e01b03198116811461119657600080fd5b60005b83811015614a92578181015183820152602001614a7a565b50506000910152565b60008151808452614ab3816020860160208601614a77565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b3060c08401826001600160a01b03169052565b5060c083015160e080840152614b4a610100840182614a9b565b949350505050565b6001600160601b038116811461249357600080fd5b6001600160c01b03198116811461249357600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405290565b604080519081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160a081016001600160401b0381118282101715614bb657614bb6614b7d565b60405161012081016001600160401b0381118282101715614bb657614bb6614b7d565b604051601f8201601f191681016001600160401b0381118282101715614c6d57614c6d614b7d565b604052919050565b60006101e08284031215614c8857600080fd5b614c90614b93565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614d4c57600080fd5b8335614d5781614b52565b92506020840135614d6781614b67565b9150614d768560408601614c75565b90509250925092565b60008060408385031215614d9257600080fd5b8235614d9d81614b52565b91506020830135614dad81614b67565b809150509250929050565b6001600160a01b038116811461249357600080fd5b60ff8116811461249357600080fd5b801515811461249357600080fd5b8035614df581614ddc565b919050565b60006001600160401b03821115614e1357614e13614b7d565b50601f01601f191660200190565b600082601f830112614e3257600080fd5b8135614e45614e4082614dfa565b614c45565b818152846020838601011115614e5a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e9057600080fd5b8635614e9b81614db8565b95506020870135614eab81614b52565b94506040870135614ebb81614dcd565b93506060870135614ecb81614ddc565b92506080870135614edb81614db8565b915060a08701356001600160401b03811115614ef657600080fd5b614f0289828a01614e21565b9150509295509295509295565b63ffffffff8116811461249357600080fd5b60008060008060008060008060006101208a8c031215614f4057600080fd5b89356001600160401b0380821115614f5757600080fd5b614f638d838e01614e21565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f8a82614f0f565b90955060a08b013590614f9c82614f0f565b819550614fab60c08d01614dea565b9450614fb960e08d01614dea565b93506101008c0135915080821115614fd057600080fd5b50614fdd8c828d01614e21565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561501457600080fd5b81356001600160401b0381111561502a57600080fd5b614b4a84828501614e21565b60006020828403121561504857600080fd5b813561119681614db8565b6000806040838503121561506657600080fd5b823561507181614db8565b915060208301356001600160401b0381111561508c57600080fd5b61509885828601614e21565b9150509250929050565b6000806000606084860312156150b757600080fd5b83356150c281614db8565b925060208401356150d281614b67565b915060408401356001600160401b038111156150ed57600080fd5b6150f986828701614e21565b9150509250925092565b64ffffffffff8116811461249357600080fd5b60008060008060008060c0878903121561512f57600080fd5b863561513a81614b52565b955060208701356001600160401b038082111561515657600080fd5b6151628a838b01614e21565b9650604089013595506060890135915061517b82614f0f565b90935060808801359061518d82615103565b90925060a088013590808211156151a357600080fd5b50614f0289828a01614e21565b6000806000606084860312156151c557600080fd5b83356151d081614db8565b925060208401356151e081614db8565b915060408401356151f081614db8565b809150509250925092565b600080600080610240858703121561521257600080fd5b843561521d81614b52565b9350602085013561522d81614b67565b925061523c8660408701614c75565b915061022085013561524d81614b52565b939692955090935050565b60006040828403121561526a57600080fd5b615272614bbc565b9050813581526020820135602082015292915050565b6000806080838503121561529b57600080fd5b6152a58484615258565b91506152b48460408501615258565b90509250929050565b600080604083850312156152d057600080fd5b82356152db81614db8565b91506020830135614dad81614db8565b6000602082840312156152fd57600080fd5b815162ffffff8116811461119657600080fd5b600181811c9082168061532457607f821691505b60208210810361534457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614df581614ddc565b60006020828403121561536757600080fd5b815161119681614ddc565b8051614df581614b52565b60006020828403121561538f57600080fd5b815161119681614b52565b6000602082840312156153ac57600080fd5b815161119681614db8565b6000604082840312156153c957600080fd5b6153d1614bbc565b9050815181526020820151602082015292915050565b8051614df581614db8565b6000610100828403121561540557600080fd5b60405160c081018181106001600160401b038211171561542757615427614b7d565b604052825161543581614b52565b8152602083015161544581614db8565b602082015261545784604085016153b7565b604082015261546984608085016153b7565b606082015260c083015161547c81614db8565b608082015260e0929092015160a083015250919050565b6000602082840312156154a557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156114ca576114ca6154ac565b600082601f8301126154e657600080fd5b81516154f4614e4082614dfa565b81815284602083860101111561550957600080fd5b614b4a826020830160208701614a77565b8051614df581614f0f565b8051614df581615103565b60006020828403121561554257600080fd5b81516001600160401b038082111561555957600080fd5b9083019060e0828603121561556d57600080fd5b615575614bde565b61557e83615372565b815260208301518281111561559257600080fd5b61559e878286016154d5565b602083015250604083015160408201526155ba6060840161551a565b60608201526155cb6080840161551a565b60808201526155dc60a08401615525565b60a082015260c0830151828111156155f357600080fd5b6155ff878286016154d5565b60c08301525095945050505050565b60006020828403121561562057600080fd5b81516001600160401b038082111561563757600080fd5b9083019060a0828603121561564b57600080fd5b615653614c00565b825161565e81614b67565b8152602083015161566e81614ddc565b602082015260408301518281111561568557600080fd5b615691878286016154d5565b604083015250606083015191506156a782614b52565b816060820152608083015192506156bd83614f0f565b6080810192909252509392505050565b6000602082840312156156df57600080fd5b81516001600160401b03808211156156f657600080fd5b90830190610120828603121561570b57600080fd5b615713614c22565b82518281111561572257600080fd5b61572e878286016154d5565b82525060208301516020820152604083015160408201526060830151606082015261575b6080840161551a565b608082015261576c60a0840161551a565b60a082015261577d60c0840161534a565b60c082015261578e60e0840161534a565b60e082015261010080840151838111156157a757600080fd5b6157b3888287016154d5565b918301919091525095945050505050565b818103818111156114ca576114ca6154ac565b6000602082840312156157e957600080fd5b815161119681615103565b601f82111561309b57600081815260208120601f850160051c8101602086101561581b5750805b601f850160051c820191505b8181101561583a57828155600101615827565b505050505050565b81516001600160401b0381111561585b5761585b614b7d565b61586f816158698454615310565b846157f4565b602080601f8311600181146158a4576000841561588c5750858301515b600019600386901b1c1916600185901b17855561583a565b600085815260208120601f198616915b828110156158d3578886015182559484019460019091019084016158b4565b50858210156158f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614b4a6040830184614a9b565b60006020828403121561593557600080fd5b815161119681614b67565b6001600160401b0360c01b831681526040602082015260008251610120806040850152615971610160850183614a9b565b91506020850151606085015260408501516080850152606085015160a085015260808501516159a860c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006159d08187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159f98282614a9b565b9695505050505050565b6001600160401b038116811461249357600080fd5b600060208284031215615a2a57600080fd5b815161119681615a03565b8051614df581614dcd565b600060208284031215615a5257600080fd5b81516001600160401b0380821115615a6957600080fd5b9083019060e08286031215615a7d57600080fd5b615a85614bde565b615a8e83615372565b8152615a9c60208401615372565b6020820152615aad60408401615a35565b6040820152615abe6060840161534a565b6060820152615acf608084016153e7565b60808201526155dc60a084016153e7565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016111966020830184615ae0565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b9057600080fd5b81516001600160401b03811115615ba657600080fd5b614b4a848285016154d5565b600081518084526020808501945080840160005b83811015615beb5781516001600160401b031687529582019590820190600101615bc6565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615c2760a0840187614a9b565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615ca557868403601f19018652825180518086529089019089860190845b81811015615c905783516001600160e01b0319168352928b0192918b0191600101615c6a565b50509689019694505091870191600101615c48565b5050508681036080880152615cba8189615bb2565b9c9b505050505050505050505050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615d0160a0850182614a9b565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b0383168152604060208201526000614b4a6040830184615cca565b6020815260006111966020830184614a9b565b6001600160601b0381511682526000602082015160e06020850152615d8d60e0850182614a9b565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526114c58282614a9b565b6001600160401b0360c01b83168152604060208201526000614b4a6040830184615d65565b600060208284031215615e1857600080fd5b815161119681614dcd565b6001600160601b03841681526101408101615e416020830185615ae0565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615e7057615e706154ac565b5092915050565b6001600160401b0360c01b84168152606060208201526000615e9c6060830185615d65565b905060ff83166040830152949350505050565b6001600160601b0384168152606060208201526000615e9c6060830185615cca565b60008060408385031215615ee457600080fd5b8251615eef81614db8565b6020840151909250614dad81614db8565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122037e9c7e56336e96a46e54b34418986a2c4b5984db2b07cc4178e4f2990ea546a64736f6c63430008140033",
1390
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635dcb3bae1161010f57806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f1461051f578063caf4e3d41461053d578063cc9fc59a14610545578063f7c34ee01461054d57600080fd5b806392e5fab6146104d5578063ada9652e146104e8578063b68d1809146104fd578063b6b412ba1461050c57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e5780638e32e979146104a15780638fb36037146104b457600080fd5b80635dcb3bae1461042f578063644c45e014610442578063675393bf146104605780637a9e5e4b1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780634420e486146103cc57806349bb9e4b146103f75780635ab1bd531461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614a4d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610234610560565b60405162ffffff9091168152602001610223565b6102506105ea565b6040516102239190614ac7565b610265610741565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614a4d565b610948565b6102c26102bd366004614d36565b610975565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d7f565b61119d565b61026561038c366004614e77565b6114d0565b6103a461039f366004614f21565b611575565b6040516102239190614fed565b6102656103bf366004615002565b611a3e565b610265611b8b565b6103df6103da366004615036565b611bd1565b6040516001600160601b039091168152602001610223565b610265610405366004615053565b61206d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103df61043d3660046150a2565b61216c565b600080516020615f17833981519152546001600160601b03166103df565b61026561046e366004615036565b612388565b610265610481366004615036565b612496565b610417612530565b6103a461049c366004615116565b612667565b6102656104af3660046151b0565b612e67565b6104bc6130a0565b6040516001600160e01b03199091168152602001610223565b6102656104e33660046151fb565b6130d8565b61028e600080516020615f1783398151915281565b60405160788152602001610223565b61026561051a366004615288565b613820565b600080516020615f37833981519152546001600160a01b0316610417565b610417613aa6565b610417613ab2565b61026561055b3660046152bd565b613abe565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e591906152eb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161069d612530565b6001600160a01b031681526020018260010180546106ba90615310565b80601f01602080910402602001604051908101604052809291908181526020018280546106e690615310565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b505050505081525091505090565b6000600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190615355565b156108055780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108186001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190615355565b6108ac5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107fc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061537d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610950613b35565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109ee604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006109f985613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f919061539a565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad791906153f2565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b719173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b29919060040190815260200190565b602060405180830381865af4158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a9190615493565b8451613c97565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be69190615493565b61014089018190526020890180519192508291610c049083906154c2565b905250610c118a8a61119d565b610c435750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611196565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c72908d90600401614fed565b600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb79190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b0388169063d06458c69082906327b1d79290602401600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d919081019061560e565b516040516001600160e01b031960e084901b168152610d5f9190600401614fed565b600060405180830381865afa158015610d7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da491908101906156cd565b8a516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e219190615493565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e6492600401918252602082015260400190565b602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190615493565b6101a08c0181905260208c01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f639160040190815260200190565b602060405180830381865af4158015610f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa49190615493565b60408085015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610fe792600401918252602082015260400190565b602060405180830381865af4158015611004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110289190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109d9190615493565b6101c08c0181905260208601516101608d01526110ba82866157c4565b6110c491906157c4565b6101808c01526101c08b015160208c01516110df91906157c4565b60408c0152505050602082015161016089015110806111285750876101a00151886101800151896101c0015161111591906154c2565b61111f91906154c2565b88610140015114155b1561118c5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016107fc565b8796505050505050505b9392505050565b6000806111a984613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120f919061539a565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b815260040161123a9190614fed565b600060405180830381865afa158015611257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261127f9190810190615530565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190615355565b15611311576000925050506114ca565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561136d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113919190615355565b806114a3575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156113f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114179190615355565b80156114a357506114a373__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e91906157d7565b8260a0015164ffffffffff9081169116111590565b92508280156114c55750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6114d8613b35565b6114e28287613abe565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161156b8382615842565b5050505050505050565b6000806000611582613cac565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ea919061539a565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165e91906153f2565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af41580156116c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e69190615493565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561174a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176e9190615493565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af41580156117c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ec9190615355565b156118fb57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190615493565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d99190615493565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107fc565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611937929190615901565b602060405180830381865af4158015611954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119789190615923565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016119fc929190615940565b600060405180830381600087803b158015611a1657600080fd5b505af1158015611a2a573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611a60610560565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611aa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac49190615a18565b600080516020615f578339815191528054600160401b900460ff1680611af7575080546001600160401b03808416911610155b15611b155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611b3f83613f30565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611b93613b35565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080611bea866078611be5613f38565b613fb0565b93509350935093506000611bfc613aa6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c769190810190615a40565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611cb857600080fd5b505af1158015611ccc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4a91906153f2565b6040518363ffffffff1660e01b8152600401611d67929190615b4a565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b506000925060029150611da59050565b604051908082528060200260200182016040528015611dd857816020015b6060815260200190600190039081611dc35790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110611e0c57611e0c615b68565b602090810291909101015260408051600280825260608201909252908160200160208202803683370190505081600181518110611e4b57611e4b615b68565b602002602001018190525063b6b412ba60e01b81600081518110611e7157611e71615b68565b6020026020010151600081518110611e8b57611e8b615b68565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b9082906001908110611ec257611ec2615b68565b6020026020010151600081518110611edc57611edc615b68565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050611f20613f38565b81600081518110611f3357611f33615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f5b6142a1565b81600181518110611f6e57611f6e615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f96613ab2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611fe4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261200c9190810190615b7e565b86866040518663ffffffff1660e01b815260040161202e959493929190615bf6565b600060405180830381600087803b15801561204857600080fd5b505af115801561205c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156120a05750825b90506000826001600160401b031660011480156120bc5750303b155b9050811580156120ca575080155b156120e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561211257845460ff60401b1916600160401b1785555b61211c87876142dd565b831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612179613cac565b91509150612185613aa6565b6001600160a01b03166357a8fba76040518060e001604052806121a6600090565b6001600160601b03168152602001856001600160601b031681526020016121cb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161222a9190614ac7565b6020604051808303816000875af1158015612249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226d919061537d565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061537d565b6001600160601b031681526000602090910152604051631f32844960e21b81529091506001600160a01b03831690637cca11249061234c9087908590600401615d30565b600060405180830381600087803b15801561236657600080fd5b505af115801561237a573d6000803e3d6000fd5b505050505050509392505050565b612390613b35565b806001600160a01b03163b6000036123c65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015612440575060408051601f3d908101601f1916820190925261243d91810190615355565b60015b6124685760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b806124915760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107fc565b505b50565b336124b6600080516020615f37833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146124f15760405162d1953b60e31b81526001600160a01b03821660048201526024016107fc565b816001600160a01b03163b600003612527576040516361798f2f60e11b81526001600160a01b03831660048201526024016107fc565b612491826143fd565b600080600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156125a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c49190615355565b15612651576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061264b919061539a565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612674613cac565b91509150875160000361269c5787604051634fad6a5360e11b81526004016107fc9190615d52565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156126f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127169190615355565b1561273d5760405163df85467b60e01b815264ffffffffff861660048201526024016107fc565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561277d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a1919061539a565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156127f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261281c919081019061560e565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c69061284f908590600401614fed565b600060405180830381865afa15801561286c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289491908101906156cd565b90508863ffffffff16816080015163ffffffff1610156128d5576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107fc565b60208101518a10156129f1576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295b9190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129cf9190615493565b6040516338a25a8b60e21b8152600481019290925260248201526044016107fc565b60408101518a1115612b0d576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aeb9190615493565b604051631e1ea4f360e31b8152600481019290925260248201526044016107fc565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8591906157d7565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c009190615493565b604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7a9190615493565b612c8491906157c4565b1115612d305760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d099190615493565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107fc565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690612d699088908f90600401615901565b602060405180830381865af4158015612d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612daa9190615923565b6040805160e0810182526001600160601b038f168152602081018e90528082018d905263ffffffff8c1660608201526000608082015264ffffffffff8b1660a082015260c081018a90529051631941cfe160e31b8152919750906001600160a01b0386169063ca0e7f0890612e25908a908590600401615de1565b600060405180830381600087803b158015612e3f57600080fd5b505af1158015612e53573d6000803e3d6000fd5b505050505050505050509695505050505050565b612e6f613b35565b612eef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed5919061537d565b603c600085604051806020016040528060008152506114d0565b6001600160a01b03821615612f0c57612f078261445e565b61307b565b6000612f206001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa49190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612fe9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300d919061539a565b9050613079816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613050573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613074919061539a565b61445e565b505b61308b634a531f3360e01b610948565b61309b63b68d180960e01b610948565b505050565b600080516020615f37833981519152805460009190600160a01b900460ff166130ca57600061264b565b638fb3603760e01b91505090565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061311c906001600160c01b0319881690600401614fed565b602060405180830381865af4158015613139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315d9190615355565b159050600061316c868661119d565b9050818015613179575080155b156131b257604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107fc565b60006131bd87613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613223919061539a565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016132539190614fed565b600060405180830381865afa158015613270573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132989190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156132ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613316919081019061560e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561336a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338e91906153f2565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968b61018001518c61016001516133c291906154c2565b6040518263ffffffff1660e01b81526004016133e091815260200190565b602060405180830381865af41580156133fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613421919061537d565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968c6101a001516040518263ffffffff1660e01b815260040161346391815260200190565b602060405180830381865af4158015613480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134a4919061537d565b90506134b98a6134b4848461446f565b6144f6565b6134f757896134c8838361446f565b60405160016282bae560e01b031981526001600160601b039283166004820152911660248201526044016107fc565b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801561354f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135739190615355565b1561366c5760405163046e44af60e11b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156135d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135f49190615493565b8360a00181815161360591906154c2565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161363993929190615e23565b600060405180830381600087803b15801561365357600080fd5b505af1158015613667573d6000803e3d6000fd5b505050505b8815613811576001856080018181516136859190615e53565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e906136bf908f90899060ff90600401615e77565b600060405180830381600087803b1580156136d957600080fd5b505af11580156136ed573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__92506330b8415f9150602401602060405180830381865af4158015613749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061376d9190615355565b156138115761378084606001518261446f565b6001600160601b03166060850152608084018051600191906137a3908390615e53565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03891691631e40b363916137de9190889060ff90600401615eaf565b600060405180830381600087803b1580156137f857600080fd5b505af115801561380c573d6000803e3d6000fd5b505050505b50505050505050505050505050565b81518151101561393a578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561387d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138a19190615493565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156138f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139189190615493565b604051631a9c6b0960e01b8152600481019290925260248201526044016107fc565b60008080613948607861457d565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561398e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139b2919061539a565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613a06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a2a91906153f2565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613a6b908890859060ff90600401615e23565b600060405180830381600087803b158015613a8557600080fd5b505af1158015613a99573d6000803e3d6000fd5b5050505050505050505050565b60006105e560286147b0565b60006105e560466147b0565b613ac6613b35565b613acf81612388565b613ad7611b8b565b6001600160a01b038216613afe5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f1783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f5783398151915254600160401b900460ff16613b6c57604051631afcd79f60e31b815260040160405180910390fd5b565b600080613b836001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613bd2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bfa9190810190615a40565b6020015190506000613c146001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c8b9190810190615a40565b60800151949350505050565b60006111968383670de0b6b3a76400006148bd565b600080613cc16001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2b919061537d565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613daa9190615355565b15613dca5760405163752c00fd60e11b81523360048201526024016107fc565b6000613dde6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e559190810190615a40565b9050613e738160400151613e67607890565b60ff9081169116141590565b15613e9357604051637ab07d8760e01b81523360048201526024016107fc565b6000613ea76001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613efc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f249190810190615a40565b60800151939492505050565b6101e5613b35565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613f8c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190615a18565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015614004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140289190615355565b614050576040516359bff0e360e11b81526001600160a01b03881660048201526024016107fc565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015614090573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140b89190810190615a40565b90506140cf81604001518860ff9081169116141590565b1561410f576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107fc565b60a08101516001600160a01b03858116908216146141615760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107fc565b81602001519250614171836149a7565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141d5919061539a565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801561422c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142509190615355565b61429657604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107fc565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613f6f565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156143105750825b90506000826001600160401b0316600114801561432c5750303b155b90508115801561433a575080155b156143585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561438257845460ff60401b1916600160401b1785555b600080878060200190518101906143999190615ed1565b925090506143a98160008b612e67565b6143b963db53be8360e01b610948565b5050831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161215a565b600080516020615f3783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b614466613b35565b61249381614a3c565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156144d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611196919061537d565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015614559573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190615355565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806145c96001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614610573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146389190810190615a40565b925061464f83604001518660ff9081169116141590565b1561469357608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff80881660248401521660448201526064016107fc565b826000015193506146a783602001516149a7565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156146e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061470b919061539a565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147799190615355565b156147a857608083015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107fc565b509193909250565b60006147c46001546001600160a01b031690565b6001600160a01b031663d39e6043836147db610560565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015614830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148549190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ca919061539a565b60008080600019858709858702925082811083820303915050806000036148f7578382816148ed576148ed615f00565b0492505050611196565b80841161493e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107fc565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006149bb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614a329190810190615a40565b6080015192915050565b614a44613b35565b612493816143fd565b600060208284031215614a5f57600080fd5b81356001600160e01b03198116811461119657600080fd5b60005b83811015614a92578181015183820152602001614a7a565b50506000910152565b60008151808452614ab3816020860160208601614a77565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b3060c08401826001600160a01b03169052565b5060c083015160e080840152614b4a610100840182614a9b565b949350505050565b6001600160601b038116811461249357600080fd5b6001600160c01b03198116811461249357600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405290565b604080519081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160a081016001600160401b0381118282101715614bb657614bb6614b7d565b60405161012081016001600160401b0381118282101715614bb657614bb6614b7d565b604051601f8201601f191681016001600160401b0381118282101715614c6d57614c6d614b7d565b604052919050565b60006101e08284031215614c8857600080fd5b614c90614b93565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614d4c57600080fd5b8335614d5781614b52565b92506020840135614d6781614b67565b9150614d768560408601614c75565b90509250925092565b60008060408385031215614d9257600080fd5b8235614d9d81614b52565b91506020830135614dad81614b67565b809150509250929050565b6001600160a01b038116811461249357600080fd5b60ff8116811461249357600080fd5b801515811461249357600080fd5b8035614df581614ddc565b919050565b60006001600160401b03821115614e1357614e13614b7d565b50601f01601f191660200190565b600082601f830112614e3257600080fd5b8135614e45614e4082614dfa565b614c45565b818152846020838601011115614e5a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e9057600080fd5b8635614e9b81614db8565b95506020870135614eab81614b52565b94506040870135614ebb81614dcd565b93506060870135614ecb81614ddc565b92506080870135614edb81614db8565b915060a08701356001600160401b03811115614ef657600080fd5b614f0289828a01614e21565b9150509295509295509295565b63ffffffff8116811461249357600080fd5b60008060008060008060008060006101208a8c031215614f4057600080fd5b89356001600160401b0380821115614f5757600080fd5b614f638d838e01614e21565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f8a82614f0f565b90955060a08b013590614f9c82614f0f565b819550614fab60c08d01614dea565b9450614fb960e08d01614dea565b93506101008c0135915080821115614fd057600080fd5b50614fdd8c828d01614e21565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561501457600080fd5b81356001600160401b0381111561502a57600080fd5b614b4a84828501614e21565b60006020828403121561504857600080fd5b813561119681614db8565b6000806040838503121561506657600080fd5b823561507181614db8565b915060208301356001600160401b0381111561508c57600080fd5b61509885828601614e21565b9150509250929050565b6000806000606084860312156150b757600080fd5b83356150c281614db8565b925060208401356150d281614b67565b915060408401356001600160401b038111156150ed57600080fd5b6150f986828701614e21565b9150509250925092565b64ffffffffff8116811461249357600080fd5b60008060008060008060c0878903121561512f57600080fd5b863561513a81614b52565b955060208701356001600160401b038082111561515657600080fd5b6151628a838b01614e21565b9650604089013595506060890135915061517b82614f0f565b90935060808801359061518d82615103565b90925060a088013590808211156151a357600080fd5b50614f0289828a01614e21565b6000806000606084860312156151c557600080fd5b83356151d081614db8565b925060208401356151e081614db8565b915060408401356151f081614db8565b809150509250925092565b600080600080610240858703121561521257600080fd5b843561521d81614b52565b9350602085013561522d81614b67565b925061523c8660408701614c75565b915061022085013561524d81614b52565b939692955090935050565b60006040828403121561526a57600080fd5b615272614bbc565b9050813581526020820135602082015292915050565b6000806080838503121561529b57600080fd5b6152a58484615258565b91506152b48460408501615258565b90509250929050565b600080604083850312156152d057600080fd5b82356152db81614db8565b91506020830135614dad81614db8565b6000602082840312156152fd57600080fd5b815162ffffff8116811461119657600080fd5b600181811c9082168061532457607f821691505b60208210810361534457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614df581614ddc565b60006020828403121561536757600080fd5b815161119681614ddc565b8051614df581614b52565b60006020828403121561538f57600080fd5b815161119681614b52565b6000602082840312156153ac57600080fd5b815161119681614db8565b6000604082840312156153c957600080fd5b6153d1614bbc565b9050815181526020820151602082015292915050565b8051614df581614db8565b6000610100828403121561540557600080fd5b60405160c081018181106001600160401b038211171561542757615427614b7d565b604052825161543581614b52565b8152602083015161544581614db8565b602082015261545784604085016153b7565b604082015261546984608085016153b7565b606082015260c083015161547c81614db8565b608082015260e0929092015160a083015250919050565b6000602082840312156154a557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156114ca576114ca6154ac565b600082601f8301126154e657600080fd5b81516154f4614e4082614dfa565b81815284602083860101111561550957600080fd5b614b4a826020830160208701614a77565b8051614df581614f0f565b8051614df581615103565b60006020828403121561554257600080fd5b81516001600160401b038082111561555957600080fd5b9083019060e0828603121561556d57600080fd5b615575614bde565b61557e83615372565b815260208301518281111561559257600080fd5b61559e878286016154d5565b602083015250604083015160408201526155ba6060840161551a565b60608201526155cb6080840161551a565b60808201526155dc60a08401615525565b60a082015260c0830151828111156155f357600080fd5b6155ff878286016154d5565b60c08301525095945050505050565b60006020828403121561562057600080fd5b81516001600160401b038082111561563757600080fd5b9083019060a0828603121561564b57600080fd5b615653614c00565b825161565e81614b67565b8152602083015161566e81614ddc565b602082015260408301518281111561568557600080fd5b615691878286016154d5565b604083015250606083015191506156a782614b52565b816060820152608083015192506156bd83614f0f565b6080810192909252509392505050565b6000602082840312156156df57600080fd5b81516001600160401b03808211156156f657600080fd5b90830190610120828603121561570b57600080fd5b615713614c22565b82518281111561572257600080fd5b61572e878286016154d5565b82525060208301516020820152604083015160408201526060830151606082015261575b6080840161551a565b608082015261576c60a0840161551a565b60a082015261577d60c0840161534a565b60c082015261578e60e0840161534a565b60e082015261010080840151838111156157a757600080fd5b6157b3888287016154d5565b918301919091525095945050505050565b818103818111156114ca576114ca6154ac565b6000602082840312156157e957600080fd5b815161119681615103565b601f82111561309b57600081815260208120601f850160051c8101602086101561581b5750805b601f850160051c820191505b8181101561583a57828155600101615827565b505050505050565b81516001600160401b0381111561585b5761585b614b7d565b61586f816158698454615310565b846157f4565b602080601f8311600181146158a4576000841561588c5750858301515b600019600386901b1c1916600185901b17855561583a565b600085815260208120601f198616915b828110156158d3578886015182559484019460019091019084016158b4565b50858210156158f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614b4a6040830184614a9b565b60006020828403121561593557600080fd5b815161119681614b67565b6001600160401b0360c01b831681526040602082015260008251610120806040850152615971610160850183614a9b565b91506020850151606085015260408501516080850152606085015160a085015260808501516159a860c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006159d08187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159f98282614a9b565b9695505050505050565b6001600160401b038116811461249357600080fd5b600060208284031215615a2a57600080fd5b815161119681615a03565b8051614df581614dcd565b600060208284031215615a5257600080fd5b81516001600160401b0380821115615a6957600080fd5b9083019060e08286031215615a7d57600080fd5b615a85614bde565b615a8e83615372565b8152615a9c60208401615372565b6020820152615aad60408401615a35565b6040820152615abe6060840161534a565b6060820152615acf608084016153e7565b60808201526155dc60a084016153e7565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016111966020830184615ae0565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b9057600080fd5b81516001600160401b03811115615ba657600080fd5b614b4a848285016154d5565b600081518084526020808501945080840160005b83811015615beb5781516001600160401b031687529582019590820190600101615bc6565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615c2760a0840187614a9b565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615ca557868403601f19018652825180518086529089019089860190845b81811015615c905783516001600160e01b0319168352928b0192918b0191600101615c6a565b50509689019694505091870191600101615c48565b5050508681036080880152615cba8189615bb2565b9c9b505050505050505050505050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615d0160a0850182614a9b565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b0383168152604060208201526000614b4a6040830184615cca565b6020815260006111966020830184614a9b565b6001600160601b0381511682526000602082015160e06020850152615d8d60e0850182614a9b565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526114c58282614a9b565b6001600160401b0360c01b83168152604060208201526000614b4a6040830184615d65565b600060208284031215615e1857600080fd5b815161119681614dcd565b6001600160601b03841681526101408101615e416020830185615ae0565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615e7057615e706154ac565b5092915050565b6001600160401b0360c01b84168152606060208201526000615e9c6060830185615d65565b905060ff83166040830152949350505050565b6001600160601b0384168152606060208201526000615e9c6060830185615cca565b60008060408385031215615ee457600080fd5b8251615eef81614db8565b6020840151909250614dad81614db8565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122037e9c7e56336e96a46e54b34418986a2c4b5984db2b07cc4178e4f2990ea546a64736f6c63430008140033",
1391
+ "linkReferences": {
1392
+ "contracts/types/Amount.sol": {
1393
+ "AmountLib": [
1394
+ {
1395
+ "length": 20,
1396
+ "start": 9091
1397
+ },
1398
+ {
1399
+ "length": 20,
1400
+ "start": 13434
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 13581
1405
+ },
1406
+ {
1407
+ "length": 20,
1408
+ "start": 13819
1409
+ },
1410
+ {
1411
+ "length": 20,
1412
+ "start": 13948
1413
+ },
1414
+ {
1415
+ "length": 20,
1416
+ "start": 14323
1417
+ },
1418
+ {
1419
+ "length": 20,
1420
+ "start": 17790
1421
+ },
1422
+ {
1423
+ "length": 20,
1424
+ "start": 17925
1425
+ }
1426
+ ]
1427
+ },
1428
+ "contracts/types/DistributorType.sol": {
1429
+ "DistributorTypeLib": [
1430
+ {
1431
+ "length": 20,
1432
+ "start": 6630
1433
+ }
1434
+ ]
1435
+ },
1436
+ "contracts/types/NftId.sol": {
1437
+ "NftIdLib": [
1438
+ {
1439
+ "length": 20,
1440
+ "start": 2140
1441
+ },
1442
+ {
1443
+ "length": 20,
1444
+ "start": 5001
1445
+ },
1446
+ {
1447
+ "length": 20,
1448
+ "start": 9804
1449
+ },
1450
+ {
1451
+ "length": 20,
1452
+ "start": 15922
1453
+ }
1454
+ ]
1455
+ },
1456
+ "contracts/types/Referral.sol": {
1457
+ "ReferralLib": [
1458
+ {
1459
+ "length": 20,
1460
+ "start": 11813
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 12752
1465
+ }
1466
+ ]
1467
+ },
1468
+ "contracts/types/RoleId.sol": {
1469
+ "RoleIdLib": [
1470
+ {
1471
+ "length": 20,
1472
+ "start": 16439
1473
+ },
1474
+ {
1475
+ "length": 20,
1476
+ "start": 17313
1477
+ }
1478
+ ]
1479
+ },
1480
+ "contracts/types/Timestamp.sol": {
1481
+ "TimestampLib": [
1482
+ {
1483
+ "length": 20,
1484
+ "start": 5145
1485
+ },
1486
+ {
1487
+ "length": 20,
1488
+ "start": 5279
1489
+ },
1490
+ {
1491
+ "length": 20,
1492
+ "start": 5385
1493
+ },
1494
+ {
1495
+ "length": 20,
1496
+ "start": 10142
1497
+ },
1498
+ {
1499
+ "length": 20,
1500
+ "start": 11264
1501
+ },
1502
+ {
1503
+ "length": 20,
1504
+ "start": 11400
1505
+ },
1506
+ {
1507
+ "length": 20,
1508
+ "start": 11522
1509
+ },
1510
+ {
1511
+ "length": 20,
1512
+ "start": 11665
1513
+ }
1514
+ ]
1515
+ },
1516
+ "contracts/types/UFixed.sol": {
1517
+ "UFixedLib": [
1518
+ {
1519
+ "length": 20,
1520
+ "start": 3044
1521
+ },
1522
+ {
1523
+ "length": 20,
1524
+ "start": 3182
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 3753
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 3867
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 4002
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 4127
1541
+ },
1542
+ {
1543
+ "length": 20,
1544
+ "start": 4254
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 4389
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 5998
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 6134
1557
+ },
1558
+ {
1559
+ "length": 20,
1560
+ "start": 6260
1561
+ },
1562
+ {
1563
+ "length": 20,
1564
+ "start": 6381
1565
+ },
1566
+ {
1567
+ "length": 20,
1568
+ "start": 6497
1569
+ },
1570
+ {
1571
+ "length": 20,
1572
+ "start": 10723
1573
+ },
1574
+ {
1575
+ "length": 20,
1576
+ "start": 10839
1577
+ },
1578
+ {
1579
+ "length": 20,
1580
+ "start": 11007
1581
+ },
1582
+ {
1583
+ "length": 20,
1584
+ "start": 11123
1585
+ },
1586
+ {
1587
+ "length": 20,
1588
+ "start": 14633
1589
+ },
1590
+ {
1591
+ "length": 20,
1592
+ "start": 14752
1593
+ }
1594
+ ]
1595
+ },
1596
+ "contracts/types/Version.sol": {
1597
+ "VersionLib": [
1598
+ {
1599
+ "length": 20,
1600
+ "start": 1645
1601
+ },
1602
+ {
1603
+ "length": 20,
1604
+ "start": 6950
1605
+ },
1606
+ {
1607
+ "length": 20,
1608
+ "start": 18652
1609
+ }
1610
+ ],
1611
+ "VersionPartLib": [
1612
+ {
1613
+ "length": 20,
1614
+ "start": 12332
1615
+ }
1616
+ ]
1617
+ }
1618
+ },
1619
+ "deployedLinkReferences": {
1620
+ "contracts/types/Amount.sol": {
1621
+ "AmountLib": [
1622
+ {
1623
+ "length": 20,
1624
+ "start": 8861
1625
+ },
1626
+ {
1627
+ "length": 20,
1628
+ "start": 13204
1629
+ },
1630
+ {
1631
+ "length": 20,
1632
+ "start": 13351
1633
+ },
1634
+ {
1635
+ "length": 20,
1636
+ "start": 13589
1637
+ },
1638
+ {
1639
+ "length": 20,
1640
+ "start": 13718
1641
+ },
1642
+ {
1643
+ "length": 20,
1644
+ "start": 14093
1645
+ },
1646
+ {
1647
+ "length": 20,
1648
+ "start": 17560
1649
+ },
1650
+ {
1651
+ "length": 20,
1652
+ "start": 17695
1653
+ }
1654
+ ]
1655
+ },
1656
+ "contracts/types/DistributorType.sol": {
1657
+ "DistributorTypeLib": [
1658
+ {
1659
+ "length": 20,
1660
+ "start": 6400
1661
+ }
1662
+ ]
1663
+ },
1664
+ "contracts/types/NftId.sol": {
1665
+ "NftIdLib": [
1666
+ {
1667
+ "length": 20,
1668
+ "start": 1910
1669
+ },
1670
+ {
1671
+ "length": 20,
1672
+ "start": 4771
1673
+ },
1674
+ {
1675
+ "length": 20,
1676
+ "start": 9574
1677
+ },
1678
+ {
1679
+ "length": 20,
1680
+ "start": 15692
1681
+ }
1682
+ ]
1683
+ },
1684
+ "contracts/types/Referral.sol": {
1685
+ "ReferralLib": [
1686
+ {
1687
+ "length": 20,
1688
+ "start": 11583
1689
+ },
1690
+ {
1691
+ "length": 20,
1692
+ "start": 12522
1693
+ }
1694
+ ]
1695
+ },
1696
+ "contracts/types/RoleId.sol": {
1697
+ "RoleIdLib": [
1698
+ {
1699
+ "length": 20,
1700
+ "start": 16209
1701
+ },
1702
+ {
1703
+ "length": 20,
1704
+ "start": 17083
1705
+ }
1706
+ ]
1707
+ },
1708
+ "contracts/types/Timestamp.sol": {
1709
+ "TimestampLib": [
1710
+ {
1711
+ "length": 20,
1712
+ "start": 4915
1713
+ },
1714
+ {
1715
+ "length": 20,
1716
+ "start": 5049
1717
+ },
1718
+ {
1719
+ "length": 20,
1720
+ "start": 5155
1721
+ },
1722
+ {
1723
+ "length": 20,
1724
+ "start": 9912
1725
+ },
1726
+ {
1727
+ "length": 20,
1728
+ "start": 11034
1729
+ },
1730
+ {
1731
+ "length": 20,
1732
+ "start": 11170
1733
+ },
1734
+ {
1735
+ "length": 20,
1736
+ "start": 11292
1737
+ },
1738
+ {
1739
+ "length": 20,
1740
+ "start": 11435
1741
+ }
1742
+ ]
1743
+ },
1744
+ "contracts/types/UFixed.sol": {
1745
+ "UFixedLib": [
1746
+ {
1747
+ "length": 20,
1748
+ "start": 2814
1749
+ },
1750
+ {
1751
+ "length": 20,
1752
+ "start": 2952
1753
+ },
1754
+ {
1755
+ "length": 20,
1756
+ "start": 3523
1757
+ },
1758
+ {
1759
+ "length": 20,
1760
+ "start": 3637
1761
+ },
1762
+ {
1763
+ "length": 20,
1764
+ "start": 3772
1765
+ },
1766
+ {
1767
+ "length": 20,
1768
+ "start": 3897
1769
+ },
1770
+ {
1771
+ "length": 20,
1772
+ "start": 4024
1773
+ },
1774
+ {
1775
+ "length": 20,
1776
+ "start": 4159
1777
+ },
1778
+ {
1779
+ "length": 20,
1780
+ "start": 5768
1781
+ },
1782
+ {
1783
+ "length": 20,
1784
+ "start": 5904
1785
+ },
1786
+ {
1787
+ "length": 20,
1788
+ "start": 6030
1789
+ },
1790
+ {
1791
+ "length": 20,
1792
+ "start": 6151
1793
+ },
1794
+ {
1795
+ "length": 20,
1796
+ "start": 6267
1797
+ },
1798
+ {
1799
+ "length": 20,
1800
+ "start": 10493
1801
+ },
1802
+ {
1803
+ "length": 20,
1804
+ "start": 10609
1805
+ },
1806
+ {
1807
+ "length": 20,
1808
+ "start": 10777
1809
+ },
1810
+ {
1811
+ "length": 20,
1812
+ "start": 10893
1813
+ },
1814
+ {
1815
+ "length": 20,
1816
+ "start": 14403
1817
+ },
1818
+ {
1819
+ "length": 20,
1820
+ "start": 14522
1821
+ }
1822
+ ]
1823
+ },
1824
+ "contracts/types/Version.sol": {
1825
+ "VersionLib": [
1826
+ {
1827
+ "length": 20,
1828
+ "start": 1415
1829
+ },
1830
+ {
1831
+ "length": 20,
1832
+ "start": 6720
1833
+ },
1834
+ {
1835
+ "length": 20,
1836
+ "start": 18422
1837
+ }
1838
+ ],
1839
+ "VersionPartLib": [
1840
+ {
1841
+ "length": 20,
1842
+ "start": 12102
1843
+ }
1844
+ ]
1845
+ }
1846
+ }
1847
+ }