@etherisc/gif-next 0.0.2-c00cf5d-513 → 0.0.2-c0457ac-280
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +198 -177
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +130 -335
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +67 -96
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +83 -108
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +35 -48
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +32 -101
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +65 -66
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +163 -10
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +81 -93
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +56 -40
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +84 -44
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +458 -331
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +268 -46
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +74 -43
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1095 -344
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +2 -71
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.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/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → oracle/IOracle.sol/IOracle.json} +2 -2
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +91 -264
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +56 -69
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +19 -51
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +145 -86
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +134 -133
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +242 -103
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +180 -376
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +42 -83
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +93 -167
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +56 -45
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +121 -211
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +64 -61
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +20 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +20 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +94 -25
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +40 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +241 -107
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +13 -55
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +180 -297
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +54 -99
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +163 -174
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +81 -54
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +337 -157
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +47 -230
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +34 -47
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +65 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +153 -1
- package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
- 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 +294 -15
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1712 -103
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +198 -28
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +45 -42
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +321 -161
- package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -136
- package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +1 -1
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +1 -1
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +42 -10
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +1 -1
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +42 -10
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +1 -1
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +52 -20
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +1 -1
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +52 -20
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +100 -96
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +916 -55
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +796 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +539 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +1 -1
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +76 -81
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +1 -11
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +21 -3
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +33 -20
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +31 -13
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -32
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +17 -22
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +16 -16
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +40 -4
- 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/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +566 -54
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +657 -100
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +65 -46
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +68 -4
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +34 -34
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +96 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +114 -4
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +76 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +17 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +2 -2
- package/contracts/distribution/Distribution.sol +29 -53
- package/contracts/distribution/DistributionService.sol +61 -115
- package/contracts/distribution/IDistributionComponent.sol +5 -10
- package/contracts/distribution/IDistributionService.sol +2 -8
- package/contracts/instance/IInstance.sol +15 -7
- package/contracts/instance/IInstanceService.sol +35 -10
- package/contracts/instance/Instance.sol +63 -34
- package/contracts/instance/InstanceAdmin.sol +3 -2
- package/contracts/instance/InstanceAuthorizationsLib.sol +84 -27
- package/contracts/instance/InstanceReader.sol +64 -40
- package/contracts/instance/InstanceService.sol +185 -45
- package/contracts/instance/InstanceStore.sol +122 -64
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +2 -25
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectManager.sol +1 -3
- package/contracts/instance/module/IBundle.sol +1 -4
- package/contracts/instance/module/IComponents.sol +15 -4
- package/contracts/instance/module/IPolicy.sol +8 -2
- package/contracts/mock/Dip.sol +26 -0
- package/contracts/oracle/IOracle.sol +20 -0
- package/contracts/oracle/IOracleComponent.sol +32 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +145 -0
- package/contracts/oracle/OracleService.sol +278 -0
- package/contracts/oracle/OracleServiceManager.sol +42 -0
- package/contracts/pool/BundleService.sol +79 -167
- package/contracts/pool/IBundleService.sol +4 -16
- package/contracts/pool/IPoolComponent.sol +4 -6
- package/contracts/pool/IPoolService.sol +45 -9
- package/contracts/pool/Pool.sol +39 -42
- package/contracts/pool/PoolService.sol +190 -142
- package/contracts/product/ApplicationService.sol +109 -42
- package/contracts/product/ClaimService.sol +18 -19
- package/contracts/product/IApplicationService.sol +1 -1
- package/contracts/product/IClaimService.sol +7 -1
- package/contracts/product/IPolicyService.sol +6 -8
- package/contracts/product/IPricingService.sol +3 -1
- package/contracts/product/IProductComponent.sol +7 -6
- package/contracts/product/IProductService.sol +1 -8
- package/contracts/product/PolicyService.sol +225 -128
- package/contracts/product/PricingService.sol +72 -48
- package/contracts/product/Product.sol +47 -49
- package/contracts/product/ProductService.sol +26 -114
- package/contracts/registry/ChainNft.sol +8 -1
- package/contracts/registry/IRegistry.sol +15 -4
- package/contracts/registry/IRegistryService.sol +10 -0
- package/contracts/registry/IServiceAuthorization.sol +35 -0
- package/contracts/registry/Registry.sol +164 -47
- package/contracts/registry/RegistryAdmin.sol +264 -72
- package/contracts/registry/RegistryService.sol +48 -14
- package/contracts/registry/RegistryServiceManager.sol +2 -9
- package/contracts/registry/ReleaseManager.sol +242 -177
- package/contracts/registry/ServiceAuthorization.sol +86 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
- package/contracts/registry/TokenRegistry.sol +261 -64
- package/contracts/shared/AccessAdmin.sol +759 -0
- package/contracts/shared/AccessManagerCustom.sol +6 -1
- package/contracts/shared/AccessManagerExtended.sol +19 -7
- package/contracts/shared/Component.sol +139 -129
- package/contracts/shared/ComponentService.sol +563 -88
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/shared/IAccessAdmin.sol +168 -0
- package/contracts/shared/IComponent.sol +17 -37
- package/contracts/shared/IComponentService.sol +102 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +6 -6
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
- package/contracts/shared/INftOwnable.sol +1 -1
- package/contracts/shared/IPolicyHolder.sol +6 -1
- package/contracts/shared/IService.sol +8 -1
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +144 -0
- package/contracts/{instance/base → shared}/KeyValueStore.sol +30 -72
- package/contracts/{instance/base → shared}/Lifecycle.sol +12 -3
- package/contracts/shared/NftIdSetManager.sol +65 -0
- package/contracts/shared/NftOwnable.sol +3 -13
- package/contracts/shared/PolicyHolder.sol +21 -13
- package/contracts/shared/ProxyManager.sol +2 -3
- package/contracts/shared/Registerable.sol +2 -2
- package/contracts/shared/Service.sol +32 -21
- package/contracts/shared/TokenHandler.sol +24 -1
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +98 -47
- package/contracts/staking/StakeManagerLib.sol +231 -0
- package/contracts/staking/Staking.sol +513 -0
- package/contracts/staking/StakingManager.sol +54 -0
- package/contracts/staking/StakingReader.sol +187 -0
- package/contracts/staking/StakingService.sol +286 -44
- package/contracts/staking/StakingServiceManager.sol +7 -3
- package/contracts/staking/StakingStore.sol +613 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +20 -1
- package/contracts/type/Blocknumber.sol +20 -3
- package/contracts/type/Fee.sol +17 -16
- package/contracts/type/NftId.sol +14 -16
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +142 -63
- package/contracts/type/Referral.sol +1 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +82 -20
- package/contracts/type/Seconds.sol +27 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/type/StateId.sol +27 -2
- package/contracts/type/String.sol +53 -0
- package/contracts/type/Timestamp.sol +6 -2
- package/contracts/type/Version.sol +1 -1
- package/package.json +3 -3
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
@@ -63,6 +63,11 @@
|
|
63
63
|
"name": "AddressInsufficientBalance",
|
64
64
|
"type": "error"
|
65
65
|
},
|
66
|
+
{
|
67
|
+
"inputs": [],
|
68
|
+
"name": "ErrorComponentNameLengthZero",
|
69
|
+
"type": "error"
|
70
|
+
},
|
66
71
|
{
|
67
72
|
"inputs": [
|
68
73
|
{
|
@@ -101,6 +106,11 @@
|
|
101
106
|
"name": "ErrorComponentProductNftAlreadySet",
|
102
107
|
"type": "error"
|
103
108
|
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "ErrorComponentTokenAddressZero",
|
112
|
+
"type": "error"
|
113
|
+
},
|
104
114
|
{
|
105
115
|
"inputs": [],
|
106
116
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
@@ -248,9 +258,15 @@
|
|
248
258
|
"inputs": [
|
249
259
|
{
|
250
260
|
"indexed": false,
|
251
|
-
"internalType": "
|
261
|
+
"internalType": "address",
|
262
|
+
"name": "token",
|
263
|
+
"type": "address"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"indexed": false,
|
267
|
+
"internalType": "Amount",
|
252
268
|
"name": "limit",
|
253
|
-
"type": "
|
269
|
+
"type": "uint96"
|
254
270
|
}
|
255
271
|
],
|
256
272
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -313,6 +329,19 @@
|
|
313
329
|
"stateMutability": "view",
|
314
330
|
"type": "function"
|
315
331
|
},
|
332
|
+
{
|
333
|
+
"inputs": [],
|
334
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
335
|
+
"outputs": [
|
336
|
+
{
|
337
|
+
"internalType": "bytes32",
|
338
|
+
"name": "",
|
339
|
+
"type": "bytes32"
|
340
|
+
}
|
341
|
+
],
|
342
|
+
"stateMutability": "view",
|
343
|
+
"type": "function"
|
344
|
+
},
|
316
345
|
{
|
317
346
|
"inputs": [],
|
318
347
|
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
@@ -355,9 +384,27 @@
|
|
355
384
|
{
|
356
385
|
"inputs": [
|
357
386
|
{
|
358
|
-
"internalType": "
|
387
|
+
"internalType": "address",
|
388
|
+
"name": "token",
|
389
|
+
"type": "address"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"internalType": "Amount",
|
359
393
|
"name": "spendingLimitAmount",
|
360
|
-
"type": "
|
394
|
+
"type": "uint96"
|
395
|
+
}
|
396
|
+
],
|
397
|
+
"name": "approveTokenHandler",
|
398
|
+
"outputs": [],
|
399
|
+
"stateMutability": "nonpayable",
|
400
|
+
"type": "function"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"inputs": [
|
404
|
+
{
|
405
|
+
"internalType": "Amount",
|
406
|
+
"name": "spendingLimitAmount",
|
407
|
+
"type": "uint96"
|
361
408
|
}
|
362
409
|
],
|
363
410
|
"name": "approveTokenHandler",
|
@@ -467,6 +514,11 @@
|
|
467
514
|
"name": "name",
|
468
515
|
"type": "string"
|
469
516
|
},
|
517
|
+
{
|
518
|
+
"internalType": "NftId",
|
519
|
+
"name": "productNftId",
|
520
|
+
"type": "uint96"
|
521
|
+
},
|
470
522
|
{
|
471
523
|
"internalType": "contract IERC20Metadata",
|
472
524
|
"name": "token",
|
@@ -482,16 +534,6 @@
|
|
482
534
|
"name": "wallet",
|
483
535
|
"type": "address"
|
484
536
|
},
|
485
|
-
{
|
486
|
-
"internalType": "Amount",
|
487
|
-
"name": "balanceAmount",
|
488
|
-
"type": "uint96"
|
489
|
-
},
|
490
|
-
{
|
491
|
-
"internalType": "Amount",
|
492
|
-
"name": "feeAmount",
|
493
|
-
"type": "uint96"
|
494
|
-
},
|
495
537
|
{
|
496
538
|
"internalType": "bytes",
|
497
539
|
"name": "data",
|
@@ -519,6 +561,51 @@
|
|
519
561
|
"stateMutability": "view",
|
520
562
|
"type": "function"
|
521
563
|
},
|
564
|
+
{
|
565
|
+
"inputs": [],
|
566
|
+
"name": "getInitialComponentInfo",
|
567
|
+
"outputs": [
|
568
|
+
{
|
569
|
+
"components": [
|
570
|
+
{
|
571
|
+
"internalType": "string",
|
572
|
+
"name": "name",
|
573
|
+
"type": "string"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"internalType": "NftId",
|
577
|
+
"name": "productNftId",
|
578
|
+
"type": "uint96"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"internalType": "contract IERC20Metadata",
|
582
|
+
"name": "token",
|
583
|
+
"type": "address"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"internalType": "contract TokenHandler",
|
587
|
+
"name": "tokenHandler",
|
588
|
+
"type": "address"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"internalType": "address",
|
592
|
+
"name": "wallet",
|
593
|
+
"type": "address"
|
594
|
+
},
|
595
|
+
{
|
596
|
+
"internalType": "bytes",
|
597
|
+
"name": "data",
|
598
|
+
"type": "bytes"
|
599
|
+
}
|
600
|
+
],
|
601
|
+
"internalType": "struct IComponents.ComponentInfo",
|
602
|
+
"name": "info",
|
603
|
+
"type": "tuple"
|
604
|
+
}
|
605
|
+
],
|
606
|
+
"stateMutability": "view",
|
607
|
+
"type": "function"
|
608
|
+
},
|
522
609
|
{
|
523
610
|
"inputs": [],
|
524
611
|
"name": "getInitialInfo",
|
@@ -569,6 +656,150 @@
|
|
569
656
|
"stateMutability": "view",
|
570
657
|
"type": "function"
|
571
658
|
},
|
659
|
+
{
|
660
|
+
"inputs": [],
|
661
|
+
"name": "getInitialProductInfo",
|
662
|
+
"outputs": [
|
663
|
+
{
|
664
|
+
"components": [
|
665
|
+
{
|
666
|
+
"internalType": "NftId",
|
667
|
+
"name": "distributionNftId",
|
668
|
+
"type": "uint96"
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"internalType": "NftId",
|
672
|
+
"name": "poolNftId",
|
673
|
+
"type": "uint96"
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"components": [
|
677
|
+
{
|
678
|
+
"internalType": "UFixed",
|
679
|
+
"name": "fractionalFee",
|
680
|
+
"type": "uint256"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"internalType": "uint256",
|
684
|
+
"name": "fixedFee",
|
685
|
+
"type": "uint256"
|
686
|
+
}
|
687
|
+
],
|
688
|
+
"internalType": "struct Fee",
|
689
|
+
"name": "productFee",
|
690
|
+
"type": "tuple"
|
691
|
+
},
|
692
|
+
{
|
693
|
+
"components": [
|
694
|
+
{
|
695
|
+
"internalType": "UFixed",
|
696
|
+
"name": "fractionalFee",
|
697
|
+
"type": "uint256"
|
698
|
+
},
|
699
|
+
{
|
700
|
+
"internalType": "uint256",
|
701
|
+
"name": "fixedFee",
|
702
|
+
"type": "uint256"
|
703
|
+
}
|
704
|
+
],
|
705
|
+
"internalType": "struct Fee",
|
706
|
+
"name": "processingFee",
|
707
|
+
"type": "tuple"
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"components": [
|
711
|
+
{
|
712
|
+
"internalType": "UFixed",
|
713
|
+
"name": "fractionalFee",
|
714
|
+
"type": "uint256"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"internalType": "uint256",
|
718
|
+
"name": "fixedFee",
|
719
|
+
"type": "uint256"
|
720
|
+
}
|
721
|
+
],
|
722
|
+
"internalType": "struct Fee",
|
723
|
+
"name": "distributionFee",
|
724
|
+
"type": "tuple"
|
725
|
+
},
|
726
|
+
{
|
727
|
+
"components": [
|
728
|
+
{
|
729
|
+
"internalType": "UFixed",
|
730
|
+
"name": "fractionalFee",
|
731
|
+
"type": "uint256"
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"internalType": "uint256",
|
735
|
+
"name": "fixedFee",
|
736
|
+
"type": "uint256"
|
737
|
+
}
|
738
|
+
],
|
739
|
+
"internalType": "struct Fee",
|
740
|
+
"name": "minDistributionOwnerFee",
|
741
|
+
"type": "tuple"
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"components": [
|
745
|
+
{
|
746
|
+
"internalType": "UFixed",
|
747
|
+
"name": "fractionalFee",
|
748
|
+
"type": "uint256"
|
749
|
+
},
|
750
|
+
{
|
751
|
+
"internalType": "uint256",
|
752
|
+
"name": "fixedFee",
|
753
|
+
"type": "uint256"
|
754
|
+
}
|
755
|
+
],
|
756
|
+
"internalType": "struct Fee",
|
757
|
+
"name": "poolFee",
|
758
|
+
"type": "tuple"
|
759
|
+
},
|
760
|
+
{
|
761
|
+
"components": [
|
762
|
+
{
|
763
|
+
"internalType": "UFixed",
|
764
|
+
"name": "fractionalFee",
|
765
|
+
"type": "uint256"
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"internalType": "uint256",
|
769
|
+
"name": "fixedFee",
|
770
|
+
"type": "uint256"
|
771
|
+
}
|
772
|
+
],
|
773
|
+
"internalType": "struct Fee",
|
774
|
+
"name": "stakingFee",
|
775
|
+
"type": "tuple"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"components": [
|
779
|
+
{
|
780
|
+
"internalType": "UFixed",
|
781
|
+
"name": "fractionalFee",
|
782
|
+
"type": "uint256"
|
783
|
+
},
|
784
|
+
{
|
785
|
+
"internalType": "uint256",
|
786
|
+
"name": "fixedFee",
|
787
|
+
"type": "uint256"
|
788
|
+
}
|
789
|
+
],
|
790
|
+
"internalType": "struct Fee",
|
791
|
+
"name": "performanceFee",
|
792
|
+
"type": "tuple"
|
793
|
+
}
|
794
|
+
],
|
795
|
+
"internalType": "struct IComponents.ProductInfo",
|
796
|
+
"name": "poolInfo",
|
797
|
+
"type": "tuple"
|
798
|
+
}
|
799
|
+
],
|
800
|
+
"stateMutability": "view",
|
801
|
+
"type": "function"
|
802
|
+
},
|
572
803
|
{
|
573
804
|
"inputs": [],
|
574
805
|
"name": "getInstance",
|
@@ -660,85 +891,6 @@
|
|
660
891
|
"stateMutability": "view",
|
661
892
|
"type": "function"
|
662
893
|
},
|
663
|
-
{
|
664
|
-
"inputs": [],
|
665
|
-
"name": "getSetupInfo",
|
666
|
-
"outputs": [
|
667
|
-
{
|
668
|
-
"components": [
|
669
|
-
{
|
670
|
-
"internalType": "contract IERC20Metadata",
|
671
|
-
"name": "token",
|
672
|
-
"type": "address"
|
673
|
-
},
|
674
|
-
{
|
675
|
-
"internalType": "contract TokenHandler",
|
676
|
-
"name": "tokenHandler",
|
677
|
-
"type": "address"
|
678
|
-
},
|
679
|
-
{
|
680
|
-
"internalType": "NftId",
|
681
|
-
"name": "distributionNftId",
|
682
|
-
"type": "uint96"
|
683
|
-
},
|
684
|
-
{
|
685
|
-
"internalType": "NftId",
|
686
|
-
"name": "poolNftId",
|
687
|
-
"type": "uint96"
|
688
|
-
},
|
689
|
-
{
|
690
|
-
"components": [
|
691
|
-
{
|
692
|
-
"internalType": "UFixed",
|
693
|
-
"name": "fractionalFee",
|
694
|
-
"type": "uint256"
|
695
|
-
},
|
696
|
-
{
|
697
|
-
"internalType": "uint256",
|
698
|
-
"name": "fixedFee",
|
699
|
-
"type": "uint256"
|
700
|
-
}
|
701
|
-
],
|
702
|
-
"internalType": "struct Fee",
|
703
|
-
"name": "productFee",
|
704
|
-
"type": "tuple"
|
705
|
-
},
|
706
|
-
{
|
707
|
-
"components": [
|
708
|
-
{
|
709
|
-
"internalType": "UFixed",
|
710
|
-
"name": "fractionalFee",
|
711
|
-
"type": "uint256"
|
712
|
-
},
|
713
|
-
{
|
714
|
-
"internalType": "uint256",
|
715
|
-
"name": "fixedFee",
|
716
|
-
"type": "uint256"
|
717
|
-
}
|
718
|
-
],
|
719
|
-
"internalType": "struct Fee",
|
720
|
-
"name": "processingFee",
|
721
|
-
"type": "tuple"
|
722
|
-
},
|
723
|
-
{
|
724
|
-
"internalType": "bool",
|
725
|
-
"name": "isIntercepting",
|
726
|
-
"type": "bool"
|
727
|
-
},
|
728
|
-
{
|
729
|
-
"internalType": "address",
|
730
|
-
"name": "wallet",
|
731
|
-
"type": "address"
|
732
|
-
}
|
733
|
-
],
|
734
|
-
"internalType": "struct ISetup.ProductSetupInfo",
|
735
|
-
"name": "setupInfo",
|
736
|
-
"type": "tuple"
|
737
|
-
}
|
738
|
-
],
|
739
|
-
"stateMutability": "view",
|
740
|
-
"type": "function"
|
741
|
-
},
|
742
894
|
{
|
743
895
|
"inputs": [],
|
744
896
|
"name": "getToken",
|
@@ -780,6 +932,11 @@
|
|
780
932
|
},
|
781
933
|
{
|
782
934
|
"inputs": [
|
935
|
+
{
|
936
|
+
"internalType": "address",
|
937
|
+
"name": "authority",
|
938
|
+
"type": "address"
|
939
|
+
},
|
783
940
|
{
|
784
941
|
"internalType": "address",
|
785
942
|
"name": "registry",
|
@@ -787,7 +944,7 @@
|
|
787
944
|
},
|
788
945
|
{
|
789
946
|
"internalType": "NftId",
|
790
|
-
"name": "
|
947
|
+
"name": "parentNftId",
|
791
948
|
"type": "uint96"
|
792
949
|
},
|
793
950
|
{
|
@@ -819,6 +976,11 @@
|
|
819
976
|
"internalType": "bytes",
|
820
977
|
"name": "registryData",
|
821
978
|
"type": "bytes"
|
979
|
+
},
|
980
|
+
{
|
981
|
+
"internalType": "bytes",
|
982
|
+
"name": "componentData",
|
983
|
+
"type": "bytes"
|
822
984
|
}
|
823
985
|
],
|
824
986
|
"name": "initializeComponent",
|
@@ -833,6 +995,59 @@
|
|
833
995
|
"stateMutability": "nonpayable",
|
834
996
|
"type": "function"
|
835
997
|
},
|
998
|
+
{
|
999
|
+
"inputs": [
|
1000
|
+
{
|
1001
|
+
"internalType": "address",
|
1002
|
+
"name": "registry",
|
1003
|
+
"type": "address"
|
1004
|
+
},
|
1005
|
+
{
|
1006
|
+
"internalType": "NftId",
|
1007
|
+
"name": "instanceNftId",
|
1008
|
+
"type": "uint96"
|
1009
|
+
},
|
1010
|
+
{
|
1011
|
+
"internalType": "string",
|
1012
|
+
"name": "name",
|
1013
|
+
"type": "string"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"internalType": "address",
|
1017
|
+
"name": "token",
|
1018
|
+
"type": "address"
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"internalType": "ObjectType",
|
1022
|
+
"name": "componentType",
|
1023
|
+
"type": "uint8"
|
1024
|
+
},
|
1025
|
+
{
|
1026
|
+
"internalType": "bool",
|
1027
|
+
"name": "isInterceptor",
|
1028
|
+
"type": "bool"
|
1029
|
+
},
|
1030
|
+
{
|
1031
|
+
"internalType": "address",
|
1032
|
+
"name": "initialOwner",
|
1033
|
+
"type": "address"
|
1034
|
+
},
|
1035
|
+
{
|
1036
|
+
"internalType": "bytes",
|
1037
|
+
"name": "registryData",
|
1038
|
+
"type": "bytes"
|
1039
|
+
},
|
1040
|
+
{
|
1041
|
+
"internalType": "bytes",
|
1042
|
+
"name": "componentData",
|
1043
|
+
"type": "bytes"
|
1044
|
+
}
|
1045
|
+
],
|
1046
|
+
"name": "initializeInstanceLinkedComponent",
|
1047
|
+
"outputs": [],
|
1048
|
+
"stateMutability": "nonpayable",
|
1049
|
+
"type": "function"
|
1050
|
+
},
|
836
1051
|
{
|
837
1052
|
"inputs": [
|
838
1053
|
{
|
@@ -863,6 +1078,11 @@
|
|
863
1078
|
"name": "instanceNftId",
|
864
1079
|
"type": "uint96"
|
865
1080
|
},
|
1081
|
+
{
|
1082
|
+
"internalType": "address",
|
1083
|
+
"name": "initialOwner",
|
1084
|
+
"type": "address"
|
1085
|
+
},
|
866
1086
|
{
|
867
1087
|
"internalType": "string",
|
868
1088
|
"name": "name",
|
@@ -889,47 +1109,13 @@
|
|
889
1109
|
"type": "address"
|
890
1110
|
},
|
891
1111
|
{
|
892
|
-
"
|
893
|
-
|
894
|
-
|
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": "productFee",
|
906
|
-
"type": "tuple"
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"components": [
|
910
|
-
{
|
911
|
-
"internalType": "UFixed",
|
912
|
-
"name": "fractionalFee",
|
913
|
-
"type": "uint256"
|
914
|
-
},
|
915
|
-
{
|
916
|
-
"internalType": "uint256",
|
917
|
-
"name": "fixedFee",
|
918
|
-
"type": "uint256"
|
919
|
-
}
|
920
|
-
],
|
921
|
-
"internalType": "struct Fee",
|
922
|
-
"name": "processingFee",
|
923
|
-
"type": "tuple"
|
924
|
-
},
|
925
|
-
{
|
926
|
-
"internalType": "address",
|
927
|
-
"name": "initialOwner",
|
928
|
-
"type": "address"
|
1112
|
+
"internalType": "bytes",
|
1113
|
+
"name": "registryData",
|
1114
|
+
"type": "bytes"
|
929
1115
|
},
|
930
1116
|
{
|
931
1117
|
"internalType": "bytes",
|
932
|
-
"name": "
|
1118
|
+
"name": "componentData",
|
933
1119
|
"type": "bytes"
|
934
1120
|
}
|
935
1121
|
],
|
@@ -1016,28 +1202,28 @@
|
|
1016
1202
|
"type": "function"
|
1017
1203
|
},
|
1018
1204
|
{
|
1019
|
-
"inputs": [
|
1020
|
-
|
1021
|
-
"internalType": "address",
|
1022
|
-
"name": "nftOwnableAddress",
|
1023
|
-
"type": "address"
|
1024
|
-
}
|
1025
|
-
],
|
1026
|
-
"name": "linkToNftOwnable",
|
1205
|
+
"inputs": [],
|
1206
|
+
"name": "isRegistered",
|
1027
1207
|
"outputs": [
|
1028
1208
|
{
|
1029
|
-
"internalType": "
|
1209
|
+
"internalType": "bool",
|
1030
1210
|
"name": "",
|
1031
|
-
"type": "
|
1211
|
+
"type": "bool"
|
1032
1212
|
}
|
1033
1213
|
],
|
1034
|
-
"stateMutability": "
|
1214
|
+
"stateMutability": "view",
|
1035
1215
|
"type": "function"
|
1036
1216
|
},
|
1037
1217
|
{
|
1038
1218
|
"inputs": [],
|
1039
1219
|
"name": "linkToRegisteredNftId",
|
1040
|
-
"outputs": [
|
1220
|
+
"outputs": [
|
1221
|
+
{
|
1222
|
+
"internalType": "NftId",
|
1223
|
+
"name": "nftId",
|
1224
|
+
"type": "uint96"
|
1225
|
+
}
|
1226
|
+
],
|
1041
1227
|
"stateMutability": "nonpayable",
|
1042
1228
|
"type": "function"
|
1043
1229
|
},
|
@@ -1089,6 +1275,13 @@
|
|
1089
1275
|
"stateMutability": "nonpayable",
|
1090
1276
|
"type": "function"
|
1091
1277
|
},
|
1278
|
+
{
|
1279
|
+
"inputs": [],
|
1280
|
+
"name": "register",
|
1281
|
+
"outputs": [],
|
1282
|
+
"stateMutability": "nonpayable",
|
1283
|
+
"type": "function"
|
1284
|
+
},
|
1092
1285
|
{
|
1093
1286
|
"inputs": [
|
1094
1287
|
{
|
@@ -1157,19 +1350,6 @@
|
|
1157
1350
|
"stateMutability": "nonpayable",
|
1158
1351
|
"type": "function"
|
1159
1352
|
},
|
1160
|
-
{
|
1161
|
-
"inputs": [
|
1162
|
-
{
|
1163
|
-
"internalType": "NftId",
|
1164
|
-
"name": "productNftId",
|
1165
|
-
"type": "uint96"
|
1166
|
-
}
|
1167
|
-
],
|
1168
|
-
"name": "setProductNftId",
|
1169
|
-
"outputs": [],
|
1170
|
-
"stateMutability": "nonpayable",
|
1171
|
-
"type": "function"
|
1172
|
-
},
|
1173
1353
|
{
|
1174
1354
|
"inputs": [
|
1175
1355
|
{
|