ETH Price: $3,287.42 (-2.81%)

Contract

0xbfFa615Af3121e1E0dd12Cd19b9cd0E1f5B660aD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer56602092018-05-23 0:14:152375 days ago1527034455IN
0xbfFa615A...1f5B660aD
0 ETH0.002135641
Transfer54575552018-04-17 15:46:582411 days ago1523980018IN
0xbfFa615A...1f5B660aD
0 ETH0.0013103641
Transfer54563292018-04-17 10:36:272411 days ago1523961387IN
0xbfFa615A...1f5B660aD
0 ETH0.0021303641
Transfer54550312018-04-17 5:07:282411 days ago1523941648IN
0xbfFa615A...1f5B660aD
0 ETH0.0021303641
Transfer54543832018-04-17 2:35:062411 days ago1523932506IN
0xbfFa615A...1f5B660aD
0 ETH0.0021303641
Transfer54537022018-04-16 23:48:542411 days ago1523922534IN
0xbfFa615A...1f5B660aD
0 ETH0.0021303641
Transfer54517102018-04-16 15:48:022412 days ago1523893682IN
0xbfFa615A...1f5B660aD
0 ETH0.0021303641
Transfer54516632018-04-16 15:38:132412 days ago1523893093IN
0xbfFa615A...1f5B660aD
0 ETH0.0021303641
Transfer54512702018-04-16 14:00:462412 days ago1523887246IN
0xbfFa615A...1f5B660aD
0 ETH0.0021303641
Transfer54505592018-04-16 11:07:342412 days ago1523876854IN
0xbfFa615A...1f5B660aD
0 ETH0.0021303641
Transfer54488462018-04-16 4:07:062412 days ago1523851626IN
0xbfFa615A...1f5B660aD
0 ETH0.0010404820
Transfer54140612018-04-10 7:34:562418 days ago1523345696IN
0xbfFa615A...1f5B660aD
0 ETH0.002135641
Transfer54140372018-04-10 7:29:312418 days ago1523345371IN
0xbfFa615A...1f5B660aD
0 ETH0.0021329841
Transfer54140262018-04-10 7:25:332418 days ago1523345133IN
0xbfFa615A...1f5B660aD
0 ETH0.0021329841
Transfer54079662018-04-09 7:27:472419 days ago1523258867IN
0xbfFa615A...1f5B660aD
0 ETH0.0007430420
Transfer54079232018-04-09 7:16:252419 days ago1523258185IN
0xbfFa615A...1f5B660aD
0 ETH0.0010404820
Transfer54078422018-04-09 6:54:222419 days ago1523256862IN
0xbfFa615A...1f5B660aD
0 ETH0.0007417620
Transfer54077972018-04-09 6:45:142419 days ago1523256314IN
0xbfFa615A...1f5B660aD
0 ETH0.0010404820
Transfer54077442018-04-09 6:31:192419 days ago1523255479IN
0xbfFa615A...1f5B660aD
0 ETH0.0010417620
Transfer54076802018-04-09 6:18:142419 days ago1523254694IN
0xbfFa615A...1f5B660aD
0 ETH0.0007417620
Transfer54076222018-04-09 6:04:212419 days ago1523253861IN
0xbfFa615A...1f5B660aD
0 ETH0.0007430420
Transfer53719182018-04-03 8:05:582425 days ago1522742758IN
0xbfFa615A...1f5B660aD
0 ETH0.001039220
Transfer53718432018-04-03 7:46:562425 days ago1522741616IN
0xbfFa615A...1f5B660aD
0 ETH0.0010430420
Transfer53718122018-04-03 7:39:252425 days ago1522741165IN
0xbfFa615A...1f5B660aD
0 ETH0.0010430420
Transfer53711952018-04-03 5:07:192425 days ago1522732039IN
0xbfFa615A...1f5B660aD
0 ETH0.0010430420
View all transactions

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FixedSupplyToken

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-04-02
*/

pragma solidity ^0.4.8;
 
// ----------------------------------------------------------------------------------------------
// Sample fixed supply token contract
// Enjoy. (c) BokkyPooBah 2017. The MIT Licence.
// ----------------------------------------------------------------------------------------------
 
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/issues/20
contract ERC20Interface {
    // Get the total token supply
    function totalSupply() constant returns (uint256);
 
    // Get the account balance of another account with address _owner
    function balanceOf(address _owner) constant returns (uint256 balance);
 
    // Send _value amount of tokens to address _to
    function transfer(address _to, uint256 _value) returns (bool success);
 
    // Send _value amount of tokens from address _from to address _to
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
 
    // Allow _spender to withdraw from your account, multiple times, up to the _value amount.
    // If this function is called again it overwrites the current allowance with _value.
    // this function is required for some DEX functionality
    function approve(address _spender, uint256 _value) returns (bool success);
 
    // Returns the amount which _spender is still allowed to withdraw from _owner
    function allowance(address _owner, address _spender) constant returns (uint256 remaining);
 
    // Triggered when tokens are transferred.
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
 
    // Triggered whenever approve(address _spender, uint256 _value) is called.
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}
 
contract FixedSupplyToken is ERC20Interface {
    string public constant symbol = "TWDZ";
    string public constant name = "Taiwan Dollar Z";
    uint8 public constant decimals = 18;
    uint256 _totalSupply = 23000000000 ether;
    
    // Owner of this contract
    address public owner;
 
    // Balances for each account
    mapping(address => uint256) balances;
 
    // Owner of account approves the transfer of an amount to another account
    mapping(address => mapping (address => uint256)) allowed;
 
    // Functions with this modifier can only be executed by the owner
    modifier onlyOwner() {
        if (msg.sender != owner) {
            require(msg.sender == owner);
        }
        _;
    }
 
    // Constructor
    function FixedSupplyToken() {
        owner = msg.sender;
        balances[owner] = _totalSupply;
    }
 
    function totalSupply() constant returns (uint256) {
        return _totalSupply;
    }
 
    // What is the balance of a particular account?
    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balances[_owner];
    }
 
    // Transfer the balance from owner's account to another account
    function transfer(address _to, uint256 _amount) returns (bool success) {
        if (balances[msg.sender] >= _amount 
            && _amount > 0
            && balances[_to] + _amount > balances[_to]) {
            balances[msg.sender] -= _amount;
            balances[_to] += _amount;
            Transfer(msg.sender, _to, _amount);
            return true;
        } else {
            return false;
        }
    }
 
    // Send _value amount of tokens from address _from to address _to
    // The transferFrom method is used for a withdraw workflow, allowing contracts to send
    // tokens on your behalf, for example to "deposit" to a contract address and/or to charge
    // fees in sub-currencies; the command should fail unless the _from account has
    // deliberately authorized the sender of the message via some mechanism; we propose
    // these standardized APIs for approval:
    function transferFrom(
        address _from,
        address _to,
        uint256 _amount
    ) returns (bool success) {
        if (balances[_from] >= _amount
            && allowed[_from][msg.sender] >= _amount
            && _amount > 0
            && balances[_to] + _amount > balances[_to]) {
            balances[_from] -= _amount;
            allowed[_from][msg.sender] -= _amount;
            balances[_to] += _amount;
            Transfer(_from, _to, _amount);
            return true;
        } else {
            return false;
        }
    }
 
    // Allow _spender to withdraw from your account, multiple times, up to the _value amount.
    // If this function is called again it overwrites the current allowance with _value.
    function approve(address _spender, uint256 _amount) returns (bool success) {
        allowed[msg.sender][_spender] = _amount;
        Approval(msg.sender, _spender, _amount);
        return true;
    }
 
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }
}

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":"_amount","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":"_amount","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":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","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":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]

60606040526b4a5127725bbb8578d8000000600055341561001f57600080fd5b60018054600160a060020a03338116600160a060020a0319909216919091179182905560008054929091168152600260205260409020556105d0806100656000396000f3006060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016857806323b872dd1461018d578063313ce567146101b557806370a08231146101de5780638da5cb5b146101fd57806395d89b411461022c578063a9059cbb1461023f578063dd62ed3e14610261575b600080fd5b34156100b357600080fd5b6100bb610286565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f75780820151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013d57600080fd5b610154600160a060020a03600435166024356102bd565b604051901515815260200160405180910390f35b341561017357600080fd5b61017b61032a565b60405190815260200160405180910390f35b341561019857600080fd5b610154600160a060020a0360043581169060243516604435610330565b34156101c057600080fd5b6101c861044b565b60405160ff909116815260200160405180910390f35b34156101e957600080fd5b61017b600160a060020a0360043516610450565b341561020857600080fd5b61021061046b565b604051600160a060020a03909116815260200160405180910390f35b341561023757600080fd5b6100bb61047a565b341561024a57600080fd5b610154600160a060020a03600435166024356104b1565b341561026c57600080fd5b61017b600160a060020a0360043581169060243516610579565b60408051908101604052600f81527f54616977616e20446f6c6c6172205a0000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005490565b600160a060020a0383166000908152600260205260408120548290108015906103805750600160a060020a0380851660009081526003602090815260408083203390941683529290522054829010155b801561038c5750600082115b80156103b15750600160a060020a038316600090815260026020526040902054828101115b1561044057600160a060020a0380851660008181526002602081815260408084208054899003905560038252808420338716855282528084208054899003905594881680845291905290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610444565b5060005b9392505050565b601281565b600160a060020a031660009081526002602052604090205490565b600154600160a060020a031681565b60408051908101604052600481527f5457445a00000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600260205260408120548290108015906104da5750600082115b80156104ff5750600160a060020a038316600090815260026020526040902054828101115b1561057157600160a060020a033381166000818152600260205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610324565b506000610324565b600160a060020a039182166000908152600360209081526040808320939094168252919091522054905600a165627a7a72305820f20af3a18bd703c149832bc5259bfa56bd91f9ed51a3b5412ffc084057faede80029

Deployed Bytecode

0x6060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016857806323b872dd1461018d578063313ce567146101b557806370a08231146101de5780638da5cb5b146101fd57806395d89b411461022c578063a9059cbb1461023f578063dd62ed3e14610261575b600080fd5b34156100b357600080fd5b6100bb610286565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f75780820151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013d57600080fd5b610154600160a060020a03600435166024356102bd565b604051901515815260200160405180910390f35b341561017357600080fd5b61017b61032a565b60405190815260200160405180910390f35b341561019857600080fd5b610154600160a060020a0360043581169060243516604435610330565b34156101c057600080fd5b6101c861044b565b60405160ff909116815260200160405180910390f35b34156101e957600080fd5b61017b600160a060020a0360043516610450565b341561020857600080fd5b61021061046b565b604051600160a060020a03909116815260200160405180910390f35b341561023757600080fd5b6100bb61047a565b341561024a57600080fd5b610154600160a060020a03600435166024356104b1565b341561026c57600080fd5b61017b600160a060020a0360043581169060243516610579565b60408051908101604052600f81527f54616977616e20446f6c6c6172205a0000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005490565b600160a060020a0383166000908152600260205260408120548290108015906103805750600160a060020a0380851660009081526003602090815260408083203390941683529290522054829010155b801561038c5750600082115b80156103b15750600160a060020a038316600090815260026020526040902054828101115b1561044057600160a060020a0380851660008181526002602081815260408084208054899003905560038252808420338716855282528084208054899003905594881680845291905290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610444565b5060005b9392505050565b601281565b600160a060020a031660009081526002602052604090205490565b600154600160a060020a031681565b60408051908101604052600481527f5457445a00000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600260205260408120548290108015906104da5750600082115b80156104ff5750600160a060020a038316600090815260026020526040902054828101115b1561057157600160a060020a033381166000818152600260205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610324565b506000610324565b600160a060020a039182166000908152600360209081526040808320939094168252919091522054905600a165627a7a72305820f20af3a18bd703c149832bc5259bfa56bd91f9ed51a3b5412ffc084057faede80029

Swarm Source

bzzr://f20af3a18bd703c149832bc5259bfa56bd91f9ed51a3b5412ffc084057faede8

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.