aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/gnosis/MarketMakers/MarketMaker.sol
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-07-02 17:14:28 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-07-03 00:58:44 +0800
commit9d23fd80130ca1d020cf3ba494751fd5e3aa5fde (patch)
treec392fe25bfc32af41f69744309df9b541953a002 /test/compilationTests/gnosis/MarketMakers/MarketMaker.sol
parent469dc7bbe72c3ac1c32d46a233e4bf0b36451c22 (diff)
downloaddexon-solidity-9d23fd80130ca1d020cf3ba494751fd5e3aa5fde.tar
dexon-solidity-9d23fd80130ca1d020cf3ba494751fd5e3aa5fde.tar.gz
dexon-solidity-9d23fd80130ca1d020cf3ba494751fd5e3aa5fde.tar.bz2
dexon-solidity-9d23fd80130ca1d020cf3ba494751fd5e3aa5fde.tar.lz
dexon-solidity-9d23fd80130ca1d020cf3ba494751fd5e3aa5fde.tar.xz
dexon-solidity-9d23fd80130ca1d020cf3ba494751fd5e3aa5fde.tar.zst
dexon-solidity-9d23fd80130ca1d020cf3ba494751fd5e3aa5fde.zip
Update compilation tests.
Diffstat (limited to 'test/compilationTests/gnosis/MarketMakers/MarketMaker.sol')
-rw-r--r--test/compilationTests/gnosis/MarketMakers/MarketMaker.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/compilationTests/gnosis/MarketMakers/MarketMaker.sol b/test/compilationTests/gnosis/MarketMakers/MarketMaker.sol
index 3162ce64..ef5942cd 100644
--- a/test/compilationTests/gnosis/MarketMakers/MarketMaker.sol
+++ b/test/compilationTests/gnosis/MarketMakers/MarketMaker.sol
@@ -8,7 +8,7 @@ contract MarketMaker {
/*
* Public functions
*/
- function calcCost(Market market, uint8 outcomeTokenIndex, uint outcomeTokenCount) public constant returns (uint);
- function calcProfit(Market market, uint8 outcomeTokenIndex, uint outcomeTokenCount) public constant returns (uint);
- function calcMarginalPrice(Market market, uint8 outcomeTokenIndex) public constant returns (uint);
+ function calcCost(Market market, uint8 outcomeTokenIndex, uint outcomeTokenCount) public view returns (uint);
+ function calcProfit(Market market, uint8 outcomeTokenIndex, uint outcomeTokenCount) public view returns (uint);
+ function calcMarginalPrice(Market market, uint8 outcomeTokenIndex) public view returns (uint);
}