@etherisc/gif-next 0.0.2-e9a637d-547 → 0.0.2-e9c25ee-730
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +136 -22
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1672 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1255 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -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 +1322 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +285 -324
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1633 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +896 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +274 -275
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +339 -329
- 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 +1445 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +1388 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +596 -94
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +367 -106
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +585 -207
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2366 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1985 -576
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +378 -425
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +163 -174
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1927 -876
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -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 +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -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 +753 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +302 -175
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +253 -241
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +320 -465
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +289 -68
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +609 -223
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +368 -426
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +455 -482
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +180 -163
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +95 -65
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +349 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -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 +483 -29
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +286 -109
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +982 -137
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2195 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +361 -250
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +174 -109
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2160 -0
- 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 +1393 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +265 -186
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +142 -132
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +616 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +137 -131
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -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 +19 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +144 -3
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +69 -5
- 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 +776 -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 +28 -70
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -100
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +66 -109
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → staking/IStaking.sol/IStaking.json} +749 -587
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -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 +792 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -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/accounting/AccountingService.sol +262 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +45 -0
- package/contracts/authorization/AccessAdmin.sol +875 -0
- package/contracts/authorization/AccessAdminLib.sol +379 -0
- package/contracts/authorization/AccessManagerCloneable.sol +158 -0
- package/contracts/authorization/Authorization.sol +261 -0
- package/contracts/authorization/IAccess.sol +67 -0
- package/contracts/authorization/IAccessAdmin.sol +136 -0
- package/contracts/authorization/IAuthorization.sol +27 -0
- package/contracts/authorization/IServiceAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +320 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
- package/contracts/distribution/Distribution.sol +245 -0
- package/contracts/distribution/DistributionService.sol +440 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +50 -0
- package/contracts/distribution/IDistributionService.sol +109 -0
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +86 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +433 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +117 -38
- package/contracts/instance/IInstanceService.sol +71 -50
- package/contracts/instance/Instance.sol +252 -110
- package/contracts/instance/InstanceAdmin.sol +569 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +262 -0
- package/contracts/instance/InstanceReader.sol +528 -82
- package/contracts/instance/InstanceService.sol +385 -391
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +174 -95
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +113 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +9 -11
- package/contracts/instance/module/IComponents.sol +44 -23
- package/contracts/instance/module/IDistribution.sol +25 -12
- package/contracts/instance/module/IPolicy.sol +71 -38
- package/contracts/instance/module/IRisk.sol +6 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +45 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
- package/contracts/oracle/IOracle.sol +41 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +154 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +173 -0
- package/contracts/pool/BasicPoolAuthorization.sol +82 -0
- package/contracts/pool/BundleService.sol +395 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/{instance/service → pool}/IBundleService.sol +52 -30
- package/contracts/pool/IPoolComponent.sol +62 -0
- package/contracts/pool/IPoolService.sol +165 -0
- package/contracts/pool/Pool.sol +343 -0
- package/contracts/pool/PoolLib.sol +260 -0
- package/contracts/pool/PoolService.sol +733 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +274 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +61 -0
- package/contracts/product/ClaimService.sol +630 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +22 -35
- package/contracts/product/IClaimService.sol +135 -0
- package/contracts/product/IPolicyService.sol +95 -0
- package/contracts/product/IPricingService.sol +40 -0
- package/contracts/product/IProductComponent.sol +62 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +664 -0
- package/contracts/product/PolicyServiceLib.sol +86 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +309 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +467 -0
- package/contracts/product/RiskService.sol +154 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +79 -40
- package/contracts/registry/IRegistry.sol +99 -30
- package/contracts/registry/IRegistryService.sol +34 -40
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +460 -197
- package/contracts/registry/RegistryAdmin.sol +291 -0
- package/contracts/registry/RegistryAuthorization.sol +277 -0
- package/contracts/registry/RegistryService.sol +89 -130
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseAdmin.sol +268 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +517 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +341 -0
- package/contracts/registry/TokenRegistry.sol +264 -64
- package/contracts/shared/Component.sol +210 -0
- package/contracts/shared/ComponentService.sol +708 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +128 -0
- package/contracts/shared/ContractLib.sol +292 -0
- package/contracts/shared/IComponent.sol +58 -0
- package/contracts/shared/IComponentService.sol +112 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +4 -2
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegisterable.sol +23 -1
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +13 -5
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
- package/contracts/shared/InstanceLinkedComponent.sol +195 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +34 -27
- package/contracts/shared/PolicyHolder.sol +22 -41
- package/contracts/shared/Registerable.sol +52 -20
- package/contracts/shared/RegistryLinked.sol +9 -19
- package/contracts/shared/Service.sol +34 -40
- package/contracts/shared/TokenHandler.sol +322 -13
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +179 -0
- package/contracts/staking/IStakingService.sol +172 -0
- package/contracts/staking/Staking.sol +546 -0
- package/contracts/staking/StakingLib.sol +281 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +180 -0
- package/contracts/staking/StakingService.sol +464 -0
- package/contracts/staking/StakingServiceManager.sol +45 -0
- package/contracts/staking/StakingStore.sol +606 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +150 -0
- package/contracts/{types → type}/Blocknumber.sol +26 -3
- package/contracts/{types → type}/ClaimId.sol +31 -3
- package/contracts/{types → type}/Fee.sol +28 -26
- package/contracts/{types → type}/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/{types → type}/NftId.sol +21 -16
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +307 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +75 -0
- package/contracts/type/RoleId.sol +180 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +47 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +20 -6
- package/contracts/type/UFixed.sol +262 -0
- package/contracts/{types → type}/Version.sol +58 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +104 -39
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +7 -4
- package/package.json +12 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- 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/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -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/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
- 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/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
- 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/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/Component.sol +0 -253
- package/contracts/components/Distribution.sol +0 -280
- package/contracts/components/IComponent.sol +0 -76
- package/contracts/components/IDistributionComponent.sol +0 -71
- package/contracts/components/IPoolComponent.sol +0 -113
- package/contracts/components/IProductComponent.sol +0 -40
- package/contracts/components/Pool.sol +0 -303
- package/contracts/components/Product.sol +0 -293
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/instance/BundleManager.sol +0 -127
- package/contracts/instance/Cloneable.sol +0 -51
- package/contracts/instance/InstanceAccessManager.sol +0 -540
- package/contracts/instance/ObjectManager.sol +0 -82
- package/contracts/instance/base/ComponentService.sol +0 -121
- package/contracts/instance/base/KeyValueStore.sol +0 -180
- package/contracts/instance/base/Lifecycle.sol +0 -109
- package/contracts/instance/module/IAccess.sol +0 -54
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -351
- package/contracts/instance/service/BundleService.sol +0 -431
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -151
- package/contracts/instance/service/DistributionService.sol +0 -437
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IDistributionService.sol +0 -99
- package/contracts/instance/service/IPolicyService.sol +0 -72
- package/contracts/instance/service/IPoolService.sol +0 -99
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -362
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -303
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -209
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -324
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/Amount.sol +0 -60
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -157
- package/contracts/types/PayoutId.sol +0 -54
- package/contracts/types/RiskId.sol +0 -43
- package/contracts/types/RoleId.sol +0 -97
- package/contracts/types/Seconds.sol +0 -54
- package/contracts/types/UFixed.sol +0 -326
- /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
3
|
"contractName": "IDistributionService",
|
4
|
-
"sourceName": "contracts/
|
4
|
+
"sourceName": "contracts/distribution/IDistributionService.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
@@ -41,6 +41,17 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "authority",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
44
55
|
{
|
45
56
|
"inputs": [
|
46
57
|
{
|
@@ -49,7 +60,7 @@
|
|
49
60
|
"type": "address"
|
50
61
|
}
|
51
62
|
],
|
52
|
-
"name": "
|
63
|
+
"name": "ErrorDistributionServiceCallerNotDistributor",
|
53
64
|
"type": "error"
|
54
65
|
},
|
55
66
|
{
|
@@ -60,7 +71,7 @@
|
|
60
71
|
"type": "address"
|
61
72
|
}
|
62
73
|
],
|
63
|
-
"name": "
|
74
|
+
"name": "ErrorDistributionServiceCallerNotRegistered",
|
64
75
|
"type": "error"
|
65
76
|
},
|
66
77
|
{
|
@@ -76,7 +87,23 @@
|
|
76
87
|
"type": "uint256"
|
77
88
|
}
|
78
89
|
],
|
79
|
-
"name": "
|
90
|
+
"name": "ErrorDistributionServiceCommissionTooHigh",
|
91
|
+
"type": "error"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"inputs": [
|
95
|
+
{
|
96
|
+
"internalType": "Amount",
|
97
|
+
"name": "amount",
|
98
|
+
"type": "uint96"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"internalType": "Amount",
|
102
|
+
"name": "limit",
|
103
|
+
"type": "uint96"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "ErrorDistributionServiceCommissionWithdrawAmountExceedsLimit",
|
80
107
|
"type": "error"
|
81
108
|
},
|
82
109
|
{
|
@@ -92,7 +119,7 @@
|
|
92
119
|
"type": "uint256"
|
93
120
|
}
|
94
121
|
],
|
95
|
-
"name": "
|
122
|
+
"name": "ErrorDistributionServiceDiscountTooHigh",
|
96
123
|
"type": "error"
|
97
124
|
},
|
98
125
|
{
|
@@ -108,86 +135,92 @@
|
|
108
135
|
"type": "uint256"
|
109
136
|
}
|
110
137
|
],
|
111
|
-
"name": "
|
138
|
+
"name": "ErrorDistributionServiceDiscountTooLow",
|
112
139
|
"type": "error"
|
113
140
|
},
|
114
141
|
{
|
115
142
|
"inputs": [
|
116
143
|
{
|
117
|
-
"internalType": "
|
118
|
-
"name": "
|
119
|
-
"type": "
|
144
|
+
"internalType": "NftId",
|
145
|
+
"name": "distributorNftId",
|
146
|
+
"type": "uint96"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"internalType": "NftId",
|
150
|
+
"name": "distributorDistributionNftId",
|
151
|
+
"type": "uint96"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"internalType": "NftId",
|
155
|
+
"name": "distributionNftId",
|
156
|
+
"type": "uint96"
|
120
157
|
}
|
121
158
|
],
|
122
|
-
"name": "
|
159
|
+
"name": "ErrorDistributionServiceDistributorDistributionMismatch",
|
123
160
|
"type": "error"
|
124
161
|
},
|
125
162
|
{
|
126
163
|
"inputs": [
|
127
164
|
{
|
128
|
-
"internalType": "
|
129
|
-
"name": "
|
130
|
-
"type": "
|
165
|
+
"internalType": "DistributorType",
|
166
|
+
"name": "distributorType",
|
167
|
+
"type": "bytes8"
|
131
168
|
},
|
132
169
|
{
|
133
|
-
"internalType": "
|
134
|
-
"name": "
|
135
|
-
"type": "
|
170
|
+
"internalType": "NftId",
|
171
|
+
"name": "distributorTypeDistributionNftId",
|
172
|
+
"type": "uint96"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"internalType": "NftId",
|
176
|
+
"name": "distributionNftId",
|
177
|
+
"type": "uint96"
|
136
178
|
}
|
137
179
|
],
|
138
|
-
"name": "
|
180
|
+
"name": "ErrorDistributionServiceDistributorTypeDistributionMismatch",
|
139
181
|
"type": "error"
|
140
182
|
},
|
141
183
|
{
|
142
184
|
"inputs": [
|
143
185
|
{
|
144
|
-
"internalType": "
|
145
|
-
"name": "
|
146
|
-
"type": "
|
147
|
-
}
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
"internalType": "uint256",
|
155
|
-
"name": "distributionOwnerFeeFixAmount",
|
156
|
-
"type": "uint256"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"internalType": "uint256",
|
160
|
-
"name": "distributionOwnerFeeVarAmount",
|
161
|
-
"type": "uint256"
|
162
|
-
},
|
186
|
+
"internalType": "Timestamp",
|
187
|
+
"name": "expiryAt",
|
188
|
+
"type": "uint40"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "ErrorDistributionServiceExpirationInvalid",
|
192
|
+
"type": "error"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [
|
163
196
|
{
|
164
|
-
"internalType": "
|
165
|
-
"name": "
|
166
|
-
"type": "
|
197
|
+
"internalType": "Seconds",
|
198
|
+
"name": "maxReferralLifetime",
|
199
|
+
"type": "uint40"
|
167
200
|
},
|
168
201
|
{
|
169
|
-
"internalType": "
|
170
|
-
"name": "
|
171
|
-
"type": "
|
202
|
+
"internalType": "Timestamp",
|
203
|
+
"name": "expiryAt",
|
204
|
+
"type": "uint40"
|
172
205
|
}
|
173
206
|
],
|
174
|
-
"name": "
|
207
|
+
"name": "ErrorDistributionServiceExpiryTooLong",
|
175
208
|
"type": "error"
|
176
209
|
},
|
177
210
|
{
|
178
211
|
"inputs": [
|
179
212
|
{
|
180
|
-
"internalType": "
|
213
|
+
"internalType": "Amount",
|
181
214
|
"name": "transferredDistributionFeeAmount",
|
182
|
-
"type": "
|
215
|
+
"type": "uint96"
|
183
216
|
},
|
184
217
|
{
|
185
|
-
"internalType": "
|
218
|
+
"internalType": "Amount",
|
186
219
|
"name": "expectedDistributionFeeAmount",
|
187
|
-
"type": "
|
220
|
+
"type": "uint96"
|
188
221
|
}
|
189
222
|
],
|
190
|
-
"name": "
|
223
|
+
"name": "ErrorDistributionServiceInvalidFeeTransferred",
|
191
224
|
"type": "error"
|
192
225
|
},
|
193
226
|
{
|
@@ -198,7 +231,7 @@
|
|
198
231
|
"type": "string"
|
199
232
|
}
|
200
233
|
],
|
201
|
-
"name": "
|
234
|
+
"name": "ErrorDistributionServiceInvalidReferral",
|
202
235
|
"type": "error"
|
203
236
|
},
|
204
237
|
{
|
@@ -209,7 +242,7 @@
|
|
209
242
|
"type": "bytes8"
|
210
243
|
}
|
211
244
|
],
|
212
|
-
"name": "
|
245
|
+
"name": "ErrorDistributionServiceInvalidReferralId",
|
213
246
|
"type": "error"
|
214
247
|
},
|
215
248
|
{
|
@@ -225,7 +258,7 @@
|
|
225
258
|
"type": "uint256"
|
226
259
|
}
|
227
260
|
],
|
228
|
-
"name": "
|
261
|
+
"name": "ErrorDistributionServiceMaxDiscountTooHigh",
|
229
262
|
"type": "error"
|
230
263
|
},
|
231
264
|
{
|
@@ -236,7 +269,7 @@
|
|
236
269
|
"type": "uint256"
|
237
270
|
}
|
238
271
|
],
|
239
|
-
"name": "
|
272
|
+
"name": "ErrorDistributionServiceMaxReferralsExceeded",
|
240
273
|
"type": "error"
|
241
274
|
},
|
242
275
|
{
|
@@ -252,7 +285,7 @@
|
|
252
285
|
"type": "uint256"
|
253
286
|
}
|
254
287
|
],
|
255
|
-
"name": "
|
288
|
+
"name": "ErrorDistributionServiceMinFeeTooHigh",
|
256
289
|
"type": "error"
|
257
290
|
},
|
258
291
|
{
|
@@ -268,7 +301,28 @@
|
|
268
301
|
"type": "uint96"
|
269
302
|
}
|
270
303
|
],
|
271
|
-
"name": "
|
304
|
+
"name": "ErrorDistributionServiceParentNftIdNotInstance",
|
305
|
+
"type": "error"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"inputs": [
|
309
|
+
{
|
310
|
+
"internalType": "ReferralId",
|
311
|
+
"name": "referralId",
|
312
|
+
"type": "bytes8"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"internalType": "NftId",
|
316
|
+
"name": "referralDistributionNft",
|
317
|
+
"type": "uint96"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"internalType": "NftId",
|
321
|
+
"name": "distributionNftId",
|
322
|
+
"type": "uint96"
|
323
|
+
}
|
324
|
+
],
|
325
|
+
"name": "ErrorDistributionServiceReferralDistributionMismatch",
|
272
326
|
"type": "error"
|
273
327
|
},
|
274
328
|
{
|
@@ -284,7 +338,23 @@
|
|
284
338
|
"type": "bytes8"
|
285
339
|
}
|
286
340
|
],
|
287
|
-
"name": "
|
341
|
+
"name": "ErrorDistributionServiceReferralInvalid",
|
342
|
+
"type": "error"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"inputs": [
|
346
|
+
{
|
347
|
+
"internalType": "uint256",
|
348
|
+
"name": "maxDiscountPercentage",
|
349
|
+
"type": "uint256"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"internalType": "uint256",
|
353
|
+
"name": "limit",
|
354
|
+
"type": "uint256"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"name": "ErrorDistributionServiceVariableFeesTooHight",
|
288
358
|
"type": "error"
|
289
359
|
},
|
290
360
|
{
|
@@ -314,6 +384,22 @@
|
|
314
384
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
315
385
|
"type": "error"
|
316
386
|
},
|
387
|
+
{
|
388
|
+
"inputs": [
|
389
|
+
{
|
390
|
+
"internalType": "NftId",
|
391
|
+
"name": "nftId",
|
392
|
+
"type": "uint96"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"internalType": "ObjectType",
|
396
|
+
"name": "expectedObjectType",
|
397
|
+
"type": "uint8"
|
398
|
+
}
|
399
|
+
],
|
400
|
+
"name": "ErrorNftOwnableInvalidType",
|
401
|
+
"type": "error"
|
402
|
+
},
|
317
403
|
{
|
318
404
|
"inputs": [
|
319
405
|
{
|
@@ -336,6 +422,11 @@
|
|
336
422
|
"name": "ErrorNotRegistry",
|
337
423
|
"type": "error"
|
338
424
|
},
|
425
|
+
{
|
426
|
+
"inputs": [],
|
427
|
+
"name": "ErrorRegisterableNotActive",
|
428
|
+
"type": "error"
|
429
|
+
},
|
339
430
|
{
|
340
431
|
"anonymous": false,
|
341
432
|
"inputs": [
|
@@ -349,6 +440,37 @@
|
|
349
440
|
"name": "AuthorityUpdated",
|
350
441
|
"type": "event"
|
351
442
|
},
|
443
|
+
{
|
444
|
+
"anonymous": false,
|
445
|
+
"inputs": [
|
446
|
+
{
|
447
|
+
"indexed": false,
|
448
|
+
"internalType": "NftId",
|
449
|
+
"name": "distributorNftId",
|
450
|
+
"type": "uint96"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"indexed": false,
|
454
|
+
"internalType": "address",
|
455
|
+
"name": "recipient",
|
456
|
+
"type": "address"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"indexed": false,
|
460
|
+
"internalType": "address",
|
461
|
+
"name": "tokenAddress",
|
462
|
+
"type": "address"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"indexed": false,
|
466
|
+
"internalType": "Amount",
|
467
|
+
"name": "amount",
|
468
|
+
"type": "uint96"
|
469
|
+
}
|
470
|
+
],
|
471
|
+
"name": "LogDistributionServiceCommissionWithdrawn",
|
472
|
+
"type": "event"
|
473
|
+
},
|
352
474
|
{
|
353
475
|
"inputs": [],
|
354
476
|
"name": "authority",
|
@@ -366,183 +488,23 @@
|
|
366
488
|
"inputs": [
|
367
489
|
{
|
368
490
|
"internalType": "NftId",
|
369
|
-
"name": "
|
491
|
+
"name": "distributorNftId",
|
370
492
|
"type": "uint96"
|
371
493
|
},
|
372
494
|
{
|
373
|
-
"internalType": "
|
374
|
-
"name": "
|
495
|
+
"internalType": "DistributorType",
|
496
|
+
"name": "newDistributorType",
|
375
497
|
"type": "bytes8"
|
376
498
|
},
|
377
499
|
{
|
378
|
-
"
|
379
|
-
|
380
|
-
|
381
|
-
"name": "netPremiumAmount",
|
382
|
-
"type": "uint256"
|
383
|
-
},
|
384
|
-
{
|
385
|
-
"internalType": "uint256",
|
386
|
-
"name": "fullPremiumAmount",
|
387
|
-
"type": "uint256"
|
388
|
-
},
|
389
|
-
{
|
390
|
-
"internalType": "uint256",
|
391
|
-
"name": "premiumAmount",
|
392
|
-
"type": "uint256"
|
393
|
-
},
|
394
|
-
{
|
395
|
-
"internalType": "uint256",
|
396
|
-
"name": "productFeeFixAmount",
|
397
|
-
"type": "uint256"
|
398
|
-
},
|
399
|
-
{
|
400
|
-
"internalType": "uint256",
|
401
|
-
"name": "poolFeeFixAmount",
|
402
|
-
"type": "uint256"
|
403
|
-
},
|
404
|
-
{
|
405
|
-
"internalType": "uint256",
|
406
|
-
"name": "bundleFeeFixAmount",
|
407
|
-
"type": "uint256"
|
408
|
-
},
|
409
|
-
{
|
410
|
-
"internalType": "uint256",
|
411
|
-
"name": "distributionFeeFixAmount",
|
412
|
-
"type": "uint256"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"internalType": "uint256",
|
416
|
-
"name": "productFeeVarAmount",
|
417
|
-
"type": "uint256"
|
418
|
-
},
|
419
|
-
{
|
420
|
-
"internalType": "uint256",
|
421
|
-
"name": "poolFeeVarAmount",
|
422
|
-
"type": "uint256"
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"internalType": "uint256",
|
426
|
-
"name": "bundleFeeVarAmount",
|
427
|
-
"type": "uint256"
|
428
|
-
},
|
429
|
-
{
|
430
|
-
"internalType": "uint256",
|
431
|
-
"name": "distributionFeeVarAmount",
|
432
|
-
"type": "uint256"
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"internalType": "uint256",
|
436
|
-
"name": "distributionOwnerFeeFixAmount",
|
437
|
-
"type": "uint256"
|
438
|
-
},
|
439
|
-
{
|
440
|
-
"internalType": "uint256",
|
441
|
-
"name": "distributionOwnerFeeVarAmount",
|
442
|
-
"type": "uint256"
|
443
|
-
},
|
444
|
-
{
|
445
|
-
"internalType": "uint256",
|
446
|
-
"name": "commissionAmount",
|
447
|
-
"type": "uint256"
|
448
|
-
},
|
449
|
-
{
|
450
|
-
"internalType": "uint256",
|
451
|
-
"name": "discountAmount",
|
452
|
-
"type": "uint256"
|
453
|
-
}
|
454
|
-
],
|
455
|
-
"internalType": "struct IPolicy.Premium",
|
456
|
-
"name": "premium",
|
457
|
-
"type": "tuple"
|
458
|
-
}
|
459
|
-
],
|
460
|
-
"name": "calculateFeeAmount",
|
461
|
-
"outputs": [
|
462
|
-
{
|
463
|
-
"components": [
|
464
|
-
{
|
465
|
-
"internalType": "uint256",
|
466
|
-
"name": "netPremiumAmount",
|
467
|
-
"type": "uint256"
|
468
|
-
},
|
469
|
-
{
|
470
|
-
"internalType": "uint256",
|
471
|
-
"name": "fullPremiumAmount",
|
472
|
-
"type": "uint256"
|
473
|
-
},
|
474
|
-
{
|
475
|
-
"internalType": "uint256",
|
476
|
-
"name": "premiumAmount",
|
477
|
-
"type": "uint256"
|
478
|
-
},
|
479
|
-
{
|
480
|
-
"internalType": "uint256",
|
481
|
-
"name": "productFeeFixAmount",
|
482
|
-
"type": "uint256"
|
483
|
-
},
|
484
|
-
{
|
485
|
-
"internalType": "uint256",
|
486
|
-
"name": "poolFeeFixAmount",
|
487
|
-
"type": "uint256"
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"internalType": "uint256",
|
491
|
-
"name": "bundleFeeFixAmount",
|
492
|
-
"type": "uint256"
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"internalType": "uint256",
|
496
|
-
"name": "distributionFeeFixAmount",
|
497
|
-
"type": "uint256"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"internalType": "uint256",
|
501
|
-
"name": "productFeeVarAmount",
|
502
|
-
"type": "uint256"
|
503
|
-
},
|
504
|
-
{
|
505
|
-
"internalType": "uint256",
|
506
|
-
"name": "poolFeeVarAmount",
|
507
|
-
"type": "uint256"
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"internalType": "uint256",
|
511
|
-
"name": "bundleFeeVarAmount",
|
512
|
-
"type": "uint256"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"internalType": "uint256",
|
516
|
-
"name": "distributionFeeVarAmount",
|
517
|
-
"type": "uint256"
|
518
|
-
},
|
519
|
-
{
|
520
|
-
"internalType": "uint256",
|
521
|
-
"name": "distributionOwnerFeeFixAmount",
|
522
|
-
"type": "uint256"
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"internalType": "uint256",
|
526
|
-
"name": "distributionOwnerFeeVarAmount",
|
527
|
-
"type": "uint256"
|
528
|
-
},
|
529
|
-
{
|
530
|
-
"internalType": "uint256",
|
531
|
-
"name": "commissionAmount",
|
532
|
-
"type": "uint256"
|
533
|
-
},
|
534
|
-
{
|
535
|
-
"internalType": "uint256",
|
536
|
-
"name": "discountAmount",
|
537
|
-
"type": "uint256"
|
538
|
-
}
|
539
|
-
],
|
540
|
-
"internalType": "struct IPolicy.Premium",
|
541
|
-
"name": "finalPremium",
|
542
|
-
"type": "tuple"
|
500
|
+
"internalType": "bytes",
|
501
|
+
"name": "data",
|
502
|
+
"type": "bytes"
|
543
503
|
}
|
544
504
|
],
|
545
|
-
"
|
505
|
+
"name": "changeDistributorType",
|
506
|
+
"outputs": [],
|
507
|
+
"stateMutability": "nonpayable",
|
546
508
|
"type": "function"
|
547
509
|
},
|
548
510
|
{
|
@@ -584,17 +546,17 @@
|
|
584
546
|
{
|
585
547
|
"internalType": "UFixed",
|
586
548
|
"name": "minDiscountPercentage",
|
587
|
-
"type": "
|
549
|
+
"type": "uint160"
|
588
550
|
},
|
589
551
|
{
|
590
552
|
"internalType": "UFixed",
|
591
553
|
"name": "maxDiscountPercentage",
|
592
|
-
"type": "
|
554
|
+
"type": "uint160"
|
593
555
|
},
|
594
556
|
{
|
595
557
|
"internalType": "UFixed",
|
596
558
|
"name": "commissionPercentage",
|
597
|
-
"type": "
|
559
|
+
"type": "uint160"
|
598
560
|
},
|
599
561
|
{
|
600
562
|
"internalType": "uint32",
|
@@ -602,9 +564,9 @@
|
|
602
564
|
"type": "uint32"
|
603
565
|
},
|
604
566
|
{
|
605
|
-
"internalType": "
|
567
|
+
"internalType": "Seconds",
|
606
568
|
"name": "maxReferralLifetime",
|
607
|
-
"type": "
|
569
|
+
"type": "uint40"
|
608
570
|
},
|
609
571
|
{
|
610
572
|
"internalType": "bool",
|
@@ -648,7 +610,7 @@
|
|
648
610
|
{
|
649
611
|
"internalType": "UFixed",
|
650
612
|
"name": "discountPercentage",
|
651
|
-
"type": "
|
613
|
+
"type": "uint160"
|
652
614
|
},
|
653
615
|
{
|
654
616
|
"internalType": "uint32",
|
@@ -677,6 +639,35 @@
|
|
677
639
|
"stateMutability": "nonpayable",
|
678
640
|
"type": "function"
|
679
641
|
},
|
642
|
+
{
|
643
|
+
"inputs": [
|
644
|
+
{
|
645
|
+
"internalType": "contract InstanceReader",
|
646
|
+
"name": "instanceReader",
|
647
|
+
"type": "address"
|
648
|
+
},
|
649
|
+
{
|
650
|
+
"internalType": "ReferralId",
|
651
|
+
"name": "referralId",
|
652
|
+
"type": "bytes8"
|
653
|
+
}
|
654
|
+
],
|
655
|
+
"name": "getDiscountPercentage",
|
656
|
+
"outputs": [
|
657
|
+
{
|
658
|
+
"internalType": "UFixed",
|
659
|
+
"name": "discountPercentage",
|
660
|
+
"type": "uint160"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"internalType": "ReferralStatus",
|
664
|
+
"name": "status",
|
665
|
+
"type": "uint8"
|
666
|
+
}
|
667
|
+
],
|
668
|
+
"stateMutability": "view",
|
669
|
+
"type": "function"
|
670
|
+
},
|
680
671
|
{
|
681
672
|
"inputs": [],
|
682
673
|
"name": "getDomain",
|
@@ -781,12 +772,25 @@
|
|
781
772
|
},
|
782
773
|
{
|
783
774
|
"inputs": [],
|
784
|
-
"name": "
|
775
|
+
"name": "getRelease",
|
785
776
|
"outputs": [
|
786
777
|
{
|
787
|
-
"internalType": "
|
788
|
-
"name": "",
|
789
|
-
"type": "
|
778
|
+
"internalType": "VersionPart",
|
779
|
+
"name": "release",
|
780
|
+
"type": "uint8"
|
781
|
+
}
|
782
|
+
],
|
783
|
+
"stateMutability": "view",
|
784
|
+
"type": "function"
|
785
|
+
},
|
786
|
+
{
|
787
|
+
"inputs": [],
|
788
|
+
"name": "getRoleId",
|
789
|
+
"outputs": [
|
790
|
+
{
|
791
|
+
"internalType": "RoleId",
|
792
|
+
"name": "serviceRoleId",
|
793
|
+
"type": "uint64"
|
790
794
|
}
|
791
795
|
],
|
792
796
|
"stateMutability": "view",
|
@@ -823,6 +827,19 @@
|
|
823
827
|
"stateMutability": "nonpayable",
|
824
828
|
"type": "function"
|
825
829
|
},
|
830
|
+
{
|
831
|
+
"inputs": [],
|
832
|
+
"name": "isActive",
|
833
|
+
"outputs": [
|
834
|
+
{
|
835
|
+
"internalType": "bool",
|
836
|
+
"name": "active",
|
837
|
+
"type": "bool"
|
838
|
+
}
|
839
|
+
],
|
840
|
+
"stateMutability": "view",
|
841
|
+
"type": "function"
|
842
|
+
},
|
826
843
|
{
|
827
844
|
"inputs": [],
|
828
845
|
"name": "isConsumingScheduledOp",
|
@@ -839,6 +856,30 @@
|
|
839
856
|
{
|
840
857
|
"inputs": [],
|
841
858
|
"name": "linkToRegisteredNftId",
|
859
|
+
"outputs": [
|
860
|
+
{
|
861
|
+
"internalType": "NftId",
|
862
|
+
"name": "",
|
863
|
+
"type": "uint96"
|
864
|
+
}
|
865
|
+
],
|
866
|
+
"stateMutability": "nonpayable",
|
867
|
+
"type": "function"
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"inputs": [
|
871
|
+
{
|
872
|
+
"internalType": "NftId",
|
873
|
+
"name": "distributionNftId",
|
874
|
+
"type": "uint96"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"internalType": "ReferralId",
|
878
|
+
"name": "referralId",
|
879
|
+
"type": "bytes8"
|
880
|
+
}
|
881
|
+
],
|
882
|
+
"name": "processReferral",
|
842
883
|
"outputs": [],
|
843
884
|
"stateMutability": "nonpayable",
|
844
885
|
"type": "function"
|
@@ -858,89 +899,99 @@
|
|
858
899
|
{
|
859
900
|
"components": [
|
860
901
|
{
|
861
|
-
"internalType": "
|
902
|
+
"internalType": "Amount",
|
903
|
+
"name": "productFeeAmount",
|
904
|
+
"type": "uint96"
|
905
|
+
},
|
906
|
+
{
|
907
|
+
"internalType": "Amount",
|
908
|
+
"name": "distributionFeeAndCommissionAmount",
|
909
|
+
"type": "uint96"
|
910
|
+
},
|
911
|
+
{
|
912
|
+
"internalType": "Amount",
|
913
|
+
"name": "poolPremiumAndFeeAmount",
|
914
|
+
"type": "uint96"
|
915
|
+
},
|
916
|
+
{
|
917
|
+
"internalType": "Amount",
|
862
918
|
"name": "netPremiumAmount",
|
863
|
-
"type": "
|
919
|
+
"type": "uint96"
|
864
920
|
},
|
865
921
|
{
|
866
|
-
"internalType": "
|
922
|
+
"internalType": "Amount",
|
867
923
|
"name": "fullPremiumAmount",
|
868
|
-
"type": "
|
924
|
+
"type": "uint96"
|
869
925
|
},
|
870
926
|
{
|
871
|
-
"internalType": "
|
927
|
+
"internalType": "Amount",
|
872
928
|
"name": "premiumAmount",
|
873
|
-
"type": "
|
929
|
+
"type": "uint96"
|
874
930
|
},
|
875
931
|
{
|
876
|
-
"internalType": "
|
932
|
+
"internalType": "Amount",
|
877
933
|
"name": "productFeeFixAmount",
|
878
|
-
"type": "
|
934
|
+
"type": "uint96"
|
879
935
|
},
|
880
936
|
{
|
881
|
-
"internalType": "
|
937
|
+
"internalType": "Amount",
|
882
938
|
"name": "poolFeeFixAmount",
|
883
|
-
"type": "
|
939
|
+
"type": "uint96"
|
884
940
|
},
|
885
941
|
{
|
886
|
-
"internalType": "
|
942
|
+
"internalType": "Amount",
|
887
943
|
"name": "bundleFeeFixAmount",
|
888
|
-
"type": "
|
944
|
+
"type": "uint96"
|
889
945
|
},
|
890
946
|
{
|
891
|
-
"internalType": "
|
947
|
+
"internalType": "Amount",
|
892
948
|
"name": "distributionFeeFixAmount",
|
893
|
-
"type": "
|
949
|
+
"type": "uint96"
|
894
950
|
},
|
895
951
|
{
|
896
|
-
"internalType": "
|
952
|
+
"internalType": "Amount",
|
897
953
|
"name": "productFeeVarAmount",
|
898
|
-
"type": "
|
954
|
+
"type": "uint96"
|
899
955
|
},
|
900
956
|
{
|
901
|
-
"internalType": "
|
957
|
+
"internalType": "Amount",
|
902
958
|
"name": "poolFeeVarAmount",
|
903
|
-
"type": "
|
959
|
+
"type": "uint96"
|
904
960
|
},
|
905
961
|
{
|
906
|
-
"internalType": "
|
962
|
+
"internalType": "Amount",
|
907
963
|
"name": "bundleFeeVarAmount",
|
908
|
-
"type": "
|
964
|
+
"type": "uint96"
|
909
965
|
},
|
910
966
|
{
|
911
|
-
"internalType": "
|
967
|
+
"internalType": "Amount",
|
912
968
|
"name": "distributionFeeVarAmount",
|
913
|
-
"type": "
|
969
|
+
"type": "uint96"
|
914
970
|
},
|
915
971
|
{
|
916
|
-
"internalType": "
|
972
|
+
"internalType": "Amount",
|
917
973
|
"name": "distributionOwnerFeeFixAmount",
|
918
|
-
"type": "
|
974
|
+
"type": "uint96"
|
919
975
|
},
|
920
976
|
{
|
921
|
-
"internalType": "
|
977
|
+
"internalType": "Amount",
|
922
978
|
"name": "distributionOwnerFeeVarAmount",
|
923
|
-
"type": "
|
979
|
+
"type": "uint96"
|
924
980
|
},
|
925
981
|
{
|
926
|
-
"internalType": "
|
982
|
+
"internalType": "Amount",
|
927
983
|
"name": "commissionAmount",
|
928
|
-
"type": "
|
984
|
+
"type": "uint96"
|
929
985
|
},
|
930
986
|
{
|
931
|
-
"internalType": "
|
987
|
+
"internalType": "Amount",
|
932
988
|
"name": "discountAmount",
|
933
|
-
"type": "
|
989
|
+
"type": "uint96"
|
934
990
|
}
|
935
991
|
],
|
936
|
-
"internalType": "struct IPolicy.
|
992
|
+
"internalType": "struct IPolicy.PremiumInfo",
|
937
993
|
"name": "premium",
|
938
994
|
"type": "tuple"
|
939
|
-
},
|
940
|
-
{
|
941
|
-
"internalType": "uint256",
|
942
|
-
"name": "transferredDistributionFeeAmount",
|
943
|
-
"type": "uint256"
|
944
995
|
}
|
945
996
|
],
|
946
997
|
"name": "processSale",
|
@@ -985,48 +1036,6 @@
|
|
985
1036
|
"stateMutability": "nonpayable",
|
986
1037
|
"type": "function"
|
987
1038
|
},
|
988
|
-
{
|
989
|
-
"inputs": [
|
990
|
-
{
|
991
|
-
"components": [
|
992
|
-
{
|
993
|
-
"internalType": "UFixed",
|
994
|
-
"name": "fractionalFee",
|
995
|
-
"type": "uint256"
|
996
|
-
},
|
997
|
-
{
|
998
|
-
"internalType": "uint256",
|
999
|
-
"name": "fixedFee",
|
1000
|
-
"type": "uint256"
|
1001
|
-
}
|
1002
|
-
],
|
1003
|
-
"internalType": "struct Fee",
|
1004
|
-
"name": "minDistributionOwnerFee",
|
1005
|
-
"type": "tuple"
|
1006
|
-
},
|
1007
|
-
{
|
1008
|
-
"components": [
|
1009
|
-
{
|
1010
|
-
"internalType": "UFixed",
|
1011
|
-
"name": "fractionalFee",
|
1012
|
-
"type": "uint256"
|
1013
|
-
},
|
1014
|
-
{
|
1015
|
-
"internalType": "uint256",
|
1016
|
-
"name": "fixedFee",
|
1017
|
-
"type": "uint256"
|
1018
|
-
}
|
1019
|
-
],
|
1020
|
-
"internalType": "struct Fee",
|
1021
|
-
"name": "distributionFee",
|
1022
|
-
"type": "tuple"
|
1023
|
-
}
|
1024
|
-
],
|
1025
|
-
"name": "setFees",
|
1026
|
-
"outputs": [],
|
1027
|
-
"stateMutability": "nonpayable",
|
1028
|
-
"type": "function"
|
1029
|
-
},
|
1030
1039
|
{
|
1031
1040
|
"inputs": [
|
1032
1041
|
{
|
@@ -1048,23 +1057,13 @@
|
|
1048
1057
|
},
|
1049
1058
|
{
|
1050
1059
|
"inputs": [
|
1051
|
-
{
|
1052
|
-
"internalType": "NftId",
|
1053
|
-
"name": "distributorNftId",
|
1054
|
-
"type": "uint96"
|
1055
|
-
},
|
1056
|
-
{
|
1057
|
-
"internalType": "DistributorType",
|
1058
|
-
"name": "distributorType",
|
1059
|
-
"type": "bytes8"
|
1060
|
-
},
|
1061
1060
|
{
|
1062
1061
|
"internalType": "bytes",
|
1063
|
-
"name": "
|
1062
|
+
"name": "upgradeData",
|
1064
1063
|
"type": "bytes"
|
1065
1064
|
}
|
1066
1065
|
],
|
1067
|
-
"name": "
|
1066
|
+
"name": "upgradeVersionable",
|
1068
1067
|
"outputs": [],
|
1069
1068
|
"stateMutability": "nonpayable",
|
1070
1069
|
"type": "function"
|
@@ -1072,13 +1071,24 @@
|
|
1072
1071
|
{
|
1073
1072
|
"inputs": [
|
1074
1073
|
{
|
1075
|
-
"internalType": "
|
1076
|
-
"name": "
|
1077
|
-
"type": "
|
1074
|
+
"internalType": "NftId",
|
1075
|
+
"name": "distributorNftId",
|
1076
|
+
"type": "uint96"
|
1077
|
+
},
|
1078
|
+
{
|
1079
|
+
"internalType": "Amount",
|
1080
|
+
"name": "amount",
|
1081
|
+
"type": "uint96"
|
1082
|
+
}
|
1083
|
+
],
|
1084
|
+
"name": "withdrawCommission",
|
1085
|
+
"outputs": [
|
1086
|
+
{
|
1087
|
+
"internalType": "Amount",
|
1088
|
+
"name": "withdrawnAmount",
|
1089
|
+
"type": "uint96"
|
1078
1090
|
}
|
1079
1091
|
],
|
1080
|
-
"name": "upgradeVersionable",
|
1081
|
-
"outputs": [],
|
1082
1092
|
"stateMutability": "nonpayable",
|
1083
1093
|
"type": "function"
|
1084
1094
|
}
|