@etherisc/gif-next 0.0.2-d5fac82-078 → 0.0.2-d62f29e-108
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +49 -4
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1489 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +172 -408
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +272 -335
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +75 -88
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +169 -263
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +186 -94
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +71 -72
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +190 -49
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +81 -141
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1158 -278
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +592 -311
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +271 -109
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +65 -58
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1113 -353
- 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/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +21 -0
- 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/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1126 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -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 +1018 -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/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1395 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +395 -228
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +121 -66
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +204 -32
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +180 -366
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +340 -209
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +220 -465
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +395 -445
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +51 -84
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +88 -173
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +56 -53
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1243 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +234 -202
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +79 -72
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +25 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +134 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +217 -73
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +83 -44
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -183
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +15 -57
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +241 -307
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +67 -108
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +184 -235
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -73
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +336 -352
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +695 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +702 -0
- 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 +107 -33
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +42 -73
- 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 +360 -48
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1557 -116
- 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/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -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/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +99 -159
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1236 -206
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +804 -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/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +76 -107
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +12 -16
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
- 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/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +940 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.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/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 +362 -7
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- 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 +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1975 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +765 -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 +2242 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -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 +97 -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 +4 -4
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +39 -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 +149 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
- 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 +4 -4
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -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 +36 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +58 -2
- 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 +21 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/authorization/AccessAdmin.sol +591 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +217 -0
- package/contracts/authorization/IAccess.sol +48 -0
- package/contracts/authorization/IAccessAdmin.sol +136 -0
- package/contracts/authorization/IAuthorization.sol +54 -0
- package/contracts/authorization/IModuleAuthorization.sol +21 -0
- package/contracts/authorization/IServiceAuthorization.sol +38 -0
- package/contracts/authorization/ModuleAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +90 -0
- package/contracts/distribution/BasicDistribution.sol +138 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +162 -152
- package/contracts/distribution/DistributionService.sol +129 -144
- package/contracts/distribution/DistributionServiceManager.sol +2 -5
- package/contracts/distribution/IDistributionComponent.sol +28 -47
- package/contracts/distribution/IDistributionService.sol +24 -10
- package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
- package/contracts/instance/IInstance.sol +24 -38
- package/contracts/instance/IInstanceService.sol +44 -25
- package/contracts/instance/Instance.sol +111 -112
- package/contracts/instance/InstanceAdmin.sol +213 -282
- package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
- package/contracts/instance/InstanceReader.sol +114 -52
- package/contracts/instance/InstanceService.sol +280 -111
- package/contracts/instance/InstanceServiceManager.sol +2 -6
- package/contracts/instance/InstanceStore.sol +142 -66
- 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/ObjectLifecycle.sol +111 -0
- package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
- package/contracts/instance/module/IAccess.sol +2 -0
- package/contracts/instance/module/IBundle.sol +1 -4
- package/contracts/instance/module/IComponents.sol +15 -10
- package/contracts/instance/module/IDistribution.sol +0 -1
- package/contracts/instance/module/IPolicy.sol +30 -23
- package/contracts/mock/Dip.sol +26 -0
- package/contracts/oracle/BasicOracle.sol +48 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +167 -0
- package/contracts/oracle/OracleService.sol +279 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +166 -0
- package/contracts/pool/BasicPoolAuthorization.sol +58 -0
- package/contracts/pool/BundleService.sol +254 -200
- package/contracts/pool/BundleServiceManager.sol +2 -5
- package/contracts/pool/IBundleService.sol +35 -19
- package/contracts/pool/IPoolComponent.sol +10 -66
- package/contracts/pool/IPoolService.sol +79 -33
- package/contracts/pool/Pool.sol +168 -144
- package/contracts/pool/PoolService.sol +317 -212
- package/contracts/pool/PoolServiceManager.sol +2 -5
- package/contracts/product/ApplicationService.sol +139 -77
- package/contracts/product/ApplicationServiceManager.sol +2 -2
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +43 -0
- package/contracts/product/ClaimService.sol +134 -90
- package/contracts/product/ClaimServiceManager.sol +2 -2
- package/contracts/product/IApplicationService.sol +2 -1
- package/contracts/product/IClaimService.sol +32 -3
- package/contracts/product/IPolicyService.sol +29 -36
- package/contracts/product/IPricingService.sol +10 -8
- package/contracts/product/IProductComponent.sol +10 -12
- package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -9
- package/contracts/product/PolicyService.sol +385 -189
- package/contracts/product/PolicyServiceManager.sol +2 -5
- package/contracts/product/PricingService.sol +97 -72
- package/contracts/product/PricingServiceManager.sol +2 -5
- package/contracts/product/Product.sol +176 -130
- package/contracts/product/RiskService.sol +97 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +8 -1
- package/contracts/registry/IRegistry.sol +41 -19
- package/contracts/registry/IRegistryService.sol +15 -5
- package/contracts/registry/Registry.sol +222 -111
- package/contracts/registry/RegistryAdmin.sol +308 -77
- package/contracts/registry/RegistryService.sol +52 -32
- package/contracts/registry/RegistryServiceManager.sol +4 -11
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseRegistry.sol +485 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
- package/contracts/registry/TokenRegistry.sol +261 -64
- package/contracts/shared/Component.sol +141 -144
- package/contracts/shared/ComponentService.sol +590 -90
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/IComponent.sol +21 -41
- package/contracts/shared/IComponentService.sol +108 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
- package/contracts/shared/INftOwnable.sol +1 -1
- package/contracts/shared/IPolicyHolder.sol +6 -1
- package/contracts/shared/IService.sol +9 -2
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +2 -2
- package/contracts/shared/InstanceLinkedComponent.sol +172 -0
- package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
- package/contracts/shared/Lifecycle.sol +77 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +6 -16
- package/contracts/shared/PolicyHolder.sol +22 -17
- package/contracts/shared/Registerable.sol +2 -2
- package/contracts/shared/Service.sol +32 -22
- package/contracts/shared/TokenHandler.sol +112 -8
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +105 -47
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +498 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +50 -0
- package/contracts/staking/StakingReader.sol +183 -0
- package/contracts/staking/StakingService.sol +283 -45
- package/contracts/staking/StakingServiceManager.sol +9 -5
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +29 -3
- package/contracts/type/Blocknumber.sol +26 -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 +175 -62
- package/contracts/type/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +104 -69
- package/contracts/type/Seconds.sol +48 -1
- package/contracts/type/Selector.sol +102 -0
- package/contracts/type/StateId.sol +28 -2
- package/contracts/type/String.sol +53 -0
- package/contracts/type/Timestamp.sol +17 -3
- package/contracts/type/UFixed.sol +34 -9
- package/contracts/type/Version.sol +4 -2
- package/contracts/{shared → upgradeability}/ProxyManager.sol +5 -7
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/package.json +8 -5
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -188
- 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/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
- 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/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -883
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -711
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1003
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1715
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1728
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1747
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1765
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1594
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -630
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -320
- package/contracts/instance/base/Lifecycle.sol +0 -121
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/product/ProductService.sol +0 -212
- package/contracts/product/ProductServiceManager.sol +0 -42
- package/contracts/registry/ReleaseManager.sol +0 -463
- package/contracts/shared/AccessManagerCustom.sol +0 -736
- package/contracts/shared/AccessManagerExtended.sol +0 -469
- package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
- package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -125
- package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/shared/IAccessManagerExtended.sol +0 -74
- package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -17
- /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
- /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -42,25 +42,8 @@
|
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
44
|
{
|
45
|
-
"inputs": [
|
46
|
-
|
47
|
-
"internalType": "address",
|
48
|
-
"name": "target",
|
49
|
-
"type": "address"
|
50
|
-
}
|
51
|
-
],
|
52
|
-
"name": "AddressEmptyCode",
|
53
|
-
"type": "error"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"inputs": [
|
57
|
-
{
|
58
|
-
"internalType": "address",
|
59
|
-
"name": "account",
|
60
|
-
"type": "address"
|
61
|
-
}
|
62
|
-
],
|
63
|
-
"name": "AddressInsufficientBalance",
|
45
|
+
"inputs": [],
|
46
|
+
"name": "ErrorComponentNameLengthZero",
|
64
47
|
"type": "error"
|
65
48
|
},
|
66
49
|
{
|
@@ -86,19 +69,13 @@
|
|
86
69
|
"type": "error"
|
87
70
|
},
|
88
71
|
{
|
89
|
-
"inputs": [
|
90
|
-
|
91
|
-
"internalType": "address",
|
92
|
-
"name": "caller",
|
93
|
-
"type": "address"
|
94
|
-
}
|
95
|
-
],
|
96
|
-
"name": "ErrorComponentNotProductService",
|
72
|
+
"inputs": [],
|
73
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
97
74
|
"type": "error"
|
98
75
|
},
|
99
76
|
{
|
100
77
|
"inputs": [],
|
101
|
-
"name": "
|
78
|
+
"name": "ErrorComponentTokenAddressZero",
|
102
79
|
"type": "error"
|
103
80
|
},
|
104
81
|
{
|
@@ -111,32 +88,6 @@
|
|
111
88
|
"name": "ErrorComponentWalletAddressZero",
|
112
89
|
"type": "error"
|
113
90
|
},
|
114
|
-
{
|
115
|
-
"inputs": [
|
116
|
-
{
|
117
|
-
"internalType": "address",
|
118
|
-
"name": "oldWallet",
|
119
|
-
"type": "address"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"internalType": "address",
|
123
|
-
"name": "newWallet",
|
124
|
-
"type": "address"
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"internalType": "uint256",
|
128
|
-
"name": "allowance",
|
129
|
-
"type": "uint256"
|
130
|
-
},
|
131
|
-
{
|
132
|
-
"internalType": "uint256",
|
133
|
-
"name": "balance",
|
134
|
-
"type": "uint256"
|
135
|
-
}
|
136
|
-
],
|
137
|
-
"name": "ErrorComponentWalletAllowanceTooSmall",
|
138
|
-
"type": "error"
|
139
|
-
},
|
140
91
|
{
|
141
92
|
"inputs": [],
|
142
93
|
"name": "ErrorComponentWalletNotComponent",
|
@@ -191,11 +142,6 @@
|
|
191
142
|
"name": "ErrorNotRegistry",
|
192
143
|
"type": "error"
|
193
144
|
},
|
194
|
-
{
|
195
|
-
"inputs": [],
|
196
|
-
"name": "FailedInnerCall",
|
197
|
-
"type": "error"
|
198
|
-
},
|
199
145
|
{
|
200
146
|
"inputs": [],
|
201
147
|
"name": "InvalidInitialization",
|
@@ -206,17 +152,6 @@
|
|
206
152
|
"name": "NotInitializing",
|
207
153
|
"type": "error"
|
208
154
|
},
|
209
|
-
{
|
210
|
-
"inputs": [
|
211
|
-
{
|
212
|
-
"internalType": "address",
|
213
|
-
"name": "token",
|
214
|
-
"type": "address"
|
215
|
-
}
|
216
|
-
],
|
217
|
-
"name": "SafeERC20FailedOperation",
|
218
|
-
"type": "error"
|
219
|
-
},
|
220
155
|
{
|
221
156
|
"anonymous": false,
|
222
157
|
"inputs": [
|
@@ -248,9 +183,15 @@
|
|
248
183
|
"inputs": [
|
249
184
|
{
|
250
185
|
"indexed": false,
|
251
|
-
"internalType": "
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "token",
|
188
|
+
"type": "address"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"indexed": false,
|
192
|
+
"internalType": "Amount",
|
252
193
|
"name": "limit",
|
253
|
-
"type": "
|
194
|
+
"type": "uint96"
|
254
195
|
}
|
255
196
|
],
|
256
197
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -313,6 +254,19 @@
|
|
313
254
|
"stateMutability": "view",
|
314
255
|
"type": "function"
|
315
256
|
},
|
257
|
+
{
|
258
|
+
"inputs": [],
|
259
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
260
|
+
"outputs": [
|
261
|
+
{
|
262
|
+
"internalType": "bytes32",
|
263
|
+
"name": "",
|
264
|
+
"type": "bytes32"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"stateMutability": "view",
|
268
|
+
"type": "function"
|
269
|
+
},
|
316
270
|
{
|
317
271
|
"inputs": [],
|
318
272
|
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
@@ -355,9 +309,27 @@
|
|
355
309
|
{
|
356
310
|
"inputs": [
|
357
311
|
{
|
358
|
-
"internalType": "
|
312
|
+
"internalType": "address",
|
313
|
+
"name": "token",
|
314
|
+
"type": "address"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"internalType": "Amount",
|
359
318
|
"name": "spendingLimitAmount",
|
360
|
-
"type": "
|
319
|
+
"type": "uint96"
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"name": "approveTokenHandler",
|
323
|
+
"outputs": [],
|
324
|
+
"stateMutability": "nonpayable",
|
325
|
+
"type": "function"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"inputs": [
|
329
|
+
{
|
330
|
+
"internalType": "Amount",
|
331
|
+
"name": "spendingLimitAmount",
|
332
|
+
"type": "uint96"
|
361
333
|
}
|
362
334
|
],
|
363
335
|
"name": "approveTokenHandler",
|
@@ -387,17 +359,17 @@
|
|
387
359
|
},
|
388
360
|
{
|
389
361
|
"internalType": "RiskId",
|
390
|
-
"name": "
|
362
|
+
"name": "",
|
391
363
|
"type": "bytes8"
|
392
364
|
},
|
393
365
|
{
|
394
366
|
"internalType": "Seconds",
|
395
|
-
"name": "
|
367
|
+
"name": "",
|
396
368
|
"type": "uint40"
|
397
369
|
},
|
398
370
|
{
|
399
371
|
"internalType": "bytes",
|
400
|
-
"name": "
|
372
|
+
"name": "",
|
401
373
|
"type": "bytes"
|
402
374
|
}
|
403
375
|
],
|
@@ -456,6 +428,19 @@
|
|
456
428
|
"stateMutability": "view",
|
457
429
|
"type": "function"
|
458
430
|
},
|
431
|
+
{
|
432
|
+
"inputs": [],
|
433
|
+
"name": "getAuthorization",
|
434
|
+
"outputs": [
|
435
|
+
{
|
436
|
+
"internalType": "contract IAuthorization",
|
437
|
+
"name": "authorization",
|
438
|
+
"type": "address"
|
439
|
+
}
|
440
|
+
],
|
441
|
+
"stateMutability": "view",
|
442
|
+
"type": "function"
|
443
|
+
},
|
459
444
|
{
|
460
445
|
"inputs": [],
|
461
446
|
"name": "getComponentInfo",
|
@@ -467,6 +452,11 @@
|
|
467
452
|
"name": "name",
|
468
453
|
"type": "string"
|
469
454
|
},
|
455
|
+
{
|
456
|
+
"internalType": "NftId",
|
457
|
+
"name": "productNftId",
|
458
|
+
"type": "uint96"
|
459
|
+
},
|
470
460
|
{
|
471
461
|
"internalType": "contract IERC20Metadata",
|
472
462
|
"name": "token",
|
@@ -482,16 +472,6 @@
|
|
482
472
|
"name": "wallet",
|
483
473
|
"type": "address"
|
484
474
|
},
|
485
|
-
{
|
486
|
-
"internalType": "Amount",
|
487
|
-
"name": "balanceAmount",
|
488
|
-
"type": "uint96"
|
489
|
-
},
|
490
|
-
{
|
491
|
-
"internalType": "Amount",
|
492
|
-
"name": "feeAmount",
|
493
|
-
"type": "uint96"
|
494
|
-
},
|
495
475
|
{
|
496
476
|
"internalType": "bytes",
|
497
477
|
"name": "data",
|
@@ -519,6 +499,51 @@
|
|
519
499
|
"stateMutability": "view",
|
520
500
|
"type": "function"
|
521
501
|
},
|
502
|
+
{
|
503
|
+
"inputs": [],
|
504
|
+
"name": "getInitialComponentInfo",
|
505
|
+
"outputs": [
|
506
|
+
{
|
507
|
+
"components": [
|
508
|
+
{
|
509
|
+
"internalType": "string",
|
510
|
+
"name": "name",
|
511
|
+
"type": "string"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"internalType": "NftId",
|
515
|
+
"name": "productNftId",
|
516
|
+
"type": "uint96"
|
517
|
+
},
|
518
|
+
{
|
519
|
+
"internalType": "contract IERC20Metadata",
|
520
|
+
"name": "token",
|
521
|
+
"type": "address"
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"internalType": "contract TokenHandler",
|
525
|
+
"name": "tokenHandler",
|
526
|
+
"type": "address"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"internalType": "address",
|
530
|
+
"name": "wallet",
|
531
|
+
"type": "address"
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"internalType": "bytes",
|
535
|
+
"name": "data",
|
536
|
+
"type": "bytes"
|
537
|
+
}
|
538
|
+
],
|
539
|
+
"internalType": "struct IComponents.ComponentInfo",
|
540
|
+
"name": "info",
|
541
|
+
"type": "tuple"
|
542
|
+
}
|
543
|
+
],
|
544
|
+
"stateMutability": "view",
|
545
|
+
"type": "function"
|
546
|
+
},
|
522
547
|
{
|
523
548
|
"inputs": [],
|
524
549
|
"name": "getInitialInfo",
|
@@ -571,111 +596,10 @@
|
|
571
596
|
},
|
572
597
|
{
|
573
598
|
"inputs": [],
|
574
|
-
"name": "
|
575
|
-
"outputs": [
|
576
|
-
{
|
577
|
-
"internalType": "contract IInstance",
|
578
|
-
"name": "instance",
|
579
|
-
"type": "address"
|
580
|
-
}
|
581
|
-
],
|
582
|
-
"stateMutability": "view",
|
583
|
-
"type": "function"
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"inputs": [],
|
587
|
-
"name": "getName",
|
588
|
-
"outputs": [
|
589
|
-
{
|
590
|
-
"internalType": "string",
|
591
|
-
"name": "name",
|
592
|
-
"type": "string"
|
593
|
-
}
|
594
|
-
],
|
595
|
-
"stateMutability": "view",
|
596
|
-
"type": "function"
|
597
|
-
},
|
598
|
-
{
|
599
|
-
"inputs": [],
|
600
|
-
"name": "getNftId",
|
601
|
-
"outputs": [
|
602
|
-
{
|
603
|
-
"internalType": "NftId",
|
604
|
-
"name": "",
|
605
|
-
"type": "uint96"
|
606
|
-
}
|
607
|
-
],
|
608
|
-
"stateMutability": "view",
|
609
|
-
"type": "function"
|
610
|
-
},
|
611
|
-
{
|
612
|
-
"inputs": [],
|
613
|
-
"name": "getOwner",
|
614
|
-
"outputs": [
|
615
|
-
{
|
616
|
-
"internalType": "address",
|
617
|
-
"name": "",
|
618
|
-
"type": "address"
|
619
|
-
}
|
620
|
-
],
|
621
|
-
"stateMutability": "view",
|
622
|
-
"type": "function"
|
623
|
-
},
|
624
|
-
{
|
625
|
-
"inputs": [],
|
626
|
-
"name": "getPoolNftId",
|
627
|
-
"outputs": [
|
628
|
-
{
|
629
|
-
"internalType": "NftId",
|
630
|
-
"name": "poolNftId",
|
631
|
-
"type": "uint96"
|
632
|
-
}
|
633
|
-
],
|
634
|
-
"stateMutability": "view",
|
635
|
-
"type": "function"
|
636
|
-
},
|
637
|
-
{
|
638
|
-
"inputs": [],
|
639
|
-
"name": "getProductNftId",
|
640
|
-
"outputs": [
|
641
|
-
{
|
642
|
-
"internalType": "NftId",
|
643
|
-
"name": "productNftId",
|
644
|
-
"type": "uint96"
|
645
|
-
}
|
646
|
-
],
|
647
|
-
"stateMutability": "view",
|
648
|
-
"type": "function"
|
649
|
-
},
|
650
|
-
{
|
651
|
-
"inputs": [],
|
652
|
-
"name": "getRegistry",
|
653
|
-
"outputs": [
|
654
|
-
{
|
655
|
-
"internalType": "contract IRegistry",
|
656
|
-
"name": "",
|
657
|
-
"type": "address"
|
658
|
-
}
|
659
|
-
],
|
660
|
-
"stateMutability": "view",
|
661
|
-
"type": "function"
|
662
|
-
},
|
663
|
-
{
|
664
|
-
"inputs": [],
|
665
|
-
"name": "getSetupInfo",
|
599
|
+
"name": "getInitialProductInfo",
|
666
600
|
"outputs": [
|
667
601
|
{
|
668
602
|
"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
603
|
{
|
680
604
|
"internalType": "NftId",
|
681
605
|
"name": "distributionNftId",
|
@@ -721,24 +645,190 @@
|
|
721
645
|
"type": "tuple"
|
722
646
|
},
|
723
647
|
{
|
724
|
-
"
|
725
|
-
|
726
|
-
|
648
|
+
"components": [
|
649
|
+
{
|
650
|
+
"internalType": "UFixed",
|
651
|
+
"name": "fractionalFee",
|
652
|
+
"type": "uint256"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"internalType": "uint256",
|
656
|
+
"name": "fixedFee",
|
657
|
+
"type": "uint256"
|
658
|
+
}
|
659
|
+
],
|
660
|
+
"internalType": "struct Fee",
|
661
|
+
"name": "distributionFee",
|
662
|
+
"type": "tuple"
|
727
663
|
},
|
728
664
|
{
|
729
|
-
"
|
730
|
-
|
731
|
-
|
665
|
+
"components": [
|
666
|
+
{
|
667
|
+
"internalType": "UFixed",
|
668
|
+
"name": "fractionalFee",
|
669
|
+
"type": "uint256"
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"internalType": "uint256",
|
673
|
+
"name": "fixedFee",
|
674
|
+
"type": "uint256"
|
675
|
+
}
|
676
|
+
],
|
677
|
+
"internalType": "struct Fee",
|
678
|
+
"name": "minDistributionOwnerFee",
|
679
|
+
"type": "tuple"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"components": [
|
683
|
+
{
|
684
|
+
"internalType": "UFixed",
|
685
|
+
"name": "fractionalFee",
|
686
|
+
"type": "uint256"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"internalType": "uint256",
|
690
|
+
"name": "fixedFee",
|
691
|
+
"type": "uint256"
|
692
|
+
}
|
693
|
+
],
|
694
|
+
"internalType": "struct Fee",
|
695
|
+
"name": "poolFee",
|
696
|
+
"type": "tuple"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"components": [
|
700
|
+
{
|
701
|
+
"internalType": "UFixed",
|
702
|
+
"name": "fractionalFee",
|
703
|
+
"type": "uint256"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"internalType": "uint256",
|
707
|
+
"name": "fixedFee",
|
708
|
+
"type": "uint256"
|
709
|
+
}
|
710
|
+
],
|
711
|
+
"internalType": "struct Fee",
|
712
|
+
"name": "stakingFee",
|
713
|
+
"type": "tuple"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"components": [
|
717
|
+
{
|
718
|
+
"internalType": "UFixed",
|
719
|
+
"name": "fractionalFee",
|
720
|
+
"type": "uint256"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"internalType": "uint256",
|
724
|
+
"name": "fixedFee",
|
725
|
+
"type": "uint256"
|
726
|
+
}
|
727
|
+
],
|
728
|
+
"internalType": "struct Fee",
|
729
|
+
"name": "performanceFee",
|
730
|
+
"type": "tuple"
|
732
731
|
}
|
733
732
|
],
|
734
|
-
"internalType": "struct
|
735
|
-
"name": "
|
733
|
+
"internalType": "struct IComponents.ProductInfo",
|
734
|
+
"name": "poolInfo",
|
736
735
|
"type": "tuple"
|
737
736
|
}
|
738
737
|
],
|
739
738
|
"stateMutability": "view",
|
740
739
|
"type": "function"
|
741
740
|
},
|
741
|
+
{
|
742
|
+
"inputs": [],
|
743
|
+
"name": "getInstance",
|
744
|
+
"outputs": [
|
745
|
+
{
|
746
|
+
"internalType": "contract IInstance",
|
747
|
+
"name": "instance",
|
748
|
+
"type": "address"
|
749
|
+
}
|
750
|
+
],
|
751
|
+
"stateMutability": "view",
|
752
|
+
"type": "function"
|
753
|
+
},
|
754
|
+
{
|
755
|
+
"inputs": [],
|
756
|
+
"name": "getName",
|
757
|
+
"outputs": [
|
758
|
+
{
|
759
|
+
"internalType": "string",
|
760
|
+
"name": "name",
|
761
|
+
"type": "string"
|
762
|
+
}
|
763
|
+
],
|
764
|
+
"stateMutability": "view",
|
765
|
+
"type": "function"
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"inputs": [],
|
769
|
+
"name": "getNftId",
|
770
|
+
"outputs": [
|
771
|
+
{
|
772
|
+
"internalType": "NftId",
|
773
|
+
"name": "",
|
774
|
+
"type": "uint96"
|
775
|
+
}
|
776
|
+
],
|
777
|
+
"stateMutability": "view",
|
778
|
+
"type": "function"
|
779
|
+
},
|
780
|
+
{
|
781
|
+
"inputs": [],
|
782
|
+
"name": "getOwner",
|
783
|
+
"outputs": [
|
784
|
+
{
|
785
|
+
"internalType": "address",
|
786
|
+
"name": "",
|
787
|
+
"type": "address"
|
788
|
+
}
|
789
|
+
],
|
790
|
+
"stateMutability": "view",
|
791
|
+
"type": "function"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"inputs": [],
|
795
|
+
"name": "getPoolNftId",
|
796
|
+
"outputs": [
|
797
|
+
{
|
798
|
+
"internalType": "NftId",
|
799
|
+
"name": "poolNftId",
|
800
|
+
"type": "uint96"
|
801
|
+
}
|
802
|
+
],
|
803
|
+
"stateMutability": "view",
|
804
|
+
"type": "function"
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"inputs": [],
|
808
|
+
"name": "getProductNftId",
|
809
|
+
"outputs": [
|
810
|
+
{
|
811
|
+
"internalType": "NftId",
|
812
|
+
"name": "productNftId",
|
813
|
+
"type": "uint96"
|
814
|
+
}
|
815
|
+
],
|
816
|
+
"stateMutability": "view",
|
817
|
+
"type": "function"
|
818
|
+
},
|
819
|
+
{
|
820
|
+
"inputs": [],
|
821
|
+
"name": "getRegistry",
|
822
|
+
"outputs": [
|
823
|
+
{
|
824
|
+
"internalType": "contract IRegistry",
|
825
|
+
"name": "",
|
826
|
+
"type": "address"
|
827
|
+
}
|
828
|
+
],
|
829
|
+
"stateMutability": "view",
|
830
|
+
"type": "function"
|
831
|
+
},
|
742
832
|
{
|
743
833
|
"inputs": [],
|
744
834
|
"name": "getToken",
|
@@ -780,6 +870,11 @@
|
|
780
870
|
},
|
781
871
|
{
|
782
872
|
"inputs": [
|
873
|
+
{
|
874
|
+
"internalType": "address",
|
875
|
+
"name": "authority",
|
876
|
+
"type": "address"
|
877
|
+
},
|
783
878
|
{
|
784
879
|
"internalType": "address",
|
785
880
|
"name": "registry",
|
@@ -787,7 +882,7 @@
|
|
787
882
|
},
|
788
883
|
{
|
789
884
|
"internalType": "NftId",
|
790
|
-
"name": "
|
885
|
+
"name": "parentNftId",
|
791
886
|
"type": "uint96"
|
792
887
|
},
|
793
888
|
{
|
@@ -819,6 +914,11 @@
|
|
819
914
|
"internalType": "bytes",
|
820
915
|
"name": "registryData",
|
821
916
|
"type": "bytes"
|
917
|
+
},
|
918
|
+
{
|
919
|
+
"internalType": "bytes",
|
920
|
+
"name": "componentData",
|
921
|
+
"type": "bytes"
|
822
922
|
}
|
823
923
|
],
|
824
924
|
"name": "initializeComponent",
|
@@ -851,93 +951,6 @@
|
|
851
951
|
"stateMutability": "nonpayable",
|
852
952
|
"type": "function"
|
853
953
|
},
|
854
|
-
{
|
855
|
-
"inputs": [
|
856
|
-
{
|
857
|
-
"internalType": "address",
|
858
|
-
"name": "registry",
|
859
|
-
"type": "address"
|
860
|
-
},
|
861
|
-
{
|
862
|
-
"internalType": "NftId",
|
863
|
-
"name": "instanceNftId",
|
864
|
-
"type": "uint96"
|
865
|
-
},
|
866
|
-
{
|
867
|
-
"internalType": "string",
|
868
|
-
"name": "name",
|
869
|
-
"type": "string"
|
870
|
-
},
|
871
|
-
{
|
872
|
-
"internalType": "address",
|
873
|
-
"name": "token",
|
874
|
-
"type": "address"
|
875
|
-
},
|
876
|
-
{
|
877
|
-
"internalType": "bool",
|
878
|
-
"name": "isInterceptor",
|
879
|
-
"type": "bool"
|
880
|
-
},
|
881
|
-
{
|
882
|
-
"internalType": "address",
|
883
|
-
"name": "pool",
|
884
|
-
"type": "address"
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"internalType": "address",
|
888
|
-
"name": "distribution",
|
889
|
-
"type": "address"
|
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": "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"
|
929
|
-
},
|
930
|
-
{
|
931
|
-
"internalType": "bytes",
|
932
|
-
"name": "registryData",
|
933
|
-
"type": "bytes"
|
934
|
-
}
|
935
|
-
],
|
936
|
-
"name": "initializeProduct",
|
937
|
-
"outputs": [],
|
938
|
-
"stateMutability": "nonpayable",
|
939
|
-
"type": "function"
|
940
|
-
},
|
941
954
|
{
|
942
955
|
"inputs": [
|
943
956
|
{
|
@@ -1016,28 +1029,28 @@
|
|
1016
1029
|
"type": "function"
|
1017
1030
|
},
|
1018
1031
|
{
|
1019
|
-
"inputs": [
|
1020
|
-
|
1021
|
-
"internalType": "address",
|
1022
|
-
"name": "nftOwnableAddress",
|
1023
|
-
"type": "address"
|
1024
|
-
}
|
1025
|
-
],
|
1026
|
-
"name": "linkToNftOwnable",
|
1032
|
+
"inputs": [],
|
1033
|
+
"name": "isRegistered",
|
1027
1034
|
"outputs": [
|
1028
1035
|
{
|
1029
|
-
"internalType": "
|
1036
|
+
"internalType": "bool",
|
1030
1037
|
"name": "",
|
1031
|
-
"type": "
|
1038
|
+
"type": "bool"
|
1032
1039
|
}
|
1033
1040
|
],
|
1034
|
-
"stateMutability": "
|
1041
|
+
"stateMutability": "view",
|
1035
1042
|
"type": "function"
|
1036
1043
|
},
|
1037
1044
|
{
|
1038
1045
|
"inputs": [],
|
1039
1046
|
"name": "linkToRegisteredNftId",
|
1040
|
-
"outputs": [
|
1047
|
+
"outputs": [
|
1048
|
+
{
|
1049
|
+
"internalType": "NftId",
|
1050
|
+
"name": "nftId",
|
1051
|
+
"type": "uint96"
|
1052
|
+
}
|
1053
|
+
],
|
1041
1054
|
"stateMutability": "nonpayable",
|
1042
1055
|
"type": "function"
|
1043
1056
|
},
|
@@ -1089,6 +1102,13 @@
|
|
1089
1102
|
"stateMutability": "nonpayable",
|
1090
1103
|
"type": "function"
|
1091
1104
|
},
|
1105
|
+
{
|
1106
|
+
"inputs": [],
|
1107
|
+
"name": "register",
|
1108
|
+
"outputs": [],
|
1109
|
+
"stateMutability": "nonpayable",
|
1110
|
+
"type": "function"
|
1111
|
+
},
|
1092
1112
|
{
|
1093
1113
|
"inputs": [
|
1094
1114
|
{
|
@@ -1115,61 +1135,6 @@
|
|
1115
1135
|
"stateMutability": "nonpayable",
|
1116
1136
|
"type": "function"
|
1117
1137
|
},
|
1118
|
-
{
|
1119
|
-
"inputs": [
|
1120
|
-
{
|
1121
|
-
"components": [
|
1122
|
-
{
|
1123
|
-
"internalType": "UFixed",
|
1124
|
-
"name": "fractionalFee",
|
1125
|
-
"type": "uint256"
|
1126
|
-
},
|
1127
|
-
{
|
1128
|
-
"internalType": "uint256",
|
1129
|
-
"name": "fixedFee",
|
1130
|
-
"type": "uint256"
|
1131
|
-
}
|
1132
|
-
],
|
1133
|
-
"internalType": "struct Fee",
|
1134
|
-
"name": "productFee",
|
1135
|
-
"type": "tuple"
|
1136
|
-
},
|
1137
|
-
{
|
1138
|
-
"components": [
|
1139
|
-
{
|
1140
|
-
"internalType": "UFixed",
|
1141
|
-
"name": "fractionalFee",
|
1142
|
-
"type": "uint256"
|
1143
|
-
},
|
1144
|
-
{
|
1145
|
-
"internalType": "uint256",
|
1146
|
-
"name": "fixedFee",
|
1147
|
-
"type": "uint256"
|
1148
|
-
}
|
1149
|
-
],
|
1150
|
-
"internalType": "struct Fee",
|
1151
|
-
"name": "processingFee",
|
1152
|
-
"type": "tuple"
|
1153
|
-
}
|
1154
|
-
],
|
1155
|
-
"name": "setFees",
|
1156
|
-
"outputs": [],
|
1157
|
-
"stateMutability": "nonpayable",
|
1158
|
-
"type": "function"
|
1159
|
-
},
|
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
1138
|
{
|
1174
1139
|
"inputs": [
|
1175
1140
|
{
|
@@ -1208,6 +1173,25 @@
|
|
1208
1173
|
"outputs": [],
|
1209
1174
|
"stateMutability": "nonpayable",
|
1210
1175
|
"type": "function"
|
1176
|
+
},
|
1177
|
+
{
|
1178
|
+
"inputs": [
|
1179
|
+
{
|
1180
|
+
"internalType": "Amount",
|
1181
|
+
"name": "amount",
|
1182
|
+
"type": "uint96"
|
1183
|
+
}
|
1184
|
+
],
|
1185
|
+
"name": "withdrawFees",
|
1186
|
+
"outputs": [
|
1187
|
+
{
|
1188
|
+
"internalType": "Amount",
|
1189
|
+
"name": "withdrawnAmount",
|
1190
|
+
"type": "uint96"
|
1191
|
+
}
|
1192
|
+
],
|
1193
|
+
"stateMutability": "nonpayable",
|
1194
|
+
"type": "function"
|
1211
1195
|
}
|
1212
1196
|
],
|
1213
1197
|
"bytecode": "0x",
|