@etherisc/gif-next 0.0.2-bdcb44f-543 → 0.0.2-be78639-672
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +178 -409
- 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 +810 -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 +1735 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -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 +817 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1400 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +465 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +407 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +652 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1234 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +844 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +939 -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 +950 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +294 -285
- 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 +1474 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -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 +1429 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +87 -184
- 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 +304 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +595 -1842
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +678 -85
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +684 -2663
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2400 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +872 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1881 -710
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +621 -319
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +217 -118
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3039 -0
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -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/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +947 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +849 -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/{components/Component.sol/Component.json → oracle/IOracleComponent.sol/IOracleComponent.json} +230 -242
- 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 +863 -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 +830 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +317 -536
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +844 -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 +886 -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 +895 -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/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +402 -416
- 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 +886 -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 +810 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → product/BasicProduct.sol/BasicProduct.json} +435 -565
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +844 -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 +906 -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/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +243 -147
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1006 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IRiskService.sol/IRiskService.json} +289 -143
- 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 +874 -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 +834 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/{components → product}/Product.sol/Product.json +467 -459
- 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 +794 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +515 -31
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +306 -124
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +999 -124
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2255 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +381 -260
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +233 -110
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -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 +1401 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +705 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +360 -137
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +695 -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 +882 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/IComponent.sol/IComponent.json} +271 -203
- 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/{components/IProductComponent.sol/IProductComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +261 -236
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +177 -18
- 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 +785 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +47 -70
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +145 -100
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +163 -106
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2747 -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 +3175 -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 +867 -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 +786 -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 +270 -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/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +672 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
- package/contracts/accounting/AccountingService.sol +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +679 -0
- package/contracts/authorization/AccessAdminLib.sol +678 -0
- package/contracts/authorization/AccessManagerCloneable.sol +140 -0
- package/contracts/authorization/Authorization.sol +190 -0
- package/contracts/authorization/IAccess.sol +66 -0
- package/contracts/authorization/IAccessAdmin.sol +142 -0
- package/contracts/authorization/IAuthorization.sol +26 -0
- package/contracts/authorization/IServiceAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +300 -0
- package/contracts/distribution/BasicDistribution.sol +140 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
- package/contracts/distribution/Distribution.sol +245 -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 +93 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IBaseStore.sol +37 -0
- package/contracts/instance/IInstance.sol +130 -66
- package/contracts/instance/IInstanceService.sol +86 -26
- package/contracts/instance/Instance.sol +266 -206
- package/contracts/instance/InstanceAdmin.sol +307 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
- package/contracts/instance/InstanceReader.sol +506 -193
- package/contracts/instance/InstanceService.sol +412 -388
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +323 -0
- package/contracts/instance/ProductStore.sol +290 -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/{Cloneable.sol → base/Cloneable.sol} +4 -22
- 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 +10 -10
- package/contracts/instance/module/IComponents.sol +60 -0
- package/contracts/instance/module/IDistribution.sol +25 -12
- package/contracts/instance/module/IPolicy.sol +71 -38
- package/contracts/instance/module/IRisk.sol +6 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +44 -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 +152 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +161 -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 +331 -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/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +48 -0
- package/contracts/product/BasicProductAuthorization.sol +63 -0
- package/contracts/product/ClaimService.sol +626 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +41 -35
- 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 +491 -0
- package/contracts/product/RiskService.sol +189 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +83 -36
- package/contracts/registry/IRegistry.sol +106 -33
- package/contracts/registry/IRegistryService.sol +36 -41
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -1
- package/contracts/registry/Registry.sol +481 -209
- package/contracts/registry/RegistryAdmin.sol +173 -0
- package/contracts/registry/RegistryAuthorization.sol +337 -0
- package/contracts/registry/RegistryService.sol +90 -132
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseAdmin.sol +199 -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 +265 -64
- package/contracts/shared/Component.sol +210 -0
- package/contracts/shared/ComponentService.sol +691 -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/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +6 -2
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +12 -7
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
- package/contracts/shared/InstanceLinkedComponent.sol +192 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +36 -27
- package/contracts/shared/PolicyHolder.sol +23 -41
- package/contracts/shared/Registerable.sol +52 -20
- package/contracts/shared/RegistryLinked.sol +9 -19
- package/contracts/shared/Service.sol +38 -29
- package/contracts/shared/TokenHandler.sol +327 -12
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +366 -0
- package/contracts/staking/IStakingService.sol +127 -0
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +797 -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 +38 -19
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/{types → type}/ClaimId.sol +31 -3
- package/contracts/type/Fee.sol +66 -0
- package/contracts/{types → type}/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/{types → type}/NftId.sol +28 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +307 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +6 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +75 -0
- package/contracts/type/RoleId.sol +180 -0
- package/contracts/type/Seconds.sol +120 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +48 -4
- package/contracts/type/String.sol +65 -0
- package/contracts/{types → type}/Timestamp.sol +24 -7
- package/contracts/type/UFixed.sol +263 -0
- package/contracts/{types → type}/Version.sol +59 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
- package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
- package/package.json +12 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +0 -447
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
- 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/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -968
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1096
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1553
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -793
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +0 -633
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -409
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -858
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -347
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -384
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1000
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/Component.sol +0 -221
- package/contracts/components/Distribution.sol +0 -293
- package/contracts/components/IComponent.sol +0 -68
- package/contracts/components/IDistributionComponent.sol +0 -79
- package/contracts/components/IPoolComponent.sol +0 -151
- package/contracts/components/IProductComponent.sol +0 -40
- package/contracts/components/Pool.sol +0 -378
- package/contracts/components/Product.sol +0 -289
- package/contracts/instance/BundleManager.sol +0 -125
- package/contracts/instance/InstanceAccessManager.sol +0 -297
- package/contracts/instance/ObjectManager.sol +0 -84
- package/contracts/instance/base/ComponentService.sol +0 -134
- package/contracts/instance/base/IKeyValueStore.sol +0 -49
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/base/Lifecycle.sol +0 -100
- package/contracts/instance/module/IAccess.sol +0 -47
- package/contracts/instance/module/ISetup.sol +0 -46
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -349
- package/contracts/instance/service/BundleService.sol +0 -299
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -151
- package/contracts/instance/service/DistributionService.sol +0 -394
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -55
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IDistributionService.sol +0 -86
- package/contracts/instance/service/IPolicyService.sol +0 -70
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -402
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -109
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -233
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -322
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/Fee.sol +0 -56
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -156
- package/contracts/types/PayoutId.sol +0 -54
- package/contracts/types/RiskId.sol +0 -43
- package/contracts/types/RoleId.sol +0 -95
- package/contracts/types/Seconds.sol +0 -54
- package/contracts/types/UFixed.sol +0 -325
- /package/contracts/{types → type}/DistributorType.sol +0 -0
package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json}
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "BasicPool",
|
4
|
+
"sourceName": "contracts/pool/BasicPool.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
@@ -45,22 +45,16 @@
|
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
47
|
"internalType": "address",
|
48
|
-
"name": "
|
48
|
+
"name": "authority",
|
49
49
|
"type": "address"
|
50
50
|
}
|
51
51
|
],
|
52
|
-
"name": "
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
53
|
"type": "error"
|
54
54
|
},
|
55
55
|
{
|
56
|
-
"inputs": [
|
57
|
-
|
58
|
-
"internalType": "address",
|
59
|
-
"name": "account",
|
60
|
-
"type": "address"
|
61
|
-
}
|
62
|
-
],
|
63
|
-
"name": "AddressInsufficientBalance",
|
56
|
+
"inputs": [],
|
57
|
+
"name": "ErrorComponentNameLengthZero",
|
64
58
|
"type": "error"
|
65
59
|
},
|
66
60
|
{
|
@@ -75,66 +69,60 @@
|
|
75
69
|
"type": "error"
|
76
70
|
},
|
77
71
|
{
|
78
|
-
"inputs": [
|
79
|
-
|
80
|
-
"internalType": "NftId",
|
81
|
-
"name": "instanceNftId",
|
82
|
-
"type": "uint96"
|
83
|
-
}
|
84
|
-
],
|
85
|
-
"name": "ErrorComponentNotInstance",
|
72
|
+
"inputs": [],
|
73
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
86
74
|
"type": "error"
|
87
75
|
},
|
88
76
|
{
|
89
|
-
"inputs": [
|
90
|
-
|
91
|
-
"internalType": "address",
|
92
|
-
"name": "caller",
|
93
|
-
"type": "address"
|
94
|
-
}
|
95
|
-
],
|
96
|
-
"name": "ErrorComponentNotProductService",
|
77
|
+
"inputs": [],
|
78
|
+
"name": "ErrorComponentProductNftIdZero",
|
97
79
|
"type": "error"
|
98
80
|
},
|
99
81
|
{
|
100
82
|
"inputs": [],
|
101
|
-
"name": "
|
83
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
102
84
|
"type": "error"
|
103
85
|
},
|
104
86
|
{
|
105
87
|
"inputs": [],
|
106
|
-
"name": "
|
88
|
+
"name": "ErrorComponentWalletAddressZero",
|
107
89
|
"type": "error"
|
108
90
|
},
|
109
91
|
{
|
110
92
|
"inputs": [],
|
111
|
-
"name": "
|
93
|
+
"name": "ErrorComponentWalletNotComponent",
|
112
94
|
"type": "error"
|
113
95
|
},
|
114
96
|
{
|
115
97
|
"inputs": [
|
116
98
|
{
|
117
|
-
"internalType": "
|
118
|
-
"name": "
|
119
|
-
"type": "
|
99
|
+
"internalType": "NftId",
|
100
|
+
"name": "nftId",
|
101
|
+
"type": "uint96"
|
120
102
|
},
|
121
103
|
{
|
122
|
-
"internalType": "
|
123
|
-
"name": "
|
124
|
-
"type": "
|
125
|
-
}
|
104
|
+
"internalType": "ObjectType",
|
105
|
+
"name": "objectType",
|
106
|
+
"type": "uint8"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
110
|
+
"type": "error"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"inputs": [
|
126
114
|
{
|
127
|
-
"internalType": "
|
128
|
-
"name": "
|
129
|
-
"type": "
|
115
|
+
"internalType": "ObjectType",
|
116
|
+
"name": "requiredType",
|
117
|
+
"type": "uint8"
|
130
118
|
},
|
131
119
|
{
|
132
|
-
"internalType": "
|
133
|
-
"name": "
|
134
|
-
"type": "
|
120
|
+
"internalType": "ObjectType",
|
121
|
+
"name": "objectType",
|
122
|
+
"type": "uint8"
|
135
123
|
}
|
136
124
|
],
|
137
|
-
"name": "
|
125
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
138
126
|
"type": "error"
|
139
127
|
},
|
140
128
|
{
|
@@ -164,6 +152,22 @@
|
|
164
152
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
165
153
|
"type": "error"
|
166
154
|
},
|
155
|
+
{
|
156
|
+
"inputs": [
|
157
|
+
{
|
158
|
+
"internalType": "NftId",
|
159
|
+
"name": "nftId",
|
160
|
+
"type": "uint96"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "ObjectType",
|
164
|
+
"name": "expectedObjectType",
|
165
|
+
"type": "uint8"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"name": "ErrorNftOwnableInvalidType",
|
169
|
+
"type": "error"
|
170
|
+
},
|
167
171
|
{
|
168
172
|
"inputs": [
|
169
173
|
{
|
@@ -197,11 +201,6 @@
|
|
197
201
|
"name": "ErrorPoolApplicationBundleMismatch",
|
198
202
|
"type": "error"
|
199
203
|
},
|
200
|
-
{
|
201
|
-
"inputs": [],
|
202
|
-
"name": "ErrorPoolBundleOwnerRoleAlreadySet",
|
203
|
-
"type": "error"
|
204
|
-
},
|
205
204
|
{
|
206
205
|
"inputs": [
|
207
206
|
{
|
@@ -231,7 +230,7 @@
|
|
231
230
|
},
|
232
231
|
{
|
233
232
|
"inputs": [],
|
234
|
-
"name": "
|
233
|
+
"name": "ErrorRegisterableNotActive",
|
235
234
|
"type": "error"
|
236
235
|
},
|
237
236
|
{
|
@@ -244,17 +243,6 @@
|
|
244
243
|
"name": "NotInitializing",
|
245
244
|
"type": "error"
|
246
245
|
},
|
247
|
-
{
|
248
|
-
"inputs": [
|
249
|
-
{
|
250
|
-
"internalType": "address",
|
251
|
-
"name": "token",
|
252
|
-
"type": "address"
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"name": "SafeERC20FailedOperation",
|
256
|
-
"type": "error"
|
257
|
-
},
|
258
246
|
{
|
259
247
|
"anonymous": false,
|
260
248
|
"inputs": [
|
@@ -281,6 +269,37 @@
|
|
281
269
|
"name": "Initialized",
|
282
270
|
"type": "event"
|
283
271
|
},
|
272
|
+
{
|
273
|
+
"anonymous": false,
|
274
|
+
"inputs": [
|
275
|
+
{
|
276
|
+
"indexed": false,
|
277
|
+
"internalType": "address",
|
278
|
+
"name": "tokenHandler",
|
279
|
+
"type": "address"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"indexed": false,
|
283
|
+
"internalType": "address",
|
284
|
+
"name": "token",
|
285
|
+
"type": "address"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"indexed": false,
|
289
|
+
"internalType": "Amount",
|
290
|
+
"name": "limit",
|
291
|
+
"type": "uint96"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"indexed": false,
|
295
|
+
"internalType": "bool",
|
296
|
+
"name": "isMaxAmount",
|
297
|
+
"type": "bool"
|
298
|
+
}
|
299
|
+
],
|
300
|
+
"name": "LogComponentTokenHandlerApproved",
|
301
|
+
"type": "event"
|
302
|
+
},
|
284
303
|
{
|
285
304
|
"anonymous": false,
|
286
305
|
"inputs": [
|
@@ -330,31 +349,18 @@
|
|
330
349
|
"inputs": [
|
331
350
|
{
|
332
351
|
"indexed": false,
|
333
|
-
"internalType": "
|
334
|
-
"name": "
|
335
|
-
"type": "
|
352
|
+
"internalType": "NftId",
|
353
|
+
"name": "nftId",
|
354
|
+
"type": "uint96"
|
336
355
|
},
|
337
356
|
{
|
338
357
|
"indexed": false,
|
339
|
-
"internalType": "
|
340
|
-
"name": "
|
341
|
-
"type": "
|
342
|
-
}
|
343
|
-
],
|
344
|
-
"name": "LogPoolBundleMaxCapitalAmountUpdated",
|
345
|
-
"type": "event"
|
346
|
-
},
|
347
|
-
{
|
348
|
-
"anonymous": false,
|
349
|
-
"inputs": [
|
350
|
-
{
|
351
|
-
"indexed": false,
|
352
|
-
"internalType": "RoleId",
|
353
|
-
"name": "bundleOwnerRole",
|
354
|
-
"type": "uint64"
|
358
|
+
"internalType": "address",
|
359
|
+
"name": "owner",
|
360
|
+
"type": "address"
|
355
361
|
}
|
356
362
|
],
|
357
|
-
"name": "
|
363
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
358
364
|
"type": "event"
|
359
365
|
},
|
360
366
|
{
|
@@ -374,9 +380,9 @@
|
|
374
380
|
},
|
375
381
|
{
|
376
382
|
"indexed": false,
|
377
|
-
"internalType": "
|
383
|
+
"internalType": "Amount",
|
378
384
|
"name": "collateralizationAmount",
|
379
|
-
"type": "
|
385
|
+
"type": "uint96"
|
380
386
|
}
|
381
387
|
],
|
382
388
|
"name": "LogPoolVerifiedByPool",
|
@@ -395,6 +401,19 @@
|
|
395
401
|
"stateMutability": "view",
|
396
402
|
"type": "function"
|
397
403
|
},
|
404
|
+
{
|
405
|
+
"inputs": [],
|
406
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
407
|
+
"outputs": [
|
408
|
+
{
|
409
|
+
"internalType": "bytes32",
|
410
|
+
"name": "",
|
411
|
+
"type": "bytes32"
|
412
|
+
}
|
413
|
+
],
|
414
|
+
"stateMutability": "view",
|
415
|
+
"type": "function"
|
416
|
+
},
|
398
417
|
{
|
399
418
|
"inputs": [],
|
400
419
|
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
@@ -457,9 +476,9 @@
|
|
457
476
|
"type": "bytes"
|
458
477
|
},
|
459
478
|
{
|
460
|
-
"internalType": "
|
479
|
+
"internalType": "Amount",
|
461
480
|
"name": "collateralizationAmount",
|
462
|
-
"type": "
|
481
|
+
"type": "uint96"
|
463
482
|
}
|
464
483
|
],
|
465
484
|
"name": "applicationMatchesBundle",
|
@@ -494,7 +513,7 @@
|
|
494
513
|
"type": "uint96"
|
495
514
|
}
|
496
515
|
],
|
497
|
-
"name": "
|
516
|
+
"name": "closeBundle",
|
498
517
|
"outputs": [],
|
499
518
|
"stateMutability": "nonpayable",
|
500
519
|
"type": "function"
|
@@ -513,18 +532,24 @@
|
|
513
532
|
}
|
514
533
|
],
|
515
534
|
"name": "extend",
|
516
|
-
"outputs": [
|
535
|
+
"outputs": [
|
536
|
+
{
|
537
|
+
"internalType": "Timestamp",
|
538
|
+
"name": "newExpiredAt",
|
539
|
+
"type": "uint40"
|
540
|
+
}
|
541
|
+
],
|
517
542
|
"stateMutability": "nonpayable",
|
518
543
|
"type": "function"
|
519
544
|
},
|
520
545
|
{
|
521
546
|
"inputs": [],
|
522
|
-
"name": "
|
547
|
+
"name": "getAuthorization",
|
523
548
|
"outputs": [
|
524
549
|
{
|
525
|
-
"internalType": "
|
526
|
-
"name": "
|
527
|
-
"type": "
|
550
|
+
"internalType": "contract IAuthorization",
|
551
|
+
"name": "authorization",
|
552
|
+
"type": "address"
|
528
553
|
}
|
529
554
|
],
|
530
555
|
"stateMutability": "view",
|
@@ -532,12 +557,24 @@
|
|
532
557
|
},
|
533
558
|
{
|
534
559
|
"inputs": [],
|
535
|
-
"name": "
|
560
|
+
"name": "getComponentInfo",
|
536
561
|
"outputs": [
|
537
562
|
{
|
538
|
-
"
|
539
|
-
|
540
|
-
|
563
|
+
"components": [
|
564
|
+
{
|
565
|
+
"internalType": "string",
|
566
|
+
"name": "name",
|
567
|
+
"type": "string"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"internalType": "contract TokenHandler",
|
571
|
+
"name": "tokenHandler",
|
572
|
+
"type": "address"
|
573
|
+
}
|
574
|
+
],
|
575
|
+
"internalType": "struct IComponents.ComponentInfo",
|
576
|
+
"name": "info",
|
577
|
+
"type": "tuple"
|
541
578
|
}
|
542
579
|
],
|
543
580
|
"stateMutability": "view",
|
@@ -562,6 +599,31 @@
|
|
562
599
|
"stateMutability": "pure",
|
563
600
|
"type": "function"
|
564
601
|
},
|
602
|
+
{
|
603
|
+
"inputs": [],
|
604
|
+
"name": "getInitialComponentInfo",
|
605
|
+
"outputs": [
|
606
|
+
{
|
607
|
+
"components": [
|
608
|
+
{
|
609
|
+
"internalType": "string",
|
610
|
+
"name": "name",
|
611
|
+
"type": "string"
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"internalType": "contract TokenHandler",
|
615
|
+
"name": "tokenHandler",
|
616
|
+
"type": "address"
|
617
|
+
}
|
618
|
+
],
|
619
|
+
"internalType": "struct IComponents.ComponentInfo",
|
620
|
+
"name": "info",
|
621
|
+
"type": "tuple"
|
622
|
+
}
|
623
|
+
],
|
624
|
+
"stateMutability": "view",
|
625
|
+
"type": "function"
|
626
|
+
},
|
565
627
|
{
|
566
628
|
"inputs": [],
|
567
629
|
"name": "getInitialInfo",
|
@@ -614,12 +676,49 @@
|
|
614
676
|
},
|
615
677
|
{
|
616
678
|
"inputs": [],
|
617
|
-
"name": "
|
679
|
+
"name": "getInitialPoolInfo",
|
618
680
|
"outputs": [
|
619
681
|
{
|
620
|
-
"
|
621
|
-
|
622
|
-
|
682
|
+
"components": [
|
683
|
+
{
|
684
|
+
"internalType": "Amount",
|
685
|
+
"name": "maxBalanceAmount",
|
686
|
+
"type": "uint96"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"internalType": "UFixed",
|
690
|
+
"name": "collateralizationLevel",
|
691
|
+
"type": "uint160"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"internalType": "UFixed",
|
695
|
+
"name": "retentionLevel",
|
696
|
+
"type": "uint160"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"internalType": "bool",
|
700
|
+
"name": "isInterceptingBundleTransfers",
|
701
|
+
"type": "bool"
|
702
|
+
},
|
703
|
+
{
|
704
|
+
"internalType": "bool",
|
705
|
+
"name": "isProcessingConfirmedClaims",
|
706
|
+
"type": "bool"
|
707
|
+
},
|
708
|
+
{
|
709
|
+
"internalType": "bool",
|
710
|
+
"name": "isExternallyManaged",
|
711
|
+
"type": "bool"
|
712
|
+
},
|
713
|
+
{
|
714
|
+
"internalType": "bool",
|
715
|
+
"name": "isVerifyingApplications",
|
716
|
+
"type": "bool"
|
717
|
+
}
|
718
|
+
],
|
719
|
+
"internalType": "struct IComponents.PoolInfo",
|
720
|
+
"name": "poolInfo",
|
721
|
+
"type": "tuple"
|
623
722
|
}
|
624
723
|
],
|
625
724
|
"stateMutability": "view",
|
@@ -627,12 +726,12 @@
|
|
627
726
|
},
|
628
727
|
{
|
629
728
|
"inputs": [],
|
630
|
-
"name": "
|
729
|
+
"name": "getInstance",
|
631
730
|
"outputs": [
|
632
731
|
{
|
633
|
-
"internalType": "
|
634
|
-
"name": "
|
635
|
-
"type": "
|
732
|
+
"internalType": "contract IInstance",
|
733
|
+
"name": "instance",
|
734
|
+
"type": "address"
|
636
735
|
}
|
637
736
|
],
|
638
737
|
"stateMutability": "view",
|
@@ -679,12 +778,12 @@
|
|
679
778
|
},
|
680
779
|
{
|
681
780
|
"inputs": [],
|
682
|
-
"name": "
|
781
|
+
"name": "getRegistry",
|
683
782
|
"outputs": [
|
684
783
|
{
|
685
|
-
"internalType": "
|
686
|
-
"name": "
|
687
|
-
"type": "
|
784
|
+
"internalType": "contract IRegistry",
|
785
|
+
"name": "",
|
786
|
+
"type": "address"
|
688
787
|
}
|
689
788
|
],
|
690
789
|
"stateMutability": "view",
|
@@ -692,12 +791,12 @@
|
|
692
791
|
},
|
693
792
|
{
|
694
793
|
"inputs": [],
|
695
|
-
"name": "
|
794
|
+
"name": "getRelease",
|
696
795
|
"outputs": [
|
697
796
|
{
|
698
|
-
"internalType": "
|
699
|
-
"name": "",
|
700
|
-
"type": "
|
797
|
+
"internalType": "VersionPart",
|
798
|
+
"name": "release",
|
799
|
+
"type": "uint8"
|
701
800
|
}
|
702
801
|
],
|
703
802
|
"stateMutability": "view",
|
@@ -705,11 +804,11 @@
|
|
705
804
|
},
|
706
805
|
{
|
707
806
|
"inputs": [],
|
708
|
-
"name": "
|
807
|
+
"name": "getToken",
|
709
808
|
"outputs": [
|
710
809
|
{
|
711
|
-
"internalType": "
|
712
|
-
"name": "",
|
810
|
+
"internalType": "contract IERC20Metadata",
|
811
|
+
"name": "token",
|
713
812
|
"type": "address"
|
714
813
|
}
|
715
814
|
],
|
@@ -718,12 +817,12 @@
|
|
718
817
|
},
|
719
818
|
{
|
720
819
|
"inputs": [],
|
721
|
-
"name": "
|
820
|
+
"name": "getTokenHandler",
|
722
821
|
"outputs": [
|
723
822
|
{
|
724
|
-
"internalType": "
|
725
|
-
"name": "
|
726
|
-
"type": "
|
823
|
+
"internalType": "contract TokenHandler",
|
824
|
+
"name": "tokenHandler",
|
825
|
+
"type": "address"
|
727
826
|
}
|
728
827
|
],
|
729
828
|
"stateMutability": "view",
|
@@ -731,123 +830,12 @@
|
|
731
830
|
},
|
732
831
|
{
|
733
832
|
"inputs": [],
|
734
|
-
"name": "
|
833
|
+
"name": "getVersion",
|
735
834
|
"outputs": [
|
736
835
|
{
|
737
|
-
"
|
738
|
-
|
739
|
-
|
740
|
-
"name": "productNftId",
|
741
|
-
"type": "uint96"
|
742
|
-
},
|
743
|
-
{
|
744
|
-
"internalType": "contract TokenHandler",
|
745
|
-
"name": "tokenHandler",
|
746
|
-
"type": "address"
|
747
|
-
},
|
748
|
-
{
|
749
|
-
"internalType": "uint256",
|
750
|
-
"name": "maxCapitalAmount",
|
751
|
-
"type": "uint256"
|
752
|
-
},
|
753
|
-
{
|
754
|
-
"internalType": "bool",
|
755
|
-
"name": "isInterceptingBundleTransfers",
|
756
|
-
"type": "bool"
|
757
|
-
},
|
758
|
-
{
|
759
|
-
"internalType": "bool",
|
760
|
-
"name": "isExternallyManaged",
|
761
|
-
"type": "bool"
|
762
|
-
},
|
763
|
-
{
|
764
|
-
"internalType": "bool",
|
765
|
-
"name": "isVerifyingApplications",
|
766
|
-
"type": "bool"
|
767
|
-
},
|
768
|
-
{
|
769
|
-
"internalType": "UFixed",
|
770
|
-
"name": "collateralizationLevel",
|
771
|
-
"type": "uint256"
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"internalType": "UFixed",
|
775
|
-
"name": "retentionLevel",
|
776
|
-
"type": "uint256"
|
777
|
-
},
|
778
|
-
{
|
779
|
-
"components": [
|
780
|
-
{
|
781
|
-
"internalType": "UFixed",
|
782
|
-
"name": "fractionalFee",
|
783
|
-
"type": "uint256"
|
784
|
-
},
|
785
|
-
{
|
786
|
-
"internalType": "uint256",
|
787
|
-
"name": "fixedFee",
|
788
|
-
"type": "uint256"
|
789
|
-
}
|
790
|
-
],
|
791
|
-
"internalType": "struct Fee",
|
792
|
-
"name": "poolFee",
|
793
|
-
"type": "tuple"
|
794
|
-
},
|
795
|
-
{
|
796
|
-
"components": [
|
797
|
-
{
|
798
|
-
"internalType": "UFixed",
|
799
|
-
"name": "fractionalFee",
|
800
|
-
"type": "uint256"
|
801
|
-
},
|
802
|
-
{
|
803
|
-
"internalType": "uint256",
|
804
|
-
"name": "fixedFee",
|
805
|
-
"type": "uint256"
|
806
|
-
}
|
807
|
-
],
|
808
|
-
"internalType": "struct Fee",
|
809
|
-
"name": "stakingFee",
|
810
|
-
"type": "tuple"
|
811
|
-
},
|
812
|
-
{
|
813
|
-
"components": [
|
814
|
-
{
|
815
|
-
"internalType": "UFixed",
|
816
|
-
"name": "fractionalFee",
|
817
|
-
"type": "uint256"
|
818
|
-
},
|
819
|
-
{
|
820
|
-
"internalType": "uint256",
|
821
|
-
"name": "fixedFee",
|
822
|
-
"type": "uint256"
|
823
|
-
}
|
824
|
-
],
|
825
|
-
"internalType": "struct Fee",
|
826
|
-
"name": "performanceFee",
|
827
|
-
"type": "tuple"
|
828
|
-
},
|
829
|
-
{
|
830
|
-
"internalType": "address",
|
831
|
-
"name": "wallet",
|
832
|
-
"type": "address"
|
833
|
-
}
|
834
|
-
],
|
835
|
-
"internalType": "struct ISetup.PoolSetupInfo",
|
836
|
-
"name": "setupInfo",
|
837
|
-
"type": "tuple"
|
838
|
-
}
|
839
|
-
],
|
840
|
-
"stateMutability": "view",
|
841
|
-
"type": "function"
|
842
|
-
},
|
843
|
-
{
|
844
|
-
"inputs": [],
|
845
|
-
"name": "getToken",
|
846
|
-
"outputs": [
|
847
|
-
{
|
848
|
-
"internalType": "contract IERC20Metadata",
|
849
|
-
"name": "token",
|
850
|
-
"type": "address"
|
836
|
+
"internalType": "Version",
|
837
|
+
"name": "version",
|
838
|
+
"type": "uint24"
|
851
839
|
}
|
852
840
|
],
|
853
841
|
"stateMutability": "view",
|
@@ -866,191 +854,17 @@
|
|
866
854
|
"stateMutability": "view",
|
867
855
|
"type": "function"
|
868
856
|
},
|
869
|
-
{
|
870
|
-
"inputs": [
|
871
|
-
{
|
872
|
-
"internalType": "address",
|
873
|
-
"name": "registry",
|
874
|
-
"type": "address"
|
875
|
-
},
|
876
|
-
{
|
877
|
-
"internalType": "NftId",
|
878
|
-
"name": "instanceNftId",
|
879
|
-
"type": "uint96"
|
880
|
-
},
|
881
|
-
{
|
882
|
-
"internalType": "string",
|
883
|
-
"name": "name",
|
884
|
-
"type": "string"
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"internalType": "address",
|
888
|
-
"name": "token",
|
889
|
-
"type": "address"
|
890
|
-
},
|
891
|
-
{
|
892
|
-
"internalType": "ObjectType",
|
893
|
-
"name": "componentType",
|
894
|
-
"type": "uint8"
|
895
|
-
},
|
896
|
-
{
|
897
|
-
"internalType": "bool",
|
898
|
-
"name": "isInterceptor",
|
899
|
-
"type": "bool"
|
900
|
-
},
|
901
|
-
{
|
902
|
-
"internalType": "address",
|
903
|
-
"name": "initialOwner",
|
904
|
-
"type": "address"
|
905
|
-
},
|
906
|
-
{
|
907
|
-
"internalType": "bytes",
|
908
|
-
"name": "registryData",
|
909
|
-
"type": "bytes"
|
910
|
-
}
|
911
|
-
],
|
912
|
-
"name": "initializeComponent",
|
913
|
-
"outputs": [],
|
914
|
-
"stateMutability": "nonpayable",
|
915
|
-
"type": "function"
|
916
|
-
},
|
917
857
|
{
|
918
858
|
"inputs": [],
|
919
|
-
"name": "
|
920
|
-
"outputs": [
|
921
|
-
"stateMutability": "nonpayable",
|
922
|
-
"type": "function"
|
923
|
-
},
|
924
|
-
{
|
925
|
-
"inputs": [
|
926
|
-
{
|
927
|
-
"internalType": "address",
|
928
|
-
"name": "initialOwner",
|
929
|
-
"type": "address"
|
930
|
-
},
|
931
|
-
{
|
932
|
-
"internalType": "address",
|
933
|
-
"name": "registryAddress",
|
934
|
-
"type": "address"
|
935
|
-
}
|
936
|
-
],
|
937
|
-
"name": "initializeNftOwnable",
|
938
|
-
"outputs": [],
|
939
|
-
"stateMutability": "nonpayable",
|
940
|
-
"type": "function"
|
941
|
-
},
|
942
|
-
{
|
943
|
-
"inputs": [
|
944
|
-
{
|
945
|
-
"internalType": "address",
|
946
|
-
"name": "registry",
|
947
|
-
"type": "address"
|
948
|
-
},
|
949
|
-
{
|
950
|
-
"internalType": "NftId",
|
951
|
-
"name": "instanceNftId",
|
952
|
-
"type": "uint96"
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"internalType": "string",
|
956
|
-
"name": "name",
|
957
|
-
"type": "string"
|
958
|
-
},
|
959
|
-
{
|
960
|
-
"internalType": "address",
|
961
|
-
"name": "token",
|
962
|
-
"type": "address"
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"internalType": "bool",
|
966
|
-
"name": "isInterceptingNftTransfers",
|
967
|
-
"type": "bool"
|
968
|
-
},
|
969
|
-
{
|
970
|
-
"internalType": "bool",
|
971
|
-
"name": "isExternallyManaging",
|
972
|
-
"type": "bool"
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"internalType": "bool",
|
976
|
-
"name": "isVerifying",
|
977
|
-
"type": "bool"
|
978
|
-
},
|
979
|
-
{
|
980
|
-
"internalType": "UFixed",
|
981
|
-
"name": "collateralizationLevel",
|
982
|
-
"type": "uint256"
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"internalType": "UFixed",
|
986
|
-
"name": "retentionLevel",
|
987
|
-
"type": "uint256"
|
988
|
-
},
|
989
|
-
{
|
990
|
-
"internalType": "address",
|
991
|
-
"name": "initialOwner",
|
992
|
-
"type": "address"
|
993
|
-
},
|
994
|
-
{
|
995
|
-
"internalType": "bytes",
|
996
|
-
"name": "registryData",
|
997
|
-
"type": "bytes"
|
998
|
-
}
|
999
|
-
],
|
1000
|
-
"name": "initializePool",
|
1001
|
-
"outputs": [],
|
1002
|
-
"stateMutability": "nonpayable",
|
1003
|
-
"type": "function"
|
1004
|
-
},
|
1005
|
-
{
|
1006
|
-
"inputs": [
|
1007
|
-
{
|
1008
|
-
"internalType": "address",
|
1009
|
-
"name": "registryAddress",
|
1010
|
-
"type": "address"
|
1011
|
-
},
|
1012
|
-
{
|
1013
|
-
"internalType": "NftId",
|
1014
|
-
"name": "parentNftId",
|
1015
|
-
"type": "uint96"
|
1016
|
-
},
|
1017
|
-
{
|
1018
|
-
"internalType": "ObjectType",
|
1019
|
-
"name": "objectType",
|
1020
|
-
"type": "uint8"
|
1021
|
-
},
|
859
|
+
"name": "isActive",
|
860
|
+
"outputs": [
|
1022
861
|
{
|
1023
862
|
"internalType": "bool",
|
1024
|
-
"name": "
|
863
|
+
"name": "active",
|
1025
864
|
"type": "bool"
|
1026
|
-
},
|
1027
|
-
{
|
1028
|
-
"internalType": "address",
|
1029
|
-
"name": "initialOwner",
|
1030
|
-
"type": "address"
|
1031
|
-
},
|
1032
|
-
{
|
1033
|
-
"internalType": "bytes",
|
1034
|
-
"name": "registryData",
|
1035
|
-
"type": "bytes"
|
1036
|
-
}
|
1037
|
-
],
|
1038
|
-
"name": "initializeRegisterable",
|
1039
|
-
"outputs": [],
|
1040
|
-
"stateMutability": "nonpayable",
|
1041
|
-
"type": "function"
|
1042
|
-
},
|
1043
|
-
{
|
1044
|
-
"inputs": [
|
1045
|
-
{
|
1046
|
-
"internalType": "address",
|
1047
|
-
"name": "registryAddress",
|
1048
|
-
"type": "address"
|
1049
865
|
}
|
1050
866
|
],
|
1051
|
-
"
|
1052
|
-
"outputs": [],
|
1053
|
-
"stateMutability": "nonpayable",
|
867
|
+
"stateMutability": "view",
|
1054
868
|
"type": "function"
|
1055
869
|
},
|
1056
870
|
{
|
@@ -1066,32 +880,6 @@
|
|
1066
880
|
"stateMutability": "view",
|
1067
881
|
"type": "function"
|
1068
882
|
},
|
1069
|
-
{
|
1070
|
-
"inputs": [],
|
1071
|
-
"name": "isExternallyManaged",
|
1072
|
-
"outputs": [
|
1073
|
-
{
|
1074
|
-
"internalType": "bool",
|
1075
|
-
"name": "",
|
1076
|
-
"type": "bool"
|
1077
|
-
}
|
1078
|
-
],
|
1079
|
-
"stateMutability": "view",
|
1080
|
-
"type": "function"
|
1081
|
-
},
|
1082
|
-
{
|
1083
|
-
"inputs": [],
|
1084
|
-
"name": "isInterceptingBundleTransfers",
|
1085
|
-
"outputs": [
|
1086
|
-
{
|
1087
|
-
"internalType": "bool",
|
1088
|
-
"name": "",
|
1089
|
-
"type": "bool"
|
1090
|
-
}
|
1091
|
-
],
|
1092
|
-
"stateMutability": "view",
|
1093
|
-
"type": "function"
|
1094
|
-
},
|
1095
883
|
{
|
1096
884
|
"inputs": [],
|
1097
885
|
"name": "isNftInterceptor",
|
@@ -1107,11 +895,11 @@
|
|
1107
895
|
},
|
1108
896
|
{
|
1109
897
|
"inputs": [],
|
1110
|
-
"name": "
|
898
|
+
"name": "isRegistered",
|
1111
899
|
"outputs": [
|
1112
900
|
{
|
1113
901
|
"internalType": "bool",
|
1114
|
-
"name": "
|
902
|
+
"name": "",
|
1115
903
|
"type": "bool"
|
1116
904
|
}
|
1117
905
|
],
|
@@ -1121,27 +909,13 @@
|
|
1121
909
|
{
|
1122
910
|
"inputs": [],
|
1123
911
|
"name": "linkToRegisteredNftId",
|
1124
|
-
"outputs": [
|
1125
|
-
"stateMutability": "nonpayable",
|
1126
|
-
"type": "function"
|
1127
|
-
},
|
1128
|
-
{
|
1129
|
-
"inputs": [],
|
1130
|
-
"name": "lock",
|
1131
|
-
"outputs": [],
|
1132
|
-
"stateMutability": "nonpayable",
|
1133
|
-
"type": "function"
|
1134
|
-
},
|
1135
|
-
{
|
1136
|
-
"inputs": [
|
912
|
+
"outputs": [
|
1137
913
|
{
|
1138
914
|
"internalType": "NftId",
|
1139
|
-
"name": "
|
915
|
+
"name": "nftId",
|
1140
916
|
"type": "uint96"
|
1141
917
|
}
|
1142
918
|
],
|
1143
|
-
"name": "lockBundle",
|
1144
|
-
"outputs": [],
|
1145
919
|
"stateMutability": "nonpayable",
|
1146
920
|
"type": "function"
|
1147
921
|
},
|
@@ -1161,6 +935,11 @@
|
|
1161
935
|
"internalType": "uint256",
|
1162
936
|
"name": "tokenId",
|
1163
937
|
"type": "uint256"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"internalType": "address",
|
941
|
+
"name": "operator",
|
942
|
+
"type": "address"
|
1164
943
|
}
|
1165
944
|
],
|
1166
945
|
"name": "nftTransferFrom",
|
@@ -1171,12 +950,22 @@
|
|
1171
950
|
{
|
1172
951
|
"inputs": [
|
1173
952
|
{
|
1174
|
-
"internalType": "
|
1175
|
-
"name": "
|
1176
|
-
"type": "
|
953
|
+
"internalType": "NftId",
|
954
|
+
"name": "policyNftId",
|
955
|
+
"type": "uint96"
|
956
|
+
},
|
957
|
+
{
|
958
|
+
"internalType": "ClaimId",
|
959
|
+
"name": "claimId",
|
960
|
+
"type": "uint16"
|
961
|
+
},
|
962
|
+
{
|
963
|
+
"internalType": "Amount",
|
964
|
+
"name": "amount",
|
965
|
+
"type": "uint96"
|
1177
966
|
}
|
1178
967
|
],
|
1179
|
-
"name": "
|
968
|
+
"name": "processConfirmedClaim",
|
1180
969
|
"outputs": [],
|
1181
970
|
"stateMutability": "nonpayable",
|
1182
971
|
"type": "function"
|
@@ -1206,12 +995,12 @@
|
|
1206
995
|
{
|
1207
996
|
"internalType": "UFixed",
|
1208
997
|
"name": "fractionalFee",
|
1209
|
-
"type": "
|
998
|
+
"type": "uint160"
|
1210
999
|
},
|
1211
1000
|
{
|
1212
|
-
"internalType": "
|
1001
|
+
"internalType": "Amount",
|
1213
1002
|
"name": "fixedFee",
|
1214
|
-
"type": "
|
1003
|
+
"type": "uint96"
|
1215
1004
|
}
|
1216
1005
|
],
|
1217
1006
|
"internalType": "struct Fee",
|
@@ -1227,12 +1016,17 @@
|
|
1227
1016
|
{
|
1228
1017
|
"inputs": [
|
1229
1018
|
{
|
1230
|
-
"internalType": "
|
1231
|
-
"name": "
|
1232
|
-
"type": "
|
1019
|
+
"internalType": "NftId",
|
1020
|
+
"name": "bundleNftId",
|
1021
|
+
"type": "uint96"
|
1022
|
+
},
|
1023
|
+
{
|
1024
|
+
"internalType": "bool",
|
1025
|
+
"name": "locked",
|
1026
|
+
"type": "bool"
|
1233
1027
|
}
|
1234
1028
|
],
|
1235
|
-
"name": "
|
1029
|
+
"name": "setBundleLocked",
|
1236
1030
|
"outputs": [],
|
1237
1031
|
"stateMutability": "nonpayable",
|
1238
1032
|
"type": "function"
|
@@ -1244,12 +1038,12 @@
|
|
1244
1038
|
{
|
1245
1039
|
"internalType": "UFixed",
|
1246
1040
|
"name": "fractionalFee",
|
1247
|
-
"type": "
|
1041
|
+
"type": "uint160"
|
1248
1042
|
},
|
1249
1043
|
{
|
1250
|
-
"internalType": "
|
1044
|
+
"internalType": "Amount",
|
1251
1045
|
"name": "fixedFee",
|
1252
|
-
"type": "
|
1046
|
+
"type": "uint96"
|
1253
1047
|
}
|
1254
1048
|
],
|
1255
1049
|
"internalType": "struct Fee",
|
@@ -1261,12 +1055,12 @@
|
|
1261
1055
|
{
|
1262
1056
|
"internalType": "UFixed",
|
1263
1057
|
"name": "fractionalFee",
|
1264
|
-
"type": "
|
1058
|
+
"type": "uint160"
|
1265
1059
|
},
|
1266
1060
|
{
|
1267
|
-
"internalType": "
|
1061
|
+
"internalType": "Amount",
|
1268
1062
|
"name": "fixedFee",
|
1269
|
-
"type": "
|
1063
|
+
"type": "uint96"
|
1270
1064
|
}
|
1271
1065
|
],
|
1272
1066
|
"internalType": "struct Fee",
|
@@ -1278,12 +1072,12 @@
|
|
1278
1072
|
{
|
1279
1073
|
"internalType": "UFixed",
|
1280
1074
|
"name": "fractionalFee",
|
1281
|
-
"type": "
|
1075
|
+
"type": "uint160"
|
1282
1076
|
},
|
1283
1077
|
{
|
1284
|
-
"internalType": "
|
1078
|
+
"internalType": "Amount",
|
1285
1079
|
"name": "fixedFee",
|
1286
|
-
"type": "
|
1080
|
+
"type": "uint96"
|
1287
1081
|
}
|
1288
1082
|
],
|
1289
1083
|
"internalType": "struct Fee",
|
@@ -1299,38 +1093,12 @@
|
|
1299
1093
|
{
|
1300
1094
|
"inputs": [
|
1301
1095
|
{
|
1302
|
-
"internalType": "
|
1303
|
-
"name": "
|
1304
|
-
"type": "uint256"
|
1305
|
-
}
|
1306
|
-
],
|
1307
|
-
"name": "setMaxCapitalAmount",
|
1308
|
-
"outputs": [],
|
1309
|
-
"stateMutability": "nonpayable",
|
1310
|
-
"type": "function"
|
1311
|
-
},
|
1312
|
-
{
|
1313
|
-
"inputs": [
|
1314
|
-
{
|
1315
|
-
"internalType": "NftId",
|
1316
|
-
"name": "productNftId",
|
1096
|
+
"internalType": "Amount",
|
1097
|
+
"name": "maxBalanceAmount",
|
1317
1098
|
"type": "uint96"
|
1318
1099
|
}
|
1319
1100
|
],
|
1320
|
-
"name": "
|
1321
|
-
"outputs": [],
|
1322
|
-
"stateMutability": "nonpayable",
|
1323
|
-
"type": "function"
|
1324
|
-
},
|
1325
|
-
{
|
1326
|
-
"inputs": [
|
1327
|
-
{
|
1328
|
-
"internalType": "address",
|
1329
|
-
"name": "newWallet",
|
1330
|
-
"type": "address"
|
1331
|
-
}
|
1332
|
-
],
|
1333
|
-
"name": "setWallet",
|
1101
|
+
"name": "setMaxBalanceAmount",
|
1334
1102
|
"outputs": [],
|
1335
1103
|
"stateMutability": "nonpayable",
|
1336
1104
|
"type": "function"
|
@@ -1343,9 +1111,9 @@
|
|
1343
1111
|
"type": "uint96"
|
1344
1112
|
},
|
1345
1113
|
{
|
1346
|
-
"internalType": "
|
1114
|
+
"internalType": "Amount",
|
1347
1115
|
"name": "amount",
|
1348
|
-
"type": "
|
1116
|
+
"type": "uint96"
|
1349
1117
|
}
|
1350
1118
|
],
|
1351
1119
|
"name": "stake",
|
@@ -1372,40 +1140,43 @@
|
|
1372
1140
|
"stateMutability": "view",
|
1373
1141
|
"type": "function"
|
1374
1142
|
},
|
1375
|
-
{
|
1376
|
-
"inputs": [],
|
1377
|
-
"name": "unlock",
|
1378
|
-
"outputs": [],
|
1379
|
-
"stateMutability": "nonpayable",
|
1380
|
-
"type": "function"
|
1381
|
-
},
|
1382
1143
|
{
|
1383
1144
|
"inputs": [
|
1384
1145
|
{
|
1385
1146
|
"internalType": "NftId",
|
1386
1147
|
"name": "bundleNftId",
|
1387
1148
|
"type": "uint96"
|
1149
|
+
},
|
1150
|
+
{
|
1151
|
+
"internalType": "Amount",
|
1152
|
+
"name": "amount",
|
1153
|
+
"type": "uint96"
|
1388
1154
|
}
|
1389
1155
|
],
|
1390
|
-
"name": "
|
1156
|
+
"name": "unstake",
|
1391
1157
|
"outputs": [],
|
1392
1158
|
"stateMutability": "nonpayable",
|
1393
1159
|
"type": "function"
|
1394
1160
|
},
|
1395
1161
|
{
|
1396
1162
|
"inputs": [
|
1163
|
+
{
|
1164
|
+
"internalType": "NftId",
|
1165
|
+
"name": "applicationNftId",
|
1166
|
+
"type": "uint96"
|
1167
|
+
},
|
1397
1168
|
{
|
1398
1169
|
"internalType": "NftId",
|
1399
1170
|
"name": "bundleNftId",
|
1400
1171
|
"type": "uint96"
|
1401
1172
|
},
|
1402
1173
|
{
|
1403
|
-
"internalType": "
|
1404
|
-
"name": "
|
1405
|
-
"type": "
|
1174
|
+
"internalType": "Amount",
|
1175
|
+
"name": "collateralizationAmount",
|
1176
|
+
"type": "uint96"
|
1406
1177
|
}
|
1407
1178
|
],
|
1408
|
-
"name": "
|
1179
|
+
"name": "verifyApplication",
|
1409
1180
|
"outputs": [],
|
1410
1181
|
"stateMutability": "nonpayable",
|
1411
1182
|
"type": "function"
|
@@ -1414,32 +1185,42 @@
|
|
1414
1185
|
"inputs": [
|
1415
1186
|
{
|
1416
1187
|
"internalType": "NftId",
|
1417
|
-
"name": "
|
1188
|
+
"name": "bundleNftId",
|
1418
1189
|
"type": "uint96"
|
1419
1190
|
},
|
1420
1191
|
{
|
1421
|
-
"internalType": "
|
1422
|
-
"name": "
|
1423
|
-
"type": "
|
1424
|
-
}
|
1192
|
+
"internalType": "Amount",
|
1193
|
+
"name": "amount",
|
1194
|
+
"type": "uint96"
|
1195
|
+
}
|
1196
|
+
],
|
1197
|
+
"name": "withdrawBundleFees",
|
1198
|
+
"outputs": [
|
1425
1199
|
{
|
1426
|
-
"internalType": "
|
1427
|
-
"name": "
|
1200
|
+
"internalType": "Amount",
|
1201
|
+
"name": "withdrawnAmount",
|
1428
1202
|
"type": "uint96"
|
1429
|
-
}
|
1203
|
+
}
|
1204
|
+
],
|
1205
|
+
"stateMutability": "nonpayable",
|
1206
|
+
"type": "function"
|
1207
|
+
},
|
1208
|
+
{
|
1209
|
+
"inputs": [
|
1430
1210
|
{
|
1431
|
-
"internalType": "
|
1432
|
-
"name": "
|
1433
|
-
"type": "
|
1434
|
-
}
|
1211
|
+
"internalType": "Amount",
|
1212
|
+
"name": "amount",
|
1213
|
+
"type": "uint96"
|
1214
|
+
}
|
1215
|
+
],
|
1216
|
+
"name": "withdrawFees",
|
1217
|
+
"outputs": [
|
1435
1218
|
{
|
1436
|
-
"internalType": "
|
1437
|
-
"name": "
|
1438
|
-
"type": "
|
1219
|
+
"internalType": "Amount",
|
1220
|
+
"name": "withdrawnAmount",
|
1221
|
+
"type": "uint96"
|
1439
1222
|
}
|
1440
1223
|
],
|
1441
|
-
"name": "verifyApplication",
|
1442
|
-
"outputs": [],
|
1443
1224
|
"stateMutability": "nonpayable",
|
1444
1225
|
"type": "function"
|
1445
1226
|
}
|