dsa-connectors/contracts/mainnet/connectors/pooltogether/interface.sol

22 lines
923 B
Solidity
Raw Normal View History

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;
}
interface PodInterface {
function token() external view returns (address);
function depositTo(address to, uint256 tokenAmount) external returns (uint256);
function withdraw(uint256 shareAmount, uint256 maxFee) external returns (uint256);
function balanceOf(address account) external view returns (uint256);
2021-08-11 22:36:57 +00:00
}