Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 13290 txns
Token Tracker: BAI2.0 (BAI)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xe7fd8212182565500c3d47cb03ce2564266181c5at txn 0x61fee7f60411c86fa85c7c02c5c9f3c1f30161e3d1240b6dca770a98e3c90657
Token Balance:
 Latest 25 transactions from a total of 13290 transactions
(+2 PendingTxns)

TxHash Age From To Value [TxFee]
0xe1c36945cbce72d32b0cc8902d05a724b6a46ab981479cef8d7d1e980e31b581(pending)0xbb95d465233641a8b649ed2a95e1c098c4709083  IN  0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether(Pending)
0x8699851260691342a12d178b5c858e3ae3dfaef14428c63a7e535e4a2b4eed66(pending)0xf166bb53305d82422ef194f05b9652a846d859b9  IN  0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether(Pending)
0xff0ea34999ced5653d30f243d20a0faf4e3c93bb7f70cee46e914f1edef370ff6 hrs 25 mins ago0x90a5ef8369923bcd01236bcd82f90749e3ca12e1  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.0003795
0x64a4a4602c1dbca1e4cd4f0d1e5d7a6c59cc01c4e7dadac2dff1359ce691ab836 hrs 55 mins ago0x364aea102be649325cf9c9c60de1813b906415d0  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.002226004687
0x450ddb278c326a5a65275802d4a402d801049a6de1766816cfb3abba239da93c18 hrs 43 mins ago0x2265d07765cd8738e0c361f94a1153e3c8604857  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.00052886
0x6bbf9d23913f5be9fbeff6e6d5017d66e5a26a9a75e2f6983ddb163e0de3dd2919 hrs 53 mins ago0x34cb002ec744744036392cec9abbd3740cf8f461  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000534122212
0x23bb0658a93787dd1ea873ac5686bf399ef13beb0338b4b09214ab045a12860520 hrs 52 mins ago0x49671d3cf7997c0f960dc315141960caa38393cb  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.001361328798
0xf342db33fbce8d569ee8f7834d4230e7f30e661d79eb85d98c09b2baeea3d22922 hrs 37 mins ago0xdbf1b6bba2e05d3155e18845578f5602d120cc35  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.0003795
0x2f9fe208e07b44ca541ac4741051e1f4252f0f14b31039a6b2829c73cc95b94223 hrs 29 mins ago0xe7ec6067cb75ba04a2e48bf74cd8415020ab35c7  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000891041854
0x4f1492c8d6df2a13217d1366d5a1127b906533e624b8ccce9c6ed0419006857c1 day 25 mins ago0x67449f3625a26c88da552e2a0b5e9b93ccfd25fd  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.0003036
0x805344f5fc945af8ef8339233fc61ac242bc0f9062e8861400a00aa071301c601 day 29 mins ago0xd0461cb9b611e659e18de63f81df0b8b7c7eed05  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.00227316
0x4ea81fcd646e553b29a6cd161151ea852acce5f497b22333bc75c5630ecf37ee1 day 1 hr ago0x364aea102be649325cf9c9c60de1813b906415d0  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.00227316
0x214e07224ad21b36924f0411a152511f3d76199c79666a2a48b18f5c552980a01 day 2 hrs ago0x96b429666644be754fd21e1e717951964e208419  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.0001802625
0x0585cc0a2aa1bd23f5f7a96e21ef581fd6dffb3f7b53631e85f0eb683a33b2181 day 2 hrs ago0x364aea102be649325cf9c9c60de1813b906415d0  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000423088
0xf1f49dd8d2156ac7172cc7f2350bc3d14c36678fc393a1532fbdeb25c62168231 day 2 hrs ago0x220067f89d043286376891fc2afa97c01dcc9bd7  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000266098
0xf5a4efbd7d19f59b9a31267feae96195d2bc2ac52593e4a335ddb4d7caec61f71 day 3 hrs ago0x364aea102be649325cf9c9c60de1813b906415d0  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.00039306725
0x561e1509fdaacfa441569a767f9030d00597956d4a4815986b95d56723f66c4d1 day 3 hrs ago0x470f8f437ce77f805e7977f14ac62ece45f27c5d  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.00026565
0xbab8f7cecace8498c4b638353de88085c7b62c2f835d62f18f67dd70091161b81 day 6 hrs ago0x364aea102be649325cf9c9c60de1813b906415d0  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000423088
0x7db211da2d2db97552bec1e57cdaa896abcae32aaf36d4156ced70632acfdbd91 day 14 hrs ago0xd13cdd5101115adb50f94ad4a04bfb86936f32ed  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.00021916125
0xa39b8e376da68ce6930dcc55cd737de3b88733027e2413323c98a30e798ee7731 day 15 hrs ago0x36e120ba35bcad2042632e010f3fc9c2111a1d42  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000172125
0x3f4b4a13887c18cb1dbfae340d0cf62c5ae845a5a9dc7c8ed053a4e06055c8ea1 day 20 hrs ago0x88813fc7be7695c3e7e2522379b6b820fff44abd  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000475974
0xc3cf61116afa7e90cd535c7cf7ba25fb41a034feb9f367dc1fb5d41de766fbdf1 day 23 hrs ago0x5fcdc098ba9a96a7ca46c25a214cf77db7ca3ac5  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000423088
0x6720c32821e94a4a34de186aeae39a57a2070bb3e498d69b4856721edea010232 days 21 mins ago0x52dbdeaa722c58e6463f17423e331d787a7426f1  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.00315834902
0x78c1cefc17a4b5404d2895f28d0d15e46ce0f7e5860e073b0e83e508b79a79cb2 days 4 hrs ago0x98d59acadbb9c6e9798a3405d8d978bbbac7b571  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.0003795
0xe366fa76cef28b4a52b9b87143467c75ef5367d90b53fc5269596f61eabc31fa2 days 4 hrs ago0xa9efe41b3cabd57589b5b7a4b8503111e1a27327  IN   0x14d9779b6585f3a7d4f768383b3cb030705dad2e0 Ether0.000454632
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: BAI20
Compiler Text: v0.4.18+commit.9cf6e910
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }

/*
You should inherit from TokenBase. This implements ONLY the standard functions obeys ERC20,
and NOTHING else. If you deploy this, you won't have anything useful.

Implements ERC 20 Token standard: https://github.com/ethereum/EIPs/issues/20
.*/
contract ERC20 {

    /// total amount of tokens
    uint256 public totalSupply;

    /// @param _owner The address from which the balance will be retrieved
    /// @return The balance
    function balanceOf(address _owner) constant public returns (uint256 balance);

    /// @notice send `_value` token to `_to` from `msg.sender`
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transfer(address _to, uint256 _value) public returns (bool success);

    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
    /// @param _from The address of the sender
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);

    /// @notice `msg.sender` approves `_spender` to spend `_value` tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _value The amount of tokens to be approved for transfer
    /// @return Whether the approval was successful or not
    function approve(address _spender, uint256 _value) public returns (bool success);

    /// @param _owner The address of the account owning tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @return Amount of remaining tokens allowed to spent
    function allowance(address _owner, address _spender) constant public returns (uint256 remaining);

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

contract TokenBase is ERC20 {
    function transfer(address _to, uint256 _value) public returns (bool success) {
        // Prevent transfer to 0x0 address.
        require(_to != 0x0);
        // Check if the sender has enough
        require(balances[msg.sender] >= _value);
        // Check for overflows
        require(balances[_to] + _value > balances[_to]);

        uint previousBalances = balances[msg.sender] + balances[_to];
        balances[msg.sender] -= _value;
        balances[_to] += _value;
        Transfer(msg.sender, _to, _value);
        // Asserts are used to use static analysis to find bugs in your code. They should never fail
        assert(balances[msg.sender] + balances[_to] == previousBalances);

        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        /// same as above
        require(_to != 0x0);
        require(balances[_from] >= _value);
        require(balances[_to] + _value > balances[_to]);

        uint previousBalances = balances[_from] + balances[_to];
        balances[_from] -= _value;
        balances[_to] += _value;
        allowed[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        assert(balances[_from] + balances[_to] == previousBalances);

        return true;
    }

    function balanceOf(address _owner) constant public returns (uint256 balance) {
        return balances[_owner];
    }

    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) constant public returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }

    mapping (address => uint256) balances; /// balance amount of tokens for address
    mapping (address => mapping (address => uint256)) allowed;
}

contract BAI20 is TokenBase {

    function () payable public {
        //if ether is sent to this address, send it back.
        //throw;
        require(false);
    }

    string public constant name = "BAI2.0";
    string public constant symbol = "BAI";
    uint256 private constant _INITIAL_SUPPLY = 21000000000;
    uint8 public decimals = 18;
    uint256 public totalSupply;
    string public version = "BAI2.0";

    function BAI20(
    ) public {
        // init
        totalSupply = _INITIAL_SUPPLY * 10 ** 18;
        balances[msg.sender] = totalSupply;
    }

    /* Approves and then calls the receiving contract */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }
}

    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":"_value","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":"_value","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":"version","outputs":[{"name":"","type":"string"}],"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":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","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"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"}]

  Contract Creation Code Switch To Opcodes View
606060409081526003805460ff191660121790558051908101604052600681527f424149322e30000000000000000000000000000000000000000000000000000060208201526005908051610058929160200190610094565b50341561006457600080fd5b6b43dacaf91c1a84ff080000006004819055600160a060020a03331660009081526001602052604090205561012f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100d557805160ff1916838001178555610102565b82800160010185558215610102579182015b828111156101025782518255916020019190600101906100e7565b5061010e929150610112565b5090565b61012c91905b8082111561010e5760008155600101610118565b90565b6108358061013e6000396000f3006060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017357806323b872dd14610198578063313ce567146101c057806354fd4d50146101e957806370a08231146101fc57806395d89b411461021b578063a9059cbb1461022e578063cae9ca5114610250578063dd62ed3e146102b5575b600080fd5b34156100be57600080fd5b6100c66102da565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101025780820151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014857600080fd5b61015f600160a060020a0360043516602435610311565b604051901515815260200160405180910390f35b341561017e57600080fd5b61018661037d565b60405190815260200160405180910390f35b34156101a357600080fd5b61015f600160a060020a0360043581169060243516604435610383565b34156101cb57600080fd5b6101d36104aa565b60405160ff909116815260200160405180910390f35b34156101f457600080fd5b6100c66104b3565b341561020757600080fd5b610186600160a060020a0360043516610551565b341561022657600080fd5b6100c661056c565b341561023957600080fd5b61015f600160a060020a03600435166024356105a3565b341561025b57600080fd5b61015f60048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506106b095505050505050565b34156102c057600080fd5b610186600160a060020a03600435811690602435166107de565b60408051908101604052600681527f424149322e300000000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60045481565b600080600160a060020a038416151561039b57600080fd5b600160a060020a038516600090815260016020526040902054839010156103c157600080fd5b600160a060020a038416600090815260016020526040902054838101116103e757600080fd5b50600160a060020a03838116600081815260016020908152604080832080548a871680865283862080548b810390915583548b0190935560028552838620339098168652969093529281902080548890039055910192907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a0380851660009081526001602052604080822054928816825290205401811461049d57fe5b600191505b509392505050565b60035460ff1681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105495780601f1061051e57610100808354040283529160200191610549565b820191906000526020600020905b81548152906001019060200180831161052c57829003601f168201915b505050505081565b600160a060020a031660009081526001602052604090205490565b60408051908101604052600381527f4241490000000000000000000000000000000000000000000000000000000000602082015281565b600080600160a060020a03841615156105bb57600080fd5b600160a060020a033316600090815260016020526040902054839010156105e157600080fd5b600160a060020a0384166000908152600160205260409020548381011161060757600080fd5b50600160a060020a038084166000818152600160205260408082208054339095168084528284208054898103909155938590528154880190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a03808516600090815260016020526040808220543390931682529020540181146106a657fe5b5060019392505050565b6000836106bd8185610311565b156104a25780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561077357808201518382015260200161075b565b50505050905090810190601f1680156107a05780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15156107c157600080fd5b6102c65a03f115156107d257600080fd5b505050600191506104a2565b600160a060020a039182166000908152600260209081526040808320939094168252919091522054905600a165627a7a7230582052b148a845e779bbb1fca45d1187a06dc5dd2b782bb3f12e06227e50aa1979c10029

   Swarm Source:
bzzr://52b148a845e779bbb1fca45d1187a06dc5dd2b782bb3f12e06227e50aa1979c1

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.