ICoverageFundV1
Kiln
Coverage Fund Interface (v1)
This interface exposes methods to receive donations for the slashing coverage fund and pull the funds into river
Methods
donate
Donates ETH to the coverage fund contract
initCoverageFundV1
Initialize the coverage fund with the required arguments
Parameters
Name | Type | Description |
---|---|---|
_riverAddress | address | Address of River |
pullCoverageFunds
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
A donation has been made to the coverage fund
Parameters
Name | Type | Description |
---|---|---|
donator | address | Address that performed the donation |
amount | uint256 | The amount donated |
SetRiver
The storage river address has changed
Parameters
Name | Type | Description |
---|---|---|
river | address | The new river address |
Errors
EmptyDonation
A donation with 0 ETH has been performed
InvalidCall
The fallback or receive callback has been triggered
Last updated