|
@ -1,14 +1,14 @@ |
|
|
contract JSON_Test { |
|
|
contract JSON_Test { |
|
|
event Log0(uint value); |
|
|
event Log0(uint value) ; |
|
|
event Log0Anonym (uint value) ; |
|
|
event Log0Anonym (uint value) anonymous; |
|
|
event Log1(bool indexed aBool, uint value); |
|
|
event Log1(bool indexed aBool, uint value); |
|
|
event Log1Anonym(bool indexed aBool, uint value) ; |
|
|
event Log1Anonym(bool indexed aBool, uint value) anonymous; |
|
|
event Log2(bool indexed aBool, address indexed aAddress, uint value); |
|
|
event Log2(bool indexed aBool, address indexed aAddress, uint value); |
|
|
event Log2Anonym(bool indexed aBool, address indexed aAddress, uint value) ; |
|
|
event Log2Anonym(bool indexed aBool, address indexed aAddress, uint value) anonymous; |
|
|
event Log3(bool indexed aBool, address indexed aAddress, bytes32 indexed aBytes32, uint value); |
|
|
event Log3(bool indexed aBool, address indexed aAddress, bytes32 indexed aBytes32, uint value); |
|
|
event Log3Anonym(bool indexed aBool, address indexed aAddress, bytes32 indexed aBytes32, uint value) ; |
|
|
event Log3Anonym(bool indexed aBool, address indexed aAddress, bytes32 indexed aBytes32, uint value) anonymous; |
|
|
event Log4(bool indexed aBool, address indexed aAddress, bytes32 indexed aBytes32, int8 aInt8, uint value); |
|
|
event Log4(bool indexed aBool, address indexed aAddress, bytes32 indexed aBytes32, int8 aInt8, uint value); |
|
|
event Log4Anonym(bool indexed aBool, address indexed aAddress, bytes32 indexed aBytes32, int8 aInt8, uint value) ; |
|
|
event Log4Anonym(bool indexed aBool, address indexed aAddress, bytes32 indexed aBytes32, int8 aInt8, uint value) anonymous; |
|
|
|
|
|
|
|
|
function JSON_Test() { |
|
|
function JSON_Test() { |
|
|
} |
|
|
} |
|
@ -37,10 +37,6 @@ |
|
|
myAddress = _address; |
|
|
myAddress = _address; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function setBytes0(bytes0 _bytes0) { |
|
|
|
|
|
myBytes0 = _bytes0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function setBytes32(bytes32 _bytes32) { |
|
|
function setBytes32(bytes32 _bytes32) { |
|
|
myBytes32 = _bytes32; |
|
|
myBytes32 = _bytes32; |
|
|
} |
|
|
} |
|
@ -69,10 +65,6 @@ |
|
|
return myAddress; |
|
|
return myAddress; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function getBytes0() returns (bytes0 ret) { |
|
|
|
|
|
return myBytes0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function getBytes32() returns (bytes32 ret) { |
|
|
function getBytes32() returns (bytes32 ret) { |
|
|
return myBytes32; |
|
|
return myBytes32; |
|
|
} |
|
|
} |
|
@ -123,7 +115,6 @@ |
|
|
int256 myInt256; |
|
|
int256 myInt256; |
|
|
uint256 myUint256; |
|
|
uint256 myUint256; |
|
|
address myAddress; |
|
|
address myAddress; |
|
|
bytes0 myBytes0; |
|
|
|
|
|
bytes32 myBytes32; |
|
|
bytes32 myBytes32; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|