@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e7a5428-226
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/authorization/IAccess.sol/IAccess.json +10 -0
- 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 +146 -607
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +767 -301
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +288 -118
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +152 -273
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +553 -77
- 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 +497 -75
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +617 -250
- 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 +1789 -713
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +509 -220
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +204 -96
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1109 -817
- 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 +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
- 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 +582 -235
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +278 -96
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +398 -49
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +151 -394
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +770 -365
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +148 -682
- 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 +940 -518
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +283 -97
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +382 -166
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +222 -92
- 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 +502 -230
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +251 -113
- 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 +436 -101
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +202 -80
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +291 -264
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +295 -150
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +564 -292
- 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 +259 -97
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +262 -299
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +220 -122
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +322 -596
- 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 +454 -42
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +275 -193
- 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 +806 -97
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1061 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +320 -312
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +206 -94
- 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 +257 -147
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +92 -277
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +632 -542
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +241 -115
- 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 +99 -94
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +549 -228
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +138 -130
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +51 -19
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
- 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 +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +131 -366
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +61 -104
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
- 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 -98
- 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 +585 -12
- 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 +1388 -635
- 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/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1703 -957
- 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/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 +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +274 -92
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +544 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +751 -212
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +215 -85
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2637 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +657 -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 +81 -17
- 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 +98 -37
- 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 +47 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +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 +126 -142
- package/contracts/distribution/DistributionService.sol +288 -137
- package/contracts/distribution/DistributionServiceManager.sol +13 -25
- package/contracts/distribution/IDistributionComponent.sol +22 -43
- package/contracts/distribution/IDistributionService.sol +61 -27
- 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 +80 -46
- package/contracts/instance/Instance.sol +252 -133
- package/contracts/instance/InstanceAdmin.sol +383 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
- package/contracts/instance/InstanceReader.sol +499 -233
- package/contracts/instance/InstanceService.sol +370 -218
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +94 -55
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/base/BalanceStore.sol +16 -13
- 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 -5
- package/contracts/instance/module/IComponents.sol +30 -20
- package/contracts/instance/module/IDistribution.sol +21 -9
- package/contracts/instance/module/IPolicy.sol +50 -29
- 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 +225 -152
- package/contracts/pool/BundleServiceManager.sol +13 -25
- package/contracts/pool/IBundleService.sol +44 -34
- package/contracts/pool/IPoolComponent.sol +20 -70
- package/contracts/pool/IPoolService.sol +99 -76
- package/contracts/pool/Pool.sol +198 -164
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +448 -255
- package/contracts/pool/PoolServiceManager.sol +12 -24
- package/contracts/product/ApplicationService.sol +160 -86
- 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 -195
- 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 -38
- package/contracts/product/IPricingService.sol +12 -11
- package/contracts/product/IProductComponent.sol +29 -9
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +450 -276
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +12 -27
- package/contracts/product/PricingService.sol +97 -91
- package/contracts/product/PricingServiceManager.sol +12 -24
- package/contracts/product/Product.sol +263 -147
- 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 +99 -38
- package/contracts/registry/IRegistryService.sol +26 -43
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +439 -232
- package/contracts/registry/RegistryAdmin.sol +188 -0
- package/contracts/registry/RegistryAuthorization.sol +309 -0
- package/contracts/registry/RegistryService.sol +66 -152
- 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 +211 -81
- package/contracts/shared/Component.sol +71 -143
- package/contracts/shared/ComponentService.sol +460 -369
- package/contracts/shared/ComponentServiceManager.sol +10 -7
- package/contracts/shared/ContractLib.sol +312 -0
- package/contracts/shared/IComponent.sol +7 -23
- package/contracts/shared/IComponentService.sol +51 -31
- package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
- package/contracts/shared/IKeyValueStore.sol +3 -2
- package/contracts/shared/ILifecycle.sol +3 -2
- 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 +95 -46
- package/contracts/shared/KeyValueStore.sol +32 -70
- package/contracts/shared/Lifecycle.sol +30 -63
- 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 +52 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +32 -42
- package/contracts/shared/TokenHandler.sol +310 -26
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +229 -42
- package/contracts/staking/IStakingService.sol +98 -76
- package/contracts/staking/Staking.sol +633 -99
- package/contracts/staking/StakingLib.sol +195 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +25 -20
- package/contracts/staking/StakingReader.sol +151 -0
- package/contracts/staking/StakingService.sol +174 -53
- package/contracts/staking/StakingServiceManager.sol +13 -8
- package/contracts/staking/StakingStore.sol +973 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +43 -3
- package/contracts/type/Blocknumber.sol +34 -16
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +9 -9
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +16 -4
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +204 -62
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +39 -7
- package/contracts/type/RoleId.sol +122 -80
- package/contracts/type/Seconds.sol +62 -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 -132
- 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/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -381
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -636
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -308
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -688
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
- 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/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- 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 -336
- package/contracts/instance/base/ObjectManager.sol +0 -82
- package/contracts/instance/module/IAccess.sol +0 -54
- package/contracts/product/IProductService.sol +0 -33
- package/contracts/product/ProductService.sol +0 -122
- package/contracts/product/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -213
- package/contracts/registry/ReleaseManager.sol +0 -375
- package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/shared/ComponentVerifyingService.sol +0 -111
- package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -41,31 +41,20 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
-
{
|
45
|
-
"inputs": [],
|
46
|
-
"name": "ErrorComponentNameLengthZero",
|
47
|
-
"type": "error"
|
48
|
-
},
|
49
44
|
{
|
50
45
|
"inputs": [
|
51
46
|
{
|
52
47
|
"internalType": "address",
|
53
|
-
"name": "
|
48
|
+
"name": "authority",
|
54
49
|
"type": "address"
|
55
50
|
}
|
56
51
|
],
|
57
|
-
"name": "
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
58
53
|
"type": "error"
|
59
54
|
},
|
60
55
|
{
|
61
|
-
"inputs": [
|
62
|
-
|
63
|
-
"internalType": "NftId",
|
64
|
-
"name": "instanceNftId",
|
65
|
-
"type": "uint96"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"name": "ErrorComponentNotInstance",
|
56
|
+
"inputs": [],
|
57
|
+
"name": "ErrorComponentNameLengthZero",
|
69
58
|
"type": "error"
|
70
59
|
},
|
71
60
|
{
|
@@ -76,17 +65,17 @@
|
|
76
65
|
"type": "address"
|
77
66
|
}
|
78
67
|
],
|
79
|
-
"name": "
|
68
|
+
"name": "ErrorComponentNotChainNft",
|
80
69
|
"type": "error"
|
81
70
|
},
|
82
71
|
{
|
83
72
|
"inputs": [],
|
84
|
-
"name": "
|
73
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
85
74
|
"type": "error"
|
86
75
|
},
|
87
76
|
{
|
88
77
|
"inputs": [],
|
89
|
-
"name": "
|
78
|
+
"name": "ErrorComponentProductNftIdZero",
|
90
79
|
"type": "error"
|
91
80
|
},
|
92
81
|
{
|
@@ -99,35 +88,41 @@
|
|
99
88
|
"name": "ErrorComponentWalletAddressZero",
|
100
89
|
"type": "error"
|
101
90
|
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "ErrorComponentWalletNotComponent",
|
94
|
+
"type": "error"
|
95
|
+
},
|
102
96
|
{
|
103
97
|
"inputs": [
|
104
98
|
{
|
105
|
-
"internalType": "
|
106
|
-
"name": "
|
107
|
-
"type": "
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"internalType": "address",
|
111
|
-
"name": "newWallet",
|
112
|
-
"type": "address"
|
113
|
-
},
|
114
|
-
{
|
115
|
-
"internalType": "uint256",
|
116
|
-
"name": "allowance",
|
117
|
-
"type": "uint256"
|
99
|
+
"internalType": "NftId",
|
100
|
+
"name": "nftId",
|
101
|
+
"type": "uint96"
|
118
102
|
},
|
119
103
|
{
|
120
|
-
"internalType": "
|
121
|
-
"name": "
|
122
|
-
"type": "
|
104
|
+
"internalType": "ObjectType",
|
105
|
+
"name": "objectType",
|
106
|
+
"type": "uint8"
|
123
107
|
}
|
124
108
|
],
|
125
|
-
"name": "
|
109
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
126
110
|
"type": "error"
|
127
111
|
},
|
128
112
|
{
|
129
|
-
"inputs": [
|
130
|
-
|
113
|
+
"inputs": [
|
114
|
+
{
|
115
|
+
"internalType": "ObjectType",
|
116
|
+
"name": "requiredType",
|
117
|
+
"type": "uint8"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"internalType": "ObjectType",
|
121
|
+
"name": "objectType",
|
122
|
+
"type": "uint8"
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
131
126
|
"type": "error"
|
132
127
|
},
|
133
128
|
{
|
@@ -157,6 +152,22 @@
|
|
157
152
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
158
153
|
"type": "error"
|
159
154
|
},
|
155
|
+
{
|
156
|
+
"inputs": [
|
157
|
+
{
|
158
|
+
"internalType": "NftId",
|
159
|
+
"name": "nftId",
|
160
|
+
"type": "uint96"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "ObjectType",
|
164
|
+
"name": "expectedObjectType",
|
165
|
+
"type": "uint8"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"name": "ErrorNftOwnableInvalidType",
|
169
|
+
"type": "error"
|
170
|
+
},
|
160
171
|
{
|
161
172
|
"inputs": [
|
162
173
|
{
|
@@ -217,6 +228,11 @@
|
|
217
228
|
"name": "ErrorPoolNotPoolService",
|
218
229
|
"type": "error"
|
219
230
|
},
|
231
|
+
{
|
232
|
+
"inputs": [],
|
233
|
+
"name": "ErrorRegisterableNotActive",
|
234
|
+
"type": "error"
|
235
|
+
},
|
220
236
|
{
|
221
237
|
"anonymous": false,
|
222
238
|
"inputs": [
|
@@ -233,6 +249,12 @@
|
|
233
249
|
{
|
234
250
|
"anonymous": false,
|
235
251
|
"inputs": [
|
252
|
+
{
|
253
|
+
"indexed": false,
|
254
|
+
"internalType": "address",
|
255
|
+
"name": "tokenHandler",
|
256
|
+
"type": "address"
|
257
|
+
},
|
236
258
|
{
|
237
259
|
"indexed": false,
|
238
260
|
"internalType": "address",
|
@@ -241,9 +263,15 @@
|
|
241
263
|
},
|
242
264
|
{
|
243
265
|
"indexed": false,
|
244
|
-
"internalType": "
|
266
|
+
"internalType": "Amount",
|
245
267
|
"name": "limit",
|
246
|
-
"type": "
|
268
|
+
"type": "uint96"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"indexed": false,
|
272
|
+
"internalType": "bool",
|
273
|
+
"name": "isMaxAmount",
|
274
|
+
"type": "bool"
|
247
275
|
}
|
248
276
|
],
|
249
277
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -293,6 +321,25 @@
|
|
293
321
|
"name": "LogComponentWalletTokensTransferred",
|
294
322
|
"type": "event"
|
295
323
|
},
|
324
|
+
{
|
325
|
+
"anonymous": false,
|
326
|
+
"inputs": [
|
327
|
+
{
|
328
|
+
"indexed": false,
|
329
|
+
"internalType": "NftId",
|
330
|
+
"name": "nftId",
|
331
|
+
"type": "uint96"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"indexed": false,
|
335
|
+
"internalType": "address",
|
336
|
+
"name": "owner",
|
337
|
+
"type": "address"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
341
|
+
"type": "event"
|
342
|
+
},
|
296
343
|
{
|
297
344
|
"anonymous": false,
|
298
345
|
"inputs": [
|
@@ -357,19 +404,6 @@
|
|
357
404
|
"stateMutability": "view",
|
358
405
|
"type": "function"
|
359
406
|
},
|
360
|
-
{
|
361
|
-
"inputs": [
|
362
|
-
{
|
363
|
-
"internalType": "uint256",
|
364
|
-
"name": "spendingLimitAmount",
|
365
|
-
"type": "uint256"
|
366
|
-
}
|
367
|
-
],
|
368
|
-
"name": "approveTokenHandler",
|
369
|
-
"outputs": [],
|
370
|
-
"stateMutability": "nonpayable",
|
371
|
-
"type": "function"
|
372
|
-
},
|
373
407
|
{
|
374
408
|
"inputs": [],
|
375
409
|
"name": "authority",
|
@@ -384,34 +418,16 @@
|
|
384
418
|
"type": "function"
|
385
419
|
},
|
386
420
|
{
|
387
|
-
"inputs": [
|
388
|
-
|
389
|
-
|
390
|
-
"name": "bundleNftId",
|
391
|
-
"type": "uint96"
|
392
|
-
}
|
393
|
-
],
|
394
|
-
"name": "close",
|
395
|
-
"outputs": [],
|
396
|
-
"stateMutability": "nonpayable",
|
397
|
-
"type": "function"
|
398
|
-
},
|
399
|
-
{
|
400
|
-
"inputs": [
|
401
|
-
{
|
402
|
-
"internalType": "NftId",
|
403
|
-
"name": "bundleNftId",
|
404
|
-
"type": "uint96"
|
405
|
-
},
|
421
|
+
"inputs": [],
|
422
|
+
"name": "getAuthorization",
|
423
|
+
"outputs": [
|
406
424
|
{
|
407
|
-
"internalType": "
|
408
|
-
"name": "
|
409
|
-
"type": "
|
425
|
+
"internalType": "contract IAuthorization",
|
426
|
+
"name": "authorization",
|
427
|
+
"type": "address"
|
410
428
|
}
|
411
429
|
],
|
412
|
-
"
|
413
|
-
"outputs": [],
|
414
|
-
"stateMutability": "nonpayable",
|
430
|
+
"stateMutability": "view",
|
415
431
|
"type": "function"
|
416
432
|
},
|
417
433
|
{
|
@@ -425,26 +441,11 @@
|
|
425
441
|
"name": "name",
|
426
442
|
"type": "string"
|
427
443
|
},
|
428
|
-
{
|
429
|
-
"internalType": "NftId",
|
430
|
-
"name": "productNftId",
|
431
|
-
"type": "uint96"
|
432
|
-
},
|
433
|
-
{
|
434
|
-
"internalType": "contract IERC20Metadata",
|
435
|
-
"name": "token",
|
436
|
-
"type": "address"
|
437
|
-
},
|
438
444
|
{
|
439
445
|
"internalType": "contract TokenHandler",
|
440
446
|
"name": "tokenHandler",
|
441
447
|
"type": "address"
|
442
448
|
},
|
443
|
-
{
|
444
|
-
"internalType": "address",
|
445
|
-
"name": "wallet",
|
446
|
-
"type": "address"
|
447
|
-
},
|
448
449
|
{
|
449
450
|
"internalType": "bytes",
|
450
451
|
"name": "data",
|
@@ -470,26 +471,11 @@
|
|
470
471
|
"name": "name",
|
471
472
|
"type": "string"
|
472
473
|
},
|
473
|
-
{
|
474
|
-
"internalType": "NftId",
|
475
|
-
"name": "productNftId",
|
476
|
-
"type": "uint96"
|
477
|
-
},
|
478
|
-
{
|
479
|
-
"internalType": "contract IERC20Metadata",
|
480
|
-
"name": "token",
|
481
|
-
"type": "address"
|
482
|
-
},
|
483
474
|
{
|
484
475
|
"internalType": "contract TokenHandler",
|
485
476
|
"name": "tokenHandler",
|
486
477
|
"type": "address"
|
487
478
|
},
|
488
|
-
{
|
489
|
-
"internalType": "address",
|
490
|
-
"name": "wallet",
|
491
|
-
"type": "address"
|
492
|
-
},
|
493
479
|
{
|
494
480
|
"internalType": "bytes",
|
495
481
|
"name": "data",
|
@@ -561,19 +547,19 @@
|
|
561
547
|
{
|
562
548
|
"components": [
|
563
549
|
{
|
564
|
-
"internalType": "
|
565
|
-
"name": "
|
550
|
+
"internalType": "Amount",
|
551
|
+
"name": "maxBalanceAmount",
|
566
552
|
"type": "uint96"
|
567
553
|
},
|
568
554
|
{
|
569
|
-
"internalType": "
|
570
|
-
"name": "
|
571
|
-
"type": "
|
555
|
+
"internalType": "UFixed",
|
556
|
+
"name": "collateralizationLevel",
|
557
|
+
"type": "uint160"
|
572
558
|
},
|
573
559
|
{
|
574
|
-
"internalType": "
|
575
|
-
"name": "
|
576
|
-
"type": "
|
560
|
+
"internalType": "UFixed",
|
561
|
+
"name": "retentionLevel",
|
562
|
+
"type": "uint160"
|
577
563
|
},
|
578
564
|
{
|
579
565
|
"internalType": "bool",
|
@@ -582,74 +568,18 @@
|
|
582
568
|
},
|
583
569
|
{
|
584
570
|
"internalType": "bool",
|
585
|
-
"name": "
|
571
|
+
"name": "isProcessingConfirmedClaims",
|
586
572
|
"type": "bool"
|
587
573
|
},
|
588
574
|
{
|
589
575
|
"internalType": "bool",
|
590
|
-
"name": "
|
576
|
+
"name": "isExternallyManaged",
|
591
577
|
"type": "bool"
|
592
578
|
},
|
593
579
|
{
|
594
|
-
"internalType": "
|
595
|
-
"name": "
|
596
|
-
"type": "
|
597
|
-
},
|
598
|
-
{
|
599
|
-
"internalType": "UFixed",
|
600
|
-
"name": "retentionLevel",
|
601
|
-
"type": "uint256"
|
602
|
-
},
|
603
|
-
{
|
604
|
-
"components": [
|
605
|
-
{
|
606
|
-
"internalType": "UFixed",
|
607
|
-
"name": "fractionalFee",
|
608
|
-
"type": "uint256"
|
609
|
-
},
|
610
|
-
{
|
611
|
-
"internalType": "uint256",
|
612
|
-
"name": "fixedFee",
|
613
|
-
"type": "uint256"
|
614
|
-
}
|
615
|
-
],
|
616
|
-
"internalType": "struct Fee",
|
617
|
-
"name": "poolFee",
|
618
|
-
"type": "tuple"
|
619
|
-
},
|
620
|
-
{
|
621
|
-
"components": [
|
622
|
-
{
|
623
|
-
"internalType": "UFixed",
|
624
|
-
"name": "fractionalFee",
|
625
|
-
"type": "uint256"
|
626
|
-
},
|
627
|
-
{
|
628
|
-
"internalType": "uint256",
|
629
|
-
"name": "fixedFee",
|
630
|
-
"type": "uint256"
|
631
|
-
}
|
632
|
-
],
|
633
|
-
"internalType": "struct Fee",
|
634
|
-
"name": "stakingFee",
|
635
|
-
"type": "tuple"
|
636
|
-
},
|
637
|
-
{
|
638
|
-
"components": [
|
639
|
-
{
|
640
|
-
"internalType": "UFixed",
|
641
|
-
"name": "fractionalFee",
|
642
|
-
"type": "uint256"
|
643
|
-
},
|
644
|
-
{
|
645
|
-
"internalType": "uint256",
|
646
|
-
"name": "fixedFee",
|
647
|
-
"type": "uint256"
|
648
|
-
}
|
649
|
-
],
|
650
|
-
"internalType": "struct Fee",
|
651
|
-
"name": "performanceFee",
|
652
|
-
"type": "tuple"
|
580
|
+
"internalType": "bool",
|
581
|
+
"name": "isVerifyingApplications",
|
582
|
+
"type": "bool"
|
653
583
|
}
|
654
584
|
],
|
655
585
|
"internalType": "struct IComponents.PoolInfo",
|
@@ -714,12 +644,12 @@
|
|
714
644
|
},
|
715
645
|
{
|
716
646
|
"inputs": [],
|
717
|
-
"name": "
|
647
|
+
"name": "getRegistry",
|
718
648
|
"outputs": [
|
719
649
|
{
|
720
|
-
"internalType": "
|
721
|
-
"name": "
|
722
|
-
"type": "
|
650
|
+
"internalType": "contract IRegistry",
|
651
|
+
"name": "",
|
652
|
+
"type": "address"
|
723
653
|
}
|
724
654
|
],
|
725
655
|
"stateMutability": "view",
|
@@ -727,12 +657,12 @@
|
|
727
657
|
},
|
728
658
|
{
|
729
659
|
"inputs": [],
|
730
|
-
"name": "
|
660
|
+
"name": "getRelease",
|
731
661
|
"outputs": [
|
732
662
|
{
|
733
|
-
"internalType": "
|
734
|
-
"name": "",
|
735
|
-
"type": "
|
663
|
+
"internalType": "VersionPart",
|
664
|
+
"name": "release",
|
665
|
+
"type": "uint8"
|
736
666
|
}
|
737
667
|
],
|
738
668
|
"stateMutability": "view",
|
@@ -777,6 +707,19 @@
|
|
777
707
|
"stateMutability": "view",
|
778
708
|
"type": "function"
|
779
709
|
},
|
710
|
+
{
|
711
|
+
"inputs": [],
|
712
|
+
"name": "isActive",
|
713
|
+
"outputs": [
|
714
|
+
{
|
715
|
+
"internalType": "bool",
|
716
|
+
"name": "active",
|
717
|
+
"type": "bool"
|
718
|
+
}
|
719
|
+
],
|
720
|
+
"stateMutability": "view",
|
721
|
+
"type": "function"
|
722
|
+
},
|
780
723
|
{
|
781
724
|
"inputs": [],
|
782
725
|
"name": "isConsumingScheduledOp",
|
@@ -819,45 +762,13 @@
|
|
819
762
|
{
|
820
763
|
"inputs": [],
|
821
764
|
"name": "linkToRegisteredNftId",
|
822
|
-
"outputs": [
|
823
|
-
"stateMutability": "nonpayable",
|
824
|
-
"type": "function"
|
825
|
-
},
|
826
|
-
{
|
827
|
-
"inputs": [],
|
828
|
-
"name": "lock",
|
829
|
-
"outputs": [],
|
830
|
-
"stateMutability": "nonpayable",
|
831
|
-
"type": "function"
|
832
|
-
},
|
833
|
-
{
|
834
|
-
"inputs": [
|
765
|
+
"outputs": [
|
835
766
|
{
|
836
767
|
"internalType": "NftId",
|
837
|
-
"name": "
|
768
|
+
"name": "",
|
838
769
|
"type": "uint96"
|
839
770
|
}
|
840
771
|
],
|
841
|
-
"name": "lockBundle",
|
842
|
-
"outputs": [],
|
843
|
-
"stateMutability": "nonpayable",
|
844
|
-
"type": "function"
|
845
|
-
},
|
846
|
-
{
|
847
|
-
"inputs": [
|
848
|
-
{
|
849
|
-
"internalType": "address",
|
850
|
-
"name": "to",
|
851
|
-
"type": "address"
|
852
|
-
},
|
853
|
-
{
|
854
|
-
"internalType": "uint256",
|
855
|
-
"name": "tokenId",
|
856
|
-
"type": "uint256"
|
857
|
-
}
|
858
|
-
],
|
859
|
-
"name": "nftMint",
|
860
|
-
"outputs": [],
|
861
772
|
"stateMutability": "nonpayable",
|
862
773
|
"type": "function"
|
863
774
|
},
|
@@ -877,29 +788,14 @@
|
|
877
788
|
"internalType": "uint256",
|
878
789
|
"name": "tokenId",
|
879
790
|
"type": "uint256"
|
880
|
-
}
|
881
|
-
],
|
882
|
-
"name": "nftTransferFrom",
|
883
|
-
"outputs": [],
|
884
|
-
"stateMutability": "nonpayable",
|
885
|
-
"type": "function"
|
886
|
-
},
|
887
|
-
{
|
888
|
-
"inputs": [],
|
889
|
-
"name": "register",
|
890
|
-
"outputs": [],
|
891
|
-
"stateMutability": "nonpayable",
|
892
|
-
"type": "function"
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"inputs": [
|
791
|
+
},
|
896
792
|
{
|
897
793
|
"internalType": "address",
|
898
|
-
"name": "",
|
794
|
+
"name": "operator",
|
899
795
|
"type": "address"
|
900
796
|
}
|
901
797
|
],
|
902
|
-
"name": "
|
798
|
+
"name": "nftTransferFrom",
|
903
799
|
"outputs": [],
|
904
800
|
"stateMutability": "nonpayable",
|
905
801
|
"type": "function"
|
@@ -908,113 +804,21 @@
|
|
908
804
|
"inputs": [
|
909
805
|
{
|
910
806
|
"internalType": "NftId",
|
911
|
-
"name": "
|
807
|
+
"name": "policyNftId",
|
912
808
|
"type": "uint96"
|
913
809
|
},
|
914
810
|
{
|
915
|
-
"
|
916
|
-
|
917
|
-
|
918
|
-
"name": "fractionalFee",
|
919
|
-
"type": "uint256"
|
920
|
-
},
|
921
|
-
{
|
922
|
-
"internalType": "uint256",
|
923
|
-
"name": "fixedFee",
|
924
|
-
"type": "uint256"
|
925
|
-
}
|
926
|
-
],
|
927
|
-
"internalType": "struct Fee",
|
928
|
-
"name": "fee",
|
929
|
-
"type": "tuple"
|
930
|
-
}
|
931
|
-
],
|
932
|
-
"name": "setBundleFee",
|
933
|
-
"outputs": [],
|
934
|
-
"stateMutability": "nonpayable",
|
935
|
-
"type": "function"
|
936
|
-
},
|
937
|
-
{
|
938
|
-
"inputs": [
|
939
|
-
{
|
940
|
-
"internalType": "RoleId",
|
941
|
-
"name": "bundleOwnerRole",
|
942
|
-
"type": "uint64"
|
943
|
-
}
|
944
|
-
],
|
945
|
-
"name": "setBundleOwnerRole",
|
946
|
-
"outputs": [],
|
947
|
-
"stateMutability": "nonpayable",
|
948
|
-
"type": "function"
|
949
|
-
},
|
950
|
-
{
|
951
|
-
"inputs": [
|
952
|
-
{
|
953
|
-
"components": [
|
954
|
-
{
|
955
|
-
"internalType": "UFixed",
|
956
|
-
"name": "fractionalFee",
|
957
|
-
"type": "uint256"
|
958
|
-
},
|
959
|
-
{
|
960
|
-
"internalType": "uint256",
|
961
|
-
"name": "fixedFee",
|
962
|
-
"type": "uint256"
|
963
|
-
}
|
964
|
-
],
|
965
|
-
"internalType": "struct Fee",
|
966
|
-
"name": "poolFee",
|
967
|
-
"type": "tuple"
|
968
|
-
},
|
969
|
-
{
|
970
|
-
"components": [
|
971
|
-
{
|
972
|
-
"internalType": "UFixed",
|
973
|
-
"name": "fractionalFee",
|
974
|
-
"type": "uint256"
|
975
|
-
},
|
976
|
-
{
|
977
|
-
"internalType": "uint256",
|
978
|
-
"name": "fixedFee",
|
979
|
-
"type": "uint256"
|
980
|
-
}
|
981
|
-
],
|
982
|
-
"internalType": "struct Fee",
|
983
|
-
"name": "stakingFee",
|
984
|
-
"type": "tuple"
|
811
|
+
"internalType": "ClaimId",
|
812
|
+
"name": "claimId",
|
813
|
+
"type": "uint16"
|
985
814
|
},
|
986
|
-
{
|
987
|
-
"components": [
|
988
|
-
{
|
989
|
-
"internalType": "UFixed",
|
990
|
-
"name": "fractionalFee",
|
991
|
-
"type": "uint256"
|
992
|
-
},
|
993
|
-
{
|
994
|
-
"internalType": "uint256",
|
995
|
-
"name": "fixedFee",
|
996
|
-
"type": "uint256"
|
997
|
-
}
|
998
|
-
],
|
999
|
-
"internalType": "struct Fee",
|
1000
|
-
"name": "performanceFee",
|
1001
|
-
"type": "tuple"
|
1002
|
-
}
|
1003
|
-
],
|
1004
|
-
"name": "setFees",
|
1005
|
-
"outputs": [],
|
1006
|
-
"stateMutability": "nonpayable",
|
1007
|
-
"type": "function"
|
1008
|
-
},
|
1009
|
-
{
|
1010
|
-
"inputs": [
|
1011
815
|
{
|
1012
816
|
"internalType": "Amount",
|
1013
|
-
"name": "
|
817
|
+
"name": "amount",
|
1014
818
|
"type": "uint96"
|
1015
819
|
}
|
1016
820
|
],
|
1017
|
-
"name": "
|
821
|
+
"name": "processConfirmedClaim",
|
1018
822
|
"outputs": [],
|
1019
823
|
"stateMutability": "nonpayable",
|
1020
824
|
"type": "function"
|
@@ -1023,29 +827,11 @@
|
|
1023
827
|
"inputs": [
|
1024
828
|
{
|
1025
829
|
"internalType": "address",
|
1026
|
-
"name": "
|
830
|
+
"name": "",
|
1027
831
|
"type": "address"
|
1028
832
|
}
|
1029
833
|
],
|
1030
|
-
"name": "
|
1031
|
-
"outputs": [],
|
1032
|
-
"stateMutability": "nonpayable",
|
1033
|
-
"type": "function"
|
1034
|
-
},
|
1035
|
-
{
|
1036
|
-
"inputs": [
|
1037
|
-
{
|
1038
|
-
"internalType": "NftId",
|
1039
|
-
"name": "bundleNftId",
|
1040
|
-
"type": "uint96"
|
1041
|
-
},
|
1042
|
-
{
|
1043
|
-
"internalType": "Amount",
|
1044
|
-
"name": "amount",
|
1045
|
-
"type": "uint96"
|
1046
|
-
}
|
1047
|
-
],
|
1048
|
-
"name": "stake",
|
834
|
+
"name": "setAuthority",
|
1049
835
|
"outputs": [],
|
1050
836
|
"stateMutability": "nonpayable",
|
1051
837
|
"type": "function"
|
@@ -1069,28 +855,13 @@
|
|
1069
855
|
"stateMutability": "view",
|
1070
856
|
"type": "function"
|
1071
857
|
},
|
1072
|
-
{
|
1073
|
-
"inputs": [],
|
1074
|
-
"name": "unlock",
|
1075
|
-
"outputs": [],
|
1076
|
-
"stateMutability": "nonpayable",
|
1077
|
-
"type": "function"
|
1078
|
-
},
|
1079
858
|
{
|
1080
859
|
"inputs": [
|
1081
860
|
{
|
1082
861
|
"internalType": "NftId",
|
1083
|
-
"name": "
|
862
|
+
"name": "applicationNftId",
|
1084
863
|
"type": "uint96"
|
1085
|
-
}
|
1086
|
-
],
|
1087
|
-
"name": "unlockBundle",
|
1088
|
-
"outputs": [],
|
1089
|
-
"stateMutability": "nonpayable",
|
1090
|
-
"type": "function"
|
1091
|
-
},
|
1092
|
-
{
|
1093
|
-
"inputs": [
|
864
|
+
},
|
1094
865
|
{
|
1095
866
|
"internalType": "NftId",
|
1096
867
|
"name": "bundleNftId",
|
@@ -1098,11 +869,11 @@
|
|
1098
869
|
},
|
1099
870
|
{
|
1100
871
|
"internalType": "Amount",
|
1101
|
-
"name": "
|
872
|
+
"name": "collateralizationAmount",
|
1102
873
|
"type": "uint96"
|
1103
874
|
}
|
1104
875
|
],
|
1105
|
-
"name": "
|
876
|
+
"name": "verifyApplication",
|
1106
877
|
"outputs": [],
|
1107
878
|
"stateMutability": "nonpayable",
|
1108
879
|
"type": "function"
|
@@ -1110,33 +881,19 @@
|
|
1110
881
|
{
|
1111
882
|
"inputs": [
|
1112
883
|
{
|
1113
|
-
"internalType": "
|
1114
|
-
"name": "
|
1115
|
-
"type": "uint96"
|
1116
|
-
},
|
1117
|
-
{
|
1118
|
-
"internalType": "bytes",
|
1119
|
-
"name": "applicationData",
|
1120
|
-
"type": "bytes"
|
1121
|
-
},
|
1122
|
-
{
|
1123
|
-
"internalType": "NftId",
|
1124
|
-
"name": "bundleNftId",
|
884
|
+
"internalType": "Amount",
|
885
|
+
"name": "amount",
|
1125
886
|
"type": "uint96"
|
1126
|
-
}
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
"type": "bytes"
|
1131
|
-
},
|
887
|
+
}
|
888
|
+
],
|
889
|
+
"name": "withdrawFees",
|
890
|
+
"outputs": [
|
1132
891
|
{
|
1133
892
|
"internalType": "Amount",
|
1134
|
-
"name": "
|
893
|
+
"name": "withdrawnAmount",
|
1135
894
|
"type": "uint96"
|
1136
895
|
}
|
1137
896
|
],
|
1138
|
-
"name": "verifyApplication",
|
1139
|
-
"outputs": [],
|
1140
897
|
"stateMutability": "nonpayable",
|
1141
898
|
"type": "function"
|
1142
899
|
}
|