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