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.24; | |
// File: contracts/ERC677Receiver.sol | |
contract ERC677Receiver { | |
function onTokenTransfer(address _from, uint _value, bytes _data) external returns(bool); | |
} | |
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol |
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
// Create a Person function | |
function Person(first, last) { | |
this.firstName = first; | |
this.lastName = last; | |
} | |
// Function Person and Person.prototype are created | |
typeof Person // "function" | |
typeof Person.prototype // "object" |
NewerOlder