@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff596ab-857
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -10
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -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 +1372 -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 +1244 -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 +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +174 -601
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +788 -535
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +278 -128
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +178 -330
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +622 -178
- 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 +1484 -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 +2053 -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 +1439 -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 +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -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 +2585 -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 +595 -96
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +522 -56
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +594 -219
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -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 +1833 -761
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +542 -193
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +210 -94
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1647 -702
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -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 +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 +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 +957 -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 +772 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
- 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 +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +550 -400
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +272 -102
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +384 -86
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +233 -423
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +749 -377
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +247 -629
- 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 +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +954 -743
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +271 -113
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +370 -252
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +231 -89
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
- 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 +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +491 -341
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +253 -115
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +454 -69
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +217 -75
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +380 -225
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +289 -66
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +507 -384
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +237 -123
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +261 -333
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +235 -109
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +428 -509
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -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 +478 -61
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +280 -127
- 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 +920 -125
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +332 -245
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +208 -92
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -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 +1389 -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 +361 -125
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +128 -296
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1076 -156
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -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 +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +129 -135
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +52 -20
- 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 +42 -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 +173 -0
- 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 +103 -2
- 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 +795 -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 +45 -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 +148 -90
- 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 +96 -102
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +615 -6
- 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 +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2576 -128
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2914 -226
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +298 -74
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +754 -207
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +218 -84
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -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 +122 -5
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +92 -15
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
- 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 +119 -58
- 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/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 +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +66 -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 +153 -4
- 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 +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
- 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 +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 +180 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
- package/contracts/accounting/AccountingService.sol +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +780 -0
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +158 -0
- package/contracts/authorization/Authorization.sol +169 -0
- package/contracts/authorization/IAccess.sol +67 -0
- package/contracts/authorization/IAccessAdmin.sol +144 -0
- package/contracts/authorization/IAuthorization.sol +26 -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 +137 -175
- package/contracts/distribution/DistributionService.sol +314 -215
- package/contracts/distribution/DistributionServiceManager.sol +13 -25
- package/contracts/distribution/IDistributionComponent.sol +23 -49
- package/contracts/distribution/IDistributionService.sol +61 -33
- 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 +437 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +117 -49
- package/contracts/instance/IInstanceService.sol +81 -37
- package/contracts/instance/Instance.sol +252 -134
- package/contracts/instance/InstanceAdmin.sol +383 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
- package/contracts/instance/InstanceReader.sol +505 -241
- package/contracts/instance/InstanceService.sol +388 -196
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +151 -64
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/base/BalanceStore.sol +121 -0
- package/contracts/instance/base/Cloneable.sol +2 -25
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +109 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -8
- package/contracts/instance/module/IComponents.sol +40 -19
- package/contracts/instance/module/IDistribution.sol +21 -9
- package/contracts/instance/module/IPolicy.sol +57 -30
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/mock/Dip.sol +26 -0
- 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 +162 -0
- package/contracts/pool/BasicPoolAuthorization.sol +81 -0
- package/contracts/pool/BundleService.sol +250 -246
- package/contracts/pool/BundleServiceManager.sol +13 -25
- package/contracts/pool/IBundleService.sol +47 -49
- package/contracts/pool/IPoolComponent.sol +23 -75
- package/contracts/pool/IPoolService.sol +112 -56
- package/contracts/pool/Pool.sol +200 -169
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +475 -264
- package/contracts/pool/PoolServiceManager.sol +12 -24
- package/contracts/product/ApplicationService.sol +222 -81
- package/contracts/product/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +63 -0
- package/contracts/product/ClaimService.sol +389 -201
- package/contracts/product/ClaimServiceManager.sol +12 -9
- package/contracts/product/IApplicationService.sol +30 -4
- package/contracts/product/IClaimService.sol +52 -9
- package/contracts/product/IPolicyService.sol +62 -40
- package/contracts/product/IPricingService.sol +14 -11
- package/contracts/product/IProductComponent.sol +31 -10
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +503 -234
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +12 -27
- package/contracts/product/PricingService.sol +133 -102
- package/contracts/product/PricingServiceManager.sol +12 -24
- package/contracts/product/Product.sol +267 -153
- package/contracts/product/RiskService.sol +190 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -39
- package/contracts/registry/IRegistry.sol +100 -38
- package/contracts/registry/IRegistryService.sol +28 -35
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +453 -222
- package/contracts/registry/RegistryAdmin.sol +191 -0
- package/contracts/registry/RegistryAuthorization.sol +336 -0
- package/contracts/registry/RegistryService.sol +75 -138
- package/contracts/registry/RegistryServiceManager.sol +23 -30
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +525 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
- package/contracts/registry/TokenRegistry.sol +264 -63
- package/contracts/shared/Component.sol +126 -183
- package/contracts/shared/ComponentService.sol +636 -99
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ContractLib.sol +312 -0
- package/contracts/shared/IComponent.sol +18 -50
- package/contracts/shared/IComponentService.sol +111 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +5 -1
- package/contracts/shared/IPolicyHolder.sol +12 -17
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IService.sol +11 -6
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
- package/contracts/shared/InstanceLinkedComponent.sol +194 -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 +35 -24
- package/contracts/shared/PolicyHolder.sol +19 -50
- package/contracts/shared/Registerable.sol +54 -23
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +36 -41
- package/contracts/shared/TokenHandler.sol +320 -13
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +358 -6
- package/contracts/staking/IStakingService.sol +98 -76
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +761 -27
- package/contracts/staking/StakingLib.sol +195 -0
- package/contracts/staking/StakingManager.sol +27 -18
- package/contracts/staking/StakingReader.sol +171 -0
- package/contracts/staking/StakingService.sol +175 -58
- package/contracts/staking/StakingServiceManager.sol +13 -8
- package/contracts/staking/StakingStore.sol +1368 -0
- package/contracts/staking/TargetHandler.sol +132 -0
- package/contracts/staking/TargetManagerLib.sol +234 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +48 -3
- package/contracts/type/Blocknumber.sol +36 -13
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +22 -21
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +21 -16
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +204 -63
- 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 +39 -7
- package/contracts/type/RoleId.sol +122 -74
- package/contracts/type/Seconds.sol +67 -1
- package/contracts/type/Selector.sol +107 -0
- package/contracts/type/StateId.sol +41 -2
- package/contracts/type/String.sol +65 -0
- package/contracts/type/Timestamp.sol +20 -9
- package/contracts/type/UFixed.sol +62 -125
- package/contracts/type/Version.sol +58 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
- package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
- package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
- package/package.json +12 -8
- 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/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/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 -640
- 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 -620
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
- package/contracts/instance/BundleManager.sol +0 -126
- package/contracts/instance/InstanceAccessManager.sol +0 -543
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
- package/contracts/instance/base/KeyValueStore.sol +0 -169
- package/contracts/instance/base/Lifecycle.sol +0 -121
- package/contracts/instance/base/ObjectManager.sol +0 -82
- 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/product/IProductService.sol +0 -40
- package/contracts/product/ProductService.sol +0 -210
- package/contracts/product/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -207
- package/contracts/registry/ReleaseManager.sol +0 -360
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -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
|
{
|
@@ -68,6 +79,22 @@
|
|
68
79
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
80
|
"type": "error"
|
70
81
|
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "NftId",
|
86
|
+
"name": "nftId",
|
87
|
+
"type": "uint96"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"internalType": "ObjectType",
|
91
|
+
"name": "expectedObjectType",
|
92
|
+
"type": "uint8"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "ErrorNftOwnableInvalidType",
|
96
|
+
"type": "error"
|
97
|
+
},
|
71
98
|
{
|
72
99
|
"inputs": [
|
73
100
|
{
|
@@ -105,18 +132,34 @@
|
|
105
132
|
"inputs": [
|
106
133
|
{
|
107
134
|
"internalType": "NftId",
|
108
|
-
"name": "
|
135
|
+
"name": "bundleNftId",
|
109
136
|
"type": "uint96"
|
110
137
|
},
|
111
138
|
{
|
112
139
|
"internalType": "NftId",
|
113
|
-
"name": "
|
140
|
+
"name": "poolNftId",
|
114
141
|
"type": "uint96"
|
115
142
|
}
|
116
143
|
],
|
117
144
|
"name": "ErrorPoolServiceBundlePoolMismatch",
|
118
145
|
"type": "error"
|
119
146
|
},
|
147
|
+
{
|
148
|
+
"inputs": [
|
149
|
+
{
|
150
|
+
"internalType": "Amount",
|
151
|
+
"name": "amount",
|
152
|
+
"type": "uint96"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"internalType": "Amount",
|
156
|
+
"name": "limit",
|
157
|
+
"type": "uint96"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"name": "ErrorPoolServiceFeesWithdrawAmountExceedsLimit",
|
161
|
+
"type": "error"
|
162
|
+
},
|
120
163
|
{
|
121
164
|
"inputs": [
|
122
165
|
{
|
@@ -133,9 +176,77 @@
|
|
133
176
|
"name": "ErrorPoolServiceInvalidTransferAmount",
|
134
177
|
"type": "error"
|
135
178
|
},
|
179
|
+
{
|
180
|
+
"inputs": [
|
181
|
+
{
|
182
|
+
"internalType": "NftId",
|
183
|
+
"name": "poolNftId",
|
184
|
+
"type": "uint96"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"internalType": "Amount",
|
188
|
+
"name": "maxBalanceAmount",
|
189
|
+
"type": "uint96"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"internalType": "Amount",
|
193
|
+
"name": "currentBalanceAmount",
|
194
|
+
"type": "uint96"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"internalType": "Amount",
|
198
|
+
"name": "transferAmount",
|
199
|
+
"type": "uint96"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "ErrorPoolServiceMaxBalanceAmountExceeded",
|
203
|
+
"type": "error"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"internalType": "NftId",
|
209
|
+
"name": "policyNftId",
|
210
|
+
"type": "uint96"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"internalType": "NftId",
|
214
|
+
"name": "productNftId",
|
215
|
+
"type": "uint96"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"internalType": "NftId",
|
219
|
+
"name": "expectedProductNftId",
|
220
|
+
"type": "uint96"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"name": "ErrorPoolServicePolicyPoolMismatch",
|
224
|
+
"type": "error"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"inputs": [
|
228
|
+
{
|
229
|
+
"internalType": "NftId",
|
230
|
+
"name": "poolNftId",
|
231
|
+
"type": "uint96"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"name": "ErrorPoolServicePoolNotExternallyManaged",
|
235
|
+
"type": "error"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"inputs": [],
|
239
|
+
"name": "ErrorRegisterableNotActive",
|
240
|
+
"type": "error"
|
241
|
+
},
|
136
242
|
{
|
137
243
|
"inputs": [],
|
138
|
-
"name": "
|
244
|
+
"name": "ErrorVersionableInitializeNotImplemented",
|
245
|
+
"type": "error"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"inputs": [],
|
249
|
+
"name": "ErrorVersionableUpgradeNotImplemented",
|
139
250
|
"type": "error"
|
140
251
|
},
|
141
252
|
{
|
@@ -151,6 +262,56 @@
|
|
151
262
|
"name": "AuthorityUpdated",
|
152
263
|
"type": "event"
|
153
264
|
},
|
265
|
+
{
|
266
|
+
"anonymous": false,
|
267
|
+
"inputs": [
|
268
|
+
{
|
269
|
+
"indexed": false,
|
270
|
+
"internalType": "NftId",
|
271
|
+
"name": "nftId",
|
272
|
+
"type": "uint96"
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"indexed": false,
|
276
|
+
"internalType": "address",
|
277
|
+
"name": "owner",
|
278
|
+
"type": "address"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
282
|
+
"type": "event"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"anonymous": false,
|
286
|
+
"inputs": [
|
287
|
+
{
|
288
|
+
"indexed": false,
|
289
|
+
"internalType": "NftId",
|
290
|
+
"name": "poolNftId",
|
291
|
+
"type": "uint96"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"indexed": false,
|
295
|
+
"internalType": "NftId",
|
296
|
+
"name": "bundleNftId",
|
297
|
+
"type": "uint96"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"indexed": false,
|
301
|
+
"internalType": "NftId",
|
302
|
+
"name": "applicationNftId",
|
303
|
+
"type": "uint96"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"indexed": false,
|
307
|
+
"internalType": "Amount",
|
308
|
+
"name": "totalCollateralAmount",
|
309
|
+
"type": "uint96"
|
310
|
+
}
|
311
|
+
],
|
312
|
+
"name": "LogPoolServiceApplicationVerified",
|
313
|
+
"type": "event"
|
314
|
+
},
|
154
315
|
{
|
155
316
|
"anonymous": false,
|
156
317
|
"inputs": [
|
@@ -204,6 +365,12 @@
|
|
204
365
|
{
|
205
366
|
"anonymous": false,
|
206
367
|
"inputs": [
|
368
|
+
{
|
369
|
+
"indexed": false,
|
370
|
+
"internalType": "NftId",
|
371
|
+
"name": "instanceNftId",
|
372
|
+
"type": "uint96"
|
373
|
+
},
|
207
374
|
{
|
208
375
|
"indexed": false,
|
209
376
|
"internalType": "NftId",
|
@@ -212,12 +379,154 @@
|
|
212
379
|
},
|
213
380
|
{
|
214
381
|
"indexed": false,
|
215
|
-
"internalType": "
|
216
|
-
"name": "
|
217
|
-
"type": "
|
382
|
+
"internalType": "NftId",
|
383
|
+
"name": "bundleNftId",
|
384
|
+
"type": "uint96"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"indexed": false,
|
388
|
+
"internalType": "Amount",
|
389
|
+
"name": "amount",
|
390
|
+
"type": "uint96"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"indexed": false,
|
394
|
+
"internalType": "Amount",
|
395
|
+
"name": "netAmount",
|
396
|
+
"type": "uint96"
|
218
397
|
}
|
219
398
|
],
|
220
|
-
"name": "
|
399
|
+
"name": "LogPoolServiceBundleStaked",
|
400
|
+
"type": "event"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"anonymous": false,
|
404
|
+
"inputs": [
|
405
|
+
{
|
406
|
+
"indexed": false,
|
407
|
+
"internalType": "NftId",
|
408
|
+
"name": "instanceNftId",
|
409
|
+
"type": "uint96"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"indexed": false,
|
413
|
+
"internalType": "NftId",
|
414
|
+
"name": "poolNftId",
|
415
|
+
"type": "uint96"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"indexed": false,
|
419
|
+
"internalType": "NftId",
|
420
|
+
"name": "bundleNftId",
|
421
|
+
"type": "uint96"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"indexed": false,
|
425
|
+
"internalType": "Amount",
|
426
|
+
"name": "amount",
|
427
|
+
"type": "uint96"
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"indexed": false,
|
431
|
+
"internalType": "Amount",
|
432
|
+
"name": "netAmount",
|
433
|
+
"type": "uint96"
|
434
|
+
}
|
435
|
+
],
|
436
|
+
"name": "LogPoolServiceBundleUnstaked",
|
437
|
+
"type": "event"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"anonymous": false,
|
441
|
+
"inputs": [
|
442
|
+
{
|
443
|
+
"indexed": false,
|
444
|
+
"internalType": "NftId",
|
445
|
+
"name": "poolNftId",
|
446
|
+
"type": "uint96"
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"indexed": false,
|
450
|
+
"internalType": "NftId",
|
451
|
+
"name": "bundleNftId",
|
452
|
+
"type": "uint96"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"indexed": false,
|
456
|
+
"internalType": "NftId",
|
457
|
+
"name": "applicationNftId",
|
458
|
+
"type": "uint96"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"indexed": false,
|
462
|
+
"internalType": "Amount",
|
463
|
+
"name": "totalCollateralAmount",
|
464
|
+
"type": "uint96"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"indexed": false,
|
468
|
+
"internalType": "Amount",
|
469
|
+
"name": "lockedCollateralAmount",
|
470
|
+
"type": "uint96"
|
471
|
+
}
|
472
|
+
],
|
473
|
+
"name": "LogPoolServiceCollateralLocked",
|
474
|
+
"type": "event"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"anonymous": false,
|
478
|
+
"inputs": [
|
479
|
+
{
|
480
|
+
"indexed": false,
|
481
|
+
"internalType": "NftId",
|
482
|
+
"name": "bundleNftId",
|
483
|
+
"type": "uint96"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"indexed": false,
|
487
|
+
"internalType": "NftId",
|
488
|
+
"name": "policyNftId",
|
489
|
+
"type": "uint96"
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"indexed": false,
|
493
|
+
"internalType": "Amount",
|
494
|
+
"name": "remainingCollateralAmount",
|
495
|
+
"type": "uint96"
|
496
|
+
}
|
497
|
+
],
|
498
|
+
"name": "LogPoolServiceCollateralReleased",
|
499
|
+
"type": "event"
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"anonymous": false,
|
503
|
+
"inputs": [
|
504
|
+
{
|
505
|
+
"indexed": false,
|
506
|
+
"internalType": "NftId",
|
507
|
+
"name": "bundleNftId",
|
508
|
+
"type": "uint96"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"indexed": false,
|
512
|
+
"internalType": "address",
|
513
|
+
"name": "recipient",
|
514
|
+
"type": "address"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"indexed": false,
|
518
|
+
"internalType": "address",
|
519
|
+
"name": "tokenAddress",
|
520
|
+
"type": "address"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"indexed": false,
|
524
|
+
"internalType": "Amount",
|
525
|
+
"name": "amount",
|
526
|
+
"type": "uint96"
|
527
|
+
}
|
528
|
+
],
|
529
|
+
"name": "LogPoolServiceFeesWithdrawn",
|
221
530
|
"type": "event"
|
222
531
|
},
|
223
532
|
{
|
@@ -238,11 +547,172 @@
|
|
238
547
|
{
|
239
548
|
"indexed": false,
|
240
549
|
"internalType": "Amount",
|
241
|
-
"name": "currentMaxCapitalAmount",
|
550
|
+
"name": "currentMaxCapitalAmount",
|
551
|
+
"type": "uint96"
|
552
|
+
}
|
553
|
+
],
|
554
|
+
"name": "LogPoolServiceMaxBalanceAmountUpdated",
|
555
|
+
"type": "event"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"anonymous": false,
|
559
|
+
"inputs": [
|
560
|
+
{
|
561
|
+
"indexed": false,
|
562
|
+
"internalType": "NftId",
|
563
|
+
"name": "poolNftId",
|
564
|
+
"type": "uint96"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"indexed": false,
|
568
|
+
"internalType": "NftId",
|
569
|
+
"name": "bundleNftId",
|
570
|
+
"type": "uint96"
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"indexed": false,
|
574
|
+
"internalType": "NftId",
|
575
|
+
"name": "policyNftId",
|
576
|
+
"type": "uint96"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"indexed": false,
|
580
|
+
"internalType": "PayoutId",
|
581
|
+
"name": "payoutId",
|
582
|
+
"type": "uint40"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"indexed": false,
|
586
|
+
"internalType": "Amount",
|
587
|
+
"name": "netPayoutAmount",
|
588
|
+
"type": "uint96"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"indexed": false,
|
592
|
+
"internalType": "Amount",
|
593
|
+
"name": "processingFeeAmount",
|
594
|
+
"type": "uint96"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"indexed": false,
|
598
|
+
"internalType": "address",
|
599
|
+
"name": "payoutBeneficiary",
|
600
|
+
"type": "address"
|
601
|
+
}
|
602
|
+
],
|
603
|
+
"name": "LogPoolServicePayoutProcessed",
|
604
|
+
"type": "event"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"anonymous": false,
|
608
|
+
"inputs": [
|
609
|
+
{
|
610
|
+
"indexed": false,
|
611
|
+
"internalType": "NftId",
|
612
|
+
"name": "policyNftId",
|
613
|
+
"type": "uint96"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"indexed": false,
|
617
|
+
"internalType": "ClaimId",
|
618
|
+
"name": "claimId",
|
619
|
+
"type": "uint16"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"indexed": false,
|
623
|
+
"internalType": "Amount",
|
624
|
+
"name": "availableAmount",
|
625
|
+
"type": "uint96"
|
626
|
+
}
|
627
|
+
],
|
628
|
+
"name": "LogPoolServiceProcessFundedClaim",
|
629
|
+
"type": "event"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"anonymous": false,
|
633
|
+
"inputs": [
|
634
|
+
{
|
635
|
+
"indexed": false,
|
636
|
+
"internalType": "NftId",
|
637
|
+
"name": "poolNftId",
|
638
|
+
"type": "uint96"
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"indexed": false,
|
642
|
+
"internalType": "NftId",
|
643
|
+
"name": "bundleNftId",
|
644
|
+
"type": "uint96"
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"indexed": false,
|
648
|
+
"internalType": "Amount",
|
649
|
+
"name": "bundleNetAmount",
|
650
|
+
"type": "uint96"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"indexed": false,
|
654
|
+
"internalType": "Amount",
|
655
|
+
"name": "bundleFeeAmount",
|
656
|
+
"type": "uint96"
|
657
|
+
},
|
658
|
+
{
|
659
|
+
"indexed": false,
|
660
|
+
"internalType": "Amount",
|
661
|
+
"name": "poolFeeAmount",
|
662
|
+
"type": "uint96"
|
663
|
+
}
|
664
|
+
],
|
665
|
+
"name": "LogPoolServiceSaleProcessed",
|
666
|
+
"type": "event"
|
667
|
+
},
|
668
|
+
{
|
669
|
+
"anonymous": false,
|
670
|
+
"inputs": [
|
671
|
+
{
|
672
|
+
"indexed": false,
|
673
|
+
"internalType": "NftId",
|
674
|
+
"name": "poolNftId",
|
675
|
+
"type": "uint96"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"indexed": false,
|
679
|
+
"internalType": "address",
|
680
|
+
"name": "poolOwner",
|
681
|
+
"type": "address"
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"indexed": false,
|
685
|
+
"internalType": "Amount",
|
686
|
+
"name": "amount",
|
687
|
+
"type": "uint96"
|
688
|
+
}
|
689
|
+
],
|
690
|
+
"name": "LogPoolServiceWalletDefunded",
|
691
|
+
"type": "event"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"anonymous": false,
|
695
|
+
"inputs": [
|
696
|
+
{
|
697
|
+
"indexed": false,
|
698
|
+
"internalType": "NftId",
|
699
|
+
"name": "poolNftId",
|
700
|
+
"type": "uint96"
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"indexed": false,
|
704
|
+
"internalType": "address",
|
705
|
+
"name": "poolOwner",
|
706
|
+
"type": "address"
|
707
|
+
},
|
708
|
+
{
|
709
|
+
"indexed": false,
|
710
|
+
"internalType": "Amount",
|
711
|
+
"name": "amount",
|
242
712
|
"type": "uint96"
|
243
713
|
}
|
244
714
|
],
|
245
|
-
"name": "
|
715
|
+
"name": "LogPoolServiceWalletFunded",
|
246
716
|
"type": "event"
|
247
717
|
},
|
248
718
|
{
|
@@ -273,52 +743,27 @@
|
|
273
743
|
},
|
274
744
|
{
|
275
745
|
"inputs": [
|
276
|
-
{
|
277
|
-
"internalType": "address",
|
278
|
-
"name": "owner",
|
279
|
-
"type": "address"
|
280
|
-
},
|
281
|
-
{
|
282
|
-
"components": [
|
283
|
-
{
|
284
|
-
"internalType": "UFixed",
|
285
|
-
"name": "fractionalFee",
|
286
|
-
"type": "uint256"
|
287
|
-
},
|
288
|
-
{
|
289
|
-
"internalType": "uint256",
|
290
|
-
"name": "fixedFee",
|
291
|
-
"type": "uint256"
|
292
|
-
}
|
293
|
-
],
|
294
|
-
"internalType": "struct Fee",
|
295
|
-
"name": "fee",
|
296
|
-
"type": "tuple"
|
297
|
-
},
|
298
746
|
{
|
299
747
|
"internalType": "Amount",
|
300
|
-
"name": "
|
748
|
+
"name": "amount",
|
301
749
|
"type": "uint96"
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"internalType": "Seconds",
|
305
|
-
"name": "lifetime",
|
306
|
-
"type": "uint40"
|
307
|
-
},
|
308
|
-
{
|
309
|
-
"internalType": "bytes",
|
310
|
-
"name": "filter",
|
311
|
-
"type": "bytes"
|
312
750
|
}
|
313
751
|
],
|
314
|
-
"name": "
|
315
|
-
"outputs": [
|
752
|
+
"name": "defundPoolWallet",
|
753
|
+
"outputs": [],
|
754
|
+
"stateMutability": "nonpayable",
|
755
|
+
"type": "function"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"inputs": [
|
316
759
|
{
|
317
|
-
"internalType": "
|
318
|
-
"name": "
|
760
|
+
"internalType": "Amount",
|
761
|
+
"name": "amount",
|
319
762
|
"type": "uint96"
|
320
763
|
}
|
321
764
|
],
|
765
|
+
"name": "fundPoolWallet",
|
766
|
+
"outputs": [],
|
322
767
|
"stateMutability": "nonpayable",
|
323
768
|
"type": "function"
|
324
769
|
},
|
@@ -424,6 +869,32 @@
|
|
424
869
|
"stateMutability": "view",
|
425
870
|
"type": "function"
|
426
871
|
},
|
872
|
+
{
|
873
|
+
"inputs": [],
|
874
|
+
"name": "getRelease",
|
875
|
+
"outputs": [
|
876
|
+
{
|
877
|
+
"internalType": "VersionPart",
|
878
|
+
"name": "release",
|
879
|
+
"type": "uint8"
|
880
|
+
}
|
881
|
+
],
|
882
|
+
"stateMutability": "view",
|
883
|
+
"type": "function"
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"inputs": [],
|
887
|
+
"name": "getRoleId",
|
888
|
+
"outputs": [
|
889
|
+
{
|
890
|
+
"internalType": "RoleId",
|
891
|
+
"name": "serviceRoleId",
|
892
|
+
"type": "uint64"
|
893
|
+
}
|
894
|
+
],
|
895
|
+
"stateMutability": "view",
|
896
|
+
"type": "function"
|
897
|
+
},
|
427
898
|
{
|
428
899
|
"inputs": [],
|
429
900
|
"name": "getVersion",
|
@@ -455,6 +926,19 @@
|
|
455
926
|
"stateMutability": "nonpayable",
|
456
927
|
"type": "function"
|
457
928
|
},
|
929
|
+
{
|
930
|
+
"inputs": [],
|
931
|
+
"name": "isActive",
|
932
|
+
"outputs": [
|
933
|
+
{
|
934
|
+
"internalType": "bool",
|
935
|
+
"name": "active",
|
936
|
+
"type": "bool"
|
937
|
+
}
|
938
|
+
],
|
939
|
+
"stateMutability": "view",
|
940
|
+
"type": "function"
|
941
|
+
},
|
458
942
|
{
|
459
943
|
"inputs": [],
|
460
944
|
"name": "isConsumingScheduledOp",
|
@@ -471,7 +955,13 @@
|
|
471
955
|
{
|
472
956
|
"inputs": [],
|
473
957
|
"name": "linkToRegisteredNftId",
|
474
|
-
"outputs": [
|
958
|
+
"outputs": [
|
959
|
+
{
|
960
|
+
"internalType": "NftId",
|
961
|
+
"name": "",
|
962
|
+
"type": "uint96"
|
963
|
+
}
|
964
|
+
],
|
475
965
|
"stateMutability": "nonpayable",
|
476
966
|
"type": "function"
|
477
967
|
},
|
@@ -482,6 +972,11 @@
|
|
482
972
|
"name": "instance",
|
483
973
|
"type": "address"
|
484
974
|
},
|
975
|
+
{
|
976
|
+
"internalType": "address",
|
977
|
+
"name": "token",
|
978
|
+
"type": "address"
|
979
|
+
},
|
485
980
|
{
|
486
981
|
"internalType": "NftId",
|
487
982
|
"name": "productNftId",
|
@@ -493,245 +988,146 @@
|
|
493
988
|
"type": "uint96"
|
494
989
|
},
|
495
990
|
{
|
496
|
-
"
|
497
|
-
|
498
|
-
|
499
|
-
"name": "productNftId",
|
500
|
-
"type": "uint96"
|
501
|
-
},
|
502
|
-
{
|
503
|
-
"internalType": "NftId",
|
504
|
-
"name": "bundleNftId",
|
505
|
-
"type": "uint96"
|
506
|
-
},
|
507
|
-
{
|
508
|
-
"internalType": "ReferralId",
|
509
|
-
"name": "referralId",
|
510
|
-
"type": "bytes8"
|
511
|
-
},
|
512
|
-
{
|
513
|
-
"internalType": "RiskId",
|
514
|
-
"name": "riskId",
|
515
|
-
"type": "bytes8"
|
516
|
-
},
|
517
|
-
{
|
518
|
-
"internalType": "Amount",
|
519
|
-
"name": "sumInsuredAmount",
|
520
|
-
"type": "uint96"
|
521
|
-
},
|
522
|
-
{
|
523
|
-
"internalType": "Amount",
|
524
|
-
"name": "premiumAmount",
|
525
|
-
"type": "uint96"
|
526
|
-
},
|
527
|
-
{
|
528
|
-
"internalType": "Amount",
|
529
|
-
"name": "premiumPaidAmount",
|
530
|
-
"type": "uint96"
|
531
|
-
},
|
532
|
-
{
|
533
|
-
"internalType": "Seconds",
|
534
|
-
"name": "lifetime",
|
535
|
-
"type": "uint40"
|
536
|
-
},
|
537
|
-
{
|
538
|
-
"internalType": "bytes",
|
539
|
-
"name": "applicationData",
|
540
|
-
"type": "bytes"
|
541
|
-
},
|
542
|
-
{
|
543
|
-
"internalType": "bytes",
|
544
|
-
"name": "processData",
|
545
|
-
"type": "bytes"
|
546
|
-
},
|
547
|
-
{
|
548
|
-
"internalType": "uint16",
|
549
|
-
"name": "claimsCount",
|
550
|
-
"type": "uint16"
|
551
|
-
},
|
552
|
-
{
|
553
|
-
"internalType": "uint16",
|
554
|
-
"name": "openClaimsCount",
|
555
|
-
"type": "uint16"
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"internalType": "Amount",
|
559
|
-
"name": "claimAmount",
|
560
|
-
"type": "uint96"
|
561
|
-
},
|
562
|
-
{
|
563
|
-
"internalType": "Amount",
|
564
|
-
"name": "payoutAmount",
|
565
|
-
"type": "uint96"
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"internalType": "Timestamp",
|
569
|
-
"name": "activatedAt",
|
570
|
-
"type": "uint40"
|
571
|
-
},
|
572
|
-
{
|
573
|
-
"internalType": "Timestamp",
|
574
|
-
"name": "expiredAt",
|
575
|
-
"type": "uint40"
|
576
|
-
},
|
577
|
-
{
|
578
|
-
"internalType": "Timestamp",
|
579
|
-
"name": "closedAt",
|
580
|
-
"type": "uint40"
|
581
|
-
}
|
582
|
-
],
|
583
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
584
|
-
"name": "applicationInfo",
|
585
|
-
"type": "tuple"
|
991
|
+
"internalType": "NftId",
|
992
|
+
"name": "bundleNftId",
|
993
|
+
"type": "uint96"
|
586
994
|
},
|
587
995
|
{
|
588
996
|
"internalType": "Amount",
|
589
|
-
"name": "
|
997
|
+
"name": "sumInsuredAmount",
|
590
998
|
"type": "uint96"
|
591
999
|
}
|
592
1000
|
],
|
593
1001
|
"name": "lockCollateral",
|
1002
|
+
"outputs": [
|
1003
|
+
{
|
1004
|
+
"internalType": "Amount",
|
1005
|
+
"name": "localCollateralAmount",
|
1006
|
+
"type": "uint96"
|
1007
|
+
},
|
1008
|
+
{
|
1009
|
+
"internalType": "Amount",
|
1010
|
+
"name": "totalCollateralAmount",
|
1011
|
+
"type": "uint96"
|
1012
|
+
}
|
1013
|
+
],
|
1014
|
+
"stateMutability": "nonpayable",
|
1015
|
+
"type": "function"
|
1016
|
+
},
|
1017
|
+
{
|
1018
|
+
"inputs": [
|
1019
|
+
{
|
1020
|
+
"internalType": "NftId",
|
1021
|
+
"name": "policyNftId",
|
1022
|
+
"type": "uint96"
|
1023
|
+
},
|
1024
|
+
{
|
1025
|
+
"internalType": "ClaimId",
|
1026
|
+
"name": "claimId",
|
1027
|
+
"type": "uint16"
|
1028
|
+
},
|
1029
|
+
{
|
1030
|
+
"internalType": "Amount",
|
1031
|
+
"name": "availableAmount",
|
1032
|
+
"type": "uint96"
|
1033
|
+
}
|
1034
|
+
],
|
1035
|
+
"name": "processFundedClaim",
|
594
1036
|
"outputs": [],
|
595
1037
|
"stateMutability": "nonpayable",
|
596
1038
|
"type": "function"
|
597
1039
|
},
|
598
1040
|
{
|
599
1041
|
"inputs": [
|
1042
|
+
{
|
1043
|
+
"internalType": "contract InstanceReader",
|
1044
|
+
"name": "instanceReader",
|
1045
|
+
"type": "address"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"internalType": "contract InstanceStore",
|
1049
|
+
"name": "instanceStore",
|
1050
|
+
"type": "address"
|
1051
|
+
},
|
600
1052
|
{
|
601
1053
|
"internalType": "NftId",
|
602
|
-
"name": "
|
1054
|
+
"name": "productNftId",
|
603
1055
|
"type": "uint96"
|
604
1056
|
},
|
605
1057
|
{
|
606
|
-
"
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
"name": "premiumAmount",
|
620
|
-
"type": "uint256"
|
621
|
-
},
|
622
|
-
{
|
623
|
-
"internalType": "uint256",
|
624
|
-
"name": "productFeeFixAmount",
|
625
|
-
"type": "uint256"
|
626
|
-
},
|
627
|
-
{
|
628
|
-
"internalType": "uint256",
|
629
|
-
"name": "poolFeeFixAmount",
|
630
|
-
"type": "uint256"
|
631
|
-
},
|
632
|
-
{
|
633
|
-
"internalType": "uint256",
|
634
|
-
"name": "bundleFeeFixAmount",
|
635
|
-
"type": "uint256"
|
636
|
-
},
|
637
|
-
{
|
638
|
-
"internalType": "uint256",
|
639
|
-
"name": "distributionFeeFixAmount",
|
640
|
-
"type": "uint256"
|
641
|
-
},
|
642
|
-
{
|
643
|
-
"internalType": "uint256",
|
644
|
-
"name": "productFeeVarAmount",
|
645
|
-
"type": "uint256"
|
646
|
-
},
|
647
|
-
{
|
648
|
-
"internalType": "uint256",
|
649
|
-
"name": "poolFeeVarAmount",
|
650
|
-
"type": "uint256"
|
651
|
-
},
|
652
|
-
{
|
653
|
-
"internalType": "uint256",
|
654
|
-
"name": "bundleFeeVarAmount",
|
655
|
-
"type": "uint256"
|
656
|
-
},
|
657
|
-
{
|
658
|
-
"internalType": "uint256",
|
659
|
-
"name": "distributionFeeVarAmount",
|
660
|
-
"type": "uint256"
|
661
|
-
},
|
662
|
-
{
|
663
|
-
"internalType": "uint256",
|
664
|
-
"name": "distributionOwnerFeeFixAmount",
|
665
|
-
"type": "uint256"
|
666
|
-
},
|
667
|
-
{
|
668
|
-
"internalType": "uint256",
|
669
|
-
"name": "distributionOwnerFeeVarAmount",
|
670
|
-
"type": "uint256"
|
671
|
-
},
|
672
|
-
{
|
673
|
-
"internalType": "uint256",
|
674
|
-
"name": "commissionAmount",
|
675
|
-
"type": "uint256"
|
676
|
-
},
|
677
|
-
{
|
678
|
-
"internalType": "uint256",
|
679
|
-
"name": "discountAmount",
|
680
|
-
"type": "uint256"
|
681
|
-
}
|
682
|
-
],
|
683
|
-
"internalType": "struct IPolicy.Premium",
|
684
|
-
"name": "premium",
|
685
|
-
"type": "tuple"
|
1058
|
+
"internalType": "NftId",
|
1059
|
+
"name": "policyNftId",
|
1060
|
+
"type": "uint96"
|
1061
|
+
},
|
1062
|
+
{
|
1063
|
+
"internalType": "NftId",
|
1064
|
+
"name": "bundleNftId",
|
1065
|
+
"type": "uint96"
|
1066
|
+
},
|
1067
|
+
{
|
1068
|
+
"internalType": "PayoutId",
|
1069
|
+
"name": "payoutId",
|
1070
|
+
"type": "uint40"
|
686
1071
|
},
|
687
1072
|
{
|
688
1073
|
"internalType": "Amount",
|
689
|
-
"name": "
|
1074
|
+
"name": "payoutAmount",
|
1075
|
+
"type": "uint96"
|
1076
|
+
},
|
1077
|
+
{
|
1078
|
+
"internalType": "address",
|
1079
|
+
"name": "payoutBeneficiary",
|
1080
|
+
"type": "address"
|
1081
|
+
}
|
1082
|
+
],
|
1083
|
+
"name": "processPayout",
|
1084
|
+
"outputs": [
|
1085
|
+
{
|
1086
|
+
"internalType": "Amount",
|
1087
|
+
"name": "netPayoutAmount",
|
1088
|
+
"type": "uint96"
|
1089
|
+
},
|
1090
|
+
{
|
1091
|
+
"internalType": "Amount",
|
1092
|
+
"name": "processingFeeAmount",
|
690
1093
|
"type": "uint96"
|
691
1094
|
}
|
692
1095
|
],
|
693
|
-
"name": "processSale",
|
694
|
-
"outputs": [],
|
695
1096
|
"stateMutability": "nonpayable",
|
696
1097
|
"type": "function"
|
697
1098
|
},
|
698
1099
|
{
|
699
1100
|
"inputs": [
|
700
|
-
{
|
701
|
-
"internalType": "contract IInstance",
|
702
|
-
"name": "instance",
|
703
|
-
"type": "address"
|
704
|
-
},
|
705
1101
|
{
|
706
1102
|
"internalType": "NftId",
|
707
|
-
"name": "
|
1103
|
+
"name": "bundleNftId",
|
708
1104
|
"type": "uint96"
|
709
1105
|
},
|
710
1106
|
{
|
711
1107
|
"components": [
|
712
1108
|
{
|
713
|
-
"internalType": "
|
714
|
-
"name": "
|
1109
|
+
"internalType": "Amount",
|
1110
|
+
"name": "productFeeAmount",
|
715
1111
|
"type": "uint96"
|
716
1112
|
},
|
717
1113
|
{
|
718
|
-
"internalType": "
|
719
|
-
"name": "
|
1114
|
+
"internalType": "Amount",
|
1115
|
+
"name": "distributionFeeAndCommissionAmount",
|
720
1116
|
"type": "uint96"
|
721
1117
|
},
|
722
1118
|
{
|
723
|
-
"internalType": "
|
724
|
-
"name": "
|
725
|
-
"type": "
|
1119
|
+
"internalType": "Amount",
|
1120
|
+
"name": "poolPremiumAndFeeAmount",
|
1121
|
+
"type": "uint96"
|
726
1122
|
},
|
727
1123
|
{
|
728
|
-
"internalType": "
|
729
|
-
"name": "
|
730
|
-
"type": "
|
1124
|
+
"internalType": "Amount",
|
1125
|
+
"name": "netPremiumAmount",
|
1126
|
+
"type": "uint96"
|
731
1127
|
},
|
732
1128
|
{
|
733
1129
|
"internalType": "Amount",
|
734
|
-
"name": "
|
1130
|
+
"name": "fullPremiumAmount",
|
735
1131
|
"type": "uint96"
|
736
1132
|
},
|
737
1133
|
{
|
@@ -741,94 +1137,75 @@
|
|
741
1137
|
},
|
742
1138
|
{
|
743
1139
|
"internalType": "Amount",
|
744
|
-
"name": "
|
1140
|
+
"name": "productFeeFixAmount",
|
745
1141
|
"type": "uint96"
|
746
1142
|
},
|
747
1143
|
{
|
748
|
-
"internalType": "
|
749
|
-
"name": "
|
750
|
-
"type": "
|
1144
|
+
"internalType": "Amount",
|
1145
|
+
"name": "poolFeeFixAmount",
|
1146
|
+
"type": "uint96"
|
751
1147
|
},
|
752
1148
|
{
|
753
|
-
"internalType": "
|
754
|
-
"name": "
|
755
|
-
"type": "
|
1149
|
+
"internalType": "Amount",
|
1150
|
+
"name": "bundleFeeFixAmount",
|
1151
|
+
"type": "uint96"
|
756
1152
|
},
|
757
1153
|
{
|
758
|
-
"internalType": "
|
759
|
-
"name": "
|
760
|
-
"type": "
|
1154
|
+
"internalType": "Amount",
|
1155
|
+
"name": "distributionFeeFixAmount",
|
1156
|
+
"type": "uint96"
|
761
1157
|
},
|
762
1158
|
{
|
763
|
-
"internalType": "
|
764
|
-
"name": "
|
765
|
-
"type": "
|
1159
|
+
"internalType": "Amount",
|
1160
|
+
"name": "productFeeVarAmount",
|
1161
|
+
"type": "uint96"
|
766
1162
|
},
|
767
1163
|
{
|
768
|
-
"internalType": "
|
769
|
-
"name": "
|
770
|
-
"type": "
|
1164
|
+
"internalType": "Amount",
|
1165
|
+
"name": "poolFeeVarAmount",
|
1166
|
+
"type": "uint96"
|
771
1167
|
},
|
772
1168
|
{
|
773
1169
|
"internalType": "Amount",
|
774
|
-
"name": "
|
1170
|
+
"name": "bundleFeeVarAmount",
|
775
1171
|
"type": "uint96"
|
776
1172
|
},
|
777
1173
|
{
|
778
1174
|
"internalType": "Amount",
|
779
|
-
"name": "
|
1175
|
+
"name": "distributionFeeVarAmount",
|
780
1176
|
"type": "uint96"
|
781
1177
|
},
|
782
1178
|
{
|
783
|
-
"internalType": "
|
784
|
-
"name": "
|
785
|
-
"type": "
|
1179
|
+
"internalType": "Amount",
|
1180
|
+
"name": "distributionOwnerFeeFixAmount",
|
1181
|
+
"type": "uint96"
|
786
1182
|
},
|
787
1183
|
{
|
788
|
-
"internalType": "
|
789
|
-
"name": "
|
790
|
-
"type": "
|
1184
|
+
"internalType": "Amount",
|
1185
|
+
"name": "distributionOwnerFeeVarAmount",
|
1186
|
+
"type": "uint96"
|
791
1187
|
},
|
792
1188
|
{
|
793
|
-
"internalType": "
|
794
|
-
"name": "
|
795
|
-
"type": "
|
1189
|
+
"internalType": "Amount",
|
1190
|
+
"name": "commissionAmount",
|
1191
|
+
"type": "uint96"
|
1192
|
+
},
|
1193
|
+
{
|
1194
|
+
"internalType": "Amount",
|
1195
|
+
"name": "discountAmount",
|
1196
|
+
"type": "uint96"
|
796
1197
|
}
|
797
1198
|
],
|
798
|
-
"internalType": "struct IPolicy.
|
799
|
-
"name": "
|
1199
|
+
"internalType": "struct IPolicy.PremiumInfo",
|
1200
|
+
"name": "premium",
|
800
1201
|
"type": "tuple"
|
801
|
-
},
|
802
|
-
{
|
803
|
-
"internalType": "Amount",
|
804
|
-
"name": "payoutAmount",
|
805
|
-
"type": "uint96"
|
806
1202
|
}
|
807
1203
|
],
|
808
|
-
"name": "
|
1204
|
+
"name": "processSale",
|
809
1205
|
"outputs": [],
|
810
1206
|
"stateMutability": "nonpayable",
|
811
1207
|
"type": "function"
|
812
1208
|
},
|
813
|
-
{
|
814
|
-
"inputs": [
|
815
|
-
{
|
816
|
-
"internalType": "address",
|
817
|
-
"name": "poolAddress",
|
818
|
-
"type": "address"
|
819
|
-
}
|
820
|
-
],
|
821
|
-
"name": "register",
|
822
|
-
"outputs": [
|
823
|
-
{
|
824
|
-
"internalType": "NftId",
|
825
|
-
"name": "",
|
826
|
-
"type": "uint96"
|
827
|
-
}
|
828
|
-
],
|
829
|
-
"stateMutability": "nonpayable",
|
830
|
-
"type": "function"
|
831
|
-
},
|
832
1209
|
{
|
833
1210
|
"inputs": [
|
834
1211
|
{
|
@@ -853,11 +1230,6 @@
|
|
853
1230
|
"name": "bundleNftId",
|
854
1231
|
"type": "uint96"
|
855
1232
|
},
|
856
|
-
{
|
857
|
-
"internalType": "ReferralId",
|
858
|
-
"name": "referralId",
|
859
|
-
"type": "bytes8"
|
860
|
-
},
|
861
1233
|
{
|
862
1234
|
"internalType": "RiskId",
|
863
1235
|
"name": "riskId",
|
@@ -874,24 +1246,9 @@
|
|
874
1246
|
"type": "uint96"
|
875
1247
|
},
|
876
1248
|
{
|
877
|
-
"internalType": "
|
878
|
-
"name": "
|
879
|
-
"type": "
|
880
|
-
},
|
881
|
-
{
|
882
|
-
"internalType": "Seconds",
|
883
|
-
"name": "lifetime",
|
884
|
-
"type": "uint40"
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"internalType": "bytes",
|
888
|
-
"name": "applicationData",
|
889
|
-
"type": "bytes"
|
890
|
-
},
|
891
|
-
{
|
892
|
-
"internalType": "bytes",
|
893
|
-
"name": "processData",
|
894
|
-
"type": "bytes"
|
1249
|
+
"internalType": "ReferralId",
|
1250
|
+
"name": "referralId",
|
1251
|
+
"type": "bytes8"
|
895
1252
|
},
|
896
1253
|
{
|
897
1254
|
"internalType": "uint16",
|
@@ -918,6 +1275,11 @@
|
|
918
1275
|
"name": "activatedAt",
|
919
1276
|
"type": "uint40"
|
920
1277
|
},
|
1278
|
+
{
|
1279
|
+
"internalType": "Seconds",
|
1280
|
+
"name": "lifetime",
|
1281
|
+
"type": "uint40"
|
1282
|
+
},
|
921
1283
|
{
|
922
1284
|
"internalType": "Timestamp",
|
923
1285
|
"name": "expiredAt",
|
@@ -927,6 +1289,16 @@
|
|
927
1289
|
"internalType": "Timestamp",
|
928
1290
|
"name": "closedAt",
|
929
1291
|
"type": "uint40"
|
1292
|
+
},
|
1293
|
+
{
|
1294
|
+
"internalType": "bytes",
|
1295
|
+
"name": "applicationData",
|
1296
|
+
"type": "bytes"
|
1297
|
+
},
|
1298
|
+
{
|
1299
|
+
"internalType": "bytes",
|
1300
|
+
"name": "processData",
|
1301
|
+
"type": "bytes"
|
930
1302
|
}
|
931
1303
|
],
|
932
1304
|
"internalType": "struct IPolicy.PolicyInfo",
|
@@ -955,12 +1327,12 @@
|
|
955
1327
|
{
|
956
1328
|
"inputs": [
|
957
1329
|
{
|
958
|
-
"internalType": "
|
959
|
-
"name": "
|
960
|
-
"type": "
|
1330
|
+
"internalType": "Amount",
|
1331
|
+
"name": "maxBalanceAmount",
|
1332
|
+
"type": "uint96"
|
961
1333
|
}
|
962
1334
|
],
|
963
|
-
"name": "
|
1335
|
+
"name": "setMaxBalanceAmount",
|
964
1336
|
"outputs": [],
|
965
1337
|
"stateMutability": "nonpayable",
|
966
1338
|
"type": "function"
|
@@ -968,72 +1340,24 @@
|
|
968
1340
|
{
|
969
1341
|
"inputs": [
|
970
1342
|
{
|
971
|
-
"
|
972
|
-
|
973
|
-
|
974
|
-
"name": "fractionalFee",
|
975
|
-
"type": "uint256"
|
976
|
-
},
|
977
|
-
{
|
978
|
-
"internalType": "uint256",
|
979
|
-
"name": "fixedFee",
|
980
|
-
"type": "uint256"
|
981
|
-
}
|
982
|
-
],
|
983
|
-
"internalType": "struct Fee",
|
984
|
-
"name": "poolFee",
|
985
|
-
"type": "tuple"
|
986
|
-
},
|
987
|
-
{
|
988
|
-
"components": [
|
989
|
-
{
|
990
|
-
"internalType": "UFixed",
|
991
|
-
"name": "fractionalFee",
|
992
|
-
"type": "uint256"
|
993
|
-
},
|
994
|
-
{
|
995
|
-
"internalType": "uint256",
|
996
|
-
"name": "fixedFee",
|
997
|
-
"type": "uint256"
|
998
|
-
}
|
999
|
-
],
|
1000
|
-
"internalType": "struct Fee",
|
1001
|
-
"name": "stakingFee",
|
1002
|
-
"type": "tuple"
|
1343
|
+
"internalType": "NftId",
|
1344
|
+
"name": "bundleNftId",
|
1345
|
+
"type": "uint96"
|
1003
1346
|
},
|
1004
1347
|
{
|
1005
|
-
"
|
1006
|
-
|
1007
|
-
|
1008
|
-
"name": "fractionalFee",
|
1009
|
-
"type": "uint256"
|
1010
|
-
},
|
1011
|
-
{
|
1012
|
-
"internalType": "uint256",
|
1013
|
-
"name": "fixedFee",
|
1014
|
-
"type": "uint256"
|
1015
|
-
}
|
1016
|
-
],
|
1017
|
-
"internalType": "struct Fee",
|
1018
|
-
"name": "performanceFee",
|
1019
|
-
"type": "tuple"
|
1348
|
+
"internalType": "Amount",
|
1349
|
+
"name": "amount",
|
1350
|
+
"type": "uint96"
|
1020
1351
|
}
|
1021
1352
|
],
|
1022
|
-
"name": "
|
1023
|
-
"outputs": [
|
1024
|
-
"stateMutability": "nonpayable",
|
1025
|
-
"type": "function"
|
1026
|
-
},
|
1027
|
-
{
|
1028
|
-
"inputs": [
|
1353
|
+
"name": "stake",
|
1354
|
+
"outputs": [
|
1029
1355
|
{
|
1030
1356
|
"internalType": "Amount",
|
1031
|
-
"name": "
|
1357
|
+
"name": "netAmount",
|
1032
1358
|
"type": "uint96"
|
1033
1359
|
}
|
1034
1360
|
],
|
1035
|
-
"name": "setMaxCapitalAmount",
|
1036
|
-
"outputs": [],
|
1037
1361
|
"stateMutability": "nonpayable",
|
1038
1362
|
"type": "function"
|
1039
1363
|
},
|
@@ -1056,6 +1380,30 @@
|
|
1056
1380
|
"stateMutability": "view",
|
1057
1381
|
"type": "function"
|
1058
1382
|
},
|
1383
|
+
{
|
1384
|
+
"inputs": [
|
1385
|
+
{
|
1386
|
+
"internalType": "NftId",
|
1387
|
+
"name": "bundleNftId",
|
1388
|
+
"type": "uint96"
|
1389
|
+
},
|
1390
|
+
{
|
1391
|
+
"internalType": "Amount",
|
1392
|
+
"name": "amount",
|
1393
|
+
"type": "uint96"
|
1394
|
+
}
|
1395
|
+
],
|
1396
|
+
"name": "unstake",
|
1397
|
+
"outputs": [
|
1398
|
+
{
|
1399
|
+
"internalType": "Amount",
|
1400
|
+
"name": "netAmount",
|
1401
|
+
"type": "uint96"
|
1402
|
+
}
|
1403
|
+
],
|
1404
|
+
"stateMutability": "nonpayable",
|
1405
|
+
"type": "function"
|
1406
|
+
},
|
1059
1407
|
{
|
1060
1408
|
"inputs": [
|
1061
1409
|
{
|
@@ -1068,6 +1416,30 @@
|
|
1068
1416
|
"outputs": [],
|
1069
1417
|
"stateMutability": "nonpayable",
|
1070
1418
|
"type": "function"
|
1419
|
+
},
|
1420
|
+
{
|
1421
|
+
"inputs": [
|
1422
|
+
{
|
1423
|
+
"internalType": "NftId",
|
1424
|
+
"name": "bundleNftId",
|
1425
|
+
"type": "uint96"
|
1426
|
+
},
|
1427
|
+
{
|
1428
|
+
"internalType": "Amount",
|
1429
|
+
"name": "amount",
|
1430
|
+
"type": "uint96"
|
1431
|
+
}
|
1432
|
+
],
|
1433
|
+
"name": "withdrawBundleFees",
|
1434
|
+
"outputs": [
|
1435
|
+
{
|
1436
|
+
"internalType": "Amount",
|
1437
|
+
"name": "withdrawnAmount",
|
1438
|
+
"type": "uint96"
|
1439
|
+
}
|
1440
|
+
],
|
1441
|
+
"stateMutability": "nonpayable",
|
1442
|
+
"type": "function"
|
1071
1443
|
}
|
1072
1444
|
],
|
1073
1445
|
"bytecode": "0x",
|