@etherisc/gif-next 0.0.2-da0f894-204 → 0.0.2-da2c7dd-538
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +83 -93
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/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 +1130 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +263 -526
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1509 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +864 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +365 -279
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +408 -258
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +357 -2026
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +329 -79
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +442 -2824
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1929 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1683 -609
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +352 -373
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +157 -106
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3718 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{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 +959 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → oracle/IOracleComponent.sol/IOracleComponent.json} +236 -236
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +364 -150
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +320 -519
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +437 -439
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +473 -411
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +211 -149
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +275 -306
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1018 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +140 -65
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -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 +499 -26
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +277 -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 +989 -125
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1928 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +352 -260
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +164 -99
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1571 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +115 -182
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/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/{components → shared}/IComponent.sol/IComponent.json +267 -82
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1203 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +279 -242
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
- 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 +19 -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 +144 -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 +148 -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 +797 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -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 +126 -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 +134 -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 +1447 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/accounting/AccountingService.sol +262 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +45 -0
- package/contracts/authorization/AccessAdmin.sol +689 -0
- package/contracts/authorization/AccessManagerCloneable.sol +149 -0
- package/contracts/authorization/Authorization.sol +337 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +143 -0
- package/contracts/authorization/IAuthorization.sol +74 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
- package/contracts/{components → distribution}/Distribution.sol +173 -177
- package/contracts/distribution/DistributionService.sol +358 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +101 -0
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +90 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +437 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +50 -72
- package/contracts/instance/IInstanceService.sol +39 -26
- package/contracts/instance/Instance.sol +177 -221
- package/contracts/instance/InstanceAdmin.sol +437 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
- package/contracts/instance/InstanceReader.sol +408 -64
- package/contracts/instance/InstanceService.sol +291 -377
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +298 -0
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +113 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +8 -9
- package/contracts/instance/module/IComponents.sol +51 -0
- package/contracts/instance/module/IDistribution.sol +8 -7
- package/contracts/instance/module/IPolicy.sol +48 -35
- package/contracts/instance/module/IRisk.sol +4 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +47 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +175 -0
- package/contracts/pool/BasicPoolAuthorization.sol +76 -0
- package/contracts/pool/BundleService.sol +395 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +115 -0
- package/contracts/pool/IPoolComponent.sol +62 -0
- package/contracts/pool/IPoolService.sol +165 -0
- package/contracts/pool/Pool.sol +345 -0
- package/contracts/pool/PoolLib.sol +216 -0
- package/contracts/pool/PoolService.sol +757 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +259 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +51 -0
- package/contracts/product/BasicProductAuthorization.sol +56 -0
- package/contracts/product/ClaimService.sol +632 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +19 -34
- package/contracts/product/IClaimService.sol +135 -0
- package/contracts/product/IPolicyService.sol +95 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +62 -0
- package/contracts/product/IRiskService.sol +30 -0
- package/contracts/product/PolicyService.sol +682 -0
- package/contracts/product/PolicyServiceLib.sol +65 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +304 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +469 -0
- package/contracts/product/RiskService.sol +144 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +83 -36
- package/contracts/registry/IRegistry.sol +97 -30
- package/contracts/registry/IRegistryService.sol +36 -41
- package/contracts/registry/IRelease.sol +26 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -1
- package/contracts/registry/Registry.sol +472 -206
- package/contracts/registry/RegistryAdmin.sol +354 -0
- package/contracts/registry/RegistryService.sol +89 -131
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseAdmin.sol +245 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +511 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
- package/contracts/registry/TokenRegistry.sol +261 -64
- package/contracts/shared/Component.sol +227 -0
- package/contracts/shared/ComponentService.sol +692 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +128 -0
- package/contracts/shared/ContractLib.sol +253 -0
- package/contracts/shared/IComponent.sol +61 -0
- package/contracts/shared/IComponentService.sol +112 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +4 -2
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegisterable.sol +23 -1
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +12 -7
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
- package/contracts/shared/InstanceLinkedComponent.sol +197 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +34 -27
- package/contracts/shared/PolicyHolder.sol +22 -41
- package/contracts/shared/Registerable.sol +55 -20
- package/contracts/shared/RegistryLinked.sol +9 -19
- package/contracts/shared/Service.sol +36 -29
- package/contracts/shared/TokenHandler.sol +326 -12
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +165 -0
- package/contracts/staking/IStakingService.sol +165 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +526 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +430 -0
- package/contracts/staking/StakingServiceManager.sol +45 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +150 -0
- package/contracts/{types → type}/Blocknumber.sol +27 -3
- package/contracts/{types → type}/ClaimId.sol +31 -3
- package/contracts/{types → type}/Fee.sol +33 -23
- 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 +303 -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 +182 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +48 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +21 -6
- package/contracts/{types → type}/UFixed.sol +41 -121
- package/contracts/{types → type}/Version.sol +20 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
- package/package.json +11 -7
- 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/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 -947
- 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/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/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/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/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/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 -346
- 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 -404
- 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/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/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 → 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,71 @@
|
|
75
69
|
"type": "error"
|
76
70
|
},
|
77
71
|
{
|
78
|
-
"inputs": [
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
"name": "ErrorComponentNotInstance",
|
72
|
+
"inputs": [],
|
73
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [],
|
78
|
+
"name": "ErrorComponentProductNftIdZero",
|
86
79
|
"type": "error"
|
87
80
|
},
|
88
81
|
{
|
89
82
|
"inputs": [
|
90
83
|
{
|
91
84
|
"internalType": "address",
|
92
|
-
"name": "
|
85
|
+
"name": "token",
|
93
86
|
"type": "address"
|
94
87
|
}
|
95
88
|
],
|
96
|
-
"name": "
|
89
|
+
"name": "ErrorComponentTokenInvalid",
|
97
90
|
"type": "error"
|
98
91
|
},
|
99
92
|
{
|
100
93
|
"inputs": [],
|
101
|
-
"name": "
|
94
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
102
95
|
"type": "error"
|
103
96
|
},
|
104
97
|
{
|
105
98
|
"inputs": [],
|
106
|
-
"name": "
|
99
|
+
"name": "ErrorComponentWalletAddressZero",
|
107
100
|
"type": "error"
|
108
101
|
},
|
109
102
|
{
|
110
103
|
"inputs": [],
|
111
|
-
"name": "
|
104
|
+
"name": "ErrorComponentWalletNotComponent",
|
112
105
|
"type": "error"
|
113
106
|
},
|
114
107
|
{
|
115
108
|
"inputs": [
|
116
109
|
{
|
117
|
-
"internalType": "
|
118
|
-
"name": "
|
119
|
-
"type": "
|
110
|
+
"internalType": "NftId",
|
111
|
+
"name": "nftId",
|
112
|
+
"type": "uint96"
|
120
113
|
},
|
121
114
|
{
|
122
|
-
"internalType": "
|
123
|
-
"name": "
|
124
|
-
"type": "
|
125
|
-
}
|
115
|
+
"internalType": "ObjectType",
|
116
|
+
"name": "objectType",
|
117
|
+
"type": "uint8"
|
118
|
+
}
|
119
|
+
],
|
120
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
121
|
+
"type": "error"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"inputs": [
|
126
125
|
{
|
127
|
-
"internalType": "
|
128
|
-
"name": "
|
129
|
-
"type": "
|
126
|
+
"internalType": "ObjectType",
|
127
|
+
"name": "requiredType",
|
128
|
+
"type": "uint8"
|
130
129
|
},
|
131
130
|
{
|
132
|
-
"internalType": "
|
133
|
-
"name": "
|
134
|
-
"type": "
|
131
|
+
"internalType": "ObjectType",
|
132
|
+
"name": "objectType",
|
133
|
+
"type": "uint8"
|
135
134
|
}
|
136
135
|
],
|
137
|
-
"name": "
|
136
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
138
137
|
"type": "error"
|
139
138
|
},
|
140
139
|
{
|
@@ -164,6 +163,22 @@
|
|
164
163
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
165
164
|
"type": "error"
|
166
165
|
},
|
166
|
+
{
|
167
|
+
"inputs": [
|
168
|
+
{
|
169
|
+
"internalType": "NftId",
|
170
|
+
"name": "nftId",
|
171
|
+
"type": "uint96"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"internalType": "ObjectType",
|
175
|
+
"name": "expectedObjectType",
|
176
|
+
"type": "uint8"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"name": "ErrorNftOwnableInvalidType",
|
180
|
+
"type": "error"
|
181
|
+
},
|
167
182
|
{
|
168
183
|
"inputs": [
|
169
184
|
{
|
@@ -197,11 +212,6 @@
|
|
197
212
|
"name": "ErrorPoolApplicationBundleMismatch",
|
198
213
|
"type": "error"
|
199
214
|
},
|
200
|
-
{
|
201
|
-
"inputs": [],
|
202
|
-
"name": "ErrorPoolBundleOwnerRoleAlreadySet",
|
203
|
-
"type": "error"
|
204
|
-
},
|
205
215
|
{
|
206
216
|
"inputs": [
|
207
217
|
{
|
@@ -231,7 +241,7 @@
|
|
231
241
|
},
|
232
242
|
{
|
233
243
|
"inputs": [],
|
234
|
-
"name": "
|
244
|
+
"name": "ErrorRegisterableNotActive",
|
235
245
|
"type": "error"
|
236
246
|
},
|
237
247
|
{
|
@@ -244,17 +254,6 @@
|
|
244
254
|
"name": "NotInitializing",
|
245
255
|
"type": "error"
|
246
256
|
},
|
247
|
-
{
|
248
|
-
"inputs": [
|
249
|
-
{
|
250
|
-
"internalType": "address",
|
251
|
-
"name": "token",
|
252
|
-
"type": "address"
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"name": "SafeERC20FailedOperation",
|
256
|
-
"type": "error"
|
257
|
-
},
|
258
257
|
{
|
259
258
|
"anonymous": false,
|
260
259
|
"inputs": [
|
@@ -287,17 +286,29 @@
|
|
287
286
|
{
|
288
287
|
"indexed": false,
|
289
288
|
"internalType": "address",
|
290
|
-
"name": "
|
289
|
+
"name": "tokenHandler",
|
291
290
|
"type": "address"
|
292
291
|
},
|
293
292
|
{
|
294
293
|
"indexed": false,
|
295
294
|
"internalType": "address",
|
296
|
-
"name": "
|
295
|
+
"name": "token",
|
297
296
|
"type": "address"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"indexed": false,
|
300
|
+
"internalType": "Amount",
|
301
|
+
"name": "limit",
|
302
|
+
"type": "uint96"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"indexed": false,
|
306
|
+
"internalType": "bool",
|
307
|
+
"name": "isMaxAmount",
|
308
|
+
"type": "bool"
|
298
309
|
}
|
299
310
|
],
|
300
|
-
"name": "
|
311
|
+
"name": "LogComponentTokenHandlerApproved",
|
301
312
|
"type": "event"
|
302
313
|
},
|
303
314
|
{
|
@@ -306,23 +317,17 @@
|
|
306
317
|
{
|
307
318
|
"indexed": false,
|
308
319
|
"internalType": "address",
|
309
|
-
"name": "
|
320
|
+
"name": "oldWallet",
|
310
321
|
"type": "address"
|
311
322
|
},
|
312
323
|
{
|
313
324
|
"indexed": false,
|
314
325
|
"internalType": "address",
|
315
|
-
"name": "
|
326
|
+
"name": "newWallet",
|
316
327
|
"type": "address"
|
317
|
-
},
|
318
|
-
{
|
319
|
-
"indexed": false,
|
320
|
-
"internalType": "uint256",
|
321
|
-
"name": "amount",
|
322
|
-
"type": "uint256"
|
323
328
|
}
|
324
329
|
],
|
325
|
-
"name": "
|
330
|
+
"name": "LogComponentWalletAddressChanged",
|
326
331
|
"type": "event"
|
327
332
|
},
|
328
333
|
{
|
@@ -330,31 +335,24 @@
|
|
330
335
|
"inputs": [
|
331
336
|
{
|
332
337
|
"indexed": false,
|
333
|
-
"internalType": "
|
334
|
-
"name": "
|
335
|
-
"type": "
|
338
|
+
"internalType": "address",
|
339
|
+
"name": "from",
|
340
|
+
"type": "address"
|
336
341
|
},
|
337
342
|
{
|
338
343
|
"indexed": false,
|
339
|
-
"internalType": "
|
340
|
-
"name": "
|
341
|
-
"type": "
|
342
|
-
}
|
343
|
-
],
|
344
|
-
"name": "LogPoolBundleMaxCapitalAmountUpdated",
|
345
|
-
"type": "event"
|
346
|
-
},
|
347
|
-
{
|
348
|
-
"anonymous": false,
|
349
|
-
"inputs": [
|
344
|
+
"internalType": "address",
|
345
|
+
"name": "to",
|
346
|
+
"type": "address"
|
347
|
+
},
|
350
348
|
{
|
351
349
|
"indexed": false,
|
352
|
-
"internalType": "
|
353
|
-
"name": "
|
354
|
-
"type": "
|
350
|
+
"internalType": "uint256",
|
351
|
+
"name": "amount",
|
352
|
+
"type": "uint256"
|
355
353
|
}
|
356
354
|
],
|
357
|
-
"name": "
|
355
|
+
"name": "LogComponentWalletTokensTransferred",
|
358
356
|
"type": "event"
|
359
357
|
},
|
360
358
|
{
|
@@ -374,9 +372,9 @@
|
|
374
372
|
},
|
375
373
|
{
|
376
374
|
"indexed": false,
|
377
|
-
"internalType": "
|
375
|
+
"internalType": "Amount",
|
378
376
|
"name": "collateralizationAmount",
|
379
|
-
"type": "
|
377
|
+
"type": "uint96"
|
380
378
|
}
|
381
379
|
],
|
382
380
|
"name": "LogPoolVerifiedByPool",
|
@@ -395,6 +393,19 @@
|
|
395
393
|
"stateMutability": "view",
|
396
394
|
"type": "function"
|
397
395
|
},
|
396
|
+
{
|
397
|
+
"inputs": [],
|
398
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
399
|
+
"outputs": [
|
400
|
+
{
|
401
|
+
"internalType": "bytes32",
|
402
|
+
"name": "",
|
403
|
+
"type": "bytes32"
|
404
|
+
}
|
405
|
+
],
|
406
|
+
"stateMutability": "view",
|
407
|
+
"type": "function"
|
408
|
+
},
|
398
409
|
{
|
399
410
|
"inputs": [],
|
400
411
|
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
@@ -457,9 +468,9 @@
|
|
457
468
|
"type": "bytes"
|
458
469
|
},
|
459
470
|
{
|
460
|
-
"internalType": "
|
471
|
+
"internalType": "Amount",
|
461
472
|
"name": "collateralizationAmount",
|
462
|
-
"type": "
|
473
|
+
"type": "uint96"
|
463
474
|
}
|
464
475
|
],
|
465
476
|
"name": "applicationMatchesBundle",
|
@@ -494,7 +505,7 @@
|
|
494
505
|
"type": "uint96"
|
495
506
|
}
|
496
507
|
],
|
497
|
-
"name": "
|
508
|
+
"name": "closeBundle",
|
498
509
|
"outputs": [],
|
499
510
|
"stateMutability": "nonpayable",
|
500
511
|
"type": "function"
|
@@ -513,18 +524,24 @@
|
|
513
524
|
}
|
514
525
|
],
|
515
526
|
"name": "extend",
|
516
|
-
"outputs": [
|
527
|
+
"outputs": [
|
528
|
+
{
|
529
|
+
"internalType": "Timestamp",
|
530
|
+
"name": "newExpiredAt",
|
531
|
+
"type": "uint40"
|
532
|
+
}
|
533
|
+
],
|
517
534
|
"stateMutability": "nonpayable",
|
518
535
|
"type": "function"
|
519
536
|
},
|
520
537
|
{
|
521
538
|
"inputs": [],
|
522
|
-
"name": "
|
539
|
+
"name": "getAuthorization",
|
523
540
|
"outputs": [
|
524
541
|
{
|
525
|
-
"internalType": "
|
526
|
-
"name": "
|
527
|
-
"type": "
|
542
|
+
"internalType": "contract IAuthorization",
|
543
|
+
"name": "authorization",
|
544
|
+
"type": "address"
|
528
545
|
}
|
529
546
|
],
|
530
547
|
"stateMutability": "view",
|
@@ -532,12 +549,34 @@
|
|
532
549
|
},
|
533
550
|
{
|
534
551
|
"inputs": [],
|
535
|
-
"name": "
|
552
|
+
"name": "getComponentInfo",
|
536
553
|
"outputs": [
|
537
554
|
{
|
538
|
-
"
|
539
|
-
|
540
|
-
|
555
|
+
"components": [
|
556
|
+
{
|
557
|
+
"internalType": "string",
|
558
|
+
"name": "name",
|
559
|
+
"type": "string"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"internalType": "contract IERC20Metadata",
|
563
|
+
"name": "token",
|
564
|
+
"type": "address"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"internalType": "contract TokenHandler",
|
568
|
+
"name": "tokenHandler",
|
569
|
+
"type": "address"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"internalType": "bytes",
|
573
|
+
"name": "data",
|
574
|
+
"type": "bytes"
|
575
|
+
}
|
576
|
+
],
|
577
|
+
"internalType": "struct IComponents.ComponentInfo",
|
578
|
+
"name": "info",
|
579
|
+
"type": "tuple"
|
541
580
|
}
|
542
581
|
],
|
543
582
|
"stateMutability": "view",
|
@@ -562,6 +601,41 @@
|
|
562
601
|
"stateMutability": "pure",
|
563
602
|
"type": "function"
|
564
603
|
},
|
604
|
+
{
|
605
|
+
"inputs": [],
|
606
|
+
"name": "getInitialComponentInfo",
|
607
|
+
"outputs": [
|
608
|
+
{
|
609
|
+
"components": [
|
610
|
+
{
|
611
|
+
"internalType": "string",
|
612
|
+
"name": "name",
|
613
|
+
"type": "string"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"internalType": "contract IERC20Metadata",
|
617
|
+
"name": "token",
|
618
|
+
"type": "address"
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"internalType": "contract TokenHandler",
|
622
|
+
"name": "tokenHandler",
|
623
|
+
"type": "address"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"internalType": "bytes",
|
627
|
+
"name": "data",
|
628
|
+
"type": "bytes"
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"internalType": "struct IComponents.ComponentInfo",
|
632
|
+
"name": "info",
|
633
|
+
"type": "tuple"
|
634
|
+
}
|
635
|
+
],
|
636
|
+
"stateMutability": "view",
|
637
|
+
"type": "function"
|
638
|
+
},
|
565
639
|
{
|
566
640
|
"inputs": [],
|
567
641
|
"name": "getInitialInfo",
|
@@ -614,12 +688,49 @@
|
|
614
688
|
},
|
615
689
|
{
|
616
690
|
"inputs": [],
|
617
|
-
"name": "
|
691
|
+
"name": "getInitialPoolInfo",
|
618
692
|
"outputs": [
|
619
693
|
{
|
620
|
-
"
|
621
|
-
|
622
|
-
|
694
|
+
"components": [
|
695
|
+
{
|
696
|
+
"internalType": "Amount",
|
697
|
+
"name": "maxBalanceAmount",
|
698
|
+
"type": "uint96"
|
699
|
+
},
|
700
|
+
{
|
701
|
+
"internalType": "bool",
|
702
|
+
"name": "isInterceptingBundleTransfers",
|
703
|
+
"type": "bool"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"internalType": "bool",
|
707
|
+
"name": "isProcessingConfirmedClaims",
|
708
|
+
"type": "bool"
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"internalType": "bool",
|
712
|
+
"name": "isExternallyManaged",
|
713
|
+
"type": "bool"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"internalType": "bool",
|
717
|
+
"name": "isVerifyingApplications",
|
718
|
+
"type": "bool"
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"internalType": "UFixed",
|
722
|
+
"name": "collateralizationLevel",
|
723
|
+
"type": "uint256"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"internalType": "UFixed",
|
727
|
+
"name": "retentionLevel",
|
728
|
+
"type": "uint256"
|
729
|
+
}
|
730
|
+
],
|
731
|
+
"internalType": "struct IComponents.PoolInfo",
|
732
|
+
"name": "poolInfo",
|
733
|
+
"type": "tuple"
|
623
734
|
}
|
624
735
|
],
|
625
736
|
"stateMutability": "view",
|
@@ -627,12 +738,12 @@
|
|
627
738
|
},
|
628
739
|
{
|
629
740
|
"inputs": [],
|
630
|
-
"name": "
|
741
|
+
"name": "getInstance",
|
631
742
|
"outputs": [
|
632
743
|
{
|
633
|
-
"internalType": "
|
634
|
-
"name": "
|
635
|
-
"type": "
|
744
|
+
"internalType": "contract IInstance",
|
745
|
+
"name": "instance",
|
746
|
+
"type": "address"
|
636
747
|
}
|
637
748
|
],
|
638
749
|
"stateMutability": "view",
|
@@ -679,12 +790,12 @@
|
|
679
790
|
},
|
680
791
|
{
|
681
792
|
"inputs": [],
|
682
|
-
"name": "
|
793
|
+
"name": "getRegistry",
|
683
794
|
"outputs": [
|
684
795
|
{
|
685
|
-
"internalType": "
|
686
|
-
"name": "
|
687
|
-
"type": "
|
796
|
+
"internalType": "contract IRegistry",
|
797
|
+
"name": "",
|
798
|
+
"type": "address"
|
688
799
|
}
|
689
800
|
],
|
690
801
|
"stateMutability": "view",
|
@@ -692,12 +803,12 @@
|
|
692
803
|
},
|
693
804
|
{
|
694
805
|
"inputs": [],
|
695
|
-
"name": "
|
806
|
+
"name": "getRelease",
|
696
807
|
"outputs": [
|
697
808
|
{
|
698
|
-
"internalType": "
|
699
|
-
"name": "",
|
700
|
-
"type": "
|
809
|
+
"internalType": "VersionPart",
|
810
|
+
"name": "release",
|
811
|
+
"type": "uint8"
|
701
812
|
}
|
702
813
|
],
|
703
814
|
"stateMutability": "view",
|
@@ -705,11 +816,11 @@
|
|
705
816
|
},
|
706
817
|
{
|
707
818
|
"inputs": [],
|
708
|
-
"name": "
|
819
|
+
"name": "getToken",
|
709
820
|
"outputs": [
|
710
821
|
{
|
711
|
-
"internalType": "
|
712
|
-
"name": "",
|
822
|
+
"internalType": "contract IERC20Metadata",
|
823
|
+
"name": "token",
|
713
824
|
"type": "address"
|
714
825
|
}
|
715
826
|
],
|
@@ -718,123 +829,12 @@
|
|
718
829
|
},
|
719
830
|
{
|
720
831
|
"inputs": [],
|
721
|
-
"name": "
|
722
|
-
"outputs": [
|
723
|
-
{
|
724
|
-
"internalType": "UFixed",
|
725
|
-
"name": "retentionLevel",
|
726
|
-
"type": "uint256"
|
727
|
-
}
|
728
|
-
],
|
729
|
-
"stateMutability": "view",
|
730
|
-
"type": "function"
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"inputs": [],
|
734
|
-
"name": "getSetupInfo",
|
832
|
+
"name": "getTokenHandler",
|
735
833
|
"outputs": [
|
736
834
|
{
|
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"
|
835
|
+
"internalType": "contract TokenHandler",
|
836
|
+
"name": "tokenHandler",
|
837
|
+
"type": "address"
|
838
838
|
}
|
839
839
|
],
|
840
840
|
"stateMutability": "view",
|
@@ -842,12 +842,12 @@
|
|
842
842
|
},
|
843
843
|
{
|
844
844
|
"inputs": [],
|
845
|
-
"name": "
|
845
|
+
"name": "getVersion",
|
846
846
|
"outputs": [
|
847
847
|
{
|
848
|
-
"internalType": "
|
849
|
-
"name": "
|
850
|
-
"type": "
|
848
|
+
"internalType": "Version",
|
849
|
+
"name": "version",
|
850
|
+
"type": "uint24"
|
851
851
|
}
|
852
852
|
],
|
853
853
|
"stateMutability": "view",
|
@@ -866,191 +866,17 @@
|
|
866
866
|
"stateMutability": "view",
|
867
867
|
"type": "function"
|
868
868
|
},
|
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
869
|
{
|
918
870
|
"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
|
-
},
|
871
|
+
"name": "isActive",
|
872
|
+
"outputs": [
|
1022
873
|
{
|
1023
874
|
"internalType": "bool",
|
1024
|
-
"name": "
|
875
|
+
"name": "active",
|
1025
876
|
"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
877
|
}
|
1037
878
|
],
|
1038
|
-
"
|
1039
|
-
"outputs": [],
|
1040
|
-
"stateMutability": "nonpayable",
|
1041
|
-
"type": "function"
|
1042
|
-
},
|
1043
|
-
{
|
1044
|
-
"inputs": [
|
1045
|
-
{
|
1046
|
-
"internalType": "address",
|
1047
|
-
"name": "registryAddress",
|
1048
|
-
"type": "address"
|
1049
|
-
}
|
1050
|
-
],
|
1051
|
-
"name": "initializeRegistryLinked",
|
1052
|
-
"outputs": [],
|
1053
|
-
"stateMutability": "nonpayable",
|
879
|
+
"stateMutability": "view",
|
1054
880
|
"type": "function"
|
1055
881
|
},
|
1056
882
|
{
|
@@ -1068,11 +894,11 @@
|
|
1068
894
|
},
|
1069
895
|
{
|
1070
896
|
"inputs": [],
|
1071
|
-
"name": "
|
897
|
+
"name": "isNftInterceptor",
|
1072
898
|
"outputs": [
|
1073
899
|
{
|
1074
900
|
"internalType": "bool",
|
1075
|
-
"name": "",
|
901
|
+
"name": "isInterceptor",
|
1076
902
|
"type": "bool"
|
1077
903
|
}
|
1078
904
|
],
|
@@ -1081,7 +907,7 @@
|
|
1081
907
|
},
|
1082
908
|
{
|
1083
909
|
"inputs": [],
|
1084
|
-
"name": "
|
910
|
+
"name": "isRegistered",
|
1085
911
|
"outputs": [
|
1086
912
|
{
|
1087
913
|
"internalType": "bool",
|
@@ -1094,41 +920,14 @@
|
|
1094
920
|
},
|
1095
921
|
{
|
1096
922
|
"inputs": [],
|
1097
|
-
"name": "
|
1098
|
-
"outputs": [
|
1099
|
-
{
|
1100
|
-
"internalType": "bool",
|
1101
|
-
"name": "isInterceptor",
|
1102
|
-
"type": "bool"
|
1103
|
-
}
|
1104
|
-
],
|
1105
|
-
"stateMutability": "view",
|
1106
|
-
"type": "function"
|
1107
|
-
},
|
1108
|
-
{
|
1109
|
-
"inputs": [],
|
1110
|
-
"name": "isVerifyingApplications",
|
923
|
+
"name": "linkToRegisteredNftId",
|
1111
924
|
"outputs": [
|
1112
925
|
{
|
1113
|
-
"internalType": "
|
1114
|
-
"name": "
|
1115
|
-
"type": "
|
926
|
+
"internalType": "NftId",
|
927
|
+
"name": "nftId",
|
928
|
+
"type": "uint96"
|
1116
929
|
}
|
1117
930
|
],
|
1118
|
-
"stateMutability": "view",
|
1119
|
-
"type": "function"
|
1120
|
-
},
|
1121
|
-
{
|
1122
|
-
"inputs": [],
|
1123
|
-
"name": "linkToRegisteredNftId",
|
1124
|
-
"outputs": [],
|
1125
|
-
"stateMutability": "nonpayable",
|
1126
|
-
"type": "function"
|
1127
|
-
},
|
1128
|
-
{
|
1129
|
-
"inputs": [],
|
1130
|
-
"name": "lock",
|
1131
|
-
"outputs": [],
|
1132
931
|
"stateMutability": "nonpayable",
|
1133
932
|
"type": "function"
|
1134
933
|
},
|
@@ -1161,6 +960,11 @@
|
|
1161
960
|
"internalType": "uint256",
|
1162
961
|
"name": "tokenId",
|
1163
962
|
"type": "uint256"
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"internalType": "address",
|
966
|
+
"name": "operator",
|
967
|
+
"type": "address"
|
1164
968
|
}
|
1165
969
|
],
|
1166
970
|
"name": "nftTransferFrom",
|
@@ -1171,12 +975,22 @@
|
|
1171
975
|
{
|
1172
976
|
"inputs": [
|
1173
977
|
{
|
1174
|
-
"internalType": "
|
1175
|
-
"name": "
|
1176
|
-
"type": "
|
978
|
+
"internalType": "NftId",
|
979
|
+
"name": "policyNftId",
|
980
|
+
"type": "uint96"
|
981
|
+
},
|
982
|
+
{
|
983
|
+
"internalType": "ClaimId",
|
984
|
+
"name": "claimId",
|
985
|
+
"type": "uint16"
|
986
|
+
},
|
987
|
+
{
|
988
|
+
"internalType": "Amount",
|
989
|
+
"name": "amount",
|
990
|
+
"type": "uint96"
|
1177
991
|
}
|
1178
992
|
],
|
1179
|
-
"name": "
|
993
|
+
"name": "processConfirmedClaim",
|
1180
994
|
"outputs": [],
|
1181
995
|
"stateMutability": "nonpayable",
|
1182
996
|
"type": "function"
|
@@ -1224,19 +1038,6 @@
|
|
1224
1038
|
"stateMutability": "nonpayable",
|
1225
1039
|
"type": "function"
|
1226
1040
|
},
|
1227
|
-
{
|
1228
|
-
"inputs": [
|
1229
|
-
{
|
1230
|
-
"internalType": "RoleId",
|
1231
|
-
"name": "bundleOwnerRole",
|
1232
|
-
"type": "uint64"
|
1233
|
-
}
|
1234
|
-
],
|
1235
|
-
"name": "setBundleOwnerRole",
|
1236
|
-
"outputs": [],
|
1237
|
-
"stateMutability": "nonpayable",
|
1238
|
-
"type": "function"
|
1239
|
-
},
|
1240
1041
|
{
|
1241
1042
|
"inputs": [
|
1242
1043
|
{
|
@@ -1299,38 +1100,12 @@
|
|
1299
1100
|
{
|
1300
1101
|
"inputs": [
|
1301
1102
|
{
|
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",
|
1103
|
+
"internalType": "Amount",
|
1104
|
+
"name": "maxBalanceAmount",
|
1317
1105
|
"type": "uint96"
|
1318
1106
|
}
|
1319
1107
|
],
|
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",
|
1108
|
+
"name": "setMaxBalanceAmount",
|
1334
1109
|
"outputs": [],
|
1335
1110
|
"stateMutability": "nonpayable",
|
1336
1111
|
"type": "function"
|
@@ -1343,9 +1118,9 @@
|
|
1343
1118
|
"type": "uint96"
|
1344
1119
|
},
|
1345
1120
|
{
|
1346
|
-
"internalType": "
|
1121
|
+
"internalType": "Amount",
|
1347
1122
|
"name": "amount",
|
1348
|
-
"type": "
|
1123
|
+
"type": "uint96"
|
1349
1124
|
}
|
1350
1125
|
],
|
1351
1126
|
"name": "stake",
|
@@ -1372,13 +1147,6 @@
|
|
1372
1147
|
"stateMutability": "view",
|
1373
1148
|
"type": "function"
|
1374
1149
|
},
|
1375
|
-
{
|
1376
|
-
"inputs": [],
|
1377
|
-
"name": "unlock",
|
1378
|
-
"outputs": [],
|
1379
|
-
"stateMutability": "nonpayable",
|
1380
|
-
"type": "function"
|
1381
|
-
},
|
1382
1150
|
{
|
1383
1151
|
"inputs": [
|
1384
1152
|
{
|
@@ -1400,9 +1168,9 @@
|
|
1400
1168
|
"type": "uint96"
|
1401
1169
|
},
|
1402
1170
|
{
|
1403
|
-
"internalType": "
|
1171
|
+
"internalType": "Amount",
|
1404
1172
|
"name": "amount",
|
1405
|
-
"type": "
|
1173
|
+
"type": "uint96"
|
1406
1174
|
}
|
1407
1175
|
],
|
1408
1176
|
"name": "unstake",
|
@@ -1417,31 +1185,64 @@
|
|
1417
1185
|
"name": "applicationNftId",
|
1418
1186
|
"type": "uint96"
|
1419
1187
|
},
|
1420
|
-
{
|
1421
|
-
"internalType": "bytes",
|
1422
|
-
"name": "applicationData",
|
1423
|
-
"type": "bytes"
|
1424
|
-
},
|
1425
1188
|
{
|
1426
1189
|
"internalType": "NftId",
|
1427
1190
|
"name": "bundleNftId",
|
1428
1191
|
"type": "uint96"
|
1429
1192
|
},
|
1430
1193
|
{
|
1431
|
-
"internalType": "
|
1432
|
-
"name": "bundleFilter",
|
1433
|
-
"type": "bytes"
|
1434
|
-
},
|
1435
|
-
{
|
1436
|
-
"internalType": "uint256",
|
1194
|
+
"internalType": "Amount",
|
1437
1195
|
"name": "collateralizationAmount",
|
1438
|
-
"type": "
|
1196
|
+
"type": "uint96"
|
1439
1197
|
}
|
1440
1198
|
],
|
1441
1199
|
"name": "verifyApplication",
|
1442
1200
|
"outputs": [],
|
1443
1201
|
"stateMutability": "nonpayable",
|
1444
1202
|
"type": "function"
|
1203
|
+
},
|
1204
|
+
{
|
1205
|
+
"inputs": [
|
1206
|
+
{
|
1207
|
+
"internalType": "NftId",
|
1208
|
+
"name": "bundleNftId",
|
1209
|
+
"type": "uint96"
|
1210
|
+
},
|
1211
|
+
{
|
1212
|
+
"internalType": "Amount",
|
1213
|
+
"name": "amount",
|
1214
|
+
"type": "uint96"
|
1215
|
+
}
|
1216
|
+
],
|
1217
|
+
"name": "withdrawBundleFees",
|
1218
|
+
"outputs": [
|
1219
|
+
{
|
1220
|
+
"internalType": "Amount",
|
1221
|
+
"name": "withdrawnAmount",
|
1222
|
+
"type": "uint96"
|
1223
|
+
}
|
1224
|
+
],
|
1225
|
+
"stateMutability": "nonpayable",
|
1226
|
+
"type": "function"
|
1227
|
+
},
|
1228
|
+
{
|
1229
|
+
"inputs": [
|
1230
|
+
{
|
1231
|
+
"internalType": "Amount",
|
1232
|
+
"name": "amount",
|
1233
|
+
"type": "uint96"
|
1234
|
+
}
|
1235
|
+
],
|
1236
|
+
"name": "withdrawFees",
|
1237
|
+
"outputs": [
|
1238
|
+
{
|
1239
|
+
"internalType": "Amount",
|
1240
|
+
"name": "withdrawnAmount",
|
1241
|
+
"type": "uint96"
|
1242
|
+
}
|
1243
|
+
],
|
1244
|
+
"stateMutability": "nonpayable",
|
1245
|
+
"type": "function"
|
1445
1246
|
}
|
1446
1247
|
],
|
1447
1248
|
"bytecode": "0x",
|