mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
27 lines
1.0 KiB
Solidity
27 lines
1.0 KiB
Solidity
//SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.7.0;
|
|
|
|
interface PrizePoolInterface {
|
|
function token() external view returns (address);
|
|
function depositTo( address to, uint256 amount, address controlledToken, address referrer) external;
|
|
function withdrawInstantlyFrom( address from, uint256 amount, address controlledToken, uint256 maximumExitFee) external returns (uint256);
|
|
}
|
|
|
|
interface PodTokenDropInterface {
|
|
function claim(address user) external returns (uint256);
|
|
}
|
|
|
|
interface TokenFaucetInterface {
|
|
function claim( address user) external returns (uint256);
|
|
}
|
|
|
|
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);
|
|
} |