ETH Price: $3,308.16 (-3.26%)
Gas: 13 Gwei

Token

BananaCoin Extended (BCO)
 

Overview

Max Total Supply

5,850,914.88568441 BCO

Holders

2,636 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
343.200022 BCO

Value
$0.00
0x87c32b5a1697d367f06d58926bc5ce5eb8201f83
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

first environmentall friendly plantation in Laos which has released a utility token based on Ethereum, pegged to the export price of 1 kg of bananas.

ICO Information

ICO Start Date : Nov 29, 2017  
ICO End Date : Feb 28, 2018
Total Cap : 14,000,000 BCO
Raised : $4,769,155
ICO Price  : $0.70
Country : Laos

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BCOExtendedToken

Compiler Version
v0.4.13+commit.fb4cb1a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2017-09-08
*/

pragma solidity ^0.4.11;

/*
 * ERC20 interface
 * see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 {
  uint public totalSupply;
  function balanceOf(address who) constant returns (uint);
  function allowance(address owner, address spender) constant returns (uint);

  function transfer(address to, uint value) returns (bool ok);
  function transferFrom(address from, address to, uint value) returns (bool ok);
  function approve(address spender, uint value) returns (bool ok);
  event Transfer(address indexed from, address indexed to, uint value);
  event Approval(address indexed owner, address indexed spender, uint value);
}

// ERC223
contract ContractReceiver {
  function tokenFallback(address from, uint value);
}

/**
 * Math operations with safety checks
 */
contract SafeMath {
  function safeMul(uint a, uint b) internal returns (uint) {
    uint c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function safeDiv(uint a, uint b) internal returns (uint) {
    assert(b > 0);
    uint c = a / b;
    assert(a == b * c + a % b);
    return c;
  }

  function safeSub(uint a, uint b) internal returns (uint) {
    assert(b <= a);
    return a - b;
  }

  function safeAdd(uint a, uint b) internal returns (uint) {
    uint c = a + b;
    assert(c>=a && c>=b);
    return c;
  }

  function max64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a >= b ? a : b;
  }

  function min64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a < b ? a : b;
  }

  function max256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a >= b ? a : b;
  }

  function min256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a < b ? a : b;
  }

  function assert(bool assertion) internal {
    if (!assertion) {
      revert();
    }
  }
}



/**
 * Standard ERC20 token with Short Hand Attack and approve() race condition mitigation.
 *
 * Based on code by FirstBlood:
 * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, SafeMath {

  /* Token supply got increased and a new owner received these tokens */
  event Minted(address receiver, uint amount);

  /* Actual balances of token holders */
  mapping(address => uint) balances;

  /* approve() allowances */
  mapping (address => mapping (address => uint)) allowed;

  /**
   *
   * Fix for the ERC20 short address attack
   *
   * http://vessenes.com/the-erc20-short-address-attack-explained/
   */
  modifier onlyPayloadSize(uint size) {
     if(msg.data.length != size + 4) {
       revert();
     }
     _;
  }

  function transfer(address _to, uint _value) onlyPayloadSize(2 * 32) returns (bool success) {
    balances[msg.sender] = safeSub(balances[msg.sender], _value);
    balances[_to] = safeAdd(balances[_to], _value);
    Transfer(msg.sender, _to, _value);

    if (isContract(_to)) {
      ContractReceiver rx = ContractReceiver(_to);
      rx.tokenFallback(msg.sender, _value);
    }

    return true;
  }

  // ERC223 fetch contract size (must be nonzero to be a contract)
  function isContract( address _addr ) private returns (bool) {
    uint length;
    _addr = _addr;
    assembly { length := extcodesize(_addr) }
    return (length > 0);
  }

  function transferFrom(address _from, address _to, uint _value) returns (bool success) {
    uint _allowance = allowed[_from][msg.sender];

    // Check is not needed because safeSub(_allowance, _value) will already throw if this condition is not met
    // if (_value > _allowance) revert();

    balances[_to] = safeAdd(balances[_to], _value);
    balances[_from] = safeSub(balances[_from], _value);
    allowed[_from][msg.sender] = safeSub(_allowance, _value);
    Transfer(_from, _to, _value);
    return true;
  }

  function balanceOf(address _owner) constant returns (uint balance) {
    return balances[_owner];
  }

  function approve(address _spender, uint _value) returns (bool success) {

    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) revert();

    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  function allowance(address _owner, address _spender) constant returns (uint remaining) {
    return allowed[_owner][_spender];
  }

  /**
   * Atomic increment of approved spending
   *
   * Works around https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   *
   */
  function addApproval(address _spender, uint _addedValue)
  onlyPayloadSize(2 * 32)
  returns (bool success) {
      uint oldValue = allowed[msg.sender][_spender];
      allowed[msg.sender][_spender] = safeAdd(oldValue, _addedValue);
      Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
      return true;
  }

  /**
   * Atomic decrement of approved spending.
   *
   * Works around https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   */
  function subApproval(address _spender, uint _subtractedValue)
  onlyPayloadSize(2 * 32)
  returns (bool success) {

      uint oldVal = allowed[msg.sender][_spender];

      if (_subtractedValue > oldVal) {
          allowed[msg.sender][_spender] = 0;
      } else {
          allowed[msg.sender][_spender] = safeSub(oldVal, _subtractedValue);
      }
      Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
      return true;
  }

}



contract BurnableToken is StandardToken {

  address public constant BURN_ADDRESS = 0;

  /** How many tokens we burned */
  event Burned(address burner, uint burnedAmount);

  /**
   * Burn extra tokens from a balance.
   *
   */
  function burn(uint burnAmount) {
    address burner = msg.sender;
    balances[burner] = safeSub(balances[burner], burnAmount);
    totalSupply = safeSub(totalSupply, burnAmount);
    Burned(burner, burnAmount);
  }
}





/**
 * Upgrade agent interface inspired by Lunyr.
 *
 * Upgrade agent transfers tokens to a new contract.
 * Upgrade agent itself can be the token contract, or just a middle man contract doing the heavy lifting.
 */
contract UpgradeAgent {

  uint public originalSupply;

  /** Interface marker */
  function isUpgradeAgent() public constant returns (bool) {
    return true;
  }

  function upgradeFrom(address _from, uint256 _value) public;

}


/**
 * A token upgrade mechanism where users can opt-in amount of tokens to the next smart contract revision.
 *
 * First envisioned by Golem and Lunyr projects.
 */
contract UpgradeableToken is StandardToken {

  /** Contract / person who can set the upgrade path. This can be the same as team multisig wallet, as what it is with its default value. */
  address public upgradeMaster;

  /** The next contract where the tokens will be migrated. */
  UpgradeAgent public upgradeAgent;

  /** How many tokens we have upgraded by now. */
  uint256 public totalUpgraded;

  /**
   * Upgrade states.
   *
   * - NotAllowed: The child contract has not reached a condition where the upgrade can bgun
   * - WaitingForAgent: Token allows upgrade, but we don't have a new agent yet
   * - ReadyToUpgrade: The agent is set, but not a single token has been upgraded yet
   * - Upgrading: Upgrade agent is set and the balance holders can upgrade their tokens
   *
   */
  enum UpgradeState {Unknown, NotAllowed, WaitingForAgent, ReadyToUpgrade, Upgrading}

  /**
   * Somebody has upgraded some of his tokens.
   */
  event Upgrade(address indexed _from, address indexed _to, uint256 _value);

  /**
   * New upgrade agent available.
   */
  event UpgradeAgentSet(address agent);

  /**
   * Do not allow construction without upgrade master set.
   */
  function UpgradeableToken(address _upgradeMaster) {
    upgradeMaster = _upgradeMaster;
  }

  /**
   * Allow the token holder to upgrade some of their tokens to a new contract.
   */
  function upgrade(uint256 value) public {

      UpgradeState state = getUpgradeState();
      if(!(state == UpgradeState.ReadyToUpgrade || state == UpgradeState.Upgrading)) {
        // Called in a bad state
        revert();
      }

      // Validate input value.
      if (value == 0) revert();

      balances[msg.sender] = safeSub(balances[msg.sender], value);

      // Take tokens out from circulation
      totalSupply = safeSub(totalSupply, value);
      totalUpgraded = safeAdd(totalUpgraded, value);

      // Upgrade agent reissues the tokens
      upgradeAgent.upgradeFrom(msg.sender, value);
      Upgrade(msg.sender, upgradeAgent, value);
  }

  /**
   * Set an upgrade agent that handles
   */
  function setUpgradeAgent(address agent) external {

      if(!canUpgrade()) {
        // The token is not yet in a state that we could think upgrading
        revert();
      }

      if (agent == 0x0) revert();
      // Only a master can designate the next agent
      if (msg.sender != upgradeMaster) revert();
      // Upgrade has already begun for an agent
      if (getUpgradeState() == UpgradeState.Upgrading) revert();

      upgradeAgent = UpgradeAgent(agent);

      // Bad interface
      if(!upgradeAgent.isUpgradeAgent()) revert();
      // Make sure that token supplies match in source and target
      if (upgradeAgent.originalSupply() != totalSupply) revert();

      UpgradeAgentSet(upgradeAgent);
  }

  /**
   * Get the state of the token upgrade.
   */
  function getUpgradeState() public constant returns(UpgradeState) {
    if(!canUpgrade()) return UpgradeState.NotAllowed;
    else if(address(upgradeAgent) == 0x00) return UpgradeState.WaitingForAgent;
    else if(totalUpgraded == 0) return UpgradeState.ReadyToUpgrade;
    else return UpgradeState.Upgrading;
  }

  /**
   * Change the upgrade master.
   *
   * This allows us to set a new owner for the upgrade mechanism.
   */
  function setUpgradeMaster(address master) public {
      if (master == 0x0) revert();
      if (msg.sender != upgradeMaster) revert();
      upgradeMaster = master;
  }

  /**
   * Child contract can enable to provide the condition when the upgrade can begun.
   */
  function canUpgrade() public constant returns(bool) {
     return true;
  }

}


contract BCOExtendedToken is BurnableToken, UpgradeableToken {

  string public name;
  string public symbol;
  uint public decimals;
  address public owner;

  bool public mintingFinished = false;

  mapping(address => uint) public previligedBalances;

  /** List of agents that are allowed to create new tokens */
  mapping(address => bool) public mintAgents;
  event MintingAgentChanged(address addr, bool state);

  modifier onlyOwner() {
    if(msg.sender != owner) revert();
    _;
  }

  modifier onlyMintAgent() {
    // Only crowdsale contracts are allowed to mint new tokens
    if(!mintAgents[msg.sender]) revert();
    _;
  }

  /** Make sure we are not done yet. */
  modifier canMint() {
    if(mintingFinished) revert();
    _;
  }

  function transferOwnership(address newOwner) onlyOwner {
    if (newOwner != address(0)) {
      owner = newOwner;
    }
  }

  function BCOExtendedToken(address _owner, string _name, string _symbol, uint _totalSupply, uint _decimals)  UpgradeableToken(_owner) {
    name = _name;
    symbol = _symbol;
    totalSupply = _totalSupply;
    decimals = _decimals;

    // Allocate initial balance to the owner
    balances[_owner] = _totalSupply;

    // save the owner
    owner = _owner;
  }

  // privileged transfer
  function transferPrivileged(address _to, uint _value) onlyOwner returns (bool success) {
    balances[msg.sender] = safeSub(balances[msg.sender], _value);
    balances[_to] = safeAdd(balances[_to], _value);
    previligedBalances[_to] = safeAdd(previligedBalances[_to], _value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  // get priveleged balance
  function getPrivilegedBalance(address _owner) constant returns (uint balance) {
    return previligedBalances[_owner];
  }

  // admin only can transfer from the privileged accounts
  function transferFromPrivileged(address _from, address _to, uint _value) onlyOwner returns (bool success) {
    uint availablePrevilegedBalance = previligedBalances[_from];

    balances[_from] = safeSub(balances[_from], _value);
    balances[_to] = safeAdd(balances[_to], _value);
    previligedBalances[_from] = safeSub(availablePrevilegedBalance, _value);
    Transfer(_from, _to, _value);
    return true;
  }

  /**
   * Create new tokens and allocate them to an address..
   *
   * Only callably by a crowdsale contract (mint agent).
   */
  function mint(address receiver, uint amount) onlyMintAgent canMint public {
    totalSupply = safeAdd(totalSupply, amount);
    balances[receiver] = safeAdd(balances[receiver], amount);

    // This will make the mint transaction apper in EtherScan.io
    // We can remove this after there is a standardized minting event
    Transfer(0, receiver, amount);
  }

  /**
   * Owner can allow a crowdsale contract to mint new tokens.
   */
  function setMintAgent(address addr, bool state) onlyOwner canMint public {
    mintAgents[addr] = state;
    MintingAgentChanged(addr, state);
  }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferPrivileged","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"burnAmount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"mintAgents","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setMintAgent","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"upgrade","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFromPrivileged","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"upgradeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"upgradeMaster","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getUpgradeState","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"previligedBalances","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"canUpgrade","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"getPrivilegedBalance","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"addApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalUpgraded","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"agent","type":"address"}],"name":"setUpgradeAgent","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"subApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"BURN_ADDRESS","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"master","type":"address"}],"name":"setUpgradeMaster","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_owner","type":"address"},{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_totalSupply","type":"uint256"},{"name":"_decimals","type":"uint256"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"state","type":"bool"}],"name":"MintingAgentChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Upgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"agent","type":"address"}],"name":"UpgradeAgentSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"burner","type":"address"},{"indexed":false,"name":"burnedAmount","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"receiver","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

60606040526009805460a060020a60ff021916905534156200002057600080fd5b604051620018bb380380620018bb8339810160405280805191906020018051820191906020018051820191906020018051919060200180519150505b845b60038054600160a060020a031916600160a060020a0383161790555b50600684805162000090929160200190620000ea565b506007838051620000a6929160200190620000ea565b5060008281556008829055600160a060020a0386168082526001602052604090912083905560098054600160a060020a03191690911790555b505050505062000194565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200012d57805160ff19168380011785556200015d565b828001600101855582156200015d579182015b828111156200015d57825182559160200191906001019062000140565b5b506200016c92915062000170565b5090565b6200019191905b808211156200016c576000815560010162000177565b5090565b90565b61171780620001a46000396000f3006060604052361561016f5763ffffffff60e060020a60003504166305d2035b811461017457806306fdde031461019b578063095ea7b31461022657806318160ddd1461025c5780631a017f3f1461028157806323b872dd146102b7578063313ce567146102f357806340c10f191461031857806342966c681461033c57806342c1867b14610354578063432146751461038757806345977d03146103ad5780635d3171d9146103c55780635de4ccb014610401578063600440cb1461043057806370a082311461045f5780638444b391146104905780638c133a77146104c75780638da5cb5b146104f857806395d89b41146105275780639738968c146105b2578063a9059cbb146105d9578063ab7e9dca1461060f578063ac3cb72c14610640578063c752ff6214610676578063d7e7088a1461069b578063dd62ed3e146106bc578063e2301d02146106f3578063f2fde38b14610729578063fccc28131461074a578063ffeb7d7514610779575b600080fd5b341561017f57600080fd5b61018761079a565b604051901515815260200160405180910390f35b34156101a657600080fd5b6101ae6107bb565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101eb5780820151818401525b6020016101d2565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023157600080fd5b610187600160a060020a0360043516602435610859565b604051901515815260200160405180910390f35b341561026757600080fd5b61026f610902565b60405190815260200160405180910390f35b341561028c57600080fd5b610187600160a060020a0360043516602435610908565b604051901515815260200160405180910390f35b34156102c257600080fd5b610187600160a060020a03600435811690602435166044356109f8565b604051901515815260200160405180910390f35b34156102fe57600080fd5b61026f610ae9565b60405190815260200160405180910390f35b341561032357600080fd5b61033a600160a060020a0360043516602435610aef565b005b341561034757600080fd5b61033a600435610bb6565b005b341561035f57600080fd5b610187600160a060020a0360043516610c4d565b604051901515815260200160405180910390f35b341561039257600080fd5b61033a600160a060020a03600435166024351515610c62565b005b34156103b857600080fd5b61033a600435610d19565b005b34156103d057600080fd5b610187600160a060020a0360043581169060243516604435610e73565b604051901515815260200160405180910390f35b341561040c57600080fd5b610414610f67565b604051600160a060020a03909116815260200160405180910390f35b341561043b57600080fd5b610414610f76565b604051600160a060020a03909116815260200160405180910390f35b341561046a57600080fd5b61026f600160a060020a0360043516610f85565b60405190815260200160405180910390f35b341561049b57600080fd5b6104a3610fa4565b604051808260048111156104b357fe5b60ff16815260200191505060405180910390f35b34156104d257600080fd5b61026f600160a060020a0360043516610ff1565b60405190815260200160405180910390f35b341561050357600080fd5b610414611003565b604051600160a060020a03909116815260200160405180910390f35b341561053257600080fd5b6101ae611012565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101eb5780820151818401525b6020016101d2565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156105bd57600080fd5b6101876110b0565b604051901515815260200160405180910390f35b34156105e457600080fd5b610187600160a060020a03600435166024356110b6565b604051901515815260200160405180910390f35b341561061a57600080fd5b61026f600160a060020a03600435166111e8565b60405190815260200160405180910390f35b341561064b57600080fd5b610187600160a060020a0360043516602435611207565b604051901515815260200160405180910390f35b341561068157600080fd5b61026f6112bc565b60405190815260200160405180910390f35b34156106a657600080fd5b61033a600160a060020a03600435166112c2565b005b34156106c757600080fd5b61026f600160a060020a036004358116906024351661147b565b60405190815260200160405180910390f35b34156106fe57600080fd5b610187600160a060020a03600435166024356114a8565b604051901515815260200160405180910390f35b341561073457600080fd5b61033a600160a060020a03600435166115b2565b005b341561075557600080fd5b61041461160a565b604051600160a060020a03909116815260200160405180910390f35b341561078457600080fd5b61033a600160a060020a036004351661160f565b005b60095474010000000000000000000000000000000000000000900460ff1681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108515780601f1061082657610100808354040283529160200191610851565b820191906000526020600020905b81548152906001019060200180831161083457829003601f168201915b505050505081565b6000811580159061088e5750600160a060020a0333811660009081526002602090815260408083209387168352929052205415155b1561089857600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b60095460009033600160a060020a0390811691161461092657600080fd5b600160a060020a033316600090815260016020526040902054610949908361166b565b600160a060020a0333811660009081526001602052604080822093909355908516815220546109789083611684565b600160a060020a038416600090815260016020908152604080832093909355600a905220546109a79083611684565b600160a060020a038085166000818152600a602052604090819020939093559133909116906000805160206116cc8339815191529085905190815260200160405180910390a35060015b5b92915050565b600160a060020a038084166000908152600260209081526040808320338516845282528083205493861683526001909152812054909190610a399084611684565b600160a060020a038086166000908152600160205260408082209390935590871681522054610a68908461166b565b600160a060020a038616600090815260016020526040902055610a8b818461166b565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616916000805160206116cc8339815191529086905190815260200160405180910390a3600191505b509392505050565b60085481565b600160a060020a0333166000908152600b602052604090205460ff161515610b1657600080fd5b60095474010000000000000000000000000000000000000000900460ff1615610b3e57600080fd5b610b4a60005482611684565b6000908155600160a060020a038316815260016020526040902054610b6f9082611684565b600160a060020a0383166000818152600160205260408082209390935590916000805160206116cc8339815191529084905190815260200160405180910390a35b5b5b5050565b33600160a060020a038116600090815260016020526040902054610bda908361166b565b600160a060020a03821660009081526001602052604081209190915554610c01908361166b565b6000557f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df78183604051600160a060020a03909216825260208201526040908101905180910390a15b5050565b600b6020526000908152604090205460ff1681565b60095433600160a060020a03908116911614610c7d57600080fd5b60095474010000000000000000000000000000000000000000900460ff1615610ca557600080fd5b600160a060020a0382166000908152600b602052604090819020805460ff19168315151790557f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5b5050565b6000610d23610fa4565b905060035b816004811115610d3457fe5b1480610d4c575060045b816004811115610d4a57fe5b145b1515610d5757600080fd5b811515610d6357600080fd5b600160a060020a033316600090815260016020526040902054610d86908361166b565b600160a060020a03331660009081526001602052604081209190915554610dad908361166b565b600055600554610dbd9083611684565b600555600454600160a060020a031663753e88e5338460405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610e1657600080fd5b6102c65a03f11515610e2757600080fd5b5050600454600160a060020a03908116915033167f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac8460405190815260200160405180910390a35b5050565b600954600090819033600160a060020a03908116911614610e9357600080fd5b50600160a060020a0384166000908152600a6020908152604080832054600190925290912054610ec3908461166b565b600160a060020a038087166000908152600160205260408082209390935590861681522054610ef29084611684565b600160a060020a038516600090815260016020526040902055610f15818461166b565b600160a060020a038087166000818152600a60205260409081902093909355908616916000805160206116cc8339815191529086905190815260200160405180910390a3600191505b5b509392505050565b600454600160a060020a031681565b600354600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b6000610fae6110b0565b1515610fbc57506001610feb565b600454600160a060020a03161515610fd657506002610feb565b6005541515610fe757506003610feb565b5060045b5b5b5b90565b600a6020526000908152604090205481565b600954600160a060020a031681565b60078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108515780601f1061082657610100808354040283529160200191610851565b820191906000526020600020905b81548152906001019060200180831161083457829003601f168201915b505050505081565b60015b90565b6000806040366044146110c857600080fd5b600160a060020a0333166000908152600160205260409020546110eb908561166b565b600160a060020a03338116600090815260016020526040808220939093559087168152205461111a9085611684565b600160a060020a0380871660008181526001602052604090819020939093559133909116906000805160206116cc8339815191529087905190815260200160405180910390a3611169856116ac565b156111da5784915081600160a060020a0316633b66d02b338660405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156111c557600080fd5b6102c65a03f115156111d657600080fd5b5050505b600192505b5b505092915050565b600160a060020a0381166000908152600a60205260409020545b919050565b60008060403660441461121957600080fd5b600160a060020a03338116600090815260026020908152604080832093891683529290522054915061124b8285611684565b600160a060020a033381166000818152600260209081526040808320948b168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a3600192505b5b505092915050565b60055481565b6112ca6110b0565b15156112d557600080fd5b600160a060020a03811615156112ea57600080fd5b60035433600160a060020a0390811691161461130557600080fd5b60045b611310610fa4565b600481111561131b57fe5b141561132657600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055166361d3d7a66000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561139157600080fd5b6102c65a03f115156113a257600080fd5b5050506040518051905015156113b757600080fd5b600080546004549091600160a060020a0390911690634b2ba0dd90604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561140757600080fd5b6102c65a03f1151561141857600080fd5b5050506040518051905014151561142e57600080fd5b6004547f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc90600160a060020a0316604051600160a060020a03909116815260200160405180910390a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b6000806040366044146114ba57600080fd5b600160a060020a0333811660009081526002602090815260408083209389168352929052205491508184111561151757600160a060020a033381166000908152600260209081526040808320938916835292905290812055611548565b61124b828561166b565b600160a060020a033381166000908152600260209081526040808320938a16835292905220555b600160a060020a033381166000818152600260209081526040808320948a168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3600192505b5b505092915050565b60095433600160a060020a039081169116146115cd57600080fd5b600160a060020a03811615611478576009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b50565b600081565b600160a060020a038116151561162457600080fd5b60035433600160a060020a0390811691161461163f57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000611679838311156116bb565b508082035b92915050565b60008282016116a184821080159061169c5750838210155b6116bb565b8091505b5092915050565b6000813b908111905b50919050565b80151561147857600080fd5b5b505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058203593521a4dd7a287c0731df2a81418b00ab79ac3769edf18a5f980fbad327d390029000000000000000000000000843aca8788e2504e88ddecaeda7d00d4dbf8855700000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000746a528800000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001342616e616e61436f696e20457874656e64656400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342434f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6060604052361561016f5763ffffffff60e060020a60003504166305d2035b811461017457806306fdde031461019b578063095ea7b31461022657806318160ddd1461025c5780631a017f3f1461028157806323b872dd146102b7578063313ce567146102f357806340c10f191461031857806342966c681461033c57806342c1867b14610354578063432146751461038757806345977d03146103ad5780635d3171d9146103c55780635de4ccb014610401578063600440cb1461043057806370a082311461045f5780638444b391146104905780638c133a77146104c75780638da5cb5b146104f857806395d89b41146105275780639738968c146105b2578063a9059cbb146105d9578063ab7e9dca1461060f578063ac3cb72c14610640578063c752ff6214610676578063d7e7088a1461069b578063dd62ed3e146106bc578063e2301d02146106f3578063f2fde38b14610729578063fccc28131461074a578063ffeb7d7514610779575b600080fd5b341561017f57600080fd5b61018761079a565b604051901515815260200160405180910390f35b34156101a657600080fd5b6101ae6107bb565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101eb5780820151818401525b6020016101d2565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023157600080fd5b610187600160a060020a0360043516602435610859565b604051901515815260200160405180910390f35b341561026757600080fd5b61026f610902565b60405190815260200160405180910390f35b341561028c57600080fd5b610187600160a060020a0360043516602435610908565b604051901515815260200160405180910390f35b34156102c257600080fd5b610187600160a060020a03600435811690602435166044356109f8565b604051901515815260200160405180910390f35b34156102fe57600080fd5b61026f610ae9565b60405190815260200160405180910390f35b341561032357600080fd5b61033a600160a060020a0360043516602435610aef565b005b341561034757600080fd5b61033a600435610bb6565b005b341561035f57600080fd5b610187600160a060020a0360043516610c4d565b604051901515815260200160405180910390f35b341561039257600080fd5b61033a600160a060020a03600435166024351515610c62565b005b34156103b857600080fd5b61033a600435610d19565b005b34156103d057600080fd5b610187600160a060020a0360043581169060243516604435610e73565b604051901515815260200160405180910390f35b341561040c57600080fd5b610414610f67565b604051600160a060020a03909116815260200160405180910390f35b341561043b57600080fd5b610414610f76565b604051600160a060020a03909116815260200160405180910390f35b341561046a57600080fd5b61026f600160a060020a0360043516610f85565b60405190815260200160405180910390f35b341561049b57600080fd5b6104a3610fa4565b604051808260048111156104b357fe5b60ff16815260200191505060405180910390f35b34156104d257600080fd5b61026f600160a060020a0360043516610ff1565b60405190815260200160405180910390f35b341561050357600080fd5b610414611003565b604051600160a060020a03909116815260200160405180910390f35b341561053257600080fd5b6101ae611012565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101eb5780820151818401525b6020016101d2565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156105bd57600080fd5b6101876110b0565b604051901515815260200160405180910390f35b34156105e457600080fd5b610187600160a060020a03600435166024356110b6565b604051901515815260200160405180910390f35b341561061a57600080fd5b61026f600160a060020a03600435166111e8565b60405190815260200160405180910390f35b341561064b57600080fd5b610187600160a060020a0360043516602435611207565b604051901515815260200160405180910390f35b341561068157600080fd5b61026f6112bc565b60405190815260200160405180910390f35b34156106a657600080fd5b61033a600160a060020a03600435166112c2565b005b34156106c757600080fd5b61026f600160a060020a036004358116906024351661147b565b60405190815260200160405180910390f35b34156106fe57600080fd5b610187600160a060020a03600435166024356114a8565b604051901515815260200160405180910390f35b341561073457600080fd5b61033a600160a060020a03600435166115b2565b005b341561075557600080fd5b61041461160a565b604051600160a060020a03909116815260200160405180910390f35b341561078457600080fd5b61033a600160a060020a036004351661160f565b005b60095474010000000000000000000000000000000000000000900460ff1681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108515780601f1061082657610100808354040283529160200191610851565b820191906000526020600020905b81548152906001019060200180831161083457829003601f168201915b505050505081565b6000811580159061088e5750600160a060020a0333811660009081526002602090815260408083209387168352929052205415155b1561089857600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b60095460009033600160a060020a0390811691161461092657600080fd5b600160a060020a033316600090815260016020526040902054610949908361166b565b600160a060020a0333811660009081526001602052604080822093909355908516815220546109789083611684565b600160a060020a038416600090815260016020908152604080832093909355600a905220546109a79083611684565b600160a060020a038085166000818152600a602052604090819020939093559133909116906000805160206116cc8339815191529085905190815260200160405180910390a35060015b5b92915050565b600160a060020a038084166000908152600260209081526040808320338516845282528083205493861683526001909152812054909190610a399084611684565b600160a060020a038086166000908152600160205260408082209390935590871681522054610a68908461166b565b600160a060020a038616600090815260016020526040902055610a8b818461166b565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616916000805160206116cc8339815191529086905190815260200160405180910390a3600191505b509392505050565b60085481565b600160a060020a0333166000908152600b602052604090205460ff161515610b1657600080fd5b60095474010000000000000000000000000000000000000000900460ff1615610b3e57600080fd5b610b4a60005482611684565b6000908155600160a060020a038316815260016020526040902054610b6f9082611684565b600160a060020a0383166000818152600160205260408082209390935590916000805160206116cc8339815191529084905190815260200160405180910390a35b5b5b5050565b33600160a060020a038116600090815260016020526040902054610bda908361166b565b600160a060020a03821660009081526001602052604081209190915554610c01908361166b565b6000557f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df78183604051600160a060020a03909216825260208201526040908101905180910390a15b5050565b600b6020526000908152604090205460ff1681565b60095433600160a060020a03908116911614610c7d57600080fd5b60095474010000000000000000000000000000000000000000900460ff1615610ca557600080fd5b600160a060020a0382166000908152600b602052604090819020805460ff19168315151790557f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5b5050565b6000610d23610fa4565b905060035b816004811115610d3457fe5b1480610d4c575060045b816004811115610d4a57fe5b145b1515610d5757600080fd5b811515610d6357600080fd5b600160a060020a033316600090815260016020526040902054610d86908361166b565b600160a060020a03331660009081526001602052604081209190915554610dad908361166b565b600055600554610dbd9083611684565b600555600454600160a060020a031663753e88e5338460405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610e1657600080fd5b6102c65a03f11515610e2757600080fd5b5050600454600160a060020a03908116915033167f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac8460405190815260200160405180910390a35b5050565b600954600090819033600160a060020a03908116911614610e9357600080fd5b50600160a060020a0384166000908152600a6020908152604080832054600190925290912054610ec3908461166b565b600160a060020a038087166000908152600160205260408082209390935590861681522054610ef29084611684565b600160a060020a038516600090815260016020526040902055610f15818461166b565b600160a060020a038087166000818152600a60205260409081902093909355908616916000805160206116cc8339815191529086905190815260200160405180910390a3600191505b5b509392505050565b600454600160a060020a031681565b600354600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b6000610fae6110b0565b1515610fbc57506001610feb565b600454600160a060020a03161515610fd657506002610feb565b6005541515610fe757506003610feb565b5060045b5b5b5b90565b600a6020526000908152604090205481565b600954600160a060020a031681565b60078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108515780601f1061082657610100808354040283529160200191610851565b820191906000526020600020905b81548152906001019060200180831161083457829003601f168201915b505050505081565b60015b90565b6000806040366044146110c857600080fd5b600160a060020a0333166000908152600160205260409020546110eb908561166b565b600160a060020a03338116600090815260016020526040808220939093559087168152205461111a9085611684565b600160a060020a0380871660008181526001602052604090819020939093559133909116906000805160206116cc8339815191529087905190815260200160405180910390a3611169856116ac565b156111da5784915081600160a060020a0316633b66d02b338660405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156111c557600080fd5b6102c65a03f115156111d657600080fd5b5050505b600192505b5b505092915050565b600160a060020a0381166000908152600a60205260409020545b919050565b60008060403660441461121957600080fd5b600160a060020a03338116600090815260026020908152604080832093891683529290522054915061124b8285611684565b600160a060020a033381166000818152600260209081526040808320948b168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a3600192505b5b505092915050565b60055481565b6112ca6110b0565b15156112d557600080fd5b600160a060020a03811615156112ea57600080fd5b60035433600160a060020a0390811691161461130557600080fd5b60045b611310610fa4565b600481111561131b57fe5b141561132657600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055166361d3d7a66000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561139157600080fd5b6102c65a03f115156113a257600080fd5b5050506040518051905015156113b757600080fd5b600080546004549091600160a060020a0390911690634b2ba0dd90604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561140757600080fd5b6102c65a03f1151561141857600080fd5b5050506040518051905014151561142e57600080fd5b6004547f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc90600160a060020a0316604051600160a060020a03909116815260200160405180910390a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b6000806040366044146114ba57600080fd5b600160a060020a0333811660009081526002602090815260408083209389168352929052205491508184111561151757600160a060020a033381166000908152600260209081526040808320938916835292905290812055611548565b61124b828561166b565b600160a060020a033381166000908152600260209081526040808320938a16835292905220555b600160a060020a033381166000818152600260209081526040808320948a168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3600192505b5b505092915050565b60095433600160a060020a039081169116146115cd57600080fd5b600160a060020a03811615611478576009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b50565b600081565b600160a060020a038116151561162457600080fd5b60035433600160a060020a0390811691161461163f57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000611679838311156116bb565b508082035b92915050565b60008282016116a184821080159061169c5750838210155b6116bb565b8091505b5092915050565b6000813b908111905b50919050565b80151561147857600080fd5b5b505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058203593521a4dd7a287c0731df2a81418b00ab79ac3769edf18a5f980fbad327d390029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000843aca8788e2504e88ddecaeda7d00d4dbf8855700000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000746a528800000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001342616e616e61436f696e20457874656e64656400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342434f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _owner (address): 0x843aCA8788e2504E88DdeCAEdA7D00D4DBf88557
Arg [1] : _name (string): BananaCoin Extended
Arg [2] : _symbol (string): BCO
Arg [3] : _totalSupply (uint256): 128000000000000
Arg [4] : _decimals (uint256): 8

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000843aca8788e2504e88ddecaeda7d00d4dbf88557
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000746a52880000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [6] : 42616e616e61436f696e20457874656e64656400000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 42434f0000000000000000000000000000000000000000000000000000000000


Swarm Source

bzzr://3593521a4dd7a287c0731df2a81418b00ab79ac3769edf18a5f980fbad327d39
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.