@etherisc/gif-next 0.0.2-eb98db7-932 → 0.0.2-ebc6253-419
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +57 -88
- 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 +1500 -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 +4 -0
- package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +269 -445
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1502 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +842 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +302 -285
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +461 -67
- 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 +292 -2124
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +328 -69
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +399 -2883
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
- 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 +676 -369
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +388 -263
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +115 -74
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3469 -0
- 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 +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
- 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 +25 -150
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
- 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 +1137 -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 +776 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +338 -285
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1029 -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/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +510 -426
- 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 +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1466 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +818 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +907 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +413 -380
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1182 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1192 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1589 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +758 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +852 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +398 -390
- 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 +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1331 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +144 -89
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +788 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +800 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IPricingService.sol/IPricingService.json} +205 -228
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +418 -265
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +90 -63
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1276 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +1017 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1212 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +191 -18
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -138
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +453 -34
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +373 -87
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
- 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 +316 -153
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/Component.sol/Component.json +205 -226
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1680 -0
- 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/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +101 -103
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +219 -127
- 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 +711 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
- 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 +3 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +106 -18
- 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 +951 -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 +15 -22
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +24 -23
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +114 -21
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
- 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 +1412 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +387 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1941 -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 +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 +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
- 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 +576 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- 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 +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +222 -0
- 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 +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- 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 +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
- 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/{components → distribution}/Distribution.sol +178 -170
- package/contracts/distribution/DistributionService.sol +322 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +95 -0
- package/contracts/instance/{BundleManager.sol → BundleSet.sol} +33 -32
- package/contracts/instance/IInstance.sol +60 -66
- package/contracts/instance/IInstanceService.sol +57 -24
- package/contracts/instance/Instance.sol +176 -213
- package/contracts/instance/InstanceAdmin.sol +285 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
- package/contracts/instance/InstanceReader.sol +180 -65
- package/contracts/instance/InstanceService.sol +333 -342
- package/contracts/instance/InstanceServiceManager.sol +12 -26
- package/contracts/instance/InstanceStore.sol +277 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +105 -0
- package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
- package/contracts/instance/module/IAccess.sol +19 -20
- package/contracts/instance/module/IBundle.sol +8 -8
- package/contracts/instance/module/{ISetup.sol → IComponents.sol} +21 -23
- package/contracts/instance/module/IDistribution.sol +6 -5
- package/contracts/instance/module/IPolicy.sol +53 -16
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- 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 +166 -0
- package/contracts/oracle/OracleService.sol +278 -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 +436 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +134 -0
- package/contracts/pool/IPoolComponent.sol +58 -0
- package/contracts/pool/IPoolService.sol +147 -0
- package/contracts/pool/Pool.sol +328 -0
- package/contracts/pool/PoolService.sol +518 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +250 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
- package/contracts/product/BasicProduct.sol +52 -0
- package/contracts/product/BasicProductAuthorization.sol +43 -0
- package/contracts/product/ClaimService.sol +416 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
- package/contracts/{instance/service → product}/IApplicationService.sol +17 -36
- package/contracts/product/IClaimService.sol +100 -0
- package/contracts/product/IPolicyService.sol +84 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +40 -0
- package/contracts/product/IProductService.sol +34 -0
- package/contracts/product/PolicyService.sol +586 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +304 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +413 -0
- package/contracts/product/ProductService.sol +99 -0
- package/contracts/product/ProductServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +16 -1
- package/contracts/registry/IRegistry.sol +61 -26
- package/contracts/registry/IRegistryService.sol +44 -42
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +251 -139
- package/contracts/registry/RegistryAdmin.sol +374 -0
- package/contracts/registry/RegistryService.sol +70 -101
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseRegistry.sol +485 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
- package/contracts/registry/TokenRegistry.sol +261 -62
- package/contracts/shared/Component.sol +268 -0
- package/contracts/shared/ComponentService.sol +641 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/IComponent.sol +70 -0
- package/contracts/shared/IComponentService.sol +108 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +56 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
- package/contracts/shared/INftOwnable.sol +2 -2
- package/contracts/shared/IPolicyHolder.sol +29 -10
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +15 -6
- 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/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +77 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +5 -18
- package/contracts/shared/PolicyHolder.sol +41 -23
- package/contracts/shared/Registerable.sol +15 -14
- package/contracts/shared/RegistryLinked.sol +0 -5
- package/contracts/shared/Service.sol +47 -23
- package/contracts/shared/TokenHandler.sol +122 -10
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +167 -0
- package/contracts/staking/IStakingService.sol +160 -0
- package/contracts/staking/StakeManagerLib.sol +206 -0
- package/contracts/staking/Staking.sol +497 -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 +407 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +135 -0
- package/contracts/{types → type}/Blocknumber.sol +27 -3
- package/contracts/{types → type}/ClaimId.sol +25 -2
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/NftId.sol +21 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +271 -0
- package/contracts/{types → type}/PayoutId.sol +33 -5
- package/contracts/{types → type}/Referral.sol +6 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +174 -0
- package/contracts/type/Seconds.sol +93 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +34 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +34 -15
- package/contracts/{types → type}/UFixed.sol +35 -9
- package/contracts/{types → type}/Version.sol +5 -2
- package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +36 -7
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +1 -1
- package/package.json +8 -5
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- 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 -502
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- 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/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -858
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -657
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1085
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -743
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1087
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -729
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -398
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -336
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1109
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -717
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -716
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -766
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- 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/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 -582
- 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/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -510
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/Component.sol +0 -241
- package/contracts/components/IComponent.sol +0 -54
- package/contracts/components/IDistributionComponent.sol +0 -92
- package/contracts/components/IPoolComponent.sol +0 -87
- package/contracts/components/IProductComponent.sol +0 -39
- package/contracts/components/Pool.sol +0 -254
- package/contracts/components/Product.sol +0 -285
- package/contracts/instance/InstanceAccessManager.sol +0 -297
- package/contracts/instance/base/ComponentService.sol +0 -134
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/base/Lifecycle.sol +0 -100
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -268
- package/contracts/instance/service/BundleService.sol +0 -298
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -151
- package/contracts/instance/service/DistributionService.sol +0 -346
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -54
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IDistributionService.sol +0 -73
- package/contracts/instance/service/IPolicyService.sol +0 -89
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -476
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -109
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -233
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -322
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -156
- package/contracts/types/RoleId.sol +0 -90
- /package/contracts/{types → type}/DistributorType.sol +0 -0
- /package/contracts/{types → type}/Key32.sol +0 -0
package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json
RENAMED
@@ -1,33 +1,33 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
3
|
"contractName": "IProductComponent",
|
4
|
-
"sourceName": "contracts/
|
4
|
+
"sourceName": "contracts/product/IProductComponent.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
12
|
}
|
13
13
|
],
|
14
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
15
|
"type": "error"
|
16
16
|
},
|
17
17
|
{
|
18
18
|
"inputs": [
|
19
|
-
{
|
20
|
-
"internalType": "NftId",
|
21
|
-
"name": "instanceNftId",
|
22
|
-
"type": "uint96"
|
23
|
-
},
|
24
19
|
{
|
25
20
|
"internalType": "address",
|
26
|
-
"name": "
|
21
|
+
"name": "caller",
|
27
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
28
|
}
|
29
29
|
],
|
30
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
33
|
{
|
@@ -38,12 +38,12 @@
|
|
38
38
|
"type": "address"
|
39
39
|
}
|
40
40
|
],
|
41
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
44
|
{
|
45
45
|
"inputs": [],
|
46
|
-
"name": "
|
46
|
+
"name": "ErrorComponentNameLengthZero",
|
47
47
|
"type": "error"
|
48
48
|
},
|
49
49
|
{
|
@@ -52,24 +52,45 @@
|
|
52
52
|
"internalType": "address",
|
53
53
|
"name": "caller",
|
54
54
|
"type": "address"
|
55
|
-
}
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "ErrorComponentNotChainNft",
|
58
|
+
"type": "error"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [
|
56
62
|
{
|
57
|
-
"internalType": "
|
58
|
-
"name": "
|
59
|
-
"type": "
|
63
|
+
"internalType": "NftId",
|
64
|
+
"name": "instanceNftId",
|
65
|
+
"type": "uint96"
|
60
66
|
}
|
61
67
|
],
|
62
|
-
"name": "
|
68
|
+
"name": "ErrorComponentNotInstance",
|
63
69
|
"type": "error"
|
64
70
|
},
|
65
71
|
{
|
66
72
|
"inputs": [
|
67
73
|
{
|
68
74
|
"internalType": "address",
|
69
|
-
"name": "
|
75
|
+
"name": "caller",
|
70
76
|
"type": "address"
|
71
77
|
}
|
72
78
|
],
|
79
|
+
"name": "ErrorComponentNotProductService",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [],
|
84
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "ErrorComponentTokenAddressZero",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [],
|
73
94
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
74
95
|
"type": "error"
|
75
96
|
},
|
@@ -79,29 +100,8 @@
|
|
79
100
|
"type": "error"
|
80
101
|
},
|
81
102
|
{
|
82
|
-
"inputs": [
|
83
|
-
|
84
|
-
"internalType": "address",
|
85
|
-
"name": "oldWallet",
|
86
|
-
"type": "address"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"internalType": "address",
|
90
|
-
"name": "newWallet",
|
91
|
-
"type": "address"
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"internalType": "uint256",
|
95
|
-
"name": "allowance",
|
96
|
-
"type": "uint256"
|
97
|
-
},
|
98
|
-
{
|
99
|
-
"internalType": "uint256",
|
100
|
-
"name": "balance",
|
101
|
-
"type": "uint256"
|
102
|
-
}
|
103
|
-
],
|
104
|
-
"name": "ErrorComponentWalletAllowanceTooSmall",
|
103
|
+
"inputs": [],
|
104
|
+
"name": "ErrorComponentWalletNotComponent",
|
105
105
|
"type": "error"
|
106
106
|
},
|
107
107
|
{
|
@@ -156,6 +156,44 @@
|
|
156
156
|
{
|
157
157
|
"anonymous": false,
|
158
158
|
"inputs": [
|
159
|
+
{
|
160
|
+
"indexed": false,
|
161
|
+
"internalType": "address",
|
162
|
+
"name": "authority",
|
163
|
+
"type": "address"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"name": "AuthorityUpdated",
|
167
|
+
"type": "event"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"anonymous": false,
|
171
|
+
"inputs": [
|
172
|
+
{
|
173
|
+
"indexed": false,
|
174
|
+
"internalType": "address",
|
175
|
+
"name": "token",
|
176
|
+
"type": "address"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"indexed": false,
|
180
|
+
"internalType": "Amount",
|
181
|
+
"name": "limit",
|
182
|
+
"type": "uint96"
|
183
|
+
}
|
184
|
+
],
|
185
|
+
"name": "LogComponentTokenHandlerApproved",
|
186
|
+
"type": "event"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"anonymous": false,
|
190
|
+
"inputs": [
|
191
|
+
{
|
192
|
+
"indexed": false,
|
193
|
+
"internalType": "address",
|
194
|
+
"name": "oldWallet",
|
195
|
+
"type": "address"
|
196
|
+
},
|
159
197
|
{
|
160
198
|
"indexed": false,
|
161
199
|
"internalType": "address",
|
@@ -194,9 +232,35 @@
|
|
194
232
|
{
|
195
233
|
"inputs": [
|
196
234
|
{
|
197
|
-
"internalType": "
|
235
|
+
"internalType": "Amount",
|
236
|
+
"name": "spendingLimitAmount",
|
237
|
+
"type": "uint96"
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"name": "approveTokenHandler",
|
241
|
+
"outputs": [],
|
242
|
+
"stateMutability": "nonpayable",
|
243
|
+
"type": "function"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"inputs": [],
|
247
|
+
"name": "authority",
|
248
|
+
"outputs": [
|
249
|
+
{
|
250
|
+
"internalType": "address",
|
251
|
+
"name": "",
|
252
|
+
"type": "address"
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"stateMutability": "view",
|
256
|
+
"type": "function"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"inputs": [
|
260
|
+
{
|
261
|
+
"internalType": "Amount",
|
198
262
|
"name": "sumInsuredAmount",
|
199
|
-
"type": "
|
263
|
+
"type": "uint96"
|
200
264
|
},
|
201
265
|
{
|
202
266
|
"internalType": "RiskId",
|
@@ -204,9 +268,9 @@
|
|
204
268
|
"type": "bytes8"
|
205
269
|
},
|
206
270
|
{
|
207
|
-
"internalType": "
|
271
|
+
"internalType": "Seconds",
|
208
272
|
"name": "lifetime",
|
209
|
-
"type": "
|
273
|
+
"type": "uint40"
|
210
274
|
},
|
211
275
|
{
|
212
276
|
"internalType": "bytes",
|
@@ -217,9 +281,9 @@
|
|
217
281
|
"name": "calculateNetPremium",
|
218
282
|
"outputs": [
|
219
283
|
{
|
220
|
-
"internalType": "
|
284
|
+
"internalType": "Amount",
|
221
285
|
"name": "netPremiumAmount",
|
222
|
-
"type": "
|
286
|
+
"type": "uint96"
|
223
287
|
}
|
224
288
|
],
|
225
289
|
"stateMutability": "view",
|
@@ -228,9 +292,9 @@
|
|
228
292
|
{
|
229
293
|
"inputs": [
|
230
294
|
{
|
231
|
-
"internalType": "
|
295
|
+
"internalType": "Amount",
|
232
296
|
"name": "sumInsuredAmount",
|
233
|
-
"type": "
|
297
|
+
"type": "uint96"
|
234
298
|
},
|
235
299
|
{
|
236
300
|
"internalType": "RiskId",
|
@@ -238,9 +302,9 @@
|
|
238
302
|
"type": "bytes8"
|
239
303
|
},
|
240
304
|
{
|
241
|
-
"internalType": "
|
305
|
+
"internalType": "Seconds",
|
242
306
|
"name": "lifetime",
|
243
|
-
"type": "
|
307
|
+
"type": "uint40"
|
244
308
|
},
|
245
309
|
{
|
246
310
|
"internalType": "bytes",
|
@@ -261,9 +325,9 @@
|
|
261
325
|
"name": "calculatePremium",
|
262
326
|
"outputs": [
|
263
327
|
{
|
264
|
-
"internalType": "
|
328
|
+
"internalType": "Amount",
|
265
329
|
"name": "premiumAmount",
|
266
|
-
"type": "
|
330
|
+
"type": "uint96"
|
267
331
|
}
|
268
332
|
],
|
269
333
|
"stateMutability": "view",
|
@@ -271,12 +335,12 @@
|
|
271
335
|
},
|
272
336
|
{
|
273
337
|
"inputs": [],
|
274
|
-
"name": "
|
338
|
+
"name": "getAuthorization",
|
275
339
|
"outputs": [
|
276
340
|
{
|
277
|
-
"internalType": "
|
278
|
-
"name": "
|
279
|
-
"type": "
|
341
|
+
"internalType": "contract IAuthorization",
|
342
|
+
"name": "authorization",
|
343
|
+
"type": "address"
|
280
344
|
}
|
281
345
|
],
|
282
346
|
"stateMutability": "view",
|
@@ -284,38 +348,33 @@
|
|
284
348
|
},
|
285
349
|
{
|
286
350
|
"inputs": [],
|
287
|
-
"name": "
|
351
|
+
"name": "getComponentInfo",
|
288
352
|
"outputs": [
|
289
353
|
{
|
290
354
|
"components": [
|
291
355
|
{
|
292
|
-
"internalType": "
|
293
|
-
"name": "
|
294
|
-
"type": "
|
356
|
+
"internalType": "string",
|
357
|
+
"name": "name",
|
358
|
+
"type": "string"
|
295
359
|
},
|
296
360
|
{
|
297
361
|
"internalType": "NftId",
|
298
|
-
"name": "
|
362
|
+
"name": "productNftId",
|
299
363
|
"type": "uint96"
|
300
364
|
},
|
301
365
|
{
|
302
|
-
"internalType": "
|
303
|
-
"name": "
|
304
|
-
"type": "
|
305
|
-
},
|
306
|
-
{
|
307
|
-
"internalType": "bool",
|
308
|
-
"name": "isInterceptor",
|
309
|
-
"type": "bool"
|
366
|
+
"internalType": "contract IERC20Metadata",
|
367
|
+
"name": "token",
|
368
|
+
"type": "address"
|
310
369
|
},
|
311
370
|
{
|
312
|
-
"internalType": "
|
313
|
-
"name": "
|
371
|
+
"internalType": "contract TokenHandler",
|
372
|
+
"name": "tokenHandler",
|
314
373
|
"type": "address"
|
315
374
|
},
|
316
375
|
{
|
317
376
|
"internalType": "address",
|
318
|
-
"name": "
|
377
|
+
"name": "wallet",
|
319
378
|
"type": "address"
|
320
379
|
},
|
321
380
|
{
|
@@ -324,8 +383,8 @@
|
|
324
383
|
"type": "bytes"
|
325
384
|
}
|
326
385
|
],
|
327
|
-
"internalType": "struct
|
328
|
-
"name": "",
|
386
|
+
"internalType": "struct IComponents.ComponentInfo",
|
387
|
+
"name": "info",
|
329
388
|
"type": "tuple"
|
330
389
|
}
|
331
390
|
],
|
@@ -334,12 +393,12 @@
|
|
334
393
|
},
|
335
394
|
{
|
336
395
|
"inputs": [],
|
337
|
-
"name": "
|
396
|
+
"name": "getDistributionNftId",
|
338
397
|
"outputs": [
|
339
398
|
{
|
340
|
-
"internalType": "
|
341
|
-
"name": "
|
342
|
-
"type": "
|
399
|
+
"internalType": "NftId",
|
400
|
+
"name": "distributionNftId",
|
401
|
+
"type": "uint96"
|
343
402
|
}
|
344
403
|
],
|
345
404
|
"stateMutability": "view",
|
@@ -347,12 +406,44 @@
|
|
347
406
|
},
|
348
407
|
{
|
349
408
|
"inputs": [],
|
350
|
-
"name": "
|
409
|
+
"name": "getInitialComponentInfo",
|
351
410
|
"outputs": [
|
352
411
|
{
|
353
|
-
"
|
354
|
-
|
355
|
-
|
412
|
+
"components": [
|
413
|
+
{
|
414
|
+
"internalType": "string",
|
415
|
+
"name": "name",
|
416
|
+
"type": "string"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"internalType": "NftId",
|
420
|
+
"name": "productNftId",
|
421
|
+
"type": "uint96"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"internalType": "contract IERC20Metadata",
|
425
|
+
"name": "token",
|
426
|
+
"type": "address"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"internalType": "contract TokenHandler",
|
430
|
+
"name": "tokenHandler",
|
431
|
+
"type": "address"
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"internalType": "address",
|
435
|
+
"name": "wallet",
|
436
|
+
"type": "address"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"internalType": "bytes",
|
440
|
+
"name": "data",
|
441
|
+
"type": "bytes"
|
442
|
+
}
|
443
|
+
],
|
444
|
+
"internalType": "struct IComponents.ComponentInfo",
|
445
|
+
"name": "info",
|
446
|
+
"type": "tuple"
|
356
447
|
}
|
357
448
|
],
|
358
449
|
"stateMutability": "view",
|
@@ -360,12 +451,49 @@
|
|
360
451
|
},
|
361
452
|
{
|
362
453
|
"inputs": [],
|
363
|
-
"name": "
|
454
|
+
"name": "getInitialInfo",
|
364
455
|
"outputs": [
|
365
456
|
{
|
366
|
-
"
|
367
|
-
|
368
|
-
|
457
|
+
"components": [
|
458
|
+
{
|
459
|
+
"internalType": "NftId",
|
460
|
+
"name": "nftId",
|
461
|
+
"type": "uint96"
|
462
|
+
},
|
463
|
+
{
|
464
|
+
"internalType": "NftId",
|
465
|
+
"name": "parentNftId",
|
466
|
+
"type": "uint96"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"internalType": "ObjectType",
|
470
|
+
"name": "objectType",
|
471
|
+
"type": "uint8"
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"internalType": "bool",
|
475
|
+
"name": "isInterceptor",
|
476
|
+
"type": "bool"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"internalType": "address",
|
480
|
+
"name": "objectAddress",
|
481
|
+
"type": "address"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"internalType": "address",
|
485
|
+
"name": "initialOwner",
|
486
|
+
"type": "address"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"internalType": "bytes",
|
490
|
+
"name": "data",
|
491
|
+
"type": "bytes"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
495
|
+
"name": "",
|
496
|
+
"type": "tuple"
|
369
497
|
}
|
370
498
|
],
|
371
499
|
"stateMutability": "view",
|
@@ -373,130 +501,10 @@
|
|
373
501
|
},
|
374
502
|
{
|
375
503
|
"inputs": [],
|
376
|
-
"name": "
|
377
|
-
"outputs": [
|
378
|
-
{
|
379
|
-
"internalType": "NftId",
|
380
|
-
"name": "",
|
381
|
-
"type": "uint96"
|
382
|
-
}
|
383
|
-
],
|
384
|
-
"stateMutability": "view",
|
385
|
-
"type": "function"
|
386
|
-
},
|
387
|
-
{
|
388
|
-
"inputs": [],
|
389
|
-
"name": "getOwner",
|
390
|
-
"outputs": [
|
391
|
-
{
|
392
|
-
"internalType": "address",
|
393
|
-
"name": "",
|
394
|
-
"type": "address"
|
395
|
-
}
|
396
|
-
],
|
397
|
-
"stateMutability": "view",
|
398
|
-
"type": "function"
|
399
|
-
},
|
400
|
-
{
|
401
|
-
"inputs": [],
|
402
|
-
"name": "getPoolNftId",
|
403
|
-
"outputs": [
|
404
|
-
{
|
405
|
-
"internalType": "NftId",
|
406
|
-
"name": "poolNftId",
|
407
|
-
"type": "uint96"
|
408
|
-
}
|
409
|
-
],
|
410
|
-
"stateMutability": "view",
|
411
|
-
"type": "function"
|
412
|
-
},
|
413
|
-
{
|
414
|
-
"inputs": [],
|
415
|
-
"name": "getProductNftId",
|
416
|
-
"outputs": [
|
417
|
-
{
|
418
|
-
"internalType": "NftId",
|
419
|
-
"name": "productNftId",
|
420
|
-
"type": "uint96"
|
421
|
-
}
|
422
|
-
],
|
423
|
-
"stateMutability": "view",
|
424
|
-
"type": "function"
|
425
|
-
},
|
426
|
-
{
|
427
|
-
"inputs": [],
|
428
|
-
"name": "getProductService",
|
429
|
-
"outputs": [
|
430
|
-
{
|
431
|
-
"internalType": "contract IProductService",
|
432
|
-
"name": "",
|
433
|
-
"type": "address"
|
434
|
-
}
|
435
|
-
],
|
436
|
-
"stateMutability": "view",
|
437
|
-
"type": "function"
|
438
|
-
},
|
439
|
-
{
|
440
|
-
"inputs": [],
|
441
|
-
"name": "getRegistry",
|
442
|
-
"outputs": [
|
443
|
-
{
|
444
|
-
"internalType": "contract IRegistry",
|
445
|
-
"name": "",
|
446
|
-
"type": "address"
|
447
|
-
}
|
448
|
-
],
|
449
|
-
"stateMutability": "view",
|
450
|
-
"type": "function"
|
451
|
-
},
|
452
|
-
{
|
453
|
-
"inputs": [],
|
454
|
-
"name": "getRegistryAddress",
|
455
|
-
"outputs": [
|
456
|
-
{
|
457
|
-
"internalType": "address",
|
458
|
-
"name": "",
|
459
|
-
"type": "address"
|
460
|
-
}
|
461
|
-
],
|
462
|
-
"stateMutability": "view",
|
463
|
-
"type": "function"
|
464
|
-
},
|
465
|
-
{
|
466
|
-
"inputs": [
|
467
|
-
{
|
468
|
-
"internalType": "ObjectType",
|
469
|
-
"name": "domain",
|
470
|
-
"type": "uint8"
|
471
|
-
}
|
472
|
-
],
|
473
|
-
"name": "getServiceAddress",
|
474
|
-
"outputs": [
|
475
|
-
{
|
476
|
-
"internalType": "address",
|
477
|
-
"name": "service",
|
478
|
-
"type": "address"
|
479
|
-
}
|
480
|
-
],
|
481
|
-
"stateMutability": "view",
|
482
|
-
"type": "function"
|
483
|
-
},
|
484
|
-
{
|
485
|
-
"inputs": [],
|
486
|
-
"name": "getSetupInfo",
|
504
|
+
"name": "getInitialProductInfo",
|
487
505
|
"outputs": [
|
488
506
|
{
|
489
507
|
"components": [
|
490
|
-
{
|
491
|
-
"internalType": "contract IERC20Metadata",
|
492
|
-
"name": "token",
|
493
|
-
"type": "address"
|
494
|
-
},
|
495
|
-
{
|
496
|
-
"internalType": "contract TokenHandler",
|
497
|
-
"name": "tokenHandler",
|
498
|
-
"type": "address"
|
499
|
-
},
|
500
508
|
{
|
501
509
|
"internalType": "NftId",
|
502
510
|
"name": "distributionNftId",
|
@@ -521,7 +529,7 @@
|
|
521
529
|
}
|
522
530
|
],
|
523
531
|
"internalType": "struct Fee",
|
524
|
-
"name": "
|
532
|
+
"name": "productFee",
|
525
533
|
"type": "tuple"
|
526
534
|
},
|
527
535
|
{
|
@@ -538,7 +546,7 @@
|
|
538
546
|
}
|
539
547
|
],
|
540
548
|
"internalType": "struct Fee",
|
541
|
-
"name": "
|
549
|
+
"name": "processingFee",
|
542
550
|
"type": "tuple"
|
543
551
|
},
|
544
552
|
{
|
@@ -555,7 +563,24 @@
|
|
555
563
|
}
|
556
564
|
],
|
557
565
|
"internalType": "struct Fee",
|
558
|
-
"name": "
|
566
|
+
"name": "distributionFee",
|
567
|
+
"type": "tuple"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"components": [
|
571
|
+
{
|
572
|
+
"internalType": "UFixed",
|
573
|
+
"name": "fractionalFee",
|
574
|
+
"type": "uint256"
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"internalType": "uint256",
|
578
|
+
"name": "fixedFee",
|
579
|
+
"type": "uint256"
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"internalType": "struct Fee",
|
583
|
+
"name": "minDistributionOwnerFee",
|
559
584
|
"type": "tuple"
|
560
585
|
},
|
561
586
|
{
|
@@ -608,26 +633,107 @@
|
|
608
633
|
"internalType": "struct Fee",
|
609
634
|
"name": "performanceFee",
|
610
635
|
"type": "tuple"
|
611
|
-
},
|
612
|
-
{
|
613
|
-
"internalType": "bool",
|
614
|
-
"name": "isIntercepting",
|
615
|
-
"type": "bool"
|
616
|
-
},
|
617
|
-
{
|
618
|
-
"internalType": "address",
|
619
|
-
"name": "wallet",
|
620
|
-
"type": "address"
|
621
636
|
}
|
622
637
|
],
|
623
|
-
"internalType": "struct
|
624
|
-
"name": "
|
638
|
+
"internalType": "struct IComponents.ProductInfo",
|
639
|
+
"name": "info",
|
625
640
|
"type": "tuple"
|
626
641
|
}
|
627
642
|
],
|
628
643
|
"stateMutability": "view",
|
629
644
|
"type": "function"
|
630
645
|
},
|
646
|
+
{
|
647
|
+
"inputs": [],
|
648
|
+
"name": "getInstance",
|
649
|
+
"outputs": [
|
650
|
+
{
|
651
|
+
"internalType": "contract IInstance",
|
652
|
+
"name": "instance",
|
653
|
+
"type": "address"
|
654
|
+
}
|
655
|
+
],
|
656
|
+
"stateMutability": "view",
|
657
|
+
"type": "function"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"inputs": [],
|
661
|
+
"name": "getName",
|
662
|
+
"outputs": [
|
663
|
+
{
|
664
|
+
"internalType": "string",
|
665
|
+
"name": "name",
|
666
|
+
"type": "string"
|
667
|
+
}
|
668
|
+
],
|
669
|
+
"stateMutability": "view",
|
670
|
+
"type": "function"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"inputs": [],
|
674
|
+
"name": "getNftId",
|
675
|
+
"outputs": [
|
676
|
+
{
|
677
|
+
"internalType": "NftId",
|
678
|
+
"name": "",
|
679
|
+
"type": "uint96"
|
680
|
+
}
|
681
|
+
],
|
682
|
+
"stateMutability": "view",
|
683
|
+
"type": "function"
|
684
|
+
},
|
685
|
+
{
|
686
|
+
"inputs": [],
|
687
|
+
"name": "getOwner",
|
688
|
+
"outputs": [
|
689
|
+
{
|
690
|
+
"internalType": "address",
|
691
|
+
"name": "",
|
692
|
+
"type": "address"
|
693
|
+
}
|
694
|
+
],
|
695
|
+
"stateMutability": "view",
|
696
|
+
"type": "function"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"inputs": [],
|
700
|
+
"name": "getPoolNftId",
|
701
|
+
"outputs": [
|
702
|
+
{
|
703
|
+
"internalType": "NftId",
|
704
|
+
"name": "poolNftId",
|
705
|
+
"type": "uint96"
|
706
|
+
}
|
707
|
+
],
|
708
|
+
"stateMutability": "view",
|
709
|
+
"type": "function"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"inputs": [],
|
713
|
+
"name": "getProductNftId",
|
714
|
+
"outputs": [
|
715
|
+
{
|
716
|
+
"internalType": "NftId",
|
717
|
+
"name": "productNftId",
|
718
|
+
"type": "uint96"
|
719
|
+
}
|
720
|
+
],
|
721
|
+
"stateMutability": "view",
|
722
|
+
"type": "function"
|
723
|
+
},
|
724
|
+
{
|
725
|
+
"inputs": [],
|
726
|
+
"name": "getRegistry",
|
727
|
+
"outputs": [
|
728
|
+
{
|
729
|
+
"internalType": "contract IRegistry",
|
730
|
+
"name": "",
|
731
|
+
"type": "address"
|
732
|
+
}
|
733
|
+
],
|
734
|
+
"stateMutability": "view",
|
735
|
+
"type": "function"
|
736
|
+
},
|
631
737
|
{
|
632
738
|
"inputs": [],
|
633
739
|
"name": "getToken",
|
@@ -641,6 +747,19 @@
|
|
641
747
|
"stateMutability": "view",
|
642
748
|
"type": "function"
|
643
749
|
},
|
750
|
+
{
|
751
|
+
"inputs": [],
|
752
|
+
"name": "getTokenHandler",
|
753
|
+
"outputs": [
|
754
|
+
{
|
755
|
+
"internalType": "contract TokenHandler",
|
756
|
+
"name": "tokenHandler",
|
757
|
+
"type": "address"
|
758
|
+
}
|
759
|
+
],
|
760
|
+
"stateMutability": "view",
|
761
|
+
"type": "function"
|
762
|
+
},
|
644
763
|
{
|
645
764
|
"inputs": [],
|
646
765
|
"name": "getWallet",
|
@@ -654,6 +773,19 @@
|
|
654
773
|
"stateMutability": "view",
|
655
774
|
"type": "function"
|
656
775
|
},
|
776
|
+
{
|
777
|
+
"inputs": [],
|
778
|
+
"name": "isConsumingScheduledOp",
|
779
|
+
"outputs": [
|
780
|
+
{
|
781
|
+
"internalType": "bytes4",
|
782
|
+
"name": "",
|
783
|
+
"type": "bytes4"
|
784
|
+
}
|
785
|
+
],
|
786
|
+
"stateMutability": "view",
|
787
|
+
"type": "function"
|
788
|
+
},
|
657
789
|
{
|
658
790
|
"inputs": [],
|
659
791
|
"name": "isNftInterceptor",
|
@@ -667,10 +799,29 @@
|
|
667
799
|
"stateMutability": "view",
|
668
800
|
"type": "function"
|
669
801
|
},
|
802
|
+
{
|
803
|
+
"inputs": [],
|
804
|
+
"name": "isRegistered",
|
805
|
+
"outputs": [
|
806
|
+
{
|
807
|
+
"internalType": "bool",
|
808
|
+
"name": "",
|
809
|
+
"type": "bool"
|
810
|
+
}
|
811
|
+
],
|
812
|
+
"stateMutability": "view",
|
813
|
+
"type": "function"
|
814
|
+
},
|
670
815
|
{
|
671
816
|
"inputs": [],
|
672
817
|
"name": "linkToRegisteredNftId",
|
673
|
-
"outputs": [
|
818
|
+
"outputs": [
|
819
|
+
{
|
820
|
+
"internalType": "NftId",
|
821
|
+
"name": "",
|
822
|
+
"type": "uint96"
|
823
|
+
}
|
824
|
+
],
|
674
825
|
"stateMutability": "nonpayable",
|
675
826
|
"type": "function"
|
676
827
|
},
|
@@ -683,11 +834,6 @@
|
|
683
834
|
},
|
684
835
|
{
|
685
836
|
"inputs": [
|
686
|
-
{
|
687
|
-
"internalType": "address",
|
688
|
-
"name": "from",
|
689
|
-
"type": "address"
|
690
|
-
},
|
691
837
|
{
|
692
838
|
"internalType": "address",
|
693
839
|
"name": "to",
|
@@ -699,7 +845,7 @@
|
|
699
845
|
"type": "uint256"
|
700
846
|
}
|
701
847
|
],
|
702
|
-
"name": "
|
848
|
+
"name": "nftMint",
|
703
849
|
"outputs": [],
|
704
850
|
"stateMutability": "nonpayable",
|
705
851
|
"type": "function"
|
@@ -707,41 +853,29 @@
|
|
707
853
|
{
|
708
854
|
"inputs": [
|
709
855
|
{
|
710
|
-
"
|
711
|
-
|
712
|
-
|
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": "productFee",
|
724
|
-
"type": "tuple"
|
856
|
+
"internalType": "address",
|
857
|
+
"name": "from",
|
858
|
+
"type": "address"
|
725
859
|
},
|
726
860
|
{
|
727
|
-
"
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
"name": "fixedFee",
|
736
|
-
"type": "uint256"
|
737
|
-
}
|
738
|
-
],
|
739
|
-
"internalType": "struct Fee",
|
740
|
-
"name": "processingFee",
|
741
|
-
"type": "tuple"
|
861
|
+
"internalType": "address",
|
862
|
+
"name": "to",
|
863
|
+
"type": "address"
|
864
|
+
},
|
865
|
+
{
|
866
|
+
"internalType": "uint256",
|
867
|
+
"name": "tokenId",
|
868
|
+
"type": "uint256"
|
742
869
|
}
|
743
870
|
],
|
744
|
-
"name": "
|
871
|
+
"name": "nftTransferFrom",
|
872
|
+
"outputs": [],
|
873
|
+
"stateMutability": "nonpayable",
|
874
|
+
"type": "function"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"inputs": [],
|
878
|
+
"name": "register",
|
745
879
|
"outputs": [],
|
746
880
|
"stateMutability": "nonpayable",
|
747
881
|
"type": "function"
|
@@ -749,12 +883,12 @@
|
|
749
883
|
{
|
750
884
|
"inputs": [
|
751
885
|
{
|
752
|
-
"internalType": "
|
753
|
-
"name": "
|
754
|
-
"type": "
|
886
|
+
"internalType": "address",
|
887
|
+
"name": "",
|
888
|
+
"type": "address"
|
755
889
|
}
|
756
890
|
],
|
757
|
-
"name": "
|
891
|
+
"name": "setAuthority",
|
758
892
|
"outputs": [],
|
759
893
|
"stateMutability": "nonpayable",
|
760
894
|
"type": "function"
|
@@ -797,6 +931,25 @@
|
|
797
931
|
"outputs": [],
|
798
932
|
"stateMutability": "nonpayable",
|
799
933
|
"type": "function"
|
934
|
+
},
|
935
|
+
{
|
936
|
+
"inputs": [
|
937
|
+
{
|
938
|
+
"internalType": "Amount",
|
939
|
+
"name": "amount",
|
940
|
+
"type": "uint96"
|
941
|
+
}
|
942
|
+
],
|
943
|
+
"name": "withdrawFees",
|
944
|
+
"outputs": [
|
945
|
+
{
|
946
|
+
"internalType": "Amount",
|
947
|
+
"name": "withdrawnAmount",
|
948
|
+
"type": "uint96"
|
949
|
+
}
|
950
|
+
],
|
951
|
+
"stateMutability": "nonpayable",
|
952
|
+
"type": "function"
|
800
953
|
}
|
801
954
|
],
|
802
955
|
"bytecode": "0x",
|