Faucet

Deployment Address
Code: Faucet.sol

Basics

  • Allows every Kinto wallet to receive a one-time payment of ETH to pay for gas fees.

State functions

claimKintoETH() external override
claimKintoETH(IFaucet.SignatureData calldata _signatureData) external onlyOwner
withdrawAll() external override onlyOwner
startFaucet() payable external override onlyOwner
  1. 1.
    claimKintoETH
Allows users to claim a predefined amount of ETH from the faucet.
function claimKintoETH() external override;
No parameters.
  1. 2.
    claimKintoETH (via signature)
Allows the owner to claim ETH on behalf of a user using a signature.
function claimOnBehalf(IFaucet.SignatureData calldata _signatureData) external onlyOwner;
Parameter
Type
Explanation
_signatureData
IFaucet.SignatureData
Signature data for claiming.
  1. 3.
    withdrawAll
Withdraws all ETH from the faucet and deactivates it.
function withdrawAll() external override onlyOwner;
No parameters.
  1. 4.
    startFaucet
Starts the faucet with an initial ETH deposit.
function startFaucet() payable external override onlyOwner;
No parameters.

Custom Events

  1. 1.
    Claim
Emitted when ETH is claimed from the faucet.
event Claim(address indexed _to, uint256 _timestamp);
Parameter
Type
Explanation
_to
address
The address receiving the ETH.
_timestamp
uint256
The timestamp of the claim.