@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f2df3e2-873

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