@etherisc/gif-next 0.0.2-e964d24-516 → 0.0.2-e987ccf-894
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +51 -5
- 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 +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +179 -385
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +280 -324
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +130 -72
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +171 -254
- 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 +77 -78
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +193 -52
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +93 -126
- 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 +590 -328
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +282 -101
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +120 -42
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1294 -370
- 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 -54
- 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 +8 -116
- 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 +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/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 +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/pool/BasicPool.sol/BasicPool.json +1406 -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 +399 -213
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +176 -50
- 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 +181 -356
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +342 -211
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +227 -442
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +401 -432
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +106 -68
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +92 -158
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +111 -37
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1254 -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 +142 -187
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +130 -56
- 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 +46 -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 +271 -173
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +13 -55
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +244 -286
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +117 -91
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +188 -220
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +135 -57
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +345 -331
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +47 -203
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +94 -32
- 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 +183 -29
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +206 -124
- 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 +440 -40
- 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 +370 -68
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +99 -35
- 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 -138
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +104 -145
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1252 -203
- 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 +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 +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 +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 +13 -7
- 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 +21 -7
- 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 +20 -1
- 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 +1412 -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 +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 +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +661 -85
- 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 +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 +100 -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 +124 -136
- package/contracts/distribution/DistributionServiceManager.sol +11 -23
- 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 +26 -17
- package/contracts/instance/IInstanceService.sol +46 -27
- package/contracts/instance/Instance.sol +114 -89
- package/contracts/instance/InstanceAdmin.sol +285 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +203 -0
- package/contracts/instance/InstanceReader.sol +106 -52
- package/contracts/instance/InstanceService.sol +291 -132
- package/contracts/instance/InstanceServiceManager.sol +12 -26
- package/contracts/instance/InstanceStore.sol +146 -66
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +110 -0
- package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +18 -21
- package/contracts/instance/module/IAccess.sol +2 -10
- 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 +29 -22
- 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 +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 +252 -196
- package/contracts/pool/BundleServiceManager.sol +11 -23
- 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 +322 -216
- package/contracts/pool/PoolServiceManager.sol +11 -23
- package/contracts/product/ApplicationService.sol +144 -81
- package/contracts/product/ApplicationServiceManager.sol +11 -8
- package/contracts/product/BasicProduct.sol +52 -0
- package/contracts/product/BasicProductAuthorization.sol +43 -0
- package/contracts/product/ClaimService.sol +45 -66
- package/contracts/product/ClaimServiceManager.sol +11 -8
- package/contracts/product/IApplicationService.sol +2 -1
- package/contracts/product/IClaimService.sol +13 -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 +2 -8
- package/contracts/product/PolicyService.sol +390 -190
- package/contracts/product/PolicyServiceManager.sol +11 -26
- package/contracts/product/PricingService.sol +103 -77
- package/contracts/product/PricingServiceManager.sol +11 -23
- package/contracts/product/Product.sol +154 -123
- package/contracts/product/ProductService.sol +36 -147
- package/contracts/product/ProductServiceManager.sol +11 -26
- package/contracts/registry/ChainNft.sol +8 -1
- package/contracts/registry/IRegistry.sol +55 -22
- package/contracts/registry/IRegistryService.sol +38 -35
- package/contracts/registry/Registry.sol +234 -125
- package/contracts/registry/RegistryAdmin.sol +374 -0
- package/contracts/registry/RegistryService.sol +67 -100
- package/contracts/registry/RegistryServiceManager.sol +23 -30
- 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 -62
- package/contracts/shared/Component.sol +141 -144
- package/contracts/shared/ComponentService.sol +587 -96
- 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 +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 +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/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 -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 +167 -0
- package/contracts/staking/IStakingService.sol +105 -47
- 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 +288 -47
- package/contracts/staking/{StakeingServiceManager.sol → StakingServiceManager.sol} +13 -6
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +207 -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 +176 -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 +117 -40
- package/contracts/type/Seconds.sol +40 -1
- package/contracts/type/Selector.sol +102 -0
- package/contracts/type/StateId.sol +27 -2
- package/contracts/type/String.sol +53 -0
- package/contracts/type/Timestamp.sol +17 -3
- package/contracts/type/UFixed.sol +34 -9
- package/contracts/type/Version.sol +4 -2
- package/contracts/{shared → upgradeability}/ProxyManager.sol +33 -4
- 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/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 -1348
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
- 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 -532
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/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 -559
- 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/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 -569
- 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/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +0 -628
- package/contracts/instance/Cloneable.sol +0 -51
- package/contracts/instance/InstanceAccessManager.sol +0 -541
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
- package/contracts/instance/base/KeyValueStore.sol +0 -149
- package/contracts/instance/base/Lifecycle.sol +0 -120
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -324
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- /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
|
{
|
@@ -103,38 +86,17 @@
|
|
103
86
|
},
|
104
87
|
{
|
105
88
|
"inputs": [],
|
106
|
-
"name": "
|
89
|
+
"name": "ErrorComponentTokenAddressZero",
|
107
90
|
"type": "error"
|
108
91
|
},
|
109
92
|
{
|
110
93
|
"inputs": [],
|
111
|
-
"name": "
|
94
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
112
95
|
"type": "error"
|
113
96
|
},
|
114
97
|
{
|
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",
|
98
|
+
"inputs": [],
|
99
|
+
"name": "ErrorComponentWalletAddressZero",
|
138
100
|
"type": "error"
|
139
101
|
},
|
140
102
|
{
|
@@ -158,6 +120,17 @@
|
|
158
120
|
"name": "ErrorDistributionAlreadyDistributor",
|
159
121
|
"type": "error"
|
160
122
|
},
|
123
|
+
{
|
124
|
+
"inputs": [
|
125
|
+
{
|
126
|
+
"internalType": "address",
|
127
|
+
"name": "distributor",
|
128
|
+
"type": "address"
|
129
|
+
}
|
130
|
+
],
|
131
|
+
"name": "ErrorDistributionNotDistributor",
|
132
|
+
"type": "error"
|
133
|
+
},
|
161
134
|
{
|
162
135
|
"inputs": [
|
163
136
|
{
|
@@ -207,11 +180,6 @@
|
|
207
180
|
"name": "ErrorNotRegistry",
|
208
181
|
"type": "error"
|
209
182
|
},
|
210
|
-
{
|
211
|
-
"inputs": [],
|
212
|
-
"name": "FailedInnerCall",
|
213
|
-
"type": "error"
|
214
|
-
},
|
215
183
|
{
|
216
184
|
"inputs": [],
|
217
185
|
"name": "InvalidInitialization",
|
@@ -222,17 +190,6 @@
|
|
222
190
|
"name": "NotInitializing",
|
223
191
|
"type": "error"
|
224
192
|
},
|
225
|
-
{
|
226
|
-
"inputs": [
|
227
|
-
{
|
228
|
-
"internalType": "address",
|
229
|
-
"name": "token",
|
230
|
-
"type": "address"
|
231
|
-
}
|
232
|
-
],
|
233
|
-
"name": "SafeERC20FailedOperation",
|
234
|
-
"type": "error"
|
235
|
-
},
|
236
193
|
{
|
237
194
|
"anonymous": false,
|
238
195
|
"inputs": [
|
@@ -264,9 +221,15 @@
|
|
264
221
|
"inputs": [
|
265
222
|
{
|
266
223
|
"indexed": false,
|
267
|
-
"internalType": "
|
224
|
+
"internalType": "address",
|
225
|
+
"name": "token",
|
226
|
+
"type": "address"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"indexed": false,
|
230
|
+
"internalType": "Amount",
|
268
231
|
"name": "limit",
|
269
|
-
"type": "
|
232
|
+
"type": "uint96"
|
270
233
|
}
|
271
234
|
],
|
272
235
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -361,6 +324,19 @@
|
|
361
324
|
"stateMutability": "view",
|
362
325
|
"type": "function"
|
363
326
|
},
|
327
|
+
{
|
328
|
+
"inputs": [],
|
329
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
330
|
+
"outputs": [
|
331
|
+
{
|
332
|
+
"internalType": "bytes32",
|
333
|
+
"name": "",
|
334
|
+
"type": "bytes32"
|
335
|
+
}
|
336
|
+
],
|
337
|
+
"stateMutability": "view",
|
338
|
+
"type": "function"
|
339
|
+
},
|
364
340
|
{
|
365
341
|
"inputs": [],
|
366
342
|
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
@@ -390,9 +366,27 @@
|
|
390
366
|
{
|
391
367
|
"inputs": [
|
392
368
|
{
|
393
|
-
"internalType": "
|
369
|
+
"internalType": "address",
|
370
|
+
"name": "token",
|
371
|
+
"type": "address"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"internalType": "Amount",
|
394
375
|
"name": "spendingLimitAmount",
|
395
|
-
"type": "
|
376
|
+
"type": "uint96"
|
377
|
+
}
|
378
|
+
],
|
379
|
+
"name": "approveTokenHandler",
|
380
|
+
"outputs": [],
|
381
|
+
"stateMutability": "nonpayable",
|
382
|
+
"type": "function"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"inputs": [
|
386
|
+
{
|
387
|
+
"internalType": "Amount",
|
388
|
+
"name": "spendingLimitAmount",
|
389
|
+
"type": "uint96"
|
396
390
|
}
|
397
391
|
],
|
398
392
|
"name": "approveTokenHandler",
|
@@ -438,91 +432,16 @@
|
|
438
432
|
"type": "function"
|
439
433
|
},
|
440
434
|
{
|
441
|
-
"inputs": [
|
442
|
-
|
443
|
-
"internalType": "address",
|
444
|
-
"name": "distributor",
|
445
|
-
"type": "address"
|
446
|
-
},
|
447
|
-
{
|
448
|
-
"internalType": "DistributorType",
|
449
|
-
"name": "distributorType",
|
450
|
-
"type": "bytes8"
|
451
|
-
},
|
452
|
-
{
|
453
|
-
"internalType": "bytes",
|
454
|
-
"name": "data",
|
455
|
-
"type": "bytes"
|
456
|
-
}
|
457
|
-
],
|
458
|
-
"name": "createDistributor",
|
459
|
-
"outputs": [
|
460
|
-
{
|
461
|
-
"internalType": "NftId",
|
462
|
-
"name": "distributorNftId",
|
463
|
-
"type": "uint96"
|
464
|
-
}
|
465
|
-
],
|
466
|
-
"stateMutability": "nonpayable",
|
467
|
-
"type": "function"
|
468
|
-
},
|
469
|
-
{
|
470
|
-
"inputs": [
|
471
|
-
{
|
472
|
-
"internalType": "string",
|
473
|
-
"name": "name",
|
474
|
-
"type": "string"
|
475
|
-
},
|
476
|
-
{
|
477
|
-
"internalType": "UFixed",
|
478
|
-
"name": "minDiscountPercentage",
|
479
|
-
"type": "uint256"
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"internalType": "UFixed",
|
483
|
-
"name": "maxDiscountPercentage",
|
484
|
-
"type": "uint256"
|
485
|
-
},
|
486
|
-
{
|
487
|
-
"internalType": "UFixed",
|
488
|
-
"name": "commissionPercentage",
|
489
|
-
"type": "uint256"
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"internalType": "uint32",
|
493
|
-
"name": "maxReferralCount",
|
494
|
-
"type": "uint32"
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"internalType": "uint32",
|
498
|
-
"name": "maxReferralLifetime",
|
499
|
-
"type": "uint32"
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"internalType": "bool",
|
503
|
-
"name": "allowSelfReferrals",
|
504
|
-
"type": "bool"
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"internalType": "bool",
|
508
|
-
"name": "allowRenewals",
|
509
|
-
"type": "bool"
|
510
|
-
},
|
511
|
-
{
|
512
|
-
"internalType": "bytes",
|
513
|
-
"name": "data",
|
514
|
-
"type": "bytes"
|
515
|
-
}
|
516
|
-
],
|
517
|
-
"name": "createDistributorType",
|
435
|
+
"inputs": [],
|
436
|
+
"name": "getAuthorization",
|
518
437
|
"outputs": [
|
519
438
|
{
|
520
|
-
"internalType": "
|
521
|
-
"name": "
|
522
|
-
"type": "
|
439
|
+
"internalType": "contract IAuthorization",
|
440
|
+
"name": "authorization",
|
441
|
+
"type": "address"
|
523
442
|
}
|
524
443
|
],
|
525
|
-
"stateMutability": "
|
444
|
+
"stateMutability": "view",
|
526
445
|
"type": "function"
|
527
446
|
},
|
528
447
|
{
|
@@ -536,6 +455,11 @@
|
|
536
455
|
"name": "name",
|
537
456
|
"type": "string"
|
538
457
|
},
|
458
|
+
{
|
459
|
+
"internalType": "NftId",
|
460
|
+
"name": "productNftId",
|
461
|
+
"type": "uint96"
|
462
|
+
},
|
539
463
|
{
|
540
464
|
"internalType": "contract IERC20Metadata",
|
541
465
|
"name": "token",
|
@@ -551,16 +475,6 @@
|
|
551
475
|
"name": "wallet",
|
552
476
|
"type": "address"
|
553
477
|
},
|
554
|
-
{
|
555
|
-
"internalType": "Amount",
|
556
|
-
"name": "balanceAmount",
|
557
|
-
"type": "uint96"
|
558
|
-
},
|
559
|
-
{
|
560
|
-
"internalType": "Amount",
|
561
|
-
"name": "feeAmount",
|
562
|
-
"type": "uint96"
|
563
|
-
},
|
564
478
|
{
|
565
479
|
"internalType": "bytes",
|
566
480
|
"name": "data",
|
@@ -599,31 +513,6 @@
|
|
599
513
|
"stateMutability": "view",
|
600
514
|
"type": "function"
|
601
515
|
},
|
602
|
-
{
|
603
|
-
"inputs": [],
|
604
|
-
"name": "getDistributionFee",
|
605
|
-
"outputs": [
|
606
|
-
{
|
607
|
-
"components": [
|
608
|
-
{
|
609
|
-
"internalType": "UFixed",
|
610
|
-
"name": "fractionalFee",
|
611
|
-
"type": "uint256"
|
612
|
-
},
|
613
|
-
{
|
614
|
-
"internalType": "uint256",
|
615
|
-
"name": "fixedFee",
|
616
|
-
"type": "uint256"
|
617
|
-
}
|
618
|
-
],
|
619
|
-
"internalType": "struct Fee",
|
620
|
-
"name": "distributionFee",
|
621
|
-
"type": "tuple"
|
622
|
-
}
|
623
|
-
],
|
624
|
-
"stateMutability": "view",
|
625
|
-
"type": "function"
|
626
|
-
},
|
627
516
|
{
|
628
517
|
"inputs": [
|
629
518
|
{
|
@@ -643,6 +532,51 @@
|
|
643
532
|
"stateMutability": "view",
|
644
533
|
"type": "function"
|
645
534
|
},
|
535
|
+
{
|
536
|
+
"inputs": [],
|
537
|
+
"name": "getInitialComponentInfo",
|
538
|
+
"outputs": [
|
539
|
+
{
|
540
|
+
"components": [
|
541
|
+
{
|
542
|
+
"internalType": "string",
|
543
|
+
"name": "name",
|
544
|
+
"type": "string"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"internalType": "NftId",
|
548
|
+
"name": "productNftId",
|
549
|
+
"type": "uint96"
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"internalType": "contract IERC20Metadata",
|
553
|
+
"name": "token",
|
554
|
+
"type": "address"
|
555
|
+
},
|
556
|
+
{
|
557
|
+
"internalType": "contract TokenHandler",
|
558
|
+
"name": "tokenHandler",
|
559
|
+
"type": "address"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"internalType": "address",
|
563
|
+
"name": "wallet",
|
564
|
+
"type": "address"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"internalType": "bytes",
|
568
|
+
"name": "data",
|
569
|
+
"type": "bytes"
|
570
|
+
}
|
571
|
+
],
|
572
|
+
"internalType": "struct IComponents.ComponentInfo",
|
573
|
+
"name": "info",
|
574
|
+
"type": "tuple"
|
575
|
+
}
|
576
|
+
],
|
577
|
+
"stateMutability": "view",
|
578
|
+
"type": "function"
|
579
|
+
},
|
646
580
|
{
|
647
581
|
"inputs": [],
|
648
582
|
"name": "getInitialInfo",
|
@@ -790,75 +724,6 @@
|
|
790
724
|
"stateMutability": "view",
|
791
725
|
"type": "function"
|
792
726
|
},
|
793
|
-
{
|
794
|
-
"inputs": [],
|
795
|
-
"name": "getSetupInfo",
|
796
|
-
"outputs": [
|
797
|
-
{
|
798
|
-
"components": [
|
799
|
-
{
|
800
|
-
"internalType": "NftId",
|
801
|
-
"name": "productNftId",
|
802
|
-
"type": "uint96"
|
803
|
-
},
|
804
|
-
{
|
805
|
-
"internalType": "contract TokenHandler",
|
806
|
-
"name": "tokenHandler",
|
807
|
-
"type": "address"
|
808
|
-
},
|
809
|
-
{
|
810
|
-
"components": [
|
811
|
-
{
|
812
|
-
"internalType": "UFixed",
|
813
|
-
"name": "fractionalFee",
|
814
|
-
"type": "uint256"
|
815
|
-
},
|
816
|
-
{
|
817
|
-
"internalType": "uint256",
|
818
|
-
"name": "fixedFee",
|
819
|
-
"type": "uint256"
|
820
|
-
}
|
821
|
-
],
|
822
|
-
"internalType": "struct Fee",
|
823
|
-
"name": "minDistributionOwnerFee",
|
824
|
-
"type": "tuple"
|
825
|
-
},
|
826
|
-
{
|
827
|
-
"components": [
|
828
|
-
{
|
829
|
-
"internalType": "UFixed",
|
830
|
-
"name": "fractionalFee",
|
831
|
-
"type": "uint256"
|
832
|
-
},
|
833
|
-
{
|
834
|
-
"internalType": "uint256",
|
835
|
-
"name": "fixedFee",
|
836
|
-
"type": "uint256"
|
837
|
-
}
|
838
|
-
],
|
839
|
-
"internalType": "struct Fee",
|
840
|
-
"name": "distributionFee",
|
841
|
-
"type": "tuple"
|
842
|
-
},
|
843
|
-
{
|
844
|
-
"internalType": "address",
|
845
|
-
"name": "wallet",
|
846
|
-
"type": "address"
|
847
|
-
},
|
848
|
-
{
|
849
|
-
"internalType": "uint256",
|
850
|
-
"name": "sumDistributionOwnerFees",
|
851
|
-
"type": "uint256"
|
852
|
-
}
|
853
|
-
],
|
854
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
855
|
-
"name": "setupInfo",
|
856
|
-
"type": "tuple"
|
857
|
-
}
|
858
|
-
],
|
859
|
-
"stateMutability": "view",
|
860
|
-
"type": "function"
|
861
|
-
},
|
862
727
|
{
|
863
728
|
"inputs": [],
|
864
729
|
"name": "getToken",
|
@@ -900,6 +765,11 @@
|
|
900
765
|
},
|
901
766
|
{
|
902
767
|
"inputs": [
|
768
|
+
{
|
769
|
+
"internalType": "address",
|
770
|
+
"name": "authority",
|
771
|
+
"type": "address"
|
772
|
+
},
|
903
773
|
{
|
904
774
|
"internalType": "address",
|
905
775
|
"name": "registry",
|
@@ -907,7 +777,7 @@
|
|
907
777
|
},
|
908
778
|
{
|
909
779
|
"internalType": "NftId",
|
910
|
-
"name": "
|
780
|
+
"name": "parentNftId",
|
911
781
|
"type": "uint96"
|
912
782
|
},
|
913
783
|
{
|
@@ -939,81 +809,14 @@
|
|
939
809
|
"internalType": "bytes",
|
940
810
|
"name": "registryData",
|
941
811
|
"type": "bytes"
|
942
|
-
}
|
943
|
-
],
|
944
|
-
"name": "initializeComponent",
|
945
|
-
"outputs": [],
|
946
|
-
"stateMutability": "nonpayable",
|
947
|
-
"type": "function"
|
948
|
-
},
|
949
|
-
{
|
950
|
-
"inputs": [
|
951
|
-
{
|
952
|
-
"internalType": "address",
|
953
|
-
"name": "registry",
|
954
|
-
"type": "address"
|
955
|
-
},
|
956
|
-
{
|
957
|
-
"internalType": "NftId",
|
958
|
-
"name": "instanceNftId",
|
959
|
-
"type": "uint96"
|
960
|
-
},
|
961
|
-
{
|
962
|
-
"internalType": "string",
|
963
|
-
"name": "name",
|
964
|
-
"type": "string"
|
965
|
-
},
|
966
|
-
{
|
967
|
-
"internalType": "address",
|
968
|
-
"name": "token",
|
969
|
-
"type": "address"
|
970
|
-
},
|
971
|
-
{
|
972
|
-
"components": [
|
973
|
-
{
|
974
|
-
"internalType": "UFixed",
|
975
|
-
"name": "fractionalFee",
|
976
|
-
"type": "uint256"
|
977
|
-
},
|
978
|
-
{
|
979
|
-
"internalType": "uint256",
|
980
|
-
"name": "fixedFee",
|
981
|
-
"type": "uint256"
|
982
|
-
}
|
983
|
-
],
|
984
|
-
"internalType": "struct Fee",
|
985
|
-
"name": "minDistributionOwnerFee",
|
986
|
-
"type": "tuple"
|
987
|
-
},
|
988
|
-
{
|
989
|
-
"components": [
|
990
|
-
{
|
991
|
-
"internalType": "UFixed",
|
992
|
-
"name": "fractionalFee",
|
993
|
-
"type": "uint256"
|
994
|
-
},
|
995
|
-
{
|
996
|
-
"internalType": "uint256",
|
997
|
-
"name": "fixedFee",
|
998
|
-
"type": "uint256"
|
999
|
-
}
|
1000
|
-
],
|
1001
|
-
"internalType": "struct Fee",
|
1002
|
-
"name": "distributionFee",
|
1003
|
-
"type": "tuple"
|
1004
|
-
},
|
1005
|
-
{
|
1006
|
-
"internalType": "address",
|
1007
|
-
"name": "initialOwner",
|
1008
|
-
"type": "address"
|
1009
812
|
},
|
1010
813
|
{
|
1011
814
|
"internalType": "bytes",
|
1012
|
-
"name": "
|
815
|
+
"name": "componentData",
|
1013
816
|
"type": "bytes"
|
1014
817
|
}
|
1015
818
|
],
|
1016
|
-
"name": "
|
819
|
+
"name": "initializeComponent",
|
1017
820
|
"outputs": [],
|
1018
821
|
"stateMutability": "nonpayable",
|
1019
822
|
"type": "function"
|
@@ -1139,6 +942,19 @@
|
|
1139
942
|
"stateMutability": "view",
|
1140
943
|
"type": "function"
|
1141
944
|
},
|
945
|
+
{
|
946
|
+
"inputs": [],
|
947
|
+
"name": "isRegistered",
|
948
|
+
"outputs": [
|
949
|
+
{
|
950
|
+
"internalType": "bool",
|
951
|
+
"name": "",
|
952
|
+
"type": "bool"
|
953
|
+
}
|
954
|
+
],
|
955
|
+
"stateMutability": "view",
|
956
|
+
"type": "function"
|
957
|
+
},
|
1142
958
|
{
|
1143
959
|
"inputs": [],
|
1144
960
|
"name": "isVerifying",
|
@@ -1149,13 +965,19 @@
|
|
1149
965
|
"type": "bool"
|
1150
966
|
}
|
1151
967
|
],
|
1152
|
-
"stateMutability": "
|
968
|
+
"stateMutability": "pure",
|
1153
969
|
"type": "function"
|
1154
970
|
},
|
1155
971
|
{
|
1156
972
|
"inputs": [],
|
1157
973
|
"name": "linkToRegisteredNftId",
|
1158
|
-
"outputs": [
|
974
|
+
"outputs": [
|
975
|
+
{
|
976
|
+
"internalType": "NftId",
|
977
|
+
"name": "nftId",
|
978
|
+
"type": "uint96"
|
979
|
+
}
|
980
|
+
],
|
1159
981
|
"stateMutability": "nonpayable",
|
1160
982
|
"type": "function"
|
1161
983
|
},
|
@@ -1225,6 +1047,13 @@
|
|
1225
1047
|
"stateMutability": "nonpayable",
|
1226
1048
|
"type": "function"
|
1227
1049
|
},
|
1050
|
+
{
|
1051
|
+
"inputs": [],
|
1052
|
+
"name": "register",
|
1053
|
+
"outputs": [],
|
1054
|
+
"stateMutability": "nonpayable",
|
1055
|
+
"type": "function"
|
1056
|
+
},
|
1228
1057
|
{
|
1229
1058
|
"inputs": [
|
1230
1059
|
{
|
@@ -1251,61 +1080,6 @@
|
|
1251
1080
|
"stateMutability": "nonpayable",
|
1252
1081
|
"type": "function"
|
1253
1082
|
},
|
1254
|
-
{
|
1255
|
-
"inputs": [
|
1256
|
-
{
|
1257
|
-
"components": [
|
1258
|
-
{
|
1259
|
-
"internalType": "UFixed",
|
1260
|
-
"name": "fractionalFee",
|
1261
|
-
"type": "uint256"
|
1262
|
-
},
|
1263
|
-
{
|
1264
|
-
"internalType": "uint256",
|
1265
|
-
"name": "fixedFee",
|
1266
|
-
"type": "uint256"
|
1267
|
-
}
|
1268
|
-
],
|
1269
|
-
"internalType": "struct Fee",
|
1270
|
-
"name": "minDistributionOwnerFee",
|
1271
|
-
"type": "tuple"
|
1272
|
-
},
|
1273
|
-
{
|
1274
|
-
"components": [
|
1275
|
-
{
|
1276
|
-
"internalType": "UFixed",
|
1277
|
-
"name": "fractionalFee",
|
1278
|
-
"type": "uint256"
|
1279
|
-
},
|
1280
|
-
{
|
1281
|
-
"internalType": "uint256",
|
1282
|
-
"name": "fixedFee",
|
1283
|
-
"type": "uint256"
|
1284
|
-
}
|
1285
|
-
],
|
1286
|
-
"internalType": "struct Fee",
|
1287
|
-
"name": "distributionFee",
|
1288
|
-
"type": "tuple"
|
1289
|
-
}
|
1290
|
-
],
|
1291
|
-
"name": "setFees",
|
1292
|
-
"outputs": [],
|
1293
|
-
"stateMutability": "nonpayable",
|
1294
|
-
"type": "function"
|
1295
|
-
},
|
1296
|
-
{
|
1297
|
-
"inputs": [
|
1298
|
-
{
|
1299
|
-
"internalType": "NftId",
|
1300
|
-
"name": "productNftId",
|
1301
|
-
"type": "uint96"
|
1302
|
-
}
|
1303
|
-
],
|
1304
|
-
"name": "setProductNftId",
|
1305
|
-
"outputs": [],
|
1306
|
-
"stateMutability": "nonpayable",
|
1307
|
-
"type": "function"
|
1308
|
-
},
|
1309
1083
|
{
|
1310
1084
|
"inputs": [
|
1311
1085
|
{
|
@@ -1353,18 +1127,38 @@
|
|
1353
1127
|
"type": "uint96"
|
1354
1128
|
},
|
1355
1129
|
{
|
1356
|
-
"internalType": "
|
1357
|
-
"name": "
|
1358
|
-
"type": "
|
1359
|
-
}
|
1130
|
+
"internalType": "Amount",
|
1131
|
+
"name": "amount",
|
1132
|
+
"type": "uint96"
|
1133
|
+
}
|
1134
|
+
],
|
1135
|
+
"name": "withdrawCommission",
|
1136
|
+
"outputs": [
|
1360
1137
|
{
|
1361
|
-
"internalType": "
|
1362
|
-
"name": "
|
1363
|
-
"type": "
|
1138
|
+
"internalType": "Amount",
|
1139
|
+
"name": "withdrawnAmount",
|
1140
|
+
"type": "uint96"
|
1141
|
+
}
|
1142
|
+
],
|
1143
|
+
"stateMutability": "nonpayable",
|
1144
|
+
"type": "function"
|
1145
|
+
},
|
1146
|
+
{
|
1147
|
+
"inputs": [
|
1148
|
+
{
|
1149
|
+
"internalType": "Amount",
|
1150
|
+
"name": "amount",
|
1151
|
+
"type": "uint96"
|
1152
|
+
}
|
1153
|
+
],
|
1154
|
+
"name": "withdrawFees",
|
1155
|
+
"outputs": [
|
1156
|
+
{
|
1157
|
+
"internalType": "Amount",
|
1158
|
+
"name": "withdrawnAmount",
|
1159
|
+
"type": "uint96"
|
1364
1160
|
}
|
1365
1161
|
],
|
1366
|
-
"name": "updateDistributorType",
|
1367
|
-
"outputs": [],
|
1368
1162
|
"stateMutability": "nonpayable",
|
1369
1163
|
"type": "function"
|
1370
1164
|
}
|