ETH Price: $3,182.10 (+3.11%)

Contract

0x6B951e8debb274FDf1951706FD8c153a22bf1284
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ticket74577682019-03-28 15:18:362062 days ago1553786316IN
0x6B951e8d...a22bf1284
0 ETH0.0004390810
Transfer Ticket74577682019-03-28 15:18:362062 days ago1553786316IN
0x6B951e8d...a22bf1284
0 ETH0.0004390810
Transfer Ticket74577682019-03-28 15:18:362062 days ago1553786316IN
0x6B951e8d...a22bf1284
0 ETH0.0004390810
Transfer Ticket74577222019-03-28 15:06:302062 days ago1553785590IN
0x6B951e8d...a22bf1284
0 ETH0.0004390810
Transfer Ticket74577222019-03-28 15:06:302062 days ago1553785590IN
0x6B951e8d...a22bf1284
0 ETH0.0004390810
Transfer Ticket74128402019-03-21 15:07:382069 days ago1553180858IN
0x6B951e8d...a22bf1284
0 ETH0.0004384410
Transfer Ticket74128402019-03-21 15:07:382069 days ago1553180858IN
0x6B951e8d...a22bf1284
0 ETH0.0004384410
Transfer Ticket73876532019-03-17 16:48:202072 days ago1552841300IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
Transfer Ticket73876532019-03-17 16:48:202072 days ago1552841300IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
Transfer Ticket73876532019-03-17 16:48:202072 days ago1552841300IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
Transfer Ticket73876532019-03-17 16:48:202072 days ago1552841300IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
Transfer Ticket73836372019-03-17 1:47:272073 days ago1552787247IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
Transfer Ticket73836372019-03-17 1:47:272073 days ago1552787247IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
Transfer Ticket73836372019-03-17 1:47:272073 days ago1552787247IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
Transfer Ticket73836372019-03-17 1:47:272073 days ago1552787247IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
Transfer Ticket73813442019-03-16 17:21:282073 days ago1552756888IN
0x6B951e8d...a22bf1284
0 ETH0.00023715.4
Transfer Ticket73813442019-03-16 17:21:282073 days ago1552756888IN
0x6B951e8d...a22bf1284
0 ETH0.00023715.4
Transfer Ticket73813442019-03-16 17:21:282073 days ago1552756888IN
0x6B951e8d...a22bf1284
0 ETH0.00023715.4
Transfer Ticket73800012019-03-16 12:08:232074 days ago1552738103IN
0x6B951e8d...a22bf1284
0 ETH0.000219545
Transfer Ticket73800012019-03-16 12:08:232074 days ago1552738103IN
0x6B951e8d...a22bf1284
0 ETH0.000219545
Transfer Ticket73782032019-03-16 5:38:412074 days ago1552714721IN
0x6B951e8d...a22bf1284
0 ETH0.000237835.41675468
Transfer Ticket73782032019-03-16 5:38:412074 days ago1552714721IN
0x6B951e8d...a22bf1284
0 ETH0.000237835.41675468
Transfer Ticket73782032019-03-16 5:38:412074 days ago1552714721IN
0x6B951e8d...a22bf1284
0 ETH0.000237835.41675468
Transfer Ticket73782032019-03-16 5:38:412074 days ago1552714721IN
0x6B951e8d...a22bf1284
0 ETH0.000237835.41675468
Transfer Ticket73757512019-03-15 20:41:392074 days ago1552682499IN
0x6B951e8d...a22bf1284
0 ETH0.000175634
View all transactions

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xeBA89b71...Cb69d48f3
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
GETEventContract

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-03-21
*/

/*
 * http://solidity.readthedocs.io/en/latest
 * https://ethereumbuilders.gitbooks.io/guide/content/en/solidity_tutorials.html
 * Token standard: https://github.com/ethereum/EIPs/issues/20
 */
// import "contracts/StringLib.sol";

pragma solidity ^0.4.24;

contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

library SafeERC20 {
  function safeTransfer(ERC20Basic token, address to, uint256 value) internal {
    assert(token.transfer(to, value));
  }
  function safeTransferFrom(ERC20 token, address from, address to, uint256 value) internal {
    assert(token.transferFrom(from, to, value));
  }
  function safeApprove(ERC20 token, address spender, uint256 value) internal {
    assert(token.approve(spender, value));
  }
}

contract owned {
    address owner;

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

    constructor() public {
        owner = msg.sender;
    }

    function kill() public {
        if (msg.sender == owner) {
            selfdestruct(owner);
        }
    }
}
/*
 * This contract holds all sold tickets for an event. Tickets are
 * created on the fly, identified by an id. Owners are identified by
 * an address.
 *
 * The system currently does not support
 * - privileges
 * - returning tickets
 * - execution of tickets
 */

contract GETEventContract is owned {
    using SafeERC20 for ERC20Basic;
    event TicketTransfered(address indexed from, address indexed to, uint256 ticketid);

    // all sold / owned tickets in the system
    mapping (uint256 => address) public ticketOwner;

    event GETUnstaked(uint256 amount);

    function transferTicket(address _receiver, uint256 _ticketid) onlyOwner public {
        /*
         * Transfer a specific ticket to a new owner, creating it
         * on the fly if necessary
         */
        ticketOwner[_ticketid] = _receiver;
    }

    function unstakeGET(ERC20Basic _token) public onlyOwner {
        uint256 currentGETBalance = _token.balanceOf(address(this));
        _token.safeTransfer(owner, currentGETBalance);
        emit GETUnstaked(currentGETBalance);
    } 
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_receiver","type":"address"},{"name":"_ticketid","type":"uint256"}],"name":"transferTicket","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"unstakeGET","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"ticketOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"ticketid","type":"uint256"}],"name":"TicketTransfered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"GETUnstaked","type":"event"}]

Deployed Bytecode

0x6080604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166341c0e1b5811461006657806351958a561461007d5780637a4b7aa7146100a1578063c2ff12fc146100c2575b600080fd5b34801561007257600080fd5b5061007b6100f6565b005b34801561008957600080fd5b5061007b600160a060020a0360043516602435610119565b3480156100ad57600080fd5b5061007b600160a060020a0360043516610165565b3480156100ce57600080fd5b506100da600435610260565b60408051600160a060020a039092168252519081900360200190f35b600054600160a060020a031633141561011757600054600160a060020a0316ff5b565b600054600160a060020a0316331415610161576000818152600160205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790555b5050565b60008054600160a060020a031633141561016157604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038416916370a082319160248083019260209291908290030181600087803b1580156101da57600080fd5b505af11580156101ee573d6000803e3d6000fd5b505050506040513d602081101561020457600080fd5b505160005490915061022990600160a060020a0384811691168363ffffffff61027b16565b6040805182815290517ff7bc0731022416627df34db0eabef153ca9165da0baf1e20e778a553e61f266a9181900360200190a15050565b600160205260009081526040902054600160a060020a031681565b82600160a060020a031663a9059cbb83836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b1580156102f757600080fd5b505af115801561030b573d6000803e3d6000fd5b505050506040513d602081101561032157600080fd5b5051151561032b57fe5b5050505600a165627a7a7230582046397a3f0f86310f7056ca85cfefca5efd99044cbb13c637dcf492450785e7310029

Swarm Source

bzzr://46397a3f0f86310f7056ca85cfefca5efd99044cbb13c637dcf492450785e731

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.