2021-07-03 02:49:43 +00:00
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
|
|
|
|
interface PrizePoolInterface {
|
2021-07-05 13:52:20 +00:00
|
|
|
function token() external view returns (address);
|
2021-07-03 02:49:43 +00:00
|
|
|
function depositTo( address to, uint256 amount, address controlledToken, address referrer) external;
|
|
|
|
function withdrawInstantlyFrom( address from, uint256 amount, address controlledToken, uint256 maximumExitFee) external returns (uint256);
|
2021-08-05 17:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface TokenFaucetInterface {
|
|
|
|
function claim( address user) external returns (uint256);
|
|
|
|
}
|
2021-08-11 22:36:57 +00:00
|
|
|
|
|
|
|
interface TokenFaucetProxyFactoryInterface {
|
|
|
|
function claimAll(address user, TokenFaucetInterface[] calldata tokenFaucets) external;
|
2021-08-19 04:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface PodInterface {
|
2021-09-09 23:32:24 +00:00
|
|
|
function token() external view returns (address);
|
2021-08-19 04:58:00 +00:00
|
|
|
function depositTo(address to, uint256 tokenAmount) external returns (uint256);
|
|
|
|
function withdraw(uint256 shareAmount, uint256 maxFee) external returns (uint256);
|
2021-09-02 20:29:55 +00:00
|
|
|
function balanceOf(address account) external view returns (uint256);
|
2021-08-11 22:36:57 +00:00
|
|
|
}
|