examples and more contracts

This commit is contained in:
Manuel Araoz
2016-08-10 15:23:39 -03:00
parent c9ae7c3f1c
commit 015708af62
9 changed files with 132 additions and 3 deletions

14
contracts/BadArrayUse.sol Normal file
View File

@ -0,0 +1,14 @@
import './PullPaymentCapable.sol';
// UNSAFE CODE, DO NOT USE!
contract BadArrayUse is PullPaymentCapable {
address[] employees;
function payroll() {
for (var i = 0; i < employees.length; i++) {
}
}
}