@etherisc/gif-next 0.0.2-e79d227-681 → 0.0.2-e7a5428-226
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +57 -1
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +640 -269
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +409 -33
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +525 -213
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +179 -19
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +246 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +420 -27
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +105 -185
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +381 -46
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +58 -127
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +533 -218
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +150 -82
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +37 -106
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +379 -79
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +183 -128
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +355 -52
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +324 -250
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +380 -45
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +191 -182
- 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 +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +94 -100
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +196 -155
- 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 +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +600 -296
- 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 +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +88 -45
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +482 -50
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +373 -13
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +493 -85
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1017 -334
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +380 -52
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +914 -554
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +377 -80
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +83 -57
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +690 -566
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +141 -85
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
- 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 +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +77 -81
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +379 -47
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +41 -45
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +56 -3
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +61 -65
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +120 -68
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +99 -55
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -114
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +355 -52
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +304 -226
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +120 -76
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +200 -89
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +59 -63
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +333 -169
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +72 -76
- 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 +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +574 -360
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +146 -74
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +293 -63
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +106 -46
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +193 -182
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +380 -45
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +292 -195
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +127 -99
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +235 -4
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +181 -19
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +160 -68
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +77 -3
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +168 -157
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +258 -22
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +278 -187
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +129 -85
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +135 -126
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +103 -75
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +187 -176
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +326 -91
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +103 -47
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +54 -19
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +56 -3
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/{authorization/AccessAdmin.sol/IAccessManagedChecker.json → registry/IRelease.sol/IRelease.json} +6 -6
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +92 -57
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +727 -479
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1061 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +75 -39
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +79 -43
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +386 -64
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +437 -26
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +60 -50
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +247 -531
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +111 -95
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +178 -34
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +41 -31
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +155 -382
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +41 -45
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +6 -6
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +139 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +56 -3
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +60 -64
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +6 -6
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -62
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +51 -11
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1026 -101
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +214 -110
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1218 -214
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +139 -61
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +174 -217
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -174
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +87 -55
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +957 -603
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +101 -51
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +30 -6
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +65 -27
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
- package/contracts/accounting/AccountingService.sol +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +422 -258
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +146 -4
- package/contracts/authorization/Authorization.sol +142 -262
- package/contracts/authorization/IAccess.sol +25 -7
- package/contracts/authorization/IAccessAdmin.sol +87 -80
- package/contracts/authorization/IAuthorization.sol +9 -43
- package/contracts/authorization/IServiceAuthorization.sol +55 -17
- package/contracts/authorization/ServiceAuthorization.sol +248 -34
- package/contracts/distribution/BasicDistribution.sol +16 -14
- package/contracts/distribution/BasicDistributionAuthorization.sol +29 -9
- package/contracts/distribution/Distribution.sol +38 -75
- package/contracts/distribution/DistributionService.sol +181 -87
- package/contracts/distribution/DistributionServiceManager.sol +1 -1
- package/contracts/distribution/IDistributionComponent.sol +3 -10
- package/contracts/distribution/IDistributionService.sol +34 -19
- package/contracts/examples/fire/FirePool.sol +6 -6
- package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
- package/contracts/examples/fire/FireProduct.sol +15 -13
- package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +34 -11
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
- package/contracts/examples/unpermissioned/SimplePool.sol +7 -13
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +119 -27
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +4 -4
- package/contracts/instance/IInstance.sol +92 -19
- package/contracts/instance/IInstanceService.sol +52 -9
- package/contracts/instance/Instance.sol +163 -57
- package/contracts/instance/InstanceAdmin.sol +271 -166
- package/contracts/instance/InstanceAuthorizationV3.sol +89 -40
- package/contracts/instance/InstanceReader.sol +422 -369
- package/contracts/instance/InstanceService.sol +252 -176
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/InstanceStore.sol +13 -2
- package/contracts/instance/RiskSet.sol +21 -14
- package/contracts/instance/base/BalanceStore.sol +4 -6
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +6 -8
- package/contracts/instance/base/ObjectSet.sol +7 -8
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +19 -7
- package/contracts/instance/module/IDistribution.sol +21 -8
- package/contracts/instance/module/IPolicy.sol +28 -8
- package/contracts/instance/module/IRisk.sol +4 -0
- package/contracts/oracle/BasicOracle.sol +2 -4
- package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/Oracle.sol +3 -5
- package/contracts/oracle/OracleService.sol +24 -23
- package/contracts/oracle/OracleServiceManager.sol +1 -1
- package/contracts/pool/BasicPool.sol +3 -16
- package/contracts/pool/BasicPoolAuthorization.sol +29 -16
- package/contracts/pool/BundleService.sol +67 -104
- package/contracts/pool/BundleServiceManager.sol +1 -1
- package/contracts/pool/IBundleService.sol +27 -33
- package/contracts/pool/IPoolService.sol +57 -40
- package/contracts/pool/Pool.sol +13 -25
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +203 -201
- package/contracts/pool/PoolServiceManager.sol +1 -1
- package/contracts/product/ApplicationService.sol +86 -18
- package/contracts/product/ApplicationServiceManager.sol +1 -1
- package/contracts/product/BasicProduct.sol +3 -3
- package/contracts/product/BasicProductAuthorization.sol +32 -11
- package/contracts/product/ClaimService.sol +187 -171
- package/contracts/product/ClaimServiceManager.sol +1 -1
- package/contracts/product/IApplicationService.sol +24 -2
- package/contracts/product/IClaimService.sol +18 -5
- package/contracts/product/IPolicyService.sol +20 -8
- package/contracts/product/IPricingService.sol +1 -0
- package/contracts/product/IProductComponent.sol +4 -1
- package/contracts/product/IRiskService.sol +25 -10
- package/contracts/product/PolicyService.sol +110 -198
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +1 -1
- package/contracts/product/PricingService.sol +52 -46
- package/contracts/product/PricingServiceManager.sol +3 -3
- package/contracts/product/Product.sol +93 -27
- package/contracts/product/RiskService.sol +119 -36
- package/contracts/product/RiskServiceManager.sol +1 -1
- package/contracts/registry/ChainNft.sol +4 -2
- package/contracts/registry/IRegistry.sol +23 -24
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/Registry.sol +22 -11
- package/contracts/registry/RegistryAdmin.sol +100 -363
- package/contracts/registry/RegistryAuthorization.sol +309 -0
- package/contracts/registry/RegistryService.sol +4 -4
- package/contracts/registry/RegistryServiceManager.sol +1 -1
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +2 -0
- package/contracts/registry/ReleaseRegistry.sol +157 -117
- package/contracts/registry/ServiceAuthorizationV3.sol +194 -27
- package/contracts/registry/TokenRegistry.sol +61 -59
- package/contracts/shared/Component.sol +34 -37
- package/contracts/shared/ComponentService.sol +314 -433
- package/contracts/shared/ComponentServiceManager.sol +1 -1
- package/contracts/shared/ContractLib.sol +164 -76
- package/contracts/shared/IComponent.sol +1 -10
- package/contracts/shared/IComponentService.sol +22 -41
- package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
- package/contracts/shared/IKeyValueStore.sol +1 -1
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IRegisterable.sol +15 -5
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InitializableERC165.sol +9 -1
- package/contracts/shared/InstanceLinkedComponent.sol +7 -18
- package/contracts/shared/KeyValueStore.sol +3 -3
- package/contracts/shared/NftOwnable.sol +8 -6
- package/contracts/shared/PolicyHolder.sol +4 -3
- package/contracts/shared/Registerable.sol +42 -19
- package/contracts/shared/RegistryLinked.sol +1 -1
- package/contracts/shared/Service.sol +13 -30
- package/contracts/shared/TokenHandler.sol +45 -92
- package/contracts/staking/IStaking.sol +155 -64
- package/contracts/staking/IStakingService.sol +45 -75
- package/contracts/staking/Staking.sol +444 -203
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
- package/contracts/staking/StakingManager.sol +1 -2
- package/contracts/staking/StakingReader.sol +41 -80
- package/contracts/staking/StakingService.sol +62 -181
- package/contracts/staking/StakingServiceManager.sol +6 -4
- package/contracts/staking/StakingStore.sol +697 -329
- package/contracts/staking/TargetManagerLib.sol +1 -1
- package/contracts/type/Amount.sol +4 -0
- package/contracts/type/Blocknumber.sol +15 -15
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/NftId.sol +3 -3
- package/contracts/type/ObjectType.sol +67 -38
- package/contracts/type/RiskId.sol +9 -3
- package/contracts/type/RoleId.sol +63 -45
- package/contracts/type/Seconds.sol +14 -0
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/String.sol +12 -0
- package/contracts/type/Timestamp.sol +4 -7
- package/contracts/type/UFixed.sol +35 -127
- package/contracts/type/Version.sol +54 -5
- package/contracts/upgradeability/IVersionable.sol +3 -0
- package/contracts/upgradeability/ProxyManager.sol +26 -12
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
- package/contracts/upgradeability/Versionable.sol +6 -3
- package/package.json +2 -2
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
- package/contracts/authorization/ReleaseAccessManager.sol +0 -38
- package/contracts/instance/module/IAccess.sol +0 -46
- package/contracts/shared/ComponentVerifyingService.sol +0 -128
@@ -41,6 +41,17 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "authority",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
44
55
|
{
|
45
56
|
"inputs": [
|
46
57
|
{
|
@@ -136,22 +147,6 @@
|
|
136
147
|
"name": "ErrorBundleServiceExtensionLifetimeIsZero",
|
137
148
|
"type": "error"
|
138
149
|
},
|
139
|
-
{
|
140
|
-
"inputs": [
|
141
|
-
{
|
142
|
-
"internalType": "Amount",
|
143
|
-
"name": "amount",
|
144
|
-
"type": "uint96"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"internalType": "Amount",
|
148
|
-
"name": "limit",
|
149
|
-
"type": "uint96"
|
150
|
-
}
|
151
|
-
],
|
152
|
-
"name": "ErrorBundleServiceFeesWithdrawAmountExceedsLimit",
|
153
|
-
"type": "error"
|
154
|
-
},
|
155
150
|
{
|
156
151
|
"inputs": [
|
157
152
|
{
|
@@ -267,7 +262,17 @@
|
|
267
262
|
},
|
268
263
|
{
|
269
264
|
"inputs": [],
|
270
|
-
"name": "
|
265
|
+
"name": "ErrorRegisterableNotActive",
|
266
|
+
"type": "error"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"inputs": [],
|
270
|
+
"name": "ErrorVersionableInitializeNotImplemented",
|
271
|
+
"type": "error"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"inputs": [],
|
275
|
+
"name": "ErrorVersionableUpgradeNotImplemented",
|
271
276
|
"type": "error"
|
272
277
|
},
|
273
278
|
{
|
@@ -293,7 +298,7 @@
|
|
293
298
|
"type": "uint96"
|
294
299
|
}
|
295
300
|
],
|
296
|
-
"name": "
|
301
|
+
"name": "LogBundleServiceBundleClosed",
|
297
302
|
"type": "event"
|
298
303
|
},
|
299
304
|
{
|
@@ -310,6 +315,12 @@
|
|
310
315
|
"internalType": "NftId",
|
311
316
|
"name": "poolNftId",
|
312
317
|
"type": "uint96"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"indexed": false,
|
321
|
+
"internalType": "Seconds",
|
322
|
+
"name": "lifetime",
|
323
|
+
"type": "uint40"
|
313
324
|
}
|
314
325
|
],
|
315
326
|
"name": "LogBundleServiceBundleCreated",
|
@@ -340,6 +351,31 @@
|
|
340
351
|
"name": "LogBundleServiceBundleExtended",
|
341
352
|
"type": "event"
|
342
353
|
},
|
354
|
+
{
|
355
|
+
"anonymous": false,
|
356
|
+
"inputs": [
|
357
|
+
{
|
358
|
+
"indexed": false,
|
359
|
+
"internalType": "NftId",
|
360
|
+
"name": "bundleNftId",
|
361
|
+
"type": "uint96"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"indexed": false,
|
365
|
+
"internalType": "Amount",
|
366
|
+
"name": "fixedFee",
|
367
|
+
"type": "uint96"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"indexed": false,
|
371
|
+
"internalType": "UFixed",
|
372
|
+
"name": "fractionalFee",
|
373
|
+
"type": "uint160"
|
374
|
+
}
|
375
|
+
],
|
376
|
+
"name": "LogBundleServiceBundleFeeUpdated",
|
377
|
+
"type": "event"
|
378
|
+
},
|
343
379
|
{
|
344
380
|
"anonymous": false,
|
345
381
|
"inputs": [
|
@@ -364,15 +400,35 @@
|
|
364
400
|
},
|
365
401
|
{
|
366
402
|
"indexed": false,
|
367
|
-
"internalType": "
|
368
|
-
"name": "
|
369
|
-
"type": "
|
370
|
-
}
|
403
|
+
"internalType": "Amount",
|
404
|
+
"name": "amount",
|
405
|
+
"type": "uint96"
|
406
|
+
}
|
407
|
+
],
|
408
|
+
"name": "LogBundleServiceBundleStaked",
|
409
|
+
"type": "event"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"anonymous": false,
|
413
|
+
"inputs": [
|
371
414
|
{
|
372
415
|
"indexed": false,
|
373
|
-
"internalType": "
|
374
|
-
"name": "
|
375
|
-
"type": "
|
416
|
+
"internalType": "NftId",
|
417
|
+
"name": "bundleNftId",
|
418
|
+
"type": "uint96"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"name": "LogBundleServiceBundleUnlocked",
|
422
|
+
"type": "event"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"anonymous": false,
|
426
|
+
"inputs": [
|
427
|
+
{
|
428
|
+
"indexed": false,
|
429
|
+
"internalType": "NftId",
|
430
|
+
"name": "bundleNftId",
|
431
|
+
"type": "uint96"
|
376
432
|
},
|
377
433
|
{
|
378
434
|
"indexed": false,
|
@@ -381,7 +437,76 @@
|
|
381
437
|
"type": "uint96"
|
382
438
|
}
|
383
439
|
],
|
384
|
-
"name": "
|
440
|
+
"name": "LogBundleServiceBundleUnstaked",
|
441
|
+
"type": "event"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"anonymous": false,
|
445
|
+
"inputs": [
|
446
|
+
{
|
447
|
+
"indexed": false,
|
448
|
+
"internalType": "NftId",
|
449
|
+
"name": "bundleNftId",
|
450
|
+
"type": "uint96"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"indexed": false,
|
454
|
+
"internalType": "NftId",
|
455
|
+
"name": "policyNftId",
|
456
|
+
"type": "uint96"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"indexed": false,
|
460
|
+
"internalType": "Amount",
|
461
|
+
"name": "collateralAmount",
|
462
|
+
"type": "uint96"
|
463
|
+
}
|
464
|
+
],
|
465
|
+
"name": "LogBundleServiceCollateralLocked",
|
466
|
+
"type": "event"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"anonymous": false,
|
470
|
+
"inputs": [
|
471
|
+
{
|
472
|
+
"indexed": false,
|
473
|
+
"internalType": "NftId",
|
474
|
+
"name": "bundleNftId",
|
475
|
+
"type": "uint96"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"indexed": false,
|
479
|
+
"internalType": "NftId",
|
480
|
+
"name": "policyNftId",
|
481
|
+
"type": "uint96"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"indexed": false,
|
485
|
+
"internalType": "Amount",
|
486
|
+
"name": "collateralAmount",
|
487
|
+
"type": "uint96"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"name": "LogBundleServiceCollateralReleased",
|
491
|
+
"type": "event"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"anonymous": false,
|
495
|
+
"inputs": [
|
496
|
+
{
|
497
|
+
"indexed": false,
|
498
|
+
"internalType": "NftId",
|
499
|
+
"name": "nftId",
|
500
|
+
"type": "uint96"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"indexed": false,
|
504
|
+
"internalType": "address",
|
505
|
+
"name": "owner",
|
506
|
+
"type": "address"
|
507
|
+
}
|
508
|
+
],
|
509
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
385
510
|
"type": "event"
|
386
511
|
},
|
387
512
|
{
|
@@ -438,12 +563,12 @@
|
|
438
563
|
{
|
439
564
|
"internalType": "UFixed",
|
440
565
|
"name": "fractionalFee",
|
441
|
-
"type": "
|
566
|
+
"type": "uint160"
|
442
567
|
},
|
443
568
|
{
|
444
|
-
"internalType": "
|
569
|
+
"internalType": "Amount",
|
445
570
|
"name": "fixedFee",
|
446
|
-
"type": "
|
571
|
+
"type": "uint96"
|
447
572
|
}
|
448
573
|
],
|
449
574
|
"internalType": "struct Fee",
|
@@ -608,7 +733,7 @@
|
|
608
733
|
"type": "uint8"
|
609
734
|
}
|
610
735
|
],
|
611
|
-
"stateMutability": "
|
736
|
+
"stateMutability": "view",
|
612
737
|
"type": "function"
|
613
738
|
},
|
614
739
|
{
|
@@ -621,7 +746,7 @@
|
|
621
746
|
"type": "uint64"
|
622
747
|
}
|
623
748
|
],
|
624
|
-
"stateMutability": "
|
749
|
+
"stateMutability": "view",
|
625
750
|
"type": "function"
|
626
751
|
},
|
627
752
|
{
|
@@ -657,12 +782,12 @@
|
|
657
782
|
},
|
658
783
|
{
|
659
784
|
"inputs": [],
|
660
|
-
"name": "
|
785
|
+
"name": "isActive",
|
661
786
|
"outputs": [
|
662
787
|
{
|
663
|
-
"internalType": "
|
664
|
-
"name": "",
|
665
|
-
"type": "
|
788
|
+
"internalType": "bool",
|
789
|
+
"name": "active",
|
790
|
+
"type": "bool"
|
666
791
|
}
|
667
792
|
],
|
668
793
|
"stateMutability": "view",
|
@@ -670,27 +795,27 @@
|
|
670
795
|
},
|
671
796
|
{
|
672
797
|
"inputs": [],
|
673
|
-
"name": "
|
798
|
+
"name": "isConsumingScheduledOp",
|
674
799
|
"outputs": [
|
675
800
|
{
|
676
|
-
"internalType": "
|
801
|
+
"internalType": "bytes4",
|
677
802
|
"name": "",
|
678
|
-
"type": "
|
803
|
+
"type": "bytes4"
|
679
804
|
}
|
680
805
|
],
|
681
|
-
"stateMutability": "
|
806
|
+
"stateMutability": "view",
|
682
807
|
"type": "function"
|
683
808
|
},
|
684
809
|
{
|
685
|
-
"inputs": [
|
810
|
+
"inputs": [],
|
811
|
+
"name": "linkToRegisteredNftId",
|
812
|
+
"outputs": [
|
686
813
|
{
|
687
814
|
"internalType": "NftId",
|
688
|
-
"name": "
|
815
|
+
"name": "",
|
689
816
|
"type": "uint96"
|
690
817
|
}
|
691
818
|
],
|
692
|
-
"name": "lock",
|
693
|
-
"outputs": [],
|
694
819
|
"stateMutability": "nonpayable",
|
695
820
|
"type": "function"
|
696
821
|
},
|
@@ -725,8 +850,8 @@
|
|
725
850
|
{
|
726
851
|
"inputs": [
|
727
852
|
{
|
728
|
-
"internalType": "contract
|
729
|
-
"name": "
|
853
|
+
"internalType": "contract InstanceStore",
|
854
|
+
"name": "instanceStore",
|
730
855
|
"type": "address"
|
731
856
|
},
|
732
857
|
{
|
@@ -775,12 +900,12 @@
|
|
775
900
|
{
|
776
901
|
"internalType": "UFixed",
|
777
902
|
"name": "fractionalFee",
|
778
|
-
"type": "
|
903
|
+
"type": "uint160"
|
779
904
|
},
|
780
905
|
{
|
781
|
-
"internalType": "
|
906
|
+
"internalType": "Amount",
|
782
907
|
"name": "fixedFee",
|
783
|
-
"type": "
|
908
|
+
"type": "uint96"
|
784
909
|
}
|
785
910
|
],
|
786
911
|
"internalType": "struct Fee",
|
@@ -796,8 +921,31 @@
|
|
796
921
|
{
|
797
922
|
"inputs": [
|
798
923
|
{
|
799
|
-
"internalType": "
|
800
|
-
"name": "
|
924
|
+
"internalType": "NftId",
|
925
|
+
"name": "bundleNftId",
|
926
|
+
"type": "uint96"
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"internalType": "bool",
|
930
|
+
"name": "locked",
|
931
|
+
"type": "bool"
|
932
|
+
}
|
933
|
+
],
|
934
|
+
"name": "setLocked",
|
935
|
+
"outputs": [],
|
936
|
+
"stateMutability": "nonpayable",
|
937
|
+
"type": "function"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"inputs": [
|
941
|
+
{
|
942
|
+
"internalType": "contract InstanceReader",
|
943
|
+
"name": "instanceReader",
|
944
|
+
"type": "address"
|
945
|
+
},
|
946
|
+
{
|
947
|
+
"internalType": "contract InstanceStore",
|
948
|
+
"name": "instanceStore",
|
801
949
|
"type": "address"
|
802
950
|
},
|
803
951
|
{
|
@@ -838,21 +986,8 @@
|
|
838
986
|
{
|
839
987
|
"inputs": [
|
840
988
|
{
|
841
|
-
"internalType": "
|
842
|
-
"name": "
|
843
|
-
"type": "uint96"
|
844
|
-
}
|
845
|
-
],
|
846
|
-
"name": "unlock",
|
847
|
-
"outputs": [],
|
848
|
-
"stateMutability": "nonpayable",
|
849
|
-
"type": "function"
|
850
|
-
},
|
851
|
-
{
|
852
|
-
"inputs": [
|
853
|
-
{
|
854
|
-
"internalType": "contract IInstance",
|
855
|
-
"name": "instance",
|
989
|
+
"internalType": "contract InstanceStore",
|
990
|
+
"name": "instanceStore",
|
856
991
|
"type": "address"
|
857
992
|
},
|
858
993
|
{
|
@@ -889,30 +1024,6 @@
|
|
889
1024
|
"outputs": [],
|
890
1025
|
"stateMutability": "nonpayable",
|
891
1026
|
"type": "function"
|
892
|
-
},
|
893
|
-
{
|
894
|
-
"inputs": [
|
895
|
-
{
|
896
|
-
"internalType": "NftId",
|
897
|
-
"name": "bundleNftId",
|
898
|
-
"type": "uint96"
|
899
|
-
},
|
900
|
-
{
|
901
|
-
"internalType": "Amount",
|
902
|
-
"name": "amount",
|
903
|
-
"type": "uint96"
|
904
|
-
}
|
905
|
-
],
|
906
|
-
"name": "withdrawBundleFees",
|
907
|
-
"outputs": [
|
908
|
-
{
|
909
|
-
"internalType": "Amount",
|
910
|
-
"name": "withdrawnAmount",
|
911
|
-
"type": "uint96"
|
912
|
-
}
|
913
|
-
],
|
914
|
-
"stateMutability": "nonpayable",
|
915
|
-
"type": "function"
|
916
1027
|
}
|
917
1028
|
],
|
918
1029
|
"bytecode": "0x",
|
@@ -41,6 +41,17 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "authority",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
44
55
|
{
|
45
56
|
"inputs": [],
|
46
57
|
"name": "ErrorComponentNameLengthZero",
|
@@ -67,16 +78,6 @@
|
|
67
78
|
"name": "ErrorComponentProductNftIdZero",
|
68
79
|
"type": "error"
|
69
80
|
},
|
70
|
-
{
|
71
|
-
"inputs": [],
|
72
|
-
"name": "ErrorComponentTokenAddressNonzero",
|
73
|
-
"type": "error"
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"inputs": [],
|
77
|
-
"name": "ErrorComponentTokenAddressZero",
|
78
|
-
"type": "error"
|
79
|
-
},
|
80
81
|
{
|
81
82
|
"inputs": [],
|
82
83
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
@@ -227,6 +228,11 @@
|
|
227
228
|
"name": "ErrorPoolNotPoolService",
|
228
229
|
"type": "error"
|
229
230
|
},
|
231
|
+
{
|
232
|
+
"inputs": [],
|
233
|
+
"name": "ErrorRegisterableNotActive",
|
234
|
+
"type": "error"
|
235
|
+
},
|
230
236
|
{
|
231
237
|
"anonymous": false,
|
232
238
|
"inputs": [
|
@@ -315,6 +321,25 @@
|
|
315
321
|
"name": "LogComponentWalletTokensTransferred",
|
316
322
|
"type": "event"
|
317
323
|
},
|
324
|
+
{
|
325
|
+
"anonymous": false,
|
326
|
+
"inputs": [
|
327
|
+
{
|
328
|
+
"indexed": false,
|
329
|
+
"internalType": "NftId",
|
330
|
+
"name": "nftId",
|
331
|
+
"type": "uint96"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"indexed": false,
|
335
|
+
"internalType": "address",
|
336
|
+
"name": "owner",
|
337
|
+
"type": "address"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
341
|
+
"type": "event"
|
342
|
+
},
|
318
343
|
{
|
319
344
|
"anonymous": false,
|
320
345
|
"inputs": [
|
@@ -379,24 +404,6 @@
|
|
379
404
|
"stateMutability": "view",
|
380
405
|
"type": "function"
|
381
406
|
},
|
382
|
-
{
|
383
|
-
"inputs": [
|
384
|
-
{
|
385
|
-
"internalType": "contract IERC20Metadata",
|
386
|
-
"name": "token",
|
387
|
-
"type": "address"
|
388
|
-
},
|
389
|
-
{
|
390
|
-
"internalType": "Amount",
|
391
|
-
"name": "spendingLimitAmount",
|
392
|
-
"type": "uint96"
|
393
|
-
}
|
394
|
-
],
|
395
|
-
"name": "approveTokenHandler",
|
396
|
-
"outputs": [],
|
397
|
-
"stateMutability": "nonpayable",
|
398
|
-
"type": "function"
|
399
|
-
},
|
400
407
|
{
|
401
408
|
"inputs": [],
|
402
409
|
"name": "authority",
|
@@ -434,11 +441,6 @@
|
|
434
441
|
"name": "name",
|
435
442
|
"type": "string"
|
436
443
|
},
|
437
|
-
{
|
438
|
-
"internalType": "contract IERC20Metadata",
|
439
|
-
"name": "token",
|
440
|
-
"type": "address"
|
441
|
-
},
|
442
444
|
{
|
443
445
|
"internalType": "contract TokenHandler",
|
444
446
|
"name": "tokenHandler",
|
@@ -469,11 +471,6 @@
|
|
469
471
|
"name": "name",
|
470
472
|
"type": "string"
|
471
473
|
},
|
472
|
-
{
|
473
|
-
"internalType": "contract IERC20Metadata",
|
474
|
-
"name": "token",
|
475
|
-
"type": "address"
|
476
|
-
},
|
477
474
|
{
|
478
475
|
"internalType": "contract TokenHandler",
|
479
476
|
"name": "tokenHandler",
|
@@ -554,6 +551,16 @@
|
|
554
551
|
"name": "maxBalanceAmount",
|
555
552
|
"type": "uint96"
|
556
553
|
},
|
554
|
+
{
|
555
|
+
"internalType": "UFixed",
|
556
|
+
"name": "collateralizationLevel",
|
557
|
+
"type": "uint160"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"internalType": "UFixed",
|
561
|
+
"name": "retentionLevel",
|
562
|
+
"type": "uint160"
|
563
|
+
},
|
557
564
|
{
|
558
565
|
"internalType": "bool",
|
559
566
|
"name": "isInterceptingBundleTransfers",
|
@@ -573,16 +580,6 @@
|
|
573
580
|
"internalType": "bool",
|
574
581
|
"name": "isVerifyingApplications",
|
575
582
|
"type": "bool"
|
576
|
-
},
|
577
|
-
{
|
578
|
-
"internalType": "UFixed",
|
579
|
-
"name": "collateralizationLevel",
|
580
|
-
"type": "uint256"
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"internalType": "UFixed",
|
584
|
-
"name": "retentionLevel",
|
585
|
-
"type": "uint256"
|
586
583
|
}
|
587
584
|
],
|
588
585
|
"internalType": "struct IComponents.PoolInfo",
|
@@ -668,7 +665,7 @@
|
|
668
665
|
"type": "uint8"
|
669
666
|
}
|
670
667
|
],
|
671
|
-
"stateMutability": "
|
668
|
+
"stateMutability": "view",
|
672
669
|
"type": "function"
|
673
670
|
},
|
674
671
|
{
|
@@ -710,6 +707,19 @@
|
|
710
707
|
"stateMutability": "view",
|
711
708
|
"type": "function"
|
712
709
|
},
|
710
|
+
{
|
711
|
+
"inputs": [],
|
712
|
+
"name": "isActive",
|
713
|
+
"outputs": [
|
714
|
+
{
|
715
|
+
"internalType": "bool",
|
716
|
+
"name": "active",
|
717
|
+
"type": "bool"
|
718
|
+
}
|
719
|
+
],
|
720
|
+
"stateMutability": "view",
|
721
|
+
"type": "function"
|
722
|
+
},
|
713
723
|
{
|
714
724
|
"inputs": [],
|
715
725
|
"name": "isConsumingScheduledOp",
|
@@ -762,13 +772,6 @@
|
|
762
772
|
"stateMutability": "nonpayable",
|
763
773
|
"type": "function"
|
764
774
|
},
|
765
|
-
{
|
766
|
-
"inputs": [],
|
767
|
-
"name": "lock",
|
768
|
-
"outputs": [],
|
769
|
-
"stateMutability": "nonpayable",
|
770
|
-
"type": "function"
|
771
|
-
},
|
772
775
|
{
|
773
776
|
"inputs": [
|
774
777
|
{
|
@@ -852,13 +855,6 @@
|
|
852
855
|
"stateMutability": "view",
|
853
856
|
"type": "function"
|
854
857
|
},
|
855
|
-
{
|
856
|
-
"inputs": [],
|
857
|
-
"name": "unlock",
|
858
|
-
"outputs": [],
|
859
|
-
"stateMutability": "nonpayable",
|
860
|
-
"type": "function"
|
861
|
-
},
|
862
858
|
{
|
863
859
|
"inputs": [
|
864
860
|
{
|