@etherisc/gif-next 0.0.2-eadf4ad-726 → 0.0.2-eae5e95-691
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 +1293 -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 +414 -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 +1060 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1415 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +230 -545
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +315 -432
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +120 -109
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +214 -290
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +215 -94
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1551 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2090 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1484 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1244 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2108 -0
- 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 +113 -97
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +171 -85
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +120 -207
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +850 -366
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +245 -229
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +106 -79
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1212 -381
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -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 +1052 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -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 +783 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +920 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1312 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +494 -317
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +186 -87
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +256 -31
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +235 -375
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -254
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +269 -565
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +572 -569
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +112 -93
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +117 -264
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +99 -76
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1186 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +329 -284
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +141 -90
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +54 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +196 -7
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +354 -80
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +154 -86
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +355 -209
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +44 -57
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +418 -397
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +124 -121
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +233 -330
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -93
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +377 -431
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +391 -45
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +123 -64
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +0 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +789 -60
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +179 -185
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +86 -74
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -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 +136 -271
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1335 -198
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +474 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +105 -114
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +46 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +36 -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 +49 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +842 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -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 +26 -55
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +68 -85
- 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 +55 -101
- 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 +1460 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +573 -53
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1901 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +658 -176
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +109 -66
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +121 -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 +28 -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 +19 -19
- 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 +60 -4
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -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 +71 -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 +602 -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 +596 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +289 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +137 -0
- package/contracts/authorization/IAuthorization.sol +60 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ReleaseAccessManager.sol +38 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +139 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +154 -154
- package/contracts/distribution/DistributionService.sol +175 -172
- package/contracts/distribution/DistributionServiceManager.sol +8 -23
- package/contracts/distribution/IDistributionComponent.sol +28 -47
- package/contracts/distribution/IDistributionService.sol +24 -10
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +75 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +412 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
- package/contracts/instance/IInstance.sol +33 -44
- package/contracts/instance/IInstanceService.sol +32 -33
- package/contracts/instance/Instance.sol +131 -122
- package/contracts/instance/InstanceAdmin.sol +277 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
- package/contracts/instance/InstanceReader.sol +194 -67
- package/contracts/instance/InstanceService.sol +243 -134
- package/contracts/instance/InstanceServiceManager.sol +8 -13
- package/contracts/instance/InstanceStore.sol +142 -66
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +2 -25
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
- package/contracts/instance/module/IAccess.sol +2 -10
- package/contracts/instance/module/IBundle.sol +1 -4
- package/contracts/instance/module/IComponents.sol +21 -11
- package/contracts/instance/module/IDistribution.sol +0 -1
- package/contracts/instance/module/IPolicy.sol +31 -25
- package/contracts/mock/Dip.sol +26 -0
- package/contracts/oracle/BasicOracle.sol +47 -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 +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +291 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +154 -0
- package/contracts/pool/BasicPoolAuthorization.sol +57 -0
- package/contracts/pool/BundleService.sol +278 -201
- package/contracts/pool/BundleServiceManager.sol +8 -11
- package/contracts/pool/IBundleService.sol +44 -19
- package/contracts/pool/IPoolComponent.sol +27 -73
- package/contracts/pool/IPoolService.sol +93 -40
- package/contracts/pool/Pool.sol +186 -153
- package/contracts/pool/PoolService.sol +357 -236
- package/contracts/pool/PoolServiceManager.sol +6 -9
- package/contracts/product/ApplicationService.sol +148 -84
- package/contracts/product/ApplicationServiceManager.sol +6 -6
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +42 -0
- package/contracts/product/ClaimService.sol +293 -145
- package/contracts/product/ClaimServiceManager.sol +6 -6
- package/contracts/product/IApplicationService.sol +2 -1
- package/contracts/product/IClaimService.sol +35 -5
- package/contracts/product/IPolicyService.sol +38 -38
- package/contracts/product/IPricingService.sol +13 -11
- package/contracts/product/IProductComponent.sol +28 -10
- package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -9
- package/contracts/product/PolicyService.sol +504 -199
- package/contracts/product/PolicyServiceManager.sol +6 -9
- package/contracts/product/PricingService.sol +103 -82
- package/contracts/product/PricingServiceManager.sol +5 -8
- package/contracts/product/Product.sol +222 -146
- package/contracts/product/RiskService.sol +96 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -36
- package/contracts/registry/IRegistry.sol +85 -22
- package/contracts/registry/IRegistryService.sol +10 -6
- package/contracts/registry/ITransferInterceptor.sol +0 -1
- package/contracts/registry/Registry.sol +433 -187
- package/contracts/registry/RegistryAdmin.sol +448 -0
- package/contracts/registry/RegistryService.sol +76 -66
- package/contracts/registry/RegistryServiceManager.sol +6 -25
- package/contracts/registry/ReleaseLifecycle.sol +30 -0
- package/contracts/registry/ReleaseRegistry.sol +501 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
- package/contracts/registry/TokenRegistry.sol +261 -62
- package/contracts/shared/Component.sol +153 -148
- package/contracts/shared/ComponentService.sol +688 -94
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +126 -0
- package/contracts/shared/ContractLib.sol +38 -0
- package/contracts/shared/IComponent.sol +25 -41
- package/contracts/shared/IComponentService.sol +120 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +3 -1
- package/contracts/shared/IPolicyHolder.sol +12 -17
- package/contracts/shared/IRegisterable.sol +11 -0
- package/contracts/shared/IService.sol +9 -2
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
- package/contracts/shared/InstanceLinkedComponent.sol +213 -0
- package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +27 -22
- package/contracts/shared/PolicyHolder.sol +18 -50
- package/contracts/shared/Registerable.sol +21 -11
- package/contracts/shared/RegistryLinked.sol +3 -2
- package/contracts/shared/Service.sol +48 -36
- package/contracts/shared/TokenHandler.sol +112 -8
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +103 -48
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +497 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +273 -49
- package/contracts/staking/StakingServiceManager.sol +11 -7
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +44 -3
- package/contracts/type/Blocknumber.sol +26 -3
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +17 -16
- package/contracts/type/NftId.sol +15 -16
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +176 -62
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +16 -2
- package/contracts/type/RoleId.sol +98 -75
- package/contracts/type/Seconds.sol +48 -1
- package/contracts/type/Selector.sol +102 -0
- package/contracts/type/StateId.sol +41 -2
- package/contracts/type/String.sol +53 -0
- package/contracts/type/Timestamp.sol +17 -3
- package/contracts/type/UFixed.sol +38 -9
- package/contracts/type/Version.sol +4 -2
- package/contracts/{shared → upgradeability}/ProxyManager.sol +76 -39
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
- package/package.json +9 -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/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/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -679
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -238
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -846
- 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 -598
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/contracts/instance/InstanceAccessManager.sol +0 -543
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
- package/contracts/instance/base/Lifecycle.sol +0 -121
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/product/ProductService.sol +0 -212
- package/contracts/product/ProductServiceManager.sol +0 -42
- package/contracts/registry/RegistryAccessManager.sol +0 -132
- package/contracts/registry/ReleaseManager.sol +0 -382
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -42,63 +42,39 @@
|
|
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",
|
45
|
+
"inputs": [],
|
46
|
+
"name": "ErrorComponentNameLengthZero",
|
53
47
|
"type": "error"
|
54
48
|
},
|
55
49
|
{
|
56
50
|
"inputs": [
|
57
51
|
{
|
58
52
|
"internalType": "address",
|
59
|
-
"name": "
|
53
|
+
"name": "caller",
|
60
54
|
"type": "address"
|
61
55
|
}
|
62
56
|
],
|
63
|
-
"name": "
|
57
|
+
"name": "ErrorComponentNotChainNft",
|
64
58
|
"type": "error"
|
65
59
|
},
|
66
60
|
{
|
67
|
-
"inputs": [
|
68
|
-
|
69
|
-
"internalType": "address",
|
70
|
-
"name": "caller",
|
71
|
-
"type": "address"
|
72
|
-
}
|
73
|
-
],
|
74
|
-
"name": "ErrorComponentNotChainNft",
|
61
|
+
"inputs": [],
|
62
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
75
63
|
"type": "error"
|
76
64
|
},
|
77
65
|
{
|
78
|
-
"inputs": [
|
79
|
-
|
80
|
-
"internalType": "NftId",
|
81
|
-
"name": "instanceNftId",
|
82
|
-
"type": "uint96"
|
83
|
-
}
|
84
|
-
],
|
85
|
-
"name": "ErrorComponentNotInstance",
|
66
|
+
"inputs": [],
|
67
|
+
"name": "ErrorComponentProductNftIdZero",
|
86
68
|
"type": "error"
|
87
69
|
},
|
88
70
|
{
|
89
|
-
"inputs": [
|
90
|
-
|
91
|
-
"internalType": "address",
|
92
|
-
"name": "caller",
|
93
|
-
"type": "address"
|
94
|
-
}
|
95
|
-
],
|
96
|
-
"name": "ErrorComponentNotProductService",
|
71
|
+
"inputs": [],
|
72
|
+
"name": "ErrorComponentTokenAddressNonzero",
|
97
73
|
"type": "error"
|
98
74
|
},
|
99
75
|
{
|
100
76
|
"inputs": [],
|
101
|
-
"name": "
|
77
|
+
"name": "ErrorComponentTokenAddressZero",
|
102
78
|
"type": "error"
|
103
79
|
},
|
104
80
|
{
|
@@ -111,51 +87,68 @@
|
|
111
87
|
"name": "ErrorComponentWalletAddressZero",
|
112
88
|
"type": "error"
|
113
89
|
},
|
90
|
+
{
|
91
|
+
"inputs": [],
|
92
|
+
"name": "ErrorComponentWalletNotComponent",
|
93
|
+
"type": "error"
|
94
|
+
},
|
114
95
|
{
|
115
96
|
"inputs": [
|
116
97
|
{
|
117
98
|
"internalType": "address",
|
118
|
-
"name": "
|
99
|
+
"name": "distributor",
|
119
100
|
"type": "address"
|
120
101
|
},
|
102
|
+
{
|
103
|
+
"internalType": "NftId",
|
104
|
+
"name": "distributorNftId",
|
105
|
+
"type": "uint96"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"name": "ErrorDistributionAlreadyDistributor",
|
109
|
+
"type": "error"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"inputs": [
|
121
113
|
{
|
122
114
|
"internalType": "address",
|
123
|
-
"name": "
|
115
|
+
"name": "distributor",
|
124
116
|
"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
117
|
}
|
136
118
|
],
|
137
|
-
"name": "
|
119
|
+
"name": "ErrorDistributionNotDistributor",
|
138
120
|
"type": "error"
|
139
121
|
},
|
140
122
|
{
|
141
|
-
"inputs": [
|
142
|
-
|
123
|
+
"inputs": [
|
124
|
+
{
|
125
|
+
"internalType": "NftId",
|
126
|
+
"name": "nftId",
|
127
|
+
"type": "uint96"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"internalType": "ObjectType",
|
131
|
+
"name": "objectType",
|
132
|
+
"type": "uint8"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
143
136
|
"type": "error"
|
144
137
|
},
|
145
138
|
{
|
146
139
|
"inputs": [
|
147
140
|
{
|
148
|
-
"internalType": "
|
149
|
-
"name": "
|
150
|
-
"type": "
|
141
|
+
"internalType": "ObjectType",
|
142
|
+
"name": "requiredType",
|
143
|
+
"type": "uint8"
|
151
144
|
},
|
152
145
|
{
|
153
|
-
"internalType": "
|
154
|
-
"name": "
|
155
|
-
"type": "
|
146
|
+
"internalType": "ObjectType",
|
147
|
+
"name": "objectType",
|
148
|
+
"type": "uint8"
|
156
149
|
}
|
157
150
|
],
|
158
|
-
"name": "
|
151
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
159
152
|
"type": "error"
|
160
153
|
},
|
161
154
|
{
|
@@ -185,6 +178,22 @@
|
|
185
178
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
186
179
|
"type": "error"
|
187
180
|
},
|
181
|
+
{
|
182
|
+
"inputs": [
|
183
|
+
{
|
184
|
+
"internalType": "NftId",
|
185
|
+
"name": "nftId",
|
186
|
+
"type": "uint96"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"internalType": "ObjectType",
|
190
|
+
"name": "expectedObjectType",
|
191
|
+
"type": "uint8"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
"name": "ErrorNftOwnableInvalidType",
|
195
|
+
"type": "error"
|
196
|
+
},
|
188
197
|
{
|
189
198
|
"inputs": [
|
190
199
|
{
|
@@ -207,11 +216,6 @@
|
|
207
216
|
"name": "ErrorNotRegistry",
|
208
217
|
"type": "error"
|
209
218
|
},
|
210
|
-
{
|
211
|
-
"inputs": [],
|
212
|
-
"name": "FailedInnerCall",
|
213
|
-
"type": "error"
|
214
|
-
},
|
215
219
|
{
|
216
220
|
"inputs": [],
|
217
221
|
"name": "InvalidInitialization",
|
@@ -222,17 +226,6 @@
|
|
222
226
|
"name": "NotInitializing",
|
223
227
|
"type": "error"
|
224
228
|
},
|
225
|
-
{
|
226
|
-
"inputs": [
|
227
|
-
{
|
228
|
-
"internalType": "address",
|
229
|
-
"name": "token",
|
230
|
-
"type": "address"
|
231
|
-
}
|
232
|
-
],
|
233
|
-
"name": "SafeERC20FailedOperation",
|
234
|
-
"type": "error"
|
235
|
-
},
|
236
229
|
{
|
237
230
|
"anonymous": false,
|
238
231
|
"inputs": [
|
@@ -264,9 +257,21 @@
|
|
264
257
|
"inputs": [
|
265
258
|
{
|
266
259
|
"indexed": false,
|
267
|
-
"internalType": "
|
260
|
+
"internalType": "address",
|
261
|
+
"name": "token",
|
262
|
+
"type": "address"
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"indexed": false,
|
266
|
+
"internalType": "Amount",
|
268
267
|
"name": "limit",
|
269
|
-
"type": "
|
268
|
+
"type": "uint96"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"indexed": false,
|
272
|
+
"internalType": "bool",
|
273
|
+
"name": "isMaxAmount",
|
274
|
+
"type": "bool"
|
270
275
|
}
|
271
276
|
],
|
272
277
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -361,6 +366,32 @@
|
|
361
366
|
"stateMutability": "view",
|
362
367
|
"type": "function"
|
363
368
|
},
|
369
|
+
{
|
370
|
+
"inputs": [],
|
371
|
+
"name": "GIF_RELEASE",
|
372
|
+
"outputs": [
|
373
|
+
{
|
374
|
+
"internalType": "uint256",
|
375
|
+
"name": "",
|
376
|
+
"type": "uint256"
|
377
|
+
}
|
378
|
+
],
|
379
|
+
"stateMutability": "view",
|
380
|
+
"type": "function"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"inputs": [],
|
384
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
385
|
+
"outputs": [
|
386
|
+
{
|
387
|
+
"internalType": "bytes32",
|
388
|
+
"name": "",
|
389
|
+
"type": "bytes32"
|
390
|
+
}
|
391
|
+
],
|
392
|
+
"stateMutability": "view",
|
393
|
+
"type": "function"
|
394
|
+
},
|
364
395
|
{
|
365
396
|
"inputs": [],
|
366
397
|
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
@@ -390,9 +421,27 @@
|
|
390
421
|
{
|
391
422
|
"inputs": [
|
392
423
|
{
|
393
|
-
"internalType": "
|
424
|
+
"internalType": "address",
|
425
|
+
"name": "token",
|
426
|
+
"type": "address"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"internalType": "Amount",
|
394
430
|
"name": "spendingLimitAmount",
|
395
|
-
"type": "
|
431
|
+
"type": "uint96"
|
432
|
+
}
|
433
|
+
],
|
434
|
+
"name": "approveTokenHandler",
|
435
|
+
"outputs": [],
|
436
|
+
"stateMutability": "nonpayable",
|
437
|
+
"type": "function"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"inputs": [
|
441
|
+
{
|
442
|
+
"internalType": "Amount",
|
443
|
+
"name": "spendingLimitAmount",
|
444
|
+
"type": "uint96"
|
396
445
|
}
|
397
446
|
],
|
398
447
|
"name": "approveTokenHandler",
|
@@ -438,91 +487,16 @@
|
|
438
487
|
"type": "function"
|
439
488
|
},
|
440
489
|
{
|
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",
|
490
|
+
"inputs": [],
|
491
|
+
"name": "getAuthorization",
|
518
492
|
"outputs": [
|
519
493
|
{
|
520
|
-
"internalType": "
|
521
|
-
"name": "
|
522
|
-
"type": "
|
494
|
+
"internalType": "contract IAuthorization",
|
495
|
+
"name": "authorization",
|
496
|
+
"type": "address"
|
523
497
|
}
|
524
498
|
],
|
525
|
-
"stateMutability": "
|
499
|
+
"stateMutability": "view",
|
526
500
|
"type": "function"
|
527
501
|
},
|
528
502
|
{
|
@@ -551,16 +525,6 @@
|
|
551
525
|
"name": "wallet",
|
552
526
|
"type": "address"
|
553
527
|
},
|
554
|
-
{
|
555
|
-
"internalType": "Amount",
|
556
|
-
"name": "balanceAmount",
|
557
|
-
"type": "uint96"
|
558
|
-
},
|
559
|
-
{
|
560
|
-
"internalType": "Amount",
|
561
|
-
"name": "feeAmount",
|
562
|
-
"type": "uint96"
|
563
|
-
},
|
564
528
|
{
|
565
529
|
"internalType": "bytes",
|
566
530
|
"name": "data",
|
@@ -600,44 +564,59 @@
|
|
600
564
|
"type": "function"
|
601
565
|
},
|
602
566
|
{
|
603
|
-
"inputs": [
|
604
|
-
|
567
|
+
"inputs": [
|
568
|
+
{
|
569
|
+
"internalType": "address",
|
570
|
+
"name": "distributor",
|
571
|
+
"type": "address"
|
572
|
+
}
|
573
|
+
],
|
574
|
+
"name": "getDistributorNftId",
|
605
575
|
"outputs": [
|
606
576
|
{
|
607
|
-
"
|
608
|
-
|
609
|
-
|
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"
|
577
|
+
"internalType": "NftId",
|
578
|
+
"name": "distributorNftId",
|
579
|
+
"type": "uint96"
|
622
580
|
}
|
623
581
|
],
|
624
582
|
"stateMutability": "view",
|
625
583
|
"type": "function"
|
626
584
|
},
|
627
585
|
{
|
628
|
-
"inputs": [
|
629
|
-
|
630
|
-
"internalType": "address",
|
631
|
-
"name": "distributor",
|
632
|
-
"type": "address"
|
633
|
-
}
|
634
|
-
],
|
635
|
-
"name": "getDistributorNftId",
|
586
|
+
"inputs": [],
|
587
|
+
"name": "getInitialComponentInfo",
|
636
588
|
"outputs": [
|
637
589
|
{
|
638
|
-
"
|
639
|
-
|
640
|
-
|
590
|
+
"components": [
|
591
|
+
{
|
592
|
+
"internalType": "string",
|
593
|
+
"name": "name",
|
594
|
+
"type": "string"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"internalType": "contract IERC20Metadata",
|
598
|
+
"name": "token",
|
599
|
+
"type": "address"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"internalType": "contract TokenHandler",
|
603
|
+
"name": "tokenHandler",
|
604
|
+
"type": "address"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"internalType": "address",
|
608
|
+
"name": "wallet",
|
609
|
+
"type": "address"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"internalType": "bytes",
|
613
|
+
"name": "data",
|
614
|
+
"type": "bytes"
|
615
|
+
}
|
616
|
+
],
|
617
|
+
"internalType": "struct IComponents.ComponentInfo",
|
618
|
+
"name": "info",
|
619
|
+
"type": "tuple"
|
641
620
|
}
|
642
621
|
],
|
643
622
|
"stateMutability": "view",
|
@@ -745,19 +724,6 @@
|
|
745
724
|
"stateMutability": "view",
|
746
725
|
"type": "function"
|
747
726
|
},
|
748
|
-
{
|
749
|
-
"inputs": [],
|
750
|
-
"name": "getProductNftId",
|
751
|
-
"outputs": [
|
752
|
-
{
|
753
|
-
"internalType": "NftId",
|
754
|
-
"name": "productNftId",
|
755
|
-
"type": "uint96"
|
756
|
-
}
|
757
|
-
],
|
758
|
-
"stateMutability": "view",
|
759
|
-
"type": "function"
|
760
|
-
},
|
761
727
|
{
|
762
728
|
"inputs": [
|
763
729
|
{
|
@@ -792,71 +758,15 @@
|
|
792
758
|
},
|
793
759
|
{
|
794
760
|
"inputs": [],
|
795
|
-
"name": "
|
761
|
+
"name": "getRelease",
|
796
762
|
"outputs": [
|
797
763
|
{
|
798
|
-
"
|
799
|
-
|
800
|
-
|
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"
|
764
|
+
"internalType": "VersionPart",
|
765
|
+
"name": "release",
|
766
|
+
"type": "uint8"
|
857
767
|
}
|
858
768
|
],
|
859
|
-
"stateMutability": "
|
769
|
+
"stateMutability": "pure",
|
860
770
|
"type": "function"
|
861
771
|
},
|
862
772
|
{
|
@@ -898,202 +808,6 @@
|
|
898
808
|
"stateMutability": "view",
|
899
809
|
"type": "function"
|
900
810
|
},
|
901
|
-
{
|
902
|
-
"inputs": [
|
903
|
-
{
|
904
|
-
"internalType": "address",
|
905
|
-
"name": "registry",
|
906
|
-
"type": "address"
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"internalType": "NftId",
|
910
|
-
"name": "instanceNftId",
|
911
|
-
"type": "uint96"
|
912
|
-
},
|
913
|
-
{
|
914
|
-
"internalType": "string",
|
915
|
-
"name": "name",
|
916
|
-
"type": "string"
|
917
|
-
},
|
918
|
-
{
|
919
|
-
"internalType": "address",
|
920
|
-
"name": "token",
|
921
|
-
"type": "address"
|
922
|
-
},
|
923
|
-
{
|
924
|
-
"internalType": "ObjectType",
|
925
|
-
"name": "componentType",
|
926
|
-
"type": "uint8"
|
927
|
-
},
|
928
|
-
{
|
929
|
-
"internalType": "bool",
|
930
|
-
"name": "isInterceptor",
|
931
|
-
"type": "bool"
|
932
|
-
},
|
933
|
-
{
|
934
|
-
"internalType": "address",
|
935
|
-
"name": "initialOwner",
|
936
|
-
"type": "address"
|
937
|
-
},
|
938
|
-
{
|
939
|
-
"internalType": "bytes",
|
940
|
-
"name": "registryData",
|
941
|
-
"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
|
-
},
|
1010
|
-
{
|
1011
|
-
"internalType": "bytes",
|
1012
|
-
"name": "registryData",
|
1013
|
-
"type": "bytes"
|
1014
|
-
}
|
1015
|
-
],
|
1016
|
-
"name": "initializeDistribution",
|
1017
|
-
"outputs": [],
|
1018
|
-
"stateMutability": "nonpayable",
|
1019
|
-
"type": "function"
|
1020
|
-
},
|
1021
|
-
{
|
1022
|
-
"inputs": [],
|
1023
|
-
"name": "initializeERC165",
|
1024
|
-
"outputs": [],
|
1025
|
-
"stateMutability": "nonpayable",
|
1026
|
-
"type": "function"
|
1027
|
-
},
|
1028
|
-
{
|
1029
|
-
"inputs": [
|
1030
|
-
{
|
1031
|
-
"internalType": "address",
|
1032
|
-
"name": "initialOwner",
|
1033
|
-
"type": "address"
|
1034
|
-
},
|
1035
|
-
{
|
1036
|
-
"internalType": "address",
|
1037
|
-
"name": "registryAddress",
|
1038
|
-
"type": "address"
|
1039
|
-
}
|
1040
|
-
],
|
1041
|
-
"name": "initializeNftOwnable",
|
1042
|
-
"outputs": [],
|
1043
|
-
"stateMutability": "nonpayable",
|
1044
|
-
"type": "function"
|
1045
|
-
},
|
1046
|
-
{
|
1047
|
-
"inputs": [
|
1048
|
-
{
|
1049
|
-
"internalType": "address",
|
1050
|
-
"name": "registryAddress",
|
1051
|
-
"type": "address"
|
1052
|
-
},
|
1053
|
-
{
|
1054
|
-
"internalType": "NftId",
|
1055
|
-
"name": "parentNftId",
|
1056
|
-
"type": "uint96"
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"internalType": "ObjectType",
|
1060
|
-
"name": "objectType",
|
1061
|
-
"type": "uint8"
|
1062
|
-
},
|
1063
|
-
{
|
1064
|
-
"internalType": "bool",
|
1065
|
-
"name": "isInterceptor",
|
1066
|
-
"type": "bool"
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"internalType": "address",
|
1070
|
-
"name": "initialOwner",
|
1071
|
-
"type": "address"
|
1072
|
-
},
|
1073
|
-
{
|
1074
|
-
"internalType": "bytes",
|
1075
|
-
"name": "registryData",
|
1076
|
-
"type": "bytes"
|
1077
|
-
}
|
1078
|
-
],
|
1079
|
-
"name": "initializeRegisterable",
|
1080
|
-
"outputs": [],
|
1081
|
-
"stateMutability": "nonpayable",
|
1082
|
-
"type": "function"
|
1083
|
-
},
|
1084
|
-
{
|
1085
|
-
"inputs": [
|
1086
|
-
{
|
1087
|
-
"internalType": "address",
|
1088
|
-
"name": "registryAddress",
|
1089
|
-
"type": "address"
|
1090
|
-
}
|
1091
|
-
],
|
1092
|
-
"name": "initializeRegistryLinked",
|
1093
|
-
"outputs": [],
|
1094
|
-
"stateMutability": "nonpayable",
|
1095
|
-
"type": "function"
|
1096
|
-
},
|
1097
811
|
{
|
1098
812
|
"inputs": [],
|
1099
813
|
"name": "isConsumingScheduledOp",
|
@@ -1139,6 +853,19 @@
|
|
1139
853
|
"stateMutability": "view",
|
1140
854
|
"type": "function"
|
1141
855
|
},
|
856
|
+
{
|
857
|
+
"inputs": [],
|
858
|
+
"name": "isRegistered",
|
859
|
+
"outputs": [
|
860
|
+
{
|
861
|
+
"internalType": "bool",
|
862
|
+
"name": "",
|
863
|
+
"type": "bool"
|
864
|
+
}
|
865
|
+
],
|
866
|
+
"stateMutability": "view",
|
867
|
+
"type": "function"
|
868
|
+
},
|
1142
869
|
{
|
1143
870
|
"inputs": [],
|
1144
871
|
"name": "isVerifying",
|
@@ -1149,13 +876,19 @@
|
|
1149
876
|
"type": "bool"
|
1150
877
|
}
|
1151
878
|
],
|
1152
|
-
"stateMutability": "
|
879
|
+
"stateMutability": "pure",
|
1153
880
|
"type": "function"
|
1154
881
|
},
|
1155
882
|
{
|
1156
883
|
"inputs": [],
|
1157
884
|
"name": "linkToRegisteredNftId",
|
1158
|
-
"outputs": [
|
885
|
+
"outputs": [
|
886
|
+
{
|
887
|
+
"internalType": "NftId",
|
888
|
+
"name": "nftId",
|
889
|
+
"type": "uint96"
|
890
|
+
}
|
891
|
+
],
|
1159
892
|
"stateMutability": "nonpayable",
|
1160
893
|
"type": "function"
|
1161
894
|
},
|
@@ -1225,19 +958,6 @@
|
|
1225
958
|
"stateMutability": "nonpayable",
|
1226
959
|
"type": "function"
|
1227
960
|
},
|
1228
|
-
{
|
1229
|
-
"inputs": [
|
1230
|
-
{
|
1231
|
-
"internalType": "bytes4",
|
1232
|
-
"name": "interfaceId",
|
1233
|
-
"type": "bytes4"
|
1234
|
-
}
|
1235
|
-
],
|
1236
|
-
"name": "registerInterface",
|
1237
|
-
"outputs": [],
|
1238
|
-
"stateMutability": "nonpayable",
|
1239
|
-
"type": "function"
|
1240
|
-
},
|
1241
961
|
{
|
1242
962
|
"inputs": [
|
1243
963
|
{
|
@@ -1251,61 +971,6 @@
|
|
1251
971
|
"stateMutability": "nonpayable",
|
1252
972
|
"type": "function"
|
1253
973
|
},
|
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
974
|
{
|
1310
975
|
"inputs": [
|
1311
976
|
{
|
@@ -1353,18 +1018,38 @@
|
|
1353
1018
|
"type": "uint96"
|
1354
1019
|
},
|
1355
1020
|
{
|
1356
|
-
"internalType": "
|
1357
|
-
"name": "
|
1358
|
-
"type": "
|
1359
|
-
}
|
1021
|
+
"internalType": "Amount",
|
1022
|
+
"name": "amount",
|
1023
|
+
"type": "uint96"
|
1024
|
+
}
|
1025
|
+
],
|
1026
|
+
"name": "withdrawCommission",
|
1027
|
+
"outputs": [
|
1360
1028
|
{
|
1361
|
-
"internalType": "
|
1362
|
-
"name": "
|
1363
|
-
"type": "
|
1029
|
+
"internalType": "Amount",
|
1030
|
+
"name": "withdrawnAmount",
|
1031
|
+
"type": "uint96"
|
1032
|
+
}
|
1033
|
+
],
|
1034
|
+
"stateMutability": "nonpayable",
|
1035
|
+
"type": "function"
|
1036
|
+
},
|
1037
|
+
{
|
1038
|
+
"inputs": [
|
1039
|
+
{
|
1040
|
+
"internalType": "Amount",
|
1041
|
+
"name": "amount",
|
1042
|
+
"type": "uint96"
|
1043
|
+
}
|
1044
|
+
],
|
1045
|
+
"name": "withdrawFees",
|
1046
|
+
"outputs": [
|
1047
|
+
{
|
1048
|
+
"internalType": "Amount",
|
1049
|
+
"name": "withdrawnAmount",
|
1050
|
+
"type": "uint96"
|
1364
1051
|
}
|
1365
1052
|
],
|
1366
|
-
"name": "updateDistributorType",
|
1367
|
-
"outputs": [],
|
1368
1053
|
"stateMutability": "nonpayable",
|
1369
1054
|
"type": "function"
|
1370
1055
|
}
|