Skip to content

Instantly share code, notes, and snippets.

@Ducasse
Ducasse / smalltalkEnv.tex
Created September 7, 2019 06:36 — forked from mattonem/smalltalkEnv.tex
Smalltalk listing environment
% 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}
@Ducasse
Ducasse / MyWallet.sol
Created August 28, 2018 13:54
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
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 {
@Ducasse
Ducasse / MyWallet.sol
Created August 28, 2018 13:39
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.24;
contract MyWallet {
address private owner;
uint8 constant private version = 1;
constructor() public {
owner = msg.sender;
}
@Ducasse
Ducasse / SimpleContract.sol
Created August 28, 2018 12:37
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^ 0.4.24;
/**
* @title
* @author stef
*/
contract SimpleContract {
uint data;
string name = "simple";
@Ducasse
Ducasse / SimpleContract.sol
Created August 28, 2018 12:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^ 0.4.24;
/**
* @title
* @author stef
* /
contract SimpleContract {
uint data;
string name = "simple";