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
% Just add \input{smalltalkEnv} to your file | |
% then you can use : | |
% \begin{lstlisting}[language=Smalltalk] | |
% false become: true. | |
% \end{lstlisting} | |
\usepackage{color} | |
\usepackage{listings} | |
\usepackage{etoolbox} |
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
pragma solidity ^0.4.24; | |
contract MyWallet { | |
address private owner; | |
uint8 constant private version = 1; | |
event PayEvent(address rec, uint amount); | |
event DepositEvent(address rec, uint amount); | |
constructor() public { |
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
pragma solidity ^0.4.24; | |
contract MyWallet { | |
address private owner; | |
uint8 constant private version = 1; | |
constructor() public { | |
owner = msg.sender; | |
} | |
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
pragma solidity ^ 0.4.24; | |
/** | |
* @title | |
* @author stef | |
*/ | |
contract SimpleContract { | |
uint data; | |
string name = "simple"; | |
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
pragma solidity ^ 0.4.24; | |
/** | |
* @title | |
* @author stef | |
* / | |
contract SimpleContract { | |
uint data; | |
string name = "simple"; | |