@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-da0f894-204

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