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