Overview
ETH Balance
0.000000000515892701 ETH
Eth Value
Less Than $0.01 (@ $2,104.05/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 54 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Payout | 6252340 | 2371 days ago | IN | 0 ETH | 0.00040217 | ||||
Addshares | 6252338 | 2371 days ago | IN | 0 ETH | 0.00014428 | ||||
Addshares | 6252335 | 2371 days ago | IN | 0 ETH | 0.0001446 | ||||
Addshares | 6252330 | 2371 days ago | IN | 0 ETH | 0.0001446 | ||||
Addshares | 6252328 | 2371 days ago | IN | 0 ETH | 0.0001446 | ||||
Addshares | 6252326 | 2371 days ago | IN | 0 ETH | 0.0001446 | ||||
Addshares | 6252324 | 2371 days ago | IN | 0 ETH | 0.0001446 | ||||
Payout | 6252305 | 2371 days ago | IN | 0 ETH | 0.00032173 | ||||
Setshares | 6252305 | 2371 days ago | IN | 0 ETH | 0.00016389 | ||||
Setshares | 6252244 | 2371 days ago | IN | 0 ETH | 0.00016952 | ||||
Setshares | 6252244 | 2371 days ago | IN | 0 ETH | 0.00016952 | ||||
Setshares | 6252242 | 2371 days ago | IN | 0 ETH | 0.00016952 | ||||
Setshares | 6252240 | 2371 days ago | IN | 0 ETH | 0.00016952 | ||||
Setshares | 6252236 | 2371 days ago | IN | 0 ETH | 0.00016926 | ||||
Payout | 6245222 | 2373 days ago | IN | 0.5774141 ETH | 0.00032173 | ||||
Payout | 6245200 | 2373 days ago | IN | 0 ETH | 0.00013993 | ||||
Transfer | 6235130 | 2374 days ago | IN | 1.06639762 ETH | 0.0040049 | ||||
Transfer | 6230384 | 2375 days ago | IN | 0.22231012 ETH | 0.00024029 | ||||
Payout | 6229229 | 2375 days ago | IN | 0.359193 ETH | 0.0002413 | ||||
Payout | 6229129 | 2375 days ago | IN | 0.07709814 ETH | 0.00016086 | ||||
Payout | 6228749 | 2375 days ago | IN | 0.00000006 ETH | 0.00040217 | ||||
Setshares | 6228699 | 2375 days ago | IN | 0 ETH | 0.00014298 | ||||
Setshares | 6228660 | 2375 days ago | IN | 0 ETH | 0.00014298 | ||||
Setshares | 6228660 | 2375 days ago | IN | 0 ETH | 0.00014298 | ||||
Setshares | 6228529 | 2375 days ago | IN | 0 ETH | 0.00005719 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
6252340 | 2371 days ago | 0 ETH | ||||
6252340 | 2371 days ago | 0 ETH | ||||
6252340 | 2371 days ago | 0 ETH | ||||
6252340 | 2371 days ago | 0 ETH | ||||
6252340 | 2371 days ago | 0 ETH | ||||
6252340 | 2371 days ago | 0 ETH | ||||
6252305 | 2371 days ago | 0 ETH | ||||
6252305 | 2371 days ago | 0 ETH | ||||
6252305 | 2371 days ago | 0 ETH | ||||
6252305 | 2371 days ago | 0 ETH | ||||
6252305 | 2371 days ago | 0 ETH | ||||
6252305 | 2371 days ago | 0 ETH | ||||
6245222 | 2373 days ago | 0.09623568 ETH | ||||
6245222 | 2373 days ago | 0.09623568 ETH | ||||
6245222 | 2373 days ago | 0.09623568 ETH | ||||
6245222 | 2373 days ago | 0.09623568 ETH | ||||
6245222 | 2373 days ago | 0.09623568 ETH | ||||
6245222 | 2373 days ago | 0.09623568 ETH | ||||
6235130 | 2374 days ago | 0.17773293 ETH | ||||
6235130 | 2374 days ago | 0.17773293 ETH | ||||
6235130 | 2374 days ago | 0.17773293 ETH | ||||
6235130 | 2374 days ago | 0.17773293 ETH | ||||
6235130 | 2374 days ago | 0.17773293 ETH | ||||
6235130 | 2374 days ago | 0.17773293 ETH | ||||
6230384 | 2375 days ago | 0.03705168 ETH |
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
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]
Contract Creation Code
608060405234801561001057600080fd5b5060008054600160a060020a03191633179055610537806100326000396000f3006080604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663343ff8c781146100ad57806363bd1d4a146100a357806379ba5097146100d157806380f6c383146100e65780638da5cb5b1461010a578063aa3022d01461013b578063d01296d914610153578063d4ee1d9014610177578063ea32a8f41461018c578063f2fde38b146101b0575b6100ab6101d1565b005b3480156100b957600080fd5b506100ab600435600160a060020a03602435166102c5565b3480156100dd57600080fd5b506100ab6102fd565b3480156100f257600080fd5b506100ab600435600160a060020a0360243516610385565b34801561011657600080fd5b5061011f6103b6565b60408051600160a060020a039092168252519081900360200190f35b34801561014757600080fd5b506100ab6004356103c5565b34801561015f57600080fd5b506100ab600435600160a060020a03602435166103e1565b34801561018357600080fd5b5061011f610433565b34801561019857600080fd5b506100ab600435600160a060020a0360243516610442565b3480156101bc57600080fd5b506100ab600160a060020a0360043516610479565b60008080805b60045484101561021657600084815260026020908152604080832054600160a060020a03168352600390915290205460019094019392909201916101d7565b610226348463ffffffff6104bf16565b9150600093505b6004548410156102bf57600084815260026020908152604080832054600160a060020a03168352600390915290205461026d90839063ffffffff6104e016565b600085815260026020526040808220549051929350600160a060020a03169183156108fc0291849190818181858888f193505050501580156102b3573d6000803e3d6000fd5b5060019093019261022d565b50505050565b600054600160a060020a031633146102dc57600080fd5b600160a060020a031660009081526003602052604090208054919091039055565b600154600160a060020a0316331461031457600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600054600160a060020a0316331461039c57600080fd5b600160a060020a0316600090815260036020526040902055565b600054600160a060020a031681565b600054600160a060020a031633146103dc57600080fd5b600455565b600054600160a060020a031633146103f857600080fd5b600091825260026020526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461045957600080fd5b600160a060020a0316600090815260036020526040902080549091019055565b600054600160a060020a0316331461049057600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008082116104cd57600080fd5b81838115156104d857fe5b049392505050565b8181028215806104fa57508183828115156104f757fe5b04145b151561050557600080fd5b929150505600a165627a7a72305820e1f71fc6b1d4945de4ce5a924ee928f4f8c80627ce9832fa9f2ba8c7a4f5f3340029
Deployed Bytecode
0x6080604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663343ff8c781146100ad57806363bd1d4a146100a357806379ba5097146100d157806380f6c383146100e65780638da5cb5b1461010a578063aa3022d01461013b578063d01296d914610153578063d4ee1d9014610177578063ea32a8f41461018c578063f2fde38b146101b0575b6100ab6101d1565b005b3480156100b957600080fd5b506100ab600435600160a060020a03602435166102c5565b3480156100dd57600080fd5b506100ab6102fd565b3480156100f257600080fd5b506100ab600435600160a060020a0360243516610385565b34801561011657600080fd5b5061011f6103b6565b60408051600160a060020a039092168252519081900360200190f35b34801561014757600080fd5b506100ab6004356103c5565b34801561015f57600080fd5b506100ab600435600160a060020a03602435166103e1565b34801561018357600080fd5b5061011f610433565b34801561019857600080fd5b506100ab600435600160a060020a0360243516610442565b3480156101bc57600080fd5b506100ab600160a060020a0360043516610479565b60008080805b60045484101561021657600084815260026020908152604080832054600160a060020a03168352600390915290205460019094019392909201916101d7565b610226348463ffffffff6104bf16565b9150600093505b6004548410156102bf57600084815260026020908152604080832054600160a060020a03168352600390915290205461026d90839063ffffffff6104e016565b600085815260026020526040808220549051929350600160a060020a03169183156108fc0291849190818181858888f193505050501580156102b3573d6000803e3d6000fd5b5060019093019261022d565b50505050565b600054600160a060020a031633146102dc57600080fd5b600160a060020a031660009081526003602052604090208054919091039055565b600154600160a060020a0316331461031457600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600054600160a060020a0316331461039c57600080fd5b600160a060020a0316600090815260036020526040902055565b600054600160a060020a031681565b600054600160a060020a031633146103dc57600080fd5b600455565b600054600160a060020a031633146103f857600080fd5b600091825260026020526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461045957600080fd5b600160a060020a0316600090815260036020526040902080549091019055565b600054600160a060020a0316331461049057600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008082116104cd57600080fd5b81838115156104d857fe5b049392505050565b8181028215806104fa57508183828115156104f757fe5b04145b151561050557600080fd5b929150505600a165627a7a72305820e1f71fc6b1d4945de4ce5a924ee928f4f8c80627ce9832fa9f2ba8c7a4f5f3340029
Swarm Source
bzzr://e1f71fc6b1d4945de4ce5a924ee928f4f8c80627ce9832fa9f2ba8c7a4f5f334
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,099.6 | 0.000000000516 | $0.000001 |
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.