Skip to content

Instantly share code, notes, and snippets.

View amadeobrands's full-sized avatar
🦄
Moving Forward

Amadeo Brands amadeobrands

🦄
Moving Forward
View GitHub Profile
interface Lender {
function goWild() external;
}
contract FlashERC20 is ERC20 {
using SafeMath for uint256;
function flash(uint256 amount) external {
balances[msg.sender] = balances[msg.sender].add(amount);
Lender(msg.sender).goWild();
pragma solidity ^0.4.6;
contract tokenRecipient {function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData);}
contract MCAP {
/* Public variables of the token */
string public standard = 'MCAP 1.0';