Sponsored Link:   SHIFT.cash - smart-contract based car title lending platform, 30 billion market, 35+ employees. Join NOW.
Contract Overview
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 50 txns
  Latest 25 txns from a total Of 50 transactions View All

TxHash Age From To Value [TxFee]
0x13c83cf8ff7d9889711561c9d2a69631824b337153e16c3ca45d820e08173cc410 days 14 hrs ago0x6bb33dc866e1addfa977670f768a93510b8ff7d1  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00029724
0xd38f78bdae0ec4e0bc3585e7fe84994c7dd94021df8dbce909886f52a7c0461b10 days 14 hrs ago0x29bd698f2e68e313f27830a4a6b190b45ce8f4c0  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00045545
0xfe045555fc0487bbd236be59cdc21e4d55b862f691ac92eeb947872665252ab411 days 13 hrs ago0x2da8703d18afed53b303119e4ff06cf035a9fadb  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000781599
0x269270dbedc8a912b47a2169487aa63cb38d5a9e8353d280f36773e18a68cd7819 days 14 hrs ago0x9e22f82f43f2e295591773eed260b1e38410b287  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000125
0x365a01a225cbb4c10bc8bbeaf8ece7b7d6218d8cfbe78de21040a46378b9b84725 days 13 hrs ago0x449505e21408c0acd213e0f1465d63fead0af525  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000024065
0xec955ffeb46f342c757bfc27ff2be54c82edccf1d4fa61ca1ec8cbb48cee21a425 days 13 hrs ago0x449505e21408c0acd213e0f1465d63fead0af525  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000037219
0x18f0a4041686c8f2ce043cf44e277514712ca1bdd5297ab2aac23b97b74a332a30 days 18 hrs ago0x441f49ac594ef370cb36df197545e8ef68394435  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00037219
0x17ad1b2b64e2b2a7a35ce0117d1f32899ed84e7f4382648d5eb1e002ae051bca37 days 4 hrs ago0xc6fc6835ce16679c89567c0b33604d1e9a71bf99  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.001563198
0x6db6b7d0f6b99312934be94203bd04962fef564bf7af58c2c07310c9511ec72248 days 21 hrs ago0x8523645ab9c41bbd1908e1fc627a8dcafe7023e7  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000930475
0xc17d5dba61dd72f96838081ccb90e4a2540c8f71266fb42b8cad1a04b8ab6d0851 days 2 hrs ago0x92d91e003ec4f15c36dc62949bd0b6eb66decfec  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00018218
0x4bf3711aa8fa85b3ff9971c9efe9481414bda0a4db1076f92d6bec13cbed885f51 days 11 hrs ago0xca52dac830a96488ab73038b8ef5bcc43440def3  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.0002419235
0x10026d3af8c4915a026573ad1b7087c451e53f3050aac576272e30a0d4f4169352 days 4 hrs ago0x2945a876efe2802e94b4f6d08155c2a14aa69acd  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000297752
0x44db3fa104a4bc1a1586c49ec9b0171f5a818ba5baeb9d7411ba5e6d0cb0179b53 days 3 hrs ago0x0afe615671b896d240e0aa7c3d3ab52d19ac13f1  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00018218
0x93d6e32ea07b7f984f960381932e1c921724d04790def3a37ef9bf65c7e1a1f053 days 19 hrs ago0xea03ee7110fafb324d4a931979ef4578bffb6a00  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000037219
0xc788135d64cffbd47a3998f2786634d98a96ea8cd0803608e6e3158ddeb265b256 days 12 hrs ago0x171a31895daed05f2d6cb154adb741be174edc2e  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.001414322
0xbb012b9df06c9f44bd27a77c5f29240aef254a61fcc14557b2035794d1dde43256 days 23 hrs ago0xf04057476ccf30bafd68d344da580829c39f8698  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00018218
0xb2bf342c48460825607a4e0c446e3e0095970936b43fbaf008c9b5f8dbcbd14e57 days 19 hrs ago0x4521c6ef6e326ec3cf6ee7b80cf764852157948c  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000045545
0x2ea796b005301edbac59bc793756de76e52c3d706700ad18757d1a4a3bd64b5b58 days 1 hr ago0xbf125eaa1c65631dd97402d41f1803e693c8c27c  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00018218
0xeb1048c02259aecc331f750f4d384333002634a228aab5e7f600e0fc3befa83258 days 3 hrs ago0xb7cb348805dc234761868b96757662741873f37a  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00018218
0x0220ec43f9d72a23fc80f6640c981f30bcd1e07ca0c2059f041aa35303b35cb258 days 4 hrs ago0x963485e2e423a32852ba6af0f30294c4aa9e9a7f  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.00018218
0xa75c605029a9cd45a139ad2475474cbf5025fec9f72bfdb15c93c78f1f97e24958 days 4 hrs ago0xbb2d163af5baf3e1eb6252773fec0963533ebe1b  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000781599
0x85ad81269ef6655e3099719fe6a86a4da3e42b17bca7bf17cd77d2995bc24ab558 days 13 hrs ago0xd56e851c7c96fbd18051190b653c480f5b0bb02c  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000781599
0x0b9152911c7748b9dc10e96b59d9c453fd049281a310eb9eaea93cce4560f86a59 days 23 mins ago0x0b8b0f71a0933d0910bde774af969b646d959ed8  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000223314
0x87328782592447c7abc98b594bd3438ad20a1e61e03ecf6d9f19b94cbf0af5ee59 days 22 hrs ago0x36c9487f5db107308d3df5544c6c307c8db59c6b  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.0015073695
0x7c8e5a3c5d8fc9154be84c6a8e01ff4d32df34b1947bb8071fff0d77eff4282762 days 10 hrs ago0x7a6abf3840e37bc4cc82ce872892c7133d928af5  IN   0x2accab9cb7a48c3e82286f0b2f8798d201f4ec3f0 Ether0.000781599
[ 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 ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: BattleToken
Compiler Version: v0.4.17+commit.bdeb9e52
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.15;

contract Owned {

    address owner;
    
    function Owned() { owner = msg.sender; }

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }
}

contract TokenEIP20 {

    function balanceOf(address _owner) constant returns (uint256 balance);
    function transfer(address _to, uint256 _value) returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
    function approve(address _spender, uint256 _value) returns (bool success);
    function allowance(address _owner, address _spender) constant returns (uint256 remaining);

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

contract TokenNotifier {

    function receiveApproval(address from, uint256 _amount, address _token, bytes _data);
}

library SafeMathLib {

    uint constant WAD = 10 ** 18;
    uint constant RAY = 10 ** 27;

    function add(uint x, uint y) internal returns (uint z) {
        require((z = x + y) >= x);
    }

    function sub(uint x, uint y) internal returns (uint z) {
        require((z = x - y) <= x);
    }

    function mul(uint x, uint y) internal returns (uint z) {
        require(y == 0 || (z = x * y) / y == x);
    }

    function per(uint x, uint y) internal constant returns (uint z) {
        return mul((x / 100), y);
    }

    function min(uint x, uint y) internal returns (uint z) {
        return x <= y ? x : y;
    }

    function max(uint x, uint y) internal returns (uint z) {
        return x >= y ? x : y;
    }

    function imin(int x, int y) internal returns (int z) {
        return x <= y ? x : y;
    }

    function imax(int x, int y) internal returns (int z) {
        return x >= y ? x : y;
    }

    function wmul(uint x, uint y) internal returns (uint z) {
        z = add(mul(x, y), WAD / 2) / WAD;
    }

    function rmul(uint x, uint y) internal returns (uint z) {
        z = add(mul(x, y), RAY / 2) / RAY;
    }

    function wdiv(uint x, uint y) internal returns (uint z) {
        z = add(mul(x, WAD), y / 2) / y;
    }

    function rdiv(uint x, uint y) internal returns (uint z) {
        z = add(mul(x, RAY), y / 2) / y;
    }

    function wper(uint x, uint y) internal constant returns (uint z) {
        return wmul(wdiv(x, 100), y);
    }

    // This famous algorithm is called "exponentiation by squaring"
    // and calculates x^n with x as fixed-point and n as regular unsigned.
    //
    // It's O(log n), instead of O(n) for naive repeated multiplication.
    //
    // These facts are why it works:
    //
    //  If n is even, then x^n = (x^2)^(n/2).
    //  If n is odd,  then x^n = x * x^(n-1),
    //   and applying the equation for even x gives
    //    x^n = x * (x^2)^((n-1) / 2).
    //
    //  Also, EVM division is flooring and
    //    floor[(n-1) / 2] = floor[n / 2].
    //
    function rpow(uint x, uint n) internal returns (uint z) {
        z = n % 2 != 0 ? x : RAY;

        for (n /= 2; n != 0; n /= 2) {
            x = rmul(x, x);

            if (n % 2 != 0) {
                z = rmul(z, x);
            }
        }
    }

}

contract BattleToken is Owned, TokenEIP20 {
    using SafeMathLib for uint256;
    
    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;
    
    string  public constant name        = "Battle";
    string  public constant symbol      = "BTL";
    uint256 public constant decimals    = 18;
    uint256 public constant totalSupply = 1000000 * (10 ** decimals);

    function BattleToken(address _battleAddress) {
        balances[owner] = totalSupply;
        require(approve(_battleAddress, totalSupply));
    }

    function transfer(address _to, uint256 _value) returns (bool success) {
        if (balances[msg.sender] < _value) {
            return false;
        }
        balances[msg.sender] = balances[msg.sender].sub(_value);
        assert(balances[msg.sender] >= 0);
        balances[_to] = balances[_to].add(_value);
        assert(balances[_to] <= totalSupply);
        Transfer(msg.sender, _to, _value);
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        if (balances[_from] < _value || allowed[_from][msg.sender] < _value) {
            return false;
        }
        balances[_from] = balances[_from].sub(_value);
        assert(balances[_from] >= 0);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        assert(balances[_to] <= totalSupply);        
        Transfer(_from, _to, _value);
        return true;
    }

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

    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {
        if (!approve(_spender, _value)) {
            return false;
        }
        TokenNotifier(_spender).receiveApproval(msg.sender, _value, this, _extraData);
        return true;
    }

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

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

    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":"uint256"}],"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":[{"name":"_battleAddress","type":"address"}],"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"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b6040516020806109248339810160405280805160008054600160a060020a03191633600160a060020a039081169190911780835516815260016020526040902069d3c21bcecceda10000009081905590925061007a9150829064010000000061008b81026102db1704565b151561008557600080fd5b506100f7565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b61081e806101066000396000f300606060405236156100a15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a6578063095ea7b31461013057806318160ddd1461016657806323b872dd1461018b578063313ce567146101b357806370a08231146101c657806395d89b41146101e5578063a9059cbb146101f8578063cae9ca511461021a578063dd62ed3e1461027f575b600080fd5b34156100b157600080fd5b6100b96102a4565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f55780820151838201526020016100dd565b50505050905090810190601f1680156101225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013b57600080fd5b610152600160a060020a03600435166024356102db565b604051901515815260200160405180910390f35b341561017157600080fd5b610179610348565b60405190815260200160405180910390f35b341561019657600080fd5b610152600160a060020a0360043581169060243516604435610356565b34156101be57600080fd5b6101796104fb565b34156101d157600080fd5b610179600160a060020a0360043516610500565b34156101f057600080fd5b6100b961051b565b341561020357600080fd5b610152600160a060020a0360043516602435610552565b341561022557600080fd5b61015260048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061067095505050505050565b341561028a57600080fd5b610179600160a060020a03600435811690602435166107a7565b60408051908101604052600681527f426174746c650000000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b69d3c21bcecceda100000081565b600160a060020a038316600090815260016020526040812054829010806103a35750600160a060020a03808516600090815260026020908152604080832033909416835292905220548290105b156103b0575060006104f4565b600160a060020a0384166000908152600160205260409020546103d9908363ffffffff6107d216565b600160a060020a03851660009081526001602052604081208290559010156103fd57fe5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054610434908363ffffffff6107d216565b600160a060020a038086166000908152600260209081526040808320338516845282528083209490945591861681526001909152205461047a908363ffffffff6107e216565b600160a060020a038416600090815260016020526040902081905569d3c21bcecceda10000009011156104a957fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060015b9392505050565b601281565b600160a060020a031660009081526001602052604090205490565b60408051908101604052600381527f42544c0000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600160205260408120548290101561057b57506000610342565b600160a060020a0333166000908152600160205260409020546105a4908363ffffffff6107d216565b600160a060020a03331660009081526001602052604081208290559010156105c857fe5b600160a060020a0383166000908152600160205260409020546105f1908363ffffffff6107e216565b600160a060020a038416600090815260016020526040902081905569d3c21bcecceda100000090111561062057fe5b82600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600061067c84846102db565b151561068a575060006104f4565b83600160a060020a0316638f4ffcb1338530866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561073b578082015183820152602001610723565b50505050905090810190601f1680156107685780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561078957600080fd5b6102c65a03f1151561079a57600080fd5b5060019695505050505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b8082038281111561034257600080fd5b8082018281101561034257600080fd00a165627a7a723058209309a8be856c77cf841ab1a9529f8b9ed5b321648231a310fb96b0c7c98fd5e50029000000000000000000000000553b4546d26f383d4f4a056b7f50dadff07fb252

    Constructor Arguments (ABI-encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000553b4546d26f383d4f4a056b7f50dadff07fb252

-----Decoded View---------------
Found 1 constructor arguments :
Arg [0] : 000000000000000000000000553b4546d26f383d4f4a056b7f50dadff07fb252


   Swarm Source:
bzzr://9309a8be856c77cf841ab1a9529f8b9ed5b321648231a310fb96b0c7c98fd5e5

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.