Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 7 from a total of 7 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 6504024 | 2191 days ago | IN | 0.1 ETH | 0.0001667 | ||||
Transfer | 6474018 | 2196 days ago | IN | 0.2 ETH | 0.00029681 | ||||
Transfer | 6474000 | 2196 days ago | IN | 0.2 ETH | 0.00019535 | ||||
Claim Vault Owne... | 6417127 | 2206 days ago | IN | 0 ETH | 0.00022294 | ||||
Claim Token Owne... | 6417114 | 2206 days ago | IN | 0 ETH | 0.00022294 | ||||
Claim Refund Vau... | 6417111 | 2206 days ago | IN | 0 ETH | 0.00023915 | ||||
0x60606040 | 6417093 | 2206 days ago | IN | 0 ETH | 0.03661811 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BitMEDCrowdsale
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-09-30 */ pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || 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 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 OwnershipRenounced(address indexed previousOwner); 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 relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { OwnershipRenounced(owner); owner = address(0); } /** * @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 { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } /** * @title Claimable * @dev Extension for the Ownable contract, where the ownership needs to be claimed. * This allows the new owner to accept the transfer. */ contract Claimable is Ownable { address public pendingOwner; /** * @dev Modifier throws if called by any account other than the pendingOwner. */ modifier onlyPendingOwner() { require(msg.sender == pendingOwner); _; } /** * @dev Allows the current owner to set the pendingOwner address. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { pendingOwner = newOwner; } /** * @dev Allows the pendingOwner address to finalize the transfer. */ function claimOwnership() public onlyPendingOwner { OwnershipTransferred(owner, pendingOwner); owner = pendingOwner; pendingOwner = address(0); } } /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 internal totalSupply_; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return 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); event Approval( address indexed owner, address indexed spender, 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 Transfer( address indexed from, address indexed to, uint256 value ); 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 LimitedTransferToken * @dev LimitedTransferToken defines the generic interface and the implementation to limit token * transferability for different events. It is intended to be used as a base class for other token * contracts. * LimitedTransferToken has been designed to allow for different limiting factors, * this can be achieved by recursively calling super.transferableTokens() until the base class is * hit. For example: * function transferableTokens(address holder, uint64 time) constant public returns (uint256) { * return min256(unlockedTokens, super.transferableTokens(holder, time)); * } * A working example is VestedToken.sol: * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/VestedToken.sol */ contract LimitedTransferToken is ERC20 { /** * @dev Checks whether it can transfer or otherwise throws. */ modifier canTransfer(address _sender, uint256 _value) { require(_value <= transferableTokens(_sender, uint64(block.timestamp))); _; } /** * @dev Checks modifier and allows transfer if tokens are not locked. * @param _to The address that will receive the tokens. * @param _value The amount of tokens to be transferred. */ function transfer(address _to, uint256 _value) canTransfer(msg.sender, _value) public returns (bool) { return super.transfer(_to, _value); } /** * @dev Checks modifier and allows transfer if tokens are not locked. * @param _from The address that will send the tokens. * @param _to The address that will receive the tokens. * @param _value The amount of tokens to be transferred. */ function transferFrom(address _from, address _to, uint256 _value) canTransfer(_from, _value) public returns (bool) { return super.transferFrom(_from, _to, _value); } /** * @dev Default transferable tokens function returns all tokens for a holder (no limit). * @dev Overwriting transferableTokens(address holder, uint64 time) is the way to provide the * specific logic for limiting token transferability for a holder over time. */ function transferableTokens(address holder, uint64 time) public view returns (uint256) { return balanceOf(holder); } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/issues/20 * Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20 { using SafeMath for uint256; mapping(address => uint256) balances; mapping (address => mapping (address => uint256)) internal allowed; /** * @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) { return balances[_owner]; } /** * @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 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(_value <= balances[msg.sender]); require(_to != address(0)); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _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 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(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); require(_to != address(0)); 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 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, uint256 _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, uint256 _subtractedValue ) public returns (bool) { uint256 oldValue = allowed[msg.sender][_spender]; if (_subtractedValue >= oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } /** * @title Mintable token * @dev Simple ERC20 Token example, with mintable token creation * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol */ contract MintableToken is StandardToken, Claimable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } modifier hasMintPermission() { require(msg.sender == owner); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint( address _to, uint256 _amount ) public hasMintPermission canMint returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); Mint(_to, _amount); Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() public onlyOwner canMint returns (bool) { mintingFinished = true; MintFinished(); return true; } } /* Smart Token interface */ contract ISmartToken { // ================================================================================================================= // Members // ================================================================================================================= bool public transfersEnabled = false; // ================================================================================================================= // Event // ================================================================================================================= // triggered when a smart token is deployed - the _token address is defined for forward compatibility, in case we want to trigger the event from a factory event NewSmartToken(address _token); // triggered when the total supply is increased event Issuance(uint256 _amount); // triggered when the total supply is decreased event Destruction(uint256 _amount); // ================================================================================================================= // Functions // ================================================================================================================= function disableTransfers(bool _disable) public; function issue(address _to, uint256 _amount) public; function destroy(address _from, uint256 _amount) public; } /** BancorSmartToken */ contract LimitedTransferBancorSmartToken is MintableToken, ISmartToken, LimitedTransferToken { // ================================================================================================================= // Modifiers // ================================================================================================================= /** * @dev Throws if destroy flag is not enabled. */ modifier canDestroy() { require(destroyEnabled); _; } // ================================================================================================================= // Members // ================================================================================================================= // We add this flag to avoid users and owner from destroy tokens during crowdsale, // This flag is set to false by default and blocks destroy function, // We enable destroy option on finalize, so destroy will be possible after the crowdsale. bool public destroyEnabled = false; // ================================================================================================================= // Public Functions // ================================================================================================================= function setDestroyEnabled(bool _enable) onlyOwner public { destroyEnabled = _enable; } // ================================================================================================================= // Impl ISmartToken // ================================================================================================================= //@Override function disableTransfers(bool _disable) onlyOwner public { transfersEnabled = !_disable; } //@Override function issue(address _to, uint256 _amount) onlyOwner public { require(super.mint(_to, _amount)); Issuance(_amount); } //@Override function destroy(address _from, uint256 _amount) canDestroy public { require(msg.sender == _from || msg.sender == owner); // validate input balances[_from] = balances[_from].sub(_amount); totalSupply_ = totalSupply_.sub(_amount); Destruction(_amount); Transfer(_from, 0x0, _amount); } // ================================================================================================================= // Impl LimitedTransferToken // ================================================================================================================= // Enable/Disable token transfer // Tokens will be locked in their wallets until the end of the Crowdsale. // @holder - token`s owner // @time - not used (framework unneeded functionality) // // @Override function transferableTokens(address holder, uint64 time) public constant returns (uint256) { require(transfersEnabled); return super.transferableTokens(holder, time); } } /** A Token which is 'Bancor' compatible and can mint new tokens and pause token-transfer functionality */ contract BitMEDSmartToken is LimitedTransferBancorSmartToken { // ================================================================================================================= // Members // ================================================================================================================= string public constant name = "BitMED"; string public constant symbol = "BXM"; uint8 public constant decimals = 18; // ================================================================================================================= // Constructor // ================================================================================================================= function BitMEDSmartToken() public { //Apart of 'Bancor' computability - triggered when a smart token is deployed NewSmartToken(address(this)); } } /** * @title Vault * @dev This wallet is used to */ contract Vault is Claimable { using SafeMath for uint256; // ================================================================================================================= // Enums // ================================================================================================================= enum State { KycPending, KycComplete } // ================================================================================================================= // Members // ================================================================================================================= mapping (address => uint256) public depositedETH; mapping (address => uint256) public depositedToken; BitMEDSmartToken public token; State public state; // ================================================================================================================= // Events // ================================================================================================================= event KycPending(); event KycComplete(); event Deposit(address indexed beneficiary, uint256 etherWeiAmount, uint256 tokenWeiAmount); event RemoveSupporter(address beneficiary); event TokensClaimed(address indexed beneficiary, uint256 weiAmount); // ================================================================================================================= // Modifiers // ================================================================================================================= modifier isKycPending() { require(state == State.KycPending); _; } modifier isKycComplete() { require(state == State.KycComplete); _; } // ================================================================================================================= // Ctors // ================================================================================================================= function Vault(BitMEDSmartToken _token) public { require(_token != address(0)); token = _token; state = State.KycPending; KycPending(); } // ================================================================================================================= // Public Functions // ================================================================================================================= function deposit(address supporter, uint256 tokensAmount, uint256 value) isKycPending onlyOwner public{ depositedETH[supporter] = depositedETH[supporter].add(value); depositedToken[supporter] = depositedToken[supporter].add(tokensAmount); Deposit(supporter, value, tokensAmount); } function kycComplete() isKycPending onlyOwner public { state = State.KycComplete; KycComplete(); } //@dev Remove a supporter and refund ether back to the supporter in returns of proportional amount of BXM back to the BitMED`s wallet function removeSupporter(address supporter) isKycPending onlyOwner public { require(supporter != address(0)); require(depositedETH[supporter] > 0); require(depositedToken[supporter] > 0); uint256 depositedTokenValue = depositedToken[supporter]; uint256 depositedETHValue = depositedETH[supporter]; //zero out the user depositedETH[supporter] = 0; depositedToken[supporter] = 0; token.destroy(address(this),depositedTokenValue); // We will manually refund the money. Checking against OFAC sanction list // https://sanctionssearch.ofac.treas.gov/ //supporter.transfer(depositedETHValue - 21000); RemoveSupporter(supporter); } //@dev Transfer tokens from the vault to the supporter while releasing proportional amount of ether to BitMED`s wallet. //Can be triggerd by the supporter only function claimTokens(uint256 tokensToClaim) isKycComplete public { require(tokensToClaim != 0); address supporter = msg.sender; require(depositedToken[supporter] > 0); uint256 depositedTokenValue = depositedToken[supporter]; uint256 depositedETHValue = depositedETH[supporter]; require(tokensToClaim <= depositedTokenValue); uint256 claimedETH = tokensToClaim.mul(depositedETHValue).div(depositedTokenValue); assert(claimedETH > 0); depositedETH[supporter] = depositedETHValue.sub(claimedETH); depositedToken[supporter] = depositedTokenValue.sub(tokensToClaim); token.transfer(supporter, tokensToClaim); TokensClaimed(supporter, tokensToClaim); } //@dev Transfer tokens from the vault to the supporter //Can be triggerd by the owner of the vault function claimAllSupporterTokensByOwner(address supporter) isKycComplete onlyOwner public { uint256 depositedTokenValue = depositedToken[supporter]; require(depositedTokenValue > 0); token.transfer(supporter, depositedTokenValue); TokensClaimed(supporter, depositedTokenValue); } // @dev supporter can claim tokens by calling the function // @param tokenToClaimAmount - amount of the token to claim function claimAllTokens() isKycComplete public { uint256 depositedTokenValue = depositedToken[msg.sender]; claimTokens(depositedTokenValue); } } /** * @title RefundVault * @dev This contract is used for storing TOKENS AND ETHER while a crowd sale is in progress for a period of 3 DAYS. * Supporter can ask for a full/part refund for his/her ether against token. Once tokens are Claimed by the supporter, they cannot be refunded. * After 3 days, all ether will be withdrawn from the vault`s wallet, leaving all tokens to be claimed by the their owners. **/ contract RefundVault is Claimable { using SafeMath for uint256; // ================================================================================================================= // Enums // ================================================================================================================= enum State { Active, Refunding, Closed } // ================================================================================================================= // Members // ================================================================================================================= // Refund time frame uint256 public constant REFUND_TIME_FRAME = 3 days; mapping (address => uint256) public depositedETH; mapping (address => uint256) public depositedToken; address public etherWallet; BitMEDSmartToken public token; State public state; uint256 public refundStartTime; // ================================================================================================================= // Events // ================================================================================================================= event Active(); event Closed(); event Deposit(address indexed beneficiary, uint256 etherWeiAmount, uint256 tokenWeiAmount); event RefundsEnabled(); event RefundedETH(address beneficiary, uint256 weiAmount); event TokensClaimed(address indexed beneficiary, uint256 weiAmount); // ================================================================================================================= // Modifiers // ================================================================================================================= modifier isActiveState() { require(state == State.Active); _; } modifier isRefundingState() { require(state == State.Refunding); _; } modifier isCloseState() { require(state == State.Closed); _; } modifier isRefundingOrCloseState() { require(state == State.Refunding || state == State.Closed); _; } modifier isInRefundTimeFrame() { require(refundStartTime <= block.timestamp && refundStartTime + REFUND_TIME_FRAME > block.timestamp); _; } modifier isRefundTimeFrameExceeded() { require(refundStartTime + REFUND_TIME_FRAME < block.timestamp); _; } // ================================================================================================================= // Ctors // ================================================================================================================= function RefundVault(address _etherWallet, BitMEDSmartToken _token) public { require(_etherWallet != address(0)); require(_token != address(0)); etherWallet = _etherWallet; token = _token; state = State.Active; Active(); } // ================================================================================================================= // Public Functions // ================================================================================================================= function deposit(address supporter, uint256 tokensAmount) isActiveState onlyOwner public payable { depositedETH[supporter] = depositedETH[supporter].add(msg.value); depositedToken[supporter] = depositedToken[supporter].add(tokensAmount); Deposit(supporter, msg.value, tokensAmount); } function close() isRefundingState onlyOwner isRefundTimeFrameExceeded public { state = State.Closed; Closed(); etherWallet.transfer(address(this).balance); } function enableRefunds() isActiveState onlyOwner public { state = State.Refunding; refundStartTime = block.timestamp; RefundsEnabled(); } //@dev Refund ether back to the supporter in returns of proportional amount of BXM back to the BitMED`s wallet function refundETH(uint256 ETHToRefundAmountWei) isInRefundTimeFrame isRefundingState public { require(ETHToRefundAmountWei != 0); uint256 depositedTokenValue = depositedToken[msg.sender]; uint256 depositedETHValue = depositedETH[msg.sender]; require(ETHToRefundAmountWei <= depositedETHValue); uint256 refundTokens = ETHToRefundAmountWei.mul(depositedTokenValue).div(depositedETHValue); assert(refundTokens > 0); depositedETH[msg.sender] = depositedETHValue.sub(ETHToRefundAmountWei); depositedToken[msg.sender] = depositedTokenValue.sub(refundTokens); token.destroy(address(this),refundTokens); msg.sender.transfer(ETHToRefundAmountWei); RefundedETH(msg.sender, ETHToRefundAmountWei); } //@dev Transfer tokens from the vault to the supporter while releasing proportional amount of ether to BitMED`s wallet. //Can be triggerd by the supporter only function claimTokens(uint256 tokensToClaim) isRefundingOrCloseState public { require(tokensToClaim != 0); address supporter = msg.sender; require(depositedToken[supporter] > 0); uint256 depositedTokenValue = depositedToken[supporter]; uint256 depositedETHValue = depositedETH[supporter]; require(tokensToClaim <= depositedTokenValue); uint256 claimedETH = tokensToClaim.mul(depositedETHValue).div(depositedTokenValue); assert(claimedETH > 0); depositedETH[supporter] = depositedETHValue.sub(claimedETH); depositedToken[supporter] = depositedTokenValue.sub(tokensToClaim); token.transfer(supporter, tokensToClaim); if(state != State.Closed) { etherWallet.transfer(claimedETH); } TokensClaimed(supporter, tokensToClaim); } //@dev Transfer tokens from the vault to the supporter while releasing proportional amount of ether to BitMED`s wallet. //Can be triggerd by the owner of the vault (in our case - BitMED`s owner after 3 days) function claimAllSupporterTokensByOwner(address supporter) isCloseState onlyOwner public { uint256 depositedTokenValue = depositedToken[supporter]; require(depositedTokenValue > 0); token.transfer(supporter, depositedTokenValue); TokensClaimed(supporter, depositedTokenValue); } // @dev supporter can claim tokens by calling the function // @param tokenToClaimAmount - amount of the token to claim function claimAllTokens() isRefundingOrCloseState public { uint256 depositedTokenValue = depositedToken[msg.sender]; claimTokens(depositedTokenValue); } } /** * @title Crowdsale * @dev Crowdsale is a base contract for managing a token crowdsale. * Crowdsales have a start and end timestamps, where investors can make * token purchases and the crowdsale will assign them tokens based * on a token per ETH rate. Funds collected are forwarded to a wallet * as they arrive. */ contract Crowdsale { using SafeMath for uint256; // The token being sold BitMEDSmartToken public token; // start and end timestamps where investments are allowed (both inclusive) uint256 public startTime; uint256 public endTime; // address where funds are collected address public wallet; // how many token units a buyer gets per wei uint256 public rate; // amount of raised money in wei uint256 public weiRaised; // holding vault for all tokens pending KYC Vault public vault; /** * event for token purchase logging * @param purchaser who paid for the tokens * @param beneficiary who got the tokens * @param value weis paid for purchase * @param amount amount of tokens purchased */ event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount); function Crowdsale(uint256 _startTime, uint256 _endTime, uint256 _rate, address _wallet, BitMEDSmartToken _token, Vault _vault) public { require(_startTime >= block.timestamp); require(_endTime >= _startTime); require(_rate > 0); require(_wallet != address(0)); require(_token != address(0)); require(_vault != address(0)); startTime = _startTime; endTime = _endTime; rate = _rate; wallet = _wallet; token = _token; vault = _vault; } // fallback function can be used to buy tokens function() external payable { buyTokens(msg.sender); } // low level token purchase function function buyTokens(address beneficiary) public payable { require(beneficiary != address(0)); require(validPurchase()); uint256 weiAmount = msg.value; require(weiAmount>500000000000000000); // calculate token amount to be created uint256 tokens = weiAmount.mul(getRate()); // update state weiRaised = weiRaised.add(weiAmount); //send tokens to KYC Vault token.issue(address(vault), tokens); // Updating arrays in the Vault vault.deposit(beneficiary, tokens, msg.value); TokenPurchase(msg.sender, beneficiary, weiAmount, tokens); // Transferring funds to wallet forwardFunds(); } // send ether to the fund collection wallet // override to create custom fund forwarding mechanisms function forwardFunds() internal { wallet.transfer(msg.value); } // @return true if the transaction can buy tokens function validPurchase() internal view returns (bool) { bool withinPeriod = block.timestamp >= startTime && block.timestamp <= endTime; bool nonZeroPurchase = msg.value != 0; return withinPeriod && nonZeroPurchase; } // @return true if crowdsale event has ended function hasEnded() public view returns (bool) { return block.timestamp > endTime; } // @return the crowdsale rate function getRate() public view returns (uint256) { return rate; } } /** * @title FinalizableCrowdsale * @dev Extension of Crowdsale where an owner can do extra work * after finishing. */ contract FinalizableCrowdsale is Crowdsale, Claimable { using SafeMath for uint256; bool public isFinalized = false; event Finalized(); /** * @dev Must be called after crowdsale ends, to do some extra finalization * work. Calls the contract's finalization function. */ function finalize() public onlyOwner { require(!isFinalized); require(hasEnded()); finalization(); Finalized(); isFinalized = true; } /** * @dev Can be overridden to add finalization logic. The overriding function * should call super.finalization() to ensure the chain of finalization is * executed entirely. */ function finalization() internal { } } contract BitMEDCrowdsale is FinalizableCrowdsale { // ================================================================================================================= // Constants // ================================================================================================================= // Max amount of known addresses of which will get BXM by 'Grant' method. // // grantees addresses will be BitMED wallets addresses. // these wallets will contain BXM tokens that will be used for one purposes only - // 1. BXM tokens against raised fiat money // we set the value to 10 (and not to 2) because we want to allow some flexibility for cases like fiat money that is raised close // to the crowdsale. we limit the value to 10 (and not larger) to limit the run time of the function that process the grantees array. uint8 public constant MAX_TOKEN_GRANTEES = 10; // BXM to ETH base rate uint256 public constant EXCHANGE_RATE = 210; // Refund division rate uint256 public constant REFUND_DIVISION_RATE = 2; // The min BXM tokens that should be minted for the public sale uint256 public constant MIN_TOKEN_SALE = 125000000000000000000000000; // ================================================================================================================= // Modifiers // ================================================================================================================= /** * @dev Throws if called not during the crowdsale time frame */ modifier onlyWhileSale() { require(isActive()); _; } // ================================================================================================================= // Members // ================================================================================================================= // wallets address for 75% of BXM allocation address public walletTeam; //10% of the total number of BXM tokens will be allocated to the team address public walletReserve; //35% of the total number of BXM tokens will be allocated to BitMED and as a reserve for the company to be used for future strategic plans for the created ecosystem address public walletCommunity; //30% of the total number of BXM tokens will be allocated to Community // Funds collected outside the crowdsale in wei uint256 public fiatRaisedConvertedToWei; //Grantees - used for non-ether and presale bonus token generation address[] public presaleGranteesMapKeys; mapping (address => uint256) public presaleGranteesMap; //address=>wei token amount // The refund vault RefundVault public refundVault; // ================================================================================================================= // Events // ================================================================================================================= event GrantAdded(address indexed _grantee, uint256 _amount); event GrantUpdated(address indexed _grantee, uint256 _oldAmount, uint256 _newAmount); event GrantDeleted(address indexed _grantee, uint256 _hadAmount); event FiatRaisedUpdated(address indexed _address, uint256 _fiatRaised); event TokenPurchaseWithGuarantee(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount); // ================================================================================================================= // Constructors // ================================================================================================================= function BitMEDCrowdsale(uint256 _startTime, uint256 _endTime, address _wallet, address _walletTeam, address _walletCommunity, address _walletReserve, BitMEDSmartToken _BitMEDSmartToken, RefundVault _refundVault, Vault _vault) public Crowdsale(_startTime, _endTime, EXCHANGE_RATE, _wallet, _BitMEDSmartToken, _vault) { require(_walletTeam != address(0)); require(_walletCommunity != address(0)); require(_walletReserve != address(0)); require(_BitMEDSmartToken != address(0)); require(_refundVault != address(0)); require(_vault != address(0)); walletTeam = _walletTeam; walletCommunity = _walletCommunity; walletReserve = _walletReserve; token = _BitMEDSmartToken; refundVault = _refundVault; vault = _vault; } // ================================================================================================================= // Impl Crowdsale // ================================================================================================================= // @return the rate in BXM per 1 ETH according to the time of the tx and the BXM pricing program. // @Override function getRate() public view returns (uint256) { if (block.timestamp < (startTime.add(24 hours))) {return 700;} if (block.timestamp < (startTime.add(3 days))) {return 600;} if (block.timestamp < (startTime.add(5 days))) {return 500;} if (block.timestamp < (startTime.add(7 days))) {return 400;} if (block.timestamp < (startTime.add(10 days))) {return 350;} if (block.timestamp < (startTime.add(13 days))) {return 300;} if (block.timestamp < (startTime.add(16 days))) {return 285;} if (block.timestamp < (startTime.add(19 days))) {return 270;} if (block.timestamp < (startTime.add(22 days))) {return 260;} if (block.timestamp < (startTime.add(25 days))) {return 250;} if (block.timestamp < (startTime.add(28 days))) {return 240;} if (block.timestamp < (startTime.add(31 days))) {return 230;} if (block.timestamp < (startTime.add(34 days))) {return 225;} if (block.timestamp < (startTime.add(37 days))) {return 220;} if (block.timestamp < (startTime.add(40 days))) {return 215;} return rate; } // ================================================================================================================= // Impl FinalizableCrowdsale // ================================================================================================================= //@Override function finalization() internal { super.finalization(); // granting bonuses for the pre crowdsale grantees: for (uint256 i = 0; i < presaleGranteesMapKeys.length; i++) { token.issue(presaleGranteesMapKeys[i], presaleGranteesMap[presaleGranteesMapKeys[i]]); } //we want to make sure a min of 125M tokens are generated which equals the 25% of the crowdsale if(token.totalSupply() <= MIN_TOKEN_SALE){ uint256 missingTokens = MIN_TOKEN_SALE - token.totalSupply(); token.issue(walletCommunity, missingTokens); } // Adding 75% of the total token supply (25% were generated during the crowdsale) // 25 * 4 = 100 uint256 newTotalSupply = token.totalSupply().mul(400).div(100); // 10% of the total number of BXM tokens will be allocated to the team token.issue(walletTeam, newTotalSupply.mul(10).div(100)); // 30% of the total number of BXM tokens will be allocated to community token.issue(walletCommunity, newTotalSupply.mul(30).div(100)); // 35% of the total number of BXM tokens will be allocated to BitMED , // and as a reserve for the company to be used for future strategic plans for the created ecosystem token.issue(walletReserve, newTotalSupply.mul(35).div(100)); // Re-enable transfers after the token sale. token.disableTransfers(false); // Re-enable destroy function after the token sale. token.setDestroyEnabled(true); // Enable ETH refunds and token claim. refundVault.enableRefunds(); // transfer token ownership to crowdsale owner token.transferOwnership(owner); // transfer refundVault ownership to crowdsale owner refundVault.transferOwnership(owner); vault.transferOwnership(owner); } // ================================================================================================================= // Public Methods // ================================================================================================================= // @return the total funds collected in wei(ETH and none ETH). function getTotalFundsRaised() public view returns (uint256) { return fiatRaisedConvertedToWei.add(weiRaised); } // @return true if the crowdsale is active, hence users can buy tokens function isActive() public view returns (bool) { return block.timestamp >= startTime && block.timestamp < endTime; } // ================================================================================================================= // External Methods // ================================================================================================================= // @dev Adds/Updates address and token allocation for token grants. // Granted tokens are allocated to non-ether, presale, buyers. // @param _grantee address The address of the token grantee. // @param _value uint256 The value of the grant in wei token. function addUpdateGrantee(address _grantee, uint256 _value) external onlyOwner onlyWhileSale{ require(_grantee != address(0)); require(_value > 0); // Adding new key if not present: if (presaleGranteesMap[_grantee] == 0) { require(presaleGranteesMapKeys.length < MAX_TOKEN_GRANTEES); presaleGranteesMapKeys.push(_grantee); GrantAdded(_grantee, _value); } else { GrantUpdated(_grantee, presaleGranteesMap[_grantee], _value); } presaleGranteesMap[_grantee] = _value; } // @dev deletes entries from the grants list. // @param _grantee address The address of the token grantee. function deleteGrantee(address _grantee) external onlyOwner onlyWhileSale { require(_grantee != address(0)); require(presaleGranteesMap[_grantee] != 0); //delete from the map: delete presaleGranteesMap[_grantee]; //delete from the array (keys): uint256 index; for (uint256 i = 0; i < presaleGranteesMapKeys.length; i++) { if (presaleGranteesMapKeys[i] == _grantee) { index = i; break; } } presaleGranteesMapKeys[index] = presaleGranteesMapKeys[presaleGranteesMapKeys.length - 1]; delete presaleGranteesMapKeys[presaleGranteesMapKeys.length - 1]; presaleGranteesMapKeys.length--; GrantDeleted(_grantee, presaleGranteesMap[_grantee]); } // @dev Set funds collected outside the crowdsale in wei. // note: we not to use accumulator to allow flexibility in case of humane mistakes. // funds are converted to wei using the market conversion rate of USD\ETH on the day on the purchase. // @param _fiatRaisedConvertedToWei number of none eth raised. function setFiatRaisedConvertedToWei(uint256 _fiatRaisedConvertedToWei) external onlyOwner onlyWhileSale { fiatRaisedConvertedToWei = _fiatRaisedConvertedToWei; FiatRaisedUpdated(msg.sender, fiatRaisedConvertedToWei); } /// @dev Accepts new ownership on behalf of the BitMEDCrowdsale contract. This can be used, by the token sale /// contract itself to claim back ownership of the BitMEDSmartToken contract. function claimTokenOwnership() external onlyOwner { token.claimOwnership(); } /// @dev Accepts new ownership on behalf of the BitMEDCrowdsale contract. This can be used, by the token sale /// contract itself to claim back ownership of the refundVault contract. function claimRefundVaultOwnership() external onlyOwner { refundVault.claimOwnership(); } /// @dev Accepts new ownership on behalf of the BitMEDCrowdsale contract. This can be used, by the token sale /// contract itself to claim back ownership of the refundVault contract. function claimVaultOwnership() external onlyOwner { vault.claimOwnership(); } // @dev Buy tokes with guarantee function buyTokensWithGuarantee() public payable { require(validPurchase()); uint256 weiAmount = msg.value; require(weiAmount>500000000000000000); // calculate token amount to be created uint256 tokens = weiAmount.mul(getRate()); tokens = tokens.div(REFUND_DIVISION_RATE); // update state weiRaised = weiRaised.add(weiAmount); token.issue(address(refundVault), tokens); refundVault.deposit.value(msg.value)(msg.sender, tokens); TokenPurchaseWithGuarantee(msg.sender, address(refundVault), weiAmount, tokens); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"MIN_TOKEN_SALE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTotalFundsRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimTokenOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"refundVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EXCHANGE_RATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isActive","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimVaultOwnership","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":"","type":"address"}],"name":"presaleGranteesMap","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":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimRefundVaultOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_fiatRaisedConvertedToWei","type":"uint256"}],"name":"setFiatRaisedConvertedToWei","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"walletTeam","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"walletReserve","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buyTokensWithGuarantee","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"isFinalized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fiatRaisedConvertedToWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_TOKEN_GRANTEES","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_grantee","type":"address"},{"name":"_value","type":"uint256"}],"name":"addUpdateGrantee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"presaleGranteesMapKeys","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"walletCommunity","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_grantee","type":"address"}],"name":"deleteGrantee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pendingOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","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":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"REFUND_DIVISION_RATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_startTime","type":"uint256"},{"name":"_endTime","type":"uint256"},{"name":"_wallet","type":"address"},{"name":"_walletTeam","type":"address"},{"name":"_walletCommunity","type":"address"},{"name":"_walletReserve","type":"address"},{"name":"_BitMEDSmartToken","type":"address"},{"name":"_refundVault","type":"address"},{"name":"_vault","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_grantee","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"GrantAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_grantee","type":"address"},{"indexed":false,"name":"_oldAmount","type":"uint256"},{"indexed":false,"name":"_newAmount","type":"uint256"}],"name":"GrantUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_grantee","type":"address"},{"indexed":false,"name":"_hadAmount","type":"uint256"}],"name":"GrantDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_address","type":"address"},{"indexed":false,"name":"_fiatRaised","type":"uint256"}],"name":"FiatRaisedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokenPurchaseWithGuarantee","type":"event"},{"anonymous":false,"inputs":[],"name":"Finalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokenPurchase","type":"event"}]
Contract Creation Code
60606040526000600860146101000a81548160ff02191690831515021790555034156200002b57600080fd5b604051610120806200362683398101604052808051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091905050888860d2898685428610151515620000a857600080fd5b858510151515620000b857600080fd5b600084111515620000c857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515156200010557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156200014257600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156200017f57600080fd5b85600181905550846002819055508360048190555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614151515620002da57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141515156200031757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141515156200035457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515156200039157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515620003ce57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156200040b57600080fd5b85600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505050505061307d80620005a96000396000f3006060604052600436106101cd576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306f71440146101d85780630c3e2d2d1461020157806310731a651461022a57806311777af71461023f57806314a8bd0d1461029457806322f3e2d4146102bd57806323262615146102ea5780632c4e722e146102ff5780632dd96c84146103285780633197cbb6146103755780634042b66f1461039e5780634bb278f3146103c75780634e71e0c8146103dc5780634eb56999146103f1578063521eb27314610406578063562776191461045b578063679aefce1461047e578063688ba636146104a75780636e3f8550146104fc578063715018a61461055157806378e979251461056657806385b9f6071461058f5780638d4e4083146105995780638da5cb5b146105c6578063914d581d1461061b57806391f5f3c914610644578063af1034ab14610673578063cbe0e49a146106b5578063d09d1c5114610718578063d316e9121461076d578063e30c3978146107a6578063ec8ac4d8146107fb578063ecb70fb714610829578063f2fde38b14610856578063fbfa77cf1461088f578063fc0c546a146108e4578063fcb750cf14610939575b6101d633610962565b005b34156101e357600080fd5b6101eb610c57565b6040518082815260200191505060405180910390f35b341561020c57600080fd5b610214610c66565b6040518082815260200191505060405180910390f35b341561023557600080fd5b61023d610c84565b005b341561024a57600080fd5b610252610d7a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561029f57600080fd5b6102a7610da0565b6040518082815260200191505060405180910390f35b34156102c857600080fd5b6102d0610da5565b604051808215151515815260200191505060405180910390f35b34156102f557600080fd5b6102fd610dbf565b005b341561030a57600080fd5b610312610eb6565b6040518082815260200191505060405180910390f35b341561033357600080fd5b61035f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610ebc565b6040518082815260200191505060405180910390f35b341561038057600080fd5b610388610ed4565b6040518082815260200191505060405180910390f35b34156103a957600080fd5b6103b1610eda565b6040518082815260200191505060405180910390f35b34156103d257600080fd5b6103da610ee0565b005b34156103e757600080fd5b6103ef610fbc565b005b34156103fc57600080fd5b61040461115d565b005b341561041157600080fd5b610419611254565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561046657600080fd5b61047c600480803590602001909190505061127a565b005b341561048957600080fd5b610491611343565b6040518082815260200191505060405180910390f35b34156104b257600080fd5b6104ba6115af565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561050757600080fd5b61050f6115d5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561055c57600080fd5b6105646115fb565b005b341561057157600080fd5b610579611700565b6040518082815260200191505060405180910390f35b610597611706565b005b34156105a457600080fd5b6105ac6119e7565b604051808215151515815260200191505060405180910390f35b34156105d157600080fd5b6105d96119fa565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561062657600080fd5b61062e611a20565b6040518082815260200191505060405180910390f35b341561064f57600080fd5b610657611a26565b604051808260ff1660ff16815260200191505060405180910390f35b341561067e57600080fd5b6106b3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611a2b565b005b34156106c057600080fd5b6106d66004808035906020019091905050611cd8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561072357600080fd5b61072b611d17565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561077857600080fd5b6107a4600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611d3d565b005b34156107b157600080fd5b6107b961209a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610827600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610962565b005b341561083457600080fd5b61083c6120c0565b604051808215151515815260200191505060405180910390f35b341561086157600080fd5b61088d600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506120cc565b005b341561089a57600080fd5b6108a261216c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156108ef57600080fd5b6108f7612192565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561094457600080fd5b61094c6121b7565b6040518082815260200191505060405180910390f35b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515156109a157600080fd5b6109a96121bc565b15156109b457600080fd5b3491506706f05b59d3b20000821115156109cd57600080fd5b6109e76109d8611343565b836121ef90919063ffffffff16565b90506109fe8260055461222290919063ffffffff16565b6005819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1515610ae957600080fd5b6102c65a03f11515610afa57600080fd5b505050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630efe6a8b8483346040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019350505050600060405180830381600087803b1515610bc957600080fd5b6102c65a03f11515610bda57600080fd5b5050508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad188484604051808381526020018281526020019250505060405180910390a3610c52612240565b505050565b6a6765c793fa10079d00000081565b6000610c7f600554600c5461222290919063ffffffff16565b905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ce057600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634e71e0c86040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515610d6457600080fd5b6102c65a03f11515610d7557600080fd5b505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60d281565b60006001544210158015610dba575060025442105b905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e1b57600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634e71e0c86040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515610ea057600080fd5b6102c65a03f11515610eb157600080fd5b505050565b60045481565b600e6020528060005260406000206000915090505481565b60025481565b60055481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f3c57600080fd5b600860149054906101000a900460ff16151515610f5857600080fd5b610f606120c0565b1515610f6b57600080fd5b610f736122a4565b7f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768160405160405180910390a16001600860146101000a81548160ff021916908315150217905550565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101857600080fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111b957600080fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634e71e0c86040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b151561123e57600080fd5b6102c65a03f1151561124f57600080fd5b505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112d657600080fd5b6112de610da5565b15156112e957600080fd5b80600c819055503373ffffffffffffffffffffffffffffffffffffffff167fdf15f87e807c67c55ac392979576e7ab6908c4d3987601ebf5cf328bbec88dc4600c546040518082815260200191505060405180910390a250565b600061135d6201518060015461222290919063ffffffff16565b42101561136e576102bc90506115ac565b6113866203f48060015461222290919063ffffffff16565b4210156113975761025890506115ac565b6113af6206978060015461222290919063ffffffff16565b4210156113c0576101f490506115ac565b6113d862093a8060015461222290919063ffffffff16565b4210156113e95761019090506115ac565b611401620d2f0060015461222290919063ffffffff16565b4210156114125761015e90506115ac565b61142a6211238060015461222290919063ffffffff16565b42101561143b5761012c90506115ac565b6114536215180060015461222290919063ffffffff16565b4210156114645761011d90506115ac565b61147c62190c8060015461222290919063ffffffff16565b42101561148d5761010e90506115ac565b6114a5621d010060015461222290919063ffffffff16565b4210156114b65761010490506115ac565b6114ce6220f58060015461222290919063ffffffff16565b4210156114de5760fa90506115ac565b6114f66224ea0060015461222290919063ffffffff16565b4210156115065760f090506115ac565b61151e6228de8060015461222290919063ffffffff16565b42101561152e5760e690506115ac565b611546622cd30060015461222290919063ffffffff16565b4210156115565760e190506115ac565b61156e6230c78060015461222290919063ffffffff16565b42101561157e5760dc90506115ac565b6115966234bc0060015461222290919063ffffffff16565b4210156115a65760d790506115ac565b60045490505b90565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561165757600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60015481565b6000806117116121bc565b151561171c57600080fd5b3491506706f05b59d3b200008211151561173557600080fd5b61174f611740611343565b836121ef90919063ffffffff16565b9050611765600282612fb790919063ffffffff16565b905061177c8260055461222290919063ffffffff16565b6005819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b151561186757600080fd5b6102c65a03f1151561187857600080fd5b505050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166347e7ef243433846040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506000604051808303818588803b151561193f57600080fd5b6125ee5a03f1151561195057600080fd5b50505050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167ffaa5e74a9ff37772660d8f2a92569a483453a78363e6d62dc6e098f7d1d86d788484604051808381526020018281526020019250505060405180910390a35050565b600860149054906101000a900460ff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b600a81565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611a8757600080fd5b611a8f610da5565b1515611a9a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515611ad657600080fd5b600081111515611ae557600080fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611bfa57600a60ff16600d80549050101515611b4457600080fd5b600d8054806001018281611b589190612fd4565b9160005260206000209001600084909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550508173ffffffffffffffffffffffffffffffffffffffff167f9d2a1eab91557a277ec725fe26546609d5a33a550c3f3476982ee177252be8f4826040518082815260200191505060405180910390a2611c90565b8173ffffffffffffffffffffffffffffffffffffffff167f8a53360fe59670cc3e4f0c013e90b4fd2f196cbce9dd3d98187d6050f87a19eb600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483604051808381526020018281526020019250505060405180910390a25b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600d81815481101515611ce757fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d9c57600080fd5b611da4610da5565b1515611daf57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515611deb57600080fd5b6000600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414151515611e3a57600080fd5b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009055600090505b600d80549050811015611f12578273ffffffffffffffffffffffffffffffffffffffff16600d82815481101515611eb557fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f0557809150611f12565b8080600101915050611e82565b600d6001600d8054905003815481101515611f2957fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600d83815481101515611f6457fe5b906000526020600020900160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d6001600d8054905003815481101515611fc457fe5b906000526020600020900160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600d8054809190600190036120079190613000565b508273ffffffffffffffffffffffffffffffffffffffff167f8db49b57ab5d98b4913c9d04362b8b03a4dc70cf95f9ff93572c8f17e0a635a7600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a2505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002544211905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561212857600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600281565b600080600060015442101580156121d557506002544211155b9150600034141590508180156121e85750805b9250505090565b60008082840290506000841480612210575082848281151561220d57fe5b04145b151561221857fe5b8091505092915050565b600080828401905083811015151561223657fe5b8091505092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015156122a257600080fd5b565b60008060006122b1612fd2565b600092505b600d8054905083101561245a576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600d8581548110151561230f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600e6000600d8881548110151561234e57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b151561243957600080fd5b6102c65a03f1151561244a57600080fd5b50505082806001019350506122b6565b6a6765c793fa10079d0000006000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156124f357600080fd5b6102c65a03f1151561250457600080fd5b505050604051805190501115156126c6576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156125a257600080fd5b6102c65a03f115156125b357600080fd5b505050604051805190506a6765c793fa10079d0000000391506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15156126b157600080fd5b6102c65a03f115156126c257600080fd5b5050505b61279560646127876101906000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561275e57600080fd5b6102c65a03f1151561276f57600080fd5b505050604051805190506121ef90919063ffffffff16565b612fb790919063ffffffff16565b90506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661281e6064612810600a876121ef90919063ffffffff16565b612fb790919063ffffffff16565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15156128a257600080fd5b6102c65a03f115156128b357600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661293d606461292f601e876121ef90919063ffffffff16565b612fb790919063ffffffff16565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15156129c157600080fd5b6102c65a03f115156129d257600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612a5c6064612a4e6023876121ef90919063ffffffff16565b612fb790919063ffffffff16565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1515612ae057600080fd5b6102c65a03f11515612af157600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631608f18f60006040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082151515158152602001915050600060405180830381600087803b1515612b8857600080fd5b6102c65a03f11515612b9957600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635005ba4760016040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082151515158152602001915050600060405180830381600087803b1515612c3057600080fd5b6102c65a03f11515612c4157600080fd5b505050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638c52dc416040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515612cc957600080fd5b6102c65a03f11515612cda57600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515612dba57600080fd5b6102c65a03f11515612dcb57600080fd5b505050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515612eac57600080fd5b6102c65a03f11515612ebd57600080fd5b505050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515612f9e57600080fd5b6102c65a03f11515612faf57600080fd5b505050505050565b6000808284811515612fc557fe5b0490508091505092915050565b565b815481835581811511612ffb57818360005260206000209182019101612ffa919061302c565b5b505050565b81548183558181151161302757818360005260206000209182019101613026919061302c565b5b505050565b61304e91905b8082111561304a576000816000905550600101613032565b5090565b905600a165627a7a72305820e21f28096917bb175f198c0013cf279a2802fc92d0ceed1a7982514343c8a7f60029000000000000000000000000000000000000000000000000000000005bb16380000000000000000000000000000000000000000000000000000000005bee088000000000000000000000000071a32131610f3289b358b55d6448d85a358fba6d000000000000000000000000c7c7545595f2a64076b97a314cd79d6c61f6a3c900000000000000000000000050bb6005e7e93b5518b2a5517f58cb785b6adbab000000000000000000000000401a8afe306bdc08f269c589e31b19e511681bc80000000000000000000000001b53d25fd98511b02ab71d2e4638d897e65b178c00000000000000000000000092fb4ed3f64aba14f871dcd56df399b2ac67dc100000000000000000000000003fccf0963c6dcef5858f77f83bf99cb46b2c34f5
Deployed Bytecode
0x6060604052600436106101cd576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306f71440146101d85780630c3e2d2d1461020157806310731a651461022a57806311777af71461023f57806314a8bd0d1461029457806322f3e2d4146102bd57806323262615146102ea5780632c4e722e146102ff5780632dd96c84146103285780633197cbb6146103755780634042b66f1461039e5780634bb278f3146103c75780634e71e0c8146103dc5780634eb56999146103f1578063521eb27314610406578063562776191461045b578063679aefce1461047e578063688ba636146104a75780636e3f8550146104fc578063715018a61461055157806378e979251461056657806385b9f6071461058f5780638d4e4083146105995780638da5cb5b146105c6578063914d581d1461061b57806391f5f3c914610644578063af1034ab14610673578063cbe0e49a146106b5578063d09d1c5114610718578063d316e9121461076d578063e30c3978146107a6578063ec8ac4d8146107fb578063ecb70fb714610829578063f2fde38b14610856578063fbfa77cf1461088f578063fc0c546a146108e4578063fcb750cf14610939575b6101d633610962565b005b34156101e357600080fd5b6101eb610c57565b6040518082815260200191505060405180910390f35b341561020c57600080fd5b610214610c66565b6040518082815260200191505060405180910390f35b341561023557600080fd5b61023d610c84565b005b341561024a57600080fd5b610252610d7a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561029f57600080fd5b6102a7610da0565b6040518082815260200191505060405180910390f35b34156102c857600080fd5b6102d0610da5565b604051808215151515815260200191505060405180910390f35b34156102f557600080fd5b6102fd610dbf565b005b341561030a57600080fd5b610312610eb6565b6040518082815260200191505060405180910390f35b341561033357600080fd5b61035f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610ebc565b6040518082815260200191505060405180910390f35b341561038057600080fd5b610388610ed4565b6040518082815260200191505060405180910390f35b34156103a957600080fd5b6103b1610eda565b6040518082815260200191505060405180910390f35b34156103d257600080fd5b6103da610ee0565b005b34156103e757600080fd5b6103ef610fbc565b005b34156103fc57600080fd5b61040461115d565b005b341561041157600080fd5b610419611254565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561046657600080fd5b61047c600480803590602001909190505061127a565b005b341561048957600080fd5b610491611343565b6040518082815260200191505060405180910390f35b34156104b257600080fd5b6104ba6115af565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561050757600080fd5b61050f6115d5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561055c57600080fd5b6105646115fb565b005b341561057157600080fd5b610579611700565b6040518082815260200191505060405180910390f35b610597611706565b005b34156105a457600080fd5b6105ac6119e7565b604051808215151515815260200191505060405180910390f35b34156105d157600080fd5b6105d96119fa565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561062657600080fd5b61062e611a20565b6040518082815260200191505060405180910390f35b341561064f57600080fd5b610657611a26565b604051808260ff1660ff16815260200191505060405180910390f35b341561067e57600080fd5b6106b3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611a2b565b005b34156106c057600080fd5b6106d66004808035906020019091905050611cd8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561072357600080fd5b61072b611d17565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561077857600080fd5b6107a4600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611d3d565b005b34156107b157600080fd5b6107b961209a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610827600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610962565b005b341561083457600080fd5b61083c6120c0565b604051808215151515815260200191505060405180910390f35b341561086157600080fd5b61088d600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506120cc565b005b341561089a57600080fd5b6108a261216c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156108ef57600080fd5b6108f7612192565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561094457600080fd5b61094c6121b7565b6040518082815260200191505060405180910390f35b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515156109a157600080fd5b6109a96121bc565b15156109b457600080fd5b3491506706f05b59d3b20000821115156109cd57600080fd5b6109e76109d8611343565b836121ef90919063ffffffff16565b90506109fe8260055461222290919063ffffffff16565b6005819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1515610ae957600080fd5b6102c65a03f11515610afa57600080fd5b505050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630efe6a8b8483346040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019350505050600060405180830381600087803b1515610bc957600080fd5b6102c65a03f11515610bda57600080fd5b5050508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f623b3804fa71d67900d064613da8f94b9617215ee90799290593e1745087ad188484604051808381526020018281526020019250505060405180910390a3610c52612240565b505050565b6a6765c793fa10079d00000081565b6000610c7f600554600c5461222290919063ffffffff16565b905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ce057600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634e71e0c86040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515610d6457600080fd5b6102c65a03f11515610d7557600080fd5b505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60d281565b60006001544210158015610dba575060025442105b905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e1b57600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634e71e0c86040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515610ea057600080fd5b6102c65a03f11515610eb157600080fd5b505050565b60045481565b600e6020528060005260406000206000915090505481565b60025481565b60055481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f3c57600080fd5b600860149054906101000a900460ff16151515610f5857600080fd5b610f606120c0565b1515610f6b57600080fd5b610f736122a4565b7f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768160405160405180910390a16001600860146101000a81548160ff021916908315150217905550565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101857600080fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111b957600080fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634e71e0c86040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b151561123e57600080fd5b6102c65a03f1151561124f57600080fd5b505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112d657600080fd5b6112de610da5565b15156112e957600080fd5b80600c819055503373ffffffffffffffffffffffffffffffffffffffff167fdf15f87e807c67c55ac392979576e7ab6908c4d3987601ebf5cf328bbec88dc4600c546040518082815260200191505060405180910390a250565b600061135d6201518060015461222290919063ffffffff16565b42101561136e576102bc90506115ac565b6113866203f48060015461222290919063ffffffff16565b4210156113975761025890506115ac565b6113af6206978060015461222290919063ffffffff16565b4210156113c0576101f490506115ac565b6113d862093a8060015461222290919063ffffffff16565b4210156113e95761019090506115ac565b611401620d2f0060015461222290919063ffffffff16565b4210156114125761015e90506115ac565b61142a6211238060015461222290919063ffffffff16565b42101561143b5761012c90506115ac565b6114536215180060015461222290919063ffffffff16565b4210156114645761011d90506115ac565b61147c62190c8060015461222290919063ffffffff16565b42101561148d5761010e90506115ac565b6114a5621d010060015461222290919063ffffffff16565b4210156114b65761010490506115ac565b6114ce6220f58060015461222290919063ffffffff16565b4210156114de5760fa90506115ac565b6114f66224ea0060015461222290919063ffffffff16565b4210156115065760f090506115ac565b61151e6228de8060015461222290919063ffffffff16565b42101561152e5760e690506115ac565b611546622cd30060015461222290919063ffffffff16565b4210156115565760e190506115ac565b61156e6230c78060015461222290919063ffffffff16565b42101561157e5760dc90506115ac565b6115966234bc0060015461222290919063ffffffff16565b4210156115a65760d790506115ac565b60045490505b90565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561165757600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60015481565b6000806117116121bc565b151561171c57600080fd5b3491506706f05b59d3b200008211151561173557600080fd5b61174f611740611343565b836121ef90919063ffffffff16565b9050611765600282612fb790919063ffffffff16565b905061177c8260055461222290919063ffffffff16565b6005819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b151561186757600080fd5b6102c65a03f1151561187857600080fd5b505050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166347e7ef243433846040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506000604051808303818588803b151561193f57600080fd5b6125ee5a03f1151561195057600080fd5b50505050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167ffaa5e74a9ff37772660d8f2a92569a483453a78363e6d62dc6e098f7d1d86d788484604051808381526020018281526020019250505060405180910390a35050565b600860149054906101000a900460ff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b600a81565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611a8757600080fd5b611a8f610da5565b1515611a9a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515611ad657600080fd5b600081111515611ae557600080fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611bfa57600a60ff16600d80549050101515611b4457600080fd5b600d8054806001018281611b589190612fd4565b9160005260206000209001600084909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550508173ffffffffffffffffffffffffffffffffffffffff167f9d2a1eab91557a277ec725fe26546609d5a33a550c3f3476982ee177252be8f4826040518082815260200191505060405180910390a2611c90565b8173ffffffffffffffffffffffffffffffffffffffff167f8a53360fe59670cc3e4f0c013e90b4fd2f196cbce9dd3d98187d6050f87a19eb600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483604051808381526020018281526020019250505060405180910390a25b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600d81815481101515611ce757fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d9c57600080fd5b611da4610da5565b1515611daf57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515611deb57600080fd5b6000600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414151515611e3a57600080fd5b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009055600090505b600d80549050811015611f12578273ffffffffffffffffffffffffffffffffffffffff16600d82815481101515611eb557fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f0557809150611f12565b8080600101915050611e82565b600d6001600d8054905003815481101515611f2957fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600d83815481101515611f6457fe5b906000526020600020900160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d6001600d8054905003815481101515611fc457fe5b906000526020600020900160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600d8054809190600190036120079190613000565b508273ffffffffffffffffffffffffffffffffffffffff167f8db49b57ab5d98b4913c9d04362b8b03a4dc70cf95f9ff93572c8f17e0a635a7600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a2505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002544211905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561212857600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600281565b600080600060015442101580156121d557506002544211155b9150600034141590508180156121e85750805b9250505090565b60008082840290506000841480612210575082848281151561220d57fe5b04145b151561221857fe5b8091505092915050565b600080828401905083811015151561223657fe5b8091505092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015156122a257600080fd5b565b60008060006122b1612fd2565b600092505b600d8054905083101561245a576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600d8581548110151561230f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600e6000600d8881548110151561234e57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b151561243957600080fd5b6102c65a03f1151561244a57600080fd5b50505082806001019350506122b6565b6a6765c793fa10079d0000006000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156124f357600080fd5b6102c65a03f1151561250457600080fd5b505050604051805190501115156126c6576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156125a257600080fd5b6102c65a03f115156125b357600080fd5b505050604051805190506a6765c793fa10079d0000000391506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15156126b157600080fd5b6102c65a03f115156126c257600080fd5b5050505b61279560646127876101906000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561275e57600080fd5b6102c65a03f1151561276f57600080fd5b505050604051805190506121ef90919063ffffffff16565b612fb790919063ffffffff16565b90506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661281e6064612810600a876121ef90919063ffffffff16565b612fb790919063ffffffff16565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15156128a257600080fd5b6102c65a03f115156128b357600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661293d606461292f601e876121ef90919063ffffffff16565b612fb790919063ffffffff16565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15156129c157600080fd5b6102c65a03f115156129d257600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663867904b4600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612a5c6064612a4e6023876121ef90919063ffffffff16565b612fb790919063ffffffff16565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1515612ae057600080fd5b6102c65a03f11515612af157600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631608f18f60006040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082151515158152602001915050600060405180830381600087803b1515612b8857600080fd5b6102c65a03f11515612b9957600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635005ba4760016040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082151515158152602001915050600060405180830381600087803b1515612c3057600080fd5b6102c65a03f11515612c4157600080fd5b505050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638c52dc416040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1515612cc957600080fd5b6102c65a03f11515612cda57600080fd5b5050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515612dba57600080fd5b6102c65a03f11515612dcb57600080fd5b505050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515612eac57600080fd5b6102c65a03f11515612ebd57600080fd5b505050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515612f9e57600080fd5b6102c65a03f11515612faf57600080fd5b505050505050565b6000808284811515612fc557fe5b0490508091505092915050565b565b815481835581811511612ffb57818360005260206000209182019101612ffa919061302c565b5b505050565b81548183558181151161302757818360005260206000209182019101613026919061302c565b5b505050565b61304e91905b8082111561304a576000816000905550600101613032565b5090565b905600a165627a7a72305820e21f28096917bb175f198c0013cf279a2802fc92d0ceed1a7982514343c8a7f60029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000005bb16380000000000000000000000000000000000000000000000000000000005bee088000000000000000000000000071a32131610f3289b358b55d6448d85a358fba6d000000000000000000000000c7c7545595f2a64076b97a314cd79d6c61f6a3c900000000000000000000000050bb6005e7e93b5518b2a5517f58cb785b6adbab000000000000000000000000401a8afe306bdc08f269c589e31b19e511681bc80000000000000000000000001b53d25fd98511b02ab71d2e4638d897e65b178c00000000000000000000000092fb4ed3f64aba14f871dcd56df399b2ac67dc100000000000000000000000003fccf0963c6dcef5858f77f83bf99cb46b2c34f5
-----Decoded View---------------
Arg [0] : _startTime (uint256): 1538352000
Arg [1] : _endTime (uint256): 1542326400
Arg [2] : _wallet (address): 0x71a32131610F3289b358B55D6448D85A358fbA6d
Arg [3] : _walletTeam (address): 0xc7c7545595f2A64076b97a314cd79D6c61F6a3C9
Arg [4] : _walletCommunity (address): 0x50bB6005e7E93B5518B2a5517F58cB785b6ADBaB
Arg [5] : _walletReserve (address): 0x401A8AFe306BDC08F269c589e31b19E511681BC8
Arg [6] : _BitMEDSmartToken (address): 0x1B53D25fD98511b02AB71d2E4638D897E65b178C
Arg [7] : _refundVault (address): 0x92fB4Ed3f64AbA14f871Dcd56Df399b2ac67Dc10
Arg [8] : _vault (address): 0x3fCCF0963c6dcEf5858f77f83bf99CB46B2c34f5
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000005bb16380
Arg [1] : 000000000000000000000000000000000000000000000000000000005bee0880
Arg [2] : 00000000000000000000000071a32131610f3289b358b55d6448d85a358fba6d
Arg [3] : 000000000000000000000000c7c7545595f2a64076b97a314cd79d6c61f6a3c9
Arg [4] : 00000000000000000000000050bb6005e7e93b5518b2a5517f58cb785b6adbab
Arg [5] : 000000000000000000000000401a8afe306bdc08f269c589e31b19e511681bc8
Arg [6] : 0000000000000000000000001b53d25fd98511b02ab71d2e4638d897e65b178c
Arg [7] : 00000000000000000000000092fb4ed3f64aba14f871dcd56df399b2ac67dc10
Arg [8] : 0000000000000000000000003fccf0963c6dcef5858f77f83bf99cb46b2c34f5
Swarm Source
bzzr://e21f28096917bb175f198c0013cf279a2802fc92d0ceed1a7982514343c8a7f6
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.