This is the only official contribution address for Cindicator and the official website is cindicator[dot]com.
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 6,582 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Tokens | 4951748 | 2579 days ago | IN | 0 ETH | 0.00014735 | ||||
Claim Tokens | 4951732 | 2579 days ago | IN | 0 ETH | 0.00176002 | ||||
Claim Tokens | 4951702 | 2579 days ago | IN | 0 ETH | 0.00226287 | ||||
Claim Tokens | 4951639 | 2579 days ago | IN | 0 ETH | 0.00556252 | ||||
Transfer | 4311620 | 2698 days ago | IN | 0.2 ETH | 0.13431298 | ||||
Buy | 4308434 | 2699 days ago | IN | 0.01 ETH | 0.00441 | ||||
Allocate | 4308323 | 2699 days ago | IN | 0 ETH | 0.00460473 | ||||
Buy | 4308261 | 2699 days ago | IN | 2.08 ETH | 0.00441 | ||||
Transfer | 4308219 | 2699 days ago | IN | 5 ETH | 0.00189 | ||||
Buy | 4308219 | 2699 days ago | IN | 4 ETH | 0.0042 | ||||
Buy | 4308207 | 2699 days ago | IN | 9.615 ETH | 0.00441 | ||||
Buy | 4308202 | 2699 days ago | IN | 0.38937088 ETH | 0.00441 | ||||
Transfer | 4308196 | 2699 days ago | IN | 6 ETH | 0.00126 | ||||
Buy | 4308193 | 2699 days ago | IN | 9.615 ETH | 0.00441 | ||||
Transfer | 4308189 | 2699 days ago | IN | 9.6 ETH | 0.00441 | ||||
Buy | 4308189 | 2699 days ago | IN | 9.615 ETH | 0.0063 | ||||
Buy | 4308189 | 2699 days ago | IN | 2.3 ETH | 0.00441 | ||||
Buy | 4308188 | 2699 days ago | IN | 5 ETH | 0.00441 | ||||
Buy | 4308185 | 2699 days ago | IN | 9.615 ETH | 0.00441 | ||||
Buy | 4308181 | 2699 days ago | IN | 0.4 ETH | 0.00441 | ||||
Buy | 4308178 | 2699 days ago | IN | 9 ETH | 0.00441 | ||||
Transfer | 4308178 | 2699 days ago | IN | 9.615 ETH | 0.00441 | ||||
Transfer | 4308178 | 2699 days ago | IN | 5 ETH | 0.000441 | ||||
Transfer | 4308178 | 2699 days ago | IN | 0.7 ETH | 0.0042 | ||||
Buy | 4308178 | 2699 days ago | IN | 9.615 ETH | 0.00525 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
4308177 | 2699 days ago | 8.46207437 ETH | ||||
4308177 | 2699 days ago | 1.15292562 ETH | ||||
4308177 | 2699 days ago | 1.15292562 ETH | ||||
4308177 | 2699 days ago | 0.61 ETH | ||||
4308173 | 2699 days ago | 1 ETH | ||||
4308171 | 2699 days ago | 2.75 ETH | ||||
4308162 | 2699 days ago | 0.4 ETH | ||||
4308160 | 2699 days ago | 1.3 ETH | ||||
4308160 | 2699 days ago | 7.21292562 ETH | ||||
4308160 | 2699 days ago | 9.615 ETH | ||||
4308160 | 2699 days ago | 9.615 ETH | ||||
4308157 | 2699 days ago | 9.6 ETH | ||||
4308153 | 2699 days ago | 9.6 ETH | ||||
4308148 | 2699 days ago | 9.615 ETH | ||||
4308148 | 2699 days ago | 9.615 ETH | ||||
4308148 | 2699 days ago | 0.55 ETH | ||||
4308143 | 2699 days ago | 4.10419205 ETH | ||||
4308143 | 2699 days ago | 9.615 ETH | ||||
4308143 | 2699 days ago | 9.615 ETH | ||||
4308142 | 2699 days ago | 5 ETH | ||||
4308139 | 2699 days ago | 9.615 ETH | ||||
4308139 | 2699 days ago | 1.9 ETH | ||||
4308138 | 2699 days ago | 9.615 ETH | ||||
4308137 | 2699 days ago | 0.751 ETH | ||||
4308136 | 2699 days ago | 1.4 ETH |
Loading...
Loading
Contract Name:
Contribution
Compiler Version
v0.4.15+commit.bbb8e64f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-09-09 */ pragma solidity ^0.4.15; contract TokenController { /// @notice Called when `_owner` sends ether to the MiniMe Token contract /// @param _owner The address that sent the ether to create tokens /// @return True if the ether is accepted, false if it throws function proxyPayment(address _owner) payable returns(bool); /// @notice Notifies the controller about a token transfer allowing the /// controller to react if desired /// @param _from The origin of the transfer /// @param _to The destination of the transfer /// @param _amount The amount of the transfer /// @return False if the controller does not authorize the transfer function onTransfer(address _from, address _to, uint _amount) returns(bool); /// @notice Notifies the controller about an approval allowing the /// controller to react if desired /// @param _owner The address that calls `approve()` /// @param _spender The spender in the `approve()` call /// @param _amount The amount in the `approve()` call /// @return False if the controller does not authorize the approval function onApprove(address _owner, address _spender, uint _amount) returns(bool); } contract Controlled { /// @notice The address of the controller is the only address that can call /// a function with this modifier modifier onlyController { require(msg.sender == controller); _; } address public controller; function Controlled() { controller = msg.sender;} /// @notice Changes the controller of the contract /// @param _newController The new controller of the contract function changeController(address _newController) onlyController { controller = _newController; } } contract ApproveAndCallFallBack { function receiveApproval(address from, uint256 _amount, address _token, bytes _data); } contract MiniMeToken is Controlled { string public name; //The Token's name: e.g. DigixDAO Tokens uint8 public decimals; //Number of decimals of the smallest unit string public symbol; //An identifier: e.g. REP string public version = 'MMT_0.1'; //An arbitrary versioning scheme /// @dev `Checkpoint` is the structure that attaches a block number to a /// given value, the block number attached is the one that last changed the /// value struct Checkpoint { // `fromBlock` is the block number that the value was generated from uint128 fromBlock; // `value` is the amount of tokens at a specific block number uint128 value; } // `parentToken` is the Token address that was cloned to produce this token; // it will be 0x0 for a token that was not cloned MiniMeToken public parentToken; // `parentSnapShotBlock` is the block number from the Parent Token that was // used to determine the initial distribution of the Clone Token uint public parentSnapShotBlock; // `creationBlock` is the block number that the Clone Token was created uint public creationBlock; // `balances` is the map that tracks the balance of each address, in this // contract when the balance changes the block number that the change // occurred is also included in the map mapping (address => Checkpoint[]) balances; // `allowed` tracks any extra transfer rights as in all ERC20 tokens mapping (address => mapping (address => uint256)) allowed; // Tracks the history of the `totalSupply` of the token Checkpoint[] totalSupplyHistory; // Flag that determines if the token is transferable or not. bool public transfersEnabled; // The factory used to create new clone tokens MiniMeTokenFactory public tokenFactory; //////////////// // Constructor //////////////// /// @notice Constructor to create a MiniMeToken /// @param _tokenFactory The address of the MiniMeTokenFactory contract that /// will create the Clone token contracts, the token factory needs to be /// deployed first /// @param _parentToken Address of the parent token, set to 0x0 if it is a /// new token /// @param _parentSnapShotBlock Block of the parent token that will /// determine the initial distribution of the clone token, set to 0 if it /// is a new token /// @param _tokenName Name of the new token /// @param _decimalUnits Number of decimals of the new token /// @param _tokenSymbol Token Symbol for the new token /// @param _transfersEnabled If true, tokens will be able to be transferred function MiniMeToken( address _tokenFactory, address _parentToken, uint _parentSnapShotBlock, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, bool _transfersEnabled ) { tokenFactory = MiniMeTokenFactory(_tokenFactory); name = _tokenName; // Set the name decimals = _decimalUnits; // Set the decimals symbol = _tokenSymbol; // Set the symbol parentToken = MiniMeToken(_parentToken); parentSnapShotBlock = _parentSnapShotBlock; transfersEnabled = _transfersEnabled; creationBlock = block.number; } /////////////////// // ERC20 Methods /////////////////// /// @notice Send `_amount` tokens to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _amount The amount of tokens to be transferred /// @return Whether the transfer was successful or not function transfer(address _to, uint256 _amount) returns (bool success) { require(transfersEnabled); return doTransfer(msg.sender, _to, _amount); } /// @notice Send `_amount` tokens to `_to` from `_from` on the condition it /// is approved by `_from` /// @param _from The address holding the tokens being transferred /// @param _to The address of the recipient /// @param _amount The amount of tokens to be transferred /// @return True if the transfer was successful function transferFrom(address _from, address _to, uint256 _amount ) returns (bool success) { // The controller of this contract can move tokens around at will, // this is important to recognize! Confirm that you trust the // controller of this contract, which in most situations should be // another open source smart contract or 0x0 if (msg.sender != controller) { require(transfersEnabled); // The standard ERC 20 transferFrom functionality if (allowed[_from][msg.sender] < _amount) return false; allowed[_from][msg.sender] -= _amount; } return doTransfer(_from, _to, _amount); } /// @dev This is the actual transfer function in the token contract, it can /// only be called by other functions in this contract. /// @param _from The address holding the tokens being transferred /// @param _to The address of the recipient /// @param _amount The amount of tokens to be transferred /// @return True if the transfer was successful function doTransfer(address _from, address _to, uint _amount ) internal returns(bool) { if (_amount == 0) { return true; } require(parentSnapShotBlock < block.number); // Do not allow transfer to 0x0 or the token contract itself require((_to != 0) && (_to != address(this))); // If the amount being transfered is more than the balance of the // account the transfer returns false var previousBalanceFrom = balanceOfAt(_from, block.number); if (previousBalanceFrom < _amount) { return false; } // Alerts the token controller of the transfer if (isContract(controller)) { require(TokenController(controller).onTransfer(_from, _to, _amount)); } // First update the balance array with the new value for the address // sending the tokens updateValueAtNow(balances[_from], previousBalanceFrom - _amount); // Then update the balance array with the new value for the address // receiving the tokens var previousBalanceTo = balanceOfAt(_to, block.number); require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow updateValueAtNow(balances[_to], previousBalanceTo + _amount); // An event to make the transfer easy to find on the blockchain Transfer(_from, _to, _amount); return true; } /// @param _owner The address that's balance is being requested /// @return The balance of `_owner` at the current block function balanceOf(address _owner) constant returns (uint256 balance) { return balanceOfAt(_owner, block.number); } /// @notice `msg.sender` approves `_spender` to spend `_amount` tokens on /// its behalf. This is a modified version of the ERC20 approve function /// to be a little bit safer /// @param _spender The address of the account able to transfer the tokens /// @param _amount The amount of tokens to be approved for transfer /// @return True if the approval was successful function approve(address _spender, uint256 _amount) returns (bool success) { require(transfersEnabled); // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender,0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 require((_amount == 0) || (allowed[msg.sender][_spender] == 0)); // Alerts the token controller of the approve function call if (isContract(controller)) { require(TokenController(controller).onApprove(msg.sender, _spender, _amount)); } allowed[msg.sender][_spender] = _amount; Approval(msg.sender, _spender, _amount); return true; } /// @dev This function makes it easy to read the `allowed[]` map /// @param _owner The address of the account that owns the token /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens of _owner that _spender is allowed /// to spend function allowance(address _owner, address _spender ) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /// @notice `msg.sender` approves `_spender` to send `_amount` tokens on /// its behalf, and then a function is triggered in the contract that is /// being approved, `_spender`. This allows users to use their tokens to /// interact with contracts in one function call instead of two /// @param _spender The address of the contract able to transfer the tokens /// @param _amount The amount of tokens to be approved for transfer /// @return True if the function call was successful function approveAndCall(address _spender, uint256 _amount, bytes _extraData ) returns (bool success) { require(approve(_spender, _amount)); ApproveAndCallFallBack(_spender).receiveApproval( msg.sender, _amount, this, _extraData ); return true; } /// @dev This function makes it easy to get the total number of tokens /// @return The total number of tokens function totalSupply() constant returns (uint) { return totalSupplyAt(block.number); } //////////////// // Query balance and totalSupply in History //////////////// /// @dev Queries the balance of `_owner` at a specific `_blockNumber` /// @param _owner The address from which the balance will be retrieved /// @param _blockNumber The block number when the balance is queried /// @return The balance at `_blockNumber` function balanceOfAt(address _owner, uint _blockNumber) constant returns (uint) { // These next few lines are used when the balance of the token is // requested before a check point was ever created for this token, it // requires that the `parentToken.balanceOfAt` be queried at the // genesis block for that token as this contains initial balance of // this token if ((balances[_owner].length == 0) || (balances[_owner][0].fromBlock > _blockNumber)) { if (address(parentToken) != 0) { return parentToken.balanceOfAt(_owner, min(_blockNumber, parentSnapShotBlock)); } else { // Has no parent return 0; } // This will return the expected balance during normal situations } else { return getValueAt(balances[_owner], _blockNumber); } } /// @notice Total amount of tokens at a specific `_blockNumber`. /// @param _blockNumber The block number when the totalSupply is queried /// @return The total amount of tokens at `_blockNumber` function totalSupplyAt(uint _blockNumber) constant returns(uint) { // These next few lines are used when the totalSupply of the token is // requested before a check point was ever created for this token, it // requires that the `parentToken.totalSupplyAt` be queried at the // genesis block for this token as that contains totalSupply of this // token at this block number. if ((totalSupplyHistory.length == 0) || (totalSupplyHistory[0].fromBlock > _blockNumber)) { if (address(parentToken) != 0) { return parentToken.totalSupplyAt(min(_blockNumber, parentSnapShotBlock)); } else { return 0; } // This will return the expected totalSupply during normal situations } else { return getValueAt(totalSupplyHistory, _blockNumber); } } //////////////// // Clone Token Method //////////////// /// @notice Creates a new clone token with the initial distribution being /// this token at `_snapshotBlock` /// @param _cloneTokenName Name of the clone token /// @param _cloneDecimalUnits Number of decimals of the smallest unit /// @param _cloneTokenSymbol Symbol of the clone token /// @param _snapshotBlock Block when the distribution of the parent token is /// copied to set the initial distribution of the new clone token; /// if the block is zero than the actual block, the current block is used /// @param _transfersEnabled True if transfers are allowed in the clone /// @return The address of the new MiniMeToken Contract function createCloneToken( string _cloneTokenName, uint8 _cloneDecimalUnits, string _cloneTokenSymbol, uint _snapshotBlock, bool _transfersEnabled ) returns(address) { if (_snapshotBlock == 0) _snapshotBlock = block.number; MiniMeToken cloneToken = tokenFactory.createCloneToken( this, _snapshotBlock, _cloneTokenName, _cloneDecimalUnits, _cloneTokenSymbol, _transfersEnabled ); cloneToken.changeController(msg.sender); // An event to make the token easy to find on the blockchain NewCloneToken(address(cloneToken), _snapshotBlock); return address(cloneToken); } //////////////// // Generate and destroy tokens //////////////// /// @notice Generates `_amount` tokens that are assigned to `_owner` /// @param _owner The address that will be assigned the new tokens /// @param _amount The quantity of tokens generated /// @return True if the tokens are generated correctly function generateTokens(address _owner, uint _amount ) onlyController returns (bool) { uint curTotalSupply = totalSupply(); require(curTotalSupply + _amount >= curTotalSupply); // Check for overflow uint previousBalanceTo = balanceOf(_owner); require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow updateValueAtNow(totalSupplyHistory, curTotalSupply + _amount); updateValueAtNow(balances[_owner], previousBalanceTo + _amount); Transfer(0, _owner, _amount); return true; } /// @notice Burns `_amount` tokens from `_owner` /// @param _owner The address that will lose the tokens /// @param _amount The quantity of tokens to burn /// @return True if the tokens are burned correctly function destroyTokens(address _owner, uint _amount ) onlyController returns (bool) { uint curTotalSupply = totalSupply(); require(curTotalSupply >= _amount); uint previousBalanceFrom = balanceOf(_owner); require(previousBalanceFrom >= _amount); updateValueAtNow(totalSupplyHistory, curTotalSupply - _amount); updateValueAtNow(balances[_owner], previousBalanceFrom - _amount); Transfer(_owner, 0, _amount); return true; } //////////////// // Enable tokens transfers //////////////// /// @notice Enables token holders to transfer their tokens freely if true /// @param _transfersEnabled True if transfers are allowed in the clone function enableTransfers(bool _transfersEnabled) onlyController { transfersEnabled = _transfersEnabled; } //////////////// // Internal helper functions to query and set a value in a snapshot array //////////////// /// @dev `getValueAt` retrieves the number of tokens at a given block number /// @param checkpoints The history of values being queried /// @param _block The block number to retrieve the value at /// @return The number of tokens being queried function getValueAt(Checkpoint[] storage checkpoints, uint _block ) constant internal returns (uint) { if (checkpoints.length == 0) return 0; // Shortcut for the actual value if (_block >= checkpoints[checkpoints.length-1].fromBlock) return checkpoints[checkpoints.length-1].value; if (_block < checkpoints[0].fromBlock) return 0; // Binary search of the value in the array uint min = 0; uint max = checkpoints.length-1; while (max > min) { uint mid = (max + min + 1)/ 2; if (checkpoints[mid].fromBlock<=_block) { min = mid; } else { max = mid-1; } } return checkpoints[min].value; } /// @dev `updateValueAtNow` used to update the `balances` map and the /// `totalSupplyHistory` /// @param checkpoints The history of data being updated /// @param _value The new number of tokens function updateValueAtNow(Checkpoint[] storage checkpoints, uint _value ) internal { if ((checkpoints.length == 0) || (checkpoints[checkpoints.length -1].fromBlock < block.number)) { Checkpoint storage newCheckPoint = checkpoints[ checkpoints.length++ ]; newCheckPoint.fromBlock = uint128(block.number); newCheckPoint.value = uint128(_value); } else { Checkpoint storage oldCheckPoint = checkpoints[checkpoints.length-1]; oldCheckPoint.value = uint128(_value); } } /// @dev Internal function to determine if an address is a contract /// @param _addr The address being queried /// @return True if `_addr` is a contract function isContract(address _addr) constant internal returns(bool) { uint size; if (_addr == 0) return false; assembly { size := extcodesize(_addr) } return size>0; } /// @dev Helper function to return a min betwen the two uints function min(uint a, uint b) internal returns (uint) { return a < b ? a : b; } /// @notice The fallback function: If the contract's controller has not been /// set to 0, then the `proxyPayment` method is called which relays the /// ether and creates tokens as described in the token controller contract function () payable { require(isContract(controller)); require(TokenController(controller).proxyPayment.value(msg.value)(msg.sender)); } ////////// // Safety Methods ////////// /// @notice This method can be used by the controller to extract mistakenly /// sent tokens to this contract. /// @param _token The address of the token contract that you want to recover /// set to 0 in case you want to extract ether. function claimTokens(address _token) public onlyController { if (_token == 0x0) { controller.transfer(this.balance); return; } MiniMeToken token = MiniMeToken(_token); uint balance = token.balanceOf(this); token.transfer(controller, balance); ClaimedTokens(_token, controller, balance); } //////////////// // Events //////////////// event ClaimedTokens(address indexed _token, address indexed _controller, uint _amount); event Transfer(address indexed _from, address indexed _to, uint256 _amount); event NewCloneToken(address indexed _cloneToken, uint _snapshotBlock); event Approval( address indexed _owner, address indexed _spender, uint256 _amount ); } contract CND is MiniMeToken { /** * @dev Constructor */ uint256 public constant IS_CND_CONTRACT_MAGIC_NUMBER = 0x1338; function CND(address _tokenFactory) MiniMeToken( _tokenFactory, 0x0, // no parent token 0, // no snapshot block number from parent "Cindicator Token", // Token name 18, // Decimals "CND", // Symbol true // Enable transfers ) {} function() payable { require(false); } } contract MiniMeTokenFactory { /// @notice Update the DApp by creating a new token with new functionalities /// the msg.sender becomes the controller of this clone token /// @param _parentToken Address of the token being cloned /// @param _snapshotBlock Block of the parent token that will /// determine the initial distribution of the clone token /// @param _tokenName Name of the new token /// @param _decimalUnits Number of decimals of the new token /// @param _tokenSymbol Token Symbol for the new token /// @param _transfersEnabled If true, tokens will be able to be transferred /// @return The address of the new token contract function createCloneToken( address _parentToken, uint _snapshotBlock, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, bool _transfersEnabled ) returns (MiniMeToken) { MiniMeToken newToken = new MiniMeToken( this, _parentToken, _snapshotBlock, _tokenName, _decimalUnits, _tokenSymbol, _transfersEnabled ); newToken.changeController(msg.sender); return newToken; } } library SafeMath { function mul(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract Contribution is Controlled, TokenController { using SafeMath for uint256; struct WhitelistedInvestor { uint256 tier; bool status; uint256 contributedAmount; } mapping(address => WhitelistedInvestor) investors; Tier[4] public tiers; uint256 public tierCount; MiniMeToken public cnd; bool public transferable = false; uint256 public October12_2017 = 1507830400; address public contributionWallet; address public foundersWallet; address public advisorsWallet; address public bountyWallet; bool public finalAllocation; uint256 public totalTokensSold; bool public paused = false; modifier notAllocated() { require(finalAllocation == false); _; } modifier endedSale() { require(tierCount == 4); //when last one finished it should be equal to 4 _; } modifier tokenInitialized() { assert(address(cnd) != 0x0); _; } modifier initialized() { Tier tier = tiers[tierCount]; assert(tier.initializedTime() != 0); _; } /// @notice Provides information if contribution is open /// @return False if the contribuion is closed function contributionOpen() public constant returns(bool) { Tier tier = tiers[tierCount]; return (getBlockTimestamp() >= tier.startTime() && getBlockTimestamp() <= tier.endTime() && tier.finalizedTime() == 0); } modifier notPaused() { require(!paused); _; } function Contribution(address _contributionWallet, address _foundersWallet, address _advisorsWallet, address _bountyWallet) { require(_contributionWallet != 0x0); require(_foundersWallet != 0x0); require(_advisorsWallet != 0x0); require(_bountyWallet != 0x0); contributionWallet = _contributionWallet; foundersWallet = _foundersWallet; advisorsWallet =_advisorsWallet; bountyWallet = _bountyWallet; tierCount = 0; } /// @notice Initializes CND token to contribution /// @param _cnd The address of the token contract that you want to set function initializeToken(address _cnd) public onlyController { assert(CND(_cnd).controller() == address(this)); assert(CND(_cnd).IS_CND_CONTRACT_MAGIC_NUMBER() == 0x1338); require(_cnd != 0x0); cnd = CND(_cnd); } /// @notice Initializes Tier contribution /// @param _tierNumber number of tier to initialize /// @param _tierAddress address of deployed tier function initializeTier( uint256 _tierNumber, address _tierAddress ) public onlyController tokenInitialized { Tier tier = Tier(_tierAddress); assert(tier.controller() == address(this)); //cannot be more than 4 tiers require(_tierNumber >= 0 && _tierNumber <= 3); assert(tier.IS_TIER_CONTRACT_MAGIC_NUMBER() == 0x1337); // check if tier is not defined assert(tiers[_tierNumber] == address(0)); tiers[_tierNumber] = tier; InitializedTier(_tierNumber, _tierAddress); } /// @notice If anybody sends Ether directly to this contract, consider the sender will /// be rejected. function () public { require(false); } /// @notice Amount of tokens an investor can purchase /// @param _investor investor address /// @return number of tokens function investorAmountTokensToBuy(address _investor) public constant returns(uint256) { WhitelistedInvestor memory investor = investors[_investor]; Tier tier = tiers[tierCount]; uint256 leftToBuy = tier.maxInvestorCap().sub(investor.contributedAmount).mul(tier.exchangeRate()); return leftToBuy; } /// @notice Notifies if an investor is whitelisted for contribution /// @param _investor investor address /// @param _tier tier Number /// @return number of tokens function isWhitelisted(address _investor, uint256 _tier) public constant returns(bool) { WhitelistedInvestor memory investor = investors[_investor]; return (investor.tier <= _tier && investor.status); } /// @notice interface for founders to whitelist investors /// @param _addresses array of investors /// @param _tier tier Number /// @param _status enable or disable function whitelistAddresses(address[] _addresses, uint256 _tier, bool _status) public onlyController { for (uint256 i = 0; i < _addresses.length; i++) { address investorAddress = _addresses[i]; require(investors[investorAddress].contributedAmount == 0); investors[investorAddress] = WhitelistedInvestor(_tier, _status, 0); } } /// @notice Public function to buy tokens function buy() public payable { proxyPayment(msg.sender); } /// use buy function instead of proxyPayment /// the param address is useless, it always reassigns to msg.sender function proxyPayment(address) public payable notPaused initialized returns (bool) { assert(isCurrentTierCapReached() == false); assert(contributionOpen()); require(isWhitelisted(msg.sender, tierCount)); doBuy(); return true; } /// @notice Notifies the controller about a token transfer allowing the /// controller to react if desired /// @return False if the controller does not authorize the transfer function onTransfer(address /* _from */, address /* _to */, uint256 /* _amount */) returns(bool) { return (transferable || getBlockTimestamp() >= October12_2017 ); } /// @notice Notifies the controller about an approval allowing the /// controller to react if desired /// @return False if the controller does not authorize the approval function onApprove(address /* _owner */, address /* _spender */, uint /* _amount */) returns(bool) { return (transferable || getBlockTimestamp() >= October12_2017); } /// @notice Allows founders to set transfers before October12_2017 /// @param _transferable set True if founders want to let people make transfers function allowTransfers(bool _transferable) onlyController { transferable = _transferable; } /// @notice calculates how many tokens left for sale /// @return Number of tokens left for tier function leftForSale() public constant returns(uint256) { Tier tier = tiers[tierCount]; uint256 weiLeft = tier.cap().sub(tier.totalInvestedWei()); uint256 tokensLeft = weiLeft.mul(tier.exchangeRate()); return tokensLeft; } /// @notice actual method that funds investor and contribution wallet function doBuy() internal { Tier tier = tiers[tierCount]; assert(msg.value <= tier.maxInvestorCap()); address caller = msg.sender; WhitelistedInvestor storage investor = investors[caller]; uint256 investorTokenBP = investorAmountTokensToBuy(caller); require(investorTokenBP > 0); if(investor.contributedAmount == 0) { assert(msg.value >= tier.minInvestorCap()); } uint256 toFund = msg.value; uint256 tokensGenerated = toFund.mul(tier.exchangeRate()); // check that at least 1 token will be generated require(tokensGenerated >= 1); uint256 tokensleftForSale = leftForSale(); if(tokensleftForSale > investorTokenBP ) { if(tokensGenerated > investorTokenBP) { tokensGenerated = investorTokenBP; toFund = investorTokenBP.div(tier.exchangeRate()); } } if(investorTokenBP > tokensleftForSale) { if(tokensGenerated > tokensleftForSale) { tokensGenerated = tokensleftForSale; toFund = tokensleftForSale.div(tier.exchangeRate()); } } investor.contributedAmount = investor.contributedAmount.add(toFund); tier.increaseInvestedWei(toFund); if (tokensGenerated == tokensleftForSale) { finalize(); } assert(cnd.generateTokens(caller, tokensGenerated)); totalTokensSold = totalTokensSold.add(tokensGenerated); contributionWallet.transfer(toFund); NewSale(caller, toFund, tokensGenerated); uint256 toReturn = msg.value.sub(toFund); if (toReturn > 0) { caller.transfer(toReturn); Refund(toReturn); } } /// @notice This method will can be called by the anybody to make final allocation /// @return result if everything went succesfully function allocate() public notAllocated endedSale returns(bool) { finalAllocation = true; uint256 totalSupplyCDN = totalTokensSold.mul(100).div(75); // calculate 100% uint256 foundersAllocation = totalSupplyCDN.div(5); // 20% goes to founders assert(cnd.generateTokens(foundersWallet, foundersAllocation)); uint256 advisorsAllocation = totalSupplyCDN.mul(38).div(1000); // 3.8% goes to advisors assert(cnd.generateTokens(advisorsWallet, advisorsAllocation)); uint256 bountyAllocation = totalSupplyCDN.mul(12).div(1000); // 1.2% goes to bounty program assert(cnd.generateTokens(bountyWallet, bountyAllocation)); return true; } /// @notice This method will can be called by the controller after the contribution period /// end or by anybody after the `endTime`. This method finalizes the contribution period function finalize() public initialized { Tier tier = tiers[tierCount]; assert(tier.finalizedTime() == 0); assert(getBlockTimestamp() >= tier.startTime()); assert(msg.sender == controller || getBlockTimestamp() > tier.endTime() || isCurrentTierCapReached()); tier.finalize(); tierCount++; FinalizedTier(tierCount, tier.finalizedTime()); } /// @notice check if tier cap has reached /// @return False if it's still open function isCurrentTierCapReached() public constant returns(bool) { Tier tier = tiers[tierCount]; return tier.isCapReached(); } ////////// // Testing specific methods ////////// function getBlockTimestamp() internal constant returns (uint256) { return block.timestamp; } ////////// // Safety Methods ////////// /// @notice This method can be used by the controller to extract mistakenly /// sent tokens to this contract. /// @param _token The address of the token contract that you want to recover /// set to 0 in case you want to extract ether. function claimTokens(address _token) public onlyController { if (cnd.controller() == address(this)) { cnd.claimTokens(_token); } if (_token == 0x0) { controller.transfer(this.balance); return; } CND token = CND(_token); uint256 balance = token.balanceOf(this); token.transfer(controller, balance); ClaimedTokens(_token, controller, balance); } /// @notice Pauses the contribution if there is any issue function pauseContribution(bool _paused) onlyController { paused = _paused; } event ClaimedTokens(address indexed _token, address indexed _controller, uint256 _amount); event NewSale(address indexed _th, uint256 _amount, uint256 _tokens); event InitializedTier(uint256 _tierNumber, address _tierAddress); event FinalizedTier(uint256 _tierCount, uint256 _now); event Refund(uint256 _amount); } contract Tier is Controlled { using SafeMath for uint256; uint256 public cap; uint256 public exchangeRate; uint256 public minInvestorCap; uint256 public maxInvestorCap; uint256 public startTime; uint256 public endTime; uint256 public initializedTime; uint256 public finalizedTime; uint256 public totalInvestedWei; uint256 public constant IS_TIER_CONTRACT_MAGIC_NUMBER = 0x1337; modifier notFinished() { require(finalizedTime == 0); _; } function Tier( uint256 _cap, uint256 _minInvestorCap, uint256 _maxInvestorCap, uint256 _exchangeRate, uint256 _startTime, uint256 _endTime ) { require(initializedTime == 0); assert(_startTime >= getBlockTimestamp()); require(_startTime < _endTime); startTime = _startTime; endTime = _endTime; require(_cap > 0); require(_cap > _maxInvestorCap); cap = _cap; require(_minInvestorCap < _maxInvestorCap && _maxInvestorCap > 0); minInvestorCap = _minInvestorCap; maxInvestorCap = _maxInvestorCap; require(_exchangeRate > 0); exchangeRate = _exchangeRate; initializedTime = getBlockTimestamp(); InitializedTier(_cap, _minInvestorCap, maxInvestorCap, _startTime, _endTime); } function getBlockTimestamp() internal constant returns (uint256) { return block.timestamp; } function isCapReached() public constant returns(bool) { return totalInvestedWei == cap; } function finalize() public onlyController { require(finalizedTime == 0); uint256 currentTime = getBlockTimestamp(); assert(cap == totalInvestedWei || currentTime > endTime || msg.sender == controller); finalizedTime = currentTime; } function increaseInvestedWei(uint256 _wei) external onlyController notFinished { totalInvestedWei = totalInvestedWei.add(_wei); IncreaseInvestedWeiAmount(_wei, totalInvestedWei); } event InitializedTier( uint256 _cap, uint256 _minInvestorCap, uint256 _maxInvestorCap, uint256 _startTime, uint256 _endTime ); function () public { require(false); } event IncreaseInvestedWeiAmount(uint256 _amount, uint256 _newWei); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tiers","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"foundersWallet","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_cnd","type":"address"}],"name":"initializeToken","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_paused","type":"bool"}],"name":"pauseContribution","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"cnd","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newController","type":"address"}],"name":"changeController","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"onTransfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalTokensSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_tierNumber","type":"uint256"},{"name":"_tierAddress","type":"address"}],"name":"initializeTier","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"advisorsWallet","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"finalAllocation","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_addresses","type":"address[]"},{"name":"_tier","type":"uint256"},{"name":"_status","type":"bool"}],"name":"whitelistAddresses","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_investor","type":"address"},{"name":"_tier","type":"uint256"}],"name":"isWhitelisted","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"contributionOpen","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"transferable","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tierCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[{"name":"_investor","type":"address"}],"name":"investorAmountTokensToBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_transferable","type":"bool"}],"name":"allowTransfers","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"allocate","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"October12_2017","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"leftForSale","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isCurrentTierCapReached","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"onApprove","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"claimTokens","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"bountyWallet","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"contributionWallet","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"","type":"address"}],"name":"proxyPayment","outputs":[{"name":"","type":"bool"}],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"inputs":[{"name":"_contributionWallet","type":"address"},{"name":"_foundersWallet","type":"address"},{"name":"_advisorsWallet","type":"address"},{"name":"_bountyWallet","type":"address"}],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_token","type":"address"},{"indexed":true,"name":"_controller","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"ClaimedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_th","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_tokens","type":"uint256"}],"name":"NewSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_tierNumber","type":"uint256"},{"indexed":false,"name":"_tierAddress","type":"address"}],"name":"InitializedTier","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_tierCount","type":"uint256"},{"indexed":false,"name":"_now","type":"uint256"}],"name":"FinalizedTier","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Refund","type":"event"}]
Contract Creation Code
60606040526007805460a060020a60ff02191690556359dfaa80600855600e805460ff19169055341561003157600080fd5b604051608080612208833981016040528080519190602001805191906020018051919060200180519150505b5b60008054600160a060020a03191633600160a060020a03161790555b600160a060020a038416151561008f57600080fd5b600160a060020a03831615156100a457600080fd5b600160a060020a03821615156100b957600080fd5b600160a060020a03811615156100ce57600080fd5b60098054600160a060020a03808716600160a060020a031992831617909255600a8054868416908316179055600b8054858416908316179055600c80549284169290911691909117905560006006555b505050505b6120d6806101326000396000f3006060604052361561016f5763ffffffff60e060020a600035041663039af9eb81146101835780631bfaf155146101b5578063234a6ed8146101e4578063296032f214610205578063334f06111461021f5780633cebb8231461024e5780634a3931491461026f5780634bb278f3146102ab5780635c975abb146102c057806363b20117146102e7578063674ef6c31461030c5780636b252b47146103305780636b440e9a1461035f578063763730bd14610386578063830639ac146103e05780638f3506241461041657806392ff0d311461043d57806396b55f7d14610464578063a6f2ae3a14610489578063a7dfc42014610493578063a8b25075146104c4578063abaa9916146104de578063d07fdfb014610505578063d1e6a64f1461052a578063d75225821461054f578063da682aeb1461026f578063df8de3e7146105b2578063e5760520146105d3578063e846f99714610602578063f48c305414610631578063f77c479114610659575b341561017a57600080fd5b5b600080fd5b5b005b341561018e57600080fd5b610199600435610688565b604051600160a060020a03909116815260200160405180910390f35b34156101c057600080fd5b6101996106af565b604051600160a060020a03909116815260200160405180910390f35b34156101ef57600080fd5b610180600160a060020a03600435166106be565b005b341561021057600080fd5b6101806004351515610803565b005b341561022a57600080fd5b610199610831565b604051600160a060020a03909116815260200160405180910390f35b341561025957600080fd5b610180600160a060020a0360043516610840565b005b341561027a57600080fd5b610297600160a060020a0360043581169060243516604435610888565b604051901515815260200160405180910390f35b34156102b657600080fd5b6101806108b6565b005b34156102cb57600080fd5b610297610be2565b604051901515815260200160405180910390f35b34156102f257600080fd5b6102fa610beb565b60405190815260200160405180910390f35b341561031757600080fd5b610180600435600160a060020a0360243516610bf1565b005b341561033b57600080fd5b610199610dd6565b604051600160a060020a03909116815260200160405180910390f35b341561036a57600080fd5b610297610de5565b604051901515815260200160405180910390f35b341561039157600080fd5b6101806004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650508435946020013515159350610df592505050565b005b34156103eb57600080fd5b610297600160a060020a0360043516602435610ed3565b604051901515815260200160405180910390f35b341561042157600080fd5b610297610f42565b604051901515815260200160405180910390f35b341561044857600080fd5b6102976110bd565b604051901515815260200160405180910390f35b341561046f57600080fd5b6102fa6110cd565b60405190815260200160405180910390f35b6101806110d3565b005b341561049e57600080fd5b6102fa600160a060020a03600435166110e0565b60405190815260200160405180910390f35b34156104cf57600080fd5b6101806004351515611249565b005b34156104e957600080fd5b610297611291565b604051901515815260200160405180910390f35b341561051057600080fd5b6102fa611518565b60405190815260200160405180910390f35b341561053557600080fd5b6102fa61151e565b60405190815260200160405180910390f35b341561055a57600080fd5b61029761169c565b604051901515815260200160405180910390f35b341561027a57600080fd5b610297600160a060020a0360043581169060243516604435610888565b604051901515815260200160405180910390f35b34156105bd57600080fd5b610180600160a060020a036004351661175d565b005b34156105de57600080fd5b6101996119e5565b604051600160a060020a03909116815260200160405180910390f35b341561060d57600080fd5b6101996119f4565b604051600160a060020a03909116815260200160405180910390f35b610297600160a060020a0360043516611a03565b604051901515815260200160405180910390f35b341561066457600080fd5b610199611af5565b604051600160a060020a03909116815260200160405180910390f35b6002816004811061069557fe5b0160005b915054906101000a9004600160a060020a031681565b600a54600160a060020a031681565b60005433600160a060020a039081169116146106d957600080fd5b30600160a060020a031681600160a060020a031663f77c47916000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561072957600080fd5b6102c65a03f1151561073a57600080fd5b50505060405180519050600160a060020a031614151561075657fe5b80600160a060020a031663c16d13776000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561079c57600080fd5b6102c65a03f115156107ad57600080fd5b50505060405180516113381490506107c157fe5b600160a060020a03811615156107d657600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60005433600160a060020a0390811691161461081e57600080fd5b600e805460ff19168215151790555b5b50565b600754600160a060020a031681565b60005433600160a060020a0390811691161461085b57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60075460009060a060020a900460ff16806108ac57506008546108a9611b04565b10155b90505b9392505050565b60008060026006546004811015156108ca57fe5b0160005b9054906101000a9004600160a060020a0316905080600160a060020a031663f81f81016000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561092857600080fd5b6102c65a03f1151561093957600080fd5b50505060405180511515905061094b57fe5b6006546002906004811061095b57fe5b0160005b9054906101000a9004600160a060020a0316915081600160a060020a031663fe67a1896000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156109b957600080fd5b6102c65a03f115156109ca57600080fd5b50505060405180511590506109db57fe5b81600160a060020a03166378e979256000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610a2157600080fd5b6102c65a03f11515610a3257600080fd5b50505060405180519050610a44611b04565b1015610a4c57fe5b60005433600160a060020a0390811691161480610acf575081600160a060020a0316633197cbb66000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610aaa57600080fd5b6102c65a03f11515610abb57600080fd5b50505060405180519050610acd611b04565b115b80610add5750610add61169c565b5b1515610ae657fe5b81600160a060020a0316634bb278f36040518163ffffffff1660e060020a028152600401600060405180830381600087803b1515610b2357600080fd5b6102c65a03f11515610b3457600080fd5b505060068054600101908190557f6d3f008a218910723199a83b1200a39efd6a08b329d982e27eafd65bb938a5689150600160a060020a03841663fe67a1896000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610baa57600080fd5b6102c65a03f11515610bbb57600080fd5b5050506040518051905060405191825260208201526040908101905180910390a15b5b5050565b600e5460ff1681565b600d5481565b6000805433600160a060020a03908116911614610c0d57600080fd5b600754600160a060020a03161515610c2157fe5b81905030600160a060020a031681600160a060020a031663f77c47916000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610c7457600080fd5b6102c65a03f11515610c8557600080fd5b50505060405180519050600160a060020a0316141515610ca157fe5b60008310158015610cb3575060038311155b1515610cbe57600080fd5b80600160a060020a031663fa50b3356000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610d0457600080fd5b6102c65a03f11515610d1557600080fd5b5050506040518051611337149050610d2957fe5b600060028460048110610d3857fe5b0160005b9054600160a060020a036101009290920a90041614610d5757fe5b8060028460048110610d6557fe5b0160005b6101000a815481600160a060020a030219169083600160a060020a031602179055507f4ce61604337bd51817e5c0fcc6750f9f529b9af602be0c3772fdd924b93519238383604051918252600160a060020a031660208201526040908101905180910390a15b5b5b505050565b600b54600160a060020a031681565b600c5460a060020a900460ff1681565b60008054819033600160a060020a03908116911614610e1357600080fd5b600091505b8451821015610eca57848281518110610e2d57fe5b90602001906020020151600160a060020a03811660009081526001602052604090206002015490915015610e6057600080fd5b606060405190810160409081528582528415156020808401919091526000828401819052600160a060020a038516815260019091522081518155602082015160018201805460ff19169115159190911790556040820151600290910155505b600190910190610e18565b5b5b5050505050565b6000610edd61208a565b600160a060020a038416600090815260016020526040908190209060609051908101604090815282548252600183015460ff161515602083015260029092015491810191909152905082815111158015610f38575080602001515b91505b5092915050565b6000806002600654600481101515610f5657fe5b0160005b9054906101000a9004600160a060020a0316905080600160a060020a03166378e979256000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610fb457600080fd5b6102c65a03f11515610fc557600080fd5b50505060405180519050610fd7611b04565b1015801561104c575080600160a060020a0316633197cbb66000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561102657600080fd5b6102c65a03f1151561103757600080fd5b50505060405180519050611049611b04565b11155b80156110b6575080600160a060020a031663fe67a1896000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561109957600080fd5b6102c65a03f115156110aa57600080fd5b50505060405180511590505b91505b5090565b60075460a060020a900460ff1681565b60065481565b6107ff33611a03565b505b565b60006110ea61208a565b600160a060020a038316600090815260016020526040808220829160609051908101604090815282548252600183015460ff1615156020830152600292830154908201526006549094506004811061113e57fe5b0160005b9054906101000a9004600160a060020a0316915061123b82600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561119f57600080fd5b6102c65a03f115156111b057600080fd5b5050506040518051905061122f856040015185600160a060020a0316635fd8d3d16000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561120857600080fd5b6102c65a03f1151561121957600080fd5b505050604051805191905063ffffffff611b0916565b9063ffffffff611b2016565b90508093505b505050919050565b60005433600160a060020a0390811691161461126457600080fd5b6007805474ff0000000000000000000000000000000000000000191660a060020a831515021790555b5b50565b600c54600090819081908190819060a060020a900460ff16156112b357600080fd5b6006546004146112c257600080fd5b600c805474ff0000000000000000000000000000000000000000191660a060020a179055600d5461130d90604b9061130190606463ffffffff611b2016565b9063ffffffff611b4f16565b935061132084600563ffffffff611b4f16565b600754600a54919450600160a060020a039081169163827f32c091168560006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561138957600080fd5b6102c65a03f1151561139a57600080fd5b5050506040518051905015156113ac57fe5b6113cf6103e861130186602663ffffffff611b2016565b9063ffffffff611b4f16565b600754600b54919350600160a060020a039081169163827f32c091168460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561143857600080fd5b6102c65a03f1151561144957600080fd5b50505060405180519050151561145b57fe5b61147e6103e861130186600c63ffffffff611b2016565b9063ffffffff611b4f16565b600754600c54919250600160a060020a039081169163827f32c091168360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156114e757600080fd5b6102c65a03f115156114f857600080fd5b50505060405180519050151561150a57fe5b600194505b5b5b5050505090565b60085481565b600080600080600260065460048110151561153557fe5b0160005b9054906101000a9004600160a060020a0316925061161e83600160a060020a031663cdf32cab6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561159657600080fd5b6102c65a03f115156115a757600080fd5b5050506040518051905084600160a060020a031663355274ea6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561120857600080fd5b6102c65a03f1151561121957600080fd5b505050604051805191905063ffffffff611b0916565b915061169083600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561166957600080fd5b6102c65a03f1151561167a57600080fd5b505050604051805184915063ffffffff611b2016565b90508093505b50505090565b60008060026006546004811015156116b057fe5b0160005b9054906101000a9004600160a060020a0316905080600160a060020a031663d7e25c366000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561170e57600080fd5b6102c65a03f1151561171f57600080fd5b50505060405180519250505b5090565b60075460009060a060020a900460ff16806108ac57506008546108a9611b04565b10155b90505b9392505050565b60008054819033600160a060020a0390811691161461177b57600080fd5b600754600160a060020a03308116911663f77c47916000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156117c757600080fd5b6102c65a03f115156117d857600080fd5b50505060405180519050600160a060020a0316141561185657600754600160a060020a031663df8de3e78460405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561184157600080fd5b6102c65a03f1151561185257600080fd5b5050505b600160a060020a03831615156118a457600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561189f57600080fd5b610dcf565b82915081600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156118fe57600080fd5b6102c65a03f1151561190f57600080fd5b505050604051805160008054919350600160a060020a03808616935063a9059cbb92169084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561197f57600080fd5b6102c65a03f1151561199057600080fd5b50505060405180515050600054600160a060020a039081169084167ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c8360405190815260200160405180910390a35b5b505050565b600c54600160a060020a031681565b600954600160a060020a031681565b600e5460009060ff1615611a1657600080fd5b60006002600654600481101515611a2957fe5b0160005b9054906101000a9004600160a060020a0316905080600160a060020a031663f81f81016000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611a8757600080fd5b6102c65a03f11515611a9857600080fd5b505050604051805115159050611aaa57fe5b611ab261169c565b15611ab957fe5b611ac1610f42565b1515611ac957fe5b611ad533600654610ed3565b1515611ae057600080fd5b611ae8611b6b565b600191505b5b505b919050565b600054600160a060020a031681565b425b90565b600082821115611b1557fe5b508082035b92915050565b6000828202831580611b3c5750828482811515611b3957fe5b04145b1515611b4457fe5b8091505b5092915050565b6000808284811515611b5d57fe5b0490508091505b5092915050565b6000806000806000806000806002600654600481101515611b8857fe5b0160005b9054906101000a9004600160a060020a0316975087600160a060020a0316635fd8d3d16000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611be657600080fd5b6102c65a03f11515611bf757600080fd5b50505060405180513411159050611c0a57fe5b33600160a060020a03811660009081526001602052604090209097509550611c31876110e0565b945060008511611c4057600080fd5b60028601541515611cb55787600160a060020a031663f766cd3e6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611c9157600080fd5b6102c65a03f11515611ca257600080fd5b50505060405180513410159050611cb557fe5b5b349350611d2988600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611d0257600080fd5b6102c65a03f11515611d1357600080fd5b505050604051805186915063ffffffff611b2016565b92506001831015611d3957600080fd5b611d4161151e565b915084821115611dc95784831115611dc957849250611dc688600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611d9f57600080fd5b6102c65a03f11515611db057600080fd5b505050604051805187915063ffffffff611b4f16565b93505b5b81851115611e505781831115611e5057819250611e4d88600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611e2657600080fd5b6102c65a03f11515611e3757600080fd5b505050604051805184915063ffffffff611b4f16565b93505b5b6002860154611e66908563ffffffff61207016565b6002870155600160a060020a038816638dfb015f8560405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b1515611eb157600080fd5b6102c65a03f11515611ec257600080fd5b50505081831415611ed557611ed56108b6565b5b600754600160a060020a031663827f32c0888560006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515611f3557600080fd5b6102c65a03f11515611f4657600080fd5b505050604051805190501515611f5857fe5b600d54611f6b908463ffffffff61207016565b600d55600954600160a060020a031684156108fc0285604051600060405180830381858888f193505050501515611fa157600080fd5b86600160a060020a03167fa3ed4207b1480804a4590a74f4b9cc310dc0fc839af8d10e2141ca3b72fd9348858560405191825260208201526040908101905180910390a2611ff5348563ffffffff611b0916565b9050600081111561206557600160a060020a03871681156108fc0282604051600060405180830381858888f19350505050151561203157600080fd5b7f2e1897b0591d764356194f7a795238a87c1987c7a877568e50d829d547c92b978160405190815260200160405180910390a15b5b5050505050505050565b600082820183811015611b4457fe5b8091505b5092915050565b6060604051908101604090815260008083526020830181905290820152905600a165627a7a7230582088be8c46ea03c4e5f59b34d81022ba02ffef88705b15308c4cfb242173fa8cf9002900000000000000000000000045fde77ff768aa83df468fb1c6ebc5f2bb21dcea00000000000000000000000045fde77ff768aa83df468fb1c6ebc5f2bb21dcea0000000000000000000000006b6334baa01fa10c05fcfe36caa2653da483c9e7000000000000000000000000ef370dfe413ea48b457d4e00ffe1aebb4032ca4d
Deployed Bytecode
0x6060604052361561016f5763ffffffff60e060020a600035041663039af9eb81146101835780631bfaf155146101b5578063234a6ed8146101e4578063296032f214610205578063334f06111461021f5780633cebb8231461024e5780634a3931491461026f5780634bb278f3146102ab5780635c975abb146102c057806363b20117146102e7578063674ef6c31461030c5780636b252b47146103305780636b440e9a1461035f578063763730bd14610386578063830639ac146103e05780638f3506241461041657806392ff0d311461043d57806396b55f7d14610464578063a6f2ae3a14610489578063a7dfc42014610493578063a8b25075146104c4578063abaa9916146104de578063d07fdfb014610505578063d1e6a64f1461052a578063d75225821461054f578063da682aeb1461026f578063df8de3e7146105b2578063e5760520146105d3578063e846f99714610602578063f48c305414610631578063f77c479114610659575b341561017a57600080fd5b5b600080fd5b5b005b341561018e57600080fd5b610199600435610688565b604051600160a060020a03909116815260200160405180910390f35b34156101c057600080fd5b6101996106af565b604051600160a060020a03909116815260200160405180910390f35b34156101ef57600080fd5b610180600160a060020a03600435166106be565b005b341561021057600080fd5b6101806004351515610803565b005b341561022a57600080fd5b610199610831565b604051600160a060020a03909116815260200160405180910390f35b341561025957600080fd5b610180600160a060020a0360043516610840565b005b341561027a57600080fd5b610297600160a060020a0360043581169060243516604435610888565b604051901515815260200160405180910390f35b34156102b657600080fd5b6101806108b6565b005b34156102cb57600080fd5b610297610be2565b604051901515815260200160405180910390f35b34156102f257600080fd5b6102fa610beb565b60405190815260200160405180910390f35b341561031757600080fd5b610180600435600160a060020a0360243516610bf1565b005b341561033b57600080fd5b610199610dd6565b604051600160a060020a03909116815260200160405180910390f35b341561036a57600080fd5b610297610de5565b604051901515815260200160405180910390f35b341561039157600080fd5b6101806004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650508435946020013515159350610df592505050565b005b34156103eb57600080fd5b610297600160a060020a0360043516602435610ed3565b604051901515815260200160405180910390f35b341561042157600080fd5b610297610f42565b604051901515815260200160405180910390f35b341561044857600080fd5b6102976110bd565b604051901515815260200160405180910390f35b341561046f57600080fd5b6102fa6110cd565b60405190815260200160405180910390f35b6101806110d3565b005b341561049e57600080fd5b6102fa600160a060020a03600435166110e0565b60405190815260200160405180910390f35b34156104cf57600080fd5b6101806004351515611249565b005b34156104e957600080fd5b610297611291565b604051901515815260200160405180910390f35b341561051057600080fd5b6102fa611518565b60405190815260200160405180910390f35b341561053557600080fd5b6102fa61151e565b60405190815260200160405180910390f35b341561055a57600080fd5b61029761169c565b604051901515815260200160405180910390f35b341561027a57600080fd5b610297600160a060020a0360043581169060243516604435610888565b604051901515815260200160405180910390f35b34156105bd57600080fd5b610180600160a060020a036004351661175d565b005b34156105de57600080fd5b6101996119e5565b604051600160a060020a03909116815260200160405180910390f35b341561060d57600080fd5b6101996119f4565b604051600160a060020a03909116815260200160405180910390f35b610297600160a060020a0360043516611a03565b604051901515815260200160405180910390f35b341561066457600080fd5b610199611af5565b604051600160a060020a03909116815260200160405180910390f35b6002816004811061069557fe5b0160005b915054906101000a9004600160a060020a031681565b600a54600160a060020a031681565b60005433600160a060020a039081169116146106d957600080fd5b30600160a060020a031681600160a060020a031663f77c47916000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561072957600080fd5b6102c65a03f1151561073a57600080fd5b50505060405180519050600160a060020a031614151561075657fe5b80600160a060020a031663c16d13776000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561079c57600080fd5b6102c65a03f115156107ad57600080fd5b50505060405180516113381490506107c157fe5b600160a060020a03811615156107d657600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60005433600160a060020a0390811691161461081e57600080fd5b600e805460ff19168215151790555b5b50565b600754600160a060020a031681565b60005433600160a060020a0390811691161461085b57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60075460009060a060020a900460ff16806108ac57506008546108a9611b04565b10155b90505b9392505050565b60008060026006546004811015156108ca57fe5b0160005b9054906101000a9004600160a060020a0316905080600160a060020a031663f81f81016000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561092857600080fd5b6102c65a03f1151561093957600080fd5b50505060405180511515905061094b57fe5b6006546002906004811061095b57fe5b0160005b9054906101000a9004600160a060020a0316915081600160a060020a031663fe67a1896000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156109b957600080fd5b6102c65a03f115156109ca57600080fd5b50505060405180511590506109db57fe5b81600160a060020a03166378e979256000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610a2157600080fd5b6102c65a03f11515610a3257600080fd5b50505060405180519050610a44611b04565b1015610a4c57fe5b60005433600160a060020a0390811691161480610acf575081600160a060020a0316633197cbb66000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610aaa57600080fd5b6102c65a03f11515610abb57600080fd5b50505060405180519050610acd611b04565b115b80610add5750610add61169c565b5b1515610ae657fe5b81600160a060020a0316634bb278f36040518163ffffffff1660e060020a028152600401600060405180830381600087803b1515610b2357600080fd5b6102c65a03f11515610b3457600080fd5b505060068054600101908190557f6d3f008a218910723199a83b1200a39efd6a08b329d982e27eafd65bb938a5689150600160a060020a03841663fe67a1896000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610baa57600080fd5b6102c65a03f11515610bbb57600080fd5b5050506040518051905060405191825260208201526040908101905180910390a15b5b5050565b600e5460ff1681565b600d5481565b6000805433600160a060020a03908116911614610c0d57600080fd5b600754600160a060020a03161515610c2157fe5b81905030600160a060020a031681600160a060020a031663f77c47916000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610c7457600080fd5b6102c65a03f11515610c8557600080fd5b50505060405180519050600160a060020a0316141515610ca157fe5b60008310158015610cb3575060038311155b1515610cbe57600080fd5b80600160a060020a031663fa50b3356000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610d0457600080fd5b6102c65a03f11515610d1557600080fd5b5050506040518051611337149050610d2957fe5b600060028460048110610d3857fe5b0160005b9054600160a060020a036101009290920a90041614610d5757fe5b8060028460048110610d6557fe5b0160005b6101000a815481600160a060020a030219169083600160a060020a031602179055507f4ce61604337bd51817e5c0fcc6750f9f529b9af602be0c3772fdd924b93519238383604051918252600160a060020a031660208201526040908101905180910390a15b5b5b505050565b600b54600160a060020a031681565b600c5460a060020a900460ff1681565b60008054819033600160a060020a03908116911614610e1357600080fd5b600091505b8451821015610eca57848281518110610e2d57fe5b90602001906020020151600160a060020a03811660009081526001602052604090206002015490915015610e6057600080fd5b606060405190810160409081528582528415156020808401919091526000828401819052600160a060020a038516815260019091522081518155602082015160018201805460ff19169115159190911790556040820151600290910155505b600190910190610e18565b5b5b5050505050565b6000610edd61208a565b600160a060020a038416600090815260016020526040908190209060609051908101604090815282548252600183015460ff161515602083015260029092015491810191909152905082815111158015610f38575080602001515b91505b5092915050565b6000806002600654600481101515610f5657fe5b0160005b9054906101000a9004600160a060020a0316905080600160a060020a03166378e979256000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610fb457600080fd5b6102c65a03f11515610fc557600080fd5b50505060405180519050610fd7611b04565b1015801561104c575080600160a060020a0316633197cbb66000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561102657600080fd5b6102c65a03f1151561103757600080fd5b50505060405180519050611049611b04565b11155b80156110b6575080600160a060020a031663fe67a1896000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561109957600080fd5b6102c65a03f115156110aa57600080fd5b50505060405180511590505b91505b5090565b60075460a060020a900460ff1681565b60065481565b6107ff33611a03565b505b565b60006110ea61208a565b600160a060020a038316600090815260016020526040808220829160609051908101604090815282548252600183015460ff1615156020830152600292830154908201526006549094506004811061113e57fe5b0160005b9054906101000a9004600160a060020a0316915061123b82600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561119f57600080fd5b6102c65a03f115156111b057600080fd5b5050506040518051905061122f856040015185600160a060020a0316635fd8d3d16000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561120857600080fd5b6102c65a03f1151561121957600080fd5b505050604051805191905063ffffffff611b0916565b9063ffffffff611b2016565b90508093505b505050919050565b60005433600160a060020a0390811691161461126457600080fd5b6007805474ff0000000000000000000000000000000000000000191660a060020a831515021790555b5b50565b600c54600090819081908190819060a060020a900460ff16156112b357600080fd5b6006546004146112c257600080fd5b600c805474ff0000000000000000000000000000000000000000191660a060020a179055600d5461130d90604b9061130190606463ffffffff611b2016565b9063ffffffff611b4f16565b935061132084600563ffffffff611b4f16565b600754600a54919450600160a060020a039081169163827f32c091168560006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561138957600080fd5b6102c65a03f1151561139a57600080fd5b5050506040518051905015156113ac57fe5b6113cf6103e861130186602663ffffffff611b2016565b9063ffffffff611b4f16565b600754600b54919350600160a060020a039081169163827f32c091168460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561143857600080fd5b6102c65a03f1151561144957600080fd5b50505060405180519050151561145b57fe5b61147e6103e861130186600c63ffffffff611b2016565b9063ffffffff611b4f16565b600754600c54919250600160a060020a039081169163827f32c091168360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156114e757600080fd5b6102c65a03f115156114f857600080fd5b50505060405180519050151561150a57fe5b600194505b5b5b5050505090565b60085481565b600080600080600260065460048110151561153557fe5b0160005b9054906101000a9004600160a060020a0316925061161e83600160a060020a031663cdf32cab6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561159657600080fd5b6102c65a03f115156115a757600080fd5b5050506040518051905084600160a060020a031663355274ea6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561120857600080fd5b6102c65a03f1151561121957600080fd5b505050604051805191905063ffffffff611b0916565b915061169083600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561166957600080fd5b6102c65a03f1151561167a57600080fd5b505050604051805184915063ffffffff611b2016565b90508093505b50505090565b60008060026006546004811015156116b057fe5b0160005b9054906101000a9004600160a060020a0316905080600160a060020a031663d7e25c366000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561170e57600080fd5b6102c65a03f1151561171f57600080fd5b50505060405180519250505b5090565b60075460009060a060020a900460ff16806108ac57506008546108a9611b04565b10155b90505b9392505050565b60008054819033600160a060020a0390811691161461177b57600080fd5b600754600160a060020a03308116911663f77c47916000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156117c757600080fd5b6102c65a03f115156117d857600080fd5b50505060405180519050600160a060020a0316141561185657600754600160a060020a031663df8de3e78460405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561184157600080fd5b6102c65a03f1151561185257600080fd5b5050505b600160a060020a03831615156118a457600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561189f57600080fd5b610dcf565b82915081600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156118fe57600080fd5b6102c65a03f1151561190f57600080fd5b505050604051805160008054919350600160a060020a03808616935063a9059cbb92169084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561197f57600080fd5b6102c65a03f1151561199057600080fd5b50505060405180515050600054600160a060020a039081169084167ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c8360405190815260200160405180910390a35b5b505050565b600c54600160a060020a031681565b600954600160a060020a031681565b600e5460009060ff1615611a1657600080fd5b60006002600654600481101515611a2957fe5b0160005b9054906101000a9004600160a060020a0316905080600160a060020a031663f81f81016000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611a8757600080fd5b6102c65a03f11515611a9857600080fd5b505050604051805115159050611aaa57fe5b611ab261169c565b15611ab957fe5b611ac1610f42565b1515611ac957fe5b611ad533600654610ed3565b1515611ae057600080fd5b611ae8611b6b565b600191505b5b505b919050565b600054600160a060020a031681565b425b90565b600082821115611b1557fe5b508082035b92915050565b6000828202831580611b3c5750828482811515611b3957fe5b04145b1515611b4457fe5b8091505b5092915050565b6000808284811515611b5d57fe5b0490508091505b5092915050565b6000806000806000806000806002600654600481101515611b8857fe5b0160005b9054906101000a9004600160a060020a0316975087600160a060020a0316635fd8d3d16000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611be657600080fd5b6102c65a03f11515611bf757600080fd5b50505060405180513411159050611c0a57fe5b33600160a060020a03811660009081526001602052604090209097509550611c31876110e0565b945060008511611c4057600080fd5b60028601541515611cb55787600160a060020a031663f766cd3e6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611c9157600080fd5b6102c65a03f11515611ca257600080fd5b50505060405180513410159050611cb557fe5b5b349350611d2988600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611d0257600080fd5b6102c65a03f11515611d1357600080fd5b505050604051805186915063ffffffff611b2016565b92506001831015611d3957600080fd5b611d4161151e565b915084821115611dc95784831115611dc957849250611dc688600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611d9f57600080fd5b6102c65a03f11515611db057600080fd5b505050604051805187915063ffffffff611b4f16565b93505b5b81851115611e505781831115611e5057819250611e4d88600160a060020a0316633ba0b9a96000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611e2657600080fd5b6102c65a03f11515611e3757600080fd5b505050604051805184915063ffffffff611b4f16565b93505b5b6002860154611e66908563ffffffff61207016565b6002870155600160a060020a038816638dfb015f8560405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b1515611eb157600080fd5b6102c65a03f11515611ec257600080fd5b50505081831415611ed557611ed56108b6565b5b600754600160a060020a031663827f32c0888560006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515611f3557600080fd5b6102c65a03f11515611f4657600080fd5b505050604051805190501515611f5857fe5b600d54611f6b908463ffffffff61207016565b600d55600954600160a060020a031684156108fc0285604051600060405180830381858888f193505050501515611fa157600080fd5b86600160a060020a03167fa3ed4207b1480804a4590a74f4b9cc310dc0fc839af8d10e2141ca3b72fd9348858560405191825260208201526040908101905180910390a2611ff5348563ffffffff611b0916565b9050600081111561206557600160a060020a03871681156108fc0282604051600060405180830381858888f19350505050151561203157600080fd5b7f2e1897b0591d764356194f7a795238a87c1987c7a877568e50d829d547c92b978160405190815260200160405180910390a15b5b5050505050505050565b600082820183811015611b4457fe5b8091505b5092915050565b6060604051908101604090815260008083526020830181905290820152905600a165627a7a7230582088be8c46ea03c4e5f59b34d81022ba02ffef88705b15308c4cfb242173fa8cf90029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000045fde77ff768aa83df468fb1c6ebc5f2bb21dcea00000000000000000000000045fde77ff768aa83df468fb1c6ebc5f2bb21dcea0000000000000000000000006b6334baa01fa10c05fcfe36caa2653da483c9e7000000000000000000000000ef370dfe413ea48b457d4e00ffe1aebb4032ca4d
-----Decoded View---------------
Arg [0] : _contributionWallet (address): 0x45fde77ff768aa83dF468fB1C6EbC5f2BB21DCea
Arg [1] : _foundersWallet (address): 0x45fde77ff768aa83dF468fB1C6EbC5f2BB21DCea
Arg [2] : _advisorsWallet (address): 0x6B6334baA01fA10c05fcfE36cAa2653dA483c9E7
Arg [3] : _bountyWallet (address): 0xeF370dfe413eA48b457D4E00ffe1aEbB4032cA4D
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000045fde77ff768aa83df468fb1c6ebc5f2bb21dcea
Arg [1] : 00000000000000000000000045fde77ff768aa83df468fb1c6ebc5f2bb21dcea
Arg [2] : 0000000000000000000000006b6334baa01fa10c05fcfe36caa2653da483c9e7
Arg [3] : 000000000000000000000000ef370dfe413ea48b457d4e00ffe1aebb4032ca4d
Swarm Source
bzzr://88be8c46ea03c4e5f59b34d81022ba02ffef88705b15308c4cfb242173fa8cf9
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.