@etherisc/gif-next 0.0.2-e9a637d-547 → 0.0.2-e9c25ee-730
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +136 -22
- 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 +1672 -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/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1255 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/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 +1322 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +285 -324
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1633 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +896 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +274 -275
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +339 -329
- 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 +1445 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +596 -94
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +367 -106
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +585 -207
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2366 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1985 -576
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +378 -425
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +163 -174
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1927 -876
- 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 -54
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
- 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} +302 -175
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +253 -241
- 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 -465
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +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/{instance/service → pool}/IBundleService.sol/IBundleService.json +289 -68
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +609 -223
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +368 -426
- 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 +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 +879 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -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} +455 -482
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +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 +180 -163
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -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} +95 -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 +349 -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 +911 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +483 -29
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +286 -109
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +982 -137
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2195 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +361 -250
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +174 -109
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2160 -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 +1393 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +265 -186
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +142 -132
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +616 -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 +137 -131
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
- 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 +69 -5
- 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 +776 -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 +66 -109
- 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/{components/Distribution.sol/Distribution.json → staking/IStaking.sol/IStaking.json} +749 -587
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -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 +792 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -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 +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 +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 +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 +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 +875 -0
- package/contracts/authorization/AccessAdminLib.sol +379 -0
- package/contracts/authorization/AccessManagerCloneable.sol +158 -0
- package/contracts/authorization/Authorization.sol +261 -0
- package/contracts/authorization/IAccess.sol +67 -0
- package/contracts/authorization/IAccessAdmin.sol +136 -0
- package/contracts/authorization/IAuthorization.sol +27 -0
- package/contracts/authorization/IServiceAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +320 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
- package/contracts/distribution/Distribution.sol +245 -0
- package/contracts/distribution/DistributionService.sol +440 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +50 -0
- package/contracts/distribution/IDistributionService.sol +109 -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 +373 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +117 -38
- package/contracts/instance/IInstanceService.sol +71 -50
- package/contracts/instance/Instance.sol +252 -110
- package/contracts/instance/InstanceAdmin.sol +569 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +262 -0
- package/contracts/instance/InstanceReader.sol +528 -82
- package/contracts/instance/InstanceService.sol +385 -391
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +174 -95
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +113 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +9 -11
- package/contracts/instance/module/IComponents.sol +44 -23
- 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 +45 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
- package/contracts/oracle/IOracle.sol +41 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +154 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +173 -0
- package/contracts/pool/BasicPoolAuthorization.sol +82 -0
- package/contracts/pool/BundleService.sol +395 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/{instance/service → pool}/IBundleService.sol +52 -30
- package/contracts/pool/IPoolComponent.sol +62 -0
- package/contracts/pool/IPoolService.sol +165 -0
- package/contracts/pool/Pool.sol +343 -0
- package/contracts/pool/PoolLib.sol +260 -0
- package/contracts/pool/PoolService.sol +733 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +274 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +61 -0
- package/contracts/product/ClaimService.sol +630 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +22 -35
- package/contracts/product/IClaimService.sol +135 -0
- package/contracts/product/IPolicyService.sol +95 -0
- package/contracts/product/IPricingService.sol +40 -0
- package/contracts/product/IProductComponent.sol +62 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +664 -0
- package/contracts/product/PolicyServiceLib.sol +86 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +309 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +467 -0
- package/contracts/product/RiskService.sol +154 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +79 -40
- package/contracts/registry/IRegistry.sol +99 -30
- package/contracts/registry/IRegistryService.sol +34 -40
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +460 -197
- package/contracts/registry/RegistryAdmin.sol +291 -0
- package/contracts/registry/RegistryAuthorization.sol +277 -0
- package/contracts/registry/RegistryService.sol +89 -130
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseAdmin.sol +268 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +517 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +341 -0
- package/contracts/registry/TokenRegistry.sol +264 -64
- package/contracts/shared/Component.sol +210 -0
- package/contracts/shared/ComponentService.sol +708 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +128 -0
- package/contracts/shared/ContractLib.sol +292 -0
- package/contracts/shared/IComponent.sol +58 -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 +13 -5
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
- package/contracts/shared/InstanceLinkedComponent.sol +195 -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 +52 -20
- package/contracts/shared/RegistryLinked.sol +9 -19
- package/contracts/shared/Service.sol +34 -40
- package/contracts/shared/TokenHandler.sol +322 -13
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +179 -0
- package/contracts/staking/IStakingService.sol +172 -0
- package/contracts/staking/Staking.sol +546 -0
- package/contracts/staking/StakingLib.sol +281 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +180 -0
- package/contracts/staking/StakingService.sol +464 -0
- package/contracts/staking/StakingServiceManager.sol +45 -0
- package/contracts/staking/StakingStore.sol +606 -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 +26 -3
- package/contracts/{types → type}/ClaimId.sol +31 -3
- package/contracts/{types → type}/Fee.sol +28 -26
- package/contracts/{types → type}/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/{types → type}/NftId.sol +21 -16
- 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 +2 -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 +101 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +47 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +20 -6
- package/contracts/type/UFixed.sol +262 -0
- package/contracts/{types → type}/Version.sol +58 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +104 -39
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +7 -4
- 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/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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- package/artifacts/contracts/instance/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 -1348
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
- 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 -532
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
- package/artifacts/contracts/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/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
- 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/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/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 -1092
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
- 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 -559
- 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 -596
- 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/Amount.sol/AmountLib.dbg.json +0 -4
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
- 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 -288
- 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 -166
- 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 -142
- 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 -253
- package/contracts/components/Distribution.sol +0 -280
- package/contracts/components/IComponent.sol +0 -76
- package/contracts/components/IDistributionComponent.sol +0 -71
- package/contracts/components/IPoolComponent.sol +0 -113
- package/contracts/components/IProductComponent.sol +0 -40
- package/contracts/components/Pool.sol +0 -303
- package/contracts/components/Product.sol +0 -293
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/instance/BundleManager.sol +0 -127
- package/contracts/instance/Cloneable.sol +0 -51
- package/contracts/instance/InstanceAccessManager.sol +0 -540
- package/contracts/instance/ObjectManager.sol +0 -82
- package/contracts/instance/base/ComponentService.sol +0 -121
- package/contracts/instance/base/KeyValueStore.sol +0 -180
- package/contracts/instance/base/Lifecycle.sol +0 -109
- package/contracts/instance/module/IAccess.sol +0 -54
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -351
- package/contracts/instance/service/BundleService.sol +0 -431
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -151
- package/contracts/instance/service/DistributionService.sol +0 -437
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IDistributionService.sol +0 -99
- package/contracts/instance/service/IPolicyService.sol +0 -72
- package/contracts/instance/service/IPoolService.sol +0 -99
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -362
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -303
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -209
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -324
- 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/Amount.sol +0 -60
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -157
- package/contracts/types/PayoutId.sol +0 -54
- package/contracts/types/RiskId.sol +0 -43
- package/contracts/types/RoleId.sol +0 -97
- package/contracts/types/Seconds.sol +0 -54
- package/contracts/types/UFixed.sol +0 -326
- /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
|
{
|
@@ -226,7 +230,7 @@
|
|
226
230
|
},
|
227
231
|
{
|
228
232
|
"inputs": [],
|
229
|
-
"name": "
|
233
|
+
"name": "ErrorRegisterableNotActive",
|
230
234
|
"type": "error"
|
231
235
|
},
|
232
236
|
{
|
@@ -239,17 +243,6 @@
|
|
239
243
|
"name": "NotInitializing",
|
240
244
|
"type": "error"
|
241
245
|
},
|
242
|
-
{
|
243
|
-
"inputs": [
|
244
|
-
{
|
245
|
-
"internalType": "address",
|
246
|
-
"name": "token",
|
247
|
-
"type": "address"
|
248
|
-
}
|
249
|
-
],
|
250
|
-
"name": "SafeERC20FailedOperation",
|
251
|
-
"type": "error"
|
252
|
-
},
|
253
246
|
{
|
254
247
|
"anonymous": false,
|
255
248
|
"inputs": [
|
@@ -276,6 +269,37 @@
|
|
276
269
|
"name": "Initialized",
|
277
270
|
"type": "event"
|
278
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
|
+
},
|
279
303
|
{
|
280
304
|
"anonymous": false,
|
281
305
|
"inputs": [
|
@@ -337,9 +361,9 @@
|
|
337
361
|
},
|
338
362
|
{
|
339
363
|
"indexed": false,
|
340
|
-
"internalType": "
|
364
|
+
"internalType": "Amount",
|
341
365
|
"name": "collateralizationAmount",
|
342
|
-
"type": "
|
366
|
+
"type": "uint96"
|
343
367
|
}
|
344
368
|
],
|
345
369
|
"name": "LogPoolVerifiedByPool",
|
@@ -358,6 +382,19 @@
|
|
358
382
|
"stateMutability": "view",
|
359
383
|
"type": "function"
|
360
384
|
},
|
385
|
+
{
|
386
|
+
"inputs": [],
|
387
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
388
|
+
"outputs": [
|
389
|
+
{
|
390
|
+
"internalType": "bytes32",
|
391
|
+
"name": "",
|
392
|
+
"type": "bytes32"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"stateMutability": "view",
|
396
|
+
"type": "function"
|
397
|
+
},
|
361
398
|
{
|
362
399
|
"inputs": [],
|
363
400
|
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
@@ -420,9 +457,9 @@
|
|
420
457
|
"type": "bytes"
|
421
458
|
},
|
422
459
|
{
|
423
|
-
"internalType": "
|
460
|
+
"internalType": "Amount",
|
424
461
|
"name": "collateralizationAmount",
|
425
|
-
"type": "
|
462
|
+
"type": "uint96"
|
426
463
|
}
|
427
464
|
],
|
428
465
|
"name": "applicationMatchesBundle",
|
@@ -457,7 +494,7 @@
|
|
457
494
|
"type": "uint96"
|
458
495
|
}
|
459
496
|
],
|
460
|
-
"name": "
|
497
|
+
"name": "closeBundle",
|
461
498
|
"outputs": [],
|
462
499
|
"stateMutability": "nonpayable",
|
463
500
|
"type": "function"
|
@@ -476,10 +513,29 @@
|
|
476
513
|
}
|
477
514
|
],
|
478
515
|
"name": "extend",
|
479
|
-
"outputs": [
|
516
|
+
"outputs": [
|
517
|
+
{
|
518
|
+
"internalType": "Timestamp",
|
519
|
+
"name": "newExpiredAt",
|
520
|
+
"type": "uint40"
|
521
|
+
}
|
522
|
+
],
|
480
523
|
"stateMutability": "nonpayable",
|
481
524
|
"type": "function"
|
482
525
|
},
|
526
|
+
{
|
527
|
+
"inputs": [],
|
528
|
+
"name": "getAuthorization",
|
529
|
+
"outputs": [
|
530
|
+
{
|
531
|
+
"internalType": "contract IAuthorization",
|
532
|
+
"name": "authorization",
|
533
|
+
"type": "address"
|
534
|
+
}
|
535
|
+
],
|
536
|
+
"stateMutability": "view",
|
537
|
+
"type": "function"
|
538
|
+
},
|
483
539
|
{
|
484
540
|
"inputs": [],
|
485
541
|
"name": "getComponentInfo",
|
@@ -491,31 +547,11 @@
|
|
491
547
|
"name": "name",
|
492
548
|
"type": "string"
|
493
549
|
},
|
494
|
-
{
|
495
|
-
"internalType": "contract IERC20Metadata",
|
496
|
-
"name": "token",
|
497
|
-
"type": "address"
|
498
|
-
},
|
499
550
|
{
|
500
551
|
"internalType": "contract TokenHandler",
|
501
552
|
"name": "tokenHandler",
|
502
553
|
"type": "address"
|
503
554
|
},
|
504
|
-
{
|
505
|
-
"internalType": "address",
|
506
|
-
"name": "wallet",
|
507
|
-
"type": "address"
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"internalType": "Amount",
|
511
|
-
"name": "balanceAmount",
|
512
|
-
"type": "uint96"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"internalType": "Amount",
|
516
|
-
"name": "feeAmount",
|
517
|
-
"type": "uint96"
|
518
|
-
},
|
519
555
|
{
|
520
556
|
"internalType": "bytes",
|
521
557
|
"name": "data",
|
@@ -549,6 +585,36 @@
|
|
549
585
|
"stateMutability": "pure",
|
550
586
|
"type": "function"
|
551
587
|
},
|
588
|
+
{
|
589
|
+
"inputs": [],
|
590
|
+
"name": "getInitialComponentInfo",
|
591
|
+
"outputs": [
|
592
|
+
{
|
593
|
+
"components": [
|
594
|
+
{
|
595
|
+
"internalType": "string",
|
596
|
+
"name": "name",
|
597
|
+
"type": "string"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"internalType": "contract TokenHandler",
|
601
|
+
"name": "tokenHandler",
|
602
|
+
"type": "address"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"internalType": "bytes",
|
606
|
+
"name": "data",
|
607
|
+
"type": "bytes"
|
608
|
+
}
|
609
|
+
],
|
610
|
+
"internalType": "struct IComponents.ComponentInfo",
|
611
|
+
"name": "info",
|
612
|
+
"type": "tuple"
|
613
|
+
}
|
614
|
+
],
|
615
|
+
"stateMutability": "view",
|
616
|
+
"type": "function"
|
617
|
+
},
|
552
618
|
{
|
553
619
|
"inputs": [],
|
554
620
|
"name": "getInitialInfo",
|
@@ -599,6 +665,56 @@
|
|
599
665
|
"stateMutability": "view",
|
600
666
|
"type": "function"
|
601
667
|
},
|
668
|
+
{
|
669
|
+
"inputs": [],
|
670
|
+
"name": "getInitialPoolInfo",
|
671
|
+
"outputs": [
|
672
|
+
{
|
673
|
+
"components": [
|
674
|
+
{
|
675
|
+
"internalType": "Amount",
|
676
|
+
"name": "maxBalanceAmount",
|
677
|
+
"type": "uint96"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"internalType": "UFixed",
|
681
|
+
"name": "collateralizationLevel",
|
682
|
+
"type": "uint160"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"internalType": "UFixed",
|
686
|
+
"name": "retentionLevel",
|
687
|
+
"type": "uint160"
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"internalType": "bool",
|
691
|
+
"name": "isInterceptingBundleTransfers",
|
692
|
+
"type": "bool"
|
693
|
+
},
|
694
|
+
{
|
695
|
+
"internalType": "bool",
|
696
|
+
"name": "isProcessingConfirmedClaims",
|
697
|
+
"type": "bool"
|
698
|
+
},
|
699
|
+
{
|
700
|
+
"internalType": "bool",
|
701
|
+
"name": "isExternallyManaged",
|
702
|
+
"type": "bool"
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"internalType": "bool",
|
706
|
+
"name": "isVerifyingApplications",
|
707
|
+
"type": "bool"
|
708
|
+
}
|
709
|
+
],
|
710
|
+
"internalType": "struct IComponents.PoolInfo",
|
711
|
+
"name": "poolInfo",
|
712
|
+
"type": "tuple"
|
713
|
+
}
|
714
|
+
],
|
715
|
+
"stateMutability": "view",
|
716
|
+
"type": "function"
|
717
|
+
},
|
602
718
|
{
|
603
719
|
"inputs": [],
|
604
720
|
"name": "getInstance",
|
@@ -653,115 +769,12 @@
|
|
653
769
|
},
|
654
770
|
{
|
655
771
|
"inputs": [],
|
656
|
-
"name": "
|
772
|
+
"name": "getRegistry",
|
657
773
|
"outputs": [
|
658
774
|
{
|
659
|
-
"
|
660
|
-
|
661
|
-
|
662
|
-
"name": "productNftId",
|
663
|
-
"type": "uint96"
|
664
|
-
},
|
665
|
-
{
|
666
|
-
"internalType": "RoleId",
|
667
|
-
"name": "bundleOwnerRole",
|
668
|
-
"type": "uint64"
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"internalType": "uint256",
|
672
|
-
"name": "maxCapitalAmount",
|
673
|
-
"type": "uint256"
|
674
|
-
},
|
675
|
-
{
|
676
|
-
"internalType": "uint256",
|
677
|
-
"name": "balanceAmount",
|
678
|
-
"type": "uint256"
|
679
|
-
},
|
680
|
-
{
|
681
|
-
"internalType": "uint256",
|
682
|
-
"name": "feeAmount",
|
683
|
-
"type": "uint256"
|
684
|
-
},
|
685
|
-
{
|
686
|
-
"internalType": "bool",
|
687
|
-
"name": "isInterceptingBundleTransfers",
|
688
|
-
"type": "bool"
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"internalType": "bool",
|
692
|
-
"name": "isExternallyManaged",
|
693
|
-
"type": "bool"
|
694
|
-
},
|
695
|
-
{
|
696
|
-
"internalType": "bool",
|
697
|
-
"name": "isVerifyingApplications",
|
698
|
-
"type": "bool"
|
699
|
-
},
|
700
|
-
{
|
701
|
-
"internalType": "UFixed",
|
702
|
-
"name": "collateralizationLevel",
|
703
|
-
"type": "uint256"
|
704
|
-
},
|
705
|
-
{
|
706
|
-
"internalType": "UFixed",
|
707
|
-
"name": "retentionLevel",
|
708
|
-
"type": "uint256"
|
709
|
-
},
|
710
|
-
{
|
711
|
-
"components": [
|
712
|
-
{
|
713
|
-
"internalType": "UFixed",
|
714
|
-
"name": "fractionalFee",
|
715
|
-
"type": "uint256"
|
716
|
-
},
|
717
|
-
{
|
718
|
-
"internalType": "uint256",
|
719
|
-
"name": "fixedFee",
|
720
|
-
"type": "uint256"
|
721
|
-
}
|
722
|
-
],
|
723
|
-
"internalType": "struct Fee",
|
724
|
-
"name": "poolFee",
|
725
|
-
"type": "tuple"
|
726
|
-
},
|
727
|
-
{
|
728
|
-
"components": [
|
729
|
-
{
|
730
|
-
"internalType": "UFixed",
|
731
|
-
"name": "fractionalFee",
|
732
|
-
"type": "uint256"
|
733
|
-
},
|
734
|
-
{
|
735
|
-
"internalType": "uint256",
|
736
|
-
"name": "fixedFee",
|
737
|
-
"type": "uint256"
|
738
|
-
}
|
739
|
-
],
|
740
|
-
"internalType": "struct Fee",
|
741
|
-
"name": "stakingFee",
|
742
|
-
"type": "tuple"
|
743
|
-
},
|
744
|
-
{
|
745
|
-
"components": [
|
746
|
-
{
|
747
|
-
"internalType": "UFixed",
|
748
|
-
"name": "fractionalFee",
|
749
|
-
"type": "uint256"
|
750
|
-
},
|
751
|
-
{
|
752
|
-
"internalType": "uint256",
|
753
|
-
"name": "fixedFee",
|
754
|
-
"type": "uint256"
|
755
|
-
}
|
756
|
-
],
|
757
|
-
"internalType": "struct Fee",
|
758
|
-
"name": "performanceFee",
|
759
|
-
"type": "tuple"
|
760
|
-
}
|
761
|
-
],
|
762
|
-
"internalType": "struct IComponents.PoolInfo",
|
763
|
-
"name": "poolInfo",
|
764
|
-
"type": "tuple"
|
775
|
+
"internalType": "contract IRegistry",
|
776
|
+
"name": "",
|
777
|
+
"type": "address"
|
765
778
|
}
|
766
779
|
],
|
767
780
|
"stateMutability": "view",
|
@@ -769,12 +782,12 @@
|
|
769
782
|
},
|
770
783
|
{
|
771
784
|
"inputs": [],
|
772
|
-
"name": "
|
785
|
+
"name": "getRelease",
|
773
786
|
"outputs": [
|
774
787
|
{
|
775
|
-
"internalType": "
|
776
|
-
"name": "
|
777
|
-
"type": "
|
788
|
+
"internalType": "VersionPart",
|
789
|
+
"name": "release",
|
790
|
+
"type": "uint8"
|
778
791
|
}
|
779
792
|
],
|
780
793
|
"stateMutability": "view",
|
@@ -782,11 +795,11 @@
|
|
782
795
|
},
|
783
796
|
{
|
784
797
|
"inputs": [],
|
785
|
-
"name": "
|
798
|
+
"name": "getToken",
|
786
799
|
"outputs": [
|
787
800
|
{
|
788
|
-
"internalType": "contract
|
789
|
-
"name": "",
|
801
|
+
"internalType": "contract IERC20Metadata",
|
802
|
+
"name": "token",
|
790
803
|
"type": "address"
|
791
804
|
}
|
792
805
|
],
|
@@ -795,11 +808,11 @@
|
|
795
808
|
},
|
796
809
|
{
|
797
810
|
"inputs": [],
|
798
|
-
"name": "
|
811
|
+
"name": "getTokenHandler",
|
799
812
|
"outputs": [
|
800
813
|
{
|
801
|
-
"internalType": "
|
802
|
-
"name": "",
|
814
|
+
"internalType": "contract TokenHandler",
|
815
|
+
"name": "tokenHandler",
|
803
816
|
"type": "address"
|
804
817
|
}
|
805
818
|
],
|
@@ -808,12 +821,12 @@
|
|
808
821
|
},
|
809
822
|
{
|
810
823
|
"inputs": [],
|
811
|
-
"name": "
|
824
|
+
"name": "getVersion",
|
812
825
|
"outputs": [
|
813
826
|
{
|
814
|
-
"internalType": "
|
815
|
-
"name": "
|
816
|
-
"type": "
|
827
|
+
"internalType": "Version",
|
828
|
+
"name": "version",
|
829
|
+
"type": "uint24"
|
817
830
|
}
|
818
831
|
],
|
819
832
|
"stateMutability": "view",
|
@@ -832,171 +845,17 @@
|
|
832
845
|
"stateMutability": "view",
|
833
846
|
"type": "function"
|
834
847
|
},
|
835
|
-
{
|
836
|
-
"inputs": [
|
837
|
-
{
|
838
|
-
"internalType": "address",
|
839
|
-
"name": "registry",
|
840
|
-
"type": "address"
|
841
|
-
},
|
842
|
-
{
|
843
|
-
"internalType": "NftId",
|
844
|
-
"name": "instanceNftId",
|
845
|
-
"type": "uint96"
|
846
|
-
},
|
847
|
-
{
|
848
|
-
"internalType": "string",
|
849
|
-
"name": "name",
|
850
|
-
"type": "string"
|
851
|
-
},
|
852
|
-
{
|
853
|
-
"internalType": "address",
|
854
|
-
"name": "token",
|
855
|
-
"type": "address"
|
856
|
-
},
|
857
|
-
{
|
858
|
-
"internalType": "ObjectType",
|
859
|
-
"name": "componentType",
|
860
|
-
"type": "uint8"
|
861
|
-
},
|
862
|
-
{
|
863
|
-
"internalType": "bool",
|
864
|
-
"name": "isInterceptor",
|
865
|
-
"type": "bool"
|
866
|
-
},
|
867
|
-
{
|
868
|
-
"internalType": "address",
|
869
|
-
"name": "initialOwner",
|
870
|
-
"type": "address"
|
871
|
-
},
|
872
|
-
{
|
873
|
-
"internalType": "bytes",
|
874
|
-
"name": "registryData",
|
875
|
-
"type": "bytes"
|
876
|
-
}
|
877
|
-
],
|
878
|
-
"name": "initializeComponent",
|
879
|
-
"outputs": [],
|
880
|
-
"stateMutability": "nonpayable",
|
881
|
-
"type": "function"
|
882
|
-
},
|
883
848
|
{
|
884
849
|
"inputs": [],
|
885
|
-
"name": "
|
886
|
-
"outputs": [
|
887
|
-
"stateMutability": "nonpayable",
|
888
|
-
"type": "function"
|
889
|
-
},
|
890
|
-
{
|
891
|
-
"inputs": [
|
892
|
-
{
|
893
|
-
"internalType": "address",
|
894
|
-
"name": "initialOwner",
|
895
|
-
"type": "address"
|
896
|
-
},
|
897
|
-
{
|
898
|
-
"internalType": "address",
|
899
|
-
"name": "registryAddress",
|
900
|
-
"type": "address"
|
901
|
-
}
|
902
|
-
],
|
903
|
-
"name": "initializeNftOwnable",
|
904
|
-
"outputs": [],
|
905
|
-
"stateMutability": "nonpayable",
|
906
|
-
"type": "function"
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"inputs": [
|
910
|
-
{
|
911
|
-
"internalType": "address",
|
912
|
-
"name": "registry",
|
913
|
-
"type": "address"
|
914
|
-
},
|
915
|
-
{
|
916
|
-
"internalType": "NftId",
|
917
|
-
"name": "instanceNftId",
|
918
|
-
"type": "uint96"
|
919
|
-
},
|
920
|
-
{
|
921
|
-
"internalType": "string",
|
922
|
-
"name": "name",
|
923
|
-
"type": "string"
|
924
|
-
},
|
925
|
-
{
|
926
|
-
"internalType": "address",
|
927
|
-
"name": "token",
|
928
|
-
"type": "address"
|
929
|
-
},
|
930
|
-
{
|
931
|
-
"internalType": "bool",
|
932
|
-
"name": "isInterceptingNftTransfers",
|
933
|
-
"type": "bool"
|
934
|
-
},
|
935
|
-
{
|
936
|
-
"internalType": "address",
|
937
|
-
"name": "initialOwner",
|
938
|
-
"type": "address"
|
939
|
-
},
|
940
|
-
{
|
941
|
-
"internalType": "bytes",
|
942
|
-
"name": "registryData",
|
943
|
-
"type": "bytes"
|
944
|
-
}
|
945
|
-
],
|
946
|
-
"name": "initializePool",
|
947
|
-
"outputs": [],
|
948
|
-
"stateMutability": "nonpayable",
|
949
|
-
"type": "function"
|
950
|
-
},
|
951
|
-
{
|
952
|
-
"inputs": [
|
953
|
-
{
|
954
|
-
"internalType": "address",
|
955
|
-
"name": "registryAddress",
|
956
|
-
"type": "address"
|
957
|
-
},
|
958
|
-
{
|
959
|
-
"internalType": "NftId",
|
960
|
-
"name": "parentNftId",
|
961
|
-
"type": "uint96"
|
962
|
-
},
|
963
|
-
{
|
964
|
-
"internalType": "ObjectType",
|
965
|
-
"name": "objectType",
|
966
|
-
"type": "uint8"
|
967
|
-
},
|
850
|
+
"name": "isActive",
|
851
|
+
"outputs": [
|
968
852
|
{
|
969
853
|
"internalType": "bool",
|
970
|
-
"name": "
|
854
|
+
"name": "active",
|
971
855
|
"type": "bool"
|
972
|
-
},
|
973
|
-
{
|
974
|
-
"internalType": "address",
|
975
|
-
"name": "initialOwner",
|
976
|
-
"type": "address"
|
977
|
-
},
|
978
|
-
{
|
979
|
-
"internalType": "bytes",
|
980
|
-
"name": "registryData",
|
981
|
-
"type": "bytes"
|
982
856
|
}
|
983
857
|
],
|
984
|
-
"
|
985
|
-
"outputs": [],
|
986
|
-
"stateMutability": "nonpayable",
|
987
|
-
"type": "function"
|
988
|
-
},
|
989
|
-
{
|
990
|
-
"inputs": [
|
991
|
-
{
|
992
|
-
"internalType": "address",
|
993
|
-
"name": "registryAddress",
|
994
|
-
"type": "address"
|
995
|
-
}
|
996
|
-
],
|
997
|
-
"name": "initializeRegistryLinked",
|
998
|
-
"outputs": [],
|
999
|
-
"stateMutability": "nonpayable",
|
858
|
+
"stateMutability": "view",
|
1000
859
|
"type": "function"
|
1001
860
|
},
|
1002
861
|
{
|
@@ -1027,45 +886,39 @@
|
|
1027
886
|
},
|
1028
887
|
{
|
1029
888
|
"inputs": [],
|
1030
|
-
"name": "
|
1031
|
-
"outputs": [
|
1032
|
-
|
889
|
+
"name": "isRegistered",
|
890
|
+
"outputs": [
|
891
|
+
{
|
892
|
+
"internalType": "bool",
|
893
|
+
"name": "",
|
894
|
+
"type": "bool"
|
895
|
+
}
|
896
|
+
],
|
897
|
+
"stateMutability": "view",
|
1033
898
|
"type": "function"
|
1034
899
|
},
|
1035
900
|
{
|
1036
901
|
"inputs": [],
|
1037
|
-
"name": "
|
1038
|
-
"outputs": [
|
1039
|
-
"stateMutability": "nonpayable",
|
1040
|
-
"type": "function"
|
1041
|
-
},
|
1042
|
-
{
|
1043
|
-
"inputs": [
|
902
|
+
"name": "linkToRegisteredNftId",
|
903
|
+
"outputs": [
|
1044
904
|
{
|
1045
905
|
"internalType": "NftId",
|
1046
|
-
"name": "
|
906
|
+
"name": "nftId",
|
1047
907
|
"type": "uint96"
|
1048
908
|
}
|
1049
909
|
],
|
1050
|
-
"name": "lockBundle",
|
1051
|
-
"outputs": [],
|
1052
910
|
"stateMutability": "nonpayable",
|
1053
911
|
"type": "function"
|
1054
912
|
},
|
1055
913
|
{
|
1056
914
|
"inputs": [
|
1057
915
|
{
|
1058
|
-
"internalType": "
|
1059
|
-
"name": "
|
1060
|
-
"type": "
|
1061
|
-
},
|
1062
|
-
{
|
1063
|
-
"internalType": "uint256",
|
1064
|
-
"name": "tokenId",
|
1065
|
-
"type": "uint256"
|
916
|
+
"internalType": "NftId",
|
917
|
+
"name": "bundleNftId",
|
918
|
+
"type": "uint96"
|
1066
919
|
}
|
1067
920
|
],
|
1068
|
-
"name": "
|
921
|
+
"name": "lockBundle",
|
1069
922
|
"outputs": [],
|
1070
923
|
"stateMutability": "nonpayable",
|
1071
924
|
"type": "function"
|
@@ -1086,6 +939,11 @@
|
|
1086
939
|
"internalType": "uint256",
|
1087
940
|
"name": "tokenId",
|
1088
941
|
"type": "uint256"
|
942
|
+
},
|
943
|
+
{
|
944
|
+
"internalType": "address",
|
945
|
+
"name": "operator",
|
946
|
+
"type": "address"
|
1089
947
|
}
|
1090
948
|
],
|
1091
949
|
"name": "nftTransferFrom",
|
@@ -1096,12 +954,22 @@
|
|
1096
954
|
{
|
1097
955
|
"inputs": [
|
1098
956
|
{
|
1099
|
-
"internalType": "
|
1100
|
-
"name": "
|
1101
|
-
"type": "
|
957
|
+
"internalType": "NftId",
|
958
|
+
"name": "policyNftId",
|
959
|
+
"type": "uint96"
|
960
|
+
},
|
961
|
+
{
|
962
|
+
"internalType": "ClaimId",
|
963
|
+
"name": "claimId",
|
964
|
+
"type": "uint16"
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"internalType": "Amount",
|
968
|
+
"name": "amount",
|
969
|
+
"type": "uint96"
|
1102
970
|
}
|
1103
971
|
],
|
1104
|
-
"name": "
|
972
|
+
"name": "processConfirmedClaim",
|
1105
973
|
"outputs": [],
|
1106
974
|
"stateMutability": "nonpayable",
|
1107
975
|
"type": "function"
|
@@ -1131,12 +999,12 @@
|
|
1131
999
|
{
|
1132
1000
|
"internalType": "UFixed",
|
1133
1001
|
"name": "fractionalFee",
|
1134
|
-
"type": "
|
1002
|
+
"type": "uint160"
|
1135
1003
|
},
|
1136
1004
|
{
|
1137
|
-
"internalType": "
|
1005
|
+
"internalType": "Amount",
|
1138
1006
|
"name": "fixedFee",
|
1139
|
-
"type": "
|
1007
|
+
"type": "uint96"
|
1140
1008
|
}
|
1141
1009
|
],
|
1142
1010
|
"internalType": "struct Fee",
|
@@ -1149,19 +1017,6 @@
|
|
1149
1017
|
"stateMutability": "nonpayable",
|
1150
1018
|
"type": "function"
|
1151
1019
|
},
|
1152
|
-
{
|
1153
|
-
"inputs": [
|
1154
|
-
{
|
1155
|
-
"internalType": "RoleId",
|
1156
|
-
"name": "bundleOwnerRole",
|
1157
|
-
"type": "uint64"
|
1158
|
-
}
|
1159
|
-
],
|
1160
|
-
"name": "setBundleOwnerRole",
|
1161
|
-
"outputs": [],
|
1162
|
-
"stateMutability": "nonpayable",
|
1163
|
-
"type": "function"
|
1164
|
-
},
|
1165
1020
|
{
|
1166
1021
|
"inputs": [
|
1167
1022
|
{
|
@@ -1169,12 +1024,12 @@
|
|
1169
1024
|
{
|
1170
1025
|
"internalType": "UFixed",
|
1171
1026
|
"name": "fractionalFee",
|
1172
|
-
"type": "
|
1027
|
+
"type": "uint160"
|
1173
1028
|
},
|
1174
1029
|
{
|
1175
|
-
"internalType": "
|
1030
|
+
"internalType": "Amount",
|
1176
1031
|
"name": "fixedFee",
|
1177
|
-
"type": "
|
1032
|
+
"type": "uint96"
|
1178
1033
|
}
|
1179
1034
|
],
|
1180
1035
|
"internalType": "struct Fee",
|
@@ -1186,12 +1041,12 @@
|
|
1186
1041
|
{
|
1187
1042
|
"internalType": "UFixed",
|
1188
1043
|
"name": "fractionalFee",
|
1189
|
-
"type": "
|
1044
|
+
"type": "uint160"
|
1190
1045
|
},
|
1191
1046
|
{
|
1192
|
-
"internalType": "
|
1047
|
+
"internalType": "Amount",
|
1193
1048
|
"name": "fixedFee",
|
1194
|
-
"type": "
|
1049
|
+
"type": "uint96"
|
1195
1050
|
}
|
1196
1051
|
],
|
1197
1052
|
"internalType": "struct Fee",
|
@@ -1203,12 +1058,12 @@
|
|
1203
1058
|
{
|
1204
1059
|
"internalType": "UFixed",
|
1205
1060
|
"name": "fractionalFee",
|
1206
|
-
"type": "
|
1061
|
+
"type": "uint160"
|
1207
1062
|
},
|
1208
1063
|
{
|
1209
|
-
"internalType": "
|
1064
|
+
"internalType": "Amount",
|
1210
1065
|
"name": "fixedFee",
|
1211
|
-
"type": "
|
1066
|
+
"type": "uint96"
|
1212
1067
|
}
|
1213
1068
|
],
|
1214
1069
|
"internalType": "struct Fee",
|
@@ -1224,38 +1079,12 @@
|
|
1224
1079
|
{
|
1225
1080
|
"inputs": [
|
1226
1081
|
{
|
1227
|
-
"internalType": "
|
1228
|
-
"name": "
|
1229
|
-
"type": "uint256"
|
1230
|
-
}
|
1231
|
-
],
|
1232
|
-
"name": "setMaxCapitalAmount",
|
1233
|
-
"outputs": [],
|
1234
|
-
"stateMutability": "nonpayable",
|
1235
|
-
"type": "function"
|
1236
|
-
},
|
1237
|
-
{
|
1238
|
-
"inputs": [
|
1239
|
-
{
|
1240
|
-
"internalType": "NftId",
|
1241
|
-
"name": "productNftId",
|
1082
|
+
"internalType": "Amount",
|
1083
|
+
"name": "maxBalanceAmount",
|
1242
1084
|
"type": "uint96"
|
1243
1085
|
}
|
1244
1086
|
],
|
1245
|
-
"name": "
|
1246
|
-
"outputs": [],
|
1247
|
-
"stateMutability": "nonpayable",
|
1248
|
-
"type": "function"
|
1249
|
-
},
|
1250
|
-
{
|
1251
|
-
"inputs": [
|
1252
|
-
{
|
1253
|
-
"internalType": "address",
|
1254
|
-
"name": "newWallet",
|
1255
|
-
"type": "address"
|
1256
|
-
}
|
1257
|
-
],
|
1258
|
-
"name": "setWallet",
|
1087
|
+
"name": "setMaxBalanceAmount",
|
1259
1088
|
"outputs": [],
|
1260
1089
|
"stateMutability": "nonpayable",
|
1261
1090
|
"type": "function"
|
@@ -1268,9 +1097,9 @@
|
|
1268
1097
|
"type": "uint96"
|
1269
1098
|
},
|
1270
1099
|
{
|
1271
|
-
"internalType": "
|
1100
|
+
"internalType": "Amount",
|
1272
1101
|
"name": "amount",
|
1273
|
-
"type": "
|
1102
|
+
"type": "uint96"
|
1274
1103
|
}
|
1275
1104
|
],
|
1276
1105
|
"name": "stake",
|
@@ -1297,13 +1126,6 @@
|
|
1297
1126
|
"stateMutability": "view",
|
1298
1127
|
"type": "function"
|
1299
1128
|
},
|
1300
|
-
{
|
1301
|
-
"inputs": [],
|
1302
|
-
"name": "unlock",
|
1303
|
-
"outputs": [],
|
1304
|
-
"stateMutability": "nonpayable",
|
1305
|
-
"type": "function"
|
1306
|
-
},
|
1307
1129
|
{
|
1308
1130
|
"inputs": [
|
1309
1131
|
{
|
@@ -1325,9 +1147,9 @@
|
|
1325
1147
|
"type": "uint96"
|
1326
1148
|
},
|
1327
1149
|
{
|
1328
|
-
"internalType": "
|
1150
|
+
"internalType": "Amount",
|
1329
1151
|
"name": "amount",
|
1330
|
-
"type": "
|
1152
|
+
"type": "uint96"
|
1331
1153
|
}
|
1332
1154
|
],
|
1333
1155
|
"name": "unstake",
|
@@ -1342,31 +1164,64 @@
|
|
1342
1164
|
"name": "applicationNftId",
|
1343
1165
|
"type": "uint96"
|
1344
1166
|
},
|
1345
|
-
{
|
1346
|
-
"internalType": "bytes",
|
1347
|
-
"name": "applicationData",
|
1348
|
-
"type": "bytes"
|
1349
|
-
},
|
1350
1167
|
{
|
1351
1168
|
"internalType": "NftId",
|
1352
1169
|
"name": "bundleNftId",
|
1353
1170
|
"type": "uint96"
|
1354
1171
|
},
|
1355
1172
|
{
|
1356
|
-
"internalType": "
|
1357
|
-
"name": "bundleFilter",
|
1358
|
-
"type": "bytes"
|
1359
|
-
},
|
1360
|
-
{
|
1361
|
-
"internalType": "uint256",
|
1173
|
+
"internalType": "Amount",
|
1362
1174
|
"name": "collateralizationAmount",
|
1363
|
-
"type": "
|
1175
|
+
"type": "uint96"
|
1364
1176
|
}
|
1365
1177
|
],
|
1366
1178
|
"name": "verifyApplication",
|
1367
1179
|
"outputs": [],
|
1368
1180
|
"stateMutability": "nonpayable",
|
1369
1181
|
"type": "function"
|
1182
|
+
},
|
1183
|
+
{
|
1184
|
+
"inputs": [
|
1185
|
+
{
|
1186
|
+
"internalType": "NftId",
|
1187
|
+
"name": "bundleNftId",
|
1188
|
+
"type": "uint96"
|
1189
|
+
},
|
1190
|
+
{
|
1191
|
+
"internalType": "Amount",
|
1192
|
+
"name": "amount",
|
1193
|
+
"type": "uint96"
|
1194
|
+
}
|
1195
|
+
],
|
1196
|
+
"name": "withdrawBundleFees",
|
1197
|
+
"outputs": [
|
1198
|
+
{
|
1199
|
+
"internalType": "Amount",
|
1200
|
+
"name": "withdrawnAmount",
|
1201
|
+
"type": "uint96"
|
1202
|
+
}
|
1203
|
+
],
|
1204
|
+
"stateMutability": "nonpayable",
|
1205
|
+
"type": "function"
|
1206
|
+
},
|
1207
|
+
{
|
1208
|
+
"inputs": [
|
1209
|
+
{
|
1210
|
+
"internalType": "Amount",
|
1211
|
+
"name": "amount",
|
1212
|
+
"type": "uint96"
|
1213
|
+
}
|
1214
|
+
],
|
1215
|
+
"name": "withdrawFees",
|
1216
|
+
"outputs": [
|
1217
|
+
{
|
1218
|
+
"internalType": "Amount",
|
1219
|
+
"name": "withdrawnAmount",
|
1220
|
+
"type": "uint96"
|
1221
|
+
}
|
1222
|
+
],
|
1223
|
+
"stateMutability": "nonpayable",
|
1224
|
+
"type": "function"
|
1370
1225
|
}
|
1371
1226
|
],
|
1372
1227
|
"bytecode": "0x",
|