@etherisc/gif-next 0.0.2-da06f3b-803 → 0.0.2-da0f894-204
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 +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +212 -94
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +552 -122
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +64 -72
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +279 -98
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +406 -90
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +68 -144
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +654 -117
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +316 -166
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
- 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 +765 -323
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +97 -180
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +841 -574
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +134 -231
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +98 -124
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +265 -269
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +319 -99
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +118 -169
- 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 +62 -36
- 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 +947 -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 +261 -267
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +305 -93
- 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 +1031 -250
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +441 -85
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +535 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +130 -212
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +552 -135
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +40 -287
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +22 -169
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +22 -169
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +164 -391
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +311 -127
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +142 -221
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +302 -90
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +142 -221
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +302 -90
- 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 +15 -21
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +83 -174
- 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 +28 -34
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +193 -216
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +300 -94
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +11 -11
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -37
- 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 -29
- 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 -169
- 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 +113 -33
- 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 -74
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +125 -55
- 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 +113 -164
- 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 +125 -55
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +134 -221
- 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 +82 -77
- package/contracts/components/Distribution.sol +188 -48
- package/contracts/components/IComponent.sol +42 -17
- package/contracts/components/IDistributionComponent.sol +39 -7
- package/contracts/components/IPoolComponent.sol +121 -21
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +290 -120
- package/contracts/components/Product.sol +92 -69
- package/contracts/instance/BundleManager.sol +1 -1
- package/contracts/instance/IInstance.sol +21 -1
- package/contracts/instance/IInstanceService.sol +19 -2
- package/contracts/instance/Instance.sol +58 -36
- package/contracts/instance/InstanceAccessManager.sol +136 -253
- package/contracts/instance/InstanceService.sol +154 -137
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/base/ComponentService.sol +1 -1
- package/contracts/instance/module/IAccess.sol +10 -11
- 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 +346 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +15 -9
- 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 +303 -15
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +81 -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 +126 -260
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +2 -3
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +9 -9
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/IRegistry.sol +3 -4
- package/contracts/registry/IRegistryService.sol +10 -8
- package/contracts/registry/Registry.sol +28 -21
- package/contracts/registry/RegistryService.sol +69 -48
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +18 -28
- package/contracts/registry/TokenRegistry.sol +16 -12
- 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 +3 -3
- 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 -85
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +7 -19
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +15 -17
- 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 +14 -12
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/Timestamp.sol +12 -13
- package/package.json +1 -1
- 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/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
@@ -67,16 +67,11 @@
|
|
67
67
|
"inputs": [
|
68
68
|
{
|
69
69
|
"internalType": "address",
|
70
|
-
"name": "
|
70
|
+
"name": "caller",
|
71
71
|
"type": "address"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"internalType": "NftId",
|
75
|
-
"name": "nftId",
|
76
|
-
"type": "uint96"
|
77
72
|
}
|
78
73
|
],
|
79
|
-
"name": "
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
80
75
|
"type": "error"
|
81
76
|
},
|
82
77
|
{
|
@@ -85,11 +80,6 @@
|
|
85
80
|
"internalType": "NftId",
|
86
81
|
"name": "instanceNftId",
|
87
82
|
"type": "uint96"
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"internalType": "address",
|
91
|
-
"name": "instance",
|
92
|
-
"type": "address"
|
93
83
|
}
|
94
84
|
],
|
95
85
|
"name": "ErrorComponentNotInstance",
|
@@ -112,29 +102,7 @@
|
|
112
102
|
"type": "error"
|
113
103
|
},
|
114
104
|
{
|
115
|
-
"inputs": [
|
116
|
-
{
|
117
|
-
"internalType": "address",
|
118
|
-
"name": "caller",
|
119
|
-
"type": "address"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"internalType": "uint64",
|
123
|
-
"name": "requiredRoleIdNum",
|
124
|
-
"type": "uint64"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"name": "ErrorComponentUnauthorized",
|
128
|
-
"type": "error"
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"inputs": [
|
132
|
-
{
|
133
|
-
"internalType": "address",
|
134
|
-
"name": "newWallet",
|
135
|
-
"type": "address"
|
136
|
-
}
|
137
|
-
],
|
105
|
+
"inputs": [],
|
138
106
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
139
107
|
"type": "error"
|
140
108
|
},
|
@@ -172,66 +140,50 @@
|
|
172
140
|
{
|
173
141
|
"inputs": [
|
174
142
|
{
|
175
|
-
"internalType": "
|
176
|
-
"name": "
|
177
|
-
"type": "
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "nftId",
|
145
|
+
"type": "uint96"
|
178
146
|
}
|
179
147
|
],
|
180
|
-
"name": "
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
181
149
|
"type": "error"
|
182
150
|
},
|
183
151
|
{
|
184
152
|
"inputs": [
|
185
153
|
{
|
186
154
|
"internalType": "address",
|
187
|
-
"name": "
|
155
|
+
"name": "contractAddress",
|
188
156
|
"type": "address"
|
189
157
|
}
|
190
158
|
],
|
191
|
-
"name": "
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
192
160
|
"type": "error"
|
193
161
|
},
|
194
162
|
{
|
195
|
-
"inputs": [
|
196
|
-
|
197
|
-
"internalType": "address",
|
198
|
-
"name": "registryAddress",
|
199
|
-
"type": "address"
|
200
|
-
}
|
201
|
-
],
|
202
|
-
"name": "ErrorNotRegistry",
|
163
|
+
"inputs": [],
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
203
165
|
"type": "error"
|
204
166
|
},
|
205
167
|
{
|
206
168
|
"inputs": [
|
207
169
|
{
|
208
170
|
"internalType": "address",
|
209
|
-
"name": "
|
171
|
+
"name": "account",
|
210
172
|
"type": "address"
|
211
173
|
}
|
212
174
|
],
|
213
|
-
"name": "
|
214
|
-
"type": "error"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"inputs": [],
|
218
|
-
"name": "ErrorRegistryAddressZero",
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
219
176
|
"type": "error"
|
220
177
|
},
|
221
178
|
{
|
222
179
|
"inputs": [
|
223
180
|
{
|
224
181
|
"internalType": "address",
|
225
|
-
"name": "
|
182
|
+
"name": "registryAddress",
|
226
183
|
"type": "address"
|
227
184
|
}
|
228
185
|
],
|
229
|
-
"name": "
|
230
|
-
"type": "error"
|
231
|
-
},
|
232
|
-
{
|
233
|
-
"inputs": [],
|
234
|
-
"name": "ErrorRegistryNotInitialized",
|
186
|
+
"name": "ErrorNotRegistry",
|
235
187
|
"type": "error"
|
236
188
|
},
|
237
189
|
{
|
@@ -289,6 +241,12 @@
|
|
289
241
|
{
|
290
242
|
"anonymous": false,
|
291
243
|
"inputs": [
|
244
|
+
{
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "oldWallet",
|
248
|
+
"type": "address"
|
249
|
+
},
|
292
250
|
{
|
293
251
|
"indexed": false,
|
294
252
|
"internalType": "address",
|
@@ -324,9 +282,54 @@
|
|
324
282
|
"name": "LogComponentWalletTokensTransferred",
|
325
283
|
"type": "event"
|
326
284
|
},
|
285
|
+
{
|
286
|
+
"anonymous": false,
|
287
|
+
"inputs": [
|
288
|
+
{
|
289
|
+
"indexed": false,
|
290
|
+
"internalType": "address",
|
291
|
+
"name": "to",
|
292
|
+
"type": "address"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"indexed": false,
|
296
|
+
"internalType": "address",
|
297
|
+
"name": "caller",
|
298
|
+
"type": "address"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "LogDistributorUpdated",
|
302
|
+
"type": "event"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"inputs": [],
|
306
|
+
"name": "COMPONENT_LOCATION_V1",
|
307
|
+
"outputs": [
|
308
|
+
{
|
309
|
+
"internalType": "bytes32",
|
310
|
+
"name": "",
|
311
|
+
"type": "bytes32"
|
312
|
+
}
|
313
|
+
],
|
314
|
+
"stateMutability": "view",
|
315
|
+
"type": "function"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"inputs": [],
|
319
|
+
"name": "DISTRIBUTION_STORAGE_LOCATION_V1",
|
320
|
+
"outputs": [
|
321
|
+
{
|
322
|
+
"internalType": "bytes32",
|
323
|
+
"name": "",
|
324
|
+
"type": "bytes32"
|
325
|
+
}
|
326
|
+
],
|
327
|
+
"stateMutability": "view",
|
328
|
+
"type": "function"
|
329
|
+
},
|
327
330
|
{
|
328
331
|
"inputs": [],
|
329
|
-
"name": "
|
332
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
330
333
|
"outputs": [
|
331
334
|
{
|
332
335
|
"internalType": "bytes32",
|
@@ -376,7 +379,7 @@
|
|
376
379
|
"type": "uint256"
|
377
380
|
}
|
378
381
|
],
|
379
|
-
"name": "
|
382
|
+
"name": "calculateRenewalFeeAmount",
|
380
383
|
"outputs": [
|
381
384
|
{
|
382
385
|
"internalType": "uint256",
|
@@ -390,22 +393,154 @@
|
|
390
393
|
{
|
391
394
|
"inputs": [
|
392
395
|
{
|
393
|
-
"internalType": "
|
394
|
-
"name": "
|
396
|
+
"internalType": "address",
|
397
|
+
"name": "distributor",
|
398
|
+
"type": "address"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"internalType": "DistributorType",
|
402
|
+
"name": "distributorType",
|
395
403
|
"type": "bytes8"
|
396
404
|
},
|
397
405
|
{
|
398
|
-
"internalType": "
|
399
|
-
"name": "
|
406
|
+
"internalType": "bytes",
|
407
|
+
"name": "data",
|
408
|
+
"type": "bytes"
|
409
|
+
}
|
410
|
+
],
|
411
|
+
"name": "createDistributor",
|
412
|
+
"outputs": [
|
413
|
+
{
|
414
|
+
"internalType": "NftId",
|
415
|
+
"name": "distributorNftId",
|
416
|
+
"type": "uint96"
|
417
|
+
}
|
418
|
+
],
|
419
|
+
"stateMutability": "nonpayable",
|
420
|
+
"type": "function"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"inputs": [
|
424
|
+
{
|
425
|
+
"internalType": "string",
|
426
|
+
"name": "name",
|
427
|
+
"type": "string"
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"internalType": "UFixed",
|
431
|
+
"name": "minDiscountPercentage",
|
432
|
+
"type": "uint256"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"internalType": "UFixed",
|
436
|
+
"name": "maxDiscountPercentage",
|
437
|
+
"type": "uint256"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"internalType": "UFixed",
|
441
|
+
"name": "commissionPercentage",
|
400
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"
|
401
468
|
}
|
402
469
|
],
|
403
|
-
"name": "
|
470
|
+
"name": "createDistributorType",
|
404
471
|
"outputs": [
|
405
472
|
{
|
406
|
-
"internalType": "
|
407
|
-
"name": "
|
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",
|
408
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"
|
409
544
|
}
|
410
545
|
],
|
411
546
|
"stateMutability": "view",
|
@@ -461,19 +596,6 @@
|
|
461
596
|
"stateMutability": "view",
|
462
597
|
"type": "function"
|
463
598
|
},
|
464
|
-
{
|
465
|
-
"inputs": [],
|
466
|
-
"name": "getInitialOwner",
|
467
|
-
"outputs": [
|
468
|
-
{
|
469
|
-
"internalType": "address",
|
470
|
-
"name": "",
|
471
|
-
"type": "address"
|
472
|
-
}
|
473
|
-
],
|
474
|
-
"stateMutability": "view",
|
475
|
-
"type": "function"
|
476
|
-
},
|
477
599
|
{
|
478
600
|
"inputs": [],
|
479
601
|
"name": "getInstance",
|
@@ -487,19 +609,6 @@
|
|
487
609
|
"stateMutability": "view",
|
488
610
|
"type": "function"
|
489
611
|
},
|
490
|
-
{
|
491
|
-
"inputs": [],
|
492
|
-
"name": "getInstanceService",
|
493
|
-
"outputs": [
|
494
|
-
{
|
495
|
-
"internalType": "contract IInstanceService",
|
496
|
-
"name": "",
|
497
|
-
"type": "address"
|
498
|
-
}
|
499
|
-
],
|
500
|
-
"stateMutability": "view",
|
501
|
-
"type": "function"
|
502
|
-
},
|
503
612
|
{
|
504
613
|
"inputs": [],
|
505
614
|
"name": "getName",
|
@@ -553,17 +662,23 @@
|
|
553
662
|
"type": "function"
|
554
663
|
},
|
555
664
|
{
|
556
|
-
"inputs": [
|
557
|
-
"name": "getProductService",
|
558
|
-
"outputs": [
|
665
|
+
"inputs": [
|
559
666
|
{
|
560
|
-
"internalType": "
|
561
|
-
"name": "",
|
562
|
-
"type": "
|
667
|
+
"internalType": "string",
|
668
|
+
"name": "referralCode",
|
669
|
+
"type": "string"
|
563
670
|
}
|
564
671
|
],
|
565
|
-
"
|
566
|
-
"
|
672
|
+
"name": "getReferralId",
|
673
|
+
"outputs": [
|
674
|
+
{
|
675
|
+
"internalType": "ReferralId",
|
676
|
+
"name": "referralId",
|
677
|
+
"type": "bytes8"
|
678
|
+
}
|
679
|
+
],
|
680
|
+
"stateMutability": "view",
|
681
|
+
"type": "function"
|
567
682
|
},
|
568
683
|
{
|
569
684
|
"inputs": [],
|
@@ -578,6 +693,19 @@
|
|
578
693
|
"stateMutability": "view",
|
579
694
|
"type": "function"
|
580
695
|
},
|
696
|
+
{
|
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
|
+
},
|
581
709
|
{
|
582
710
|
"inputs": [],
|
583
711
|
"name": "getSetupInfo",
|
@@ -608,18 +736,35 @@
|
|
608
736
|
}
|
609
737
|
],
|
610
738
|
"internalType": "struct Fee",
|
611
|
-
"name": "
|
739
|
+
"name": "minDistributionOwnerFee",
|
612
740
|
"type": "tuple"
|
613
741
|
},
|
614
742
|
{
|
615
|
-
"
|
616
|
-
|
617
|
-
|
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"
|
618
758
|
},
|
619
759
|
{
|
620
760
|
"internalType": "address",
|
621
761
|
"name": "wallet",
|
622
762
|
"type": "address"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"internalType": "uint256",
|
766
|
+
"name": "sumDistributionFees",
|
767
|
+
"type": "uint256"
|
623
768
|
}
|
624
769
|
],
|
625
770
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -656,6 +801,202 @@
|
|
656
801
|
"stateMutability": "view",
|
657
802
|
"type": "function"
|
658
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
|
+
},
|
874
|
+
{
|
875
|
+
"components": [
|
876
|
+
{
|
877
|
+
"internalType": "UFixed",
|
878
|
+
"name": "fractionalFee",
|
879
|
+
"type": "uint256"
|
880
|
+
},
|
881
|
+
{
|
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": [
|
893
|
+
{
|
894
|
+
"internalType": "UFixed",
|
895
|
+
"name": "fractionalFee",
|
896
|
+
"type": "uint256"
|
897
|
+
},
|
898
|
+
{
|
899
|
+
"internalType": "uint256",
|
900
|
+
"name": "fixedFee",
|
901
|
+
"type": "uint256"
|
902
|
+
}
|
903
|
+
],
|
904
|
+
"internalType": "struct Fee",
|
905
|
+
"name": "distributionFee",
|
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"
|
917
|
+
}
|
918
|
+
],
|
919
|
+
"name": "initializeDistribution",
|
920
|
+
"outputs": [],
|
921
|
+
"stateMutability": "nonpayable",
|
922
|
+
"type": "function"
|
923
|
+
},
|
924
|
+
{
|
925
|
+
"inputs": [],
|
926
|
+
"name": "initializeERC165",
|
927
|
+
"outputs": [],
|
928
|
+
"stateMutability": "nonpayable",
|
929
|
+
"type": "function"
|
930
|
+
},
|
931
|
+
{
|
932
|
+
"inputs": [
|
933
|
+
{
|
934
|
+
"internalType": "address",
|
935
|
+
"name": "initialOwner",
|
936
|
+
"type": "address"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"internalType": "address",
|
940
|
+
"name": "registryAddress",
|
941
|
+
"type": "address"
|
942
|
+
}
|
943
|
+
],
|
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",
|
998
|
+
"type": "function"
|
999
|
+
},
|
659
1000
|
{
|
660
1001
|
"inputs": [],
|
661
1002
|
"name": "isConsumingScheduledOp",
|
@@ -669,6 +1010,38 @@
|
|
669
1010
|
"stateMutability": "view",
|
670
1011
|
"type": "function"
|
671
1012
|
},
|
1013
|
+
{
|
1014
|
+
"inputs": [
|
1015
|
+
{
|
1016
|
+
"internalType": "address",
|
1017
|
+
"name": "candidate",
|
1018
|
+
"type": "address"
|
1019
|
+
}
|
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
|
+
],
|
1042
|
+
"stateMutability": "view",
|
1043
|
+
"type": "function"
|
1044
|
+
},
|
672
1045
|
{
|
673
1046
|
"inputs": [],
|
674
1047
|
"name": "isVerifying",
|
@@ -699,17 +1072,22 @@
|
|
699
1072
|
{
|
700
1073
|
"inputs": [
|
701
1074
|
{
|
702
|
-
"internalType": "
|
703
|
-
"name": "
|
704
|
-
"type": "
|
1075
|
+
"internalType": "address",
|
1076
|
+
"name": "from",
|
1077
|
+
"type": "address"
|
1078
|
+
},
|
1079
|
+
{
|
1080
|
+
"internalType": "address",
|
1081
|
+
"name": "to",
|
1082
|
+
"type": "address"
|
705
1083
|
},
|
706
1084
|
{
|
707
1085
|
"internalType": "uint256",
|
708
|
-
"name": "
|
1086
|
+
"name": "tokenId",
|
709
1087
|
"type": "uint256"
|
710
1088
|
}
|
711
1089
|
],
|
712
|
-
"name": "
|
1090
|
+
"name": "nftTransferFrom",
|
713
1091
|
"outputs": [],
|
714
1092
|
"stateMutability": "nonpayable",
|
715
1093
|
"type": "function"
|
@@ -727,7 +1105,7 @@
|
|
727
1105
|
"type": "uint256"
|
728
1106
|
}
|
729
1107
|
],
|
730
|
-
"name": "
|
1108
|
+
"name": "processRenewal",
|
731
1109
|
"outputs": [],
|
732
1110
|
"stateMutability": "nonpayable",
|
733
1111
|
"type": "function"
|
@@ -738,17 +1116,29 @@
|
|
738
1116
|
"internalType": "ReferralId",
|
739
1117
|
"name": "referralId",
|
740
1118
|
"type": "bytes8"
|
1119
|
+
},
|
1120
|
+
{
|
1121
|
+
"internalType": "uint256",
|
1122
|
+
"name": "premiumAmount",
|
1123
|
+
"type": "uint256"
|
741
1124
|
}
|
742
1125
|
],
|
743
|
-
"name": "
|
744
|
-
"outputs": [
|
1126
|
+
"name": "processSale",
|
1127
|
+
"outputs": [],
|
1128
|
+
"stateMutability": "nonpayable",
|
1129
|
+
"type": "function"
|
1130
|
+
},
|
1131
|
+
{
|
1132
|
+
"inputs": [
|
745
1133
|
{
|
746
|
-
"internalType": "
|
747
|
-
"name": "
|
748
|
-
"type": "
|
1134
|
+
"internalType": "bytes4",
|
1135
|
+
"name": "interfaceId",
|
1136
|
+
"type": "bytes4"
|
749
1137
|
}
|
750
1138
|
],
|
751
|
-
"
|
1139
|
+
"name": "registerInterface",
|
1140
|
+
"outputs": [],
|
1141
|
+
"stateMutability": "nonpayable",
|
752
1142
|
"type": "function"
|
753
1143
|
},
|
754
1144
|
{
|
@@ -766,6 +1156,23 @@
|
|
766
1156
|
},
|
767
1157
|
{
|
768
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
|
+
},
|
769
1176
|
{
|
770
1177
|
"components": [
|
771
1178
|
{
|
@@ -840,6 +1247,29 @@
|
|
840
1247
|
"outputs": [],
|
841
1248
|
"stateMutability": "nonpayable",
|
842
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"
|
843
1273
|
}
|
844
1274
|
],
|
845
1275
|
"bytecode": "0x",
|