diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-07-02 17:14:28 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-07-03 00:58:44 +0800 |
commit | 9d23fd80130ca1d020cf3ba494751fd5e3aa5fde (patch) | |
tree | c392fe25bfc32af41f69744309df9b541953a002 /test/compilationTests/gnosis/Events/Event.sol | |
parent | 469dc7bbe72c3ac1c32d46a233e4bf0b36451c22 (diff) | |
download | dexon-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/Events/Event.sol')
-rw-r--r-- | test/compilationTests/gnosis/Events/Event.sol | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/compilationTests/gnosis/Events/Event.sol b/test/compilationTests/gnosis/Events/Event.sol index a6edb778..177f61df 100644 --- a/test/compilationTests/gnosis/Events/Event.sol +++ b/test/compilationTests/gnosis/Events/Event.sol @@ -90,7 +90,7 @@ contract Event { /// @return Outcome count function getOutcomeCount() public - constant + view returns (uint8) { return uint8(outcomeTokens.length); @@ -100,7 +100,7 @@ contract Event { /// @return Outcome tokens function getOutcomeTokens() public - constant + view returns (OutcomeToken[]) { return outcomeTokens; @@ -110,7 +110,7 @@ contract Event { /// @return Outcome token distribution function getOutcomeTokenDistribution(address owner) public - constant + view returns (uint[] outcomeTokenDistribution) { outcomeTokenDistribution = new uint[](outcomeTokens.length); @@ -120,7 +120,7 @@ contract Event { /// @dev Calculates and returns event hash /// @return Event hash - function getEventHash() public constant returns (bytes32); + function getEventHash() public view returns (bytes32); /// @dev Exchanges sender's winning outcome tokens for collateral tokens /// @return Sender's winnings |