Skip to content

Instantly share code, notes, and snippets.

View tetuaoro's full-sized avatar
🌏
Working around the world

tetuaoro

🌏
Working around the world
View GitHub Profile
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
interface IAugustusSwapper {
/**
* @param fromToken Address of the source token
* @param fromAmount Amount of source tokens to be swapped
@mounibec
mounibec / IAugustusSwapper.sol
Last active October 21, 2023 09:08
ParaSwap's AugustusSwapper Interface
pragma solidity 0.5.11;
pragma experimental ABIEncoderV2;
interface IAugustusSwapper {
struct Route {
address payable exchange;
address targetExchange;
uint percent;