UserDepositManagerV1

Kiln

User Deposit Manager (v1)

This contract handles the inbound transfers cases or the explicit submissions

Methods

deposit

function deposit() external payable

Explicit deposit method to mint on msg.sender

depositAndTransfer

function depositAndTransfer(address _recipient) external payable

Explicit deposit method to mint on msg.sender and transfer to _recipient

Parameters

Events

UserDeposit

event UserDeposit(address indexed depositor, address indexed recipient, uint256 amount)

User deposited ETH in the system

Parameters

Errors

EmptyDeposit

error EmptyDeposit()

And empty deposit attempt was made

InvalidCall

error InvalidCall()

The call was invalid

InvalidZeroAddress

error InvalidZeroAddress()

The address is zero

Last updated