@etherisc/gif-next 0.0.2-de7c770-422 → 0.0.2-deb924b-641
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +28 -7
- 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 +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +203 -77
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +200 -16
- 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 +142 -44
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +107 -15
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +194 -214
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +206 -27
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +132 -128
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +280 -171
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +146 -69
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +119 -110
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +148 -72
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2040 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +234 -166
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -151
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +321 -183
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +778 -330
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +158 -57
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -103
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +211 -82
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +446 -143
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +150 -90
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +781 -202
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +134 -157
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +110 -49
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +473 -342
- 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 +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- 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 +46 -5
- 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 +151 -171
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +180 -29
- 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 +113 -104
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +127 -123
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +156 -81
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +130 -45
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +146 -142
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +206 -27
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +161 -262
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +114 -85
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +84 -111
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +133 -135
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +279 -247
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +146 -153
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +495 -390
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +168 -55
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +135 -54
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +106 -45
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +260 -195
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +206 -27
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +319 -148
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +145 -72
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +89 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +199 -21
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +244 -48
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +105 -52
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +246 -176
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +55 -2
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +377 -148
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +153 -60
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +185 -115
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +123 -54
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +256 -191
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +117 -63
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +115 -42
- 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 +117 -17
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
- 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 +161 -53
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +326 -259
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +112 -183
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +102 -37
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +414 -250
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +105 -83
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +498 -495
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +144 -77
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +60 -2
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -65
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +446 -276
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +113 -104
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -6
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
- 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 +55 -2
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +126 -122
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -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 +18 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -38
- 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 +60 -2
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
- 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 +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +113 -115
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +119 -16
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +49 -44
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +203 -185
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +131 -53
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -63
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +175 -55
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +111 -42
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +171 -130
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +23 -23
- 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 +33 -9
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
- 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 +3 -3
- 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 +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- 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 +2 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
- 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 +118 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- 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/StateId.sol/StateIdLib.json +15 -2
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +16 -3
- 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 +47 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +79 -27
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.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 +231 -131
- package/contracts/authorization/AccessManagerCloneable.sol +136 -3
- package/contracts/authorization/Authorization.sol +321 -201
- package/contracts/authorization/IAccess.sol +1 -0
- package/contracts/authorization/IAccessAdmin.sol +17 -10
- package/contracts/authorization/IAuthorization.sol +27 -7
- package/contracts/authorization/IServiceAuthorization.sol +3 -1
- package/contracts/authorization/ServiceAuthorization.sol +26 -10
- package/contracts/distribution/BasicDistribution.sol +15 -12
- package/contracts/distribution/BasicDistributionAuthorization.sol +22 -9
- package/contracts/distribution/Distribution.sol +41 -47
- package/contracts/distribution/DistributionService.sol +104 -82
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +1 -1
- package/contracts/distribution/IDistributionService.sol +19 -19
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +90 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +438 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +11 -4
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -4
- package/contracts/examples/unpermissioned/SimplePool.sol +37 -7
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +49 -23
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IInstance.sol +17 -10
- package/contracts/instance/IInstanceService.sol +9 -29
- package/contracts/instance/Instance.sol +52 -34
- package/contracts/instance/InstanceAdmin.sol +254 -102
- package/contracts/instance/InstanceAuthorizationV3.sol +54 -45
- package/contracts/instance/InstanceReader.sol +246 -39
- package/contracts/instance/InstanceService.sol +86 -149
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +13 -2
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +4 -2
- package/contracts/instance/base/ObjectSet.sol +31 -33
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IComponents.sol +13 -8
- package/contracts/instance/module/IDistribution.sol +2 -1
- package/contracts/instance/module/IPolicy.sol +4 -3
- package/contracts/instance/module/IRisk.sol +3 -0
- package/contracts/oracle/BasicOracle.sol +0 -1
- package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
- package/contracts/oracle/IOracleService.sol +2 -1
- package/contracts/oracle/Oracle.sol +5 -16
- package/contracts/oracle/OracleService.sol +111 -80
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +33 -24
- package/contracts/pool/BasicPoolAuthorization.sol +27 -9
- package/contracts/pool/BundleService.sol +91 -134
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +15 -34
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +70 -65
- package/contracts/pool/Pool.sol +136 -117
- package/contracts/pool/PoolLib.sol +216 -0
- package/contracts/pool/PoolService.sol +484 -236
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +32 -21
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +10 -12
- package/contracts/product/BasicProductAuthorization.sol +24 -11
- package/contracts/product/ClaimService.sol +300 -155
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +5 -2
- package/contracts/product/IClaimService.sol +17 -4
- package/contracts/product/IPolicyService.sol +33 -11
- package/contracts/product/IPricingService.sol +9 -9
- package/contracts/product/IProductComponent.sol +27 -4
- package/contracts/product/PolicyService.sol +343 -234
- package/contracts/product/PolicyServiceLib.sol +65 -0
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +31 -28
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +125 -72
- package/contracts/product/RiskService.sol +75 -27
- package/contracts/product/RiskServiceManager.sol +4 -4
- package/contracts/registry/ChainNft.sol +10 -11
- package/contracts/registry/IRegistry.sol +16 -18
- package/contracts/registry/IRegistryService.sol +5 -12
- package/contracts/registry/IRelease.sol +26 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +36 -8
- package/contracts/registry/RegistryAdmin.sol +132 -242
- package/contracts/registry/RegistryService.sol +36 -47
- package/contracts/registry/RegistryServiceManager.sol +3 -3
- package/contracts/registry/ReleaseAdmin.sol +245 -0
- package/contracts/registry/ReleaseLifecycle.sol +8 -3
- package/contracts/registry/ReleaseRegistry.sol +257 -237
- package/contracts/registry/ServiceAuthorizationV3.sol +98 -50
- package/contracts/registry/TokenRegistry.sol +6 -8
- package/contracts/shared/Component.sol +69 -110
- package/contracts/shared/ComponentService.sol +424 -373
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ComponentVerifyingService.sol +27 -16
- package/contracts/shared/ContractLib.sol +253 -0
- package/contracts/shared/IComponent.sol +8 -17
- package/contracts/shared/IComponentService.sol +41 -37
- package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IPolicyHolder.sol +12 -13
- package/contracts/shared/IRegisterable.sol +23 -1
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InstanceLinkedComponent.sol +69 -44
- package/contracts/shared/KeyValueStore.sol +1 -1
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +26 -6
- package/contracts/shared/PolicyHolder.sol +12 -6
- package/contracts/shared/Registerable.sol +53 -19
- package/contracts/shared/RegistryLinked.sol +7 -13
- package/contracts/shared/Service.sol +13 -30
- package/contracts/shared/TokenHandler.sol +274 -72
- package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
- package/contracts/staking/IStaking.sol +6 -10
- package/contracts/staking/IStakingService.sol +11 -4
- package/contracts/staking/StakeManagerLib.sol +67 -16
- package/contracts/staking/Staking.sol +74 -42
- package/contracts/staking/StakingManager.sol +8 -6
- package/contracts/staking/StakingReader.sol +13 -21
- package/contracts/staking/StakingService.sol +66 -24
- package/contracts/staking/StakingServiceManager.sol +6 -5
- package/contracts/type/Amount.sol +15 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +7 -0
- package/contracts/type/ObjectType.sol +49 -21
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/RiskId.sol +35 -4
- package/contracts/type/RoleId.sol +23 -15
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/StateId.sol +14 -1
- package/contracts/type/Timestamp.sol +0 -5
- package/contracts/type/UFixed.sol +13 -119
- package/contracts/type/Version.sol +15 -5
- package/contracts/upgradeability/ProxyManager.sol +68 -34
- package/contracts/upgradeability/Versionable.sol +2 -2
- package/package.json +4 -3
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
- 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/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
- package/contracts/authorization/IModuleAuthorization.sol +0 -21
- package/contracts/authorization/ModuleAuthorization.sol +0 -78
- package/contracts/instance/module/IAccess.sol +0 -46
- package/contracts/shared/InitializableCustom.sol +0 -177
@@ -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",
|
@@ -59,7 +70,23 @@
|
|
59
70
|
},
|
60
71
|
{
|
61
72
|
"inputs": [],
|
62
|
-
"name": "
|
73
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [],
|
78
|
+
"name": "ErrorComponentProductNftIdZero",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "address",
|
85
|
+
"name": "token",
|
86
|
+
"type": "address"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "ErrorComponentTokenInvalid",
|
63
90
|
"type": "error"
|
64
91
|
},
|
65
92
|
{
|
@@ -104,6 +131,22 @@
|
|
104
131
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
105
132
|
"type": "error"
|
106
133
|
},
|
134
|
+
{
|
135
|
+
"inputs": [
|
136
|
+
{
|
137
|
+
"internalType": "NftId",
|
138
|
+
"name": "nftId",
|
139
|
+
"type": "uint96"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"internalType": "ObjectType",
|
143
|
+
"name": "expectedObjectType",
|
144
|
+
"type": "uint8"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"name": "ErrorNftOwnableInvalidType",
|
148
|
+
"type": "error"
|
149
|
+
},
|
107
150
|
{
|
108
151
|
"inputs": [
|
109
152
|
{
|
@@ -126,6 +169,11 @@
|
|
126
169
|
"name": "ErrorNotRegistry",
|
127
170
|
"type": "error"
|
128
171
|
},
|
172
|
+
{
|
173
|
+
"inputs": [],
|
174
|
+
"name": "ErrorRegisterableNotActive",
|
175
|
+
"type": "error"
|
176
|
+
},
|
129
177
|
{
|
130
178
|
"inputs": [
|
131
179
|
{
|
@@ -226,6 +274,17 @@
|
|
226
274
|
"name": "ErrorStakingNotNftOwner",
|
227
275
|
"type": "error"
|
228
276
|
},
|
277
|
+
{
|
278
|
+
"inputs": [
|
279
|
+
{
|
280
|
+
"internalType": "address",
|
281
|
+
"name": "registry",
|
282
|
+
"type": "address"
|
283
|
+
}
|
284
|
+
],
|
285
|
+
"name": "ErrorStakingNotRegistry",
|
286
|
+
"type": "error"
|
287
|
+
},
|
229
288
|
{
|
230
289
|
"inputs": [
|
231
290
|
{
|
@@ -328,17 +387,6 @@
|
|
328
387
|
"name": "ErrorStakingTargetNftIdZero",
|
329
388
|
"type": "error"
|
330
389
|
},
|
331
|
-
{
|
332
|
-
"inputs": [
|
333
|
-
{
|
334
|
-
"internalType": "NftId",
|
335
|
-
"name": "targetNftId",
|
336
|
-
"type": "uint96"
|
337
|
-
}
|
338
|
-
],
|
339
|
-
"name": "ErrorStakingTargetNotActive",
|
340
|
-
"type": "error"
|
341
|
-
},
|
342
390
|
{
|
343
391
|
"inputs": [
|
344
392
|
{
|
@@ -440,6 +488,12 @@
|
|
440
488
|
{
|
441
489
|
"anonymous": false,
|
442
490
|
"inputs": [
|
491
|
+
{
|
492
|
+
"indexed": false,
|
493
|
+
"internalType": "address",
|
494
|
+
"name": "tokenHandler",
|
495
|
+
"type": "address"
|
496
|
+
},
|
443
497
|
{
|
444
498
|
"indexed": false,
|
445
499
|
"internalType": "address",
|
@@ -451,6 +505,12 @@
|
|
451
505
|
"internalType": "Amount",
|
452
506
|
"name": "limit",
|
453
507
|
"type": "uint96"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"indexed": false,
|
511
|
+
"internalType": "bool",
|
512
|
+
"name": "isMaxAmount",
|
513
|
+
"type": "bool"
|
454
514
|
}
|
455
515
|
],
|
456
516
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -581,19 +641,6 @@
|
|
581
641
|
"name": "LogStakingStakingRateSet",
|
582
642
|
"type": "event"
|
583
643
|
},
|
584
|
-
{
|
585
|
-
"inputs": [
|
586
|
-
{
|
587
|
-
"internalType": "Amount",
|
588
|
-
"name": "spendingLimitAmount",
|
589
|
-
"type": "uint96"
|
590
|
-
}
|
591
|
-
],
|
592
|
-
"name": "approveTokenHandler",
|
593
|
-
"outputs": [],
|
594
|
-
"stateMutability": "nonpayable",
|
595
|
-
"type": "function"
|
596
|
-
},
|
597
644
|
{
|
598
645
|
"inputs": [],
|
599
646
|
"name": "authority",
|
@@ -626,24 +673,6 @@
|
|
626
673
|
"stateMutability": "nonpayable",
|
627
674
|
"type": "function"
|
628
675
|
},
|
629
|
-
{
|
630
|
-
"inputs": [
|
631
|
-
{
|
632
|
-
"internalType": "address",
|
633
|
-
"name": "from",
|
634
|
-
"type": "address"
|
635
|
-
},
|
636
|
-
{
|
637
|
-
"internalType": "Amount",
|
638
|
-
"name": "dipAmount",
|
639
|
-
"type": "uint96"
|
640
|
-
}
|
641
|
-
],
|
642
|
-
"name": "collectDipAmount",
|
643
|
-
"outputs": [],
|
644
|
-
"stateMutability": "nonpayable",
|
645
|
-
"type": "function"
|
646
|
-
},
|
647
676
|
{
|
648
677
|
"inputs": [
|
649
678
|
{
|
@@ -707,11 +736,6 @@
|
|
707
736
|
"name": "name",
|
708
737
|
"type": "string"
|
709
738
|
},
|
710
|
-
{
|
711
|
-
"internalType": "NftId",
|
712
|
-
"name": "productNftId",
|
713
|
-
"type": "uint96"
|
714
|
-
},
|
715
739
|
{
|
716
740
|
"internalType": "contract IERC20Metadata",
|
717
741
|
"name": "token",
|
@@ -722,11 +746,6 @@
|
|
722
746
|
"name": "tokenHandler",
|
723
747
|
"type": "address"
|
724
748
|
},
|
725
|
-
{
|
726
|
-
"internalType": "address",
|
727
|
-
"name": "wallet",
|
728
|
-
"type": "address"
|
729
|
-
},
|
730
749
|
{
|
731
750
|
"internalType": "bytes",
|
732
751
|
"name": "data",
|
@@ -752,11 +771,6 @@
|
|
752
771
|
"name": "name",
|
753
772
|
"type": "string"
|
754
773
|
},
|
755
|
-
{
|
756
|
-
"internalType": "NftId",
|
757
|
-
"name": "productNftId",
|
758
|
-
"type": "uint96"
|
759
|
-
},
|
760
774
|
{
|
761
775
|
"internalType": "contract IERC20Metadata",
|
762
776
|
"name": "token",
|
@@ -767,11 +781,6 @@
|
|
767
781
|
"name": "tokenHandler",
|
768
782
|
"type": "address"
|
769
783
|
},
|
770
|
-
{
|
771
|
-
"internalType": "address",
|
772
|
-
"name": "wallet",
|
773
|
-
"type": "address"
|
774
|
-
},
|
775
784
|
{
|
776
785
|
"internalType": "bytes",
|
777
786
|
"name": "data",
|
@@ -888,6 +897,19 @@
|
|
888
897
|
"stateMutability": "view",
|
889
898
|
"type": "function"
|
890
899
|
},
|
900
|
+
{
|
901
|
+
"inputs": [],
|
902
|
+
"name": "getRelease",
|
903
|
+
"outputs": [
|
904
|
+
{
|
905
|
+
"internalType": "VersionPart",
|
906
|
+
"name": "release",
|
907
|
+
"type": "uint8"
|
908
|
+
}
|
909
|
+
],
|
910
|
+
"stateMutability": "view",
|
911
|
+
"type": "function"
|
912
|
+
},
|
891
913
|
{
|
892
914
|
"inputs": [],
|
893
915
|
"name": "getStakingReader",
|
@@ -995,6 +1017,13 @@
|
|
995
1017
|
"stateMutability": "nonpayable",
|
996
1018
|
"type": "function"
|
997
1019
|
},
|
1020
|
+
{
|
1021
|
+
"inputs": [],
|
1022
|
+
"name": "initializeTokenHandler",
|
1023
|
+
"outputs": [],
|
1024
|
+
"stateMutability": "nonpayable",
|
1025
|
+
"type": "function"
|
1026
|
+
},
|
998
1027
|
{
|
999
1028
|
"inputs": [
|
1000
1029
|
{
|
@@ -1013,6 +1042,19 @@
|
|
1013
1042
|
"stateMutability": "nonpayable",
|
1014
1043
|
"type": "function"
|
1015
1044
|
},
|
1045
|
+
{
|
1046
|
+
"inputs": [],
|
1047
|
+
"name": "isActive",
|
1048
|
+
"outputs": [
|
1049
|
+
{
|
1050
|
+
"internalType": "bool",
|
1051
|
+
"name": "active",
|
1052
|
+
"type": "bool"
|
1053
|
+
}
|
1054
|
+
],
|
1055
|
+
"stateMutability": "view",
|
1056
|
+
"type": "function"
|
1057
|
+
},
|
1016
1058
|
{
|
1017
1059
|
"inputs": [],
|
1018
1060
|
"name": "isConsumingScheduledOp",
|
@@ -1065,24 +1107,6 @@
|
|
1065
1107
|
"stateMutability": "nonpayable",
|
1066
1108
|
"type": "function"
|
1067
1109
|
},
|
1068
|
-
{
|
1069
|
-
"inputs": [
|
1070
|
-
{
|
1071
|
-
"internalType": "address",
|
1072
|
-
"name": "to",
|
1073
|
-
"type": "address"
|
1074
|
-
},
|
1075
|
-
{
|
1076
|
-
"internalType": "uint256",
|
1077
|
-
"name": "tokenId",
|
1078
|
-
"type": "uint256"
|
1079
|
-
}
|
1080
|
-
],
|
1081
|
-
"name": "nftMint",
|
1082
|
-
"outputs": [],
|
1083
|
-
"stateMutability": "nonpayable",
|
1084
|
-
"type": "function"
|
1085
|
-
},
|
1086
1110
|
{
|
1087
1111
|
"inputs": [
|
1088
1112
|
{
|
@@ -1099,6 +1123,11 @@
|
|
1099
1123
|
"internalType": "uint256",
|
1100
1124
|
"name": "tokenId",
|
1101
1125
|
"type": "uint256"
|
1126
|
+
},
|
1127
|
+
{
|
1128
|
+
"internalType": "address",
|
1129
|
+
"name": "operator",
|
1130
|
+
"type": "address"
|
1102
1131
|
}
|
1103
1132
|
],
|
1104
1133
|
"name": "nftTransferFrom",
|
@@ -1172,15 +1201,15 @@
|
|
1172
1201
|
},
|
1173
1202
|
{
|
1174
1203
|
"internalType": "NftId",
|
1175
|
-
"name": "
|
1204
|
+
"name": "newStakeNftId",
|
1176
1205
|
"type": "uint96"
|
1177
1206
|
}
|
1178
1207
|
],
|
1179
1208
|
"name": "restake",
|
1180
1209
|
"outputs": [
|
1181
1210
|
{
|
1182
|
-
"internalType": "
|
1183
|
-
"name": "
|
1211
|
+
"internalType": "Amount",
|
1212
|
+
"name": "newStakeBalance",
|
1184
1213
|
"type": "uint96"
|
1185
1214
|
}
|
1186
1215
|
],
|
@@ -1259,19 +1288,6 @@
|
|
1259
1288
|
"stateMutability": "nonpayable",
|
1260
1289
|
"type": "function"
|
1261
1290
|
},
|
1262
|
-
{
|
1263
|
-
"inputs": [
|
1264
|
-
{
|
1265
|
-
"internalType": "address",
|
1266
|
-
"name": "walletAddress",
|
1267
|
-
"type": "address"
|
1268
|
-
}
|
1269
|
-
],
|
1270
|
-
"name": "setWallet",
|
1271
|
-
"outputs": [],
|
1272
|
-
"stateMutability": "nonpayable",
|
1273
|
-
"type": "function"
|
1274
|
-
},
|
1275
1291
|
{
|
1276
1292
|
"inputs": [
|
1277
1293
|
{
|
@@ -1315,24 +1331,6 @@
|
|
1315
1331
|
"stateMutability": "view",
|
1316
1332
|
"type": "function"
|
1317
1333
|
},
|
1318
|
-
{
|
1319
|
-
"inputs": [
|
1320
|
-
{
|
1321
|
-
"internalType": "address",
|
1322
|
-
"name": "to",
|
1323
|
-
"type": "address"
|
1324
|
-
},
|
1325
|
-
{
|
1326
|
-
"internalType": "Amount",
|
1327
|
-
"name": "dipAmount",
|
1328
|
-
"type": "uint96"
|
1329
|
-
}
|
1330
|
-
],
|
1331
|
-
"name": "transferDipAmount",
|
1332
|
-
"outputs": [],
|
1333
|
-
"stateMutability": "nonpayable",
|
1334
|
-
"type": "function"
|
1335
|
-
},
|
1336
1334
|
{
|
1337
1335
|
"inputs": [
|
1338
1336
|
{
|
@@ -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
|
{
|
@@ -68,6 +79,22 @@
|
|
68
79
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
80
|
"type": "error"
|
70
81
|
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "NftId",
|
86
|
+
"name": "nftId",
|
87
|
+
"type": "uint96"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"internalType": "ObjectType",
|
91
|
+
"name": "expectedObjectType",
|
92
|
+
"type": "uint8"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "ErrorNftOwnableInvalidType",
|
96
|
+
"type": "error"
|
97
|
+
},
|
71
98
|
{
|
72
99
|
"inputs": [
|
73
100
|
{
|
@@ -92,7 +119,7 @@
|
|
92
119
|
},
|
93
120
|
{
|
94
121
|
"inputs": [],
|
95
|
-
"name": "
|
122
|
+
"name": "ErrorRegisterableNotActive",
|
96
123
|
"type": "error"
|
97
124
|
},
|
98
125
|
{
|
@@ -155,34 +182,24 @@
|
|
155
182
|
},
|
156
183
|
{
|
157
184
|
"inputs": [
|
158
|
-
{
|
159
|
-
"internalType": "NftId",
|
160
|
-
"name": "nftId",
|
161
|
-
"type": "uint96"
|
162
|
-
},
|
163
185
|
{
|
164
186
|
"internalType": "address",
|
165
|
-
"name": "
|
166
|
-
"type": "address"
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"internalType": "address",
|
170
|
-
"name": "owner",
|
187
|
+
"name": "stakingAddress",
|
171
188
|
"type": "address"
|
172
189
|
}
|
173
190
|
],
|
174
|
-
"name": "
|
191
|
+
"name": "ErrorStakingServiceNotStaking",
|
175
192
|
"type": "error"
|
176
193
|
},
|
177
194
|
{
|
178
195
|
"inputs": [
|
179
196
|
{
|
180
197
|
"internalType": "address",
|
181
|
-
"name": "
|
198
|
+
"name": "account",
|
182
199
|
"type": "address"
|
183
200
|
}
|
184
201
|
],
|
185
|
-
"name": "
|
202
|
+
"name": "ErrorStakingServiceNotStakingOwner",
|
186
203
|
"type": "error"
|
187
204
|
},
|
188
205
|
{
|
@@ -469,6 +486,43 @@
|
|
469
486
|
"name": "LogStakingServiceStakeIncreased",
|
470
487
|
"type": "event"
|
471
488
|
},
|
489
|
+
{
|
490
|
+
"anonymous": false,
|
491
|
+
"inputs": [
|
492
|
+
{
|
493
|
+
"indexed": false,
|
494
|
+
"internalType": "address",
|
495
|
+
"name": "stakeOwner",
|
496
|
+
"type": "address"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"indexed": true,
|
500
|
+
"internalType": "NftId",
|
501
|
+
"name": "stakeNftId",
|
502
|
+
"type": "uint96"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"indexed": false,
|
506
|
+
"internalType": "NftId",
|
507
|
+
"name": "newStakeNftId",
|
508
|
+
"type": "uint96"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"indexed": true,
|
512
|
+
"internalType": "NftId",
|
513
|
+
"name": "newTargetNftId",
|
514
|
+
"type": "uint96"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"indexed": true,
|
518
|
+
"internalType": "Amount",
|
519
|
+
"name": "newStakeBalance",
|
520
|
+
"type": "uint96"
|
521
|
+
}
|
522
|
+
],
|
523
|
+
"name": "LogStakingServiceStakeRestaked",
|
524
|
+
"type": "event"
|
525
|
+
},
|
472
526
|
{
|
473
527
|
"anonymous": false,
|
474
528
|
"inputs": [
|
@@ -494,6 +548,24 @@
|
|
494
548
|
"name": "LogStakingServiceUnstaked",
|
495
549
|
"type": "event"
|
496
550
|
},
|
551
|
+
{
|
552
|
+
"inputs": [
|
553
|
+
{
|
554
|
+
"internalType": "contract IERC20Metadata",
|
555
|
+
"name": "token",
|
556
|
+
"type": "address"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"internalType": "Amount",
|
560
|
+
"name": "amount",
|
561
|
+
"type": "uint96"
|
562
|
+
}
|
563
|
+
],
|
564
|
+
"name": "approveTokenHandler",
|
565
|
+
"outputs": [],
|
566
|
+
"stateMutability": "nonpayable",
|
567
|
+
"type": "function"
|
568
|
+
},
|
497
569
|
{
|
498
570
|
"inputs": [],
|
499
571
|
"name": "authority",
|
@@ -682,6 +754,19 @@
|
|
682
754
|
"stateMutability": "view",
|
683
755
|
"type": "function"
|
684
756
|
},
|
757
|
+
{
|
758
|
+
"inputs": [],
|
759
|
+
"name": "getRelease",
|
760
|
+
"outputs": [
|
761
|
+
{
|
762
|
+
"internalType": "VersionPart",
|
763
|
+
"name": "release",
|
764
|
+
"type": "uint8"
|
765
|
+
}
|
766
|
+
],
|
767
|
+
"stateMutability": "view",
|
768
|
+
"type": "function"
|
769
|
+
},
|
685
770
|
{
|
686
771
|
"inputs": [],
|
687
772
|
"name": "getRoleId",
|
@@ -692,7 +777,7 @@
|
|
692
777
|
"type": "uint64"
|
693
778
|
}
|
694
779
|
],
|
695
|
-
"stateMutability": "
|
780
|
+
"stateMutability": "view",
|
696
781
|
"type": "function"
|
697
782
|
},
|
698
783
|
{
|
@@ -752,6 +837,19 @@
|
|
752
837
|
"stateMutability": "nonpayable",
|
753
838
|
"type": "function"
|
754
839
|
},
|
840
|
+
{
|
841
|
+
"inputs": [],
|
842
|
+
"name": "isActive",
|
843
|
+
"outputs": [
|
844
|
+
{
|
845
|
+
"internalType": "bool",
|
846
|
+
"name": "active",
|
847
|
+
"type": "bool"
|
848
|
+
}
|
849
|
+
],
|
850
|
+
"stateMutability": "view",
|
851
|
+
"type": "function"
|
852
|
+
},
|
755
853
|
{
|
756
854
|
"inputs": [],
|
757
855
|
"name": "isConsumingScheduledOp",
|
@@ -850,6 +948,11 @@
|
|
850
948
|
"internalType": "NftId",
|
851
949
|
"name": "newStakeNftId",
|
852
950
|
"type": "uint96"
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"internalType": "Amount",
|
954
|
+
"name": "newStakeBalance",
|
955
|
+
"type": "uint96"
|
853
956
|
}
|
854
957
|
],
|
855
958
|
"stateMutability": "nonpayable",
|