@etherisc/gif-next 0.0.2-f72939c-380 → 0.0.2-f73b68c-992
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +312 -46
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1130 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1016 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1580 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +915 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1071 -0
- 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 +1475 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -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 +1523 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -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 +374 -1626
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +759 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +533 -1956
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1929 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2463 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1025 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +744 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3738 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
- 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 +4 -0
- package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.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 +959 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -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 +774 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +850 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +736 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1161 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +618 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +602 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1018 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +207 -275
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1024 -119
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
- 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 +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +1450 -219
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1928 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -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 +1333 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1571 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +485 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +632 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1203 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
- 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 +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +229 -21
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
- 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 +797 -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 +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +275 -18
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +248 -171
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
- package/contracts/accounting/AccountingService.sol +262 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +45 -0
- package/contracts/authorization/AccessAdmin.sol +689 -0
- package/contracts/authorization/AccessManagerCloneable.sol +149 -0
- package/contracts/authorization/Authorization.sol +337 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +143 -0
- package/contracts/authorization/IAuthorization.sol +74 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
- package/contracts/distribution/Distribution.sol +289 -0
- package/contracts/distribution/DistributionService.sol +385 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +103 -0
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +90 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +437 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +85 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +64 -45
- package/contracts/instance/IInstanceService.sol +72 -0
- package/contracts/instance/Instance.sol +235 -59
- package/contracts/instance/InstanceAdmin.sol +437 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
- package/contracts/instance/InstanceReader.sol +650 -0
- package/contracts/instance/InstanceService.sol +404 -0
- package/contracts/instance/InstanceServiceManager.sol +39 -0
- package/contracts/instance/InstanceStore.sol +298 -0
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +113 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IComponents.sol +51 -0
- package/contracts/instance/module/IDistribution.sol +44 -0
- package/contracts/instance/module/IPolicy.sol +85 -0
- package/contracts/instance/module/IRisk.sol +14 -0
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +47 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +175 -0
- package/contracts/pool/BasicPoolAuthorization.sol +76 -0
- package/contracts/pool/BundleService.sol +395 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +115 -0
- package/contracts/pool/IPoolComponent.sol +62 -0
- package/contracts/pool/IPoolService.sol +165 -0
- package/contracts/pool/Pool.sol +345 -0
- package/contracts/pool/PoolLib.sol +216 -0
- package/contracts/pool/PoolService.sol +757 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +269 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/BasicProduct.sol +51 -0
- package/contracts/product/BasicProductAuthorization.sol +56 -0
- package/contracts/product/ClaimService.sol +632 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +67 -0
- package/contracts/product/IClaimService.sol +135 -0
- package/contracts/product/IPolicyService.sol +95 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +62 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +682 -0
- package/contracts/product/PolicyServiceLib.sol +65 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +304 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +469 -0
- package/contracts/product/RiskService.sol +154 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +130 -40
- package/contracts/registry/IRegistry.sol +138 -29
- package/contracts/registry/IRegistryService.sol +62 -0
- package/contracts/registry/IRelease.sol +26 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +631 -282
- package/contracts/registry/RegistryAdmin.sol +354 -0
- package/contracts/registry/RegistryService.sol +241 -0
- package/contracts/registry/RegistryServiceManager.sol +53 -0
- package/contracts/registry/ReleaseAdmin.sol +245 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +511 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
- package/contracts/registry/TokenRegistry.sol +313 -0
- package/contracts/shared/Component.sol +227 -0
- package/contracts/shared/ComponentService.sol +692 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +128 -0
- package/contracts/shared/ContractLib.sol +253 -0
- package/contracts/shared/IComponent.sol +61 -0
- package/contracts/shared/IComponentService.sol +112 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/shared/IKeyValueStore.sol +54 -0
- package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
- package/contracts/shared/INftOwnable.sol +25 -0
- package/contracts/shared/IPolicyHolder.sol +35 -0
- package/contracts/shared/IRegisterable.sol +33 -20
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +23 -0
- package/contracts/shared/InitializableERC165.sol +27 -0
- package/contracts/shared/InstanceLinkedComponent.sol +197 -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 +127 -0
- package/contracts/shared/PolicyHolder.sol +62 -0
- package/contracts/shared/Registerable.sol +83 -60
- package/contracts/shared/RegistryLinked.sol +38 -0
- package/contracts/shared/Service.sol +65 -0
- package/contracts/shared/TokenHandler.sol +341 -0
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +165 -0
- package/contracts/staking/IStakingService.sol +165 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +526 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +430 -0
- package/contracts/staking/StakingServiceManager.sol +45 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +150 -0
- package/contracts/{types → type}/Blocknumber.sol +27 -3
- package/contracts/type/ClaimId.sol +80 -0
- package/contracts/type/DistributorType.sol +55 -0
- package/contracts/type/Fee.sol +66 -0
- package/contracts/{types → type}/Key32.sol +10 -5
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/{types → type}/NftId.sol +28 -15
- package/contracts/type/NftIdSet.sol +62 -0
- package/contracts/type/ObjectType.sol +303 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/type/Referral.sol +90 -0
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +75 -0
- package/contracts/type/RoleId.sol +182 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +53 -5
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +37 -19
- package/contracts/{types → type}/UFixed.sol +48 -12
- package/contracts/{types → type}/Version.sol +31 -6
- package/contracts/upgradeability/IVersionable.sol +53 -0
- package/contracts/upgradeability/ProxyManager.sol +232 -0
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
- package/contracts/upgradeability/Versionable.sol +59 -0
- package/package.json +13 -8
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.json +0 -455
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -348
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -81
- 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/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -344
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -265
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -265
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -136
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -136
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -288
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -288
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -132
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -150
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -531
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -531
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -744
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -455
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -479
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
- package/contracts/components/BaseComponent.sol +0 -94
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/components/IPoolComponent.sol +0 -57
- package/contracts/components/IProductComponent.sol +0 -19
- package/contracts/components/Pool.sol +0 -191
- package/contracts/components/Product.sol +0 -181
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/ComponentServiceBase.sol +0 -42
- package/contracts/instance/base/IInstanceBase.sol +0 -19
- package/contracts/instance/base/IKeyValueStore.sol +0 -50
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -84
- package/contracts/instance/base/KeyValueStore.sol +0 -161
- package/contracts/instance/base/Lifecycle.sol +0 -100
- package/contracts/instance/base/ModuleBase.sol +0 -53
- package/contracts/instance/base/ServiceBase.sol +0 -37
- package/contracts/instance/module/access/Access.sol +0 -149
- package/contracts/instance/module/access/IAccess.sol +0 -53
- package/contracts/instance/module/bundle/BundleModule.sol +0 -135
- package/contracts/instance/module/bundle/IBundle.sol +0 -51
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -17
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
- package/contracts/instance/module/component/ComponentModule.sol +0 -81
- package/contracts/instance/module/component/IComponent.sol +0 -29
- package/contracts/instance/module/policy/IPolicy.sol +0 -62
- package/contracts/instance/module/policy/PolicyModule.sol +0 -92
- package/contracts/instance/module/pool/IPoolModule.sol +0 -40
- package/contracts/instance/module/pool/PoolModule.sol +0 -90
- package/contracts/instance/module/risk/IRisk.sol +0 -27
- package/contracts/instance/module/risk/RiskModule.sol +0 -70
- package/contracts/instance/module/treasury/ITreasury.sol +0 -96
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -171
- package/contracts/instance/service/ComponentOwnerService.sol +0 -155
- package/contracts/instance/service/IComponentOwnerService.sol +0 -22
- package/contracts/instance/service/IPoolService.sol +0 -30
- package/contracts/instance/service/IProductService.sol +0 -78
- package/contracts/instance/service/PoolService.sol +0 -129
- package/contracts/instance/service/ProductService.sol +0 -406
- package/contracts/registry/IChainNft.sol +0 -21
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/ERC165.sol +0 -21
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/shared/IVersionable.sol +0 -52
- package/contracts/shared/Versionable.sol +0 -89
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestPool.sol +0 -24
- package/contracts/test/TestProduct.sol +0 -66
- package/contracts/test/TestRegisterable.sol +0 -19
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -32
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/Fee.sol +0 -51
- package/contracts/types/NftIdSet.sol +0 -60
- package/contracts/types/ObjectType.sol +0 -127
- package/contracts/types/RiskId.sol +0 -43
- package/contracts/types/RoleId.sol +0 -38
@@ -4,1292 +4,380 @@
|
|
4
4
|
"sourceName": "contracts/instance/IInstance.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
|
-
"anonymous": false,
|
8
7
|
"inputs": [
|
9
8
|
{
|
10
|
-
"
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"type": "bytes8"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"indexed": false,
|
17
|
-
"internalType": "string",
|
18
|
-
"name": "roleName",
|
19
|
-
"type": "string"
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
20
12
|
}
|
21
13
|
],
|
22
|
-
"name": "
|
23
|
-
"type": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
24
16
|
},
|
25
17
|
{
|
26
|
-
"anonymous": false,
|
27
18
|
"inputs": [
|
28
19
|
{
|
29
|
-
"indexed": false,
|
30
|
-
"internalType": "RoleId",
|
31
|
-
"name": "role",
|
32
|
-
"type": "bytes8"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"indexed": false,
|
36
20
|
"internalType": "address",
|
37
|
-
"name": "
|
21
|
+
"name": "caller",
|
38
22
|
"type": "address"
|
39
23
|
},
|
40
24
|
{
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"type": "bool"
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
45
28
|
}
|
46
29
|
],
|
47
|
-
"name": "
|
48
|
-
"type": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
49
32
|
},
|
50
33
|
{
|
51
|
-
"anonymous": false,
|
52
34
|
"inputs": [
|
53
35
|
{
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
57
|
-
"type": "bytes8"
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"indexed": false,
|
61
|
-
"internalType": "bool",
|
62
|
-
"name": "active",
|
63
|
-
"type": "bool"
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
64
39
|
}
|
65
40
|
],
|
66
|
-
"name": "
|
67
|
-
"type": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
68
43
|
},
|
69
44
|
{
|
70
|
-
"anonymous": false,
|
71
45
|
"inputs": [
|
72
46
|
{
|
73
|
-
"indexed": false,
|
74
|
-
"internalType": "Version",
|
75
|
-
"name": "version",
|
76
|
-
"type": "uint24"
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"indexed": false,
|
80
|
-
"internalType": "address",
|
81
|
-
"name": "implementation",
|
82
|
-
"type": "address"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"indexed": false,
|
86
47
|
"internalType": "address",
|
87
|
-
"name": "
|
48
|
+
"name": "authority",
|
88
49
|
"type": "address"
|
89
50
|
}
|
90
51
|
],
|
91
|
-
"name": "
|
92
|
-
"type": "
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
93
54
|
},
|
94
55
|
{
|
95
56
|
"inputs": [
|
96
57
|
{
|
97
58
|
"internalType": "address",
|
98
|
-
"name": "
|
99
|
-
"type": "address"
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"internalType": "address",
|
103
|
-
"name": "activatedBy",
|
59
|
+
"name": "instanceBundleSet",
|
104
60
|
"type": "address"
|
105
61
|
}
|
106
62
|
],
|
107
|
-
"name": "
|
108
|
-
"
|
109
|
-
"stateMutability": "nonpayable",
|
110
|
-
"type": "function"
|
63
|
+
"name": "ErrorInstanceBundleSetAlreadySet",
|
64
|
+
"type": "error"
|
111
65
|
},
|
112
66
|
{
|
113
67
|
"inputs": [
|
114
68
|
{
|
115
|
-
"internalType": "
|
116
|
-
"name": "
|
117
|
-
"type": "
|
118
|
-
},
|
119
|
-
{
|
120
|
-
"internalType": "NftId",
|
121
|
-
"name": "poolNftId",
|
122
|
-
"type": "uint96"
|
123
|
-
},
|
124
|
-
{
|
125
|
-
"internalType": "uint256",
|
126
|
-
"name": "amount",
|
127
|
-
"type": "uint256"
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "instanceAuthority",
|
71
|
+
"type": "address"
|
128
72
|
}
|
129
73
|
],
|
130
|
-
"name": "
|
131
|
-
"
|
132
|
-
"stateMutability": "nonpayable",
|
133
|
-
"type": "function"
|
74
|
+
"name": "ErrorInstanceBundleSetAuthorityMismatch",
|
75
|
+
"type": "error"
|
134
76
|
},
|
135
77
|
{
|
136
78
|
"inputs": [
|
137
79
|
{
|
138
|
-
"internalType": "
|
139
|
-
"name": "
|
140
|
-
"type": "
|
141
|
-
},
|
142
|
-
{
|
143
|
-
"components": [
|
144
|
-
{
|
145
|
-
"internalType": "UFixed",
|
146
|
-
"name": "fractionalFee",
|
147
|
-
"type": "uint256"
|
148
|
-
},
|
149
|
-
{
|
150
|
-
"internalType": "uint256",
|
151
|
-
"name": "fixedFee",
|
152
|
-
"type": "uint256"
|
153
|
-
}
|
154
|
-
],
|
155
|
-
"internalType": "struct Fee",
|
156
|
-
"name": "fee",
|
157
|
-
"type": "tuple"
|
158
|
-
}
|
159
|
-
],
|
160
|
-
"name": "calculateFeeAmount",
|
161
|
-
"outputs": [
|
162
|
-
{
|
163
|
-
"internalType": "uint256",
|
164
|
-
"name": "feeAmount",
|
165
|
-
"type": "uint256"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"internalType": "uint256",
|
169
|
-
"name": "netAmount",
|
170
|
-
"type": "uint256"
|
80
|
+
"internalType": "address",
|
81
|
+
"name": "instance",
|
82
|
+
"type": "address"
|
171
83
|
}
|
172
84
|
],
|
173
|
-
"
|
174
|
-
"type": "
|
85
|
+
"name": "ErrorInstanceBundleSetInstanceMismatch",
|
86
|
+
"type": "error"
|
175
87
|
},
|
176
88
|
{
|
177
89
|
"inputs": [
|
178
90
|
{
|
179
|
-
"internalType": "
|
180
|
-
"name": "
|
181
|
-
"type": "
|
182
|
-
},
|
183
|
-
{
|
184
|
-
"internalType": "NftId",
|
185
|
-
"name": "policyNftId",
|
186
|
-
"type": "uint96"
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"internalType": "uint256",
|
190
|
-
"name": "amount",
|
191
|
-
"type": "uint256"
|
91
|
+
"internalType": "address",
|
92
|
+
"name": "InstanceAdmin",
|
93
|
+
"type": "address"
|
192
94
|
}
|
193
95
|
],
|
194
|
-
"name": "
|
195
|
-
"
|
196
|
-
"stateMutability": "nonpayable",
|
197
|
-
"type": "function"
|
96
|
+
"name": "ErrorInstanceInstanceAdminAlreadySet",
|
97
|
+
"type": "error"
|
198
98
|
},
|
199
99
|
{
|
200
100
|
"inputs": [
|
201
101
|
{
|
202
|
-
"internalType": "
|
203
|
-
"name": "
|
204
|
-
"type": "
|
205
|
-
},
|
206
|
-
{
|
207
|
-
"internalType": "NftId",
|
208
|
-
"name": "poolNftId",
|
209
|
-
"type": "uint96"
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"internalType": "uint256",
|
213
|
-
"name": "amount",
|
214
|
-
"type": "uint256"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"internalType": "uint256",
|
218
|
-
"name": "lifetime",
|
219
|
-
"type": "uint256"
|
220
|
-
},
|
221
|
-
{
|
222
|
-
"internalType": "bytes",
|
223
|
-
"name": "filter",
|
224
|
-
"type": "bytes"
|
102
|
+
"internalType": "address",
|
103
|
+
"name": "instanceAuthority",
|
104
|
+
"type": "address"
|
225
105
|
}
|
226
106
|
],
|
227
|
-
"name": "
|
228
|
-
"
|
229
|
-
"stateMutability": "nonpayable",
|
230
|
-
"type": "function"
|
107
|
+
"name": "ErrorInstanceInstanceAdminAuthorityMismatch",
|
108
|
+
"type": "error"
|
231
109
|
},
|
232
110
|
{
|
233
|
-
"inputs": [
|
234
|
-
|
235
|
-
|
236
|
-
"name": "policyNftId",
|
237
|
-
"type": "uint96"
|
238
|
-
},
|
239
|
-
{
|
240
|
-
"internalType": "NftId",
|
241
|
-
"name": "productNftId",
|
242
|
-
"type": "uint96"
|
243
|
-
},
|
244
|
-
{
|
245
|
-
"internalType": "RiskId",
|
246
|
-
"name": "riskId",
|
247
|
-
"type": "bytes8"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"internalType": "uint256",
|
251
|
-
"name": "sumInsuredAmount",
|
252
|
-
"type": "uint256"
|
253
|
-
},
|
254
|
-
{
|
255
|
-
"internalType": "uint256",
|
256
|
-
"name": "premiumAmount",
|
257
|
-
"type": "uint256"
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"internalType": "uint256",
|
261
|
-
"name": "lifetime",
|
262
|
-
"type": "uint256"
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"internalType": "NftId",
|
266
|
-
"name": "bundleNftId",
|
267
|
-
"type": "uint96"
|
268
|
-
}
|
269
|
-
],
|
270
|
-
"name": "createPolicyInfo",
|
271
|
-
"outputs": [],
|
272
|
-
"stateMutability": "nonpayable",
|
273
|
-
"type": "function"
|
111
|
+
"inputs": [],
|
112
|
+
"name": "ErrorInstanceInstanceAdminZero",
|
113
|
+
"type": "error"
|
274
114
|
},
|
275
115
|
{
|
276
116
|
"inputs": [
|
277
117
|
{
|
278
|
-
"internalType": "
|
279
|
-
"name": "
|
280
|
-
"type": "
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"internalType": "NftId",
|
284
|
-
"name": "productNftId",
|
285
|
-
"type": "uint96"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"internalType": "bytes",
|
289
|
-
"name": "data",
|
290
|
-
"type": "bytes"
|
118
|
+
"internalType": "address",
|
119
|
+
"name": "instanceAuthority",
|
120
|
+
"type": "address"
|
291
121
|
}
|
292
122
|
],
|
293
|
-
"name": "
|
294
|
-
"
|
295
|
-
"stateMutability": "nonpayable",
|
296
|
-
"type": "function"
|
123
|
+
"name": "ErrorInstanceInstanceReaderInstanceMismatch",
|
124
|
+
"type": "error"
|
297
125
|
},
|
298
126
|
{
|
299
127
|
"inputs": [
|
300
128
|
{
|
301
|
-
"internalType": "
|
302
|
-
"name": "
|
303
|
-
"type": "
|
304
|
-
}
|
305
|
-
],
|
306
|
-
"name": "createRole",
|
307
|
-
"outputs": [
|
308
|
-
{
|
309
|
-
"internalType": "RoleId",
|
310
|
-
"name": "role",
|
311
|
-
"type": "bytes8"
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "instanceStore",
|
131
|
+
"type": "address"
|
312
132
|
}
|
313
133
|
],
|
314
|
-
"
|
315
|
-
"type": "
|
134
|
+
"name": "ErrorInstanceInstanceStoreAlreadySet",
|
135
|
+
"type": "error"
|
316
136
|
},
|
317
137
|
{
|
318
138
|
"inputs": [
|
319
139
|
{
|
320
|
-
"internalType": "
|
321
|
-
"name": "
|
322
|
-
"type": "
|
323
|
-
}
|
324
|
-
],
|
325
|
-
"name": "getBundleCount",
|
326
|
-
"outputs": [
|
327
|
-
{
|
328
|
-
"internalType": "uint256",
|
329
|
-
"name": "bundleCount",
|
330
|
-
"type": "uint256"
|
140
|
+
"internalType": "address",
|
141
|
+
"name": "instanceAuthority",
|
142
|
+
"type": "address"
|
331
143
|
}
|
332
144
|
],
|
333
|
-
"
|
334
|
-
"type": "
|
145
|
+
"name": "ErrorInstanceInstanceStoreAuthorityMismatch",
|
146
|
+
"type": "error"
|
335
147
|
},
|
336
148
|
{
|
337
149
|
"inputs": [
|
338
150
|
{
|
339
|
-
"internalType": "
|
340
|
-
"name": "
|
341
|
-
"type": "
|
342
|
-
}
|
343
|
-
],
|
344
|
-
"name": "getBundleInfo",
|
345
|
-
"outputs": [
|
346
|
-
{
|
347
|
-
"components": [
|
348
|
-
{
|
349
|
-
"internalType": "NftId",
|
350
|
-
"name": "poolNftId",
|
351
|
-
"type": "uint96"
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"internalType": "bytes",
|
355
|
-
"name": "filter",
|
356
|
-
"type": "bytes"
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"internalType": "uint256",
|
360
|
-
"name": "capitalAmount",
|
361
|
-
"type": "uint256"
|
362
|
-
},
|
363
|
-
{
|
364
|
-
"internalType": "uint256",
|
365
|
-
"name": "lockedAmount",
|
366
|
-
"type": "uint256"
|
367
|
-
},
|
368
|
-
{
|
369
|
-
"internalType": "uint256",
|
370
|
-
"name": "balanceAmount",
|
371
|
-
"type": "uint256"
|
372
|
-
},
|
373
|
-
{
|
374
|
-
"internalType": "Timestamp",
|
375
|
-
"name": "expiredAt",
|
376
|
-
"type": "uint40"
|
377
|
-
},
|
378
|
-
{
|
379
|
-
"internalType": "Timestamp",
|
380
|
-
"name": "closedAt",
|
381
|
-
"type": "uint40"
|
382
|
-
}
|
383
|
-
],
|
384
|
-
"internalType": "struct IBundle.BundleInfo",
|
385
|
-
"name": "bundleInfo",
|
386
|
-
"type": "tuple"
|
151
|
+
"internalType": "address",
|
152
|
+
"name": "instanceRiskSet",
|
153
|
+
"type": "address"
|
387
154
|
}
|
388
155
|
],
|
389
|
-
"
|
390
|
-
"type": "
|
156
|
+
"name": "ErrorInstanceRiskSetAlreadySet",
|
157
|
+
"type": "error"
|
391
158
|
},
|
392
159
|
{
|
393
160
|
"inputs": [
|
394
161
|
{
|
395
|
-
"internalType": "
|
396
|
-
"name": "
|
397
|
-
"type": "
|
398
|
-
},
|
399
|
-
{
|
400
|
-
"internalType": "uint256",
|
401
|
-
"name": "index",
|
402
|
-
"type": "uint256"
|
403
|
-
}
|
404
|
-
],
|
405
|
-
"name": "getBundleNftId",
|
406
|
-
"outputs": [
|
407
|
-
{
|
408
|
-
"internalType": "NftId",
|
409
|
-
"name": "bundleNftId",
|
410
|
-
"type": "uint96"
|
162
|
+
"internalType": "address",
|
163
|
+
"name": "instanceAuthority",
|
164
|
+
"type": "address"
|
411
165
|
}
|
412
166
|
],
|
413
|
-
"
|
414
|
-
"type": "
|
167
|
+
"name": "ErrorInstanceRiskSetAuthorityMismatch",
|
168
|
+
"type": "error"
|
415
169
|
},
|
416
170
|
{
|
417
|
-
"inputs": [
|
418
|
-
{
|
419
|
-
"internalType": "
|
420
|
-
"name": "
|
421
|
-
"type": "
|
422
|
-
}
|
423
|
-
],
|
424
|
-
"name": "getBundleState",
|
425
|
-
"outputs": [
|
426
|
-
{
|
427
|
-
"internalType": "StateId",
|
428
|
-
"name": "state",
|
429
|
-
"type": "uint8"
|
430
|
-
}
|
431
|
-
],
|
432
|
-
"stateMutability": "view",
|
433
|
-
"type": "function"
|
434
|
-
},
|
435
|
-
{
|
436
|
-
"inputs": [],
|
437
|
-
"name": "getComponentCount",
|
438
|
-
"outputs": [
|
439
|
-
{
|
440
|
-
"internalType": "uint256",
|
441
|
-
"name": "numberOfCompnents",
|
442
|
-
"type": "uint256"
|
443
|
-
}
|
444
|
-
],
|
445
|
-
"stateMutability": "view",
|
446
|
-
"type": "function"
|
447
|
-
},
|
448
|
-
{
|
449
|
-
"inputs": [
|
450
|
-
{
|
451
|
-
"internalType": "uint256",
|
452
|
-
"name": "idx",
|
453
|
-
"type": "uint256"
|
454
|
-
}
|
455
|
-
],
|
456
|
-
"name": "getComponentId",
|
457
|
-
"outputs": [
|
458
|
-
{
|
459
|
-
"internalType": "NftId",
|
460
|
-
"name": "nftId",
|
461
|
-
"type": "uint96"
|
462
|
-
}
|
463
|
-
],
|
464
|
-
"stateMutability": "view",
|
465
|
-
"type": "function"
|
466
|
-
},
|
467
|
-
{
|
468
|
-
"inputs": [],
|
469
|
-
"name": "getComponentOwnerService",
|
470
|
-
"outputs": [
|
471
|
-
{
|
472
|
-
"internalType": "contract IComponentOwnerService",
|
473
|
-
"name": "",
|
474
|
-
"type": "address"
|
475
|
-
}
|
476
|
-
],
|
477
|
-
"stateMutability": "view",
|
478
|
-
"type": "function"
|
479
|
-
},
|
480
|
-
{
|
481
|
-
"inputs": [
|
482
|
-
{
|
483
|
-
"internalType": "NftId",
|
484
|
-
"name": "nftId",
|
485
|
-
"type": "uint96"
|
486
|
-
}
|
487
|
-
],
|
488
|
-
"name": "getComponentState",
|
489
|
-
"outputs": [
|
490
|
-
{
|
491
|
-
"internalType": "StateId",
|
492
|
-
"name": "state",
|
493
|
-
"type": "uint8"
|
494
|
-
}
|
495
|
-
],
|
496
|
-
"stateMutability": "view",
|
497
|
-
"type": "function"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"inputs": [
|
501
|
-
{
|
502
|
-
"internalType": "NftId",
|
503
|
-
"name": "nftId",
|
504
|
-
"type": "uint96"
|
505
|
-
}
|
506
|
-
],
|
507
|
-
"name": "getComponentToken",
|
508
|
-
"outputs": [
|
509
|
-
{
|
510
|
-
"internalType": "contract IERC20Metadata",
|
511
|
-
"name": "token",
|
512
|
-
"type": "address"
|
513
|
-
}
|
514
|
-
],
|
515
|
-
"stateMutability": "view",
|
516
|
-
"type": "function"
|
517
|
-
},
|
518
|
-
{
|
519
|
-
"inputs": [
|
520
|
-
{
|
521
|
-
"internalType": "NftId",
|
522
|
-
"name": "nftId",
|
523
|
-
"type": "uint96"
|
524
|
-
}
|
525
|
-
],
|
526
|
-
"name": "getComponentWallet",
|
527
|
-
"outputs": [
|
528
|
-
{
|
529
|
-
"internalType": "address",
|
530
|
-
"name": "wallet",
|
531
|
-
"type": "address"
|
532
|
-
}
|
533
|
-
],
|
534
|
-
"stateMutability": "view",
|
535
|
-
"type": "function"
|
536
|
-
},
|
537
|
-
{
|
538
|
-
"inputs": [],
|
539
|
-
"name": "getData",
|
540
|
-
"outputs": [
|
541
|
-
{
|
542
|
-
"internalType": "bytes",
|
543
|
-
"name": "data",
|
544
|
-
"type": "bytes"
|
545
|
-
}
|
546
|
-
],
|
547
|
-
"stateMutability": "view",
|
548
|
-
"type": "function"
|
549
|
-
},
|
550
|
-
{
|
551
|
-
"inputs": [
|
552
|
-
{
|
553
|
-
"internalType": "UFixed",
|
554
|
-
"name": "fractionalFee",
|
555
|
-
"type": "uint256"
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"internalType": "uint256",
|
559
|
-
"name": "fixedFee",
|
560
|
-
"type": "uint256"
|
561
|
-
}
|
562
|
-
],
|
563
|
-
"name": "getFee",
|
564
|
-
"outputs": [
|
565
|
-
{
|
566
|
-
"components": [
|
567
|
-
{
|
568
|
-
"internalType": "UFixed",
|
569
|
-
"name": "fractionalFee",
|
570
|
-
"type": "uint256"
|
571
|
-
},
|
572
|
-
{
|
573
|
-
"internalType": "uint256",
|
574
|
-
"name": "fixedFee",
|
575
|
-
"type": "uint256"
|
576
|
-
}
|
577
|
-
],
|
578
|
-
"internalType": "struct Fee",
|
579
|
-
"name": "fee",
|
580
|
-
"type": "tuple"
|
581
|
-
}
|
582
|
-
],
|
583
|
-
"stateMutability": "pure",
|
584
|
-
"type": "function"
|
585
|
-
},
|
586
|
-
{
|
587
|
-
"inputs": [],
|
588
|
-
"name": "getKeyValueStore",
|
589
|
-
"outputs": [
|
590
|
-
{
|
591
|
-
"internalType": "contract IKeyValueStore",
|
592
|
-
"name": "keyValueStore",
|
593
|
-
"type": "address"
|
594
|
-
}
|
595
|
-
],
|
596
|
-
"stateMutability": "view",
|
597
|
-
"type": "function"
|
598
|
-
},
|
599
|
-
{
|
600
|
-
"inputs": [],
|
601
|
-
"name": "getNftId",
|
602
|
-
"outputs": [
|
603
|
-
{
|
604
|
-
"internalType": "NftId",
|
605
|
-
"name": "nftId",
|
606
|
-
"type": "uint96"
|
607
|
-
}
|
608
|
-
],
|
609
|
-
"stateMutability": "view",
|
610
|
-
"type": "function"
|
611
|
-
},
|
612
|
-
{
|
613
|
-
"inputs": [],
|
614
|
-
"name": "getOwner",
|
615
|
-
"outputs": [
|
616
|
-
{
|
617
|
-
"internalType": "address",
|
618
|
-
"name": "owner",
|
619
|
-
"type": "address"
|
620
|
-
}
|
621
|
-
],
|
622
|
-
"stateMutability": "view",
|
623
|
-
"type": "function"
|
624
|
-
},
|
625
|
-
{
|
626
|
-
"inputs": [],
|
627
|
-
"name": "getParentNftId",
|
628
|
-
"outputs": [
|
629
|
-
{
|
630
|
-
"internalType": "NftId",
|
631
|
-
"name": "nftId",
|
632
|
-
"type": "uint96"
|
633
|
-
}
|
634
|
-
],
|
635
|
-
"stateMutability": "view",
|
636
|
-
"type": "function"
|
637
|
-
},
|
638
|
-
{
|
639
|
-
"inputs": [
|
640
|
-
{
|
641
|
-
"internalType": "NftId",
|
642
|
-
"name": "nftId",
|
643
|
-
"type": "uint96"
|
644
|
-
}
|
645
|
-
],
|
646
|
-
"name": "getPolicyInfo",
|
647
|
-
"outputs": [
|
648
|
-
{
|
649
|
-
"components": [
|
650
|
-
{
|
651
|
-
"internalType": "NftId",
|
652
|
-
"name": "productNftId",
|
653
|
-
"type": "uint96"
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"internalType": "NftId",
|
657
|
-
"name": "bundleNftId",
|
658
|
-
"type": "uint96"
|
659
|
-
},
|
660
|
-
{
|
661
|
-
"internalType": "address",
|
662
|
-
"name": "beneficiary",
|
663
|
-
"type": "address"
|
664
|
-
},
|
665
|
-
{
|
666
|
-
"internalType": "RiskId",
|
667
|
-
"name": "riskId",
|
668
|
-
"type": "bytes8"
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"internalType": "uint256",
|
672
|
-
"name": "sumInsuredAmount",
|
673
|
-
"type": "uint256"
|
674
|
-
},
|
675
|
-
{
|
676
|
-
"internalType": "uint256",
|
677
|
-
"name": "premiumAmount",
|
678
|
-
"type": "uint256"
|
679
|
-
},
|
680
|
-
{
|
681
|
-
"internalType": "uint256",
|
682
|
-
"name": "premiumPaidAmount",
|
683
|
-
"type": "uint256"
|
684
|
-
},
|
685
|
-
{
|
686
|
-
"internalType": "uint256",
|
687
|
-
"name": "lifetime",
|
688
|
-
"type": "uint256"
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"internalType": "bytes",
|
692
|
-
"name": "applicationData",
|
693
|
-
"type": "bytes"
|
694
|
-
},
|
695
|
-
{
|
696
|
-
"internalType": "bytes",
|
697
|
-
"name": "policyData",
|
698
|
-
"type": "bytes"
|
699
|
-
},
|
700
|
-
{
|
701
|
-
"internalType": "Timestamp",
|
702
|
-
"name": "activatedAt",
|
703
|
-
"type": "uint40"
|
704
|
-
},
|
705
|
-
{
|
706
|
-
"internalType": "Timestamp",
|
707
|
-
"name": "expiredAt",
|
708
|
-
"type": "uint40"
|
709
|
-
},
|
710
|
-
{
|
711
|
-
"internalType": "Timestamp",
|
712
|
-
"name": "closedAt",
|
713
|
-
"type": "uint40"
|
714
|
-
}
|
715
|
-
],
|
716
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
717
|
-
"name": "info",
|
718
|
-
"type": "tuple"
|
719
|
-
}
|
720
|
-
],
|
721
|
-
"stateMutability": "view",
|
722
|
-
"type": "function"
|
723
|
-
},
|
724
|
-
{
|
725
|
-
"inputs": [
|
726
|
-
{
|
727
|
-
"internalType": "NftId",
|
728
|
-
"name": "nftId",
|
729
|
-
"type": "uint96"
|
730
|
-
}
|
731
|
-
],
|
732
|
-
"name": "getPolicyState",
|
733
|
-
"outputs": [
|
734
|
-
{
|
735
|
-
"internalType": "StateId",
|
736
|
-
"name": "state",
|
737
|
-
"type": "uint8"
|
738
|
-
}
|
739
|
-
],
|
740
|
-
"stateMutability": "view",
|
741
|
-
"type": "function"
|
742
|
-
},
|
743
|
-
{
|
744
|
-
"inputs": [
|
745
|
-
{
|
746
|
-
"internalType": "NftId",
|
747
|
-
"name": "nftId",
|
748
|
-
"type": "uint96"
|
749
|
-
}
|
750
|
-
],
|
751
|
-
"name": "getPoolInfo",
|
752
|
-
"outputs": [
|
753
|
-
{
|
754
|
-
"components": [
|
755
|
-
{
|
756
|
-
"internalType": "bool",
|
757
|
-
"name": "isVerifying",
|
758
|
-
"type": "bool"
|
759
|
-
},
|
760
|
-
{
|
761
|
-
"internalType": "UFixed",
|
762
|
-
"name": "collateralizationLevel",
|
763
|
-
"type": "uint256"
|
764
|
-
}
|
765
|
-
],
|
766
|
-
"internalType": "struct IPool.PoolInfo",
|
767
|
-
"name": "info",
|
768
|
-
"type": "tuple"
|
769
|
-
}
|
770
|
-
],
|
771
|
-
"stateMutability": "view",
|
772
|
-
"type": "function"
|
773
|
-
},
|
774
|
-
{
|
775
|
-
"inputs": [],
|
776
|
-
"name": "getPoolService",
|
777
|
-
"outputs": [
|
778
|
-
{
|
779
|
-
"internalType": "contract IPoolService",
|
780
|
-
"name": "",
|
781
|
-
"type": "address"
|
782
|
-
}
|
783
|
-
],
|
784
|
-
"stateMutability": "view",
|
785
|
-
"type": "function"
|
786
|
-
},
|
787
|
-
{
|
788
|
-
"inputs": [
|
789
|
-
{
|
790
|
-
"internalType": "NftId",
|
791
|
-
"name": "componentNftId",
|
792
|
-
"type": "uint96"
|
793
|
-
}
|
794
|
-
],
|
795
|
-
"name": "getProductNftId",
|
796
|
-
"outputs": [
|
797
|
-
{
|
798
|
-
"internalType": "NftId",
|
799
|
-
"name": "productNftId",
|
800
|
-
"type": "uint96"
|
801
|
-
}
|
802
|
-
],
|
803
|
-
"stateMutability": "view",
|
804
|
-
"type": "function"
|
805
|
-
},
|
806
|
-
{
|
807
|
-
"inputs": [],
|
808
|
-
"name": "getProductService",
|
809
|
-
"outputs": [
|
810
|
-
{
|
811
|
-
"internalType": "contract IProductService",
|
812
|
-
"name": "",
|
813
|
-
"type": "address"
|
814
|
-
}
|
815
|
-
],
|
816
|
-
"stateMutability": "view",
|
817
|
-
"type": "function"
|
818
|
-
},
|
819
|
-
{
|
820
|
-
"inputs": [],
|
821
|
-
"name": "getRegistry",
|
822
|
-
"outputs": [
|
823
|
-
{
|
824
|
-
"internalType": "contract IRegistry",
|
825
|
-
"name": "registry",
|
826
|
-
"type": "address"
|
827
|
-
}
|
828
|
-
],
|
829
|
-
"stateMutability": "view",
|
830
|
-
"type": "function"
|
831
|
-
},
|
832
|
-
{
|
833
|
-
"inputs": [
|
834
|
-
{
|
835
|
-
"internalType": "RiskId",
|
836
|
-
"name": "riskId",
|
837
|
-
"type": "bytes8"
|
838
|
-
}
|
839
|
-
],
|
840
|
-
"name": "getRiskInfo",
|
841
|
-
"outputs": [
|
842
|
-
{
|
843
|
-
"components": [
|
844
|
-
{
|
845
|
-
"internalType": "NftId",
|
846
|
-
"name": "productNftId",
|
847
|
-
"type": "uint96"
|
848
|
-
},
|
849
|
-
{
|
850
|
-
"internalType": "bytes",
|
851
|
-
"name": "data",
|
852
|
-
"type": "bytes"
|
853
|
-
}
|
854
|
-
],
|
855
|
-
"internalType": "struct IRisk.RiskInfo",
|
856
|
-
"name": "info",
|
857
|
-
"type": "tuple"
|
858
|
-
}
|
859
|
-
],
|
860
|
-
"stateMutability": "view",
|
861
|
-
"type": "function"
|
862
|
-
},
|
863
|
-
{
|
864
|
-
"inputs": [
|
865
|
-
{
|
866
|
-
"internalType": "RiskId",
|
867
|
-
"name": "riskId",
|
868
|
-
"type": "bytes8"
|
869
|
-
}
|
870
|
-
],
|
871
|
-
"name": "getRiskState",
|
872
|
-
"outputs": [
|
873
|
-
{
|
874
|
-
"internalType": "StateId",
|
875
|
-
"name": "state",
|
876
|
-
"type": "uint8"
|
877
|
-
}
|
878
|
-
],
|
879
|
-
"stateMutability": "view",
|
880
|
-
"type": "function"
|
881
|
-
},
|
882
|
-
{
|
883
|
-
"inputs": [
|
884
|
-
{
|
885
|
-
"internalType": "uint256",
|
886
|
-
"name": "idx",
|
887
|
-
"type": "uint256"
|
888
|
-
}
|
889
|
-
],
|
890
|
-
"name": "getRole",
|
891
|
-
"outputs": [
|
892
|
-
{
|
893
|
-
"internalType": "RoleId",
|
894
|
-
"name": "role",
|
895
|
-
"type": "bytes8"
|
896
|
-
}
|
897
|
-
],
|
898
|
-
"stateMutability": "view",
|
899
|
-
"type": "function"
|
900
|
-
},
|
901
|
-
{
|
902
|
-
"inputs": [],
|
903
|
-
"name": "getRoleCount",
|
904
|
-
"outputs": [
|
905
|
-
{
|
906
|
-
"internalType": "uint256",
|
907
|
-
"name": "roles",
|
908
|
-
"type": "uint256"
|
909
|
-
}
|
910
|
-
],
|
911
|
-
"stateMutability": "view",
|
912
|
-
"type": "function"
|
913
|
-
},
|
914
|
-
{
|
915
|
-
"inputs": [
|
916
|
-
{
|
917
|
-
"internalType": "string",
|
918
|
-
"name": "roleName",
|
919
|
-
"type": "string"
|
920
|
-
}
|
921
|
-
],
|
922
|
-
"name": "getRoleId",
|
923
|
-
"outputs": [
|
924
|
-
{
|
925
|
-
"internalType": "RoleId",
|
926
|
-
"name": "role",
|
927
|
-
"type": "bytes8"
|
928
|
-
}
|
929
|
-
],
|
930
|
-
"stateMutability": "pure",
|
931
|
-
"type": "function"
|
932
|
-
},
|
933
|
-
{
|
934
|
-
"inputs": [
|
935
|
-
{
|
936
|
-
"internalType": "RoleId",
|
937
|
-
"name": "role",
|
938
|
-
"type": "bytes8"
|
939
|
-
}
|
940
|
-
],
|
941
|
-
"name": "getRoleInfo",
|
942
|
-
"outputs": [
|
943
|
-
{
|
944
|
-
"components": [
|
945
|
-
{
|
946
|
-
"internalType": "RoleId",
|
947
|
-
"name": "id",
|
948
|
-
"type": "bytes8"
|
949
|
-
},
|
950
|
-
{
|
951
|
-
"internalType": "string",
|
952
|
-
"name": "name",
|
953
|
-
"type": "string"
|
954
|
-
},
|
955
|
-
{
|
956
|
-
"internalType": "bool",
|
957
|
-
"name": "isActive",
|
958
|
-
"type": "bool"
|
959
|
-
}
|
960
|
-
],
|
961
|
-
"internalType": "struct IAccess.RoleInfo",
|
962
|
-
"name": "info",
|
963
|
-
"type": "tuple"
|
964
|
-
}
|
965
|
-
],
|
966
|
-
"stateMutability": "view",
|
967
|
-
"type": "function"
|
968
|
-
},
|
969
|
-
{
|
970
|
-
"inputs": [
|
971
|
-
{
|
972
|
-
"internalType": "RoleId",
|
973
|
-
"name": "role",
|
974
|
-
"type": "bytes8"
|
975
|
-
},
|
976
|
-
{
|
977
|
-
"internalType": "uint256",
|
978
|
-
"name": "idx",
|
979
|
-
"type": "uint256"
|
980
|
-
}
|
981
|
-
],
|
982
|
-
"name": "getRoleMember",
|
983
|
-
"outputs": [
|
984
|
-
{
|
985
|
-
"internalType": "address",
|
986
|
-
"name": "roleMember",
|
987
|
-
"type": "address"
|
988
|
-
}
|
989
|
-
],
|
990
|
-
"stateMutability": "view",
|
991
|
-
"type": "function"
|
992
|
-
},
|
993
|
-
{
|
994
|
-
"inputs": [
|
995
|
-
{
|
996
|
-
"internalType": "RoleId",
|
997
|
-
"name": "role",
|
998
|
-
"type": "bytes8"
|
999
|
-
}
|
1000
|
-
],
|
1001
|
-
"name": "getRoleMemberCount",
|
1002
|
-
"outputs": [
|
1003
|
-
{
|
1004
|
-
"internalType": "uint256",
|
1005
|
-
"name": "roleMembers",
|
1006
|
-
"type": "uint256"
|
1007
|
-
}
|
1008
|
-
],
|
1009
|
-
"stateMutability": "view",
|
1010
|
-
"type": "function"
|
1011
|
-
},
|
1012
|
-
{
|
1013
|
-
"inputs": [
|
1014
|
-
{
|
1015
|
-
"internalType": "NftId",
|
1016
|
-
"name": "componentNftId",
|
1017
|
-
"type": "uint96"
|
1018
|
-
}
|
1019
|
-
],
|
1020
|
-
"name": "getTokenHandler",
|
1021
|
-
"outputs": [
|
1022
|
-
{
|
1023
|
-
"internalType": "contract TokenHandler",
|
1024
|
-
"name": "tokenHandler",
|
1025
|
-
"type": "address"
|
1026
|
-
}
|
1027
|
-
],
|
1028
|
-
"stateMutability": "view",
|
1029
|
-
"type": "function"
|
1030
|
-
},
|
1031
|
-
{
|
1032
|
-
"inputs": [
|
1033
|
-
{
|
1034
|
-
"internalType": "NftId",
|
1035
|
-
"name": "productNftId",
|
1036
|
-
"type": "uint96"
|
1037
|
-
}
|
1038
|
-
],
|
1039
|
-
"name": "getTreasuryInfo",
|
1040
|
-
"outputs": [
|
1041
|
-
{
|
1042
|
-
"components": [
|
1043
|
-
{
|
1044
|
-
"internalType": "NftId",
|
1045
|
-
"name": "compensationNftId",
|
1046
|
-
"type": "uint96"
|
1047
|
-
},
|
1048
|
-
{
|
1049
|
-
"internalType": "NftId",
|
1050
|
-
"name": "poolNftId",
|
1051
|
-
"type": "uint96"
|
1052
|
-
},
|
1053
|
-
{
|
1054
|
-
"internalType": "contract IERC20Metadata",
|
1055
|
-
"name": "token",
|
1056
|
-
"type": "address"
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"components": [
|
1060
|
-
{
|
1061
|
-
"internalType": "UFixed",
|
1062
|
-
"name": "fractionalFee",
|
1063
|
-
"type": "uint256"
|
1064
|
-
},
|
1065
|
-
{
|
1066
|
-
"internalType": "uint256",
|
1067
|
-
"name": "fixedFee",
|
1068
|
-
"type": "uint256"
|
1069
|
-
}
|
1070
|
-
],
|
1071
|
-
"internalType": "struct Fee",
|
1072
|
-
"name": "commissionFee",
|
1073
|
-
"type": "tuple"
|
1074
|
-
},
|
1075
|
-
{
|
1076
|
-
"components": [
|
1077
|
-
{
|
1078
|
-
"internalType": "UFixed",
|
1079
|
-
"name": "fractionalFee",
|
1080
|
-
"type": "uint256"
|
1081
|
-
},
|
1082
|
-
{
|
1083
|
-
"internalType": "uint256",
|
1084
|
-
"name": "fixedFee",
|
1085
|
-
"type": "uint256"
|
1086
|
-
}
|
1087
|
-
],
|
1088
|
-
"internalType": "struct Fee",
|
1089
|
-
"name": "policyFee",
|
1090
|
-
"type": "tuple"
|
1091
|
-
},
|
1092
|
-
{
|
1093
|
-
"components": [
|
1094
|
-
{
|
1095
|
-
"internalType": "UFixed",
|
1096
|
-
"name": "fractionalFee",
|
1097
|
-
"type": "uint256"
|
1098
|
-
},
|
1099
|
-
{
|
1100
|
-
"internalType": "uint256",
|
1101
|
-
"name": "fixedFee",
|
1102
|
-
"type": "uint256"
|
1103
|
-
}
|
1104
|
-
],
|
1105
|
-
"internalType": "struct Fee",
|
1106
|
-
"name": "processingFee",
|
1107
|
-
"type": "tuple"
|
1108
|
-
},
|
1109
|
-
{
|
1110
|
-
"components": [
|
1111
|
-
{
|
1112
|
-
"internalType": "UFixed",
|
1113
|
-
"name": "fractionalFee",
|
1114
|
-
"type": "uint256"
|
1115
|
-
},
|
1116
|
-
{
|
1117
|
-
"internalType": "uint256",
|
1118
|
-
"name": "fixedFee",
|
1119
|
-
"type": "uint256"
|
1120
|
-
}
|
1121
|
-
],
|
1122
|
-
"internalType": "struct Fee",
|
1123
|
-
"name": "stakingFee",
|
1124
|
-
"type": "tuple"
|
1125
|
-
},
|
1126
|
-
{
|
1127
|
-
"components": [
|
1128
|
-
{
|
1129
|
-
"internalType": "UFixed",
|
1130
|
-
"name": "fractionalFee",
|
1131
|
-
"type": "uint256"
|
1132
|
-
},
|
1133
|
-
{
|
1134
|
-
"internalType": "uint256",
|
1135
|
-
"name": "fixedFee",
|
1136
|
-
"type": "uint256"
|
1137
|
-
}
|
1138
|
-
],
|
1139
|
-
"internalType": "struct Fee",
|
1140
|
-
"name": "performanceFee",
|
1141
|
-
"type": "tuple"
|
1142
|
-
}
|
1143
|
-
],
|
1144
|
-
"internalType": "struct ITreasury.TreasuryInfo",
|
1145
|
-
"name": "info",
|
1146
|
-
"type": "tuple"
|
171
|
+
"inputs": [
|
172
|
+
{
|
173
|
+
"internalType": "address",
|
174
|
+
"name": "instance",
|
175
|
+
"type": "address"
|
1147
176
|
}
|
1148
177
|
],
|
1149
|
-
"
|
1150
|
-
"type": "
|
178
|
+
"name": "ErrorInstanceRiskSetInstanceMismatch",
|
179
|
+
"type": "error"
|
1151
180
|
},
|
1152
181
|
{
|
1153
|
-
"inputs": [
|
1154
|
-
"name": "getType",
|
1155
|
-
"outputs": [
|
182
|
+
"inputs": [
|
1156
183
|
{
|
1157
|
-
"internalType": "
|
1158
|
-
"name": "
|
1159
|
-
"type": "
|
184
|
+
"internalType": "NftId",
|
185
|
+
"name": "nftId",
|
186
|
+
"type": "uint96"
|
1160
187
|
}
|
1161
188
|
],
|
1162
|
-
"
|
1163
|
-
"type": "
|
189
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
190
|
+
"type": "error"
|
1164
191
|
},
|
1165
192
|
{
|
1166
193
|
"inputs": [
|
1167
194
|
{
|
1168
|
-
"internalType": "
|
1169
|
-
"name": "
|
1170
|
-
"type": "
|
195
|
+
"internalType": "address",
|
196
|
+
"name": "contractAddress",
|
197
|
+
"type": "address"
|
198
|
+
}
|
199
|
+
],
|
200
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
201
|
+
"type": "error"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"inputs": [],
|
205
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
206
|
+
"type": "error"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"inputs": [
|
210
|
+
{
|
211
|
+
"internalType": "NftId",
|
212
|
+
"name": "nftId",
|
213
|
+
"type": "uint96"
|
1171
214
|
},
|
1172
215
|
{
|
1173
|
-
"internalType": "
|
1174
|
-
"name": "
|
1175
|
-
"type": "
|
216
|
+
"internalType": "ObjectType",
|
217
|
+
"name": "expectedObjectType",
|
218
|
+
"type": "uint8"
|
1176
219
|
}
|
1177
220
|
],
|
1178
|
-
"name": "
|
1179
|
-
"
|
221
|
+
"name": "ErrorNftOwnableInvalidType",
|
222
|
+
"type": "error"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"inputs": [
|
1180
226
|
{
|
1181
|
-
"internalType": "
|
1182
|
-
"name": "",
|
1183
|
-
"type": "
|
227
|
+
"internalType": "address",
|
228
|
+
"name": "account",
|
229
|
+
"type": "address"
|
1184
230
|
}
|
1185
231
|
],
|
1186
|
-
"
|
1187
|
-
"type": "
|
232
|
+
"name": "ErrorNftOwnableNotOwner",
|
233
|
+
"type": "error"
|
1188
234
|
},
|
1189
235
|
{
|
1190
236
|
"inputs": [
|
1191
237
|
{
|
1192
|
-
"internalType": "
|
1193
|
-
"name": "
|
1194
|
-
"type": "
|
238
|
+
"internalType": "address",
|
239
|
+
"name": "registryAddress",
|
240
|
+
"type": "address"
|
1195
241
|
}
|
1196
242
|
],
|
1197
|
-
"name": "
|
1198
|
-
"
|
243
|
+
"name": "ErrorNotRegistry",
|
244
|
+
"type": "error"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"inputs": [],
|
248
|
+
"name": "ErrorRegisterableNotActive",
|
249
|
+
"type": "error"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"anonymous": false,
|
253
|
+
"inputs": [
|
1199
254
|
{
|
1200
|
-
"
|
1201
|
-
"
|
1202
|
-
"
|
255
|
+
"indexed": false,
|
256
|
+
"internalType": "address",
|
257
|
+
"name": "authority",
|
258
|
+
"type": "address"
|
1203
259
|
}
|
1204
260
|
],
|
1205
|
-
"
|
1206
|
-
"type": "
|
261
|
+
"name": "AuthorityUpdated",
|
262
|
+
"type": "event"
|
1207
263
|
},
|
1208
264
|
{
|
1209
265
|
"inputs": [],
|
1210
|
-
"name": "
|
266
|
+
"name": "authority",
|
1211
267
|
"outputs": [
|
1212
268
|
{
|
1213
|
-
"internalType": "
|
269
|
+
"internalType": "address",
|
1214
270
|
"name": "",
|
1215
|
-
"type": "
|
271
|
+
"type": "address"
|
1216
272
|
}
|
1217
273
|
],
|
1218
|
-
"stateMutability": "
|
274
|
+
"stateMutability": "view",
|
1219
275
|
"type": "function"
|
1220
276
|
},
|
1221
277
|
{
|
1222
278
|
"inputs": [
|
1223
279
|
{
|
1224
|
-
"internalType": "
|
1225
|
-
"name": "
|
1226
|
-
"type": "
|
280
|
+
"internalType": "string",
|
281
|
+
"name": "roleName",
|
282
|
+
"type": "string"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"internalType": "string",
|
286
|
+
"name": "adminName",
|
287
|
+
"type": "string"
|
1227
288
|
}
|
1228
289
|
],
|
1229
|
-
"name": "
|
290
|
+
"name": "createRole",
|
1230
291
|
"outputs": [
|
1231
292
|
{
|
1232
|
-
"internalType": "
|
1233
|
-
"name": "
|
1234
|
-
"type": "
|
293
|
+
"internalType": "RoleId",
|
294
|
+
"name": "roleId",
|
295
|
+
"type": "uint64"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"internalType": "RoleId",
|
299
|
+
"name": "admin",
|
300
|
+
"type": "uint64"
|
1235
301
|
}
|
1236
302
|
],
|
1237
|
-
"stateMutability": "
|
303
|
+
"stateMutability": "nonpayable",
|
1238
304
|
"type": "function"
|
1239
305
|
},
|
1240
306
|
{
|
1241
|
-
"inputs": [
|
1242
|
-
"name": "getVersionCount",
|
1243
|
-
"outputs": [
|
307
|
+
"inputs": [
|
1244
308
|
{
|
1245
|
-
"internalType": "
|
1246
|
-
"name": "
|
1247
|
-
"type": "
|
309
|
+
"internalType": "address",
|
310
|
+
"name": "target",
|
311
|
+
"type": "address"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"internalType": "string",
|
315
|
+
"name": "name",
|
316
|
+
"type": "string"
|
1248
317
|
}
|
1249
318
|
],
|
1250
|
-
"
|
319
|
+
"name": "createTarget",
|
320
|
+
"outputs": [],
|
321
|
+
"stateMutability": "nonpayable",
|
1251
322
|
"type": "function"
|
1252
323
|
},
|
1253
324
|
{
|
1254
|
-
"inputs": [
|
325
|
+
"inputs": [],
|
326
|
+
"name": "getBundleSet",
|
327
|
+
"outputs": [
|
1255
328
|
{
|
1256
|
-
"internalType": "
|
1257
|
-
"name": "
|
1258
|
-
"type": "
|
329
|
+
"internalType": "contract BundleSet",
|
330
|
+
"name": "",
|
331
|
+
"type": "address"
|
1259
332
|
}
|
1260
333
|
],
|
1261
|
-
"
|
334
|
+
"stateMutability": "view",
|
335
|
+
"type": "function"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"inputs": [],
|
339
|
+
"name": "getInitialInfo",
|
1262
340
|
"outputs": [
|
1263
341
|
{
|
1264
342
|
"components": [
|
1265
343
|
{
|
1266
|
-
"internalType": "
|
1267
|
-
"name": "
|
1268
|
-
"type": "
|
344
|
+
"internalType": "NftId",
|
345
|
+
"name": "nftId",
|
346
|
+
"type": "uint96"
|
1269
347
|
},
|
1270
348
|
{
|
1271
|
-
"internalType": "
|
1272
|
-
"name": "
|
1273
|
-
"type": "
|
349
|
+
"internalType": "NftId",
|
350
|
+
"name": "parentNftId",
|
351
|
+
"type": "uint96"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"internalType": "ObjectType",
|
355
|
+
"name": "objectType",
|
356
|
+
"type": "uint8"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"internalType": "bool",
|
360
|
+
"name": "isInterceptor",
|
361
|
+
"type": "bool"
|
1274
362
|
},
|
1275
363
|
{
|
1276
364
|
"internalType": "address",
|
1277
|
-
"name": "
|
365
|
+
"name": "objectAddress",
|
1278
366
|
"type": "address"
|
1279
367
|
},
|
1280
368
|
{
|
1281
|
-
"internalType": "
|
1282
|
-
"name": "
|
1283
|
-
"type": "
|
369
|
+
"internalType": "address",
|
370
|
+
"name": "initialOwner",
|
371
|
+
"type": "address"
|
1284
372
|
},
|
1285
373
|
{
|
1286
|
-
"internalType": "
|
1287
|
-
"name": "
|
1288
|
-
"type": "
|
374
|
+
"internalType": "bytes",
|
375
|
+
"name": "data",
|
376
|
+
"type": "bytes"
|
1289
377
|
}
|
1290
378
|
],
|
1291
|
-
"internalType": "struct
|
1292
|
-
"name": "
|
379
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
380
|
+
"name": "",
|
1293
381
|
"type": "tuple"
|
1294
382
|
}
|
1295
383
|
],
|
@@ -1298,85 +386,38 @@
|
|
1298
386
|
},
|
1299
387
|
{
|
1300
388
|
"inputs": [],
|
1301
|
-
"name": "
|
389
|
+
"name": "getInstanceAdmin",
|
1302
390
|
"outputs": [
|
1303
391
|
{
|
1304
|
-
"
|
1305
|
-
|
1306
|
-
"internalType": "UFixed",
|
1307
|
-
"name": "fractionalFee",
|
1308
|
-
"type": "uint256"
|
1309
|
-
},
|
1310
|
-
{
|
1311
|
-
"internalType": "uint256",
|
1312
|
-
"name": "fixedFee",
|
1313
|
-
"type": "uint256"
|
1314
|
-
}
|
1315
|
-
],
|
1316
|
-
"internalType": "struct Fee",
|
1317
|
-
"name": "fee",
|
1318
|
-
"type": "tuple"
|
1319
|
-
}
|
1320
|
-
],
|
1321
|
-
"stateMutability": "view",
|
1322
|
-
"type": "function"
|
1323
|
-
},
|
1324
|
-
{
|
1325
|
-
"inputs": [
|
1326
|
-
{
|
1327
|
-
"internalType": "RoleId",
|
1328
|
-
"name": "role",
|
1329
|
-
"type": "bytes8"
|
1330
|
-
},
|
1331
|
-
{
|
1332
|
-
"internalType": "address",
|
1333
|
-
"name": "member",
|
392
|
+
"internalType": "contract InstanceAdmin",
|
393
|
+
"name": "",
|
1334
394
|
"type": "address"
|
1335
395
|
}
|
1336
396
|
],
|
1337
|
-
"
|
1338
|
-
"outputs": [],
|
1339
|
-
"stateMutability": "nonpayable",
|
397
|
+
"stateMutability": "view",
|
1340
398
|
"type": "function"
|
1341
399
|
},
|
1342
400
|
{
|
1343
|
-
"inputs": [
|
1344
|
-
|
1345
|
-
"internalType": "RoleId",
|
1346
|
-
"name": "role",
|
1347
|
-
"type": "bytes8"
|
1348
|
-
},
|
1349
|
-
{
|
1350
|
-
"internalType": "address",
|
1351
|
-
"name": "member",
|
1352
|
-
"type": "address"
|
1353
|
-
}
|
1354
|
-
],
|
1355
|
-
"name": "hasRole",
|
401
|
+
"inputs": [],
|
402
|
+
"name": "getInstanceReader",
|
1356
403
|
"outputs": [
|
1357
404
|
{
|
1358
|
-
"internalType": "
|
405
|
+
"internalType": "contract InstanceReader",
|
1359
406
|
"name": "",
|
1360
|
-
"type": "
|
407
|
+
"type": "address"
|
1361
408
|
}
|
1362
409
|
],
|
1363
410
|
"stateMutability": "view",
|
1364
411
|
"type": "function"
|
1365
412
|
},
|
1366
413
|
{
|
1367
|
-
"inputs": [
|
1368
|
-
|
1369
|
-
"internalType": "Version",
|
1370
|
-
"name": "version",
|
1371
|
-
"type": "uint24"
|
1372
|
-
}
|
1373
|
-
],
|
1374
|
-
"name": "isActivated",
|
414
|
+
"inputs": [],
|
415
|
+
"name": "getInstanceStore",
|
1375
416
|
"outputs": [
|
1376
417
|
{
|
1377
|
-
"internalType": "
|
418
|
+
"internalType": "contract InstanceStore",
|
1378
419
|
"name": "",
|
1379
|
-
"type": "
|
420
|
+
"type": "address"
|
1380
421
|
}
|
1381
422
|
],
|
1382
423
|
"stateMutability": "view",
|
@@ -1384,356 +425,167 @@
|
|
1384
425
|
},
|
1385
426
|
{
|
1386
427
|
"inputs": [],
|
1387
|
-
"name": "
|
428
|
+
"name": "getNftId",
|
1388
429
|
"outputs": [
|
1389
430
|
{
|
1390
431
|
"internalType": "NftId",
|
1391
|
-
"name": "
|
432
|
+
"name": "",
|
1392
433
|
"type": "uint96"
|
1393
434
|
}
|
1394
435
|
],
|
1395
|
-
"stateMutability": "
|
436
|
+
"stateMutability": "view",
|
1396
437
|
"type": "function"
|
1397
438
|
},
|
1398
439
|
{
|
1399
|
-
"inputs": [
|
1400
|
-
|
1401
|
-
|
1402
|
-
"name": "nftId",
|
1403
|
-
"type": "uint96"
|
1404
|
-
},
|
1405
|
-
{
|
1406
|
-
"internalType": "contract IERC20Metadata",
|
1407
|
-
"name": "token",
|
1408
|
-
"type": "address"
|
1409
|
-
},
|
440
|
+
"inputs": [],
|
441
|
+
"name": "getOwner",
|
442
|
+
"outputs": [
|
1410
443
|
{
|
1411
444
|
"internalType": "address",
|
1412
|
-
"name": "
|
445
|
+
"name": "",
|
1413
446
|
"type": "address"
|
1414
447
|
}
|
1415
448
|
],
|
1416
|
-
"
|
1417
|
-
"outputs": [],
|
1418
|
-
"stateMutability": "nonpayable",
|
449
|
+
"stateMutability": "view",
|
1419
450
|
"type": "function"
|
1420
451
|
},
|
1421
452
|
{
|
1422
453
|
"inputs": [
|
1423
454
|
{
|
1424
|
-
"internalType": "
|
1425
|
-
"name": "
|
1426
|
-
"type": "uint96"
|
1427
|
-
},
|
1428
|
-
{
|
1429
|
-
"internalType": "bool",
|
1430
|
-
"name": "isVerifying",
|
1431
|
-
"type": "bool"
|
1432
|
-
},
|
1433
|
-
{
|
1434
|
-
"internalType": "UFixed",
|
1435
|
-
"name": "collateralizationLevel",
|
455
|
+
"internalType": "uint256",
|
456
|
+
"name": "idx",
|
1436
457
|
"type": "uint256"
|
1437
458
|
}
|
1438
459
|
],
|
1439
|
-
"name": "
|
1440
|
-
"outputs": [
|
1441
|
-
"stateMutability": "nonpayable",
|
1442
|
-
"type": "function"
|
1443
|
-
},
|
1444
|
-
{
|
1445
|
-
"inputs": [
|
460
|
+
"name": "getProductNftId",
|
461
|
+
"outputs": [
|
1446
462
|
{
|
1447
463
|
"internalType": "NftId",
|
1448
464
|
"name": "productNftId",
|
1449
465
|
"type": "uint96"
|
1450
|
-
},
|
1451
|
-
{
|
1452
|
-
"internalType": "NftId",
|
1453
|
-
"name": "distributorNftId",
|
1454
|
-
"type": "uint96"
|
1455
|
-
},
|
1456
|
-
{
|
1457
|
-
"internalType": "NftId",
|
1458
|
-
"name": "poolNftId",
|
1459
|
-
"type": "uint96"
|
1460
|
-
},
|
1461
|
-
{
|
1462
|
-
"internalType": "contract IERC20Metadata",
|
1463
|
-
"name": "token",
|
1464
|
-
"type": "address"
|
1465
|
-
},
|
1466
|
-
{
|
1467
|
-
"components": [
|
1468
|
-
{
|
1469
|
-
"internalType": "UFixed",
|
1470
|
-
"name": "fractionalFee",
|
1471
|
-
"type": "uint256"
|
1472
|
-
},
|
1473
|
-
{
|
1474
|
-
"internalType": "uint256",
|
1475
|
-
"name": "fixedFee",
|
1476
|
-
"type": "uint256"
|
1477
|
-
}
|
1478
|
-
],
|
1479
|
-
"internalType": "struct Fee",
|
1480
|
-
"name": "policyFee",
|
1481
|
-
"type": "tuple"
|
1482
|
-
},
|
1483
|
-
{
|
1484
|
-
"components": [
|
1485
|
-
{
|
1486
|
-
"internalType": "UFixed",
|
1487
|
-
"name": "fractionalFee",
|
1488
|
-
"type": "uint256"
|
1489
|
-
},
|
1490
|
-
{
|
1491
|
-
"internalType": "uint256",
|
1492
|
-
"name": "fixedFee",
|
1493
|
-
"type": "uint256"
|
1494
|
-
}
|
1495
|
-
],
|
1496
|
-
"internalType": "struct Fee",
|
1497
|
-
"name": "processingFee",
|
1498
|
-
"type": "tuple"
|
1499
|
-
},
|
1500
|
-
{
|
1501
|
-
"components": [
|
1502
|
-
{
|
1503
|
-
"internalType": "UFixed",
|
1504
|
-
"name": "fractionalFee",
|
1505
|
-
"type": "uint256"
|
1506
|
-
},
|
1507
|
-
{
|
1508
|
-
"internalType": "uint256",
|
1509
|
-
"name": "fixedFee",
|
1510
|
-
"type": "uint256"
|
1511
|
-
}
|
1512
|
-
],
|
1513
|
-
"internalType": "struct Fee",
|
1514
|
-
"name": "stakingFee",
|
1515
|
-
"type": "tuple"
|
1516
|
-
},
|
1517
|
-
{
|
1518
|
-
"components": [
|
1519
|
-
{
|
1520
|
-
"internalType": "UFixed",
|
1521
|
-
"name": "fractionalFee",
|
1522
|
-
"type": "uint256"
|
1523
|
-
},
|
1524
|
-
{
|
1525
|
-
"internalType": "uint256",
|
1526
|
-
"name": "fixedFee",
|
1527
|
-
"type": "uint256"
|
1528
|
-
}
|
1529
|
-
],
|
1530
|
-
"internalType": "struct Fee",
|
1531
|
-
"name": "performanceFee",
|
1532
|
-
"type": "tuple"
|
1533
466
|
}
|
1534
467
|
],
|
1535
|
-
"
|
1536
|
-
"outputs": [],
|
1537
|
-
"stateMutability": "nonpayable",
|
468
|
+
"stateMutability": "view",
|
1538
469
|
"type": "function"
|
1539
470
|
},
|
1540
471
|
{
|
1541
|
-
"inputs": [
|
472
|
+
"inputs": [],
|
473
|
+
"name": "getRegistry",
|
474
|
+
"outputs": [
|
1542
475
|
{
|
1543
|
-
"internalType": "
|
1544
|
-
"name": "
|
1545
|
-
"type": "
|
1546
|
-
}
|
476
|
+
"internalType": "contract IRegistry",
|
477
|
+
"name": "",
|
478
|
+
"type": "address"
|
479
|
+
}
|
480
|
+
],
|
481
|
+
"stateMutability": "view",
|
482
|
+
"type": "function"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"inputs": [],
|
486
|
+
"name": "getRelease",
|
487
|
+
"outputs": [
|
1547
488
|
{
|
1548
|
-
"internalType": "
|
1549
|
-
"name": "
|
1550
|
-
"type": "
|
489
|
+
"internalType": "VersionPart",
|
490
|
+
"name": "release",
|
491
|
+
"type": "uint8"
|
1551
492
|
}
|
1552
493
|
],
|
1553
|
-
"
|
494
|
+
"stateMutability": "view",
|
495
|
+
"type": "function"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"inputs": [],
|
499
|
+
"name": "getRiskSet",
|
1554
500
|
"outputs": [
|
1555
501
|
{
|
1556
|
-
"internalType": "
|
1557
|
-
"name": "
|
1558
|
-
"type": "
|
502
|
+
"internalType": "contract RiskSet",
|
503
|
+
"name": "",
|
504
|
+
"type": "address"
|
1559
505
|
}
|
1560
506
|
],
|
1561
|
-
"stateMutability": "
|
507
|
+
"stateMutability": "view",
|
1562
508
|
"type": "function"
|
1563
509
|
},
|
1564
510
|
{
|
1565
511
|
"inputs": [
|
1566
512
|
{
|
1567
513
|
"internalType": "RoleId",
|
1568
|
-
"name": "
|
1569
|
-
"type": "
|
514
|
+
"name": "roleId",
|
515
|
+
"type": "uint64"
|
1570
516
|
},
|
1571
517
|
{
|
1572
518
|
"internalType": "address",
|
1573
|
-
"name": "
|
519
|
+
"name": "account",
|
1574
520
|
"type": "address"
|
1575
521
|
}
|
1576
522
|
],
|
1577
|
-
"name": "
|
523
|
+
"name": "grantRole",
|
1578
524
|
"outputs": [],
|
1579
525
|
"stateMutability": "nonpayable",
|
1580
526
|
"type": "function"
|
1581
527
|
},
|
1582
528
|
{
|
1583
|
-
"inputs": [
|
529
|
+
"inputs": [],
|
530
|
+
"name": "isActive",
|
531
|
+
"outputs": [
|
1584
532
|
{
|
1585
|
-
"internalType": "
|
1586
|
-
"name": "
|
1587
|
-
"type": "
|
533
|
+
"internalType": "bool",
|
534
|
+
"name": "active",
|
535
|
+
"type": "bool"
|
1588
536
|
}
|
1589
537
|
],
|
1590
|
-
"
|
538
|
+
"stateMutability": "view",
|
539
|
+
"type": "function"
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"inputs": [],
|
543
|
+
"name": "isConsumingScheduledOp",
|
1591
544
|
"outputs": [
|
1592
545
|
{
|
1593
|
-
"internalType": "
|
546
|
+
"internalType": "bytes4",
|
1594
547
|
"name": "",
|
1595
|
-
"type": "
|
548
|
+
"type": "bytes4"
|
1596
549
|
}
|
1597
550
|
],
|
1598
551
|
"stateMutability": "view",
|
1599
552
|
"type": "function"
|
1600
553
|
},
|
1601
554
|
{
|
1602
|
-
"inputs": [
|
555
|
+
"inputs": [],
|
556
|
+
"name": "linkToRegisteredNftId",
|
557
|
+
"outputs": [
|
1603
558
|
{
|
1604
559
|
"internalType": "NftId",
|
1605
|
-
"name": "
|
560
|
+
"name": "",
|
1606
561
|
"type": "uint96"
|
1607
|
-
},
|
1608
|
-
{
|
1609
|
-
"components": [
|
1610
|
-
{
|
1611
|
-
"internalType": "NftId",
|
1612
|
-
"name": "poolNftId",
|
1613
|
-
"type": "uint96"
|
1614
|
-
},
|
1615
|
-
{
|
1616
|
-
"internalType": "bytes",
|
1617
|
-
"name": "filter",
|
1618
|
-
"type": "bytes"
|
1619
|
-
},
|
1620
|
-
{
|
1621
|
-
"internalType": "uint256",
|
1622
|
-
"name": "capitalAmount",
|
1623
|
-
"type": "uint256"
|
1624
|
-
},
|
1625
|
-
{
|
1626
|
-
"internalType": "uint256",
|
1627
|
-
"name": "lockedAmount",
|
1628
|
-
"type": "uint256"
|
1629
|
-
},
|
1630
|
-
{
|
1631
|
-
"internalType": "uint256",
|
1632
|
-
"name": "balanceAmount",
|
1633
|
-
"type": "uint256"
|
1634
|
-
},
|
1635
|
-
{
|
1636
|
-
"internalType": "Timestamp",
|
1637
|
-
"name": "expiredAt",
|
1638
|
-
"type": "uint40"
|
1639
|
-
},
|
1640
|
-
{
|
1641
|
-
"internalType": "Timestamp",
|
1642
|
-
"name": "closedAt",
|
1643
|
-
"type": "uint40"
|
1644
|
-
}
|
1645
|
-
],
|
1646
|
-
"internalType": "struct IBundle.BundleInfo",
|
1647
|
-
"name": "bundleInfo",
|
1648
|
-
"type": "tuple"
|
1649
562
|
}
|
1650
563
|
],
|
1651
|
-
"name": "setBundleInfo",
|
1652
|
-
"outputs": [],
|
1653
564
|
"stateMutability": "nonpayable",
|
1654
565
|
"type": "function"
|
1655
566
|
},
|
567
|
+
{
|
568
|
+
"inputs": [],
|
569
|
+
"name": "products",
|
570
|
+
"outputs": [
|
571
|
+
{
|
572
|
+
"internalType": "uint256",
|
573
|
+
"name": "productCount",
|
574
|
+
"type": "uint256"
|
575
|
+
}
|
576
|
+
],
|
577
|
+
"stateMutability": "view",
|
578
|
+
"type": "function"
|
579
|
+
},
|
1656
580
|
{
|
1657
581
|
"inputs": [
|
1658
582
|
{
|
1659
|
-
"internalType": "
|
1660
|
-
"name": "
|
583
|
+
"internalType": "Amount",
|
584
|
+
"name": "dipAmount",
|
1661
585
|
"type": "uint96"
|
1662
|
-
},
|
1663
|
-
{
|
1664
|
-
"components": [
|
1665
|
-
{
|
1666
|
-
"internalType": "NftId",
|
1667
|
-
"name": "productNftId",
|
1668
|
-
"type": "uint96"
|
1669
|
-
},
|
1670
|
-
{
|
1671
|
-
"internalType": "NftId",
|
1672
|
-
"name": "bundleNftId",
|
1673
|
-
"type": "uint96"
|
1674
|
-
},
|
1675
|
-
{
|
1676
|
-
"internalType": "address",
|
1677
|
-
"name": "beneficiary",
|
1678
|
-
"type": "address"
|
1679
|
-
},
|
1680
|
-
{
|
1681
|
-
"internalType": "RiskId",
|
1682
|
-
"name": "riskId",
|
1683
|
-
"type": "bytes8"
|
1684
|
-
},
|
1685
|
-
{
|
1686
|
-
"internalType": "uint256",
|
1687
|
-
"name": "sumInsuredAmount",
|
1688
|
-
"type": "uint256"
|
1689
|
-
},
|
1690
|
-
{
|
1691
|
-
"internalType": "uint256",
|
1692
|
-
"name": "premiumAmount",
|
1693
|
-
"type": "uint256"
|
1694
|
-
},
|
1695
|
-
{
|
1696
|
-
"internalType": "uint256",
|
1697
|
-
"name": "premiumPaidAmount",
|
1698
|
-
"type": "uint256"
|
1699
|
-
},
|
1700
|
-
{
|
1701
|
-
"internalType": "uint256",
|
1702
|
-
"name": "lifetime",
|
1703
|
-
"type": "uint256"
|
1704
|
-
},
|
1705
|
-
{
|
1706
|
-
"internalType": "bytes",
|
1707
|
-
"name": "applicationData",
|
1708
|
-
"type": "bytes"
|
1709
|
-
},
|
1710
|
-
{
|
1711
|
-
"internalType": "bytes",
|
1712
|
-
"name": "policyData",
|
1713
|
-
"type": "bytes"
|
1714
|
-
},
|
1715
|
-
{
|
1716
|
-
"internalType": "Timestamp",
|
1717
|
-
"name": "activatedAt",
|
1718
|
-
"type": "uint40"
|
1719
|
-
},
|
1720
|
-
{
|
1721
|
-
"internalType": "Timestamp",
|
1722
|
-
"name": "expiredAt",
|
1723
|
-
"type": "uint40"
|
1724
|
-
},
|
1725
|
-
{
|
1726
|
-
"internalType": "Timestamp",
|
1727
|
-
"name": "closedAt",
|
1728
|
-
"type": "uint40"
|
1729
|
-
}
|
1730
|
-
],
|
1731
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
1732
|
-
"name": "info",
|
1733
|
-
"type": "tuple"
|
1734
586
|
}
|
1735
587
|
],
|
1736
|
-
"name": "
|
588
|
+
"name": "refillStakingRewardReserves",
|
1737
589
|
"outputs": [],
|
1738
590
|
"stateMutability": "nonpayable",
|
1739
591
|
"type": "function"
|
@@ -1741,30 +593,19 @@
|
|
1741
593
|
{
|
1742
594
|
"inputs": [
|
1743
595
|
{
|
1744
|
-
"internalType": "
|
1745
|
-
"name": "
|
1746
|
-
"type": "
|
1747
|
-
}
|
596
|
+
"internalType": "address",
|
597
|
+
"name": "product",
|
598
|
+
"type": "address"
|
599
|
+
}
|
600
|
+
],
|
601
|
+
"name": "registerProduct",
|
602
|
+
"outputs": [
|
1748
603
|
{
|
1749
|
-
"
|
1750
|
-
|
1751
|
-
|
1752
|
-
"name": "productNftId",
|
1753
|
-
"type": "uint96"
|
1754
|
-
},
|
1755
|
-
{
|
1756
|
-
"internalType": "bytes",
|
1757
|
-
"name": "data",
|
1758
|
-
"type": "bytes"
|
1759
|
-
}
|
1760
|
-
],
|
1761
|
-
"internalType": "struct IRisk.RiskInfo",
|
1762
|
-
"name": "info",
|
1763
|
-
"type": "tuple"
|
604
|
+
"internalType": "NftId",
|
605
|
+
"name": "productNftId",
|
606
|
+
"type": "uint96"
|
1764
607
|
}
|
1765
608
|
],
|
1766
|
-
"name": "setRiskInfo",
|
1767
|
-
"outputs": [],
|
1768
609
|
"stateMutability": "nonpayable",
|
1769
610
|
"type": "function"
|
1770
611
|
},
|
@@ -1772,16 +613,16 @@
|
|
1772
613
|
"inputs": [
|
1773
614
|
{
|
1774
615
|
"internalType": "RoleId",
|
1775
|
-
"name": "
|
1776
|
-
"type": "
|
616
|
+
"name": "roleId",
|
617
|
+
"type": "uint64"
|
1777
618
|
},
|
1778
619
|
{
|
1779
|
-
"internalType": "
|
1780
|
-
"name": "
|
1781
|
-
"type": "
|
620
|
+
"internalType": "address",
|
621
|
+
"name": "account",
|
622
|
+
"type": "address"
|
1782
623
|
}
|
1783
624
|
],
|
1784
|
-
"name": "
|
625
|
+
"name": "revokeRole",
|
1785
626
|
"outputs": [],
|
1786
627
|
"stateMutability": "nonpayable",
|
1787
628
|
"type": "function"
|
@@ -1789,119 +630,12 @@
|
|
1789
630
|
{
|
1790
631
|
"inputs": [
|
1791
632
|
{
|
1792
|
-
"internalType": "
|
1793
|
-
"name": "
|
1794
|
-
"type": "
|
1795
|
-
},
|
1796
|
-
{
|
1797
|
-
"components": [
|
1798
|
-
{
|
1799
|
-
"internalType": "NftId",
|
1800
|
-
"name": "compensationNftId",
|
1801
|
-
"type": "uint96"
|
1802
|
-
},
|
1803
|
-
{
|
1804
|
-
"internalType": "NftId",
|
1805
|
-
"name": "poolNftId",
|
1806
|
-
"type": "uint96"
|
1807
|
-
},
|
1808
|
-
{
|
1809
|
-
"internalType": "contract IERC20Metadata",
|
1810
|
-
"name": "token",
|
1811
|
-
"type": "address"
|
1812
|
-
},
|
1813
|
-
{
|
1814
|
-
"components": [
|
1815
|
-
{
|
1816
|
-
"internalType": "UFixed",
|
1817
|
-
"name": "fractionalFee",
|
1818
|
-
"type": "uint256"
|
1819
|
-
},
|
1820
|
-
{
|
1821
|
-
"internalType": "uint256",
|
1822
|
-
"name": "fixedFee",
|
1823
|
-
"type": "uint256"
|
1824
|
-
}
|
1825
|
-
],
|
1826
|
-
"internalType": "struct Fee",
|
1827
|
-
"name": "commissionFee",
|
1828
|
-
"type": "tuple"
|
1829
|
-
},
|
1830
|
-
{
|
1831
|
-
"components": [
|
1832
|
-
{
|
1833
|
-
"internalType": "UFixed",
|
1834
|
-
"name": "fractionalFee",
|
1835
|
-
"type": "uint256"
|
1836
|
-
},
|
1837
|
-
{
|
1838
|
-
"internalType": "uint256",
|
1839
|
-
"name": "fixedFee",
|
1840
|
-
"type": "uint256"
|
1841
|
-
}
|
1842
|
-
],
|
1843
|
-
"internalType": "struct Fee",
|
1844
|
-
"name": "policyFee",
|
1845
|
-
"type": "tuple"
|
1846
|
-
},
|
1847
|
-
{
|
1848
|
-
"components": [
|
1849
|
-
{
|
1850
|
-
"internalType": "UFixed",
|
1851
|
-
"name": "fractionalFee",
|
1852
|
-
"type": "uint256"
|
1853
|
-
},
|
1854
|
-
{
|
1855
|
-
"internalType": "uint256",
|
1856
|
-
"name": "fixedFee",
|
1857
|
-
"type": "uint256"
|
1858
|
-
}
|
1859
|
-
],
|
1860
|
-
"internalType": "struct Fee",
|
1861
|
-
"name": "processingFee",
|
1862
|
-
"type": "tuple"
|
1863
|
-
},
|
1864
|
-
{
|
1865
|
-
"components": [
|
1866
|
-
{
|
1867
|
-
"internalType": "UFixed",
|
1868
|
-
"name": "fractionalFee",
|
1869
|
-
"type": "uint256"
|
1870
|
-
},
|
1871
|
-
{
|
1872
|
-
"internalType": "uint256",
|
1873
|
-
"name": "fixedFee",
|
1874
|
-
"type": "uint256"
|
1875
|
-
}
|
1876
|
-
],
|
1877
|
-
"internalType": "struct Fee",
|
1878
|
-
"name": "stakingFee",
|
1879
|
-
"type": "tuple"
|
1880
|
-
},
|
1881
|
-
{
|
1882
|
-
"components": [
|
1883
|
-
{
|
1884
|
-
"internalType": "UFixed",
|
1885
|
-
"name": "fractionalFee",
|
1886
|
-
"type": "uint256"
|
1887
|
-
},
|
1888
|
-
{
|
1889
|
-
"internalType": "uint256",
|
1890
|
-
"name": "fixedFee",
|
1891
|
-
"type": "uint256"
|
1892
|
-
}
|
1893
|
-
],
|
1894
|
-
"internalType": "struct Fee",
|
1895
|
-
"name": "performanceFee",
|
1896
|
-
"type": "tuple"
|
1897
|
-
}
|
1898
|
-
],
|
1899
|
-
"internalType": "struct ITreasury.TreasuryInfo",
|
1900
|
-
"name": "info",
|
1901
|
-
"type": "tuple"
|
633
|
+
"internalType": "address",
|
634
|
+
"name": "",
|
635
|
+
"type": "address"
|
1902
636
|
}
|
1903
637
|
],
|
1904
|
-
"name": "
|
638
|
+
"name": "setAuthority",
|
1905
639
|
"outputs": [],
|
1906
640
|
"stateMutability": "nonpayable",
|
1907
641
|
"type": "function"
|
@@ -1909,36 +643,30 @@
|
|
1909
643
|
{
|
1910
644
|
"inputs": [
|
1911
645
|
{
|
1912
|
-
"internalType": "
|
1913
|
-
"name": "
|
1914
|
-
"type": "
|
1915
|
-
}
|
1916
|
-
],
|
1917
|
-
"name": "supportsInterface",
|
1918
|
-
"outputs": [
|
646
|
+
"internalType": "address",
|
647
|
+
"name": "target",
|
648
|
+
"type": "address"
|
649
|
+
},
|
1919
650
|
{
|
1920
651
|
"internalType": "bool",
|
1921
|
-
"name": "",
|
652
|
+
"name": "locked",
|
1922
653
|
"type": "bool"
|
1923
654
|
}
|
1924
655
|
],
|
1925
|
-
"
|
656
|
+
"name": "setLocked",
|
657
|
+
"outputs": [],
|
658
|
+
"stateMutability": "nonpayable",
|
1926
659
|
"type": "function"
|
1927
660
|
},
|
1928
661
|
{
|
1929
662
|
"inputs": [
|
1930
663
|
{
|
1931
|
-
"internalType": "
|
1932
|
-
"name": "
|
1933
|
-
"type": "
|
1934
|
-
},
|
1935
|
-
{
|
1936
|
-
"internalType": "StateId",
|
1937
|
-
"name": "state",
|
1938
|
-
"type": "uint8"
|
664
|
+
"internalType": "Seconds",
|
665
|
+
"name": "stakeLockingPeriod",
|
666
|
+
"type": "uint40"
|
1939
667
|
}
|
1940
668
|
],
|
1941
|
-
"name": "
|
669
|
+
"name": "setStakingLockingPeriod",
|
1942
670
|
"outputs": [],
|
1943
671
|
"stateMutability": "nonpayable",
|
1944
672
|
"type": "function"
|
@@ -1946,17 +674,12 @@
|
|
1946
674
|
{
|
1947
675
|
"inputs": [
|
1948
676
|
{
|
1949
|
-
"internalType": "
|
1950
|
-
"name": "
|
1951
|
-
"type": "
|
1952
|
-
},
|
1953
|
-
{
|
1954
|
-
"internalType": "StateId",
|
1955
|
-
"name": "state",
|
1956
|
-
"type": "uint8"
|
677
|
+
"internalType": "UFixed",
|
678
|
+
"name": "rewardRate",
|
679
|
+
"type": "uint256"
|
1957
680
|
}
|
1958
681
|
],
|
1959
|
-
"name": "
|
682
|
+
"name": "setStakingRewardRate",
|
1960
683
|
"outputs": [],
|
1961
684
|
"stateMutability": "nonpayable",
|
1962
685
|
"type": "function"
|
@@ -1964,17 +687,22 @@
|
|
1964
687
|
{
|
1965
688
|
"inputs": [
|
1966
689
|
{
|
1967
|
-
"internalType": "
|
1968
|
-
"name": "
|
1969
|
-
"type": "
|
690
|
+
"internalType": "string",
|
691
|
+
"name": "targetName",
|
692
|
+
"type": "string"
|
693
|
+
},
|
694
|
+
{
|
695
|
+
"internalType": "bytes4[]",
|
696
|
+
"name": "selectors",
|
697
|
+
"type": "bytes4[]"
|
1970
698
|
},
|
1971
699
|
{
|
1972
|
-
"internalType": "
|
1973
|
-
"name": "
|
1974
|
-
"type": "
|
700
|
+
"internalType": "RoleId",
|
701
|
+
"name": "roleId",
|
702
|
+
"type": "uint64"
|
1975
703
|
}
|
1976
704
|
],
|
1977
|
-
"name": "
|
705
|
+
"name": "setTargetFunctionRole",
|
1978
706
|
"outputs": [],
|
1979
707
|
"stateMutability": "nonpayable",
|
1980
708
|
"type": "function"
|
@@ -1982,18 +710,38 @@
|
|
1982
710
|
{
|
1983
711
|
"inputs": [
|
1984
712
|
{
|
1985
|
-
"internalType": "
|
1986
|
-
"name": "
|
1987
|
-
"type": "
|
1988
|
-
}
|
713
|
+
"internalType": "bytes4",
|
714
|
+
"name": "interfaceId",
|
715
|
+
"type": "bytes4"
|
716
|
+
}
|
717
|
+
],
|
718
|
+
"name": "supportsInterface",
|
719
|
+
"outputs": [
|
1989
720
|
{
|
1990
|
-
"internalType": "
|
1991
|
-
"name": "
|
1992
|
-
"type": "
|
721
|
+
"internalType": "bool",
|
722
|
+
"name": "",
|
723
|
+
"type": "bool"
|
724
|
+
}
|
725
|
+
],
|
726
|
+
"stateMutability": "view",
|
727
|
+
"type": "function"
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"inputs": [
|
731
|
+
{
|
732
|
+
"internalType": "Amount",
|
733
|
+
"name": "dipAmount",
|
734
|
+
"type": "uint96"
|
735
|
+
}
|
736
|
+
],
|
737
|
+
"name": "withdrawStakingRewardReserves",
|
738
|
+
"outputs": [
|
739
|
+
{
|
740
|
+
"internalType": "Amount",
|
741
|
+
"name": "newBalance",
|
742
|
+
"type": "uint96"
|
1993
743
|
}
|
1994
744
|
],
|
1995
|
-
"name": "updateState",
|
1996
|
-
"outputs": [],
|
1997
745
|
"stateMutability": "nonpayable",
|
1998
746
|
"type": "function"
|
1999
747
|
}
|