Skip to content

Instantly share code, notes, and snippets.

@Matleo
Created October 18, 2018 12:24
Show Gist options
  • Save Matleo/aafb4e48b842c33bee8360ead2565fc5 to your computer and use it in GitHub Desktop.
Save Matleo/aafb4e48b842c33bee8360ead2565fc5 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.25+commit.59dbf8f1.js&optimize=false&gist=
pragma solidity ^0.4.7;
contract TekkenInterface{
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals;
uint256 public sellPrice;
uint256 public buyPrice;
uint256 public totalSupply;
address public owner;
function balanceOf(address _ad) public constant returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function setPrices(uint256 newSellPrice, uint256 newBuyPrice) public;
function buy() payable public;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment