ETH Price: $3,507.35 (-1.95%)
Gas: 10 Gwei

Token

ETG Finance (ETGF)
 

Overview

Max Total Supply

150,000 ETGF

Holders

855 (0.00%)

Total Transfers

-

Market

Price

$0.07 @ 0.000021 ETH (-0.03%)

Onchain Market Cap

$10,990.08

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

ETG Finance aims to connect companies, payment providers, digital asset exchanges and corporates via ETG & ETGP platform. ETGF token will be used for sending , staking and farming.

Market

Volume (24H):$0.00
Market Capitalization:$0.00
Circulating Supply:0.00 ETGF
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ETGFinance

Compiler Version
v0.5.0+commit.1d4f565a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-09-19
*/

/**
 *Submitted for verification at Etherscan.io on 2020-09-04
*/

pragma solidity ^0.5.0;

// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
    function totalSupply() public view returns (uint);
    function balanceOf(address tokenOwner) public view returns (uint balance);
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);
    function transfer(address to, uint tokens) public returns (bool success);
    function approve(address spender, uint tokens) public returns (bool success);
    function transferFrom(address from, address to, uint tokens) public returns (bool success);

    event Transfer(address indexed from, address indexed to, uint tokens);
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}

// ----------------------------------------------------------------------------
// Safe Math Library 
// ----------------------------------------------------------------------------
contract SafeMath {
    function safeAdd(uint a, uint b) public pure returns (uint c) {
        c = a + b;
        require(c >= a);
    }
    function safeSub(uint a, uint b) public pure returns (uint c) {
        require(b <= a); c = a - b; } function safeMul(uint a, uint b) public pure returns (uint c) { c = a * b; require(a == 0 || c / a == b); } function safeDiv(uint a, uint b) public pure returns (uint c) { require(b > 0);
        c = a / b;
    }
}


contract ETGFinance is ERC20Interface, SafeMath {
    string public name;
    string public symbol;
    uint8 public decimals; // 18 decimals is the strongly suggested default, avoid changing it
    
    uint256 public _totalSupply;
    
    mapping(address => uint) balances;
    mapping(address => mapping(address => uint)) allowed;
    
    /**
     * Constrctor function
     *
     * Initializes contract with initial supply tokens to the creator of the contract
     */
    constructor() public {
        name = "ETG Finance";
        symbol = "ETGF";
        decimals = 18;
        _totalSupply = 150000000000000000000000;
        
        balances[msg.sender] = _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);
    }
    
    function totalSupply() public view returns (uint) {
        return _totalSupply  - balances[address(0)];
    }
    
    function balanceOf(address tokenOwner) public view returns (uint balance) {
        return balances[tokenOwner];
    }
    
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {
        return allowed[tokenOwner][spender];
    }
    
    function approve(address spender, uint tokens) public returns (bool success) {
        allowed[msg.sender][spender] = tokens;
        emit Approval(msg.sender, spender, tokens);
        return true;
    }
    
    function transfer(address to, uint tokens) public returns (bool success) {
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);
        balances[to] = safeAdd(balances[to], tokens);
        emit Transfer(msg.sender, to, tokens);
        return true;
    }
    
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {
        balances[from] = safeSub(balances[from], tokens);
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);
        balances[to] = safeAdd(balances[to], tokens);
        emit Transfer(from, to, tokens);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeSub","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeDiv","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeMul","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeAdd","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Approval","type":"event"}]

608060405234801561001057600080fd5b5060408051808201909152600b8082527f4554472046696e616e6365000000000000000000000000000000000000000000602090920191825261005591600091610106565b506040805180820190915260048082527f4554474600000000000000000000000000000000000000000000000000000000602090920191825261009a91600191610106565b506002805460ff19166012179055691fc3842bd1f071c000006003819055336000818152600460209081526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36101a1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014757805160ff1916838001178555610174565b82800160010185558215610174579182015b82811115610174578251825591602001919060010190610159565b50610180929150610184565b5090565b61019e91905b80821115610180576000815560010161018a565b90565b6107db806101b06000396000f3fe6080604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd146101ab57806323b872dd146101d2578063313ce567146102155780633eaaf86b1461024057806370a082311461025557806395d89b4114610288578063a293d1e81461029d578063a9059cbb146102cd578063b5931f7c14610306578063d05c78da14610336578063dd62ed3e14610366578063e6cb9013146103a1575b600080fd5b3480156100e057600080fd5b506100e96103d1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012357818101518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561016a57600080fd5b506101976004803603604081101561018157600080fd5b50600160a060020a03813516906020013561045f565b604080519115158252519081900360200190f35b3480156101b757600080fd5b506101c06104c6565b60408051918252519081900360200190f35b3480156101de57600080fd5b50610197600480360360608110156101f557600080fd5b50600160a060020a038135811691602081013590911690604001356104f8565b34801561022157600080fd5b5061022a6105f1565b6040805160ff9092168252519081900360200190f35b34801561024c57600080fd5b506101c06105fa565b34801561026157600080fd5b506101c06004803603602081101561027857600080fd5b5035600160a060020a0316610600565b34801561029457600080fd5b506100e961061b565b3480156102a957600080fd5b506101c0600480360360408110156102c057600080fd5b5080359060200135610675565b3480156102d957600080fd5b50610197600480360360408110156102f057600080fd5b50600160a060020a03813516906020013561068a565b34801561031257600080fd5b506101c06004803603604081101561032957600080fd5b508035906020013561072e565b34801561034257600080fd5b506101c06004803603604081101561035957600080fd5b508035906020013561074f565b34801561037257600080fd5b506101c06004803603604081101561038957600080fd5b50600160a060020a0381358116916020013516610774565b3480156103ad57600080fd5b506101c0600480360360408110156103c457600080fd5b508035906020013561079f565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104575780601f1061042c57610100808354040283529160200191610457565b820191906000526020600020905b81548152906001019060200180831161043a57829003601f168201915b505050505081565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec546003540390565b600160a060020a03831660009081526004602052604081205461051b9083610675565b600160a060020a03851660009081526004602090815260408083209390935560058152828220338352905220546105529083610675565b600160a060020a038086166000908152600560209081526040808320338452825280832094909455918616815260049091522054610590908361079f565b600160a060020a0380851660008181526004602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025460ff1681565b60035481565b600160a060020a031660009081526004602052604090205490565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104575780601f1061042c57610100808354040283529160200191610457565b60008282111561068457600080fd5b50900390565b336000908152600460205260408120546106a49083610675565b3360009081526004602052604080822092909255600160a060020a038516815220546106d0908361079f565b600160a060020a0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600080821161073c57600080fd5b818381151561074757fe5b049392505050565b818102821580610769575081838281151561076657fe5b04145b15156104c057600080fd5b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b818101828110156104c057600080fdfea165627a7a7230582017c3ff1885a658114b495bf6b26ce21b01d97ee03d2d488dd581ab5b9c2e717f0029

Deployed Bytecode

0x6080604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd146101ab57806323b872dd146101d2578063313ce567146102155780633eaaf86b1461024057806370a082311461025557806395d89b4114610288578063a293d1e81461029d578063a9059cbb146102cd578063b5931f7c14610306578063d05c78da14610336578063dd62ed3e14610366578063e6cb9013146103a1575b600080fd5b3480156100e057600080fd5b506100e96103d1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012357818101518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561016a57600080fd5b506101976004803603604081101561018157600080fd5b50600160a060020a03813516906020013561045f565b604080519115158252519081900360200190f35b3480156101b757600080fd5b506101c06104c6565b60408051918252519081900360200190f35b3480156101de57600080fd5b50610197600480360360608110156101f557600080fd5b50600160a060020a038135811691602081013590911690604001356104f8565b34801561022157600080fd5b5061022a6105f1565b6040805160ff9092168252519081900360200190f35b34801561024c57600080fd5b506101c06105fa565b34801561026157600080fd5b506101c06004803603602081101561027857600080fd5b5035600160a060020a0316610600565b34801561029457600080fd5b506100e961061b565b3480156102a957600080fd5b506101c0600480360360408110156102c057600080fd5b5080359060200135610675565b3480156102d957600080fd5b50610197600480360360408110156102f057600080fd5b50600160a060020a03813516906020013561068a565b34801561031257600080fd5b506101c06004803603604081101561032957600080fd5b508035906020013561072e565b34801561034257600080fd5b506101c06004803603604081101561035957600080fd5b508035906020013561074f565b34801561037257600080fd5b506101c06004803603604081101561038957600080fd5b50600160a060020a0381358116916020013516610774565b3480156103ad57600080fd5b506101c0600480360360408110156103c457600080fd5b508035906020013561079f565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104575780601f1061042c57610100808354040283529160200191610457565b820191906000526020600020905b81548152906001019060200180831161043a57829003601f168201915b505050505081565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec546003540390565b600160a060020a03831660009081526004602052604081205461051b9083610675565b600160a060020a03851660009081526004602090815260408083209390935560058152828220338352905220546105529083610675565b600160a060020a038086166000908152600560209081526040808320338452825280832094909455918616815260049091522054610590908361079f565b600160a060020a0380851660008181526004602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025460ff1681565b60035481565b600160a060020a031660009081526004602052604090205490565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104575780601f1061042c57610100808354040283529160200191610457565b60008282111561068457600080fd5b50900390565b336000908152600460205260408120546106a49083610675565b3360009081526004602052604080822092909255600160a060020a038516815220546106d0908361079f565b600160a060020a0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600080821161073c57600080fd5b818381151561074757fe5b049392505050565b818102821580610769575081838281151561076657fe5b04145b15156104c057600080fd5b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b818101828110156104c057600080fdfea165627a7a7230582017c3ff1885a658114b495bf6b26ce21b01d97ee03d2d488dd581ab5b9c2e717f0029

Deployed Bytecode Sourcemap

1650:2070:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1705:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1705:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1705:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2850:208;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2850:208:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2850:208:0;;;;;;;;;;;;;;;;;;;;;;;;;;;2435:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2435:112:0;;;;;;;;;;;;;;;;;;;;3359:358;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3359:358:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3359:358:0;;;;;;;;;;;;;;;;;;1757:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1757:21:0;;;;;;;;;;;;;;;;;;;;;;;1859:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1859:27:0;;;;2559:120;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2559:120:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2559:120:0;-1:-1:-1;;;;;2559:120:0;;;1730:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1730:20:0;;;;1324:102;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1324:102:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1324:102:0;;;;;;;;3070:277;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3070:277:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3070:277:0;;;;;;;;;1535:106;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1535:106:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1535:106:0;;;;;;;;1427:107;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1427:107:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1427:107:0;;;;;;;;2691:147;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2691:147:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2691:147:0;;;;;;;;;;;1202:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1202:116:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1202:116:0;;;;;;;;1705:18;;;;;;;;;;;;;;;-1:-1:-1;;1705:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2850:208::-;2946:10;2913:12;2938:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2938:28:0;;;;;;;;;;;:37;;;2991;;;;;;;2913:12;;2938:28;;2946:10;;2991:37;;;;;;;;-1:-1:-1;3046:4:0;2850:208;;;;;:::o;2435:112::-;2479:4;2519:20;;:8;:20;;;;2503:12;;:36;2435:112;:::o;3359:358::-;-1:-1:-1;;;;;3486:14:0;;3436:12;3486:14;;;:8;:14;;;;;;3478:31;;3502:6;3478:7;:31::i;:::-;-1:-1:-1;;;;;3461:14:0;;;;;;:8;:14;;;;;;;;:48;;;;3556:7;:13;;;;;3570:10;3556:25;;;;;;3548:42;;3583:6;3548:7;:42::i;:::-;-1:-1:-1;;;;;3520:13:0;;;;;;;:7;:13;;;;;;;;3534:10;3520:25;;;;;;;:70;;;;3624:12;;;;;:8;:12;;;;;3616:29;;3638:6;3616:7;:29::i;:::-;-1:-1:-1;;;;;3601:12:0;;;;;;;:8;:12;;;;;;;;;:44;;;;3661:26;;;;;;;3601:12;;3661:26;;;;;;;;;;;;;-1:-1:-1;3705:4:0;3359:358;;;;;:::o;1757:21::-;;;;;;:::o;1859:27::-;;;;:::o;2559:120::-;-1:-1:-1;;;;;2651:20:0;2619:12;2651:20;;;:8;:20;;;;;;;2559:120::o;1730:20::-;;;;;;;;;;;;;;;-1:-1:-1;;1730:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1324:102;1378:6;1405;;;;1397:15;;;;;;-1:-1:-1;1418:5:0;;;1324:102::o;3070:277::-;3194:10;3129:12;3185:20;;;:8;:20;;;;;;3177:37;;3207:6;3177:7;:37::i;:::-;3163:10;3154:20;;;;:8;:20;;;;;;:60;;;;-1:-1:-1;;;;;3248:12:0;;;;;;3240:29;;3262:6;3240:7;:29::i;:::-;-1:-1:-1;;;;;3225:12:0;;;;;;:8;:12;;;;;;;;;:44;;;;3285:32;;;;;;;3225:12;;3294:10;;3285:32;;;;;;;;;;-1:-1:-1;3335:4:0;3070:277;;;;:::o;1535:106::-;1589:6;1607:5;;;1599:14;;;;;;1632:1;1628;:5;;;;;;;;;1535:106;-1:-1:-1;;;1535:106:0:o;1427:107::-;1495:5;;;1510:6;;;:20;;;1529:1;1524;1520;:5;;;;;;;;:10;1510:20;1502:29;;;;;;;2691:147;-1:-1:-1;;;;;2802:19:0;;;2768:14;2802:19;;;:7;:19;;;;;;;;:28;;;;;;;;;;;;;2691:147::o;1202:116::-;1279:5;;;1303:6;;;;1295:15;;;;

Swarm Source

bzzr://17c3ff1885a658114b495bf6b26ce21b01d97ee03d2d488dd581ab5b9c2e717f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.