ETH Price: $3,916.28 (+6.72%)

Token

VOS.AI Invitation (VOS.AI)
 

Overview

Max Total Supply

40,000,000 VOS.AI

Holders

20,096

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
1 VOS.AI

Value
$0.00
0x5DF5Cab597bb371D069152046880520856f6e340
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

AGI running on the world computer - Miners perform machine learning.

ICO Information

Project Sector : Machine Learning
ICO Start Date : Apr 25, 2018
ICO End Date : Aug 25, 2018
Hard Cap : $100,000,000
Soft Cap : $15,000,000
Token Distribution Date : Year 2019
ICO Price  : $0.75
Bonus : 10% - 30%
Country : United States

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
VosaiInvitationToken

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-05-01
*/

pragma solidity ^0.4.21;

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
  function balanceOf(address _owner) external view returns (uint256);
  function allowance(address _owner, address _spender) external view returns (uint256);
  function transfer(address _to, uint256 _value) external returns (bool);
  function transferFrom(address _from, address _to, uint256 _value) external returns (bool);
  function approve(address _spender, uint256 _value) external returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() public {
    owner = msg.sender;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal pure returns (uint256) {    
    uint256 c = a / b;
    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 VosAIInvitation token ERC20
 *
 * @dev Implementation of the VosAIInvitation token. * 
 */
contract VosaiInvitationToken is IERC20 {
  using SafeMath for uint256;

  string public name = "VOS.AI Invitation";
  string public symbol = "VOS.AI";
  uint8 public constant DECIMALS = 0;
  uint256 public constant totalSupply = 40000000;
  mapping (address => uint256) balances;
  mapping (address => mapping (address => uint256)) internal allowed;

  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);

  /**
  * @dev Constructor for VosAIInvitation creation
  * @dev Assigns the totalSupply to the VOS.AI Distribution contract
  */
  constructor(address _vosAIInvitationDistributionContractAddress) public {
    require(_vosAIInvitationDistributionContractAddress != address(0));
    balances[_vosAIInvitationDistributionContractAddress] = totalSupply;
    emit Transfer(address(0), _vosAIInvitationDistributionContractAddress, totalSupply);
  }

  /**
  * @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];
  }

  /**
   * @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(_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);
    emit Transfer(msg.sender, _to, _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(_to != address(0));
    require(_value <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    emit Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   *
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {
    allowed[msg.sender][_spender] = _value;
    emit Approval(msg.sender, _spender, _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, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

/**
 * @title VosaiInvitationToken token airdrop
 *
 * @dev Distribute airdrop tokens
 */
contract VosaiInvitationAirdrop is Ownable {
  using SafeMath for uint256;

  VosaiInvitationToken public VOSAI;
  uint256 public AVAILABLE_TOTAL_SUPPLY = 40000000;
  uint256 public startTime;
 
  // Keeps track of whether or not a VOS.AI airdrop has been made to a particular address
  mapping (address => bool) public airdrops;   

  /**
    * @dev Constructor function - Set the VOSAI token address    
    */
  constructor() public {    
    startTime = now;
    VOSAI = new VosaiInvitationToken(this);
  }  
  /**
    * @dev perform a transfer of 1 VOS.AI to a list of recipients
    * @param _recipient is a list of recipients
    */
  function airdropTokens(address[] _recipient) public onlyOwner {
    require(now >= startTime);
    uint airdropped;
    for (uint256 i = 0; i<_recipient.length; i++) {
        if (!airdrops[_recipient[i]]) {
          airdrops[_recipient[i]] = true;
          require(VOSAI.transfer(_recipient[i], 1));
          airdropped = airdropped.add(1);
        }
    }    
    AVAILABLE_TOTAL_SUPPLY = AVAILABLE_TOTAL_SUPPLY.sub(airdropped);    
  }  
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"DECIMALS","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_vosAIInvitationDistributionContractAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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"}]

60c0604052601160808190527f564f532e414920496e7669746174696f6e00000000000000000000000000000060a090815261003e9160009190610113565b506040805180820190915260068082527f564f532e41490000000000000000000000000000000000000000000000000000602090920191825261008391600191610113565b5034801561009057600080fd5b50604051602080610a888339810160405251600160a060020a03811615156100b757600080fd5b600160a060020a03811660008181526002602090815260408083206302625a0090819055815190815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506101ae565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061015457805160ff1916838001178555610181565b82800160010185558215610181579182015b82811115610181578251825591602001919060010190610166565b5061018d929150610191565b5090565b6101ab91905b8082111561018d5760008155600101610197565b90565b6108cb806101bd6000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017557806323b872dd1461019c5780632e0f2625146101c657806366188463146101f157806370a082311461021557806395d89b4114610236578063a9059cbb1461024b578063d73dd6231461026f578063dd62ed3e14610293575b600080fd5b3480156100bf57600080fd5b506100c86102ba565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a0360043516602435610348565b604080519115158252519081900360200190f35b34801561018157600080fd5b5061018a6103b2565b60408051918252519081900360200190f35b3480156101a857600080fd5b50610161600160a060020a03600435811690602435166044356103ba565b3480156101d257600080fd5b506101db61053c565b6040805160ff9092168252519081900360200190f35b3480156101fd57600080fd5b50610161600160a060020a0360043516602435610541565b34801561022157600080fd5b5061018a600160a060020a036004351661063a565b34801561024257600080fd5b506100c8610655565b34801561025757600080fd5b50610161600160a060020a03600435166024356106af565b34801561027b57600080fd5b50610161600160a060020a03600435166024356107aa565b34801561029f57600080fd5b5061018a600160a060020a036004358116906024351661084c565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103405780601f1061031557610100808354040283529160200191610340565b820191906000526020600020905b81548152906001019060200180831161032357829003601f168201915b505050505081565b600160a060020a03338116600081815260036020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6302625a0081565b6000600160a060020a03831615156103d157600080fd5b600160a060020a0384166000908152600260205260409020548211156103f657600080fd5b600160a060020a038085166000908152600360209081526040808320339094168352929052205482111561042957600080fd5b600160a060020a038416600090815260026020526040902054610452908363ffffffff61087716565b600160a060020a038086166000908152600260205260408082209390935590851681522054610487908363ffffffff61088916565b600160a060020a038085166000908152600260209081526040808320949094558783168252600381528382203390931682529190915220546104cf908363ffffffff61087716565b600160a060020a038086166000818152600360209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b600081565b600160a060020a0333811660009081526003602090815260408083209386168352929052908120548083111561059e57600160a060020a0333811660009081526003602090815260408083209388168352929052908120556105d5565b6105ae818463ffffffff61087716565b600160a060020a033381166000908152600360209081526040808320938916835292905220555b600160a060020a0333811660008181526003602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b600160a060020a031660009081526002602052604090205490565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103405780601f1061031557610100808354040283529160200191610340565b6000600160a060020a03831615156106c657600080fd5b600160a060020a0333166000908152600260205260409020548211156106eb57600080fd5b600160a060020a033316600090815260026020526040902054610714908363ffffffff61087716565b600160a060020a033381166000908152600260205260408082209390935590851681522054610749908363ffffffff61088916565b600160a060020a038085166000818152600260209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600192915050565b600160a060020a0333811660009081526003602090815260408083209386168352929052908120546107e2908363ffffffff61088916565b600160a060020a0333811660008181526003602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60008282111561088357fe5b50900390565b60008282018381101561089857fe5b93925050505600a165627a7a723058204527fb0f16a5a0ebb300f003f81951f3bddd60fff96bc0563c8a652769b6589a002900000000000000000000000026012e2df96099182ab1bd8a365b4c39bd510ecc

Deployed Bytecode

0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017557806323b872dd1461019c5780632e0f2625146101c657806366188463146101f157806370a082311461021557806395d89b4114610236578063a9059cbb1461024b578063d73dd6231461026f578063dd62ed3e14610293575b600080fd5b3480156100bf57600080fd5b506100c86102ba565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a0360043516602435610348565b604080519115158252519081900360200190f35b34801561018157600080fd5b5061018a6103b2565b60408051918252519081900360200190f35b3480156101a857600080fd5b50610161600160a060020a03600435811690602435166044356103ba565b3480156101d257600080fd5b506101db61053c565b6040805160ff9092168252519081900360200190f35b3480156101fd57600080fd5b50610161600160a060020a0360043516602435610541565b34801561022157600080fd5b5061018a600160a060020a036004351661063a565b34801561024257600080fd5b506100c8610655565b34801561025757600080fd5b50610161600160a060020a03600435166024356106af565b34801561027b57600080fd5b50610161600160a060020a03600435166024356107aa565b34801561029f57600080fd5b5061018a600160a060020a036004358116906024351661084c565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103405780601f1061031557610100808354040283529160200191610340565b820191906000526020600020905b81548152906001019060200180831161032357829003601f168201915b505050505081565b600160a060020a03338116600081815260036020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6302625a0081565b6000600160a060020a03831615156103d157600080fd5b600160a060020a0384166000908152600260205260409020548211156103f657600080fd5b600160a060020a038085166000908152600360209081526040808320339094168352929052205482111561042957600080fd5b600160a060020a038416600090815260026020526040902054610452908363ffffffff61087716565b600160a060020a038086166000908152600260205260408082209390935590851681522054610487908363ffffffff61088916565b600160a060020a038085166000908152600260209081526040808320949094558783168252600381528382203390931682529190915220546104cf908363ffffffff61087716565b600160a060020a038086166000818152600360209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b600081565b600160a060020a0333811660009081526003602090815260408083209386168352929052908120548083111561059e57600160a060020a0333811660009081526003602090815260408083209388168352929052908120556105d5565b6105ae818463ffffffff61087716565b600160a060020a033381166000908152600360209081526040808320938916835292905220555b600160a060020a0333811660008181526003602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b600160a060020a031660009081526002602052604090205490565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103405780601f1061031557610100808354040283529160200191610340565b6000600160a060020a03831615156106c657600080fd5b600160a060020a0333166000908152600260205260409020548211156106eb57600080fd5b600160a060020a033316600090815260026020526040902054610714908363ffffffff61087716565b600160a060020a033381166000908152600260205260408082209390935590851681522054610749908363ffffffff61088916565b600160a060020a038085166000818152600260209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600192915050565b600160a060020a0333811660009081526003602090815260408083209386168352929052908120546107e2908363ffffffff61088916565b600160a060020a0333811660008181526003602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60008282111561088357fe5b50900390565b60008282018381101561089857fe5b93925050505600a165627a7a723058204527fb0f16a5a0ebb300f003f81951f3bddd60fff96bc0563c8a652769b6589a0029

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

00000000000000000000000026012e2df96099182ab1bd8a365b4c39bd510ecc

-----Decoded View---------------
Arg [0] : _vosAIInvitationDistributionContractAddress (address): 0x26012E2DF96099182aB1Bd8A365b4c39bD510ECC

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000026012e2df96099182ab1bd8a365b4c39bd510ecc


Swarm Source

bzzr://4527fb0f16a5a0ebb300f003f81951f3bddd60fff96bc0563c8a652769b6589a
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.