Depositable

Git Source

Author: Mure

Interface for deposit functionality of pools.

Functions

deposit

function deposit(string calldata poolName, uint256 amount, bytes calldata sig) external;

deposit

function deposit(string calldata poolName, uint256 amount, bytes calldata data, bytes calldata sig) external;

deposited

function deposited(string calldata poolName, address depositor) external view returns (uint256);

Events

Deposit

event Deposit(string poolName, uint256 indexed amount, address indexed from, bytes data);