@etherisc/gif-next 0.0.2-eadf4ad-932 → 0.0.2-eae5e95-691
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +51 -5
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1415 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +230 -545
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +315 -432
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +120 -109
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +214 -290
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +215 -94
- 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 +1551 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2090 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1484 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1244 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2108 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +113 -97
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +171 -85
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +120 -207
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +850 -366
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +245 -229
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +106 -79
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1212 -381
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1052 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +783 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +920 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1312 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +494 -317
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +186 -87
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +256 -31
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +235 -375
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -254
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +269 -565
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +572 -569
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +112 -93
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +117 -264
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +99 -76
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1186 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +329 -284
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +141 -90
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +54 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +196 -7
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +354 -80
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +154 -86
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +355 -209
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +44 -57
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +418 -397
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +124 -121
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +233 -330
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -93
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +377 -431
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +391 -45
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +123 -64
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +0 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +789 -60
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +179 -185
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +86 -74
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -138
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +136 -271
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1335 -198
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +474 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +105 -114
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +46 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +36 -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 +49 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +842 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +26 -55
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +68 -85
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +55 -101
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +362 -7
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1460 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +573 -53
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1901 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +658 -176
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +109 -66
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +121 -4
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
- 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 +4 -4
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +39 -34
- 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/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -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 +149 -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 +4 -4
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +71 -2
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/authorization/AccessAdmin.sol +596 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +289 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +137 -0
- package/contracts/authorization/IAuthorization.sol +60 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ReleaseAccessManager.sol +38 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +139 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +154 -154
- package/contracts/distribution/DistributionService.sol +175 -172
- package/contracts/distribution/DistributionServiceManager.sol +8 -23
- package/contracts/distribution/IDistributionComponent.sol +28 -47
- package/contracts/distribution/IDistributionService.sol +24 -10
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +75 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +412 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
- package/contracts/instance/IInstance.sol +33 -44
- package/contracts/instance/IInstanceService.sol +32 -33
- package/contracts/instance/Instance.sol +131 -122
- package/contracts/instance/InstanceAdmin.sol +277 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
- package/contracts/instance/InstanceReader.sol +194 -67
- package/contracts/instance/InstanceService.sol +243 -134
- package/contracts/instance/InstanceServiceManager.sol +8 -13
- package/contracts/instance/InstanceStore.sol +142 -66
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +2 -25
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
- package/contracts/instance/module/IAccess.sol +2 -10
- package/contracts/instance/module/IBundle.sol +1 -4
- package/contracts/instance/module/IComponents.sol +21 -11
- package/contracts/instance/module/IDistribution.sol +0 -1
- package/contracts/instance/module/IPolicy.sol +31 -25
- package/contracts/mock/Dip.sol +26 -0
- package/contracts/oracle/BasicOracle.sol +47 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +291 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +154 -0
- package/contracts/pool/BasicPoolAuthorization.sol +57 -0
- package/contracts/pool/BundleService.sol +278 -201
- package/contracts/pool/BundleServiceManager.sol +8 -11
- package/contracts/pool/IBundleService.sol +44 -19
- package/contracts/pool/IPoolComponent.sol +27 -73
- package/contracts/pool/IPoolService.sol +93 -40
- package/contracts/pool/Pool.sol +186 -153
- package/contracts/pool/PoolService.sol +357 -236
- package/contracts/pool/PoolServiceManager.sol +6 -9
- package/contracts/product/ApplicationService.sol +148 -84
- package/contracts/product/ApplicationServiceManager.sol +6 -6
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +42 -0
- package/contracts/product/ClaimService.sol +293 -145
- package/contracts/product/ClaimServiceManager.sol +6 -6
- package/contracts/product/IApplicationService.sol +2 -1
- package/contracts/product/IClaimService.sol +35 -5
- package/contracts/product/IPolicyService.sol +38 -38
- package/contracts/product/IPricingService.sol +13 -11
- package/contracts/product/IProductComponent.sol +28 -10
- package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -9
- package/contracts/product/PolicyService.sol +504 -199
- package/contracts/product/PolicyServiceManager.sol +6 -9
- package/contracts/product/PricingService.sol +103 -82
- package/contracts/product/PricingServiceManager.sol +5 -8
- package/contracts/product/Product.sol +222 -146
- package/contracts/product/RiskService.sol +96 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -36
- package/contracts/registry/IRegistry.sol +85 -22
- package/contracts/registry/IRegistryService.sol +10 -6
- package/contracts/registry/ITransferInterceptor.sol +0 -1
- package/contracts/registry/Registry.sol +433 -187
- package/contracts/registry/RegistryAdmin.sol +448 -0
- package/contracts/registry/RegistryService.sol +76 -66
- package/contracts/registry/RegistryServiceManager.sol +6 -25
- package/contracts/registry/ReleaseLifecycle.sol +30 -0
- package/contracts/registry/ReleaseRegistry.sol +501 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
- package/contracts/registry/TokenRegistry.sol +261 -62
- package/contracts/shared/Component.sol +153 -148
- package/contracts/shared/ComponentService.sol +688 -94
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +126 -0
- package/contracts/shared/ContractLib.sol +38 -0
- package/contracts/shared/IComponent.sol +25 -41
- package/contracts/shared/IComponentService.sol +120 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +3 -1
- package/contracts/shared/IPolicyHolder.sol +12 -17
- package/contracts/shared/IRegisterable.sol +11 -0
- package/contracts/shared/IService.sol +9 -2
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
- package/contracts/shared/InstanceLinkedComponent.sol +213 -0
- package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +27 -22
- package/contracts/shared/PolicyHolder.sol +18 -50
- package/contracts/shared/Registerable.sol +21 -11
- package/contracts/shared/RegistryLinked.sol +3 -2
- package/contracts/shared/Service.sol +48 -36
- package/contracts/shared/TokenHandler.sol +112 -8
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +103 -48
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +497 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +273 -49
- package/contracts/staking/StakingServiceManager.sol +11 -7
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +44 -3
- package/contracts/type/Blocknumber.sol +26 -3
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +17 -16
- package/contracts/type/NftId.sol +15 -16
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +176 -62
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +16 -2
- package/contracts/type/RoleId.sol +98 -75
- package/contracts/type/Seconds.sol +48 -1
- package/contracts/type/Selector.sol +102 -0
- package/contracts/type/StateId.sol +41 -2
- package/contracts/type/String.sol +53 -0
- package/contracts/type/Timestamp.sol +17 -3
- package/contracts/type/UFixed.sol +38 -9
- package/contracts/type/Version.sol +4 -2
- package/contracts/{shared → upgradeability}/ProxyManager.sol +76 -39
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
- package/package.json +9 -5
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -679
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -238
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -846
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -598
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/contracts/instance/InstanceAccessManager.sol +0 -543
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
- package/contracts/instance/base/Lifecycle.sol +0 -121
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/product/ProductService.sol +0 -212
- package/contracts/product/ProductServiceManager.sol +0 -42
- package/contracts/registry/RegistryAccessManager.sol +0 -132
- package/contracts/registry/ReleaseManager.sol +0 -382
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -68,6 +68,22 @@
|
|
68
68
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
69
|
"type": "error"
|
70
70
|
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
73
|
+
{
|
74
|
+
"internalType": "NftId",
|
75
|
+
"name": "nftId",
|
76
|
+
"type": "uint96"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"internalType": "ObjectType",
|
80
|
+
"name": "expectedObjectType",
|
81
|
+
"type": "uint8"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"name": "ErrorNftOwnableInvalidType",
|
85
|
+
"type": "error"
|
86
|
+
},
|
71
87
|
{
|
72
88
|
"inputs": [
|
73
89
|
{
|
@@ -95,6 +111,102 @@
|
|
95
111
|
"name": "ErrorServiceNotImplemented",
|
96
112
|
"type": "error"
|
97
113
|
},
|
114
|
+
{
|
115
|
+
"inputs": [
|
116
|
+
{
|
117
|
+
"internalType": "NftId",
|
118
|
+
"name": "targetNftId",
|
119
|
+
"type": "uint96"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "tokenHandler",
|
124
|
+
"type": "address"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "uint256",
|
128
|
+
"name": "amount",
|
129
|
+
"type": "uint256"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"internalType": "uint256",
|
133
|
+
"name": "allowance",
|
134
|
+
"type": "uint256"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"name": "ErrorStakingServiceDipAllowanceInsufficient",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [
|
142
|
+
{
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "targetNftId",
|
145
|
+
"type": "uint96"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"internalType": "uint256",
|
149
|
+
"name": "amount",
|
150
|
+
"type": "uint256"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"internalType": "uint256",
|
154
|
+
"name": "balance",
|
155
|
+
"type": "uint256"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"name": "ErrorStakingServiceDipBalanceInsufficient",
|
159
|
+
"type": "error"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"inputs": [
|
163
|
+
{
|
164
|
+
"internalType": "NftId",
|
165
|
+
"name": "targetNftId",
|
166
|
+
"type": "uint96"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"name": "ErrorStakingServiceNotActiveTargetNftId",
|
170
|
+
"type": "error"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [
|
174
|
+
{
|
175
|
+
"internalType": "address",
|
176
|
+
"name": "stakingAddress",
|
177
|
+
"type": "address"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"name": "ErrorStakingServiceNotStaking",
|
181
|
+
"type": "error"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"inputs": [
|
185
|
+
{
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "stakingAddress",
|
188
|
+
"type": "address"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "ErrorStakingServiceNotSupportingIStaking",
|
192
|
+
"type": "error"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [
|
196
|
+
{
|
197
|
+
"internalType": "NftId",
|
198
|
+
"name": "targetNftId",
|
199
|
+
"type": "uint96"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "ErrorStakingServiceNotTargetNftId",
|
203
|
+
"type": "error"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"inputs": [],
|
207
|
+
"name": "ErrorStakingServiceZeroTargetNftId",
|
208
|
+
"type": "error"
|
209
|
+
},
|
98
210
|
{
|
99
211
|
"anonymous": false,
|
100
212
|
"inputs": [
|
@@ -108,6 +220,275 @@
|
|
108
220
|
"name": "AuthorityUpdated",
|
109
221
|
"type": "event"
|
110
222
|
},
|
223
|
+
{
|
224
|
+
"anonymous": false,
|
225
|
+
"inputs": [
|
226
|
+
{
|
227
|
+
"indexed": false,
|
228
|
+
"internalType": "NftId",
|
229
|
+
"name": "instanceNftId",
|
230
|
+
"type": "uint96"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"indexed": false,
|
234
|
+
"internalType": "uint256",
|
235
|
+
"name": "chainId",
|
236
|
+
"type": "uint256"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"name": "LogStakingServiceInstanceTargetRegistered",
|
240
|
+
"type": "event"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"anonymous": false,
|
244
|
+
"inputs": [
|
245
|
+
{
|
246
|
+
"indexed": false,
|
247
|
+
"internalType": "NftId",
|
248
|
+
"name": "targetNftId",
|
249
|
+
"type": "uint96"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"indexed": false,
|
253
|
+
"internalType": "Seconds",
|
254
|
+
"name": "oldLockingDuration",
|
255
|
+
"type": "uint40"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"indexed": false,
|
259
|
+
"internalType": "Seconds",
|
260
|
+
"name": "lockingDuration",
|
261
|
+
"type": "uint40"
|
262
|
+
}
|
263
|
+
],
|
264
|
+
"name": "LogStakingServiceLockingPeriodSet",
|
265
|
+
"type": "event"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"anonymous": false,
|
269
|
+
"inputs": [
|
270
|
+
{
|
271
|
+
"indexed": false,
|
272
|
+
"internalType": "NftId",
|
273
|
+
"name": "protocolNftId",
|
274
|
+
"type": "uint96"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"name": "LogStakingServiceProtocolTargetRegistered",
|
278
|
+
"type": "event"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"anonymous": false,
|
282
|
+
"inputs": [
|
283
|
+
{
|
284
|
+
"indexed": false,
|
285
|
+
"internalType": "NftId",
|
286
|
+
"name": "targetNftId",
|
287
|
+
"type": "uint96"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"indexed": false,
|
291
|
+
"internalType": "UFixed",
|
292
|
+
"name": "oldRewardRate",
|
293
|
+
"type": "uint256"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"indexed": false,
|
297
|
+
"internalType": "UFixed",
|
298
|
+
"name": "rewardRate",
|
299
|
+
"type": "uint256"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"name": "LogStakingServiceRewardRateSet",
|
303
|
+
"type": "event"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"anonymous": false,
|
307
|
+
"inputs": [
|
308
|
+
{
|
309
|
+
"indexed": false,
|
310
|
+
"internalType": "NftId",
|
311
|
+
"name": "targetNftId",
|
312
|
+
"type": "uint96"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"indexed": false,
|
316
|
+
"internalType": "address",
|
317
|
+
"name": "targetOwner",
|
318
|
+
"type": "address"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"indexed": false,
|
322
|
+
"internalType": "Amount",
|
323
|
+
"name": "dipAmount",
|
324
|
+
"type": "uint96"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"indexed": false,
|
328
|
+
"internalType": "Amount",
|
329
|
+
"name": "newBalance",
|
330
|
+
"type": "uint96"
|
331
|
+
}
|
332
|
+
],
|
333
|
+
"name": "LogStakingServiceRewardReservesDecreased",
|
334
|
+
"type": "event"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"anonymous": false,
|
338
|
+
"inputs": [
|
339
|
+
{
|
340
|
+
"indexed": false,
|
341
|
+
"internalType": "NftId",
|
342
|
+
"name": "targetNftId",
|
343
|
+
"type": "uint96"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"indexed": false,
|
347
|
+
"internalType": "address",
|
348
|
+
"name": "rewardProvider",
|
349
|
+
"type": "address"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"indexed": false,
|
353
|
+
"internalType": "Amount",
|
354
|
+
"name": "dipAmount",
|
355
|
+
"type": "uint96"
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"indexed": false,
|
359
|
+
"internalType": "Amount",
|
360
|
+
"name": "newBalance",
|
361
|
+
"type": "uint96"
|
362
|
+
}
|
363
|
+
],
|
364
|
+
"name": "LogStakingServiceRewardReservesIncreased",
|
365
|
+
"type": "event"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"anonymous": false,
|
369
|
+
"inputs": [
|
370
|
+
{
|
371
|
+
"indexed": false,
|
372
|
+
"internalType": "NftId",
|
373
|
+
"name": "stakeNftId",
|
374
|
+
"type": "uint96"
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"indexed": false,
|
378
|
+
"internalType": "address",
|
379
|
+
"name": "stakeOwner",
|
380
|
+
"type": "address"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"indexed": false,
|
384
|
+
"internalType": "Amount",
|
385
|
+
"name": "rewardsClaimedAmount",
|
386
|
+
"type": "uint96"
|
387
|
+
}
|
388
|
+
],
|
389
|
+
"name": "LogStakingServiceRewardsClaimed",
|
390
|
+
"type": "event"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"anonymous": false,
|
394
|
+
"inputs": [
|
395
|
+
{
|
396
|
+
"indexed": false,
|
397
|
+
"internalType": "NftId",
|
398
|
+
"name": "stakeNftId",
|
399
|
+
"type": "uint96"
|
400
|
+
}
|
401
|
+
],
|
402
|
+
"name": "LogStakingServiceRewardsUpdated",
|
403
|
+
"type": "event"
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"anonymous": false,
|
407
|
+
"inputs": [
|
408
|
+
{
|
409
|
+
"indexed": false,
|
410
|
+
"internalType": "NftId",
|
411
|
+
"name": "stakeNftId",
|
412
|
+
"type": "uint96"
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"indexed": false,
|
416
|
+
"internalType": "NftId",
|
417
|
+
"name": "targetNftId",
|
418
|
+
"type": "uint96"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"indexed": false,
|
422
|
+
"internalType": "address",
|
423
|
+
"name": "owner",
|
424
|
+
"type": "address"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"indexed": false,
|
428
|
+
"internalType": "Amount",
|
429
|
+
"name": "stakedAmount",
|
430
|
+
"type": "uint96"
|
431
|
+
}
|
432
|
+
],
|
433
|
+
"name": "LogStakingServiceStakeCreated",
|
434
|
+
"type": "event"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"anonymous": false,
|
438
|
+
"inputs": [
|
439
|
+
{
|
440
|
+
"indexed": false,
|
441
|
+
"internalType": "NftId",
|
442
|
+
"name": "stakeNftId",
|
443
|
+
"type": "uint96"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"indexed": false,
|
447
|
+
"internalType": "address",
|
448
|
+
"name": "owner",
|
449
|
+
"type": "address"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"indexed": false,
|
453
|
+
"internalType": "Amount",
|
454
|
+
"name": "stakedAmount",
|
455
|
+
"type": "uint96"
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"indexed": false,
|
459
|
+
"internalType": "Amount",
|
460
|
+
"name": "stakeBalance",
|
461
|
+
"type": "uint96"
|
462
|
+
}
|
463
|
+
],
|
464
|
+
"name": "LogStakingServiceStakeIncreased",
|
465
|
+
"type": "event"
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"anonymous": false,
|
469
|
+
"inputs": [
|
470
|
+
{
|
471
|
+
"indexed": false,
|
472
|
+
"internalType": "NftId",
|
473
|
+
"name": "stakeNftId",
|
474
|
+
"type": "uint96"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"indexed": false,
|
478
|
+
"internalType": "address",
|
479
|
+
"name": "stakeOwner",
|
480
|
+
"type": "address"
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"indexed": false,
|
484
|
+
"internalType": "Amount",
|
485
|
+
"name": "totalAmount",
|
486
|
+
"type": "uint96"
|
487
|
+
}
|
488
|
+
],
|
489
|
+
"name": "LogStakingServiceUnstaked",
|
490
|
+
"type": "event"
|
491
|
+
},
|
111
492
|
{
|
112
493
|
"inputs": [],
|
113
494
|
"name": "authority",
|
@@ -129,7 +510,7 @@
|
|
129
510
|
"type": "uint96"
|
130
511
|
}
|
131
512
|
],
|
132
|
-
"name": "
|
513
|
+
"name": "claimRewards",
|
133
514
|
"outputs": [],
|
134
515
|
"stateMutability": "nonpayable",
|
135
516
|
"type": "function"
|
@@ -166,22 +547,29 @@
|
|
166
547
|
"type": "uint96"
|
167
548
|
},
|
168
549
|
{
|
169
|
-
"internalType": "
|
170
|
-
"name": "
|
171
|
-
"type": "
|
550
|
+
"internalType": "Seconds",
|
551
|
+
"name": "initialLockingPeriod",
|
552
|
+
"type": "uint40"
|
172
553
|
},
|
173
554
|
{
|
174
|
-
"internalType": "
|
175
|
-
"name": "
|
176
|
-
"type": "
|
555
|
+
"internalType": "UFixed",
|
556
|
+
"name": "initialRewardRate",
|
557
|
+
"type": "uint256"
|
177
558
|
}
|
178
559
|
],
|
179
|
-
"name": "
|
560
|
+
"name": "createInstanceTarget",
|
561
|
+
"outputs": [],
|
562
|
+
"stateMutability": "nonpayable",
|
563
|
+
"type": "function"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"inputs": [],
|
567
|
+
"name": "getDipToken",
|
180
568
|
"outputs": [
|
181
569
|
{
|
182
|
-
"internalType": "
|
183
|
-
"name": "
|
184
|
-
"type": "
|
570
|
+
"internalType": "contract IERC20Metadata",
|
571
|
+
"name": "dip",
|
572
|
+
"type": "address"
|
185
573
|
}
|
186
574
|
],
|
187
575
|
"stateMutability": "nonpayable",
|
@@ -291,46 +679,69 @@
|
|
291
679
|
},
|
292
680
|
{
|
293
681
|
"inputs": [],
|
294
|
-
"name": "
|
682
|
+
"name": "getRelease",
|
295
683
|
"outputs": [
|
296
684
|
{
|
297
|
-
"internalType": "
|
298
|
-
"name": "",
|
299
|
-
"type": "
|
685
|
+
"internalType": "VersionPart",
|
686
|
+
"name": "release",
|
687
|
+
"type": "uint8"
|
300
688
|
}
|
301
689
|
],
|
302
690
|
"stateMutability": "pure",
|
303
691
|
"type": "function"
|
304
692
|
},
|
305
693
|
{
|
306
|
-
"inputs": [
|
694
|
+
"inputs": [],
|
695
|
+
"name": "getRoleId",
|
696
|
+
"outputs": [
|
307
697
|
{
|
308
|
-
"internalType": "
|
309
|
-
"name": "
|
310
|
-
"type": "
|
311
|
-
}
|
698
|
+
"internalType": "RoleId",
|
699
|
+
"name": "serviceRoleId",
|
700
|
+
"type": "uint64"
|
701
|
+
}
|
702
|
+
],
|
703
|
+
"stateMutability": "pure",
|
704
|
+
"type": "function"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"inputs": [],
|
708
|
+
"name": "getStaking",
|
709
|
+
"outputs": [
|
312
710
|
{
|
313
|
-
"internalType": "
|
314
|
-
"name": "
|
711
|
+
"internalType": "contract IStaking",
|
712
|
+
"name": "staking",
|
315
713
|
"type": "address"
|
316
|
-
},
|
317
|
-
{
|
318
|
-
"internalType": "Amount",
|
319
|
-
"name": "amount",
|
320
|
-
"type": "uint96"
|
321
714
|
}
|
322
715
|
],
|
323
|
-
"
|
716
|
+
"stateMutability": "nonpayable",
|
717
|
+
"type": "function"
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"inputs": [],
|
721
|
+
"name": "getTokenHandler",
|
324
722
|
"outputs": [
|
325
723
|
{
|
326
|
-
"internalType": "
|
327
|
-
"name": "
|
328
|
-
"type": "
|
724
|
+
"internalType": "contract TokenHandler",
|
725
|
+
"name": "tokenHandler",
|
726
|
+
"type": "address"
|
329
727
|
}
|
330
728
|
],
|
331
729
|
"stateMutability": "nonpayable",
|
332
730
|
"type": "function"
|
333
731
|
},
|
732
|
+
{
|
733
|
+
"inputs": [],
|
734
|
+
"name": "getVersion",
|
735
|
+
"outputs": [
|
736
|
+
{
|
737
|
+
"internalType": "Version",
|
738
|
+
"name": "",
|
739
|
+
"type": "uint24"
|
740
|
+
}
|
741
|
+
],
|
742
|
+
"stateMutability": "pure",
|
743
|
+
"type": "function"
|
744
|
+
},
|
334
745
|
{
|
335
746
|
"inputs": [
|
336
747
|
{
|
@@ -365,7 +776,66 @@
|
|
365
776
|
{
|
366
777
|
"inputs": [],
|
367
778
|
"name": "linkToRegisteredNftId",
|
368
|
-
"outputs": [
|
779
|
+
"outputs": [
|
780
|
+
{
|
781
|
+
"internalType": "NftId",
|
782
|
+
"name": "",
|
783
|
+
"type": "uint96"
|
784
|
+
}
|
785
|
+
],
|
786
|
+
"stateMutability": "nonpayable",
|
787
|
+
"type": "function"
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"inputs": [
|
791
|
+
{
|
792
|
+
"internalType": "NftId",
|
793
|
+
"name": "instanceNftId",
|
794
|
+
"type": "uint96"
|
795
|
+
},
|
796
|
+
{
|
797
|
+
"internalType": "address",
|
798
|
+
"name": "rewardProvider",
|
799
|
+
"type": "address"
|
800
|
+
},
|
801
|
+
{
|
802
|
+
"internalType": "Amount",
|
803
|
+
"name": "dipAmount",
|
804
|
+
"type": "uint96"
|
805
|
+
}
|
806
|
+
],
|
807
|
+
"name": "refillInstanceRewardReserves",
|
808
|
+
"outputs": [
|
809
|
+
{
|
810
|
+
"internalType": "Amount",
|
811
|
+
"name": "newBalance",
|
812
|
+
"type": "uint96"
|
813
|
+
}
|
814
|
+
],
|
815
|
+
"stateMutability": "nonpayable",
|
816
|
+
"type": "function"
|
817
|
+
},
|
818
|
+
{
|
819
|
+
"inputs": [
|
820
|
+
{
|
821
|
+
"internalType": "NftId",
|
822
|
+
"name": "targetNftId",
|
823
|
+
"type": "uint96"
|
824
|
+
},
|
825
|
+
{
|
826
|
+
"internalType": "Amount",
|
827
|
+
"name": "dipAmount",
|
828
|
+
"type": "uint96"
|
829
|
+
}
|
830
|
+
],
|
831
|
+
"name": "refillRewardReservesBySender",
|
832
|
+
"outputs": [
|
833
|
+
{
|
834
|
+
"internalType": "Amount",
|
835
|
+
"name": "newBalance",
|
836
|
+
"type": "uint96"
|
837
|
+
}
|
838
|
+
],
|
369
839
|
"stateMutability": "nonpayable",
|
370
840
|
"type": "function"
|
371
841
|
},
|
@@ -382,19 +852,27 @@
|
|
382
852
|
"type": "uint96"
|
383
853
|
}
|
384
854
|
],
|
385
|
-
"name": "
|
855
|
+
"name": "restakeToNewTarget",
|
386
856
|
"outputs": [
|
387
857
|
{
|
388
858
|
"internalType": "NftId",
|
389
859
|
"name": "newStakeNftId",
|
390
860
|
"type": "uint96"
|
391
|
-
}
|
861
|
+
}
|
862
|
+
],
|
863
|
+
"stateMutability": "nonpayable",
|
864
|
+
"type": "function"
|
865
|
+
},
|
866
|
+
{
|
867
|
+
"inputs": [
|
392
868
|
{
|
393
|
-
"internalType": "
|
394
|
-
"name": "
|
395
|
-
"type": "
|
869
|
+
"internalType": "address",
|
870
|
+
"name": "",
|
871
|
+
"type": "address"
|
396
872
|
}
|
397
873
|
],
|
874
|
+
"name": "setAuthority",
|
875
|
+
"outputs": [],
|
398
876
|
"stateMutability": "nonpayable",
|
399
877
|
"type": "function"
|
400
878
|
},
|
@@ -402,16 +880,16 @@
|
|
402
880
|
"inputs": [
|
403
881
|
{
|
404
882
|
"internalType": "NftId",
|
405
|
-
"name": "
|
883
|
+
"name": "instanceNftId",
|
406
884
|
"type": "uint96"
|
407
885
|
},
|
408
886
|
{
|
409
|
-
"internalType": "
|
410
|
-
"name": "
|
411
|
-
"type": "
|
887
|
+
"internalType": "Seconds",
|
888
|
+
"name": "lockingPeriod",
|
889
|
+
"type": "uint40"
|
412
890
|
}
|
413
891
|
],
|
414
|
-
"name": "
|
892
|
+
"name": "setInstanceLockingPeriod",
|
415
893
|
"outputs": [],
|
416
894
|
"stateMutability": "nonpayable",
|
417
895
|
"type": "function"
|
@@ -420,29 +898,39 @@
|
|
420
898
|
"inputs": [
|
421
899
|
{
|
422
900
|
"internalType": "NftId",
|
423
|
-
"name": "
|
901
|
+
"name": "instanceNftId",
|
424
902
|
"type": "uint96"
|
425
903
|
},
|
426
904
|
{
|
427
|
-
"internalType": "
|
428
|
-
"name": "
|
429
|
-
"type": "
|
905
|
+
"internalType": "UFixed",
|
906
|
+
"name": "rewardRate",
|
907
|
+
"type": "uint256"
|
430
908
|
}
|
431
909
|
],
|
432
|
-
"name": "
|
910
|
+
"name": "setInstanceRewardRate",
|
433
911
|
"outputs": [],
|
434
912
|
"stateMutability": "nonpayable",
|
435
913
|
"type": "function"
|
436
914
|
},
|
437
915
|
{
|
438
916
|
"inputs": [
|
917
|
+
{
|
918
|
+
"internalType": "NftId",
|
919
|
+
"name": "targetNftId",
|
920
|
+
"type": "uint96"
|
921
|
+
},
|
439
922
|
{
|
440
923
|
"internalType": "address",
|
441
|
-
"name": "",
|
924
|
+
"name": "token",
|
442
925
|
"type": "address"
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"internalType": "Amount",
|
929
|
+
"name": "amount",
|
930
|
+
"type": "uint96"
|
443
931
|
}
|
444
932
|
],
|
445
|
-
"name": "
|
933
|
+
"name": "setTotalValueLocked",
|
446
934
|
"outputs": [],
|
447
935
|
"stateMutability": "nonpayable",
|
448
936
|
"type": "function"
|
@@ -490,14 +978,22 @@
|
|
490
978
|
"internalType": "NftId",
|
491
979
|
"name": "stakeNftId",
|
492
980
|
"type": "uint96"
|
493
|
-
}
|
981
|
+
}
|
982
|
+
],
|
983
|
+
"name": "unstake",
|
984
|
+
"outputs": [],
|
985
|
+
"stateMutability": "nonpayable",
|
986
|
+
"type": "function"
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"inputs": [
|
494
990
|
{
|
495
|
-
"internalType": "
|
496
|
-
"name": "
|
991
|
+
"internalType": "NftId",
|
992
|
+
"name": "stakeNftId",
|
497
993
|
"type": "uint96"
|
498
994
|
}
|
499
995
|
],
|
500
|
-
"name": "
|
996
|
+
"name": "updateRewards",
|
501
997
|
"outputs": [],
|
502
998
|
"stateMutability": "nonpayable",
|
503
999
|
"type": "function"
|
@@ -514,6 +1010,30 @@
|
|
514
1010
|
"outputs": [],
|
515
1011
|
"stateMutability": "nonpayable",
|
516
1012
|
"type": "function"
|
1013
|
+
},
|
1014
|
+
{
|
1015
|
+
"inputs": [
|
1016
|
+
{
|
1017
|
+
"internalType": "NftId",
|
1018
|
+
"name": "instanceNftId",
|
1019
|
+
"type": "uint96"
|
1020
|
+
},
|
1021
|
+
{
|
1022
|
+
"internalType": "Amount",
|
1023
|
+
"name": "dipAmount",
|
1024
|
+
"type": "uint96"
|
1025
|
+
}
|
1026
|
+
],
|
1027
|
+
"name": "withdrawInstanceRewardReserves",
|
1028
|
+
"outputs": [
|
1029
|
+
{
|
1030
|
+
"internalType": "Amount",
|
1031
|
+
"name": "newBalance",
|
1032
|
+
"type": "uint96"
|
1033
|
+
}
|
1034
|
+
],
|
1035
|
+
"stateMutability": "nonpayable",
|
1036
|
+
"type": "function"
|
517
1037
|
}
|
518
1038
|
],
|
519
1039
|
"bytecode": "0x",
|