Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOJE Update and rename contracts/erc20_tutorial.sol to Umów/erc20_tutorial… #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions contracts/erc20_tutorial.sol → Umów/erc20_tutorial.sol
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pragma solidity ^0.4.24;

// ----------------------------------------------------------------------------
// '0Fucks' token contract
// 'Abi' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : 0FUCKS
// Name : 0 Fucks Token
// Deployed to : 0x468E0f0CCb3c5F3c9557BDe7eA0d8ABA964F9081
// Symbol : Abi Token
// Name : Abi Token
// Total supply: 100000000
// Decimals : 18
//
Expand Down Expand Up @@ -99,7 +99,7 @@ contract Owned {
// ERC20 Token, with the addition of symbol, name and decimals and assisted
// token transfers
// ----------------------------------------------------------------------------
contract FucksToken is ERC20Interface, Owned, SafeMath {
contract AbiToken is ERC20Interface, Owned, SafeMath {
string public symbol;
string public name;
uint8 public decimals;
Expand All @@ -113,8 +113,8 @@ contract FucksToken is ERC20Interface, Owned, SafeMath {
// Constructor
// ------------------------------------------------------------------------
constructor() public {
symbol = "0FUCKS";
name = "0 Fucks Token";
symbol = "AbiToken";
name = "0 Abi Token";
decimals = 18;
_totalSupply = 100000000000000000000000000;
balances[0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222] = _totalSupply;
Expand Down Expand Up @@ -220,4 +220,4 @@ contract FucksToken is ERC20Interface, Owned, SafeMath {
function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {
return ERC20Interface(tokenAddress).transfer(owner, tokens);
}
}
}