Overview
ETH Balance
191.509518427323085818 ETH
Eth Value
$482,527.18 (@ $2,519.60/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 758 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 8225130 | 1865 days ago | IN | 0 ETH | 0.0002143 | ||||
Refund | 5772426 | 2275 days ago | IN | 0 ETH | 0.0028926 | ||||
Return Tokens | 5766859 | 2276 days ago | IN | 0 ETH | 0.00111795 | ||||
Refund | 5562131 | 2312 days ago | IN | 0 ETH | 0.00237193 | ||||
0x02b5e3af | 5520206 | 2319 days ago | IN | 0.000001 ETH | 0.00024328 | ||||
Refund | 5103920 | 2390 days ago | IN | 0 ETH | 0.0004793 | ||||
Refund | 5102135 | 2390 days ago | IN | 0 ETH | 0.0011229 | ||||
Refund | 5102119 | 2390 days ago | IN | 0 ETH | 0.0011229 | ||||
Refund | 5077851 | 2394 days ago | IN | 0 ETH | 0.00022824 | ||||
Refund | 5007837 | 2406 days ago | IN | 0 ETH | 0.00057852 | ||||
Refund | 4942258 | 2417 days ago | IN | 0 ETH | 0.00092077 | ||||
Refund | 4912484 | 2422 days ago | IN | 0 ETH | 0.00185126 | ||||
Refund | 4908673 | 2423 days ago | IN | 0 ETH | 0.00115704 | ||||
Refund | 4902219 | 2424 days ago | IN | 0 ETH | 0.00231408 | ||||
Refund | 4899703 | 2425 days ago | IN | 0 ETH | 0.0005839 | ||||
Refund | 4888285 | 2427 days ago | IN | 0 ETH | 0.00093578 | ||||
Refund | 4884072 | 2428 days ago | IN | 0 ETH | 0.0028926 | ||||
Refund | 4879431 | 2428 days ago | IN | 0 ETH | 0.00173556 | ||||
Refund | 4876184 | 2429 days ago | IN | 0 ETH | 0.0005839 | ||||
Refund | 4843243 | 2435 days ago | IN | 0 ETH | 0.00047161 | ||||
Refund | 4843236 | 2435 days ago | IN | 0 ETH | 0.00047161 | ||||
Refund | 4843232 | 2435 days ago | IN | 0 ETH | 0.00047161 | ||||
Refund | 4843227 | 2435 days ago | IN | 0 ETH | 0.00047161 | ||||
Refund | 4843169 | 2435 days ago | IN | 0 ETH | 0.00047161 | ||||
Refund | 4843141 | 2435 days ago | IN | 0 ETH | 0.00047161 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
5772426 | 2275 days ago | 0.5 ETH | ||||
5562131 | 2312 days ago | 1 ETH | ||||
5007837 | 2406 days ago | 0.3 ETH | ||||
4912484 | 2422 days ago | 10 ETH | ||||
4908673 | 2423 days ago | 0.595718 ETH | ||||
4902219 | 2424 days ago | 1 ETH | ||||
4884072 | 2428 days ago | 0.15 ETH | ||||
4879431 | 2428 days ago | 0.11 ETH | ||||
4734693 | 2454 days ago | 2 ETH | ||||
4727615 | 2455 days ago | 3 ETH | ||||
4707190 | 2458 days ago | 1 ETH | ||||
4704727 | 2459 days ago | 0.25 ETH | ||||
4680948 | 2463 days ago | 4.69859309 ETH | ||||
4670314 | 2465 days ago | 1.2 ETH | ||||
4591823 | 2478 days ago | 0.1 ETH | ||||
4572651 | 2481 days ago | 0.36 ETH | ||||
4532794 | 2487 days ago | 1.13 ETH | ||||
4525066 | 2488 days ago | 0.5 ETH | ||||
4523416 | 2489 days ago | 0.97 ETH | ||||
4468769 | 2498 days ago | 1 ETH | ||||
4459657 | 2499 days ago | 0.3 ETH | ||||
4419711 | 2505 days ago | 1 ETH | ||||
4414198 | 2506 days ago | 1 ETH | ||||
4406721 | 2508 days ago | 0.1 ETH | ||||
4398404 | 2509 days ago | 0.45 ETH |
Loading...
Loading
Contract Name:
AhooleeTokenSale
Compiler Version
v0.4.12+commit.194ff033
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-08-27 */ pragma solidity ^0.4.11; /** * Math operations with safety checks */ library SafeMath { function mul(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal 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 returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal returns (uint256) { uint256 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; } } /** * @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. */ function Ownable() { 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) onlyOwner { require(newOwner != address(0)); owner = newOwner; } } /* * Haltable * * Abstract contract that allows children to implement an * emergency stop mechanism. Differs from Pausable by causing a throw when in halt mode. * * * Originally envisioned in FirstBlood ICO contract. */ contract Haltable is Ownable { bool public halted; modifier stopInEmergency { require (!halted); _; } modifier onlyInEmergency { require (halted); _; } // called by the owner on emergency, triggers stopped state function halt() external onlyOwner { halted = true; } // called by the owner on end of emergency, returns to normal state function unhalt() external onlyOwner onlyInEmergency { halted = false; } } /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 value) returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint256); function transferFrom(address from, address to, uint256 value) returns (bool); function approve(address spender, uint256 value) returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ 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) returns (bool) { 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) constant returns (uint256 balance) { return balances[_owner]; } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) 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 amout of tokens to be transfered */ function transferFrom(address _from, address _to, uint256 _value) returns (bool) { var _allowance = allowed[_from][msg.sender]; // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met // require (_value <= _allowance); balances[_to] = balances[_to].add(_value); balances[_from] = balances[_from].sub(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender. * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) returns (bool) { // 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 require((_value == 0) || (allowed[msg.sender][_spender] == 0)); 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 specifing the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } } /** * @title SimpleToken * @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator. * Note they can later distribute these tokens as they wish using `transfer` and other * `StandardToken` functions. */ contract AhooleeToken is StandardToken { string public name = "Ahoolee Token"; string public symbol = "AHT"; uint256 public decimals = 18; uint256 public INITIAL_SUPPLY = 100000000 * 1 ether; /** * @dev Contructor that gives msg.sender all of existing tokens. */ function AhooleeToken() { totalSupply = INITIAL_SUPPLY; balances[msg.sender] = INITIAL_SUPPLY; } } contract AhooleeTokenSale is Haltable { using SafeMath for uint; string public name = "Ahoolee Token Sale"; AhooleeToken public token; address public beneficiary; uint public hardCapLow; uint public hardCapHigh; uint public softCap; uint public hardCapLowUsd; uint public hardCapHighUsd; uint public softCapUsd; uint public collected; uint public priceETH; uint public investorCount = 0; uint public weiRefunded = 0; uint public startTime; uint public endTime; bool public softCapReached = false; bool public crowdsaleFinished = false; uint constant HARD_CAP_TOKENS = 25000000; mapping (address => bool) refunded; mapping (address => uint256) saleBalances ; mapping (address => bool) claimed; event GoalReached(uint amountRaised); event SoftCapReached(uint softCap); event NewContribution(address indexed holder, uint256 etherAmount); event Refunded(address indexed holder, uint256 amount); event LogClaim(address indexed holder, uint256 amount, uint price); modifier onlyAfter(uint time) { require (now > time); _; } modifier onlyBefore(uint time) { require (now < time); _; } function AhooleeTokenSale( uint _hardCapLowUSD, uint _hardCapHighUSD, uint _softCapUSD, address _token, address _beneficiary, uint _priceETH, uint _startTime, uint _durationHours ) { priceETH = _priceETH; hardCapLowUsd = _hardCapLowUSD; hardCapHighUsd = _hardCapHighUSD; softCapUsd = _softCapUSD; calculatePrice(); token = AhooleeToken(_token); beneficiary = _beneficiary; startTime = _startTime; endTime = _startTime + _durationHours * 1 hours; } function calculatePrice() internal{ hardCapLow = hardCapLowUsd * 1 ether / priceETH; hardCapHigh = hardCapHighUsd * 1 ether / priceETH; softCap = softCapUsd * 1 ether / priceETH; } function setEthPrice(uint _priceETH) onlyBefore(startTime) onlyOwner { priceETH = _priceETH; calculatePrice(); } function () payable stopInEmergency{ assert (msg.value > 0.01 * 1 ether || msg.value == 0); if(msg.value > 0.01 * 1 ether) doPurchase(msg.sender); } function saleBalanceOf(address _owner) constant returns (uint256) { return saleBalances[_owner]; } function claimedOf(address _owner) constant returns (bool) { return claimed[_owner]; } function doPurchase(address _owner) private onlyAfter(startTime) onlyBefore(endTime) { require(crowdsaleFinished == false); require (collected.add(msg.value) <= hardCapHigh); if (!softCapReached && collected < softCap && collected.add(msg.value) >= softCap) { softCapReached = true; SoftCapReached(softCap); } if (saleBalances[msg.sender] == 0) investorCount++; collected = collected.add(msg.value); saleBalances[msg.sender] = saleBalances[msg.sender].add(msg.value); NewContribution(_owner, msg.value); if (collected == hardCapHigh) { GoalReached(hardCapHigh); } } function claim() { require (crowdsaleFinished); require (!claimed[msg.sender]); uint price = HARD_CAP_TOKENS * 1 ether / hardCapLow; if(collected > hardCapLow){ price = HARD_CAP_TOKENS * 1 ether / collected; } uint tokens = saleBalances[msg.sender] * price; require(token.transfer(msg.sender, tokens)); claimed[msg.sender] = true; LogClaim(msg.sender, tokens, price); } function returnTokens() onlyOwner { require (crowdsaleFinished); uint tokenAmount = token.balanceOf(this); if(collected < hardCapLow){ tokenAmount = (hardCapLow - collected) * HARD_CAP_TOKENS * 1 ether / hardCapLow; } require (token.transfer(beneficiary, tokenAmount)); } function withdraw() onlyOwner { require (softCapReached); require (beneficiary.send(collected)); crowdsaleFinished = true; } function refund() public onlyAfter(endTime) { require (!softCapReached); require (!refunded[msg.sender]); require (saleBalances[msg.sender] != 0) ; uint refund = saleBalances[msg.sender]; require (msg.sender.send(refund)); refunded[msg.sender] = true; weiRefunded = weiRefunded.add(refund); Refunded(msg.sender, refund); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_priceETH","type":"uint256"}],"name":"setEthPrice","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"hardCapHighUsd","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"softCapReached","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"claim","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"refund","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"hardCapLow","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"weiRefunded","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"halt","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"softCapUsd","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"hardCapLowUsd","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"saleBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"collected","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"softCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"hardCapHigh","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"halted","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"claimedOf","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"priceETH","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"unhalt","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"investorCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"crowdsaleFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"returnTokens","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"inputs":[{"name":"_hardCapLowUSD","type":"uint256"},{"name":"_hardCapHighUSD","type":"uint256"},{"name":"_softCapUSD","type":"uint256"},{"name":"_token","type":"address"},{"name":"_beneficiary","type":"address"},{"name":"_priceETH","type":"uint256"},{"name":"_startTime","type":"uint256"},{"name":"_durationHours","type":"uint256"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amountRaised","type":"uint256"}],"name":"GoalReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"softCap","type":"uint256"}],"name":"SoftCapReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"holder","type":"address"},{"indexed":false,"name":"etherAmount","type":"uint256"}],"name":"NewContribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"holder","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Refunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"holder","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"price","type":"uint256"}],"name":"LogClaim","type":"event"}]
Contract Creation Code
606060405260408051908101604052601281527f41686f6f6c656520546f6b656e2053616c650000000000000000000000000000602082015260019080516200004d929160200190620001ad565b506000600c819055600d556010805461ffff1916905534156200006f57600080fd5b604051610100806200123883398101604052808051919060200180519190602001805191906020018051919060200180519190602001805191906020018051919060200180519150505b5b60008054600160a060020a03191633600160a060020a03161790555b600b8390556007889055600887905560098690556200010264010000000062000f4b6200015082021704565b60028054600160a060020a03808816600160a060020a0319928316179092556003805492871692909116919091179055600e829055610e1081028201600f555b505050505050505062000257565b600b54600754670de0b6b3a7640000028115156200016a57fe5b04600455600b54600854670de0b6b3a7640000028115156200018857fe5b04600555600b54600954670de0b6b3a764000002811515620001a657fe5b046006555b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001f057805160ff191683800117855562000220565b8280016001018555821562000220579182015b828111156200022057825182559160200191906001019062000203565b5b506200022f92915062000233565b5090565b6200025491905b808211156200022f57600081556001016200023a565b5090565b90565b610fd180620002676000396000f300606060405236156101585763ffffffff60e060020a6000350416629f926281146101ad578063014d0f68146101c557806306fdde03146101ea5780632b9edee9146102755780633197cbb61461029c57806338af3eed146102c15780633ccfd60b146102f05780634e71d92d14610305578063590e1ae31461031a5780635c0714921461032f5780635da89ac0146103545780635ed7ca5b1461037957806363bce4e71461038e5780636bd31a56146103b357806378e97925146103d85780637d1710e4146103fd57806384bcefd41461042e5780638da5cb5b14610453578063906a26e01461048257806392b6641a146104a7578063b9b8af0b146104cc578063baa3f7ee146104f3578063c38ad27314610526578063cb3e64fd1461054b578063d7e64c0014610560578063ece84fd514610585578063f2fde38b146105ac578063f9718fc8146105cd578063fc0c546a146105e2575b6101ab5b60005460a060020a900460ff161561017357600080fd5b662386f26fc10000341180610186575034155b151561018e57fe5b662386f26fc100003411156101a6576101a633610611565b5b5b5b565b005b34156101b857600080fd5b6101ab6004356107ed565b005b34156101d057600080fd5b6101d861082c565b60405190815260200160405180910390f35b34156101f557600080fd5b6101fd610832565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561023a5780820151818401525b602001610221565b50505050905090810190601f1680156102675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561028057600080fd5b6102886108d0565b604051901515815260200160405180910390f35b34156102a757600080fd5b6101d86108d9565b60405190815260200160405180910390f35b34156102cc57600080fd5b6102d46108df565b604051600160a060020a03909116815260200160405180910390f35b34156102fb57600080fd5b6101ab6108ee565b005b341561031057600080fd5b6101ab610966565b005b341561032557600080fd5b6101ab610aee565b005b341561033a57600080fd5b6101d8610c1b565b60405190815260200160405180910390f35b341561035f57600080fd5b6101d8610c21565b60405190815260200160405180910390f35b341561038457600080fd5b6101ab610c27565b005b341561039957600080fd5b6101d8610c6a565b60405190815260200160405180910390f35b34156103be57600080fd5b6101d8610c70565b60405190815260200160405180910390f35b34156103e357600080fd5b6101d8610c76565b60405190815260200160405180910390f35b341561040857600080fd5b6101d8600160a060020a0360043516610c7c565b60405190815260200160405180910390f35b341561043957600080fd5b6101d8610c9b565b60405190815260200160405180910390f35b341561045e57600080fd5b6102d4610ca1565b604051600160a060020a03909116815260200160405180910390f35b341561048d57600080fd5b6101d8610cb0565b60405190815260200160405180910390f35b34156104b257600080fd5b6101d8610cb6565b60405190815260200160405180910390f35b34156104d757600080fd5b610288610cbc565b604051901515815260200160405180910390f35b34156104fe57600080fd5b610288600160a060020a0360043516610ccc565b604051901515815260200160405180910390f35b341561053157600080fd5b6101d8610cee565b60405190815260200160405180910390f35b341561055657600080fd5b6101ab610cf4565b005b341561056b57600080fd5b6101d8610d4a565b60405190815260200160405180910390f35b341561059057600080fd5b610288610d50565b604051901515815260200160405180910390f35b34156105b757600080fd5b6101ab600160a060020a0360043516610d5e565b005b34156105d857600080fd5b6101ab610dbb565b005b34156105ed57600080fd5b6102d4610f22565b604051600160a060020a03909116815260200160405180910390f35b600e544281901161062157600080fd5b600f544281901061063157600080fd5b601054610100900460ff161561064657600080fd5b600554600a5461065c903463ffffffff610f3116565b111561066757600080fd5b60105460ff1615801561067d5750600654600a54105b801561069d5750600654600a5461069a903463ffffffff610f3116565b10155b156106e6576010805460ff191660011790556006547f42ef6182c6d744dd081ab962505f40413083376dfcc13e58b60f4f32e96738099060405190815260200160405180910390a15b600160a060020a033316600090815260126020526040902054151561070f57600c805460010190555b600a54610722903463ffffffff610f3116565b600a55600160a060020a03331660009081526012602052604090205461074e903463ffffffff610f3116565b600160a060020a0333811660009081526012602052604090819020929092558416907fbdaa686eb6f59012d211a74523da260341c516896e9e5be954163d6ecf26ffa29034905190815260200160405180910390a2600554600a5414156107e5577ffbfd8ab7c24300fa9888cd721c8565a7da56759384781283684dcf7c7c4a846b60055460405190815260200160405180910390a15b5b5b505b5050565b600e54428190106107fd57600080fd5b60005433600160a060020a0390811691161461081857600080fd5b600b8290556107e9610f4b565b5b5b5b5050565b60085481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108c85780601f1061089d576101008083540402835291602001916108c8565b820191906000526020600020905b8154815290600101906020018083116108ab57829003601f168201915b505050505081565b60105460ff1681565b600f5481565b600354600160a060020a031681565b60005433600160a060020a0390811691161461090957600080fd5b60105460ff16151561091a57600080fd5b600354600a54600160a060020a039091169080156108fc0290604051600060405180830381858888f19350505050151561095357600080fd5b6010805461ff0019166101001790555b5b565b6010546000908190610100900460ff16151561098157600080fd5b600160a060020a03331660009081526013602052604090205460ff16156109a757600080fd5b6004546a14adf4b7320334b90000008115156109bf57fe5b049150600454600a5411156109ea57600a546a14adf4b7320334b90000008115156109e657fe5b0491505b50600160a060020a03338181166000908152601260205260408082205460025490860294169263a9059cbb929091859190516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610a6357600080fd5b6102c65a03f11515610a7457600080fd5b505050604051805190501515610a8957600080fd5b600160a060020a03331660008181526013602052604090819020805460ff191660011790557f9a4772cd5c0946aaea956f025c3bd64f5b4464abfaa006dbfc1ffe104b89ef2f90839085905191825260208201526040908101905180910390a25b5050565b6000600f548042111515610b0157600080fd5b60105460ff1615610b1157600080fd5b600160a060020a03331660009081526011602052604090205460ff1615610b3757600080fd5b600160a060020a0333166000908152601260205260409020541515610b5b57600080fd5b600160a060020a0333166000818152601260205260409081902054935083156108fc0290849051600060405180830381858888f193505050501515610b9f57600080fd5b600160a060020a0333166000908152601160205260409020805460ff19166001179055600d54610bd5908363ffffffff610f3116565b600d55600160a060020a0333167fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d06518360405190815260200160405180910390a25b5b5050565b60045481565b600d5481565b60005433600160a060020a03908116911614610c4257600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b60095481565b60075481565b600e5481565b600160a060020a0381166000908152601260205260409020545b919050565b600a5481565b600054600160a060020a031681565b60065481565b60055481565b60005460a060020a900460ff1681565b600160a060020a03811660009081526013602052604090205460ff165b919050565b600b5481565b60005433600160a060020a03908116911614610d0f57600080fd5b60005460a060020a900460ff161515610d2757600080fd5b6000805474ff0000000000000000000000000000000000000000191690555b5b5b565b600c5481565b601054610100900460ff1681565b60005433600160a060020a03908116911614610d7957600080fd5b600160a060020a0381161515610d8e57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b6000805433600160a060020a03908116911614610dd757600080fd5b601054610100900460ff161515610ded57600080fd5b600254600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610e4657600080fd5b6102c65a03f11515610e5757600080fd5b505050604051805190509050600454600a541015610e9157600454600a5481036a14adf4b7320334b900000002811515610e8d57fe5b0490505b600254600354600160a060020a039182169163a9059cbb91168360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610ef757600080fd5b6102c65a03f11515610f0857600080fd5b505050604051805190501515610db757600080fd5b5b5b50565b600254600160a060020a031681565b600082820183811015610f4057fe5b8091505b5092915050565b600b54600754670de0b6b3a764000002811515610f6457fe5b04600455600b54600854670de0b6b3a764000002811515610f8157fe5b04600555600b54600954670de0b6b3a764000002811515610f9e57fe5b046006555b5600a165627a7a72305820a17979d6caee931b3fdc1d03336a85bf84d7a3e720a105edd97b0eea73db22d500290000000000000000000000000000000000000000000000000000000000393870000000000000000000000000000000000000000000000000000000000098968000000000000000000000000000000000000000000000000000000000000f42400000000000000000000000008fb97dc96558199ffb549a35a231b97a19fdc912000000000000000000000000b40060deae8fd58acc4ad97ef28e924a9dfd0be3000000000000000000000000000000000000000000000000000000000000014a0000000000000000000000000000000000000000000000000000000059a3bf700000000000000000000000000000000000000000000000000000000000000150
Deployed Bytecode
0x606060405236156101585763ffffffff60e060020a6000350416629f926281146101ad578063014d0f68146101c557806306fdde03146101ea5780632b9edee9146102755780633197cbb61461029c57806338af3eed146102c15780633ccfd60b146102f05780634e71d92d14610305578063590e1ae31461031a5780635c0714921461032f5780635da89ac0146103545780635ed7ca5b1461037957806363bce4e71461038e5780636bd31a56146103b357806378e97925146103d85780637d1710e4146103fd57806384bcefd41461042e5780638da5cb5b14610453578063906a26e01461048257806392b6641a146104a7578063b9b8af0b146104cc578063baa3f7ee146104f3578063c38ad27314610526578063cb3e64fd1461054b578063d7e64c0014610560578063ece84fd514610585578063f2fde38b146105ac578063f9718fc8146105cd578063fc0c546a146105e2575b6101ab5b60005460a060020a900460ff161561017357600080fd5b662386f26fc10000341180610186575034155b151561018e57fe5b662386f26fc100003411156101a6576101a633610611565b5b5b5b565b005b34156101b857600080fd5b6101ab6004356107ed565b005b34156101d057600080fd5b6101d861082c565b60405190815260200160405180910390f35b34156101f557600080fd5b6101fd610832565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561023a5780820151818401525b602001610221565b50505050905090810190601f1680156102675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561028057600080fd5b6102886108d0565b604051901515815260200160405180910390f35b34156102a757600080fd5b6101d86108d9565b60405190815260200160405180910390f35b34156102cc57600080fd5b6102d46108df565b604051600160a060020a03909116815260200160405180910390f35b34156102fb57600080fd5b6101ab6108ee565b005b341561031057600080fd5b6101ab610966565b005b341561032557600080fd5b6101ab610aee565b005b341561033a57600080fd5b6101d8610c1b565b60405190815260200160405180910390f35b341561035f57600080fd5b6101d8610c21565b60405190815260200160405180910390f35b341561038457600080fd5b6101ab610c27565b005b341561039957600080fd5b6101d8610c6a565b60405190815260200160405180910390f35b34156103be57600080fd5b6101d8610c70565b60405190815260200160405180910390f35b34156103e357600080fd5b6101d8610c76565b60405190815260200160405180910390f35b341561040857600080fd5b6101d8600160a060020a0360043516610c7c565b60405190815260200160405180910390f35b341561043957600080fd5b6101d8610c9b565b60405190815260200160405180910390f35b341561045e57600080fd5b6102d4610ca1565b604051600160a060020a03909116815260200160405180910390f35b341561048d57600080fd5b6101d8610cb0565b60405190815260200160405180910390f35b34156104b257600080fd5b6101d8610cb6565b60405190815260200160405180910390f35b34156104d757600080fd5b610288610cbc565b604051901515815260200160405180910390f35b34156104fe57600080fd5b610288600160a060020a0360043516610ccc565b604051901515815260200160405180910390f35b341561053157600080fd5b6101d8610cee565b60405190815260200160405180910390f35b341561055657600080fd5b6101ab610cf4565b005b341561056b57600080fd5b6101d8610d4a565b60405190815260200160405180910390f35b341561059057600080fd5b610288610d50565b604051901515815260200160405180910390f35b34156105b757600080fd5b6101ab600160a060020a0360043516610d5e565b005b34156105d857600080fd5b6101ab610dbb565b005b34156105ed57600080fd5b6102d4610f22565b604051600160a060020a03909116815260200160405180910390f35b600e544281901161062157600080fd5b600f544281901061063157600080fd5b601054610100900460ff161561064657600080fd5b600554600a5461065c903463ffffffff610f3116565b111561066757600080fd5b60105460ff1615801561067d5750600654600a54105b801561069d5750600654600a5461069a903463ffffffff610f3116565b10155b156106e6576010805460ff191660011790556006547f42ef6182c6d744dd081ab962505f40413083376dfcc13e58b60f4f32e96738099060405190815260200160405180910390a15b600160a060020a033316600090815260126020526040902054151561070f57600c805460010190555b600a54610722903463ffffffff610f3116565b600a55600160a060020a03331660009081526012602052604090205461074e903463ffffffff610f3116565b600160a060020a0333811660009081526012602052604090819020929092558416907fbdaa686eb6f59012d211a74523da260341c516896e9e5be954163d6ecf26ffa29034905190815260200160405180910390a2600554600a5414156107e5577ffbfd8ab7c24300fa9888cd721c8565a7da56759384781283684dcf7c7c4a846b60055460405190815260200160405180910390a15b5b5b505b5050565b600e54428190106107fd57600080fd5b60005433600160a060020a0390811691161461081857600080fd5b600b8290556107e9610f4b565b5b5b5b5050565b60085481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108c85780601f1061089d576101008083540402835291602001916108c8565b820191906000526020600020905b8154815290600101906020018083116108ab57829003601f168201915b505050505081565b60105460ff1681565b600f5481565b600354600160a060020a031681565b60005433600160a060020a0390811691161461090957600080fd5b60105460ff16151561091a57600080fd5b600354600a54600160a060020a039091169080156108fc0290604051600060405180830381858888f19350505050151561095357600080fd5b6010805461ff0019166101001790555b5b565b6010546000908190610100900460ff16151561098157600080fd5b600160a060020a03331660009081526013602052604090205460ff16156109a757600080fd5b6004546a14adf4b7320334b90000008115156109bf57fe5b049150600454600a5411156109ea57600a546a14adf4b7320334b90000008115156109e657fe5b0491505b50600160a060020a03338181166000908152601260205260408082205460025490860294169263a9059cbb929091859190516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610a6357600080fd5b6102c65a03f11515610a7457600080fd5b505050604051805190501515610a8957600080fd5b600160a060020a03331660008181526013602052604090819020805460ff191660011790557f9a4772cd5c0946aaea956f025c3bd64f5b4464abfaa006dbfc1ffe104b89ef2f90839085905191825260208201526040908101905180910390a25b5050565b6000600f548042111515610b0157600080fd5b60105460ff1615610b1157600080fd5b600160a060020a03331660009081526011602052604090205460ff1615610b3757600080fd5b600160a060020a0333166000908152601260205260409020541515610b5b57600080fd5b600160a060020a0333166000818152601260205260409081902054935083156108fc0290849051600060405180830381858888f193505050501515610b9f57600080fd5b600160a060020a0333166000908152601160205260409020805460ff19166001179055600d54610bd5908363ffffffff610f3116565b600d55600160a060020a0333167fd7dee2702d63ad89917b6a4da9981c90c4d24f8c2bdfd64c604ecae57d8d06518360405190815260200160405180910390a25b5b5050565b60045481565b600d5481565b60005433600160a060020a03908116911614610c4257600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b60095481565b60075481565b600e5481565b600160a060020a0381166000908152601260205260409020545b919050565b600a5481565b600054600160a060020a031681565b60065481565b60055481565b60005460a060020a900460ff1681565b600160a060020a03811660009081526013602052604090205460ff165b919050565b600b5481565b60005433600160a060020a03908116911614610d0f57600080fd5b60005460a060020a900460ff161515610d2757600080fd5b6000805474ff0000000000000000000000000000000000000000191690555b5b5b565b600c5481565b601054610100900460ff1681565b60005433600160a060020a03908116911614610d7957600080fd5b600160a060020a0381161515610d8e57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b6000805433600160a060020a03908116911614610dd757600080fd5b601054610100900460ff161515610ded57600080fd5b600254600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610e4657600080fd5b6102c65a03f11515610e5757600080fd5b505050604051805190509050600454600a541015610e9157600454600a5481036a14adf4b7320334b900000002811515610e8d57fe5b0490505b600254600354600160a060020a039182169163a9059cbb91168360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610ef757600080fd5b6102c65a03f11515610f0857600080fd5b505050604051805190501515610db757600080fd5b5b5b50565b600254600160a060020a031681565b600082820183811015610f4057fe5b8091505b5092915050565b600b54600754670de0b6b3a764000002811515610f6457fe5b04600455600b54600854670de0b6b3a764000002811515610f8157fe5b04600555600b54600954670de0b6b3a764000002811515610f9e57fe5b046006555b5600a165627a7a72305820a17979d6caee931b3fdc1d03336a85bf84d7a3e720a105edd97b0eea73db22d50029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000393870000000000000000000000000000000000000000000000000000000000098968000000000000000000000000000000000000000000000000000000000000f42400000000000000000000000008fb97dc96558199ffb549a35a231b97a19fdc912000000000000000000000000b40060deae8fd58acc4ad97ef28e924a9dfd0be3000000000000000000000000000000000000000000000000000000000000014a0000000000000000000000000000000000000000000000000000000059a3bf700000000000000000000000000000000000000000000000000000000000000150
-----Decoded View---------------
Arg [0] : _hardCapLowUSD (uint256): 3750000
Arg [1] : _hardCapHighUSD (uint256): 10000000
Arg [2] : _softCapUSD (uint256): 1000000
Arg [3] : _token (address): 0x8FB97Dc96558199ffb549a35a231B97A19Fdc912
Arg [4] : _beneficiary (address): 0xb40060deAe8fd58ACc4Ad97eF28e924a9DFd0BE3
Arg [5] : _priceETH (uint256): 330
Arg [6] : _startTime (uint256): 1503903600
Arg [7] : _durationHours (uint256): 336
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000393870
Arg [1] : 0000000000000000000000000000000000000000000000000000000000989680
Arg [2] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [3] : 0000000000000000000000008fb97dc96558199ffb549a35a231b97a19fdc912
Arg [4] : 000000000000000000000000b40060deae8fd58acc4ad97ef28e924a9dfd0be3
Arg [5] : 000000000000000000000000000000000000000000000000000000000000014a
Arg [6] : 0000000000000000000000000000000000000000000000000000000059a3bf70
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000150
Swarm Source
bzzr://a17979d6caee931b3fdc1d03336a85bf84d7a3e720a105edd97b0eea73db22d5
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.