-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge the develop branch to the master branch, preparation to v5.7.0-rc1
This set of changes includes the following improvements and few fixes: * [Improvement] Earn interest on locked tokens using Compound Protocol (#590) * [Other] Remove deprecated bridge types (#595) * [Other] Bump contracts and package version before 5.7.0-rc1 (#597)
- Loading branch information
Showing
142 changed files
with
52,791 additions
and
40,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
## Gas Consumption by Bridge Mode | ||
|
||
- [NATIVE-TO-ERC](docs/NATIVE-TO-ERC.md) | ||
- [NATIVE-TO-ERC-WITH-REWARD](docs/NATIVE-TO-ERC-WITH-REWARD.md) | ||
- [ERC-TO-ERC](docs/ERC-TO-ERC.md) | ||
- [ERC-TO-NATIVE](docs/ERC-TO-NATIVE.md) | ||
- [ERC-TO-NATIVE-WITH-REWARD](docs/ERC-TO-NATIVE-WITH-REWARD.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
pragma solidity 0.4.24; | ||
|
||
interface ICToken { | ||
function mint(uint256 mintAmount) external returns (uint256); | ||
function redeemUnderlying(uint256 redeemAmount) external returns (uint256); | ||
function balanceOf(address account) external view returns (uint256); | ||
function balanceOfUnderlying(address account) external view returns (uint256); | ||
function borrow(uint256 borrowAmount) external returns (uint256); | ||
function repayBorrow(uint256 borrowAmount) external returns (uint256); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pragma solidity 0.4.24; | ||
|
||
interface IComptroller { | ||
function claimComp(address[] holders, address[] cTokens, bool borrowers, bool suppliers) external; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pragma solidity 0.4.24; | ||
|
||
interface IInterestReceiver { | ||
function onInterestReceived(address _token) external; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pragma solidity 0.4.24; | ||
|
||
interface IUniswapRouterV2 { | ||
function swapExactTokensForTokens( | ||
uint256 amountIn, | ||
uint256 amountOutMin, | ||
address[] path, | ||
address to, | ||
uint256 deadline | ||
) external returns (uint256[] amounts); | ||
function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) | ||
external | ||
returns (uint256[] amounts); | ||
function getAmountsOut(uint256 amountIn, address[] path) external view returns (uint256[] memory amounts); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.