Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 112 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 10225674 | 2091 days ago | IN | 0 ETH | 0.000907 | ||||
| Profit Dividend | 10225666 | 2091 days ago | IN | 0 ETH | 0.00185213 | ||||
| Withdraw | 8507976 | 2366 days ago | IN | 0 ETH | 0.00014968 | ||||
| Withdraw | 8282947 | 2401 days ago | IN | 0 ETH | 0.00002108 | ||||
| Profit Dividend | 8262185 | 2404 days ago | IN | 0 ETH | 0.00010959 | ||||
| Withdraw | 8164551 | 2419 days ago | IN | 0 ETH | 0.00050936 | ||||
| Withdraw | 8139604 | 2423 days ago | IN | 0 ETH | 0.00003373 | ||||
| Withdraw | 8135263 | 2424 days ago | IN | 0 ETH | 0.00010119 | ||||
| Transfer | 8133760 | 2424 days ago | IN | 0.3227 ETH | 0.00006312 | ||||
| Profit Dividend | 8133730 | 2424 days ago | IN | 0 ETH | 0.00089331 | ||||
| Withdraw | 8065513 | 2435 days ago | IN | 0 ETH | 0.00002108 | ||||
| Withdraw | 8041119 | 2438 days ago | IN | 0 ETH | 0.00008433 | ||||
| Transfer | 8039481 | 2439 days ago | IN | 0.5167 ETH | 0.0001052 | ||||
| Profit Dividend | 8038962 | 2439 days ago | IN | 0 ETH | 0.00195126 | ||||
| Withdraw | 8038083 | 2439 days ago | IN | 0 ETH | 0.00008433 | ||||
| Withdraw | 8028878 | 2440 days ago | IN | 0 ETH | 0.00006746 | ||||
| Withdraw | 7998400 | 2445 days ago | IN | 0 ETH | 0.00003373 | ||||
| Withdraw | 7977280 | 2448 days ago | IN | 0 ETH | 0.00002108 | ||||
| Withdraw | 7966569 | 2450 days ago | IN | 0 ETH | 0.00002108 | ||||
| Withdraw | 7961154 | 2451 days ago | IN | 0 ETH | 0.00002108 | ||||
| Withdraw | 7958692 | 2451 days ago | IN | 0 ETH | 0.00004216 | ||||
| Withdraw | 7955626 | 2452 days ago | IN | 0 ETH | 0.00002319 | ||||
| Transfer | 7955410 | 2452 days ago | IN | 1.5 ETH | 0.0001052 | ||||
| Withdraw | 7955397 | 2452 days ago | IN | 0 ETH | 0.00026986 | ||||
| Withdraw | 7955332 | 2452 days ago | IN | 0 ETH | 0.00010119 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 10225674 | 2091 days ago | 1.36273533 ETH | ||||
| - | 8507976 | 2366 days ago | 0.1096 ETH | ||||
| - | 8282947 | 2401 days ago | 0.1022 ETH | ||||
| - | 8164551 | 2419 days ago | 0.1002 ETH | ||||
| - | 8139604 | 2423 days ago | 0.1062 ETH | ||||
| - | 8135263 | 2424 days ago | 0.1103 ETH | ||||
| - | 8065513 | 2435 days ago | 0.1028 ETH | ||||
| - | 8041119 | 2438 days ago | 0.1048 ETH | ||||
| - | 8038083 | 2439 days ago | 0.1263 ETH | ||||
| - | 8028878 | 2440 days ago | 0.1033 ETH | ||||
| - | 7998400 | 2445 days ago | 0.1384 ETH | ||||
| - | 7977280 | 2448 days ago | 0.1513 ETH | ||||
| - | 7966569 | 2450 days ago | 0.1822 ETH | ||||
| - | 7961154 | 2451 days ago | 0.1329 ETH | ||||
| - | 7958692 | 2451 days ago | 0.25139999 ETH | ||||
| - | 7955626 | 2452 days ago | 0.209 ETH | ||||
| - | 7955397 | 2452 days ago | 0.1513 ETH | ||||
| - | 7955332 | 2452 days ago | 0.16368 ETH | ||||
| - | 7893429 | 2461 days ago | 0.12089 ETH | ||||
| - | 7850015 | 2468 days ago | 0.3245 ETH | ||||
| - | 7777999 | 2480 days ago | 0.1284 ETH | ||||
| - | 7770494 | 2481 days ago | 0.1062 ETH | ||||
| - | 7769592 | 2481 days ago | 0.17108 ETH | ||||
| - | 7769167 | 2481 days ago | 0.2591 ETH | ||||
| - | 7733182 | 2486 days ago | 0.1848 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ShareholderDividend
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2019-02-13
*/
pragma solidity ^0.4.24;
//
// .#########'
// .###############+
// ,####################
// `#######################+
// ;##########################
// #############################.
// ###############################,
// +##################, ###########`
// .################### .###########
// ##############, .###########+
// #############` .############`
// ###########+ ############
// ###########; ###########
// ##########' ###########
// '########## '#. `, ##########
// ########## ####' ####. :#########;
// `#########' :#####; ###### ##########
// :######### #######: ####### :#########
// +######### :#######.######## #########`
// #########; ###############' #########:
// ######### #############+ '########'
// ######### ############ :#########
// ######### ########## ,#########
// ######### :######## ,#########
// ######### ,########## ,#########
// ######### ,############ :########+
// ######### .#############+ '########'
// #########: `###############' #########,
// +########+ ;#######`;####### #########
// ,######### '######` '###### :#########
// #########; .#####` '##### ##########
// ########## '###` +### :#########:
// ;#########+ ` ##########
// ##########, ###########
// ###########; ############
// +############ .############`
// ###########+ ,#############;
// `########### ;++#################
// :##########, ###################
// '###########.'###################
// +##############################
// '############################`
// .##########################
// #######################:
// ###################+
// +##############:
// :#######+`
//
//
//
// Play0x.com (The ONLY gaming platform for all ERC20 Tokens)
// -------------------------------------------------------------------------------------------------------
// * Multiple types of game platforms
// * Build your own game zone - Not only playing games, but also allowing other players to join your game.
// * Support all ERC20 tokens.
//
//
//
// 0xC Token (Contract address : 0x60d8234a662651e586173c17eb45ca9833a7aa6c)
// -------------------------------------------------------------------------------------------------------
// * 0xC Token is an ERC20 Token specifically for digital entertainment.
// * No ICO and private sales,fair access.
// * There will be hundreds of games using 0xC as a game token.
// * Token holders can permanently get ETH's profit sharing.
//
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a / b;
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}
/**
* @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;
/**
* @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, "only for 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 {
if (newOwner != address(0)) {
owner = newOwner;
}
}
}
//Main contract
contract ShareholderDividend is Ownable{
using SafeMath for uint256;
bool public IsWithdrawActive = true;
//for Shareholder banlance record
mapping(address => uint256) EtherBook;
event withdrawLog(address userAddress, uint256 amount);
function() public payable{}
//Add profits for accounts
function ProfitDividend (address[] addressArray, uint256[] profitArray) public onlyOwner
{
for( uint256 i = 0; i < addressArray.length;i++)
{
EtherBook[addressArray[i]] = EtherBook[addressArray[i]].add(profitArray[i]);
}
}
// Adjust balance of accounts in the vault
function AdjustEtherBook(address[] addressArray, uint256[] profitArray) public onlyOwner
{
for( uint256 i = 0; i < addressArray.length;i++)
{
EtherBook[addressArray[i]] = profitArray[i];
}
}
//Check balance in the vault
function CheckBalance(address theAddress) public view returns(uint256 profit)
{
return EtherBook[theAddress];
}
//User withdraw balance from the vault
function withdraw() public payable
{
//if withdraw actived;
require(IsWithdrawActive == true, "Vault is not ready.");
require(EtherBook[msg.sender]>0, "Your vault is empty.");
uint share = EtherBook[msg.sender];
EtherBook[msg.sender] = 0;
msg.sender.transfer(share);
emit withdrawLog(msg.sender, share);
}
//Set withdraw status.
function UpdateActive(bool _IsWithdrawActive) public onlyOwner
{
IsWithdrawActive = _IsWithdrawActive;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":false,"inputs":[{"name":"_IsWithdrawActive","type":"bool"}],"name":"UpdateActive","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"theAddress","type":"address"}],"name":"CheckBalance","outputs":[{"name":"profit","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"addressArray","type":"address[]"},{"name":"profitArray","type":"uint256[]"}],"name":"AdjustEtherBook","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addressArray","type":"address[]"},{"name":"profitArray","type":"uint256[]"}],"name":"ProfitDividend","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"IsWithdrawActive","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"userAddress","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"withdrawLog","type":"event"}]Contract Creation Code
608060405260008054600160a060020a031960a060020a60ff021990911674010000000000000000000000000000000000000000171633179055610750806100486000396000f30060806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631aeaaae8811461008f5780632e4d59c4146100a95780633ccfd60b146100dc57806350883b2d146100e45780637fcff511146101725780638da5cb5b14610200578063a1799cae14610231578063f2fde38b1461025a575b005b34801561009b57600080fd5b5061008d600435151561027b565b3480156100b557600080fd5b506100ca600160a060020a036004351661030b565b60408051918252519081900360200190f35b61008d610326565b3480156100f057600080fd5b506040805160206004803580820135838102808601850190965280855261008d95369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506104849650505050505050565b34801561017e57600080fd5b506040805160206004803580820135838102808601850190965280855261008d95369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a99890198929750908201955093508392508501908490808284375094975061053c9650505050505050565b34801561020c57600080fd5b50610215610633565b60408051600160a060020a039092168252519081900360200190f35b34801561023d57600080fd5b50610246610642565b604080519115158252519081900360200190f35b34801561026657600080fd5b5061008d600160a060020a0360043516610663565b600054600160a060020a031633146102cb576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020610705833981519152604482015290519081900360640190fd5b60008054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b600160a060020a031660009081526001602052604090205490565b6000805474010000000000000000000000000000000000000000900460ff16151560011461039e576040805160e560020a62461bcd02815260206004820152601360248201527f5661756c74206973206e6f742072656164792e00000000000000000000000000604482015290519081900360640190fd5b3360009081526001602052604081205411610403576040805160e560020a62461bcd02815260206004820152601460248201527f596f7572207661756c7420697320656d7074792e000000000000000000000000604482015290519081900360640190fd5b5033600081815260016020526040808220805490839055905190929183156108fc02918491818181858888f19350505050158015610445573d6000803e3d6000fd5b50604080513381526020810183905281517ff74fad994845ef73476114306db4fb3ddeafc0141ecbc906ba670c6d1f037dc6929181900390910190a150565b60008054600160a060020a031633146104d5576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020610705833981519152604482015290519081900360640190fd5b5060005b82518110156105375781818151811015156104f057fe5b9060200190602002015160016000858481518110151561050c57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020556001016104d9565b505050565b60008054600160a060020a0316331461058d576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020610705833981519152604482015290519081900360640190fd5b5060005b8251811015610537576105f682828151811015156105ab57fe5b906020019060200201516001600086858151811015156105c757fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff6106ee16565b60016000858481518110151561060857fe5b6020908102909101810151600160a060020a0316825281019190915260400160002055600101610591565b600054600160a060020a031681565b60005474010000000000000000000000000000000000000000900460ff1681565b600054600160a060020a031633146106b3576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020610705833981519152604482015290519081900360640190fd5b600160a060020a038116156106eb576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000828201838110156106fd57fe5b939250505056006f6e6c7920666f72206f776e6572000000000000000000000000000000000000a165627a7a723058201418d12ac55de11f6e9fa8db778cce0656371c388fab8a51ce8fb5a3ccab36e90029
Deployed Bytecode
0x60806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631aeaaae8811461008f5780632e4d59c4146100a95780633ccfd60b146100dc57806350883b2d146100e45780637fcff511146101725780638da5cb5b14610200578063a1799cae14610231578063f2fde38b1461025a575b005b34801561009b57600080fd5b5061008d600435151561027b565b3480156100b557600080fd5b506100ca600160a060020a036004351661030b565b60408051918252519081900360200190f35b61008d610326565b3480156100f057600080fd5b506040805160206004803580820135838102808601850190965280855261008d95369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506104849650505050505050565b34801561017e57600080fd5b506040805160206004803580820135838102808601850190965280855261008d95369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a99890198929750908201955093508392508501908490808284375094975061053c9650505050505050565b34801561020c57600080fd5b50610215610633565b60408051600160a060020a039092168252519081900360200190f35b34801561023d57600080fd5b50610246610642565b604080519115158252519081900360200190f35b34801561026657600080fd5b5061008d600160a060020a0360043516610663565b600054600160a060020a031633146102cb576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020610705833981519152604482015290519081900360640190fd5b60008054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b600160a060020a031660009081526001602052604090205490565b6000805474010000000000000000000000000000000000000000900460ff16151560011461039e576040805160e560020a62461bcd02815260206004820152601360248201527f5661756c74206973206e6f742072656164792e00000000000000000000000000604482015290519081900360640190fd5b3360009081526001602052604081205411610403576040805160e560020a62461bcd02815260206004820152601460248201527f596f7572207661756c7420697320656d7074792e000000000000000000000000604482015290519081900360640190fd5b5033600081815260016020526040808220805490839055905190929183156108fc02918491818181858888f19350505050158015610445573d6000803e3d6000fd5b50604080513381526020810183905281517ff74fad994845ef73476114306db4fb3ddeafc0141ecbc906ba670c6d1f037dc6929181900390910190a150565b60008054600160a060020a031633146104d5576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020610705833981519152604482015290519081900360640190fd5b5060005b82518110156105375781818151811015156104f057fe5b9060200190602002015160016000858481518110151561050c57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020556001016104d9565b505050565b60008054600160a060020a0316331461058d576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020610705833981519152604482015290519081900360640190fd5b5060005b8251811015610537576105f682828151811015156105ab57fe5b906020019060200201516001600086858151811015156105c757fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff6106ee16565b60016000858481518110151561060857fe5b6020908102909101810151600160a060020a0316825281019190915260400160002055600101610591565b600054600160a060020a031681565b60005474010000000000000000000000000000000000000000900460ff1681565b600054600160a060020a031633146106b3576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020610705833981519152604482015290519081900360640190fd5b600160a060020a038116156106eb576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000828201838110156106fd57fe5b939250505056006f6e6c7920666f72206f776e6572000000000000000000000000000000000000a165627a7a723058201418d12ac55de11f6e9fa8db778cce0656371c388fab8a51ce8fb5a3ccab36e90029
Swarm Source
bzzr://1418d12ac55de11f6e9fa8db778cce0656371c388fab8a51ce8fb5a3ccab36e9
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.