ETH Price: $2,104.05 (-10.62%)

Contract

0x608e9210E314edA9cC7115C7e2881DD0E66Dd615
 

Overview

ETH Balance

0.000000000515892701 ETH

Eth Value

Less Than $0.01 (@ $2,104.05/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Payout62523402018-09-01 11:59:262371 days ago1535803166IN
0x608e9210...0E66Dd615
0 ETH0.000402175
Addshares62523382018-09-01 11:58:382371 days ago1535803118IN
0x608e9210...0E66Dd615
0 ETH0.000144285
Addshares62523352018-09-01 11:58:102371 days ago1535803090IN
0x608e9210...0E66Dd615
0 ETH0.00014465
Addshares62523302018-09-01 11:57:342371 days ago1535803054IN
0x608e9210...0E66Dd615
0 ETH0.00014465
Addshares62523282018-09-01 11:57:182371 days ago1535803038IN
0x608e9210...0E66Dd615
0 ETH0.00014465
Addshares62523262018-09-01 11:56:572371 days ago1535803017IN
0x608e9210...0E66Dd615
0 ETH0.00014465
Addshares62523242018-09-01 11:56:372371 days ago1535802997IN
0x608e9210...0E66Dd615
0 ETH0.00014465
Payout62523052018-09-01 11:51:172371 days ago1535802677IN
0x608e9210...0E66Dd615
0 ETH0.000321734
Setshares62523052018-09-01 11:51:172371 days ago1535802677IN
0x608e9210...0E66Dd615
0 ETH0.000163896
Setshares62522442018-09-01 11:38:232371 days ago1535801903IN
0x608e9210...0E66Dd615
0 ETH0.000169524
Setshares62522442018-09-01 11:38:232371 days ago1535801903IN
0x608e9210...0E66Dd615
0 ETH0.000169524
Setshares62522422018-09-01 11:38:172371 days ago1535801897IN
0x608e9210...0E66Dd615
0 ETH0.000169524
Setshares62522402018-09-01 11:37:562371 days ago1535801876IN
0x608e9210...0E66Dd615
0 ETH0.000169524
Setshares62522362018-09-01 11:37:202371 days ago1535801840IN
0x608e9210...0E66Dd615
0 ETH0.000169264
Payout62452222018-08-31 7:03:312373 days ago1535699011IN
0x608e9210...0E66Dd615
0.5774141 ETH0.000321734
Payout62452002018-08-31 6:57:222373 days ago1535698642IN
0x608e9210...0E66Dd615
0 ETH0.000139933.5
Transfer62351302018-08-29 14:24:522374 days ago1535552692IN
0x608e9210...0E66Dd615
1.06639762 ETH0.004004950
Transfer62303842018-08-28 18:59:212375 days ago1535482761IN
0x608e9210...0E66Dd615
0.22231012 ETH0.000240293
Payout62292292018-08-28 14:13:422375 days ago1535465622IN
0x608e9210...0E66Dd615
0.359193 ETH0.00024133
Payout62291292018-08-28 13:52:332375 days ago1535464353IN
0x608e9210...0E66Dd615
0.07709814 ETH0.000160862
Payout62287492018-08-28 12:20:592375 days ago1535458859IN
0x608e9210...0E66Dd615
0.00000006 ETH0.000402175
Setshares62286992018-08-28 12:09:552375 days ago1535458195IN
0x608e9210...0E66Dd615
0 ETH0.000142985
Setshares62286602018-08-28 11:59:512375 days ago1535457591IN
0x608e9210...0E66Dd615
0 ETH0.000142985
Setshares62286602018-08-28 11:59:512375 days ago1535457591IN
0x608e9210...0E66Dd615
0 ETH0.000142985
Setshares62285292018-08-28 11:28:192375 days ago1535455699IN
0x608e9210...0E66Dd615
0 ETH0.000057192
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
62523402018-09-01 11:59:262371 days ago1535803166
0x608e9210...0E66Dd615
0 ETH
62523402018-09-01 11:59:262371 days ago1535803166
0x608e9210...0E66Dd615
0 ETH
62523402018-09-01 11:59:262371 days ago1535803166
0x608e9210...0E66Dd615
0 ETH
62523402018-09-01 11:59:262371 days ago1535803166
0x608e9210...0E66Dd615
0 ETH
62523402018-09-01 11:59:262371 days ago1535803166
0x608e9210...0E66Dd615
0 ETH
62523402018-09-01 11:59:262371 days ago1535803166
0x608e9210...0E66Dd615
0 ETH
62523052018-09-01 11:51:172371 days ago1535802677
0x608e9210...0E66Dd615
0 ETH
62523052018-09-01 11:51:172371 days ago1535802677
0x608e9210...0E66Dd615
0 ETH
62523052018-09-01 11:51:172371 days ago1535802677
0x608e9210...0E66Dd615
0 ETH
62523052018-09-01 11:51:172371 days ago1535802677
0x608e9210...0E66Dd615
0 ETH
62523052018-09-01 11:51:172371 days ago1535802677
0x608e9210...0E66Dd615
0 ETH
62523052018-09-01 11:51:172371 days ago1535802677
0x608e9210...0E66Dd615
0 ETH
62452222018-08-31 7:03:312373 days ago1535699011
0x608e9210...0E66Dd615
0.09623568 ETH
62452222018-08-31 7:03:312373 days ago1535699011
0x608e9210...0E66Dd615
0.09623568 ETH
62452222018-08-31 7:03:312373 days ago1535699011
0x608e9210...0E66Dd615
0.09623568 ETH
62452222018-08-31 7:03:312373 days ago1535699011
0x608e9210...0E66Dd615
0.09623568 ETH
62452222018-08-31 7:03:312373 days ago1535699011
0x608e9210...0E66Dd615
0.09623568 ETH
62452222018-08-31 7:03:312373 days ago1535699011
0x608e9210...0E66Dd615
0.09623568 ETH
62351302018-08-29 14:24:522374 days ago1535552692
0x608e9210...0E66Dd615
0.17773293 ETH
62351302018-08-29 14:24:522374 days ago1535552692
0x608e9210...0E66Dd615
0.17773293 ETH
62351302018-08-29 14:24:522374 days ago1535552692
0x608e9210...0E66Dd615
0.17773293 ETH
62351302018-08-29 14:24:522374 days ago1535552692
0x608e9210...0E66Dd615
0.17773293 ETH
62351302018-08-29 14:24:522374 days ago1535552692
0x608e9210...0E66Dd615
0.17773293 ETH
62351302018-08-29 14:24:522374 days ago1535552692
0x608e9210...0E66Dd615
0.17773293 ETH
62303842018-08-28 18:59:212375 days ago1535482761
0x608e9210...0E66Dd615
0.03705168 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Coallition

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-08-25
*/

pragma solidity ^0.4.24;
// Spielley's King of the crypto hill beta Coallition expansion v1.0
// Coallition owner sets shares for the alliance, alliance members send in their eth winnings to share among the group
// Coallition owner can increase or decrease members and shares
// this is not a trustless situation, alliance owner can screw everyone over, only join an alliance you trust

// play at https://kotch.dvx.me/# 
// 25/08/2018

// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
    function add(uint a, uint b) internal pure returns (uint c) {
        c = a + b;
        require(c >= a);
    }
    function sub(uint a, uint b) internal pure returns (uint c) {
        require(b <= a);
        c = a - b;
    }
    function mul(uint a, uint b) internal pure returns (uint c) {
        c = a * b;
        require(a == 0 || c / a == b);
    }
    function div(uint a, uint b) internal pure returns (uint c) {
        require(b > 0);
        c = a / b;
    }
}
// ----------------------------------------------------------------------------
// Owned contract
// ----------------------------------------------------------------------------
contract Owned {
    address public owner;
    address public newOwner;

    event OwnershipTransferred(address indexed _from, address indexed _to);

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

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

    function transferOwnership(address _newOwner) public onlyOwner {
        newOwner = _newOwner;
    }
    function acceptOwnership() public {
        require(msg.sender == newOwner);
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
        newOwner = address(0);
    }
}
contract Coallition is Owned {
     using SafeMath for uint;
     
     mapping(uint256 => address) members;
     mapping(address => uint256) shares;
     
     uint256 total;
     constructor () public {
         
    }
     function addmember(uint256 index , address newmember) public onlyOwner  {
   members[index] = newmember;
}
     function addshares(uint256 sharestoadd , address member) public onlyOwner  {
shares[member] += sharestoadd;
}
function deductshares(uint256 sharestoadd , address member) public onlyOwner  {
   shares[member] -= sharestoadd;
}
function setshares(uint256 sharestoadd , address member) public onlyOwner  {
   shares[member] = sharestoadd;
}
// set total number of members
function settotal(uint256 set) public onlyOwner  {
   total = set;
}
    function payout() public payable {
        
   for(uint i=0; i< total; i++)
        {
            uint256 totalshares;
            totalshares += shares[members[i]];
        }
        uint256 base = msg.value.div(totalshares);
    for(i=0; i< total; i++)
        {
            
            uint256 amounttotransfer = base.mul(shares[members[i]]);
            members[i].transfer(amounttotransfer);
            
        }
}
 function () external payable{payout();}     
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"name":"sharestoadd","type":"uint256"},{"name":"member","type":"address"}],"name":"deductshares","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"payout","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"sharestoadd","type":"uint256"},{"name":"member","type":"address"}],"name":"setshares","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"set","type":"uint256"}],"name":"settotal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"index","type":"uint256"},{"name":"newmember","type":"address"}],"name":"addmember","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sharestoadd","type":"uint256"},{"name":"member","type":"address"}],"name":"addshares","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

608060405234801561001057600080fd5b5060008054600160a060020a03191633179055610537806100326000396000f3006080604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663343ff8c781146100ad57806363bd1d4a146100a357806379ba5097146100d157806380f6c383146100e65780638da5cb5b1461010a578063aa3022d01461013b578063d01296d914610153578063d4ee1d9014610177578063ea32a8f41461018c578063f2fde38b146101b0575b6100ab6101d1565b005b3480156100b957600080fd5b506100ab600435600160a060020a03602435166102c5565b3480156100dd57600080fd5b506100ab6102fd565b3480156100f257600080fd5b506100ab600435600160a060020a0360243516610385565b34801561011657600080fd5b5061011f6103b6565b60408051600160a060020a039092168252519081900360200190f35b34801561014757600080fd5b506100ab6004356103c5565b34801561015f57600080fd5b506100ab600435600160a060020a03602435166103e1565b34801561018357600080fd5b5061011f610433565b34801561019857600080fd5b506100ab600435600160a060020a0360243516610442565b3480156101bc57600080fd5b506100ab600160a060020a0360043516610479565b60008080805b60045484101561021657600084815260026020908152604080832054600160a060020a03168352600390915290205460019094019392909201916101d7565b610226348463ffffffff6104bf16565b9150600093505b6004548410156102bf57600084815260026020908152604080832054600160a060020a03168352600390915290205461026d90839063ffffffff6104e016565b600085815260026020526040808220549051929350600160a060020a03169183156108fc0291849190818181858888f193505050501580156102b3573d6000803e3d6000fd5b5060019093019261022d565b50505050565b600054600160a060020a031633146102dc57600080fd5b600160a060020a031660009081526003602052604090208054919091039055565b600154600160a060020a0316331461031457600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600054600160a060020a0316331461039c57600080fd5b600160a060020a0316600090815260036020526040902055565b600054600160a060020a031681565b600054600160a060020a031633146103dc57600080fd5b600455565b600054600160a060020a031633146103f857600080fd5b600091825260026020526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461045957600080fd5b600160a060020a0316600090815260036020526040902080549091019055565b600054600160a060020a0316331461049057600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008082116104cd57600080fd5b81838115156104d857fe5b049392505050565b8181028215806104fa57508183828115156104f757fe5b04145b151561050557600080fd5b929150505600a165627a7a72305820e1f71fc6b1d4945de4ce5a924ee928f4f8c80627ce9832fa9f2ba8c7a4f5f3340029

Deployed Bytecode

0x6080604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663343ff8c781146100ad57806363bd1d4a146100a357806379ba5097146100d157806380f6c383146100e65780638da5cb5b1461010a578063aa3022d01461013b578063d01296d914610153578063d4ee1d9014610177578063ea32a8f41461018c578063f2fde38b146101b0575b6100ab6101d1565b005b3480156100b957600080fd5b506100ab600435600160a060020a03602435166102c5565b3480156100dd57600080fd5b506100ab6102fd565b3480156100f257600080fd5b506100ab600435600160a060020a0360243516610385565b34801561011657600080fd5b5061011f6103b6565b60408051600160a060020a039092168252519081900360200190f35b34801561014757600080fd5b506100ab6004356103c5565b34801561015f57600080fd5b506100ab600435600160a060020a03602435166103e1565b34801561018357600080fd5b5061011f610433565b34801561019857600080fd5b506100ab600435600160a060020a0360243516610442565b3480156101bc57600080fd5b506100ab600160a060020a0360043516610479565b60008080805b60045484101561021657600084815260026020908152604080832054600160a060020a03168352600390915290205460019094019392909201916101d7565b610226348463ffffffff6104bf16565b9150600093505b6004548410156102bf57600084815260026020908152604080832054600160a060020a03168352600390915290205461026d90839063ffffffff6104e016565b600085815260026020526040808220549051929350600160a060020a03169183156108fc0291849190818181858888f193505050501580156102b3573d6000803e3d6000fd5b5060019093019261022d565b50505050565b600054600160a060020a031633146102dc57600080fd5b600160a060020a031660009081526003602052604090208054919091039055565b600154600160a060020a0316331461031457600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600054600160a060020a0316331461039c57600080fd5b600160a060020a0316600090815260036020526040902055565b600054600160a060020a031681565b600054600160a060020a031633146103dc57600080fd5b600455565b600054600160a060020a031633146103f857600080fd5b600091825260026020526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461045957600080fd5b600160a060020a0316600090815260036020526040902080549091019055565b600054600160a060020a0316331461049057600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008082116104cd57600080fd5b81838115156104d857fe5b049392505050565b8181028215806104fa57508183828115156104f757fe5b04145b151561050557600080fd5b929150505600a165627a7a72305820e1f71fc6b1d4945de4ce5a924ee928f4f8c80627ce9832fa9f2ba8c7a4f5f3340029

Swarm Source

bzzr://e1f71fc6b1d4945de4ce5a924ee928f4f8c80627ce9832fa9f2ba8c7a4f5f334

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  ]
[ 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.