ETH Price: $3,596.83 (+3.75%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Get Award204534162024-08-04 6:32:35152 days ago1722753155IN
0xA7437C14...73e7F7Ff4
0 ETH0.000029411
Get Award204532882024-08-04 6:06:47152 days ago1722751607IN
0xA7437C14...73e7F7Ff4
0 ETH0.000047011
Get Award204528002024-08-04 4:28:59152 days ago1722745739IN
0xA7437C14...73e7F7Ff4
0 ETH0.000029411
Get Award204517802024-08-04 1:04:11153 days ago1722733451IN
0xA7437C14...73e7F7Ff4
0 ETH0.000047011
Get Award204156682024-07-29 23:59:47158 days ago1722297587IN
0xA7437C14...73e7F7Ff4
0 ETH0.000029411
Get Award204084882024-07-28 23:58:11159 days ago1722211091IN
0xA7437C14...73e7F7Ff4
0 ETH0.000029411
Get Award203956402024-07-27 4:57:35160 days ago1722056255IN
0xA7437C14...73e7F7Ff4
0 ETH0.000044411
Get Award163856122023-01-11 19:20:47723 days ago1673464847IN
0xA7437C14...73e7F7Ff4
0 ETH0.0008375328
Get Award159115112022-11-06 14:15:35789 days ago1667744135IN
0xA7437C14...73e7F7Ff4
0 ETH0.0005384118
Get Award158949602022-11-04 6:48:47791 days ago1667544527IN
0xA7437C14...73e7F7Ff4
0 ETH0.0009967321.20169765
Get Award157346622022-10-12 21:17:59814 days ago1665609479IN
0xA7437C14...73e7F7Ff4
0 ETH0.0007415524.79109383
Get Award156058832022-09-24 21:24:23832 days ago1664054663IN
0xA7437C14...73e7F7Ff4
0 ETH0.0003734912.48632327
Get Award155594852022-09-18 9:17:11838 days ago1663492631IN
0xA7437C14...73e7F7Ff4
0 ETH0.000088822
Get Award155594602022-09-18 9:11:59838 days ago1663492319IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155594602022-09-18 9:11:59838 days ago1663492319IN
0xA7437C14...73e7F7Ff4
0 ETH0.000059822
Get Award155593492022-09-18 8:49:35838 days ago1663490975IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155593492022-09-18 8:49:35838 days ago1663490975IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155593492022-09-18 8:49:35838 days ago1663490975IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155593462022-09-18 8:48:59838 days ago1663490939IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155593412022-09-18 8:47:59838 days ago1663490879IN
0xA7437C14...73e7F7Ff4
0 ETH0.000059822
Get Award155593352022-09-18 8:46:47838 days ago1663490807IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155592772022-09-18 8:35:11838 days ago1663490111IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155592682022-09-18 8:33:23838 days ago1663490003IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155592492022-09-18 8:29:35838 days ago1663489775IN
0xA7437C14...73e7F7Ff4
0 ETH0.000058822
Get Award155592102022-09-18 8:21:47838 days ago1663489307IN
0xA7437C14...73e7F7Ff4
0 ETH0.000088822
View all transactions

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

Contract Source Code Verified (Exact Match)

Contract Name:
Bussiness

Compiler Version
v0.5.9+commit.e560f70d

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.5.9;

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
    address public owner;


    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


    /**
     * @dev The Ownable constructor sets the original `owner` of the contract to the sender
     * account.
     */
    constructor() public {
        owner = msg.sender;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0));
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }

}
contract Bussiness is Ownable {
    uint public periodToPlay = 60; // 86400; // seconds

    mapping(address => uint) public timeTrackUser;
    event _random(address _from, uint _ticket);
    constructor() public {}
    function getAward() public {
        require(isValidToPlay());
        timeTrackUser[msg.sender] = block.timestamp;
        emit _random(msg.sender, block.timestamp);
    }

    function isValidToPlay() public view returns (bool){
        return periodToPlay <= now - timeTrackUser[msg.sender];
    }
    function changePeriodToPlay(uint _period) onlyOwner public{
        periodToPlay = _period;
    }

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_period","type":"uint256"}],"name":"changePeriodToPlay","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"periodToPlay","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isValidToPlay","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getAward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"timeTrackUser","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_ticket","type":"uint256"}],"name":"_random","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

6080604052603c60015534801561001557600080fd5b50600080546001600160a01b031916331790556102c9806100376000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100d7578063f2fde38b146100fb578063fee5035914610121578063ff61d1a9146101295761007d565b806308621db8146100825780633e54c123146100a15780637d950a26146100bb575b600080fd5b61009f6004803603602081101561009857600080fd5b503561014f565b005b6100a961016b565b60408051918252519081900360200190f35b6100c3610171565b604080519115158252519081900360200190f35b6100df61018e565b604080516001600160a01b039092168252519081900360200190f35b61009f6004803603602081101561011157600080fd5b50356001600160a01b031661019d565b61009f610222565b6100a96004803603602081101561013f57600080fd5b50356001600160a01b0316610282565b6000546001600160a01b0316331461016657600080fd5b600155565b60015481565b336000908152600260205260409020546001544291909103101590565b6000546001600160a01b031681565b6000546001600160a01b031633146101b457600080fd5b6001600160a01b0381166101c757600080fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61022a610171565b61023357600080fd5b33600081815260026020908152604091829020429081905582519384529083015280517f759d68a0a9880e705858082d6bf7a17a03894588f024b61cc0ea17b1e68807ca9281900390910190a1565b6002602052600090815260409020548156fea265627a7a72305820582524f27f7ba7c32536c1987f37962a9c7e37c96c96dcd7a5a863ca9f9dbe3064736f6c63430005090032

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100d7578063f2fde38b146100fb578063fee5035914610121578063ff61d1a9146101295761007d565b806308621db8146100825780633e54c123146100a15780637d950a26146100bb575b600080fd5b61009f6004803603602081101561009857600080fd5b503561014f565b005b6100a961016b565b60408051918252519081900360200190f35b6100c3610171565b604080519115158252519081900360200190f35b6100df61018e565b604080516001600160a01b039092168252519081900360200190f35b61009f6004803603602081101561011157600080fd5b50356001600160a01b031661019d565b61009f610222565b6100a96004803603602081101561013f57600080fd5b50356001600160a01b0316610282565b6000546001600160a01b0316331461016657600080fd5b600155565b60015481565b336000908152600260205260409020546001544291909103101590565b6000546001600160a01b031681565b6000546001600160a01b031633146101b457600080fd5b6001600160a01b0381166101c757600080fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61022a610171565b61023357600080fd5b33600081815260026020908152604091829020429081905582519384529083015280517f759d68a0a9880e705858082d6bf7a17a03894588f024b61cc0ea17b1e68807ca9281900390910190a1565b6002602052600090815260409020548156fea265627a7a72305820582524f27f7ba7c32536c1987f37962a9c7e37c96c96dcd7a5a863ca9f9dbe3064736f6c63430005090032

Deployed Bytecode Sourcemap

1105:644:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1105:644:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1645:99;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1645:99:0;;:::i;:::-;;1142:29;;;:::i;:::-;;;;;;;;;;;;;;;;1515:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;245:20;;;:::i;:::-;;;;-1:-1:-1;;;;;245:20:0;;;;;;;;;;;;;;906:192;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;906:192:0;-1:-1:-1;;;;;906:192:0;;:::i;1331:176::-;;;:::i;1201:45::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1201:45:0;-1:-1:-1;;;;;1201:45:0;;:::i;1645:99::-;703:5;;-1:-1:-1;;;;;703:5:0;689:10;:19;681:28;;;;;;1714:12;:22;1645:99::o;1142:29::-;;;;:::o;1515:124::-;1620:10;1561:4;1606:25;;;:13;:25;;;;;;1584:12;;1600:3;:31;;;;-1:-1:-1;1584:47:0;1515:124;:::o;245:20::-;;;-1:-1:-1;;;;;245:20:0;;:::o;906:192::-;703:5;;-1:-1:-1;;;;;703:5:0;689:10;:19;681:28;;;;;;-1:-1:-1;;;;;987:22:0;;979:31;;;;;;1047:5;;;1026:37;;-1:-1:-1;;;;;1026:37:0;;;;1047:5;;;1026:37;;;1074:5;:16;;-1:-1:-1;;;;;;1074:16:0;-1:-1:-1;;;;;1074:16:0;;;;;;;;;;906:192::o;1331:176::-;1377:15;:13;:15::i;:::-;1369:24;;;;;;1418:10;1404:25;;;;:13;:25;;;;;;;;;1432:15;1404:43;;;;1463:36;;;;;;;;;;;;;;;;;;;;;1331:176::o;1201:45::-;;;;;;;;;;;;;:::o

Swarm Source

bzzr://582524f27f7ba7c32536c1987f37962a9c7e37c96c96dcd7a5a863ca9f9dbe30

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.