Latest 4 txns

TxHash Age From To Value [TxFee]
0x4d1b854cd3af9a26fbba2ce3aee94dbc86f76cef4590f7ff20ca623c0289eeef9 days 7 hrs ago0x00e57ae8791b0bcfe1f8edca8ceefb714297ff26  IN   0xdafec1c085b59608da286e3bd2a5ca32612b8fdc2.5 Ether0.000030321
0x4ee8c5e5b1c86071d6807456dae354b7aad581445a6c980a25d89a481fe8ff7812 days 18 hrs ago0x00e57ae8791b0bcfe1f8edca8ceefb714297ff26  IN   0xdafec1c085b59608da286e3bd2a5ca32612b8fdc0 Ether0.000077662
0x5c52646c7673000d21ca28ad2466a4961c64ec2c72ffa4e77f596378c6faf69312 days 19 hrs ago0x00e57ae8791b0bcfe1f8edca8ceefb714297ff26  IN   0xdafec1c085b59608da286e3bd2a5ca32612b8fdc3 Ether0.000045732
0x32633c66ecb03347b8feb8bb1ae62eeee2ad5ed46c409c2b19d0741390030bee12 days 19 hrs ago0x00e57ae8791b0bcfe1f8edca8ceefb714297ff26  IN    Contract Creation0 Ether0.001048026
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0x4ee8c5e5b1c86071d6807456dae354b7aad581445a6c980a25d89a481fe8ff781033106512 days 18 hrs ago0xdafec1c085b59608da286e3bd2a5ca32612b8fdc0x00e57ae8791b0bcfe1f8edca8ceefb714297ff260.5 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact Match)
Contract Name: Contract
Compiler Version: v0.5.3+commit.10d17f24
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.5.3;
contract ContractInterface {
    function transfer(address to, uint value) public returns(bool);
}
contract Contract is ContractInterface {
    event Approval(address indexed tokenOwner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
    event OwnershipTransferred(address indexed newOwner, address indexed prevOwner);
    event Reserved(address indexed reserveAgent, address indexed reserveOwner, uint value);
    event Restored(address indexed reserveOwner, address indexed reserveDestination, uint value);
    address public owner;
    mapping(address => mapping(address => uint)) allowed;
    mapping(address => uint) balances;
    string public name;
    string public symbol;
    uint8 public decimals;
    constructor(address _owner, string memory _name, string memory _symbol, uint8 _decimals) public {
        owner = _owner;
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        emit Transfer(owner, address(0), 108e24);
    }
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }
    function isContract(address addr) internal view returns(bool) {
        uint l;
        assembly { l := extcodesize(addr) }
        return (l > 0);
    }
    function totalSupply() public view returns(uint) {
        return address(this).balance - balances[address(0)];
    }
    function balanceOf(address tokenOwner) public view returns(uint) {
        return balances[tokenOwner];
    }
    function allowance(address tokenOwner, address spender) public view returns(uint) {
        return allowed[tokenOwner][spender];
    }
    function approve(address spender, uint value) public returns(bool) {
        if (!isContract(spender)) revert();
        if (value > balances[msg.sender]) revert();
        allowed[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }
    function transfer(address to, uint value) public returns(bool) {
        if (value > balances[msg.sender]) revert();
        balances[msg.sender] -= value;
        balances[to] += value;
        emit Transfer(msg.sender, to, value);
        return true;
    }
    function transferFrom(address from, address to, uint value) public returns(bool) {
        if (value > allowed[from][msg.sender]) revert();
        if (value > 0) {
            balances[from] -= value;
            balances[to] += value;
            allowed[from][msg.sender] -= value;
        }
        emit Transfer(from, to, value);
        return true;
    }
    function reserve() public payable returns(bool) {
        return delegateReserve(msg.sender);
    }
    function restore(uint value) public returns(bool) {
        if (value > balances[msg.sender]) revert();
        msg.sender.transfer(value);
        balances[msg.sender] -= value;
        emit Transfer(msg.sender, address(0), value);
        emit Restored(msg.sender, msg.sender, value);
        return true;
    }
    function restoreAll() public returns(bool) {
        return restore(balances[msg.sender]);
    }
    function delegateReserve(address to) public payable returns(bool) {
        if (to == address(0)) revert();
        balances[to] += msg.value;
        emit Reserved(msg.sender, to, msg.value);
        emit Transfer(address(0), to, msg.value);
        return true;
    }
    function delegateRestore(address from, address to, uint value) public returns(bool) {
        if (value > allowed[from][msg.sender]) revert();
        if (value > 0) {
            address(uint160(to)).transfer(value);
            balances[from] -= value;
            allowed[from][msg.sender] -= value;
        }
        emit Transfer(from, address(0), value);
        emit Restored(from, to, value);
        return true;
    }
    function delegateRestoreAll(address from, address to) public returns(bool) {
        return delegateRestore(from, to, allowed[from][msg.sender]);
    }
    function () external payable {
        if (msg.value > 0) delegateReserve(msg.sender);
    }
    function transferOwnership(address newOwner) public onlyOwner returns(bool) {
        require(newOwner != address(0) && address(this) != newOwner);
        owner = newOwner;
        emit OwnershipTransferred(newOwner, msg.sender);
        return true;
    }
    function transferAnything(address token, uint value) public onlyOwner returns(bool) {
        return ContractInterface(token).transfer(tx.origin, value);
    }
}

    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":"","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":"","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":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"value","type":"uint256"}],"name":"transferAnything","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"}],"name":"delegateReserve","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","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":"value","type":"uint256"}],"name":"restore","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"delegateRestore","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"reserve","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"}],"name":"delegateRestoreAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"restoreAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_owner","type":"address"},{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"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":"newOwner","type":"address"},{"indexed":true,"name":"prevOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"reserveAgent","type":"address"},{"indexed":true,"name":"reserveOwner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Reserved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"reserveOwner","type":"address"},{"indexed":true,"name":"reserveDestination","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Restored","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60806040523480156200001157600080fd5b5060405162000f1c38038062000f1c833981018060405260808110156200003757600080fd5b8151602083018051919392830192916401000000008111156200005957600080fd5b820160208101848111156200006d57600080fd5b81516401000000008111828201871017156200008857600080fd5b50509291906020018051640100000000811115620000a557600080fd5b82016020810184811115620000b957600080fd5b8151640100000000811182820187101715620000d457600080fd5b505060209182015160008054600160a060020a031916600160a060020a038916179055855191945092506200011091600391908601906200018f565b508151620001269060049060208501906200018f565b506005805460ff191660ff831617905560008054604080516a5955e3bb3e743fec00000081529051600160a060020a03909216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916020908290030190a35050505062000234565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001d257805160ff191683800117855562000202565b8280016001018555821562000202579182015b8281111562000202578251825591602001919060010190620001e5565b506200021092915062000214565b5090565b6200023191905b808211156200021057600081556001016200021b565b90565b610cd880620002446000396000f3fe608060405260043610610126576000357c01000000000000000000000000000000000000000000000000000000009004806395d89b41116100b2578063cd3293de11610081578063cd3293de14610426578063dd62ed3e1461042e578063f2fde38b14610469578063f8e6a9bf1461049c578063f91e31a5146104d757610126565b806395d89b411461036b5780639bea62ad14610380578063a9059cbb146103aa578063b13ee9bd146103e357610126565b8063313ce567116100f9578063313ce5671461027d57806370a08231146102a857806379d4160f146102db57806387a82d4b146103145780638da5cb5b1461033a57610126565b806306fdde031461013c578063095ea7b3146101c657806318160ddd1461021357806323b872dd1461023a575b600034111561013a57610138336104ec565b505b005b34801561014857600080fd5b50610151610591565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018b578181015183820152602001610173565b50505050905090810190601f1680156101b85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101d257600080fd5b506101ff600480360360408110156101e957600080fd5b50600160a060020a03813516906020013561061f565b604080519115158252519081900360200190f35b34801561021f57600080fd5b506102286106b8565b60408051918252519081900360200190f35b34801561024657600080fd5b506101ff6004803603606081101561025d57600080fd5b50600160a060020a038135811691602081013590911690604001356106e9565b34801561028957600080fd5b506102926107af565b6040805160ff9092168252519081900360200190f35b3480156102b457600080fd5b50610228600480360360208110156102cb57600080fd5b5035600160a060020a03166107b8565b3480156102e757600080fd5b506101ff600480360360408110156102fe57600080fd5b50600160a060020a0381351690602001356107d3565b6101ff6004803603602081101561032a57600080fd5b5035600160a060020a03166104ec565b34801561034657600080fd5b5061034f610886565b60408051600160a060020a039092168252519081900360200190f35b34801561037757600080fd5b50610151610895565b34801561038c57600080fd5b506101ff600480360360208110156103a357600080fd5b50356108f0565b3480156103b657600080fd5b506101ff600480360360408110156103cd57600080fd5b50600160a060020a0381351690602001356109b5565b3480156103ef57600080fd5b506101ff6004803603606081101561040657600080fd5b50600160a060020a03813581169160208101359091169060400135610a2d565b6101ff610b5a565b34801561043a57600080fd5b506102286004803603604081101561045157600080fd5b50600160a060020a0381358116916020013516610b6a565b34801561047557600080fd5b506101ff6004803603602081101561048c57600080fd5b5035600160a060020a0316610b95565b3480156104a857600080fd5b506101ff600480360360408110156104bf57600080fd5b50600160a060020a0381358116916020013516610c33565b3480156104e357600080fd5b506101ff610c6b565b6000600160a060020a038216151561050357600080fd5b600160a060020a0382166000818152600260209081526040918290208054349081019091558251908152915133927f7c2e21a275247b08274b8f4e84d1a374bceaa1d0fe17270b407f07494059f60c92908290030190a3604080513481529051600160a060020a03841691600091600080516020610c8d8339815191529181900360200190a3506001919050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106175780601f106105ec57610100808354040283529160200191610617565b820191906000526020600020905b8154815290600101906020018083116105fa57829003601f168201915b505050505081565b600061062a83610c84565b151561063557600080fd5b3360009081526002602052604090205482111561065157600080fd5b336000818152600160209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6000805260026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5430310390565b600160a060020a038316600090815260016020908152604080832033845290915281205482111561071957600080fd5b600082111561076c57600160a060020a0380851660008181526002602090815260408083208054889003905593871682528382208054870190559181526001825282812033825290915220805483900390555b82600160a060020a031684600160a060020a0316600080516020610c8d833981519152846040518082815260200191505060405180910390a35060019392505050565b60055460ff1681565b600160a060020a031660009081526002602052604090205490565b60008054600160a060020a031633146107eb57600080fd5b604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152326004820152602481018490529051600160a060020a0385169163a9059cbb9160448083019260209291908290030181600087803b15801561085357600080fd5b505af1158015610867573d6000803e3d6000fd5b505050506040513d602081101561087d57600080fd5b50519392505050565b600054600160a060020a031681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106175780601f106105ec57610100808354040283529160200191610617565b3360009081526002602052604081205482111561090c57600080fd5b604051339083156108fc029084906000818181858888f19350505050158015610939573d6000803e3d6000fd5b503360008181526002602090815260408083208054879003905580518681529051929392600080516020610c8d833981519152929181900390910190a3604080518381529051339182917f7611ecca18b9a7abc0532f545e710b2a3f17074510866625650d0c8be3d81ad09181900360200190a3506001919050565b336000908152600260205260408120548211156109d157600080fd5b33600081815260026020908152604080832080548790039055600160a060020a0387168084529281902080548701905580518681529051929392600080516020610c8d833981519152929181900390910190a350600192915050565b600160a060020a0383166000908152600160209081526040808320338452909152812054821115610a5d57600080fd5b6000821115610ad657604051600160a060020a0384169083156108fc029084906000818181858888f19350505050158015610a9c573d6000803e3d6000fd5b50600160a060020a038416600090815260026020908152604080832080548690039055600182528083203384529091529020805483900390555b604080518381529051600091600160a060020a03871691600080516020610c8d8339815191529181900360200190a382600160a060020a031684600160a060020a03167f7611ecca18b9a7abc0532f545e710b2a3f17074510866625650d0c8be3d81ad0846040518082815260200191505060405180910390a35060019392505050565b6000610b65336104ec565b905090565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b60008054600160a060020a03163314610bad57600080fd5b600160a060020a03821615801590610bce575030600160a060020a03831614155b1515610bd957600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038416908117825560405133927f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3506001919050565b600160a060020a0382166000908152600160209081526040808320338452909152812054610c649084908490610a2d565b9392505050565b33600090815260026020526040812054610b65906108f0565b6000903b119056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058200e703a21f960ee1d78c71d194c20d430cc94bbac2cff50edd0432ca284f6d904002900000000000000000000000000e57ae8791b0bcfe1f8edca8ceefb714297ff26000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000f5368616e6e6f6e2052657365727665000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044757454900000000000000000000000000000000000000000000000000000000

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000e57ae8791b0bcfe1f8edca8ceefb714297ff26000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000f5368616e6e6f6e2052657365727665000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044757454900000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000e57ae8791b0bcfe1f8edca8ceefb714297ff26
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 5368616e6e6f6e20526573657276650000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4757454900000000000000000000000000000000000000000000000000000000


   Swarm Source:
bzzr://0e703a21f960ee1d78c71d194c20d430cc94bbac2cff50edd0432ca284f6d904

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward