Hello, here is a selection of publicly available audits or reviews I have completed.
This file contains hidden or 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
const solc = require('solc'); | |
const solcV0410 = solc.useVersion('v0.4.10+commit.f0d539ae') | |
const simpleContract = 'contract Simple { function g() {} }'; | |
var outputLatest = solc.compile(simpleContract); | |
console.log(outputLatest.contracts[':Simple']['bytecode']); | |
// get a legacy version | |
// This requires this file: https://raw.githubusercontent.com/ethereum/solc-bin/gh-pages/bin/soljson-v0.4.10%2Bcommit.f0d539ae.js |
This file contains hidden or 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.15; | |
contract C{ | |
function throws(){ | |
throw; | |
} | |
function reverts(){ | |
revert(); | |
} |
This file contains hidden or 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; | |
contract Attacker { | |
Victim public victimContract; | |
uint x; | |
function Attacker(){ | |
victimContract = (new Victim).value(10)(); | |
} |
This file contains hidden or 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
contract ReEnter { | |
TestToken tt; | |
function ReEnter(address _target){ | |
tt = TestToken(_target); | |
} | |
function deposit() payable { | |
tt.deposit.value(msg.value)(); | |
} |
This file contains hidden or 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
contract ReEnter { | |
TestToken tt; | |
function ReEnter(address _target){ | |
tt = TestToken(_target); | |
} | |
function deposit() payable { | |
tt.deposit.value(msg.value)(); | |
} |
This file contains hidden or 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
0x5c79d3d994b54f98cedb0c5d9be4842f26e2fe10 |
This file contains hidden or 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
"0x5C79D3D994b54F98CEdB0c5D9Be4842f26E2Fe10" |
ConsenSys Diligence is looking for people with a strong knowledge of Solidity and the EVM, to audit exciting contract systems for both ConsenSys spokes, and our clients who are among the top quality projects on the ethereum blockchain.
Our job is to hack crucial contracts before the bad guys do.
This file contains hidden or 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
$ npm test | |
> [email protected] test /Users/primary/Projects/cryptokitties-bounty | |
> truffle test | |
Compiling ./contracts/Auction/ClockAuction.sol... | |
Compiling ./contracts/Auction/ClockAuctionBase.sol... | |
Compiling ./contracts/Auction/SaleClockAuction.sol... | |
Compiling ./contracts/Auction/SiringClockAuction.sol... | |
Compiling ./contracts/Debuggable.sol... |