-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In auction contract price is check with zero auction protection all t…
…oken based function removed all unused variable function is removed new test case update according to change
- Loading branch information
Showing
22 changed files
with
3,859 additions
and
949 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
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,17 +1,10 @@ | ||
pragma solidity ^0.5.9; | ||
import "./IERC20Token.sol"; | ||
|
||
|
||
interface IAuctionLiquadity { | ||
function contributeWithEther() external payable returns (uint256); | ||
|
||
function auctionEnded() external returns (bool); | ||
|
||
function contributeTowardMainReserve() external returns (uint256); | ||
|
||
function contributeWithToken( | ||
IERC20Token _token, | ||
address _from, | ||
uint256 _amount | ||
) external returns (uint256); | ||
} |
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,42 +1,40 @@ | ||
pragma solidity ^0.5.9; | ||
|
||
contract AuctionRegisteryContracts{ | ||
|
||
contract AuctionRegisteryContracts { | ||
bytes32 internal constant MAIN_TOKEN = "MAIN_TOKEN"; | ||
|
||
bytes32 internal constant ETN_TOKEN = "ETN_TOKEN"; | ||
|
||
bytes32 internal constant STOCK_TOKEN = "STOCK_TOKEN"; | ||
|
||
bytes32 internal constant AUCTION_PROTECTION = "AUCTION_PROTECTION"; | ||
|
||
bytes32 internal constant WHITE_LIST = "WHITE_LIST"; | ||
|
||
bytes32 internal constant AUCTION = "AUCTION"; | ||
|
||
bytes32 internal constant LIQUADITY = "LIQUADITY"; | ||
|
||
bytes32 internal constant CURRENCY = "CURRENCY"; | ||
|
||
bytes32 internal constant INDIVIDUAL_BONUS = "INDIVIDUAL_BONUS"; | ||
|
||
bytes32 internal constant VAULT = "VAULT"; | ||
|
||
bytes32 internal constant TAG_ALONG = "TAG_ALONG"; | ||
|
||
bytes32 internal constant COMPANY_FUND_WALLET = "COMPANY_FUND_WALLET"; | ||
|
||
bytes32 internal constant COMPANY_MAIN_TOKEN_WALLET = "COMPANY_MAIN_TOKEN_WALLET"; | ||
|
||
bytes32 internal constant STACKING_TOKEN_WALLET = "STACKING_TOKEN_WALLET"; | ||
|
||
bytes32 internal constant SMART_SWAP = "SMART_SWAP"; | ||
|
||
} | ||
|
||
|
||
interface IAuctionRegistery { | ||
function getAddressOf(bytes32 _contractName) external view returns (address payable); | ||
function getAddressOf(bytes32 _contractName) | ||
external | ||
view | ||
returns (address payable); | ||
} | ||
|
||
|
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
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
Oops, something went wrong.