More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 356 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Owner Transfer W... | 9274945 | 1873 days ago | IN | 0 ETH | 0.00003376 | ||||
Owner Transfer W... | 6345949 | 2356 days ago | IN | 0 ETH | 0.00156435 | ||||
Owner Transfer W... | 6345634 | 2356 days ago | IN | 0 ETH | 0.00156435 | ||||
Transfer | 6058618 | 2405 days ago | IN | 1 ETH | 0.00103708 | ||||
Transfer | 6058599 | 2405 days ago | IN | 0.33 ETH | 0.0009642 | ||||
Transfer | 6058588 | 2405 days ago | IN | 1 ETH | 0.00186412 | ||||
Transfer | 6027012 | 2410 days ago | IN | 0.3 ETH | 0.00173556 | ||||
Peg ETHUSD | 6026964 | 2410 days ago | IN | 0 ETH | 0.0014246 | ||||
Peg ETHUSD | 5775930 | 2453 days ago | IN | 0 ETH | 0.0014246 | ||||
Owner Transfer W... | 5206412 | 2551 days ago | IN | 0 ETH | 0.00078575 | ||||
Owner Transfer W... | 5206398 | 2551 days ago | IN | 0 ETH | 0.00078735 | ||||
Owner Transfer W... | 5206320 | 2551 days ago | IN | 0 ETH | 0.00078377 | ||||
Owner Transfer W... | 5206311 | 2551 days ago | IN | 0 ETH | 0.00075242 | ||||
Owner Transfer W... | 5206305 | 2551 days ago | IN | 0 ETH | 0.000219 | ||||
Owner Transfer W... | 5206298 | 2551 days ago | IN | 0 ETH | 0.000219 | ||||
Transfer | 5149750 | 2561 days ago | IN | 1 ETH | 0.00044996 | ||||
Transfer | 5142955 | 2562 days ago | IN | 0.5 ETH | 0.0032998 | ||||
Transfer | 5139992 | 2562 days ago | IN | 1 ETH | 0.0018856 | ||||
Transfer | 5139978 | 2562 days ago | IN | 0.3 ETH | 0.0037712 | ||||
Transfer | 5131989 | 2564 days ago | IN | 0.7 ETH | 0.00933372 | ||||
Transfer | 5131965 | 2564 days ago | IN | 0.7 ETH | 0.002079 | ||||
Transfer | 5131943 | 2564 days ago | IN | 0.7 ETH | 0.00126 | ||||
Transfer | 5131367 | 2564 days ago | IN | 0.95 ETH | 0.0009428 | ||||
Transfer | 5126880 | 2564 days ago | IN | 0.3 ETH | 0.000021 | ||||
Transfer | 5123606 | 2565 days ago | IN | 5 ETH | 0.00386548 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
9274945 | 1873 days ago | 1 ETH | ||||
6345949 | 2356 days ago | 2.5 ETH | ||||
6345634 | 2356 days ago | 1 ETH | ||||
5206412 | 2551 days ago | 10 ETH | ||||
5206398 | 2551 days ago | 20 ETH | ||||
5206320 | 2551 days ago | 40 ETH | ||||
5206311 | 2551 days ago | 40 ETH | ||||
5206305 | 2551 days ago | 10 ETH | ||||
5206298 | 2551 days ago | 1 ETH | ||||
5060301 | 2576 days ago | 30 ETH | ||||
5060301 | 2576 days ago | 30 ETH | ||||
5060300 | 2576 days ago | 30 ETH | ||||
5060289 | 2576 days ago | 30 ETH | ||||
5060286 | 2576 days ago | 30 ETH | ||||
5060284 | 2576 days ago | 30 ETH | ||||
5060257 | 2576 days ago | 10 ETH | ||||
5060256 | 2576 days ago | 10 ETH | ||||
5060255 | 2576 days ago | 10 ETH | ||||
5058040 | 2576 days ago | 0.000082 ETH | ||||
5029680 | 2581 days ago | 10 ETH | ||||
5016743 | 2583 days ago | 1 ETH | ||||
5010601 | 2584 days ago | 0.1 ETH | ||||
5010579 | 2584 days ago | 0.1 ETH | ||||
5010050 | 2584 days ago | 0.5 ETH | ||||
4999746 | 2586 days ago | 0.5 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
MagnusSale
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-02-01 */ pragma solidity ^0.4.13; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold 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; } } contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } } 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. */ function Ownable() 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)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } contract Contactable is Ownable{ string public contactInformation; /** * @dev Allows the owner to set a string with their contact information. * @param info The contact information to attach to the contract. */ function setContactInformation(string info) onlyOwner public { contactInformation = info; } } contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. */ function increaseApproval(address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } contract MagnusCoin is StandardToken, Ownable, Contactable { string public name = "Magnus Coin"; string public symbol = "MGS"; uint256 public constant decimals = 18; mapping (address => bool) internal allowedOverrideAddresses; bool public tokenActive = false; uint256 endtime = 1543575521; modifier onlyIfTokenActiveOrOverride() { // owner or any addresses listed in the overrides // can perform token transfers while inactive require(tokenActive || msg.sender == owner || allowedOverrideAddresses[msg.sender]); _; } modifier onlyIfTokenInactive() { require(!tokenActive); _; } modifier onlyIfValidAddress(address _to) { // prevent 'invalid' addresses for transfer destinations require(_to != 0x0); // don't allow transferring to this contract's address require(_to != address(this)); _; } event TokenActivated(); event TokenDeactivated(); function MagnusCoin() public { totalSupply = 118200000000000000000000000; contactInformation = "Magnus Collective"; // msg.sender == owner of the contract balances[msg.sender] = totalSupply; } /// @dev Same ERC20 behavior, but reverts if not yet active. /// @param _spender address The address which will spend the funds. /// @param _value uint256 The amount of tokens to be spent. function approve(address _spender, uint256 _value) public onlyIfTokenActiveOrOverride onlyIfValidAddress(_spender) returns (bool) { return super.approve(_spender, _value); } /// @dev Same ERC20 behavior, but reverts if not yet active. /// @param _to address The address to transfer to. /// @param _value uint256 The amount to be transferred. function transfer(address _to, uint256 _value) public onlyIfTokenActiveOrOverride onlyIfValidAddress(_to) returns (bool) { return super.transfer(_to, _value); } function ownerSetOverride(address _address, bool enable) external onlyOwner { allowedOverrideAddresses[_address] = enable; } function ownerRecoverTokens(address _address, uint256 _value) external onlyOwner { require(_address != address(0)); require(now < endtime ); require(_value <= balances[_address]); require(balances[_address].sub(_value) >=0); balances[_address] = balances[_address].sub(_value); balances[owner] = balances[owner].add(_value); Transfer(_address, owner, _value); } function ownerSetVisible(string _name, string _symbol) external onlyOwner onlyIfTokenInactive { // By holding back on setting these, it prevents the token // from being a duplicate in ERC token searches if the need to // redeploy arises prior to the crowdsale starts. // Mainly useful during testnet deployment/testing. name = _name; symbol = _symbol; } function ownerActivateToken() external onlyOwner onlyIfTokenInactive { require(bytes(symbol).length > 0); tokenActive = true; TokenActivated(); } function ownerDeactivateToken() external onlyOwner onlyIfTokenActiveOrOverride { require(bytes(symbol).length > 0); tokenActive = false; TokenDeactivated(); } } contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { paused = true; Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { paused = false; Unpause(); } } contract MagnusSale is Ownable, Pausable { using SafeMath for uint256; // this sale contract is creating the Magnus MagnusCoin internal token; // UNIX timestamp (UTC) based start and end, inclusive uint256 public start; /* UTC of timestamp that the sale will start based on the value passed in at the time of construction */ uint256 public end; /* UTC of computed time that the sale will end based on the hours passed in at time of construction */ uint256 public minFundingGoalWei; /* we can set this to zero, but we might want to raise at least 20000 Ether */ uint256 public minContributionWei; /* individual contribution min. we require at least a 0.1 Ether investment, for example. */ uint256 public maxContributionWei; /* individual contribution max. probably don't want someone to buy more than 60000 Ether */ uint256 internal weiRaised; /* total of all weiContributions */ uint256 public peggedETHUSD; /* In whole dollars. $300 means use 300 */ uint256 public hardCap; /* In wei. Example: 64,000 cap = 64,000,000,000,000,000,000,000 */ uint256 internal reservedTokens; /* In wei. Example: 54 million tokens, use 54000000 with 18 more zeros. then it would be 54000000 * Math.pow(10,18) */ uint256 public baseRateInCents; /* $2.50 means use 250 */ mapping (address => uint256) public contributions; uint256 internal fiatCurrencyRaisedInEquivalentWeiValue = 0; // value of wei raised outside this contract uint256 public weiRaisedIncludingFiatCurrencyRaised; /* total of all weiContributions inclduing external*/ bool internal isPresale; /* this will be false */ bool public isRefunding = false; address internal multiFirstWallet=0x9B7eDe5f815551279417C383779f1E455765cD6E; address internal multiSecondWallet=0x377Cc6d225cc49E450ee192d679950665Ae22e2C; address internal multiThirdWallet=0xD0377e0dC9334124803E38CBf92eFdDB7A43caC8; event ContributionReceived(address indexed buyer, bool presale, uint256 rate, uint256 value, uint256 tokens); event PegETHUSD(uint256 pegETHUSD); function MagnusSale( ) public { peggedETHUSD = 1210; address _token=0x1a7CC52cA652Ac5df72A7fA4b131cB9312dD3423; hardCap = 40000000000000000000000; reservedTokens = 0; isPresale = false; minFundingGoalWei = 1000000000000000000000; minContributionWei = 300000000000000000; maxContributionWei = 10000000000000000000000; baseRateInCents = 42; start = 1517144812; uint256 _durationHours=4400; token = MagnusCoin(_token); end = start.add(_durationHours.mul(1 hours)); } function() public payable whenNotPaused { require(!isRefunding); require(msg.sender != 0x0); require(msg.value >= minContributionWei); require(start <= now && end >= now); // prevent anything more than maxContributionWei per contributor address uint256 _weiContributionAllowed = maxContributionWei > 0 ? maxContributionWei.sub(contributions[msg.sender]) : msg.value; if (maxContributionWei > 0) { require(_weiContributionAllowed > 0); } // are limited by the number of tokens remaining uint256 _tokensRemaining = token.balanceOf(address(this)).sub( reservedTokens ); require(_tokensRemaining > 0); // limit contribution's value based on max/previous contributions uint256 _weiContribution = msg.value; if (_weiContribution > _weiContributionAllowed) { _weiContribution = _weiContributionAllowed; } // limit contribution's value based on hard cap of hardCap if (hardCap > 0 && weiRaised.add(_weiContribution) > hardCap) { _weiContribution = hardCap.sub( weiRaised ); } // calculate token amount to be created uint256 _tokens = _weiContribution.mul(peggedETHUSD).mul(100).div(baseRateInCents); if (_tokens > _tokensRemaining) { // there aren't enough tokens to fill the contribution amount, so recalculate the contribution amount _tokens = _tokensRemaining; _weiContribution = _tokens.mul(baseRateInCents).div(100).div(peggedETHUSD); } // add the contributed wei to any existing value for the sender contributions[msg.sender] = contributions[msg.sender].add(_weiContribution); ContributionReceived(msg.sender, isPresale, baseRateInCents, _weiContribution, _tokens); require(token.transfer(msg.sender, _tokens)); weiRaised = weiRaised.add(_weiContribution); //total of all weiContributions weiRaisedIncludingFiatCurrencyRaised = weiRaisedIncludingFiatCurrencyRaised.add(_weiContribution); } function pegETHUSD(uint256 _peggedETHUSD) onlyOwner public { peggedETHUSD = _peggedETHUSD; PegETHUSD(peggedETHUSD); } function setMinWeiAllowed( uint256 _minWeiAllowed ) onlyOwner public { minContributionWei = _minWeiAllowed; } function setMaxWeiAllowed( uint256 _maxWeiAllowed ) onlyOwner public { maxContributionWei = _maxWeiAllowed; } function setSoftCap( uint256 _softCap ) onlyOwner public { minFundingGoalWei = _softCap; } function setHardCap( uint256 _hardCap ) onlyOwner public { hardCap = _hardCap; } function peggedETHUSD() constant onlyOwner public returns(uint256) { return peggedETHUSD; } function hardCapETHInWeiValue() constant onlyOwner public returns(uint256) { return hardCap; } function totalWeiRaised() constant onlyOwner public returns(uint256) { return weiRaisedIncludingFiatCurrencyRaised; } function ownerTransferWeiFirstWallet(uint256 _value) external onlyOwner { require(multiFirstWallet != 0x0); require(multiFirstWallet != address(token)); // if zero requested, send the entire amount, otherwise the amount requested uint256 _amount = _value > 0 ? _value : this.balance; multiFirstWallet.transfer(_amount); } function ownerTransferWeiSecondWallet(uint256 _value) external onlyOwner { require(multiSecondWallet != 0x0); require(multiSecondWallet != address(token)); // if zero requested, send the entire amount, otherwise the amount requested uint256 _amount = _value > 0 ? _value : this.balance; multiSecondWallet.transfer(_amount); } function ownerTransferWeiThirdWallet(uint256 _value) external onlyOwner { require(multiThirdWallet != 0x0); require(multiThirdWallet != address(token)); // if zero requested, send the entire amount, otherwise the amount requested uint256 _amount = _value > 0 ? _value : this.balance; multiThirdWallet.transfer(_amount); } function ownerRecoverTokens(address _beneficiary) external onlyOwner { require(_beneficiary != 0x0); require(_beneficiary != address(token)); require(paused || now > end); uint256 _tokensRemaining = token.balanceOf(address(this)); if (_tokensRemaining > 0) { token.transfer(_beneficiary, _tokensRemaining); } } function addFiatCurrencyRaised( uint256 _fiatCurrencyIncrementInEquivalentWeiValue ) onlyOwner public { fiatCurrencyRaisedInEquivalentWeiValue = fiatCurrencyRaisedInEquivalentWeiValue.add( _fiatCurrencyIncrementInEquivalentWeiValue); weiRaisedIncludingFiatCurrencyRaised = weiRaisedIncludingFiatCurrencyRaised.add(_fiatCurrencyIncrementInEquivalentWeiValue); } function reduceFiatCurrencyRaised( uint256 _fiatCurrencyDecrementInEquivalentWeiValue ) onlyOwner public { fiatCurrencyRaisedInEquivalentWeiValue = fiatCurrencyRaisedInEquivalentWeiValue.sub(_fiatCurrencyDecrementInEquivalentWeiValue); weiRaisedIncludingFiatCurrencyRaised = weiRaisedIncludingFiatCurrencyRaised.sub(_fiatCurrencyDecrementInEquivalentWeiValue); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[],"name":"baseRateInCents","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_fiatCurrencyIncrementInEquivalentWeiValue","type":"uint256"}],"name":"addFiatCurrencyRaised","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"contributions","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalWeiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hardCapETHInWeiValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_fiatCurrencyDecrementInEquivalentWeiValue","type":"uint256"}],"name":"reduceFiatCurrencyRaised","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"peggedETHUSD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minFundingGoalWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minContributionWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"ownerRecoverTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isRefunding","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_minWeiAllowed","type":"uint256"}],"name":"setMinWeiAllowed","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"ownerTransferWeiFirstWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"start","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_peggedETHUSD","type":"uint256"}],"name":"pegETHUSD","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_hardCap","type":"uint256"}],"name":"setHardCap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_softCap","type":"uint256"}],"name":"setSoftCap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiRaisedIncludingFiatCurrencyRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"ownerTransferWeiThirdWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxContributionWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"ownerTransferWeiSecondWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_maxWeiAllowed","type":"uint256"}],"name":"setMaxWeiAllowed","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"end","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"hardCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"buyer","type":"address"},{"indexed":false,"name":"presale","type":"bool"},{"indexed":false,"name":"rate","type":"uint256"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"ContributionReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"pegETHUSD","type":"uint256"}],"name":"PegETHUSD","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
60606040526000805460a060020a60ff0219168155600d55600f8054759b7ede5f815551279417c383779f1e455765cd6e000061010060b060020a031990911617905560108054600160a060020a031990811673377cc6d225cc49e450ee192d679950665ae22e2c179091556011805490911673d0377e0dc9334124803e38cbf92efddb7a43cac8179055341561009557600080fd5b60008054600160a060020a031990811633600160a060020a03161782556104ba600855690878678326eac9000000600955600a91909155600f805460ff19169055683635c9adc5dea00000600455670429d069189e000060055569021e19e0c9bab2400000600655602a600b55635a6dcaec60025560018054731a7cc52ca652ac5df72a7fa4b131cb9312dd342392168217905561113061015e61014882610e1064010000000061016981026107ae1704565b6002549064010000000061079461019f82021704565b600355506101ae9050565b60008083151561017c5760009150610198565b5082820282848281151561018c57fe5b041461019457fe5b8091505b5092915050565b60008282018381101561019457fe5b610f58806101bd6000396000f30060606040526004361061015b5763ffffffff60e060020a60003504166301491f0981146104d55780633ea2cde5146104fa5780633f4ba83a1461051257806342e94c901461052557806353f4db01146105445780635676d075146105575780635aa6b1f01461056a5780635c975abb146105805780635cdc9eda146105a75780638456cb59146105ba578063888b6557146105cd5780638da5cb5b146105e057806391294ed11461060f5780639427dfea146106225780639d6fb02014610641578063a59cacb214610654578063a630a92e1461066a578063be9a655514610680578063c314681414610693578063d18d944b146106a9578063d5cf5c72146106bf578063e014a39f146106d5578063e4adc4f0146106e8578063e5f6186d146106fe578063e8aabf9c14610711578063ecd9442e14610727578063efbe1c1c1461073d578063f2fde38b14610750578063fb86a4041461076f575b6000805481908190819060a060020a900460ff161561017957600080fd5b600f54610100900460ff161561018e57600080fd5b600160a060020a03331615156101a357600080fd5b6005543410156101b257600080fd5b42600254111580156101c657504260035410155b15156101d157600080fd5b6000600654116101e1573461020c565b600160a060020a0333166000908152600c602052604090205460065461020c9163ffffffff61078216565b935060006006541115610226576000841161022657600080fd5b600a546001546102ae9190600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561028757600080fd5b6102c65a03f1151561029857600080fd5b505050604051805191905063ffffffff61078216565b9250600083116102bd57600080fd5b349150838211156102cc578391505b60006009541180156102f157506009546007546102ef908463ffffffff61079416565b115b1561030e5760075460095461030b9163ffffffff61078216565b91505b610346600b5461033a606461032e600854876107ae90919063ffffffff16565b9063ffffffff6107ae16565b9063ffffffff6107d916565b9050828111156103765782905061037360085461033a606461033a600b54866107ae90919063ffffffff16565b91505b600160a060020a0333166000908152600c602052604090205461039f908363ffffffff61079416565b600160a060020a0333166000818152600c60205260409081902092909255600f54600b5491927fbb8c7ce47e75147b33831fc6082a18417dc9bc44036cd3eddeeba2fc516394019260ff90921691908690869051808515151515815260200184815260200183815260200182815260200194505050505060405180910390a2600154600160a060020a031663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561047d57600080fd5b6102c65a03f1151561048e57600080fd5b5050506040518051905015156104a357600080fd5b6007546104b6908363ffffffff61079416565b600755600e546104cc908363ffffffff61079416565b600e5550505050005b34156104e057600080fd5b6104e86107f0565b60405190815260200160405180910390f35b341561050557600080fd5b6105106004356107f6565b005b341561051d57600080fd5b610510610840565b341561053057600080fd5b6104e8600160a060020a03600435166108bf565b341561054f57600080fd5b6104e86108d1565b341561056257600080fd5b6104e86108f4565b341561057557600080fd5b610510600435610917565b341561058b57600080fd5b61059361095b565b604051901515815260200160405180910390f35b34156105b257600080fd5b6104e861096b565b34156105c557600080fd5b61051061098e565b34156105d857600080fd5b6104e8610a12565b34156105eb57600080fd5b6105f3610a18565b604051600160a060020a03909116815260200160405180910390f35b341561061a57600080fd5b6104e8610a27565b341561062d57600080fd5b610510600160a060020a0360043516610a2d565b341561064c57600080fd5b610593610b9a565b341561065f57600080fd5b610510600435610ba8565b341561067557600080fd5b610510600435610bc8565b341561068b57600080fd5b6104e8610c7b565b341561069e57600080fd5b610510600435610c81565b34156106b457600080fd5b610510600435610cd7565b34156106ca57600080fd5b610510600435610cf7565b34156106e057600080fd5b6104e8610d17565b34156106f357600080fd5b610510600435610d1d565b341561070957600080fd5b6104e8610dbe565b341561071c57600080fd5b610510600435610dc4565b341561073257600080fd5b610510600435610e65565b341561074857600080fd5b6104e8610e85565b341561075b57600080fd5b610510600160a060020a0360043516610e8b565b341561077a57600080fd5b6104e8610f26565b60008282111561078e57fe5b50900390565b6000828201838110156107a357fe5b8091505b5092915050565b6000808315156107c157600091506107a7565b508282028284828115156107d157fe5b04146107a357fe5b60008082848115156107e757fe5b04949350505050565b600b5481565b60005433600160a060020a0390811691161461081157600080fd5b600d54610824908263ffffffff61079416565b600d55600e5461083a908263ffffffff61079416565b600e5550565b60005433600160a060020a0390811691161461085b57600080fd5b60005460a060020a900460ff16151561087357600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b600c6020526000908152604090205481565b6000805433600160a060020a039081169116146108ed57600080fd5b50600e5490565b6000805433600160a060020a0390811691161461091057600080fd5b5060095490565b60005433600160a060020a0390811691161461093257600080fd5b600d54610945908263ffffffff61078216565b600d55600e5461083a908263ffffffff61078216565b60005460a060020a900460ff1681565b6000805433600160a060020a0390811691161461098757600080fd5b5060085490565b60005433600160a060020a039081169116146109a957600080fd5b60005460a060020a900460ff16156109c057600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b60045481565b600054600160a060020a031681565b60055481565b6000805433600160a060020a03908116911614610a4957600080fd5b600160a060020a0382161515610a5e57600080fd5b600154600160a060020a0383811691161415610a7957600080fd5b60005460a060020a900460ff1680610a92575060035442115b1515610a9d57600080fd5b600154600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610af657600080fd5b6102c65a03f11515610b0757600080fd5b50505060405180519150506000811115610b9657600154600160a060020a031663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610b7a57600080fd5b6102c65a03f11515610b8b57600080fd5b505050604051805150505b5050565b600f54610100900460ff1681565b60005433600160a060020a03908116911614610bc357600080fd5b600555565b6000805433600160a060020a03908116911614610be457600080fd5b600f54620100009004600160a060020a03161515610c0157600080fd5b600154600f54620100009004600160a060020a0390811691161415610c2557600080fd5b60008211610c3d5730600160a060020a031631610c3f565b815b600f54909150620100009004600160a060020a03166108fc82150282604051600060405180830381858888f193505050501515610b9657600080fd5b60025481565b60005433600160a060020a03908116911614610c9c57600080fd5b60088190557f1cab19c02f85faff1cfac53fbf0ebded93b506803c5dc8d9c288715dfab644688160405190815260200160405180910390a150565b60005433600160a060020a03908116911614610cf257600080fd5b600955565b60005433600160a060020a03908116911614610d1257600080fd5b600455565b600e5481565b6000805433600160a060020a03908116911614610d3957600080fd5b601154600160a060020a03161515610d5057600080fd5b600154601154600160a060020a0390811691161415610d6e57600080fd5b60008211610d865730600160a060020a031631610d88565b815b601154909150600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610b9657600080fd5b60065481565b6000805433600160a060020a03908116911614610de057600080fd5b601054600160a060020a03161515610df757600080fd5b600154601054600160a060020a0390811691161415610e1557600080fd5b60008211610e2d5730600160a060020a031631610e2f565b815b601054909150600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610b9657600080fd5b60005433600160a060020a03908116911614610e8057600080fd5b600655565b60035481565b60005433600160a060020a03908116911614610ea657600080fd5b600160a060020a0381161515610ebb57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600954815600a165627a7a7230582061136d606766e8cfd90d33f678a70706c020b28d541b80a493db68f23e2712720029
Deployed Bytecode
0x60606040526004361061015b5763ffffffff60e060020a60003504166301491f0981146104d55780633ea2cde5146104fa5780633f4ba83a1461051257806342e94c901461052557806353f4db01146105445780635676d075146105575780635aa6b1f01461056a5780635c975abb146105805780635cdc9eda146105a75780638456cb59146105ba578063888b6557146105cd5780638da5cb5b146105e057806391294ed11461060f5780639427dfea146106225780639d6fb02014610641578063a59cacb214610654578063a630a92e1461066a578063be9a655514610680578063c314681414610693578063d18d944b146106a9578063d5cf5c72146106bf578063e014a39f146106d5578063e4adc4f0146106e8578063e5f6186d146106fe578063e8aabf9c14610711578063ecd9442e14610727578063efbe1c1c1461073d578063f2fde38b14610750578063fb86a4041461076f575b6000805481908190819060a060020a900460ff161561017957600080fd5b600f54610100900460ff161561018e57600080fd5b600160a060020a03331615156101a357600080fd5b6005543410156101b257600080fd5b42600254111580156101c657504260035410155b15156101d157600080fd5b6000600654116101e1573461020c565b600160a060020a0333166000908152600c602052604090205460065461020c9163ffffffff61078216565b935060006006541115610226576000841161022657600080fd5b600a546001546102ae9190600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561028757600080fd5b6102c65a03f1151561029857600080fd5b505050604051805191905063ffffffff61078216565b9250600083116102bd57600080fd5b349150838211156102cc578391505b60006009541180156102f157506009546007546102ef908463ffffffff61079416565b115b1561030e5760075460095461030b9163ffffffff61078216565b91505b610346600b5461033a606461032e600854876107ae90919063ffffffff16565b9063ffffffff6107ae16565b9063ffffffff6107d916565b9050828111156103765782905061037360085461033a606461033a600b54866107ae90919063ffffffff16565b91505b600160a060020a0333166000908152600c602052604090205461039f908363ffffffff61079416565b600160a060020a0333166000818152600c60205260409081902092909255600f54600b5491927fbb8c7ce47e75147b33831fc6082a18417dc9bc44036cd3eddeeba2fc516394019260ff90921691908690869051808515151515815260200184815260200183815260200182815260200194505050505060405180910390a2600154600160a060020a031663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561047d57600080fd5b6102c65a03f1151561048e57600080fd5b5050506040518051905015156104a357600080fd5b6007546104b6908363ffffffff61079416565b600755600e546104cc908363ffffffff61079416565b600e5550505050005b34156104e057600080fd5b6104e86107f0565b60405190815260200160405180910390f35b341561050557600080fd5b6105106004356107f6565b005b341561051d57600080fd5b610510610840565b341561053057600080fd5b6104e8600160a060020a03600435166108bf565b341561054f57600080fd5b6104e86108d1565b341561056257600080fd5b6104e86108f4565b341561057557600080fd5b610510600435610917565b341561058b57600080fd5b61059361095b565b604051901515815260200160405180910390f35b34156105b257600080fd5b6104e861096b565b34156105c557600080fd5b61051061098e565b34156105d857600080fd5b6104e8610a12565b34156105eb57600080fd5b6105f3610a18565b604051600160a060020a03909116815260200160405180910390f35b341561061a57600080fd5b6104e8610a27565b341561062d57600080fd5b610510600160a060020a0360043516610a2d565b341561064c57600080fd5b610593610b9a565b341561065f57600080fd5b610510600435610ba8565b341561067557600080fd5b610510600435610bc8565b341561068b57600080fd5b6104e8610c7b565b341561069e57600080fd5b610510600435610c81565b34156106b457600080fd5b610510600435610cd7565b34156106ca57600080fd5b610510600435610cf7565b34156106e057600080fd5b6104e8610d17565b34156106f357600080fd5b610510600435610d1d565b341561070957600080fd5b6104e8610dbe565b341561071c57600080fd5b610510600435610dc4565b341561073257600080fd5b610510600435610e65565b341561074857600080fd5b6104e8610e85565b341561075b57600080fd5b610510600160a060020a0360043516610e8b565b341561077a57600080fd5b6104e8610f26565b60008282111561078e57fe5b50900390565b6000828201838110156107a357fe5b8091505b5092915050565b6000808315156107c157600091506107a7565b508282028284828115156107d157fe5b04146107a357fe5b60008082848115156107e757fe5b04949350505050565b600b5481565b60005433600160a060020a0390811691161461081157600080fd5b600d54610824908263ffffffff61079416565b600d55600e5461083a908263ffffffff61079416565b600e5550565b60005433600160a060020a0390811691161461085b57600080fd5b60005460a060020a900460ff16151561087357600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b600c6020526000908152604090205481565b6000805433600160a060020a039081169116146108ed57600080fd5b50600e5490565b6000805433600160a060020a0390811691161461091057600080fd5b5060095490565b60005433600160a060020a0390811691161461093257600080fd5b600d54610945908263ffffffff61078216565b600d55600e5461083a908263ffffffff61078216565b60005460a060020a900460ff1681565b6000805433600160a060020a0390811691161461098757600080fd5b5060085490565b60005433600160a060020a039081169116146109a957600080fd5b60005460a060020a900460ff16156109c057600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b60045481565b600054600160a060020a031681565b60055481565b6000805433600160a060020a03908116911614610a4957600080fd5b600160a060020a0382161515610a5e57600080fd5b600154600160a060020a0383811691161415610a7957600080fd5b60005460a060020a900460ff1680610a92575060035442115b1515610a9d57600080fd5b600154600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610af657600080fd5b6102c65a03f11515610b0757600080fd5b50505060405180519150506000811115610b9657600154600160a060020a031663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610b7a57600080fd5b6102c65a03f11515610b8b57600080fd5b505050604051805150505b5050565b600f54610100900460ff1681565b60005433600160a060020a03908116911614610bc357600080fd5b600555565b6000805433600160a060020a03908116911614610be457600080fd5b600f54620100009004600160a060020a03161515610c0157600080fd5b600154600f54620100009004600160a060020a0390811691161415610c2557600080fd5b60008211610c3d5730600160a060020a031631610c3f565b815b600f54909150620100009004600160a060020a03166108fc82150282604051600060405180830381858888f193505050501515610b9657600080fd5b60025481565b60005433600160a060020a03908116911614610c9c57600080fd5b60088190557f1cab19c02f85faff1cfac53fbf0ebded93b506803c5dc8d9c288715dfab644688160405190815260200160405180910390a150565b60005433600160a060020a03908116911614610cf257600080fd5b600955565b60005433600160a060020a03908116911614610d1257600080fd5b600455565b600e5481565b6000805433600160a060020a03908116911614610d3957600080fd5b601154600160a060020a03161515610d5057600080fd5b600154601154600160a060020a0390811691161415610d6e57600080fd5b60008211610d865730600160a060020a031631610d88565b815b601154909150600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610b9657600080fd5b60065481565b6000805433600160a060020a03908116911614610de057600080fd5b601054600160a060020a03161515610df757600080fd5b600154601054600160a060020a0390811691161415610e1557600080fd5b60008211610e2d5730600160a060020a031631610e2f565b815b601054909150600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610b9657600080fd5b60005433600160a060020a03908116911614610e8057600080fd5b600655565b60035481565b60005433600160a060020a03908116911614610ea657600080fd5b600160a060020a0381161515610ebb57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600954815600a165627a7a7230582061136d606766e8cfd90d33f678a70706c020b28d541b80a493db68f23e2712720029
Swarm Source
bzzr://61136d606766e8cfd90d33f678a70706c020b28d541b80a493db68f23e271272
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,215.87 | 0.0854 | $189.24 |
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.