Latest 5 txns

TxHash Age From To Value [TxFee]
0x932226c19be51a393f18ce17e42537f0c4bccc14ec4e5472927b6996875813059 days 16 hrs ago0x74d31f2aba28f54958e375a5381c0afa5a2f483d  IN   0xf82ab51ff5b7641302b40f30e30b39b405cbf2c80.02 Ether0.000014387
0x2ff493f64175b2011947760180025d4157efb650d03f9d0e82d35aa04c66fb1a9 days 17 hrs ago0x74d31f2aba28f54958e375a5381c0afa5a2f483d  IN   0xf82ab51ff5b7641302b40f30e30b39b405cbf2c80 Ether0.0010523
0x6bbb755bbf26b80d90c4fe776f352d0fbd8ab731c1c2bfe9cc712000b46270a810 days 11 hrs ago0x74d31f2aba28f54958e375a5381c0afa5a2f483d  IN   0xf82ab51ff5b7641302b40f30e30b39b405cbf2c80 Ether0.0027091
0x2aa33044e90bd772cbb57b2ffa5cbac55b2ad1e81948b2a132ceb5e17e975a1d10 days 11 hrs ago0x74d31f2aba28f54958e375a5381c0afa5a2f483d  IN   0xf82ab51ff5b7641302b40f30e30b39b405cbf2c80 Ether0.0027091
0x9dc30ba344dcd5faeaba0df7165468742b209efe8ece5252b2644206dee6b1bc10 days 11 hrs ago0x74d31f2aba28f54958e375a5381c0afa5a2f483d  IN    Contract Creation0 Ether0.01371392
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Contract Source Code Verified (Exact Match)
Contract Name: SageTokenData
Compiler Version: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity >= 0.4.16;



contract SageTokenData
{
    // This creates an array with all balances
    string  public name;
    string  public symbol;
    uint256 public _totalSupply;

    mapping (address => uint256) public  balanceOf;
    mapping (address => mapping (address => uint256)) public _allowance;
    address owner;

    event TransferToken(address _from, address _to, string _msg);
    event AllowanceSet(address _holder,address _spender, uint256 _value);
	event ContractDeactivated(string _msg);
	event ContractNotDeactivated(string _msg);

	
	
    constructor (string _name, string _symbol,uint256 _totalSupplyValue) public payable
    {
        name=_name;
        symbol = _symbol;
        _totalSupply = _totalSupplyValue;
        owner = msg.sender;
        balanceOf[owner] = _totalSupply;
    }
    
    function _transfer(address _from, address _to, uint _value) public 
    {
        require(_to != address(0x0));                                   // Prevent transfer to 0x0 address. Use burn() instead
        require(balanceOf[_from] >= _value);                            // Check if the sender has enough
        require(balanceOf[_to] + _value >= balanceOf[_to]);             // Check for overflows
        uint previousBalances = balanceOf[_from] + balanceOf[_to];      // Save this for an assertion in the future
        balanceOf[_from] -= _value;                                     // Subtract from the sender
        balanceOf[_to] += _value;                                       // Add the same to the recipient

        emit TransferToken( _from, _to, "transfer done!");
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);  // Asserts are used to use static analysis to find bugs in your code. They should never fail
    }
    
    function getBalance(address _to) public view returns (uint)
    {
        return balanceOf[_to];
    }
    function getName() public view returns (string memory _txt)
    {
        return name;
    }
    function getSymbol() public view returns (string memory _txt)
    {
        return symbol;
    }
    function getTotalSupply() public view returns (uint _val)
    {
        return _totalSupply;
    }
    function _getAllowanc(address _holder,address _spender) public view returns (uint _val)
    {
        return _allowance[_holder][_spender];
    }
      
    
    function _setAllowance(address _holder,address _spender, uint256 _value) public
    {
        _allowance[_holder][_spender] = _value;
        emit AllowanceSet(_holder,_spender,_value);
    }

	function deactivateIt() public payable {
			emit ContractDeactivated("The contract is being deactivated...");
			selfdestruct(address(owner));
    }
    

}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getSymbol","outputs":[{"name":"_txt","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getName","outputs":[{"name":"_txt","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"_transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"},{"name":"_spender","type":"address"}],"name":"_getAllowanc","outputs":[{"name":"_val","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":"getTotalSupply","outputs":[{"name":"_val","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_holder","type":"address"},{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"_setAllowance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"_allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deactivateIt","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_to","type":"address"}],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_totalSupplyValue","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_to","type":"address"},{"indexed":false,"name":"_msg","type":"string"}],"name":"TransferToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_holder","type":"address"},{"indexed":false,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"AllowanceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_msg","type":"string"}],"name":"ContractDeactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_msg","type":"string"}],"name":"ContractNotDeactivated","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60806040526040516108c13803806108c1833981016040908152815160208084015192840151918401805190949390930192610041916000919086019061008f565b50815161005590600190602085019061008f565b50600281905560058054600160a060020a031916331790819055600160a060020a03166000908152600360205260409020555061012a9050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100d057805160ff19168380011785556100fd565b828001600101855582156100fd579182015b828111156100fd5782518255916020019190600101906100e2565b5061010992915061010d565b5090565b61012791905b808211156101095760008155600101610113565b90565b610788806101396000396000f3006080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063150704011461015357806317d7de7c1461016857806330e0789e1461017d5780633eaaf86b146101a957806370a08231146101d0578063804fea82146101f157806395d89b4114610218578063c4e41b221461022d578063c617fe6e14610242578063dd336c121461026c578063e07e1a7614610293578063f8b2cb4f1461029b575b600080fd5b3480156100d557600080fd5b506100de6102bc565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015f57600080fd5b506100de61034a565b34801561017457600080fd5b506100de6103df565b34801561018957600080fd5b506101a7600160a060020a0360043581169060243516604435610440565b005b3480156101b557600080fd5b506101be61057f565b60408051918252519081900360200190f35b3480156101dc57600080fd5b506101be600160a060020a0360043516610585565b3480156101fd57600080fd5b506101be600160a060020a0360043581169060243516610597565b34801561022457600080fd5b506100de6105c2565b34801561023957600080fd5b506101be61061c565b34801561024e57600080fd5b506101a7600160a060020a0360043581169060243516604435610622565b34801561027857600080fd5b506101be600160a060020a0360043581169060243516610690565b6101a76106ad565b3480156102a757600080fd5b506101be600160a060020a0360043516610741565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103425780601f1061031757610100808354040283529160200191610342565b820191906000526020600020905b81548152906001019060200180831161032557829003601f168201915b505050505081565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156103d55780601f106103aa576101008083540402835291602001916103d5565b820191906000526020600020905b8154815290600101906020018083116103b857829003601f168201915b5050505050905090565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103d55780601f106103aa576101008083540402835291602001916103d5565b6000600160a060020a038316151561045757600080fd5b600160a060020a03841660009081526003602052604090205482111561047c57600080fd5b600160a060020a03831660009081526003602052604090205482810110156104a357600080fd5b50600160a060020a0380831660008181526003602090815260408083208054958916808552828520805489810390915594869052815488019091558151908152918201939093526060818401819052600e908201527f7472616e7366657220646f6e6521000000000000000000000000000000000000608082015291519201917fb45f6ba61129f2095121456d49b1344ddc0cac51081dcb6dda699788f83b500b9181900360a00190a1600160a060020a0380841660009081526003602052604080822054928716825290205401811461057957fe5b50505050565b60025481565b60036020526000908152604090205481565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103425780601f1061031757610100808354040283529160200191610342565b60025490565b600160a060020a03808416600081815260046020908152604080832094871680845294825291829020859055815192835282019290925280820183905290517f35b43951b46e772259ca8b566c89beccb8d46513d2e0388b81504e7d27784f299181900360600190a1505050565b600460209081526000928352604080842090915290825290205481565b6040805160208082526024908201527f54686520636f6e7472616374206973206265696e672064656163746976617465818301527f642e2e2e00000000000000000000000000000000000000000000000000000000606082015290517f3256c8e0bed4d38f639646393e0da0b2bca42a7440cebf6ce7254572826f612e9181900360800190a1600554600160a060020a0316ff5b600160a060020a0316600090815260036020526040902054905600a165627a7a72305820d30ee7eee0870f938785f282eca4ff770b0fd182da65b175a0b3c360053a815b0029000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000002f024de2e90000000000000000000000000000000000000000000000000000000000000009535045454450524f50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035350540000000000000000000000000000000000000000000000000000000000

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

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000002f024de2e9
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 535045454450524f500000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5350540000000000000000000000000000000000000000000000000000000000


   Swarm Source:
bzzr://d30ee7eee0870f938785f282eca4ff770b0fd182da65b175a0b3c360053a815b

 

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