Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Insurance
Overview
Max Total Supply
100,000,000 UMC
Holders
1,089 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 6 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UmbrellaCoin
Compiler Version
v0.4.11+commit.68ef5810
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-08-20 */ pragma solidity ^0.4.2; library SafeMath { function mul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint a, uint b) internal returns (uint) { assert(b > 0); uint c = a / b; assert(a == b * c + a % b); return c; } function sub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function add(uint a, uint b) internal returns (uint) { uint c = a + b; assert(c >= a); return c; } function max64(uint64 a, uint64 b) internal constant returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal constant returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal constant returns (uint256) { return a >= b ? a : b; } function min256(uint256 a, uint256 b) internal constant returns (uint256) { return a < b ? a : b; } } contract ERC20Basic { uint public totalSupply; function balanceOf(address who) constant returns (uint); function transfer(address to, uint value); event Transfer(address indexed from, address indexed to, uint value); } contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint); function transferFrom(address from, address to, uint value); function approve(address spender, uint value); event Approval(address indexed owner, address indexed spender, uint value); } contract BasicToken is ERC20Basic { using SafeMath for uint; mapping(address => uint) balances; /* * Fix for the ERC20 short address attack */ modifier onlyPayloadSize(uint size) { require(msg.data.length >= size + 4); _; } function transfer(address _to, uint _value) onlyPayloadSize(2 * 32) { balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); } function balanceOf(address _owner) constant returns (uint balance) { return balances[_owner]; } } contract StandardToken is BasicToken, ERC20 { mapping (address => mapping (address => uint)) allowed; function transferFrom(address _from, address _to, uint _value) onlyPayloadSize(3 * 32) { var _allowance = allowed[_from][msg.sender]; // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met // if (_value > _allowance) throw; balances[_to] = balances[_to].add(_value); balances[_from] = balances[_from].sub(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); } function approve(address _spender, uint _value) { // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender, 0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) revert(); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); } function allowance(address _owner, address _spender) constant returns (uint remaining) { return allowed[_owner][_spender]; } } contract PullPayment { using SafeMath for uint; mapping(address => uint) public payments; event LogRefundETH(address to, uint value); /** * Store sent amount as credit to be pulled, called by payer **/ function asyncSend(address dest, uint amount) internal { payments[dest] = payments[dest].add(amount); } // withdraw accumulated balance, called by payee function withdrawPayments() { address payee = msg.sender; uint payment = payments[payee]; require (payment > 0); require (this.balance >= payment); payments[payee] = 0; require (payee.send(payment)); LogRefundETH(payee,payment); } } contract Ownable { address public owner; function Ownable() { owner = msg.sender; } modifier onlyOwner { require (msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner { if (newOwner != address(0)) { owner = newOwner; } } } contract Pausable is Ownable { bool public stopped; modifier stopInEmergency { require(!stopped); _; } modifier onlyInEmergency { require(stopped); _; } // called by the owner on emergency, triggers stopped state function emergencyStop() external onlyOwner { stopped = true; } // called by the owner on end of emergency, returns to normal state function release() external onlyOwner onlyInEmergency { stopped = false; } } /** * UmbrellaCoin token contract. */ contract UmbrellaCoin is StandardToken, Ownable { string public constant name = "UmbrellaCoin"; string public constant symbol = "UMC"; uint public constant decimals = 6; address public floatHolder; // Constructor function UmbrellaCoin() { totalSupply = 100000000000000; balances[msg.sender] = totalSupply; // Send all tokens to owner floatHolder = msg.sender; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"floatHolder","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
6060604052341561000c57fe5b5b5b60038054600160a060020a03191633600160a060020a03161790555b655af3107a40006000818155600160a060020a033316808252600160205260409091209190915560048054600160a060020a03191690911790555b5b610789806100756000396000f300606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b9578063095ea7b31461014957806318160ddd1461016a57806323b872dd1461018c578063313ce567146101b357806343a47345146101d557806370a08231146102015780638da5cb5b1461022f57806395d89b411461025b578063a9059cbb146102eb578063dd62ed3e1461030c578063f2fde38b14610340575bfe5b34156100c157fe5b6100c961035e565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015157fe5b610168600160a060020a0360043516602435610395565b005b341561017257fe5b61017a610435565b60408051918252519081900360200190f35b341561019457fe5b610168600160a060020a036004358116906024351660443561043b565b005b34156101bb57fe5b61017a61055f565b60408051918252519081900360200190f35b34156101dd57fe5b6101e5610564565b60408051600160a060020a039092168252519081900360200190f35b341561020957fe5b61017a600160a060020a0360043516610573565b60408051918252519081900360200190f35b341561023757fe5b6101e5610592565b60408051600160a060020a039092168252519081900360200190f35b341561026357fe5b6100c96105a1565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102f357fe5b610168600160a060020a03600435166024356105d8565b005b341561031457fe5b61017a600160a060020a03600435811690602435166106a6565b60408051918252519081900360200190f35b341561034857fe5b610168600160a060020a03600435166106d3565b005b60408051808201909152600c81527f556d6272656c6c61436f696e0000000000000000000000000000000000000000602082015281565b80158015906103c85750600160a060020a0333811660009081526002602090815260408083209386168352929052205415155b156103d35760006000fd5b600160a060020a03338116600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5050565b60005481565b60006060606436101561044e5760006000fd5b600160a060020a038086166000908152600260209081526040808320338516845282528083205493881683526001909152902054909250610495908463ffffffff61072c16565b600160a060020a0380861660009081526001602052604080822093909355908716815220546104ca908463ffffffff61074616565b600160a060020a0386166000908152600160205260409020556104f3828463ffffffff61074616565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35b5b5050505050565b600681565b600454600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b600354600160a060020a031681565b60408051808201909152600381527f554d430000000000000000000000000000000000000000000000000000000000602082015281565b604060443610156105e95760006000fd5b600160a060020a033316600090815260016020526040902054610612908363ffffffff61074616565b600160a060020a033381166000908152600160205260408082209390935590851681522054610647908363ffffffff61072c16565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35b5b505050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a039081169116146106ef5760006000fd5b600160a060020a03811615610727576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b50565b60008282018381101561073b57fe5b8091505b5092915050565b60008282111561075257fe5b508082035b929150505600a165627a7a723058207bbfeb5f8e87367352ddf91cdd149c0809a7f45ad5a5aae5adb5c0c9d30732bf0029
Deployed Bytecode
0x606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b9578063095ea7b31461014957806318160ddd1461016a57806323b872dd1461018c578063313ce567146101b357806343a47345146101d557806370a08231146102015780638da5cb5b1461022f57806395d89b411461025b578063a9059cbb146102eb578063dd62ed3e1461030c578063f2fde38b14610340575bfe5b34156100c157fe5b6100c961035e565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015157fe5b610168600160a060020a0360043516602435610395565b005b341561017257fe5b61017a610435565b60408051918252519081900360200190f35b341561019457fe5b610168600160a060020a036004358116906024351660443561043b565b005b34156101bb57fe5b61017a61055f565b60408051918252519081900360200190f35b34156101dd57fe5b6101e5610564565b60408051600160a060020a039092168252519081900360200190f35b341561020957fe5b61017a600160a060020a0360043516610573565b60408051918252519081900360200190f35b341561023757fe5b6101e5610592565b60408051600160a060020a039092168252519081900360200190f35b341561026357fe5b6100c96105a1565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102f357fe5b610168600160a060020a03600435166024356105d8565b005b341561031457fe5b61017a600160a060020a03600435811690602435166106a6565b60408051918252519081900360200190f35b341561034857fe5b610168600160a060020a03600435166106d3565b005b60408051808201909152600c81527f556d6272656c6c61436f696e0000000000000000000000000000000000000000602082015281565b80158015906103c85750600160a060020a0333811660009081526002602090815260408083209386168352929052205415155b156103d35760006000fd5b600160a060020a03338116600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5050565b60005481565b60006060606436101561044e5760006000fd5b600160a060020a038086166000908152600260209081526040808320338516845282528083205493881683526001909152902054909250610495908463ffffffff61072c16565b600160a060020a0380861660009081526001602052604080822093909355908716815220546104ca908463ffffffff61074616565b600160a060020a0386166000908152600160205260409020556104f3828463ffffffff61074616565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35b5b5050505050565b600681565b600454600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b600354600160a060020a031681565b60408051808201909152600381527f554d430000000000000000000000000000000000000000000000000000000000602082015281565b604060443610156105e95760006000fd5b600160a060020a033316600090815260016020526040902054610612908363ffffffff61074616565b600160a060020a033381166000908152600160205260408082209390935590851681522054610647908363ffffffff61072c16565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35b5b505050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a039081169116146106ef5760006000fd5b600160a060020a03811615610727576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b50565b60008282018381101561073b57fe5b8091505b5092915050565b60008282111561075257fe5b508082035b929150505600a165627a7a723058207bbfeb5f8e87367352ddf91cdd149c0809a7f45ad5a5aae5adb5c0c9d30732bf0029
Swarm Source
bzzr://7bbfeb5f8e87367352ddf91cdd149c0809a7f45ad5a5aae5adb5c0c9d30732bf
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.