Run sFuzz with Customized EVM
Features should be supported by evm to integrate with sFuzz. Section 1 provides a high level of a required interface. Section 2 contains more details
1 Background
pragma solidity 0.4.24;
contract SimpleDAO {
mapping (address => uint) public credit;
function donate(address to) payable public{
credit[to] += msg.value;
}
function withdraw(uint amount) public{
if (credit[msg.sender]>= amount) {
if(msg.sender.call.value(amount)()) {
credit[msg.sender]-=amount;
}
}
}
function queryCredit(address to) view public returns(uint){
return credit[to];
}
}2 Interface
Last updated