@etherisc/gif-next 0.0.2-def25d4-556 → 0.0.2-e0ff180-567

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. package/README.md +65 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +897 -238
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +295 -132
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +801 -36
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +844 -258
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +626 -234
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2107 -184
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +321 -168
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +979 -1206
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +227 -221
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +574 -246
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +360 -91
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +273 -152
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1039 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1370 -229
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -75
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +622 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +217 -208
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +606 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1237 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +840 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +227 -224
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +232 -219
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +241 -330
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +233 -312
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +295 -150
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +197 -83
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +43 -18
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +225 -180
  217. package/contracts/components/Product.sol +130 -134
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +127 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +77 -11
  222. package/contracts/instance/IInstanceService.sol +47 -5
  223. package/contracts/instance/Instance.sol +152 -268
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +36 -35
  226. package/contracts/instance/InstanceService.sol +429 -104
  227. package/contracts/instance/InstanceServiceManager.sol +11 -13
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +11 -2
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -4
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +30 -3
  237. package/contracts/instance/module/ISetup.sol +9 -19
  238. package/contracts/instance/service/ApplicationService.sol +350 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +431 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +151 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +378 -48
  245. package/contracts/instance/service/DistributionServiceManager.sol +11 -13
  246. package/contracts/instance/service/IApplicationService.sol +82 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -0
  248. package/contracts/instance/service/IClaimService.sol +61 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +72 -0
  251. package/contracts/instance/service/IPoolService.sol +79 -17
  252. package/contracts/instance/service/IProductService.sol +6 -73
  253. package/contracts/instance/service/PolicyService.sol +362 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +303 -0
  256. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  257. package/contracts/instance/service/ProductService.sol +210 -0
  258. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +40 -33
  261. package/contracts/registry/IRegistryService.sol +48 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +234 -256
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +114 -231
  266. package/contracts/registry/RegistryServiceManager.sol +21 -39
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +22 -17
  269. package/contracts/shared/ERC165.sol +14 -12
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +67 -83
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -32
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +42 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +60 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +52 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/NftIdSet.sol +26 -24
  293. package/contracts/types/ObjectType.sol +10 -5
  294. package/contracts/types/PayoutId.sol +54 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -17
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +1 -0
  299. package/contracts/types/Timestamp.sol +13 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +1 -0
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/contracts/components/BaseComponent.sol +0 -91
  359. package/contracts/components/IBaseComponent.sol +0 -25
  360. package/contracts/experiment/cloning/Cloner.sol +0 -47
  361. package/contracts/experiment/errors/Require.sol +0 -38
  362. package/contracts/experiment/errors/Revert.sol +0 -44
  363. package/contracts/experiment/inheritance/A.sol +0 -53
  364. package/contracts/experiment/inheritance/B.sol +0 -28
  365. package/contracts/experiment/inheritance/C.sol +0 -34
  366. package/contracts/experiment/inheritance/IA.sol +0 -13
  367. package/contracts/experiment/inheritance/IB.sol +0 -10
  368. package/contracts/experiment/inheritance/IC.sol +0 -12
  369. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  370. package/contracts/experiment/statemachine/ISM.sol +0 -25
  371. package/contracts/experiment/statemachine/SM.sol +0 -57
  372. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  373. package/contracts/experiment/types/TypeA.sol +0 -47
  374. package/contracts/experiment/types/TypeB.sol +0 -29
  375. package/contracts/instance/AccessManagedSimple.sol +0 -115
  376. package/contracts/instance/AccessManagerSimple.sol +0 -692
  377. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  378. package/contracts/instance/base/ComponentServiceBase.sol +0 -41
  379. package/contracts/instance/base/IInstanceBase.sol +0 -23
  380. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  381. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  382. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,129 +7,188 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
17
- },
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
18
19
  {
19
20
  "internalType": "address",
20
- "name": "token",
21
+ "name": "caller",
21
22
  "type": "address"
22
23
  },
23
24
  {
24
- "internalType": "bool",
25
- "name": "verifying",
26
- "type": "bool"
27
- },
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
28
35
  {
29
- "components": [
30
- {
31
- "internalType": "UFixed",
32
- "name": "fractionalFee",
33
- "type": "uint256"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "fixedFee",
38
- "type": "uint256"
39
- }
40
- ],
41
- "internalType": "struct Fee",
42
- "name": "distributionFee",
43
- "type": "tuple"
44
- },
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
45
46
  {
46
47
  "internalType": "address",
47
- "name": "initialOwner",
48
+ "name": "target",
48
49
  "type": "address"
49
50
  }
50
51
  ],
51
- "stateMutability": "nonpayable",
52
- "type": "constructor"
52
+ "name": "AddressEmptyCode",
53
+ "type": "error"
53
54
  },
54
55
  {
55
56
  "inputs": [
56
57
  {
57
58
  "internalType": "address",
58
- "name": "registry",
59
+ "name": "account",
59
60
  "type": "address"
60
- },
61
+ }
62
+ ],
63
+ "name": "AddressInsufficientBalance",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "caller",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorComponentNotChainNft",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
61
79
  {
62
80
  "internalType": "NftId",
63
- "name": "nftId",
81
+ "name": "instanceNftId",
64
82
  "type": "uint96"
65
83
  }
66
84
  ],
67
- "name": "ErrorAlreadyLinked",
85
+ "name": "ErrorComponentNotInstance",
68
86
  "type": "error"
69
87
  },
70
88
  {
71
89
  "inputs": [
72
90
  {
73
91
  "internalType": "address",
74
- "name": "contractAddress",
92
+ "name": "caller",
75
93
  "type": "address"
76
94
  }
77
95
  ],
78
- "name": "ErrorContractNotRegistered",
96
+ "name": "ErrorComponentNotProductService",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorComponentProductNftAlreadySet",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorComponentWalletAddressZero",
79
112
  "type": "error"
80
113
  },
81
114
  {
82
115
  "inputs": [
83
116
  {
84
117
  "internalType": "address",
85
- "name": "account",
118
+ "name": "oldWallet",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "internalType": "address",
123
+ "name": "newWallet",
86
124
  "type": "address"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "allowance",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "balance",
134
+ "type": "uint256"
87
135
  }
88
136
  ],
89
- "name": "ErrorNotOwner",
137
+ "name": "ErrorComponentWalletAllowanceTooSmall",
90
138
  "type": "error"
91
139
  },
92
140
  {
93
141
  "inputs": [
94
142
  {
95
- "internalType": "address",
96
- "name": "registryAddress",
97
- "type": "address"
143
+ "internalType": "NftId",
144
+ "name": "nftId",
145
+ "type": "uint96"
98
146
  }
99
147
  ],
100
- "name": "ErrorNotRegistry",
148
+ "name": "ErrorNftOwnableAlreadyLinked",
101
149
  "type": "error"
102
150
  },
103
151
  {
104
152
  "inputs": [
105
153
  {
106
154
  "internalType": "address",
107
- "name": "registryAddress",
155
+ "name": "contractAddress",
108
156
  "type": "address"
109
157
  }
110
158
  ],
111
- "name": "ErrorRegisterableNotRegistry",
159
+ "name": "ErrorNftOwnableContractNotRegistered",
112
160
  "type": "error"
113
161
  },
114
162
  {
115
163
  "inputs": [],
116
- "name": "ErrorRegistryAddressZero",
164
+ "name": "ErrorNftOwnableInitialOwnerZero",
117
165
  "type": "error"
118
166
  },
119
167
  {
120
168
  "inputs": [
121
169
  {
122
170
  "internalType": "address",
123
- "name": "registry",
171
+ "name": "account",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorNftOwnableNotOwner",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "registryAddress",
124
183
  "type": "address"
125
184
  }
126
185
  ],
127
- "name": "ErrorRegistryAlreadyInitialized",
186
+ "name": "ErrorNotRegistry",
128
187
  "type": "error"
129
188
  },
130
189
  {
131
190
  "inputs": [],
132
- "name": "ErrorRegistryNotInitialized",
191
+ "name": "FailedInnerCall",
133
192
  "type": "error"
134
193
  },
135
194
  {
@@ -142,6 +201,30 @@
142
201
  "name": "NotInitializing",
143
202
  "type": "error"
144
203
  },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "address",
208
+ "name": "token",
209
+ "type": "address"
210
+ }
211
+ ],
212
+ "name": "SafeERC20FailedOperation",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": false,
220
+ "internalType": "address",
221
+ "name": "authority",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "name": "AuthorityUpdated",
226
+ "type": "event"
227
+ },
145
228
  {
146
229
  "anonymous": false,
147
230
  "inputs": [
@@ -155,9 +238,72 @@
155
238
  "name": "Initialized",
156
239
  "type": "event"
157
240
  },
241
+ {
242
+ "anonymous": false,
243
+ "inputs": [
244
+ {
245
+ "indexed": false,
246
+ "internalType": "address",
247
+ "name": "oldWallet",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "address",
253
+ "name": "newWallet",
254
+ "type": "address"
255
+ }
256
+ ],
257
+ "name": "LogComponentWalletAddressChanged",
258
+ "type": "event"
259
+ },
260
+ {
261
+ "anonymous": false,
262
+ "inputs": [
263
+ {
264
+ "indexed": false,
265
+ "internalType": "address",
266
+ "name": "from",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "indexed": false,
271
+ "internalType": "address",
272
+ "name": "to",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "uint256",
278
+ "name": "amount",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "LogComponentWalletTokensTransferred",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "anonymous": false,
287
+ "inputs": [
288
+ {
289
+ "indexed": false,
290
+ "internalType": "address",
291
+ "name": "to",
292
+ "type": "address"
293
+ },
294
+ {
295
+ "indexed": false,
296
+ "internalType": "address",
297
+ "name": "caller",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "LogDistributorUpdated",
302
+ "type": "event"
303
+ },
158
304
  {
159
305
  "inputs": [],
160
- "name": "REGISTERABLE_LOCATION_V1",
306
+ "name": "COMPONENT_LOCATION_V1",
161
307
  "outputs": [
162
308
  {
163
309
  "internalType": "bytes32",
@@ -169,24 +315,52 @@
169
315
  "type": "function"
170
316
  },
171
317
  {
172
- "inputs": [
318
+ "inputs": [],
319
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
320
+ "outputs": [
173
321
  {
174
- "internalType": "ReferralId",
175
- "name": "referralId",
176
- "type": "bytes8"
177
- },
322
+ "internalType": "bytes32",
323
+ "name": "",
324
+ "type": "bytes32"
325
+ }
326
+ ],
327
+ "stateMutability": "view",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
333
+ "outputs": [
178
334
  {
179
- "internalType": "uint256",
180
- "name": "netPremiumAmount",
181
- "type": "uint256"
335
+ "internalType": "bytes32",
336
+ "name": "",
337
+ "type": "bytes32"
338
+ }
339
+ ],
340
+ "stateMutability": "view",
341
+ "type": "function"
342
+ },
343
+ {
344
+ "inputs": [],
345
+ "name": "REGISTERABLE_LOCATION_V1",
346
+ "outputs": [
347
+ {
348
+ "internalType": "bytes32",
349
+ "name": "",
350
+ "type": "bytes32"
182
351
  }
183
352
  ],
184
- "name": "calculateFeeAmount",
353
+ "stateMutability": "view",
354
+ "type": "function"
355
+ },
356
+ {
357
+ "inputs": [],
358
+ "name": "authority",
185
359
  "outputs": [
186
360
  {
187
- "internalType": "uint256",
188
- "name": "feeAmount",
189
- "type": "uint256"
361
+ "internalType": "address",
362
+ "name": "",
363
+ "type": "address"
190
364
  }
191
365
  ],
192
366
  "stateMutability": "view",
@@ -217,20 +391,226 @@
217
391
  "type": "function"
218
392
  },
219
393
  {
220
- "inputs": [],
221
- "name": "getInitialInfo",
222
- "outputs": [
394
+ "inputs": [
223
395
  {
224
- "components": [
225
- {
226
- "internalType": "NftId",
227
- "name": "nftId",
228
- "type": "uint96"
229
- },
230
- {
231
- "internalType": "NftId",
232
- "name": "parentNftId",
233
- "type": "uint96"
396
+ "internalType": "address",
397
+ "name": "distributor",
398
+ "type": "address"
399
+ },
400
+ {
401
+ "internalType": "DistributorType",
402
+ "name": "distributorType",
403
+ "type": "bytes8"
404
+ },
405
+ {
406
+ "internalType": "bytes",
407
+ "name": "data",
408
+ "type": "bytes"
409
+ }
410
+ ],
411
+ "name": "createDistributor",
412
+ "outputs": [
413
+ {
414
+ "internalType": "NftId",
415
+ "name": "distributorNftId",
416
+ "type": "uint96"
417
+ }
418
+ ],
419
+ "stateMutability": "nonpayable",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [
424
+ {
425
+ "internalType": "string",
426
+ "name": "name",
427
+ "type": "string"
428
+ },
429
+ {
430
+ "internalType": "UFixed",
431
+ "name": "minDiscountPercentage",
432
+ "type": "uint256"
433
+ },
434
+ {
435
+ "internalType": "UFixed",
436
+ "name": "maxDiscountPercentage",
437
+ "type": "uint256"
438
+ },
439
+ {
440
+ "internalType": "UFixed",
441
+ "name": "commissionPercentage",
442
+ "type": "uint256"
443
+ },
444
+ {
445
+ "internalType": "uint32",
446
+ "name": "maxReferralCount",
447
+ "type": "uint32"
448
+ },
449
+ {
450
+ "internalType": "uint32",
451
+ "name": "maxReferralLifetime",
452
+ "type": "uint32"
453
+ },
454
+ {
455
+ "internalType": "bool",
456
+ "name": "allowSelfReferrals",
457
+ "type": "bool"
458
+ },
459
+ {
460
+ "internalType": "bool",
461
+ "name": "allowRenewals",
462
+ "type": "bool"
463
+ },
464
+ {
465
+ "internalType": "bytes",
466
+ "name": "data",
467
+ "type": "bytes"
468
+ }
469
+ ],
470
+ "name": "createDistributorType",
471
+ "outputs": [
472
+ {
473
+ "internalType": "DistributorType",
474
+ "name": "distributorType",
475
+ "type": "bytes8"
476
+ }
477
+ ],
478
+ "stateMutability": "nonpayable",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [],
483
+ "name": "getComponentInfo",
484
+ "outputs": [
485
+ {
486
+ "components": [
487
+ {
488
+ "internalType": "string",
489
+ "name": "name",
490
+ "type": "string"
491
+ },
492
+ {
493
+ "internalType": "contract IERC20Metadata",
494
+ "name": "token",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "contract TokenHandler",
499
+ "name": "tokenHandler",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "internalType": "address",
504
+ "name": "wallet",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "internalType": "Amount",
509
+ "name": "balanceAmount",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "internalType": "Amount",
514
+ "name": "feeAmount",
515
+ "type": "uint96"
516
+ },
517
+ {
518
+ "internalType": "bytes",
519
+ "name": "data",
520
+ "type": "bytes"
521
+ }
522
+ ],
523
+ "internalType": "struct IComponents.ComponentInfo",
524
+ "name": "info",
525
+ "type": "tuple"
526
+ }
527
+ ],
528
+ "stateMutability": "view",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [
533
+ {
534
+ "internalType": "string",
535
+ "name": "referralCode",
536
+ "type": "string"
537
+ }
538
+ ],
539
+ "name": "getDiscountPercentage",
540
+ "outputs": [
541
+ {
542
+ "internalType": "UFixed",
543
+ "name": "discountPercentage",
544
+ "type": "uint256"
545
+ },
546
+ {
547
+ "internalType": "ReferralStatus",
548
+ "name": "status",
549
+ "type": "uint8"
550
+ }
551
+ ],
552
+ "stateMutability": "view",
553
+ "type": "function"
554
+ },
555
+ {
556
+ "inputs": [],
557
+ "name": "getDistributionFee",
558
+ "outputs": [
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "UFixed",
563
+ "name": "fractionalFee",
564
+ "type": "uint256"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "fixedFee",
569
+ "type": "uint256"
570
+ }
571
+ ],
572
+ "internalType": "struct Fee",
573
+ "name": "distributionFee",
574
+ "type": "tuple"
575
+ }
576
+ ],
577
+ "stateMutability": "view",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [
582
+ {
583
+ "internalType": "address",
584
+ "name": "distributor",
585
+ "type": "address"
586
+ }
587
+ ],
588
+ "name": "getDistributorNftId",
589
+ "outputs": [
590
+ {
591
+ "internalType": "NftId",
592
+ "name": "distributorNftId",
593
+ "type": "uint96"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [],
601
+ "name": "getInitialInfo",
602
+ "outputs": [
603
+ {
604
+ "components": [
605
+ {
606
+ "internalType": "NftId",
607
+ "name": "nftId",
608
+ "type": "uint96"
609
+ },
610
+ {
611
+ "internalType": "NftId",
612
+ "name": "parentNftId",
613
+ "type": "uint96"
234
614
  },
235
615
  {
236
616
  "internalType": "ObjectType",
@@ -259,13 +639,47 @@
259
639
  }
260
640
  ],
261
641
  "internalType": "struct IRegistry.ObjectInfo",
262
- "name": "",
642
+ "name": "info",
263
643
  "type": "tuple"
264
- },
644
+ }
645
+ ],
646
+ "stateMutability": "view",
647
+ "type": "function"
648
+ },
649
+ {
650
+ "inputs": [],
651
+ "name": "getInstance",
652
+ "outputs": [
265
653
  {
266
- "internalType": "bytes",
654
+ "internalType": "contract IInstance",
655
+ "name": "instance",
656
+ "type": "address"
657
+ }
658
+ ],
659
+ "stateMutability": "view",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [],
664
+ "name": "getName",
665
+ "outputs": [
666
+ {
667
+ "internalType": "string",
668
+ "name": "name",
669
+ "type": "string"
670
+ }
671
+ ],
672
+ "stateMutability": "view",
673
+ "type": "function"
674
+ },
675
+ {
676
+ "inputs": [],
677
+ "name": "getNftId",
678
+ "outputs": [
679
+ {
680
+ "internalType": "NftId",
267
681
  "name": "",
268
- "type": "bytes"
682
+ "type": "uint96"
269
683
  }
270
684
  ],
271
685
  "stateMutability": "view",
@@ -273,7 +687,78 @@
273
687
  },
274
688
  {
275
689
  "inputs": [],
276
- "name": "getInitialSetupInfo",
690
+ "name": "getOwner",
691
+ "outputs": [
692
+ {
693
+ "internalType": "address",
694
+ "name": "",
695
+ "type": "address"
696
+ }
697
+ ],
698
+ "stateMutability": "view",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [],
703
+ "name": "getProductNftId",
704
+ "outputs": [
705
+ {
706
+ "internalType": "NftId",
707
+ "name": "productNftId",
708
+ "type": "uint96"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [
716
+ {
717
+ "internalType": "string",
718
+ "name": "referralCode",
719
+ "type": "string"
720
+ }
721
+ ],
722
+ "name": "getReferralId",
723
+ "outputs": [
724
+ {
725
+ "internalType": "ReferralId",
726
+ "name": "referralId",
727
+ "type": "bytes8"
728
+ }
729
+ ],
730
+ "stateMutability": "view",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [],
735
+ "name": "getRegistry",
736
+ "outputs": [
737
+ {
738
+ "internalType": "contract IRegistry",
739
+ "name": "",
740
+ "type": "address"
741
+ }
742
+ ],
743
+ "stateMutability": "view",
744
+ "type": "function"
745
+ },
746
+ {
747
+ "inputs": [],
748
+ "name": "getRegistryAddress",
749
+ "outputs": [
750
+ {
751
+ "internalType": "address",
752
+ "name": "",
753
+ "type": "address"
754
+ }
755
+ ],
756
+ "stateMutability": "view",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [],
761
+ "name": "getSetupInfo",
277
762
  "outputs": [
278
763
  {
279
764
  "components": [
@@ -301,166 +786,307 @@
301
786
  }
302
787
  ],
303
788
  "internalType": "struct Fee",
304
- "name": "distributionFee",
789
+ "name": "minDistributionOwnerFee",
305
790
  "type": "tuple"
306
791
  },
307
792
  {
308
- "internalType": "bool",
309
- "name": "isIntercepting",
310
- "type": "bool"
793
+ "components": [
794
+ {
795
+ "internalType": "UFixed",
796
+ "name": "fractionalFee",
797
+ "type": "uint256"
798
+ },
799
+ {
800
+ "internalType": "uint256",
801
+ "name": "fixedFee",
802
+ "type": "uint256"
803
+ }
804
+ ],
805
+ "internalType": "struct Fee",
806
+ "name": "distributionFee",
807
+ "type": "tuple"
311
808
  },
312
809
  {
313
810
  "internalType": "address",
314
811
  "name": "wallet",
315
812
  "type": "address"
813
+ },
814
+ {
815
+ "internalType": "uint256",
816
+ "name": "sumDistributionOwnerFees",
817
+ "type": "uint256"
818
+ }
819
+ ],
820
+ "internalType": "struct ISetup.DistributionSetupInfo",
821
+ "name": "setupInfo",
822
+ "type": "tuple"
823
+ }
824
+ ],
825
+ "stateMutability": "view",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "inputs": [],
830
+ "name": "getToken",
831
+ "outputs": [
832
+ {
833
+ "internalType": "contract IERC20Metadata",
834
+ "name": "token",
835
+ "type": "address"
836
+ }
837
+ ],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [],
843
+ "name": "getWallet",
844
+ "outputs": [
845
+ {
846
+ "internalType": "address",
847
+ "name": "walletAddress",
848
+ "type": "address"
849
+ }
850
+ ],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
+ },
854
+ {
855
+ "inputs": [
856
+ {
857
+ "internalType": "address",
858
+ "name": "registry",
859
+ "type": "address"
860
+ },
861
+ {
862
+ "internalType": "NftId",
863
+ "name": "instanceNftId",
864
+ "type": "uint96"
865
+ },
866
+ {
867
+ "internalType": "string",
868
+ "name": "name",
869
+ "type": "string"
870
+ },
871
+ {
872
+ "internalType": "address",
873
+ "name": "token",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "internalType": "ObjectType",
878
+ "name": "componentType",
879
+ "type": "uint8"
880
+ },
881
+ {
882
+ "internalType": "bool",
883
+ "name": "isInterceptor",
884
+ "type": "bool"
885
+ },
886
+ {
887
+ "internalType": "address",
888
+ "name": "initialOwner",
889
+ "type": "address"
890
+ },
891
+ {
892
+ "internalType": "bytes",
893
+ "name": "registryData",
894
+ "type": "bytes"
895
+ }
896
+ ],
897
+ "name": "initializeComponent",
898
+ "outputs": [],
899
+ "stateMutability": "nonpayable",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "address",
906
+ "name": "registry",
907
+ "type": "address"
908
+ },
909
+ {
910
+ "internalType": "NftId",
911
+ "name": "instanceNftId",
912
+ "type": "uint96"
913
+ },
914
+ {
915
+ "internalType": "string",
916
+ "name": "name",
917
+ "type": "string"
918
+ },
919
+ {
920
+ "internalType": "address",
921
+ "name": "token",
922
+ "type": "address"
923
+ },
924
+ {
925
+ "components": [
926
+ {
927
+ "internalType": "UFixed",
928
+ "name": "fractionalFee",
929
+ "type": "uint256"
930
+ },
931
+ {
932
+ "internalType": "uint256",
933
+ "name": "fixedFee",
934
+ "type": "uint256"
935
+ }
936
+ ],
937
+ "internalType": "struct Fee",
938
+ "name": "minDistributionOwnerFee",
939
+ "type": "tuple"
940
+ },
941
+ {
942
+ "components": [
943
+ {
944
+ "internalType": "UFixed",
945
+ "name": "fractionalFee",
946
+ "type": "uint256"
947
+ },
948
+ {
949
+ "internalType": "uint256",
950
+ "name": "fixedFee",
951
+ "type": "uint256"
316
952
  }
317
953
  ],
318
- "internalType": "struct ISetup.DistributionSetupInfo",
319
- "name": "setupInfo",
954
+ "internalType": "struct Fee",
955
+ "name": "distributionFee",
320
956
  "type": "tuple"
321
- }
322
- ],
323
- "stateMutability": "view",
324
- "type": "function"
325
- },
326
- {
327
- "inputs": [],
328
- "name": "getInstance",
329
- "outputs": [
957
+ },
330
958
  {
331
- "internalType": "contract IInstance",
332
- "name": "instance",
959
+ "internalType": "address",
960
+ "name": "initialOwner",
333
961
  "type": "address"
962
+ },
963
+ {
964
+ "internalType": "bytes",
965
+ "name": "registryData",
966
+ "type": "bytes"
334
967
  }
335
968
  ],
336
- "stateMutability": "view",
969
+ "name": "initializeDistribution",
970
+ "outputs": [],
971
+ "stateMutability": "nonpayable",
337
972
  "type": "function"
338
973
  },
339
974
  {
340
975
  "inputs": [],
341
- "name": "getNftId",
342
- "outputs": [
343
- {
344
- "internalType": "NftId",
345
- "name": "",
346
- "type": "uint96"
347
- }
348
- ],
349
- "stateMutability": "view",
976
+ "name": "initializeERC165",
977
+ "outputs": [],
978
+ "stateMutability": "nonpayable",
350
979
  "type": "function"
351
980
  },
352
981
  {
353
- "inputs": [],
354
- "name": "getOwner",
355
- "outputs": [
982
+ "inputs": [
356
983
  {
357
984
  "internalType": "address",
358
- "name": "",
985
+ "name": "initialOwner",
986
+ "type": "address"
987
+ },
988
+ {
989
+ "internalType": "address",
990
+ "name": "registryAddress",
359
991
  "type": "address"
360
992
  }
361
993
  ],
362
- "stateMutability": "view",
994
+ "name": "initializeNftOwnable",
995
+ "outputs": [],
996
+ "stateMutability": "nonpayable",
363
997
  "type": "function"
364
998
  },
365
999
  {
366
- "inputs": [],
367
- "name": "getProductNftId",
368
- "outputs": [
1000
+ "inputs": [
1001
+ {
1002
+ "internalType": "address",
1003
+ "name": "registryAddress",
1004
+ "type": "address"
1005
+ },
369
1006
  {
370
1007
  "internalType": "NftId",
371
- "name": "productNftId",
1008
+ "name": "parentNftId",
372
1009
  "type": "uint96"
1010
+ },
1011
+ {
1012
+ "internalType": "ObjectType",
1013
+ "name": "objectType",
1014
+ "type": "uint8"
1015
+ },
1016
+ {
1017
+ "internalType": "bool",
1018
+ "name": "isInterceptor",
1019
+ "type": "bool"
1020
+ },
1021
+ {
1022
+ "internalType": "address",
1023
+ "name": "initialOwner",
1024
+ "type": "address"
1025
+ },
1026
+ {
1027
+ "internalType": "bytes",
1028
+ "name": "registryData",
1029
+ "type": "bytes"
373
1030
  }
374
1031
  ],
375
- "stateMutability": "view",
1032
+ "name": "initializeRegisterable",
1033
+ "outputs": [],
1034
+ "stateMutability": "nonpayable",
376
1035
  "type": "function"
377
1036
  },
378
1037
  {
379
- "inputs": [],
380
- "name": "getRegistry",
381
- "outputs": [
1038
+ "inputs": [
382
1039
  {
383
- "internalType": "contract IRegistry",
384
- "name": "",
1040
+ "internalType": "address",
1041
+ "name": "registryAddress",
385
1042
  "type": "address"
386
1043
  }
387
1044
  ],
388
- "stateMutability": "view",
1045
+ "name": "initializeRegistryLinked",
1046
+ "outputs": [],
1047
+ "stateMutability": "nonpayable",
389
1048
  "type": "function"
390
1049
  },
391
1050
  {
392
1051
  "inputs": [],
393
- "name": "getSetupInfo",
1052
+ "name": "isConsumingScheduledOp",
394
1053
  "outputs": [
395
1054
  {
396
- "components": [
397
- {
398
- "internalType": "NftId",
399
- "name": "productNftId",
400
- "type": "uint96"
401
- },
402
- {
403
- "internalType": "contract TokenHandler",
404
- "name": "tokenHandler",
405
- "type": "address"
406
- },
407
- {
408
- "components": [
409
- {
410
- "internalType": "UFixed",
411
- "name": "fractionalFee",
412
- "type": "uint256"
413
- },
414
- {
415
- "internalType": "uint256",
416
- "name": "fixedFee",
417
- "type": "uint256"
418
- }
419
- ],
420
- "internalType": "struct Fee",
421
- "name": "distributionFee",
422
- "type": "tuple"
423
- },
424
- {
425
- "internalType": "bool",
426
- "name": "isIntercepting",
427
- "type": "bool"
428
- },
429
- {
430
- "internalType": "address",
431
- "name": "wallet",
432
- "type": "address"
433
- }
434
- ],
435
- "internalType": "struct ISetup.DistributionSetupInfo",
436
- "name": "setupInfo",
437
- "type": "tuple"
1055
+ "internalType": "bytes4",
1056
+ "name": "",
1057
+ "type": "bytes4"
438
1058
  }
439
1059
  ],
440
1060
  "stateMutability": "view",
441
1061
  "type": "function"
442
1062
  },
443
1063
  {
444
- "inputs": [],
445
- "name": "getToken",
446
- "outputs": [
1064
+ "inputs": [
447
1065
  {
448
- "internalType": "contract IERC20Metadata",
449
- "name": "token",
1066
+ "internalType": "address",
1067
+ "name": "candidate",
450
1068
  "type": "address"
451
1069
  }
452
1070
  ],
1071
+ "name": "isDistributor",
1072
+ "outputs": [
1073
+ {
1074
+ "internalType": "bool",
1075
+ "name": "",
1076
+ "type": "bool"
1077
+ }
1078
+ ],
453
1079
  "stateMutability": "view",
454
1080
  "type": "function"
455
1081
  },
456
1082
  {
457
1083
  "inputs": [],
458
- "name": "getWallet",
1084
+ "name": "isNftInterceptor",
459
1085
  "outputs": [
460
1086
  {
461
- "internalType": "address",
462
- "name": "walletAddress",
463
- "type": "address"
1087
+ "internalType": "bool",
1088
+ "name": "isInterceptor",
1089
+ "type": "bool"
464
1090
  }
465
1091
  ],
466
1092
  "stateMutability": "view",
@@ -496,17 +1122,40 @@
496
1122
  {
497
1123
  "inputs": [
498
1124
  {
499
- "internalType": "ReferralId",
500
- "name": "referralId",
501
- "type": "bytes8"
1125
+ "internalType": "address",
1126
+ "name": "to",
1127
+ "type": "address"
502
1128
  },
503
1129
  {
504
1130
  "internalType": "uint256",
505
- "name": "feeAmount",
1131
+ "name": "tokenId",
506
1132
  "type": "uint256"
507
1133
  }
508
1134
  ],
509
- "name": "processRenewal",
1135
+ "name": "nftMint",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "address",
1144
+ "name": "from",
1145
+ "type": "address"
1146
+ },
1147
+ {
1148
+ "internalType": "address",
1149
+ "name": "to",
1150
+ "type": "address"
1151
+ },
1152
+ {
1153
+ "internalType": "uint256",
1154
+ "name": "tokenId",
1155
+ "type": "uint256"
1156
+ }
1157
+ ],
1158
+ "name": "nftTransferFrom",
510
1159
  "outputs": [],
511
1160
  "stateMutability": "nonpayable",
512
1161
  "type": "function"
@@ -524,7 +1173,7 @@
524
1173
  "type": "uint256"
525
1174
  }
526
1175
  ],
527
- "name": "processSale",
1176
+ "name": "processRenewal",
528
1177
  "outputs": [],
529
1178
  "stateMutability": "nonpayable",
530
1179
  "type": "function"
@@ -532,24 +1181,48 @@
532
1181
  {
533
1182
  "inputs": [
534
1183
  {
535
- "internalType": "ReferralId",
536
- "name": "referralId",
537
- "type": "bytes8"
1184
+ "internalType": "bytes4",
1185
+ "name": "interfaceId",
1186
+ "type": "bytes4"
538
1187
  }
539
1188
  ],
540
- "name": "referralIsValid",
541
- "outputs": [
1189
+ "name": "registerInterface",
1190
+ "outputs": [],
1191
+ "stateMutability": "nonpayable",
1192
+ "type": "function"
1193
+ },
1194
+ {
1195
+ "inputs": [
542
1196
  {
543
- "internalType": "bool",
544
- "name": "isValid",
545
- "type": "bool"
1197
+ "internalType": "address",
1198
+ "name": "newAuthority",
1199
+ "type": "address"
546
1200
  }
547
1201
  ],
548
- "stateMutability": "view",
1202
+ "name": "setAuthority",
1203
+ "outputs": [],
1204
+ "stateMutability": "nonpayable",
549
1205
  "type": "function"
550
1206
  },
551
1207
  {
552
1208
  "inputs": [
1209
+ {
1210
+ "components": [
1211
+ {
1212
+ "internalType": "UFixed",
1213
+ "name": "fractionalFee",
1214
+ "type": "uint256"
1215
+ },
1216
+ {
1217
+ "internalType": "uint256",
1218
+ "name": "fixedFee",
1219
+ "type": "uint256"
1220
+ }
1221
+ ],
1222
+ "internalType": "struct Fee",
1223
+ "name": "minDistributionOwnerFee",
1224
+ "type": "tuple"
1225
+ },
553
1226
  {
554
1227
  "components": [
555
1228
  {
@@ -586,6 +1259,19 @@
586
1259
  "stateMutability": "nonpayable",
587
1260
  "type": "function"
588
1261
  },
1262
+ {
1263
+ "inputs": [
1264
+ {
1265
+ "internalType": "address",
1266
+ "name": "newWallet",
1267
+ "type": "address"
1268
+ }
1269
+ ],
1270
+ "name": "setWallet",
1271
+ "outputs": [],
1272
+ "stateMutability": "nonpayable",
1273
+ "type": "function"
1274
+ },
589
1275
  {
590
1276
  "inputs": [
591
1277
  {
@@ -611,60 +1297,33 @@
611
1297
  "outputs": [],
612
1298
  "stateMutability": "nonpayable",
613
1299
  "type": "function"
614
- }
615
- ],
616
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001e2338038062001e23833981016040819052620000349162000738565b85858560786001856200006d6301ffc9a760e01b600090815260205260008051602062001e03833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009e878786868686620003d7565b6000620000b36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000103573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012d9190810190620008a1565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263e72ac88960e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000195573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bb919062000987565b620001e75760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002619190620009ac565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff191660011790555050600a805460ff19168a1515179055505085516008555050506020808401516009556007546040805163329802c760e21b815290516001600160a01b03909216935063ca600b1c9260048083019391928290030181865afa15801562000342573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003689190620009ac565b600a80546001600160a01b039290921661010002610100600160a81b03199092169190911790556346956fbb60e01b60009081526020527fde8a87bec5ec8de928fbf3ef0018bfc89cfb626a8f5b139f23c48d93c5c755f4805460ff1916600117905550505050505062000b27565b620004086301ffc9a760e01b600090815260205260008051602062001e03833981519152805460ff19166001179055565b620004148287620004d9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000493838262000a5b565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620004ff8162000503565b5050565b6001546001600160a01b0316156200053e5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001de565b6001600160a01b038116620005665760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200059e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156200061b575060408051601f3d908101601f19168201909252620006189181019062000987565b60015b620006455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b80620004ff5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001de565b50565b6001600160a01b03811681146200067057600080fd5b8051620006968162000673565b919050565b80516001600160601b03811681146200069657600080fd5b805180151581146200069657600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620006ff57620006ff620006c4565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007305762000730620006c4565b604052919050565b60008060008060008086880360e08112156200075357600080fd5b8751620007608162000673565b965062000770602089016200069b565b95506040880151620007828162000673565b94506200079260608901620006b3565b93506040607f1982011215620007a757600080fd5b50604080519081016001600160401b0381118282101715620007cd57620007cd620006c4565b6040526080880151815260a0880151602082015260c0880151909250620007f48162000673565b809150509295509295509295565b805160ff811681146200069657600080fd5b600082601f8301126200082657600080fd5b81516001600160401b03811115620008425762000842620006c4565b602062000858601f8301601f1916820162000705565b82815285828487010111156200086d57600080fd5b60005b838110156200088d57858101830151828201840152820162000870565b506000928101909101919091529392505050565b600060208284031215620008b457600080fd5b81516001600160401b0380821115620008cc57600080fd5b9083019060e08286031215620008e157600080fd5b620008eb620006da565b620008f6836200069b565b815262000906602084016200069b565b6020820152620009196040840162000802565b60408201526200092c60608401620006b3565b60608201526200093f6080840162000689565b60808201526200095260a0840162000689565b60a082015260c0830151828111156200096a57600080fd5b620009788782860162000814565b60c08301525095945050505050565b6000602082840312156200099a57600080fd5b620009a582620006b3565b9392505050565b600060208284031215620009bf57600080fd5b8151620009a58162000673565b600181811c90821680620009e157607f821691505b60208210810362000a0257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a5657600081815260208120601f850160051c8101602086101562000a315750805b601f850160051c820191505b8181101562000a525782815560010162000a3d565b5050505b505050565b81516001600160401b0381111562000a775762000a77620006c4565b62000a8f8162000a888454620009cc565b8462000a08565b602080601f83116001811462000ac7576000841562000aae5750858301515b600019600386901b1c1916600185901b17855562000a52565b600085815260208120601f198616915b8281101562000af85788860151825594840194600190910190840162000ad7565b508582101562000b175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6112cc8062000b376000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063d16d0fe81161007c578063d16d0fe814610336578063de7b5d1414610349578063e21475671461035a578063f7d39dea1461036e578063f80e207214610270578063f83d08ba1461038157600080fd5b8063644c45e01461029457806387ef9ba0146102ac578063893d20e8146102b75780638e7ff97e146102bf578063a69df4b514610326578063c200b8091461032e57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a5780633f52c0f61461025d5780634cf30a84146102705780635ab1bd531461028357600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af610190366004610e95565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610389565b604051610179929190610f0c565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610179565b610202610410565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6006546001600160a01b03166101e2565b610202610258366004610fcb565b610632565b61020261026b36600461101f565b610794565b61020261027e36600461106e565b6107fd565b6001546001600160a01b03166101e2565b600154600160a01b90046001600160601b0316610165565b600a5460ff166101af565b6101e2610865565b6102c7610983565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610179565b6102026109f3565b6102c7610a70565b61022b61034436600461106e565b610b7f565b6007546001600160a01b03166101e2565b6101af610368366004611098565b50600090565b61022b61037c36600461106e565b610b94565b610202610c36565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103cd610cb3565b50600a546040805160085460208201526009548183015260ff90921615156060808401919091528151808403909101815260809092019052909590945092505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610472573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049691906110c3565b156104dd576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105065760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561054f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057391906110c3565b61059b576040516372657a5160e01b81526001600160a01b03821660048201526024016104d4565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060991906110de565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061063c610865565b90506001600160a01b0381161580159061065f5750336001600160a01b03821614155b1561067f5760405163700dd81160e01b81523360048201526024016104d4565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f91906110c3565b61076b5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104d4565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600a54604051631fa9607b60e11b81526101009091046001600160a01b031690633f52c0f6906107c89084906004016110fb565b600060405180830381600087803b1580156107e257600080fd5b505af11580156107f6573d6000803e3d6000fd5b5050505050565b600b546001600160a01b031633146108615760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104d4565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee91906110c3565b1561097357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190611132565b905090565b506002546001600160a01b031690565b61098b610e39565b506040805160a081018252600754600160a01b90046001600160601b031681526006546001600160a01b03166020808301919091528251808401845260085481526009549181019190915291810191909152600a5460ff161515606082015230608082015290565b60006109fd610865565b90506001600160a01b03811615801590610a205750336001600160a01b03821614155b15610a405760405163700dd81160e01b81523360048201526024016104d4565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024016107c8565b610a78610e39565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190611132565b9050806001600160a01b0316639ad69c67610b116001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b79919061114f565b91505090565b6000610b8b8282611213565b90505b92915050565b600080610b9f610a70565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610c08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2c9190611238565b5095945050505050565b6000610c40610865565b90506001600160a01b03811615801590610c635750336001600160a01b03821614155b15610c835760405163700dd81160e01b81523360048201526024016104d4565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016107c8565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610d3a6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610d82610865565b6001600160a01b03168152602001826001018054610d9f9061125c565b80601f0160208091040260200160405190810160405280929190818152602001828054610dcb9061125c565b8015610e185780601f10610ded57610100808354040283529160200191610e18565b820191906000526020600020905b815481529060010190602001808311610dfb57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001610e81604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215610ea757600080fd5b81356001600160e01b031981168114610ebf57600080fd5b9392505050565b6000815180845260005b81811015610eec57602081850181015186830182015201610ed0565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610f5060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610f96610120840182610ec6565b90508281036020840152610faa8185610ec6565b95945050505050565b6001600160601b0381168114610fc857600080fd5b50565b600060208284031215610fdd57600080fd5b8135610ebf81610fb3565b6040805190810167ffffffffffffffff8111828210171561101957634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561103157600080fd5b611039610fe8565b82358152602083013560208201528091505092915050565b80356001600160c01b03198116811461106957600080fd5b919050565b6000806040838503121561108157600080fd5b61108a83611051565b946020939093013593505050565b6000602082840312156110aa57600080fd5b610b8b82611051565b8051801515811461106957600080fd5b6000602082840312156110d557600080fd5b610b8b826110b3565b6000602082840312156110f057600080fd5b8151610ebf81610fb3565b815181526020808301519082015260408101610b8e565b6001600160a01b0381168114610fc857600080fd5b805161106981611112565b60006020828403121561114457600080fd5b8151610ebf81611112565b600081830360c081121561116257600080fd5b60405160a0810181811067ffffffffffffffff8211171561119357634e487b7160e01b600052604160045260246000fd5b60405283516111a181610fb3565b815260208401516111b181611112565b60208201526040603f19830112156111c857600080fd5b6111d0610fe8565b915060408401518252606084015160208301528160408201526111f5608085016110b3565b606082015261120660a08501611127565b6080820152949350505050565b8082028115828204841417610b8e57634e487b7160e01b600052601160045260246000fd5b6000806040838503121561124b57600080fd5b505080516020909101519092909150565b600181811c9082168061127057607f821691505b60208210810361129057634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212203ce374721497c72e6e11cc2de3db09c54d1ba2bbd608e6b3b19eab517210c59464736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
617
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063d16d0fe81161007c578063d16d0fe814610336578063de7b5d1414610349578063e21475671461035a578063f7d39dea1461036e578063f80e207214610270578063f83d08ba1461038157600080fd5b8063644c45e01461029457806387ef9ba0146102ac578063893d20e8146102b75780638e7ff97e146102bf578063a69df4b514610326578063c200b8091461032e57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a5780633f52c0f61461025d5780634cf30a84146102705780635ab1bd531461028357600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af610190366004610e95565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610389565b604051610179929190610f0c565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610179565b610202610410565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6006546001600160a01b03166101e2565b610202610258366004610fcb565b610632565b61020261026b36600461101f565b610794565b61020261027e36600461106e565b6107fd565b6001546001600160a01b03166101e2565b600154600160a01b90046001600160601b0316610165565b600a5460ff166101af565b6101e2610865565b6102c7610983565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610179565b6102026109f3565b6102c7610a70565b61022b61034436600461106e565b610b7f565b6007546001600160a01b03166101e2565b6101af610368366004611098565b50600090565b61022b61037c36600461106e565b610b94565b610202610c36565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103cd610cb3565b50600a546040805160085460208201526009548183015260ff90921615156060808401919091528151808403909101815260809092019052909590945092505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610472573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049691906110c3565b156104dd576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105065760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561054f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057391906110c3565b61059b576040516372657a5160e01b81526001600160a01b03821660048201526024016104d4565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060991906110de565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061063c610865565b90506001600160a01b0381161580159061065f5750336001600160a01b03821614155b1561067f5760405163700dd81160e01b81523360048201526024016104d4565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f91906110c3565b61076b5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104d4565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600a54604051631fa9607b60e11b81526101009091046001600160a01b031690633f52c0f6906107c89084906004016110fb565b600060405180830381600087803b1580156107e257600080fd5b505af11580156107f6573d6000803e3d6000fd5b5050505050565b600b546001600160a01b031633146108615760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104d4565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee91906110c3565b1561097357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190611132565b905090565b506002546001600160a01b031690565b61098b610e39565b506040805160a081018252600754600160a01b90046001600160601b031681526006546001600160a01b03166020808301919091528251808401845260085481526009549181019190915291810191909152600a5460ff161515606082015230608082015290565b60006109fd610865565b90506001600160a01b03811615801590610a205750336001600160a01b03821614155b15610a405760405163700dd81160e01b81523360048201526024016104d4565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024016107c8565b610a78610e39565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190611132565b9050806001600160a01b0316639ad69c67610b116001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b79919061114f565b91505090565b6000610b8b8282611213565b90505b92915050565b600080610b9f610a70565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610c08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2c9190611238565b5095945050505050565b6000610c40610865565b90506001600160a01b03811615801590610c635750336001600160a01b03821614155b15610c835760405163700dd81160e01b81523360048201526024016104d4565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016107c8565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610d3a6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610d82610865565b6001600160a01b03168152602001826001018054610d9f9061125c565b80601f0160208091040260200160405190810160405280929190818152602001828054610dcb9061125c565b8015610e185780601f10610ded57610100808354040283529160200191610e18565b820191906000526020600020905b815481529060010190602001808311610dfb57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001610e81604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215610ea757600080fd5b81356001600160e01b031981168114610ebf57600080fd5b9392505050565b6000815180845260005b81811015610eec57602081850181015186830182015201610ed0565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610f5060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610f96610120840182610ec6565b90508281036020840152610faa8185610ec6565b95945050505050565b6001600160601b0381168114610fc857600080fd5b50565b600060208284031215610fdd57600080fd5b8135610ebf81610fb3565b6040805190810167ffffffffffffffff8111828210171561101957634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561103157600080fd5b611039610fe8565b82358152602083013560208201528091505092915050565b80356001600160c01b03198116811461106957600080fd5b919050565b6000806040838503121561108157600080fd5b61108a83611051565b946020939093013593505050565b6000602082840312156110aa57600080fd5b610b8b82611051565b8051801515811461106957600080fd5b6000602082840312156110d557600080fd5b610b8b826110b3565b6000602082840312156110f057600080fd5b8151610ebf81610fb3565b815181526020808301519082015260408101610b8e565b6001600160a01b0381168114610fc857600080fd5b805161106981611112565b60006020828403121561114457600080fd5b8151610ebf81611112565b600081830360c081121561116257600080fd5b60405160a0810181811067ffffffffffffffff8211171561119357634e487b7160e01b600052604160045260246000fd5b60405283516111a181610fb3565b815260208401516111b181611112565b60208201526040603f19830112156111c857600080fd5b6111d0610fe8565b915060408401518252606084015160208301528160408201526111f5608085016110b3565b606082015261120660a08501611127565b6080820152949350505050565b8082028115828204841417610b8e57634e487b7160e01b600052601160045260246000fd5b6000806040838503121561124b57600080fd5b505080516020909101519092909150565b600181811c9082168061127057607f821691505b60208210810361129057634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212203ce374721497c72e6e11cc2de3db09c54d1ba2bbd608e6b3b19eab517210c59464736f6c63430008140033",
618
- "linkReferences": {
619
- "contracts/types/Fee.sol": {
620
- "FeeLib": [
621
- {
622
- "length": 20,
623
- "start": 5894
624
- }
625
- ]
626
- },
627
- "contracts/types/NftId.sol": {
628
- "NftIdLib": [
629
- {
630
- "length": 20,
631
- "start": 3951
632
- },
633
- {
634
- "length": 20,
635
- "start": 4539
636
- },
637
- {
638
- "length": 20,
639
- "start": 5063
640
- }
641
- ]
642
- }
643
- },
644
- "deployedLinkReferences": {
645
- "contracts/types/Fee.sol": {
646
- "FeeLib": [
647
- {
648
- "length": 20,
649
- "start": 3023
650
- }
651
- ]
652
1300
  },
653
- "contracts/types/NftId.sol": {
654
- "NftIdLib": [
1301
+ {
1302
+ "inputs": [
655
1303
  {
656
- "length": 20,
657
- "start": 1080
1304
+ "internalType": "NftId",
1305
+ "name": "distributorNftId",
1306
+ "type": "uint96"
658
1307
  },
659
1308
  {
660
- "length": 20,
661
- "start": 1668
1309
+ "internalType": "DistributorType",
1310
+ "name": "distributorType",
1311
+ "type": "bytes8"
662
1312
  },
663
1313
  {
664
- "length": 20,
665
- "start": 2192
1314
+ "internalType": "bytes",
1315
+ "name": "data",
1316
+ "type": "bytes"
666
1317
  }
667
- ]
1318
+ ],
1319
+ "name": "updateDistributorType",
1320
+ "outputs": [],
1321
+ "stateMutability": "nonpayable",
1322
+ "type": "function"
668
1323
  }
669
- }
1324
+ ],
1325
+ "bytecode": "0x",
1326
+ "deployedBytecode": "0x",
1327
+ "linkReferences": {},
1328
+ "deployedLinkReferences": {}
670
1329
  }