Feature Tip: Add private address tag to any address under My Name Tag !
Latest 25 from a total of 58,038 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 11354814 | 1817 days ago | IN | 0.17180975 ETH | 0.000462 | ||||
| Transfer | 11309601 | 1824 days ago | IN | 0.091 ETH | 0.000672 | ||||
| Transfer | 11309454 | 1824 days ago | IN | 0.096 ETH | 0.00105 | ||||
| Transfer | 11309425 | 1824 days ago | IN | 0.0976 ETH | 0.00105 | ||||
| Transfer | 6769442 | 2552 days ago | IN | 0.2 ETH | 0.00049905 | ||||
| Transfer | 6769440 | 2552 days ago | IN | 0.2 ETH | 0.00049905 | ||||
| Transfer | 6769440 | 2552 days ago | IN | 0.2 ETH | 0.00004339 | ||||
| Transfer | 6059081 | 2670 days ago | IN | 1.2 ETH | 0.00008679 | ||||
| Transfer | 5180066 | 2821 days ago | IN | 0.1 ETH | 0.00119339 | ||||
| Transfer | 5178808 | 2821 days ago | IN | 0 ETH | 0.00004339 | ||||
| Transfer | 5162199 | 2824 days ago | IN | 0.304 ETH | 0.0010849 | ||||
| Transfer* | 5160352 | 2824 days ago | IN | 0.29989 ETH | 0.00065106 | ||||
| Transfer | 5135339 | 2828 days ago | IN | 0.2 ETH | 0.00119339 | ||||
| Transfer | 5135338 | 2828 days ago | IN | 0.18 ETH | 0.00175753 | ||||
| Transfer | 5098497 | 2834 days ago | IN | 0.01 ETH | 0.00054245 | ||||
| Transfer | 5081328 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 | ||||
| Transfer | 5081161 | 2837 days ago | IN | 0.1 ETH | 0.00130188 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 5019055 | 2848 days ago | 0.19 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 1.9 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 3 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 1.5 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 1.2 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 6.5 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 32 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 21 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 20 ETH | ||||
| Transfer | 5019055 | 2848 days ago | 45 ETH | ||||
| Transfer | 5019042 | 2848 days ago | 0.1 ETH | ||||
| Transfer | 5019042 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019041 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019041 | 2848 days ago | 0.1 ETH | ||||
| Transfer | 5019038 | 2848 days ago | 0.1 ETH | ||||
| Transfer | 5019034 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019032 | 2848 days ago | 0.1 ETH | ||||
| Transfer | 5019031 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019031 | 2848 days ago | 0.1 ETH | ||||
| Transfer | 5019030 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019029 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019027 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019021 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019021 | 2848 days ago | 0.2 ETH | ||||
| Transfer | 5019021 | 2848 days ago | 0.2 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BeeTokenOffering
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-01-31
*/
pragma solidity ^0.4.18;
/**
* @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() public {
owner = msg.sender;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
/**
* @dev Allows the current owner to transfer control of the contract to a newOwner.
* @param newOwner The address to transfer ownership to.
*/
function transferOwnership(address newOwner) public onlyOwner {
require(newOwner != address(0));
OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
}
/**
* @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 SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity automatically throws when dividing by 0
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}
/**
* @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 view 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 view returns (uint256);
function transferFrom(address from, address to, uint256 value) public returns (bool);
function approve(address spender, uint256 value) public returns (bool);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
/**
* @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));
require(_value <= balances[msg.sender]);
// SafeMath.sub will throw if there is not enough balance.
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
}
/**
* @dev Gets the balance of the specified address.
* @param _owner The address to query the the balance of.
* @return An uint256 representing the amount owned by the passed address.
*/
function balanceOf(address _owner) public view returns (uint256 balance) {
return balances[_owner];
}
}
/**
* @title Burnable Token
* @dev Token that can be irreversibly burned (destroyed).
*/
contract BurnableToken is BasicToken {
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 <= balances[msg.sender]);
// no need to require value <= totalSupply, since that would imply the
// sender's balance is greater than the totalSupply, which *should* be an assertion failure
address burner = msg.sender;
balances[burner] = balances[burner].sub(_value);
totalSupply = totalSupply.sub(_value);
Burn(burner, _value);
}
}
/**
* @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)) internal allowed;
/**
* @dev Transfer tokens from one address to another
* @param _from address The address which you want to send tokens from
* @param _to address The address which you want to transfer to
* @param _value uint256 the amount of tokens to be transferred
*/
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
require(_to != address(0));
require(_value <= balances[_from]);
require(_value <= allowed[_from][msg.sender]);
balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
Transfer(_from, _to, _value);
return true;
}
/**
* @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
*
* Beware that changing an allowance with this method brings the risk that someone may use both the old
* and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
* race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
* @param _spender The address which will spend the funds.
* @param _value The amount of tokens to be spent.
*/
function approve(address _spender, uint256 _value) public returns (bool) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
/**
* @dev Function to check the amount of tokens that an owner allowed to a spender.
* @param _owner address The address which owns the funds.
* @param _spender address The address which will spend the funds.
* @return A uint256 specifying the amount of tokens still available for the spender.
*/
function allowance(address _owner, address _spender) public view returns (uint256) {
return allowed[_owner][_spender];
}
/**
* @dev Increase the amount of tokens that an owner allowed to a spender.
*
* approve should be called when allowed[_spender] == 0. To increment
* allowed value is better to use this function to avoid 2 calls (and wait until
* the first transaction is mined)
* From MonolithDAO Token.sol
* @param _spender The address which will spend the funds.
* @param _addedValue The amount of tokens to increase the allowance by.
*/
function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
/**
* @dev Decrease the amount of tokens that an owner allowed to a spender.
*
* approve should be called when allowed[_spender] == 0. To decrement
* allowed value is better to use this function to avoid 2 calls (and wait until
* the first transaction is mined)
* From MonolithDAO Token.sol
* @param _spender The address which will spend the funds.
* @param _subtractedValue The amount of tokens to decrease the allowance by.
*/
function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
uint oldValue = allowed[msg.sender][_spender];
if (_subtractedValue > oldValue) {
allowed[msg.sender][_spender] = 0;
} else {
allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
}
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
}
/*
* BeeToken is a standard ERC20 token with some additional functionalities:
* - Transfers are only enabled after contract owner enables it (after the ICO)
* - Contract sets 30% of the total supply as allowance for ICO contract
*
* Note: Token Offering == Initial Coin Offering(ICO)
*/
contract BeeToken is StandardToken, BurnableToken, Ownable {
string public constant symbol = "BEE";
string public constant name = "Bee Token";
uint8 public constant decimals = 18;
uint256 public constant INITIAL_SUPPLY = 500000000 * (10 ** uint256(decimals));
uint256 public constant TOKEN_OFFERING_ALLOWANCE = 150000000 * (10 ** uint256(decimals));
uint256 public constant ADMIN_ALLOWANCE = INITIAL_SUPPLY - TOKEN_OFFERING_ALLOWANCE;
// Address of token admin
address public adminAddr;
// Address of token offering
address public tokenOfferingAddr;
// Enable transfers after conclusion of token offering
bool public transferEnabled = false;
/**
* Check if transfer is allowed
*
* Permissions:
* Owner Admin OffeirngContract Others
* transfer (before transferEnabled is true) x x x x
* transferFrom (before transferEnabled is true) x v v x
* transfer/transferFrom after transferEnabled is true v x x v
*/
modifier onlyWhenTransferAllowed() {
require(transferEnabled || msg.sender == adminAddr || msg.sender == tokenOfferingAddr);
_;
}
/**
* Check if token offering address is set or not
*/
modifier onlyTokenOfferingAddrNotSet() {
require(tokenOfferingAddr == address(0x0));
_;
}
/**
* Check if address is a valid destination to transfer tokens to
* - must not be zero address
* - must not be the token address
* - must not be the owner's address
* - must not be the admin's address
* - must not be the token offering contract address
*/
modifier validDestination(address to) {
require(to != address(0x0));
require(to != address(this));
require(to != owner);
require(to != address(adminAddr));
require(to != address(tokenOfferingAddr));
_;
}
/**
* Token contract constructor
*
* @param admin Address of admin account
*/
function BeeToken(address admin) public {
totalSupply = INITIAL_SUPPLY;
// Mint tokens
balances[msg.sender] = totalSupply;
Transfer(address(0x0), msg.sender, totalSupply);
// Approve allowance for admin account
adminAddr = admin;
approve(adminAddr, ADMIN_ALLOWANCE);
}
/**
* Set token offering to approve allowance for offering contract to distribute tokens
*
* @param offeringAddr Address of token offerng contract
* @param amountForSale Amount of tokens for sale, set 0 to max out
*/
function setTokenOffering(address offeringAddr, uint256 amountForSale) external onlyOwner onlyTokenOfferingAddrNotSet {
require(!transferEnabled);
uint256 amount = (amountForSale == 0) ? TOKEN_OFFERING_ALLOWANCE : amountForSale;
require(amount <= TOKEN_OFFERING_ALLOWANCE);
approve(offeringAddr, amount);
tokenOfferingAddr = offeringAddr;
}
/**
* Enable transfers
*/
function enableTransfer() external onlyOwner {
transferEnabled = true;
// End the offering
approve(tokenOfferingAddr, 0);
}
/**
* Transfer from sender to another account
*
* @param to Destination address
* @param value Amount of beetokens to send
*/
function transfer(address to, uint256 value) public onlyWhenTransferAllowed validDestination(to) returns (bool) {
return super.transfer(to, value);
}
/**
* Transfer from `from` account to `to` account using allowance in `from` account to the sender
*
* @param from Origin address
* @param to Destination address
* @param value Amount of beetokens to send
*/
function transferFrom(address from, address to, uint256 value) public onlyWhenTransferAllowed validDestination(to) returns (bool) {
return super.transferFrom(from, to, value);
}
/**
* Burn token, only owner is allowed to do this
*
* @param value Amount of tokens to burn
*/
function burn(uint256 value) public {
require(transferEnabled || msg.sender == owner);
super.burn(value);
}
}
contract BeeTokenOffering is Pausable {
using SafeMath for uint256;
// Start and end timestamps where contributions are allowed (both inclusive)
uint256 public startTime;
uint256 public endTime;
// Address where funds are collected
address public beneficiary;
// Token to be sold
BeeToken public token;
// Price of the tokens as in tokens per ether
uint256 public rate;
// Amount of raised in Wei (1 ether)
uint256 public weiRaised;
// Timelines for different contribution limit policy
uint256 public capDoublingTimestamp;
uint256 public capReleaseTimestamp;
// Individual contribution limits in Wei per tier
uint256[3] public tierCaps;
// Whitelists of participant address for each tier
mapping(uint8 => mapping(address => bool)) public whitelists;
// Contributions in Wei for each participant
mapping(address => uint256) public contributions;
// Funding cap in ETH. Change to equal $5M at time of token offering
uint256 public constant FUNDING_ETH_HARD_CAP = 5000 * 1 ether;
// Min contribution is 0.1 ether
uint256 public constant MINIMUM_CONTRIBUTION = 10**17;
// The current stage of the offering
Stages public stage;
enum Stages {
Setup,
OfferingStarted,
OfferingEnded
}
event OfferingOpens(uint256 startTime, uint256 endTime);
event OfferingCloses(uint256 endTime, uint256 totalWeiRaised);
/**
* Event for token purchase logging
*
* @param purchaser Who paid for the tokens
* @param value Weis paid for purchase
* @return amount Amount of tokens purchased
*/
event TokenPurchase(address indexed purchaser, uint256 value, uint256 amount);
/**
* Modifier that requires certain stage before executing the main function body
*
* @param expectedStage Value that the current stage is required to match
*/
modifier atStage(Stages expectedStage) {
require(stage == expectedStage);
_;
}
/**
* Modifier that validates a purchase at a tier
* All the following has to be met:
* - current time within the offering period
* - valid sender address and ether value greater than 0.1
* - total Wei raised not greater than FUNDING_ETH_HARD_CAP
* - contribution per perticipant within contribution limit
*
* @param tier Index of the tier
*/
modifier validPurchase(uint8 tier) {
require(tier < tierCaps.length);
require(now >= startTime && now <= endTime && stage == Stages.OfferingStarted);
uint256 contributionInWei = msg.value;
address participant = msg.sender;
require(participant != address(0) && contributionInWei >= MINIMUM_CONTRIBUTION);
require(weiRaised.add(contributionInWei) <= FUNDING_ETH_HARD_CAP);
uint256 initialCapInWei = tierCaps[tier];
if (now < capDoublingTimestamp) {
require(contributions[participant].add(contributionInWei) <= initialCapInWei);
} else if (now < capReleaseTimestamp) {
require(contributions[participant].add(contributionInWei) <= initialCapInWei.mul(2));
}
_;
}
/**
* The constructor of the contract.
* Note: tierCaps[tier] define the individual contribution limits in Wei of each address
* per tier within the first tranche of the sale (sale start ~ capDoublingTimestamp)
* these limits are doubled between capDoublingTimestamp ~ capReleaseTimestamp
* and are lifted completely between capReleaseTimestamp ~ end time
*
* @param beeToEtherRate Number of beetokens per ether
* @param beneficiaryAddr Address where funds are collected
* @param baseContributionCapInWei Base contribution limit in Wei per address
*/
function BeeTokenOffering(
uint256 beeToEtherRate,
address beneficiaryAddr,
uint256 baseContributionCapInWei,
address tokenAddress
) public {
require(beeToEtherRate > 0);
require(beneficiaryAddr != address(0));
require(tokenAddress != address(0));
require(baseContributionCapInWei >= MINIMUM_CONTRIBUTION);
token = BeeToken(tokenAddress);
rate = beeToEtherRate;
beneficiary = beneficiaryAddr;
stage = Stages.Setup;
// Contribution cap per tier in Wei
tierCaps[0] = baseContributionCapInWei.mul(3);
tierCaps[1] = baseContributionCapInWei.mul(2);
tierCaps[2] = baseContributionCapInWei;
}
/**
* Fallback function can be used to buy tokens
*/
function () public payable {
buy();
}
/**
* Withdraw available ethers into beneficiary account, serves as a safety, should never be needed
*/
function ownerSafeWithdrawal() external onlyOwner {
beneficiary.transfer(this.balance);
}
function updateRate(uint256 beeToEtherRate) public onlyOwner atStage(Stages.Setup) {
rate = beeToEtherRate;
}
/**
* Whitelist participant address per tier
*
* @param tiers Array of indices of tier, each value should be less than tierCaps.length
* @param users Array of addresses to be whitelisted
*/
function whitelist(uint8[] tiers, address[] users) public onlyOwner {
require(tiers.length == users.length);
for (uint32 i = 0; i < users.length; i++) {
require(tiers[i] < tierCaps.length);
whitelists[tiers[i]][users[i]] = true;
}
}
/**
* Start the offering
*
* @param durationInSeconds Extra duration of the offering on top of the minimum 48 hours
*/
function startOffering(uint256 durationInSeconds) public onlyOwner atStage(Stages.Setup) {
stage = Stages.OfferingStarted;
startTime = now;
capDoublingTimestamp = startTime + 24 hours;
capReleaseTimestamp = startTime + 48 hours;
endTime = capReleaseTimestamp.add(durationInSeconds);
OfferingOpens(startTime, endTime);
}
/**
* End the offering
*/
function endOffering() public onlyOwner atStage(Stages.OfferingStarted) {
endOfferingImpl();
}
/**
* Function to invest ether to buy tokens, can be called directly or called by the fallback function
* Only whitelisted users can buy tokens.
*
* @return bool Return true if purchase succeeds, false otherwise
*/
function buy() public payable whenNotPaused atStage(Stages.OfferingStarted) returns (bool) {
for (uint8 i = 0; i < tierCaps.length; ++i) {
if (whitelists[i][msg.sender]) {
buyTokensTier(i);
return true;
}
}
revert();
}
/**
* Function that returns whether offering has ended
*
* @return bool Return true if token offering has ended
*/
function hasEnded() public view returns (bool) {
return now > endTime || stage == Stages.OfferingEnded;
}
/**
* Internal function that buys token per tier
*
* Investiment limit changes over time:
* 1) [offering starts ~ capDoublingTimestamp]: 1x of contribution limit per tier (1 * tierCaps[tier])
* 2) [capDoublingTimestamp ~ capReleaseTimestamp]: limit per participant is raised to 2x of contribution limit per tier (2 * tierCaps[tier])
* 3) [capReleaseTimestamp ~ offering ends]: no limit per participant as along as total Wei raised is within FUNDING_ETH_HARD_CAP
*
* @param tier Index of tier of whitelisted participant
*/
function buyTokensTier(uint8 tier) internal validPurchase(tier) {
address participant = msg.sender;
uint256 contributionInWei = msg.value;
// Calculate token amount to be distributed
uint256 tokens = contributionInWei.mul(rate);
if (!token.transferFrom(token.owner(), participant, tokens)) {
revert();
}
weiRaised = weiRaised.add(contributionInWei);
contributions[participant] = contributions[participant].add(contributionInWei);
// Check if the funding cap has been reached, end the offering if so
if (weiRaised >= FUNDING_ETH_HARD_CAP) {
endOfferingImpl();
}
// Transfer funds to beneficiary
beneficiary.transfer(contributionInWei);
TokenPurchase(msg.sender, contributionInWei, tokens);
}
/**
* End token offering by set the stage and endTime
*/
function endOfferingImpl() internal {
endTime = now;
stage = Stages.OfferingEnded;
OfferingCloses(endTime, weiRaised);
}
/**
* Allocate tokens for presale participants before public offering, can only be executed at Stages.Setup stage.
*
* @param to Participant address to send beetokens to
* @param tokens Amount of beetokens to be sent to parcitipant
*/
function allocateTokensBeforeOffering(address to, uint256 tokens)
public
onlyOwner
atStage(Stages.Setup)
returns (bool)
{
if (!token.transferFrom(token.owner(), to, tokens)) {
revert();
}
return true;
}
/**
* Bulk version of allocateTokensBeforeOffering
*/
function batchAllocateTokensBeforeOffering(address[] toList, uint256[] tokensList)
external
onlyOwner
atStage(Stages.Setup)
returns (bool)
{
require(toList.length == tokensList.length);
for (uint32 i = 0; i < toList.length; i++) {
allocateTokensBeforeOffering(toList[i], tokensList[i]);
}
return true;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":false,"inputs":[{"name":"toList","type":"address[]"},{"name":"tokensList","type":"uint256[]"}],"name":"batchAllocateTokensBeforeOffering","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tierCaps","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tiers","type":"uint8[]"},{"name":"users","type":"address[]"}],"name":"whitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"capDoublingTimestamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endTime","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":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"contributions","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":false,"inputs":[{"name":"beeToEtherRate","type":"uint256"}],"name":"updateRate","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"capReleaseTimestamp","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":"MINIMUM_CONTRIBUTION","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"allocateTokensBeforeOffering","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"endOffering","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"stage","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"durationInSeconds","type":"uint256"}],"name":"startOffering","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"FUNDING_ETH_HARD_CAP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint8"},{"name":"","type":"address"}],"name":"whitelists","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hasEnded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"beeToEtherRate","type":"uint256"},{"name":"beneficiaryAddr","type":"address"},{"name":"baseContributionCapInWei","type":"uint256"},{"name":"tokenAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"startTime","type":"uint256"},{"indexed":false,"name":"endTime","type":"uint256"}],"name":"OfferingOpens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"endTime","type":"uint256"},{"indexed":false,"name":"totalWeiRaised","type":"uint256"}],"name":"OfferingCloses","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokenPurchase","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
606060405260008060146101000a81548160ff02191690831515021790555034156200002a57600080fd5b60405160808062001e2e83398101604052808051906020019091908051906020019091908051906020019091908051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600084111515620000b257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515620000ef57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156200012c57600080fd5b67016345785d8a000082101515156200014457600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360058190555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600e60006101000a81548160ff02191690836002811115620001ed57fe5b021790555062000216600383620002876401000000000262001af1179091906401000000009004565b600960006003811015156200022757fe5b018190555062000250600283620002876401000000000262001af1179091906401000000009004565b600960016003811015156200026157fe5b018190555081600960026003811015156200027857fe5b018190555050505050620002c6565b60008060008414156200029e5760009150620002bf565b8284029050828482811515620002b057fe5b04141515620002bb57fe5b8091505b5092915050565b611b5880620002d66000396000f30060606040526004361061016a576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630126b8b614610175578063157003d9146101cf5780632852bdf2146102065780632c4e722e146102a05780633053aedc146102c95780633197cbb6146102f257806338af3eed1461031b5780633f4ba83a146103705780634042b66f1461038557806342e94c90146103ae5780635c975abb146103fb57806369ea177114610428578063782e34c91461044b57806378e97925146104605780637ec2fd36146104895780638456cb59146104b25780638d0bba03146104c75780638da5cb5b146104f05780639aaf5e05146105455780639be3b2861461059f578063a6f2ae3a146105b4578063c040e6b8146105d6578063cd863e251461060d578063e072830c14610630578063e458c75414610659578063ecb70fb7146106b6578063f2fde38b146106e3578063fc0c546a1461071c575b610172610771565b50005b341561018057600080fd5b6101b5600480803590602001908201803590602001919091929080359060200190820180359060200191909192905050610866565b604051808215151515815260200191505060405180910390f35b34156101da57600080fd5b6101f06004808035906020019091905050610993565b6040518082815260200191505060405180910390f35b341561021157600080fd5b61029e600480803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919050506109ad565b005b34156102ab57600080fd5b6102b3610b18565b6040518082815260200191505060405180910390f35b34156102d457600080fd5b6102dc610b1e565b6040518082815260200191505060405180910390f35b34156102fd57600080fd5b610305610b24565b6040518082815260200191505060405180910390f35b341561032657600080fd5b61032e610b2a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037b57600080fd5b610383610b50565b005b341561039057600080fd5b610398610c0e565b6040518082815260200191505060405180910390f35b34156103b957600080fd5b6103e5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c14565b6040518082815260200191505060405180910390f35b341561040657600080fd5b61040e610c2c565b604051808215151515815260200191505060405180910390f35b341561043357600080fd5b6104496004808035906020019091905050610c3f565b005b341561045657600080fd5b61045e610cda565b005b341561046b57600080fd5b610473610db0565b6040518082815260200191505060405180910390f35b341561049457600080fd5b61049c610db6565b6040518082815260200191505060405180910390f35b34156104bd57600080fd5b6104c5610dbc565b005b34156104d257600080fd5b6104da610e7c565b6040518082815260200191505060405180910390f35b34156104fb57600080fd5b610503610e88565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561055057600080fd5b610585600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610ead565b604051808215151515815260200191505060405180910390f35b34156105aa57600080fd5b6105b2611119565b005b6105bc610771565b604051808215151515815260200191505060405180910390f35b34156105e157600080fd5b6105e96111b4565b604051808260028111156105f957fe5b60ff16815260200191505060405180910390f35b341561061857600080fd5b61062e60048080359060200190919050506111c7565b005b341561063b57600080fd5b610643611300565b6040518082815260200191505060405180910390f35b341561066457600080fd5b61069c600480803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061130e565b604051808215151515815260200191505060405180910390f35b34156106c157600080fd5b6106c961133d565b604051808215151515815260200191505060405180910390f35b34156106ee57600080fd5b61071a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611378565b005b341561072757600080fd5b61072f6114cd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080600060149054906101000a900460ff1615151561079057600080fd5b600180600281111561079e57fe5b600e60009054906101000a900460ff1660028111156107b957fe5b1415156107c557600080fd5b600091505b60038260ff16101561085c57600c60008360ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561085157610848826114f3565b60019250610861565b8160010191506107ca565b600080fd5b505090565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108c457600080fd5b60008060028111156108d257fe5b600e60009054906101000a900460ff1660028111156108ed57fe5b1415156108f957600080fd5b848490508787905014151561090d57600080fd5b600091505b868690508263ffffffff1610156109855761097787878463ffffffff16818110151561093a57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868563ffffffff16818110151561096b57fe5b90506020020135610ead565b508180600101925050610912565b600192505050949350505050565b6009816003811015156109a257fe5b016000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a0a57600080fd5b81518351141515610a1a57600080fd5b600090505b81518163ffffffff161015610b13576003838263ffffffff16815181101515610a4457fe5b9060200190602002015160ff16101515610a5d57600080fd5b6001600c6000858463ffffffff16815181101515610a7757fe5b9060200190602002015160ff1660ff1681526020019081526020016000206000848463ffffffff16815181101515610aab57fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080600101915050610a1f565b505050565b60055481565b60075481565b60025481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610bab57600080fd5b600060149054906101000a900460ff161515610bc657600080fd5b60008060146101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60065481565b600d6020528060005260406000206000915090505481565b600060149054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c9a57600080fd5b6000806002811115610ca857fe5b600e60009054906101000a900460ff166002811115610cc357fe5b141515610ccf57600080fd5b816005819055505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d3557600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501515610dae57600080fd5b565b60015481565b60085481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e1757600080fd5b600060149054906101000a900460ff16151515610e3357600080fd5b6001600060146101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b67016345785d8a000081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f0a57600080fd5b6000806002811115610f1857fe5b600e60009054906101000a900460ff166002811115610f3357fe5b141515610f3f57600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561100b57600080fd5b6102c65a03f1151561101c57600080fd5b5050506040518051905086866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15156110e857600080fd5b6102c65a03f115156110f957600080fd5b50505060405180519050151561110e57600080fd5b600191505092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561117457600080fd5b600180600281111561118257fe5b600e60009054906101000a900460ff16600281111561119d57fe5b1415156111a957600080fd5b6111b1611a63565b50565b600e60009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561122257600080fd5b600080600281111561123057fe5b600e60009054906101000a900460ff16600281111561124b57fe5b14151561125757600080fd5b6001600e60006101000a81548160ff0219169083600281111561127657fe5b02179055504260018190555062015180600154016007819055506202a300600154016008819055506112b382600854611ad390919063ffffffff16565b6002819055507f85ae6d2d52f005b7e439638c2368bb1b569ac99e8ec33ea2bd5b04952ab207cb600154600254604051808381526020018281526020019250505060405180910390a15050565b69010f0cf064dd5920000081565b600c6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6000600254421180611373575060028081111561135657fe5b600e60009054906101000a900460ff16600281111561137157fe5b145b905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113d357600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561140f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600083600080600060038460ff1610151561151057600080fd5b600154421015801561152457506002544211155b801561155557506001600281111561153857fe5b600e60009054906101000a900460ff16600281111561155357fe5b145b151561156057600080fd5b349250339150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156115ab575067016345785d8a00008310155b15156115b657600080fd5b69010f0cf064dd592000006115d684600654611ad390919063ffffffff16565b111515156115e357600080fd5b60098460ff166003811015156115f557fe5b01549050600754421015611668578061165684600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ad390919063ffffffff16565b1115151561166357600080fd5b6116e7565b6008544210156116e657611686600282611af190919063ffffffff16565b6116d884600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ad390919063ffffffff16565b111515156116e557600080fd5b5b5b33965034955061170260055487611af190919063ffffffff16565b9450600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156117d057600080fd5b6102c65a03f115156117e157600080fd5b5050506040518051905089886000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15156118ad57600080fd5b6102c65a03f115156118be57600080fd5b5050506040518051905015156118d357600080fd5b6118e886600654611ad390919063ffffffff16565b60068190555061194086600d60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ad390919063ffffffff16565b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555069010f0cf064dd592000006006541015156119a1576119a0611a63565b5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f193505050501515611a0357600080fd5b3373ffffffffffffffffffffffffffffffffffffffff167fcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f8787604051808381526020018281526020019250505060405180910390a25050505050505050565b426002819055506002600e60006101000a81548160ff02191690836002811115611a8957fe5b02179055507f02359fdde4491e11fa0985b799db1f730257a9715a67fd4b9ed9956e194025f0600254600654604051808381526020018281526020019250505060405180910390a1565b6000808284019050838110151515611ae757fe5b8091505092915050565b6000806000841415611b065760009150611b25565b8284029050828482811515611b1757fe5b04141515611b2157fe5b8091505b50929150505600a165627a7a7230582022a87af7acd57a1fde984f783b3ca7120b809759ce47f07f0b54df889aed23900029000000000000000000000000000000000000000000000000000000000000115c0000000000000000000000007c4b4bb0bb0fadbcb1c54ed55a3b4f1d456726c6000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000004d8fc1453a0f359e99c9675954e656d80d996fbf
Deployed Bytecode
0x60606040526004361061016a576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630126b8b614610175578063157003d9146101cf5780632852bdf2146102065780632c4e722e146102a05780633053aedc146102c95780633197cbb6146102f257806338af3eed1461031b5780633f4ba83a146103705780634042b66f1461038557806342e94c90146103ae5780635c975abb146103fb57806369ea177114610428578063782e34c91461044b57806378e97925146104605780637ec2fd36146104895780638456cb59146104b25780638d0bba03146104c75780638da5cb5b146104f05780639aaf5e05146105455780639be3b2861461059f578063a6f2ae3a146105b4578063c040e6b8146105d6578063cd863e251461060d578063e072830c14610630578063e458c75414610659578063ecb70fb7146106b6578063f2fde38b146106e3578063fc0c546a1461071c575b610172610771565b50005b341561018057600080fd5b6101b5600480803590602001908201803590602001919091929080359060200190820180359060200191909192905050610866565b604051808215151515815260200191505060405180910390f35b34156101da57600080fd5b6101f06004808035906020019091905050610993565b6040518082815260200191505060405180910390f35b341561021157600080fd5b61029e600480803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919050506109ad565b005b34156102ab57600080fd5b6102b3610b18565b6040518082815260200191505060405180910390f35b34156102d457600080fd5b6102dc610b1e565b6040518082815260200191505060405180910390f35b34156102fd57600080fd5b610305610b24565b6040518082815260200191505060405180910390f35b341561032657600080fd5b61032e610b2a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037b57600080fd5b610383610b50565b005b341561039057600080fd5b610398610c0e565b6040518082815260200191505060405180910390f35b34156103b957600080fd5b6103e5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c14565b6040518082815260200191505060405180910390f35b341561040657600080fd5b61040e610c2c565b604051808215151515815260200191505060405180910390f35b341561043357600080fd5b6104496004808035906020019091905050610c3f565b005b341561045657600080fd5b61045e610cda565b005b341561046b57600080fd5b610473610db0565b6040518082815260200191505060405180910390f35b341561049457600080fd5b61049c610db6565b6040518082815260200191505060405180910390f35b34156104bd57600080fd5b6104c5610dbc565b005b34156104d257600080fd5b6104da610e7c565b6040518082815260200191505060405180910390f35b34156104fb57600080fd5b610503610e88565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561055057600080fd5b610585600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610ead565b604051808215151515815260200191505060405180910390f35b34156105aa57600080fd5b6105b2611119565b005b6105bc610771565b604051808215151515815260200191505060405180910390f35b34156105e157600080fd5b6105e96111b4565b604051808260028111156105f957fe5b60ff16815260200191505060405180910390f35b341561061857600080fd5b61062e60048080359060200190919050506111c7565b005b341561063b57600080fd5b610643611300565b6040518082815260200191505060405180910390f35b341561066457600080fd5b61069c600480803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061130e565b604051808215151515815260200191505060405180910390f35b34156106c157600080fd5b6106c961133d565b604051808215151515815260200191505060405180910390f35b34156106ee57600080fd5b61071a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611378565b005b341561072757600080fd5b61072f6114cd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080600060149054906101000a900460ff1615151561079057600080fd5b600180600281111561079e57fe5b600e60009054906101000a900460ff1660028111156107b957fe5b1415156107c557600080fd5b600091505b60038260ff16101561085c57600c60008360ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561085157610848826114f3565b60019250610861565b8160010191506107ca565b600080fd5b505090565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108c457600080fd5b60008060028111156108d257fe5b600e60009054906101000a900460ff1660028111156108ed57fe5b1415156108f957600080fd5b848490508787905014151561090d57600080fd5b600091505b868690508263ffffffff1610156109855761097787878463ffffffff16818110151561093a57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1686868563ffffffff16818110151561096b57fe5b90506020020135610ead565b508180600101925050610912565b600192505050949350505050565b6009816003811015156109a257fe5b016000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a0a57600080fd5b81518351141515610a1a57600080fd5b600090505b81518163ffffffff161015610b13576003838263ffffffff16815181101515610a4457fe5b9060200190602002015160ff16101515610a5d57600080fd5b6001600c6000858463ffffffff16815181101515610a7757fe5b9060200190602002015160ff1660ff1681526020019081526020016000206000848463ffffffff16815181101515610aab57fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080600101915050610a1f565b505050565b60055481565b60075481565b60025481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610bab57600080fd5b600060149054906101000a900460ff161515610bc657600080fd5b60008060146101000a81548160ff0219169083151502179055507f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60065481565b600d6020528060005260406000206000915090505481565b600060149054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c9a57600080fd5b6000806002811115610ca857fe5b600e60009054906101000a900460ff166002811115610cc357fe5b141515610ccf57600080fd5b816005819055505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d3557600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501515610dae57600080fd5b565b60015481565b60085481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e1757600080fd5b600060149054906101000a900460ff16151515610e3357600080fd5b6001600060146101000a81548160ff0219169083151502179055507f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b67016345785d8a000081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f0a57600080fd5b6000806002811115610f1857fe5b600e60009054906101000a900460ff166002811115610f3357fe5b141515610f3f57600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561100b57600080fd5b6102c65a03f1151561101c57600080fd5b5050506040518051905086866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15156110e857600080fd5b6102c65a03f115156110f957600080fd5b50505060405180519050151561110e57600080fd5b600191505092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561117457600080fd5b600180600281111561118257fe5b600e60009054906101000a900460ff16600281111561119d57fe5b1415156111a957600080fd5b6111b1611a63565b50565b600e60009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561122257600080fd5b600080600281111561123057fe5b600e60009054906101000a900460ff16600281111561124b57fe5b14151561125757600080fd5b6001600e60006101000a81548160ff0219169083600281111561127657fe5b02179055504260018190555062015180600154016007819055506202a300600154016008819055506112b382600854611ad390919063ffffffff16565b6002819055507f85ae6d2d52f005b7e439638c2368bb1b569ac99e8ec33ea2bd5b04952ab207cb600154600254604051808381526020018281526020019250505060405180910390a15050565b69010f0cf064dd5920000081565b600c6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6000600254421180611373575060028081111561135657fe5b600e60009054906101000a900460ff16600281111561137157fe5b145b905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113d357600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561140f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600083600080600060038460ff1610151561151057600080fd5b600154421015801561152457506002544211155b801561155557506001600281111561153857fe5b600e60009054906101000a900460ff16600281111561155357fe5b145b151561156057600080fd5b349250339150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156115ab575067016345785d8a00008310155b15156115b657600080fd5b69010f0cf064dd592000006115d684600654611ad390919063ffffffff16565b111515156115e357600080fd5b60098460ff166003811015156115f557fe5b01549050600754421015611668578061165684600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ad390919063ffffffff16565b1115151561166357600080fd5b6116e7565b6008544210156116e657611686600282611af190919063ffffffff16565b6116d884600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ad390919063ffffffff16565b111515156116e557600080fd5b5b5b33965034955061170260055487611af190919063ffffffff16565b9450600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156117d057600080fd5b6102c65a03f115156117e157600080fd5b5050506040518051905089886000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15156118ad57600080fd5b6102c65a03f115156118be57600080fd5b5050506040518051905015156118d357600080fd5b6118e886600654611ad390919063ffffffff16565b60068190555061194086600d60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ad390919063ffffffff16565b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555069010f0cf064dd592000006006541015156119a1576119a0611a63565b5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f193505050501515611a0357600080fd5b3373ffffffffffffffffffffffffffffffffffffffff167fcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f8787604051808381526020018281526020019250505060405180910390a25050505050505050565b426002819055506002600e60006101000a81548160ff02191690836002811115611a8957fe5b02179055507f02359fdde4491e11fa0985b799db1f730257a9715a67fd4b9ed9956e194025f0600254600654604051808381526020018281526020019250505060405180910390a1565b6000808284019050838110151515611ae757fe5b8091505092915050565b6000806000841415611b065760009150611b25565b8284029050828482811515611b1757fe5b04141515611b2157fe5b8091505b50929150505600a165627a7a7230582022a87af7acd57a1fde984f783b3ca7120b809759ce47f07f0b54df889aed23900029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000115c0000000000000000000000007c4b4bb0bb0fadbcb1c54ed55a3b4f1d456726c6000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000004d8fc1453a0f359e99c9675954e656d80d996fbf
-----Decoded View---------------
Arg [0] : beeToEtherRate (uint256): 4444
Arg [1] : beneficiaryAddr (address): 0x7C4b4BB0bB0FADbCB1C54ed55a3B4F1d456726c6
Arg [2] : baseContributionCapInWei (uint256): 100000000000000000
Arg [3] : tokenAddress (address): 0x4D8fc1453a0F359e99c9675954e656D80d996FbF
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000115c
Arg [1] : 0000000000000000000000007c4b4bb0bb0fadbcb1c54ed55a3b4f1d456726c6
Arg [2] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [3] : 0000000000000000000000004d8fc1453a0f359e99c9675954e656d80d996fbf
Swarm Source
bzzr://22a87af7acd57a1fde984f783b3ca7120b809759ce47f07f0b54df889aed2390
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $0.000081 | 2,500 | $0.2021 |
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.