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