Latest 25 from a total of 11,752 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 6714255 | 2561 days ago | IN | 0 ETH | 0.00021867 | ||||
| Transfer | 6714234 | 2561 days ago | IN | 0 ETH | 0.00019437 | ||||
| Transfer | 5008928 | 2849 days ago | IN | 0.0001 ETH | 0.000861 | ||||
| Transfer | 4918451 | 2865 days ago | IN | 0.124669 ETH | 0.00171024 | ||||
| Transfer | 4887728 | 2870 days ago | IN | 0 ETH | 0.00094063 | ||||
| Terminate | 4760395 | 2893 days ago | IN | 0 ETH | 0.00110761 | ||||
| Transfer | 4730469 | 2898 days ago | IN | 0 ETH | 0.0006843 | ||||
| Transfer | 4710562 | 2902 days ago | IN | 1 ETH | 0.00021378 | ||||
| Transfer | 4606611 | 2919 days ago | IN | 0 ETH | 0.00123753 | ||||
| Transfer | 4606608 | 2919 days ago | IN | 0 ETH | 0.00052132 | ||||
| Transfer | 4606606 | 2919 days ago | IN | 0 ETH | 0.00052132 | ||||
| Transfer | 4606594 | 2919 days ago | IN | 0 ETH | 0.00004846 | ||||
| Transfer | 4606552 | 2919 days ago | IN | 0 ETH | 0.00000243 | ||||
| Transfer | 4606523 | 2919 days ago | IN | 0 ETH | 0.00000242 | ||||
| Transfer | 4602409 | 2920 days ago | IN | 0 ETH | 0.00050889 | ||||
| Transfer | 4602154 | 2920 days ago | IN | 0 ETH | 0.00105 | ||||
| Transfer | 4602145 | 2920 days ago | IN | 0 ETH | 0.00050889 | ||||
| Transfer | 4602120 | 2920 days ago | IN | 0 ETH | 0.00050889 | ||||
| Transfer | 4602097 | 2920 days ago | IN | 0 ETH | 0.00051023 | ||||
| Transfer | 4602080 | 2920 days ago | IN | 0 ETH | 0.00051023 | ||||
| Transfer | 4602077 | 2920 days ago | IN | 0 ETH | 0.00048703 | ||||
| Transfer | 4600380 | 2920 days ago | IN | 0 ETH | 0.00000243 | ||||
| Transfer | 4600127 | 2920 days ago | IN | 0 ETH | 0.00000242 | ||||
| Transfer | 4600112 | 2920 days ago | IN | 0 ETH | 0.00000243 | ||||
| Transfer | 4598955 | 2920 days ago | IN | 0 ETH | 0.00050232 |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
QuantstampMainSale
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2017-11-18
*/
pragma solidity ^0.4.15;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal constant 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 constant returns (uint256) {
assert(b <= a);
return a - b;
}
function add(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}
/**
* @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;
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() {
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 public {
require(newOwner != address(0));
OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
}
/**
* @title Pausable
* @dev Base contract which allows children to implement an emergency stop mechanism.
*/
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();
}
}
/**
* @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) public constant returns (uint256);
function transfer(address to, uint256 value) public 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) public constant 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);
}
/**
* @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) public returns (bool) {
require(_to != address(0));
// 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 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 amount of tokens to be transferred
*/
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
require(_to != address(0));
uint256 _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[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
allowed[_from][msg.sender] = _allowance.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 constant returns (uint256 remaining) {
return allowed[_owner][_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
*/
function increaseApproval (address _spender, uint _addedValue)
returns (bool success) {
allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
function decreaseApproval (address _spender, uint _subtractedValue)
returns (bool success) {
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;
}
}
/**
* @title Burnable Token
* @dev Token that can be irreversibly burned (destroyed).
*/
contract BurnableToken is StandardToken {
event Burn(address indexed burner, uint256 value);
/**
* @dev Burns a specific amount of tokens.
* @param _value The amount of token to be burned.
*/
function burn(uint256 _value) public {
require(_value > 0);
address burner = msg.sender;
balances[burner] = balances[burner].sub(_value);
totalSupply = totalSupply.sub(_value);
Burn(burner, _value);
}
}
// Quantstamp Technologies Inc. ([email protected])
/**
* The Quantstamp token (QSP) has a fixed supply and restricts the ability
* to transfer tokens until the owner has called the enableTransfer()
* function.
*
* The owner can associate the token with a token sale contract. In that
* case, the token balance is moved to the token sale contract, which
* in turn can transfer its tokens to contributors to the sale.
*/
contract QuantstampToken is StandardToken, BurnableToken, Ownable {
// Constants
string public constant name = "Quantstamp Token";
string public constant symbol = "QSP";
uint8 public constant decimals = 18;
uint256 public constant INITIAL_SUPPLY = 1000000000 * (10 ** uint256(decimals));
uint256 public constant CROWDSALE_ALLOWANCE = 650000000 * (10 ** uint256(decimals));
uint256 public constant ADMIN_ALLOWANCE = 350000000 * (10 ** uint256(decimals));
// Properties
uint256 public crowdSaleAllowance; // the number of tokens available for crowdsales
uint256 public adminAllowance; // the number of tokens available for the administrator
address public crowdSaleAddr; // the address of a crowdsale currently selling this token
address public adminAddr; // the address of the token admin account
bool public transferEnabled = false; // indicates if transferring tokens is enabled or not
// Modifiers
modifier onlyWhenTransferEnabled() {
if (!transferEnabled) {
require(msg.sender == adminAddr || msg.sender == crowdSaleAddr);
}
_;
}
/**
* The listed addresses are not valid recipients of tokens.
*
* 0x0 - the zero address is not valid
* this - the contract itself should not receive tokens
* owner - the owner has all the initial tokens, but cannot receive any back
* adminAddr - the admin has an allowance of tokens to transfer, but does not receive any
* crowdSaleAddr - the crowdsale has an allowance of tokens to transfer, but does not receive any
*/
modifier validDestination(address _to) {
require(_to != address(0x0));
require(_to != address(this));
require(_to != owner);
require(_to != address(adminAddr));
require(_to != address(crowdSaleAddr));
_;
}
/**
* Constructor - instantiates token supply and allocates balanace of
* to the owner (msg.sender).
*/
function QuantstampToken(address _admin) {
// the owner is a custodian of tokens that can
// give an allowance of tokens for crowdsales
// or to the admin, but cannot itself transfer
// tokens; hence, this requirement
require(msg.sender != _admin);
totalSupply = INITIAL_SUPPLY;
crowdSaleAllowance = CROWDSALE_ALLOWANCE;
adminAllowance = ADMIN_ALLOWANCE;
// mint all tokens
balances[msg.sender] = totalSupply;
Transfer(address(0x0), msg.sender, totalSupply);
adminAddr = _admin;
approve(adminAddr, adminAllowance);
}
/**
* Associates this token with a current crowdsale, giving the crowdsale
* an allowance of tokens from the crowdsale supply. This gives the
* crowdsale the ability to call transferFrom to transfer tokens to
* whomever has purchased them.
*
* Note that if _amountForSale is 0, then it is assumed that the full
* remaining crowdsale supply is made available to the crowdsale.
*
* @param _crowdSaleAddr The address of a crowdsale contract that will sell this token
* @param _amountForSale The supply of tokens provided to the crowdsale
*/
function setCrowdsale(address _crowdSaleAddr, uint256 _amountForSale) external onlyOwner {
require(!transferEnabled);
require(_amountForSale <= crowdSaleAllowance);
// if 0, then full available crowdsale supply is assumed
uint amount = (_amountForSale == 0) ? crowdSaleAllowance : _amountForSale;
// Clear allowance of old, and set allowance of new
approve(crowdSaleAddr, 0);
approve(_crowdSaleAddr, amount);
crowdSaleAddr = _crowdSaleAddr;
}
/**
* Enables the ability of anyone to transfer their tokens. This can
* only be called by the token owner. Once enabled, it is not
* possible to disable transfers.
*/
function enableTransfer() external onlyOwner {
transferEnabled = true;
approve(crowdSaleAddr, 0);
approve(adminAddr, 0);
crowdSaleAllowance = 0;
adminAllowance = 0;
}
/**
* Overrides ERC20 transfer function with modifier that prevents the
* ability to transfer tokens until after transfers have been enabled.
*/
function transfer(address _to, uint256 _value) public onlyWhenTransferEnabled validDestination(_to) returns (bool) {
return super.transfer(_to, _value);
}
/**
* Overrides ERC20 transferFrom function with modifier that prevents the
* ability to transfer tokens until after transfers have been enabled.
*/
function transferFrom(address _from, address _to, uint256 _value) public onlyWhenTransferEnabled validDestination(_to) returns (bool) {
bool result = super.transferFrom(_from, _to, _value);
if (result) {
if (msg.sender == crowdSaleAddr)
crowdSaleAllowance = crowdSaleAllowance.sub(_value);
if (msg.sender == adminAddr)
adminAllowance = adminAllowance.sub(_value);
}
return result;
}
/**
* Overrides the burn function so that it cannot be called until after
* transfers have been enabled.
*
* @param _value The amount of tokens to burn in mini-QSP
*/
function burn(uint256 _value) public {
require(transferEnabled || msg.sender == owner);
require(balances[msg.sender] >= _value);
super.burn(_value);
Transfer(msg.sender, address(0x0), _value);
}
}
// Quantstamp Technologies Inc. ([email protected])
/**
* The QuantstampSale smart contract is used for selling QuantstampToken
* tokens (QSP). It does so by converting ETH received into a quantity of
* tokens that are transferred to the contributor via the ERC20-compatible
* transferFrom() function.
*/
contract QuantstampMainSale is Pausable {
using SafeMath for uint256;
uint public constant RATE = 5000; // constant for converting ETH to QSP
uint public constant GAS_LIMIT_IN_WEI = 50000000000 wei;
bool public fundingCapReached = false; // funding cap has been reached
bool public saleClosed = false; // crowdsale is closed or not
bool private rentrancy_lock = false; // prevent certain functions from recursize calls
uint public fundingCap; // upper bound on amount that can be raised (in wei)
uint256 public cap; // individual cap during initial period of sale
uint public minContribution; // lower bound on amount a contributor can send (in wei)
uint public amountRaised; // amount raised so far (in wei)
uint public refundAmount; // amount that has been refunded so far
uint public startTime; // UNIX timestamp for start of sale
uint public deadline; // UNIX timestamp for end (deadline) of sale
uint public capTime; // Initial time period when the cap restriction is on
address public beneficiary; // The beneficiary is the future recipient of the funds
QuantstampToken public tokenReward; // The token being sold
mapping(address => uint256) public balanceOf; // tracks the amount of wei contributed by address during all sales
mapping(address => uint256) public mainsaleBalanceOf; // tracks the amount of wei contributed by address during mainsale
mapping(address => bool) public registry; // Registry of wallet addresses from whitelist
// Events
event CapReached(address _beneficiary, uint _amountRaised);
event FundTransfer(address _backer, uint _amount, bool _isContribution);
event RegistrationStatusChanged(address target, bool isRegistered);
// Modifiers
modifier beforeDeadline() { require (currentTime() < deadline); _; }
modifier afterDeadline() { require (currentTime() >= deadline); _; }
modifier afterStartTime() { require (currentTime() >= startTime); _; }
modifier saleNotClosed() { require (!saleClosed); _; }
modifier nonReentrant() {
require(!rentrancy_lock);
rentrancy_lock = true;
_;
rentrancy_lock = false;
}
/**
* Constructor for a crowdsale of QuantstampToken tokens.
*
* @param ifSuccessfulSendTo the beneficiary of the fund
* @param fundingCapInEthers the cap (maximum) size of the fund
* @param minimumContributionInWei minimum contribution (in wei)
* @param start the start time (UNIX timestamp)
* @param durationInMinutes the duration of the crowdsale in minutes
* @param initialCap initial individual cap
* @param capDurationInMinutes duration of initial individual cap
* @param addressOfTokenUsedAsReward address of the token being sold
*/
function QuantstampMainSale(
address ifSuccessfulSendTo,
uint fundingCapInEthers,
uint minimumContributionInWei,
uint start,
uint durationInMinutes,
uint initialCap,
uint capDurationInMinutes,
address addressOfTokenUsedAsReward
) {
require(ifSuccessfulSendTo != address(0) && ifSuccessfulSendTo != address(this));
require(addressOfTokenUsedAsReward != address(0) && addressOfTokenUsedAsReward != address(this));
require(durationInMinutes > 0);
beneficiary = ifSuccessfulSendTo;
fundingCap = fundingCapInEthers * 1 ether;
minContribution = minimumContributionInWei;
startTime = start;
deadline = start + (durationInMinutes * 1 minutes);
capTime = start + (capDurationInMinutes * 1 minutes);
cap = initialCap * 1 ether;
tokenReward = QuantstampToken(addressOfTokenUsedAsReward);
}
function () payable {
buy();
}
function buy()
payable
public
whenNotPaused
beforeDeadline
afterStartTime
saleNotClosed
nonReentrant
{
uint amount = msg.value;
require(amount >= minContribution);
// ensure that the user adheres to whitelist restrictions
require(registry[msg.sender]);
amountRaised = amountRaised.add(amount);
//require(amountRaised <= fundingCap);
// if we overflow the fundingCap, transfer the overflow amount
if(amountRaised > fundingCap){
uint overflow = amountRaised.sub(fundingCap);
amount = amount.sub(overflow);
amountRaised = fundingCap;
// transfer overflow back to the user
msg.sender.transfer(overflow);
}
// Update the sender's balance of wei contributed and the total amount raised
balanceOf[msg.sender] = balanceOf[msg.sender].add(amount);
// Update the sender's cap balance
mainsaleBalanceOf[msg.sender] = mainsaleBalanceOf[msg.sender].add(amount);
if (currentTime() <= capTime) {
require(tx.gasprice <= GAS_LIMIT_IN_WEI);
require(mainsaleBalanceOf[msg.sender] <= cap);
}
// Transfer the tokens from the crowdsale supply to the sender
if (!tokenReward.transferFrom(tokenReward.owner(), msg.sender, amount.mul(RATE))) {
revert();
}
FundTransfer(msg.sender, amount, true);
updateFundingCap();
}
function setCap(uint _cap) public onlyOwner {
cap = _cap;
}
/**
* @dev Sets registration status of an address for participation.
*
* @param contributor Address that will be registered/deregistered.
*/
function registerUser(address contributor)
public
onlyOwner
{
require(contributor != address(0));
registry[contributor] = true;
RegistrationStatusChanged(contributor, true);
}
/**
* @dev Remove registration status of an address for participation.
*
* NOTE: if the user made initial contributions to the crowdsale,
* this will not return the previously allotted tokens.
*
* @param contributor Address to be unregistered.
*/
function deactivate(address contributor)
public
onlyOwner
{
require(registry[contributor]);
registry[contributor] = false;
RegistrationStatusChanged(contributor, false);
}
/**
* @dev Sets registration statuses of addresses for participation.
* @param contributors Addresses that will be registered/deregistered.
*/
function registerUsers(address[] contributors)
external
onlyOwner
{
for (uint i = 0; i < contributors.length; i++) {
registerUser(contributors[i]);
}
}
/**
* The owner can terminate the crowdsale at any time.
*/
function terminate() external onlyOwner {
saleClosed = true;
}
/**
* The owner can allocate the specified amount of tokens from the
* crowdsale allowance to the recipient (_to).
*
* NOTE: be extremely careful to get the amounts correct, which
* are in units of wei and mini-QSP. Every digit counts.
*
* @param _to the recipient of the tokens
* @param amountWei the amount contributed in wei
* @param amountMiniQsp the amount of tokens transferred in mini-QSP
*/
function allocateTokens(address _to, uint amountWei, uint amountMiniQsp) public
onlyOwner nonReentrant
{
amountRaised = amountRaised.add(amountWei);
require(amountRaised <= fundingCap);
balanceOf[_to] = balanceOf[_to].add(amountWei);
if (!tokenReward.transferFrom(tokenReward.owner(), _to, amountMiniQsp)) {
revert();
}
FundTransfer(_to, amountWei, true);
updateFundingCap();
}
/**
* The owner can call this function to withdraw the funds that
* have been sent to this contract. The funds will be sent to
* the beneficiary specified when the crowdsale was created.
*/
function ownerSafeWithdrawal() external onlyOwner nonReentrant {
uint balanceToSend = this.balance;
beneficiary.transfer(balanceToSend);
FundTransfer(beneficiary, balanceToSend, false);
}
/**
* Checks if the funding cap has been reached. If it has, then
* the CapReached event is triggered.
*/
function updateFundingCap() internal {
assert (amountRaised <= fundingCap);
if (amountRaised == fundingCap) {
// Check if the funding cap has been reached
fundingCapReached = true;
saleClosed = true;
CapReached(beneficiary, amountRaised);
}
}
/**
* Returns the current time.
* Useful to abstract calls to "now" for tests.
*/
function currentTime() constant returns (uint _currentTime) {
return now;
}
function setDeadline(uint timestamp) public onlyOwner {
deadline = timestamp;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"registry","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"terminate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"timestamp","type":"uint256"}],"name":"setDeadline","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"contributor","type":"address"}],"name":"registerUser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"deadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"contributor","type":"address"}],"name":"deactivate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_cap","type":"uint256"}],"name":"setCap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"capTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"RATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"ownerSafeWithdrawal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"amountRaised","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":"fundingCapReached","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"amountWei","type":"uint256"},{"name":"amountMiniQsp","type":"uint256"}],"name":"allocateTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"GAS_LIMIT_IN_WEI","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"minContribution","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"refundAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"mainsaleBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"saleClosed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentTime","outputs":[{"name":"_currentTime","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fundingCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"contributors","type":"address[]"}],"name":"registerUsers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"ifSuccessfulSendTo","type":"address"},{"name":"fundingCapInEthers","type":"uint256"},{"name":"minimumContributionInWei","type":"uint256"},{"name":"start","type":"uint256"},{"name":"durationInMinutes","type":"uint256"},{"name":"initialCap","type":"uint256"},{"name":"capDurationInMinutes","type":"uint256"},{"name":"addressOfTokenUsedAsReward","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_beneficiary","type":"address"},{"indexed":false,"name":"_amountRaised","type":"uint256"}],"name":"CapReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_backer","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_isContribution","type":"bool"}],"name":"FundTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"isRegistered","type":"bool"}],"name":"RegistrationStatusChanged","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
606060405260008060146101000a81548160ff02191690831515021790555060008060156101000a81548160ff02191690831515021790555060008060166101000a81548160ff02191690831515021790555060008060176101000a81548160ff021916908315150217905550341561007757600080fd5b6040516101008061204183398101604052808051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161415801561017c57503073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614155b151561018757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156101f057503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b15156101fb57600080fd5b60008411151561020a57600080fd5b87600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550670de0b6b3a764000087026001819055508560038190555084600681905550603c84028501600781905550603c82028501600881905550670de0b6b3a7640000830260028190555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505050611d56806102eb6000396000f300606060405260043610610196576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063038defd7146101a05780630c08bf88146101f1578063195199f6146102065780632199d5cd1461022957806329dcb0cf14610262578063355274ea1461028b57806338af3eed146102b45780633ea053eb146103095780633f4ba83a1461034257806347786d37146103575780634df28ae41461037a5780635c975abb146103a3578063664e9704146103d05780636e66f6e9146103f957806370a082311461044e578063782e34c91461049b57806378e97925146104b05780637b3e5e7b146104d95780638456cb5914610502578063848b3821146105175780638d3f0ed5146105445780638da5cb5b1461058f578063995ab62e146105e4578063a6f2ae3a1461060d578063aaffadf314610617578063ad33513f14610640578063b6e0909314610669578063b8c766b8146106b6578063d18e81b3146106e3578063e3b2594f1461070c578063e5e9a9bb14610735578063f2fde38b14610763575b61019e61079c565b005b34156101ab57600080fd5b6101d7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d6a565b604051808215151515815260200191505060405180910390f35b34156101fc57600080fd5b610204610d8a565b005b341561021157600080fd5b6102276004808035906020019091905050610e02565b005b341561023457600080fd5b610260600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610e67565b005b341561026d57600080fd5b610275610fc9565b6040518082815260200191505060405180910390f35b341561029657600080fd5b61029e610fcf565b6040518082815260200191505060405180910390f35b34156102bf57600080fd5b6102c7610fd5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561031457600080fd5b610340600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610ffb565b005b341561034d57600080fd5b610355611179565b005b341561036257600080fd5b6103786004808035906020019091905050611237565b005b341561038557600080fd5b61038d61129c565b6040518082815260200191505060405180910390f35b34156103ae57600080fd5b6103b66112a2565b604051808215151515815260200191505060405180910390f35b34156103db57600080fd5b6103e36112b5565b6040518082815260200191505060405180910390f35b341561040457600080fd5b61040c6112bb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561045957600080fd5b610485600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506112e1565b6040518082815260200191505060405180910390f35b34156104a657600080fd5b6104ae6112f9565b005b34156104bb57600080fd5b6104c36114c0565b6040518082815260200191505060405180910390f35b34156104e457600080fd5b6104ec6114c6565b6040518082815260200191505060405180910390f35b341561050d57600080fd5b6105156114cc565b005b341561052257600080fd5b61052a61158c565b604051808215151515815260200191505060405180910390f35b341561054f57600080fd5b61058d600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001909190505061159f565b005b341561059a57600080fd5b6105a2611962565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105ef57600080fd5b6105f7611987565b6040518082815260200191505060405180910390f35b61061561079c565b005b341561062257600080fd5b61062a611990565b6040518082815260200191505060405180910390f35b341561064b57600080fd5b610653611996565b6040518082815260200191505060405180910390f35b341561067457600080fd5b6106a0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061199c565b6040518082815260200191505060405180910390f35b34156106c157600080fd5b6106c96119b4565b604051808215151515815260200191505060405180910390f35b34156106ee57600080fd5b6106f66119c7565b6040518082815260200191505060405180910390f35b341561071757600080fd5b61071f6119cf565b6040518082815260200191505060405180910390f35b341561074057600080fd5b610761600480803590602001908201803590602001919091929050506119d5565b005b341561076e57600080fd5b61079a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611a87565b005b600080600060149054906101000a900460ff161515156107bb57600080fd5b6007546107c66119c7565b1015156107d257600080fd5b6006546107dd6119c7565b101515156107ea57600080fd5b600060169054906101000a900460ff1615151561080657600080fd5b600060179054906101000a900460ff1615151561082257600080fd5b6001600060176101000a81548160ff021916908315150217905550349150600354821015151561085157600080fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156108a957600080fd5b6108be82600454611bdc90919063ffffffff16565b6004819055506001546004541115610948576108e7600154600454611bfa90919063ffffffff16565b90506108fc8183611bfa90919063ffffffff16565b91506001546004819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561094757600080fd5b5b61099a82600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bdc90919063ffffffff16565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610a2f82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bdc90919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854610a7d6119c7565b111515610ae957640ba43b74003a11151515610a9857600080fd5b600254600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411151515610ae857600080fd5b5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610bb557600080fd5b6102c65a03f11515610bc657600080fd5b5050506040518051905033610be661138887611c1390919063ffffffff16565b6000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1515610ca657600080fd5b6102c65a03f11515610cb757600080fd5b505050604051805190501515610ccc57600080fd5b7fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1610d4c611c46565b60008060176101000a81548160ff0219169083151502179055505050565b600d6020528060005260406000206000915054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610de557600080fd5b6001600060166101000a81548160ff021916908315150217905550565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e5d57600080fd5b8060078190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ec257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610efe57600080fd5b6001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f61711115e3f6f3c059d7dee6db7f77e9c82b97ae30fc2aee76c053c0048030bf816001604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a150565b60075481565b60025481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561105657600080fd5b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156110ae57600080fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f61711115e3f6f3c059d7dee6db7f77e9c82b97ae30fc2aee76c053c0048030bf816000604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111d457600080fd5b600060149054906101000a900460ff1615156111ef57600080fd5b60008060146101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561129257600080fd5b8060028190555050565b60085481565b600060149054906101000a900460ff1681565b61138881565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561135657600080fd5b600060179054906101000a900460ff1615151561137257600080fd5b6001600060176101000a81548160ff0219169083151502179055503073ffffffffffffffffffffffffffffffffffffffff16319050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561140957600080fd5b7fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf6600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826000604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a160008060176101000a81548160ff02191690831515021790555050565b60065481565b60045481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561152757600080fd5b600060149054906101000a900460ff1615151561154357600080fd5b6001600060146101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600060159054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156115fa57600080fd5b600060179054906101000a900460ff1615151561161657600080fd5b6001600060176101000a81548160ff02191690831515021790555061164682600454611bdc90919063ffffffff16565b6004819055506001546004541115151561165f57600080fd5b6116b182600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bdc90919063ffffffff16565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156117c057600080fd5b6102c65a03f115156117d157600080fd5b5050506040518051905085846000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561189d57600080fd5b6102c65a03f115156118ae57600080fd5b5050506040518051905015156118c357600080fd5b7fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf683836001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1611943611c46565b60008060176101000a81548160ff021916908315150217905550505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b640ba43b740081565b60035481565b60055481565b600c6020528060005260406000206000915090505481565b600060169054906101000a900460ff1681565b600042905090565b60015481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611a3257600080fd5b600090505b82829050811015611a8257611a758383838181101515611a5357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16610e67565b8080600101915050611a37565b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ae257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611b1e57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808284019050838110151515611bf057fe5b8091505092915050565b6000828211151515611c0857fe5b818303905092915050565b60008082840290506000841480611c345750828482811515611c3157fe5b04145b1515611c3c57fe5b8091505092915050565b60015460045411151515611c5657fe5b6001546004541415611d28576001600060156101000a81548160ff0219169083151502179055506001600060166101000a81548160ff0219169083151502179055507f195de8a1ebf5a1244af169b7e0bd0f735307a2626a73abce88f9b488628c6c24600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600454604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15b5600a165627a7a72305820f41b72fa50853c460d4476d7ca055e56d3f1f4a1d193f93263007d8194f8bf75002900000000000000000000000022e9c5643d6db3aa4163ae80fca9241315214a3700000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000000000000000000000000000000000005a0eeb60000000000000000000000000000000000000000000000000000000000000a8c0000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000001e000000000000000000000000099ea4db9ee77acd40b119bd1dc4e33e1c070b80d
Deployed Bytecode
0x606060405260043610610196576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063038defd7146101a05780630c08bf88146101f1578063195199f6146102065780632199d5cd1461022957806329dcb0cf14610262578063355274ea1461028b57806338af3eed146102b45780633ea053eb146103095780633f4ba83a1461034257806347786d37146103575780634df28ae41461037a5780635c975abb146103a3578063664e9704146103d05780636e66f6e9146103f957806370a082311461044e578063782e34c91461049b57806378e97925146104b05780637b3e5e7b146104d95780638456cb5914610502578063848b3821146105175780638d3f0ed5146105445780638da5cb5b1461058f578063995ab62e146105e4578063a6f2ae3a1461060d578063aaffadf314610617578063ad33513f14610640578063b6e0909314610669578063b8c766b8146106b6578063d18e81b3146106e3578063e3b2594f1461070c578063e5e9a9bb14610735578063f2fde38b14610763575b61019e61079c565b005b34156101ab57600080fd5b6101d7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d6a565b604051808215151515815260200191505060405180910390f35b34156101fc57600080fd5b610204610d8a565b005b341561021157600080fd5b6102276004808035906020019091905050610e02565b005b341561023457600080fd5b610260600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610e67565b005b341561026d57600080fd5b610275610fc9565b6040518082815260200191505060405180910390f35b341561029657600080fd5b61029e610fcf565b6040518082815260200191505060405180910390f35b34156102bf57600080fd5b6102c7610fd5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561031457600080fd5b610340600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610ffb565b005b341561034d57600080fd5b610355611179565b005b341561036257600080fd5b6103786004808035906020019091905050611237565b005b341561038557600080fd5b61038d61129c565b6040518082815260200191505060405180910390f35b34156103ae57600080fd5b6103b66112a2565b604051808215151515815260200191505060405180910390f35b34156103db57600080fd5b6103e36112b5565b6040518082815260200191505060405180910390f35b341561040457600080fd5b61040c6112bb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561045957600080fd5b610485600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506112e1565b6040518082815260200191505060405180910390f35b34156104a657600080fd5b6104ae6112f9565b005b34156104bb57600080fd5b6104c36114c0565b6040518082815260200191505060405180910390f35b34156104e457600080fd5b6104ec6114c6565b6040518082815260200191505060405180910390f35b341561050d57600080fd5b6105156114cc565b005b341561052257600080fd5b61052a61158c565b604051808215151515815260200191505060405180910390f35b341561054f57600080fd5b61058d600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001909190505061159f565b005b341561059a57600080fd5b6105a2611962565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105ef57600080fd5b6105f7611987565b6040518082815260200191505060405180910390f35b61061561079c565b005b341561062257600080fd5b61062a611990565b6040518082815260200191505060405180910390f35b341561064b57600080fd5b610653611996565b6040518082815260200191505060405180910390f35b341561067457600080fd5b6106a0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061199c565b6040518082815260200191505060405180910390f35b34156106c157600080fd5b6106c96119b4565b604051808215151515815260200191505060405180910390f35b34156106ee57600080fd5b6106f66119c7565b6040518082815260200191505060405180910390f35b341561071757600080fd5b61071f6119cf565b6040518082815260200191505060405180910390f35b341561074057600080fd5b610761600480803590602001908201803590602001919091929050506119d5565b005b341561076e57600080fd5b61079a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611a87565b005b600080600060149054906101000a900460ff161515156107bb57600080fd5b6007546107c66119c7565b1015156107d257600080fd5b6006546107dd6119c7565b101515156107ea57600080fd5b600060169054906101000a900460ff1615151561080657600080fd5b600060179054906101000a900460ff1615151561082257600080fd5b6001600060176101000a81548160ff021916908315150217905550349150600354821015151561085157600080fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156108a957600080fd5b6108be82600454611bdc90919063ffffffff16565b6004819055506001546004541115610948576108e7600154600454611bfa90919063ffffffff16565b90506108fc8183611bfa90919063ffffffff16565b91506001546004819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561094757600080fd5b5b61099a82600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bdc90919063ffffffff16565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610a2f82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bdc90919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854610a7d6119c7565b111515610ae957640ba43b74003a11151515610a9857600080fd5b600254600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411151515610ae857600080fd5b5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610bb557600080fd5b6102c65a03f11515610bc657600080fd5b5050506040518051905033610be661138887611c1390919063ffffffff16565b6000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1515610ca657600080fd5b6102c65a03f11515610cb757600080fd5b505050604051805190501515610ccc57600080fd5b7fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf633836001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1610d4c611c46565b60008060176101000a81548160ff0219169083151502179055505050565b600d6020528060005260406000206000915054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610de557600080fd5b6001600060166101000a81548160ff021916908315150217905550565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e5d57600080fd5b8060078190555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ec257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610efe57600080fd5b6001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f61711115e3f6f3c059d7dee6db7f77e9c82b97ae30fc2aee76c053c0048030bf816001604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a150565b60075481565b60025481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561105657600080fd5b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156110ae57600080fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f61711115e3f6f3c059d7dee6db7f77e9c82b97ae30fc2aee76c053c0048030bf816000604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111d457600080fd5b600060149054906101000a900460ff1615156111ef57600080fd5b60008060146101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561129257600080fd5b8060028190555050565b60085481565b600060149054906101000a900460ff1681565b61138881565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561135657600080fd5b600060179054906101000a900460ff1615151561137257600080fd5b6001600060176101000a81548160ff0219169083151502179055503073ffffffffffffffffffffffffffffffffffffffff16319050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561140957600080fd5b7fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf6600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826000604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a160008060176101000a81548160ff02191690831515021790555050565b60065481565b60045481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561152757600080fd5b600060149054906101000a900460ff1615151561154357600080fd5b6001600060146101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600060159054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156115fa57600080fd5b600060179054906101000a900460ff1615151561161657600080fd5b6001600060176101000a81548160ff02191690831515021790555061164682600454611bdc90919063ffffffff16565b6004819055506001546004541115151561165f57600080fd5b6116b182600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bdc90919063ffffffff16565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156117c057600080fd5b6102c65a03f115156117d157600080fd5b5050506040518051905085846000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561189d57600080fd5b6102c65a03f115156118ae57600080fd5b5050506040518051905015156118c357600080fd5b7fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf683836001604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182151515158152602001935050505060405180910390a1611943611c46565b60008060176101000a81548160ff021916908315150217905550505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b640ba43b740081565b60035481565b60055481565b600c6020528060005260406000206000915090505481565b600060169054906101000a900460ff1681565b600042905090565b60015481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611a3257600080fd5b600090505b82829050811015611a8257611a758383838181101515611a5357fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16610e67565b8080600101915050611a37565b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ae257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611b1e57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808284019050838110151515611bf057fe5b8091505092915050565b6000828211151515611c0857fe5b818303905092915050565b60008082840290506000841480611c345750828482811515611c3157fe5b04145b1515611c3c57fe5b8091505092915050565b60015460045411151515611c5657fe5b6001546004541415611d28576001600060156101000a81548160ff0219169083151502179055506001600060166101000a81548160ff0219169083151502179055507f195de8a1ebf5a1244af169b7e0bd0f735307a2626a73abce88f9b488628c6c24600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600454604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15b5600a165627a7a72305820f41b72fa50853c460d4476d7ca055e56d3f1f4a1d193f93263007d8194f8bf750029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000022e9c5643d6db3aa4163ae80fca9241315214a3700000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000000000000000000000000000000000005a0eeb60000000000000000000000000000000000000000000000000000000000000a8c0000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000001e000000000000000000000000099ea4db9ee77acd40b119bd1dc4e33e1c070b80d
-----Decoded View---------------
Arg [0] : ifSuccessfulSendTo (address): 0x22e9c5643D6db3aA4163Ae80Fca9241315214a37
Arg [1] : fundingCapInEthers (uint256): 100000
Arg [2] : minimumContributionInWei (uint256): 100000000000000000
Arg [3] : start (uint256): 1510927200
Arg [4] : durationInMinutes (uint256): 43200
Arg [5] : initialCap (uint256): 50
Arg [6] : capDurationInMinutes (uint256): 480
Arg [7] : addressOfTokenUsedAsReward (address): 0x99ea4dB9EE77ACD40B119BD1dC4E33e1C070b80d
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000022e9c5643d6db3aa4163ae80fca9241315214a37
Arg [1] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [2] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [3] : 000000000000000000000000000000000000000000000000000000005a0eeb60
Arg [4] : 000000000000000000000000000000000000000000000000000000000000a8c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [7] : 00000000000000000000000099ea4db9ee77acd40b119bd1dc4e33e1c070b80d
Swarm Source
bzzr://f41b72fa50853c460d4476d7ca055e56d3f1f4a1d193f93263007d8194f8bf75
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $0.386266 | 710 | $274.25 |
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.