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

Update GGMToken_5.0.sol #5

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
20 changes: 10 additions & 10 deletions contract/GGMToken_5.0.sol
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pragma solidity ^0.5.00;

// ----------------------------------------------------------------------------
// 'GGMToken' token contract
//'CCBToken' token contract
//
// Deployed to : 0xFEB02D9383C49A8373F88e82EbCecB553c1837bf
// Symbol : GGM
// Name : GGMToken
// Deployed to : 0x78753C3c20bA976433D0320276f4E69883eD4284
// Symbol : CCB
// Name : CCBToken
// 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 GGMToken is ERC20Interface, Owned, SafeMath {
contract CCBToken is ERC20Interface, Owned, SafeMath {
string public symbol;
string public name;
uint8 public decimals;
Expand All @@ -113,12 +113,12 @@ contract GGMToken is ERC20Interface, Owned, SafeMath {
// Constructor
// ------------------------------------------------------------------------
constructor() public {
symbol = "GGM";
name = "GGMToken";
symbol = "CCB";
name = "CCBToken";
decimals = 18;
_totalSupply = 100000000000000000000000000;
balances[0xFEB02D9383C49A8373F88e82EbCecB553c1837bf] = _totalSupply;
emit Transfer(address(0), 0xFEB02D9383C49A8373F88e82EbCecB553c1837bf, _totalSupply);
balances[0x78753C3c20bA976433D0320276f4E69883eD4284] = _totalSupply;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im getting a debug error on this line with my wallet adress

emit Transfer(address(0), 0x78753C3c20bA976433D0320276f4E69883eD4284, _totalSupply);
}


Expand Down Expand Up @@ -220,4 +220,4 @@ contract GGMToken is ERC20Interface, Owned, SafeMath {
function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {
return ERC20Interface(tokenAddress).transfer(owner, tokens);
}
}
}