pragma solidity ^0.5.1; contract MainMarket { enum Position { Short, Long } struct AuxiliaryMarket { address addr; Position position; } AuxiliaryMarket auxiliaryMarket; constructor() public { } } contract MainMarketInterface { //Withdraw 5% to holders function withdraw() external; //Convert the asset tokens to Zap Tokens function exchangeZap() private; //Disperse funds to holders 5% fee based on percentage of stake function disperseFunds() private; //Self destruct the contract if it goes bankrupt function selfDestruct() external; //Deposits Zap Tokens to MainMarket Contract function deposit() payable external; //Get current Zap price function getZapPrice() external; }
0.5.1