Liquid Collective ETH
Liquid Collective DocsGithub
  • ETH Liquid Staking Documentation
  • Overview
    • Roles & Staking Infrastructure
    • Architecture
    • Staking Amounts
    • Slashing Coverage
    • Permissioning
    • Protocol Metadata
  • Tokenomics
    • LsETH (cToken)
    • Rewards, Fees, & Socialization
    • Deposits & Redemptions
  • Node Operations
    • Validator Infrastructure
    • Operate Validator Nodes
  • Oracles
    • Oracle Infrastructure
    • Operate an Oracle
  • Platforms
    • Platform Operations
  • 💻Technical Reference
    • Deployment Addresses
    • Smart Contracts
      • RiverV1
      • RedeemManagerV1
      • CoverageFundV1
      • TLCV1
      • ELFeeRecipientV1
      • Administrable
      • AllowlistV1
      • Firewall
      • WithdrawV1
      • WLSETHV1
      • Initializable
      • OperatorsRegistryV1
      • TUPProxy
      • OracleV1
      • ProtocolMetrics
      • Components
        • OracleManagerV1
        • SharesManagerV1
        • ERC20VestableVotesUpgradeableV1
        • ConsensusLayerDepositManagerV1
        • UserDepositManagerV1
      • Interfaces
        • IFirewall
        • IAllowlistV1
        • IAdministrable
        • IConsensusLayerDepositManagerV1
        • IRedeemManagerV1
        • IOracleManagerV1
        • ISharesManagerV1
        • IUserDepositManagerV1
        • IERC20VestableVotesUpgradeableV1
        • IOperatorsRegistryV1
        • IOracleV1
        • ITLCV1
        • IWLSETHV1
        • IWithdrawV1
        • IRiverV1
        • ICoverageFundV1
        • IDepositContract
        • IELFeeRecipientV1
        • IProtocolVersion
      • Libraries
        • LibBytes
        • LibErrors
        • LibBasisPoints
        • LibSanitize
        • LibAdministrable
        • LibUnstructuredStorage
        • LibAllowlistMasks
        • LibUint256
      • 🌊State
        • OperatorsRegistry
          • OperatorsV2
          • CurrentValidatorExitsDemand
          • ValidatorKeys
          • TotalValidatorExitsRequested
        • AllowList
          • AllowerAddress
          • DenierAddress
          • Allowlist
        • Oracle
          • LastEpochId
          • OracleMembers
          • Quorum
          • ReportsPositions
          • ReportsVariants
        • RedeemManager
          • BufferedExceedingEth
          • RedeemDemand
          • RedeemQueueV2
          • WithdrawalStack
        • River
          • AllowlistAddress
          • BalanceToDeposit
          • BalanceToRedeem
          • CLSpec
          • CLValidatorCount
          • CLValidatorTotalBalance
          • CollectorAddress
          • CommittedBalance
          • CoverageFundAddress
          • DailyCommittableLimits
          • DepositContractAddress
          • DepositedValidatorCount
          • ELFeeRecipientAddress
          • GlobalFee
          • KeeperAddress
          • LastConsensusLayerReport
          • LastOracleRoundId
          • MetadataURI
          • OperatorsRegistryAddress
          • OracleAddress
          • RedeemManagerAddress
          • ReportBounds
          • Shares
          • SharesPerOwner
          • WithdrawalCredentials
        • Shared
          • AdministratorAddress
          • ApprovalsPerOwner
          • PendingAdministratorAddress
          • RiverAddress
          • Version
        • SlashingCoverage
          • BalanceForCoverage
        • TLC
          • IgnoreGlobalUnlockSchedule
          • VestingSchedulesV2
        • WLSETH
          • BalanceOf
    • CLI
      • operators
        • operators count
        • operators add
        • operators get
        • operators list
      • validators
        • validators count
        • validators add
        • validators remove
        • validators get
      • oracle
        • oracle specs
        • oracle report
          • oracle status
        • oracle quorum
        • oracle members
          • oracle list
        • oracle epochs
          • oracle epochs current
          • oracle epochs last-completed
          • oracle epochs expected
        • oracle current-frame
        • oracle run
      • eth1keys
        • eth1keys generate
        • eth1keys import
      • withdrawal
        • withdrawal address
        • withdrawal credentials
      • el-fee-recipient
        • el-fee-recipient address
      • allowlist
        • allowlist is-allowed
        • allowlist allow
        • allowlist remove
      • eth-cl
        • eth-cl get-spec
        • eth-cl get-validator
      • eth-el
        • eth-el blocknumber
        • eth-el chain-id
  • FAQ
Powered by GitBook
On this page
  • Methods
  • donate
  • initCoverageFundV1
  • pullCoverageFunds
  • Events
  • Donate
  • SetRiver
  • Errors
  • EmptyDonation
  • InvalidCall
Export as PDF
  1. Technical Reference
  2. Smart Contracts
  3. Interfaces

ICoverageFundV1

Alluvial Finance Inc.

Coverage Fund Interface (v1)

This interface exposes methods to receive donations for the slashing coverage fund and pull the funds into river

Methods

donate

function donate() external payable

Donates ETH to the coverage fund contract

initCoverageFundV1

function initCoverageFundV1(address _riverAddress) external nonpayable

Initialize the coverage fund with the required arguments

Parameters

Name
Type
Description

_riverAddress

address

Address of River

pullCoverageFunds

function pullCoverageFunds(uint256 _maxAmount) external nonpayable

Pulls ETH into the River contract

Only callable by the River contract

Parameters

Name
Type
Description

_maxAmount

uint256

The maximum amount to pull into the system

Events

Donate

event Donate(address indexed donator, uint256 amount)

A donation has been made to the coverage fund

Parameters

Name
Type
Description

donator indexed

address

Address that performed the donation

amount

uint256

The amount donated

SetRiver

event SetRiver(address indexed river)

The storage river address has changed

Parameters

Name
Type
Description

river indexed

address

The new river address

Errors

EmptyDonation

error EmptyDonation()

A donation with 0 ETH has been performed

InvalidCall

error InvalidCall()

The fallback or receive callback has been triggered

PreviousIRiverV1NextIDepositContract

Last updated 2 months ago

💻