Blockwell

XCELTOKEN PLUS

ERC20

This contract is an ERC20 token.

Name XCELTOKEN PLUS
Symbol XLAB
Decimals 18
Total Supply 50,000,000,000 XLAB

About link description

XcelTrip aims to disrupt the travel industry with its blockchain-based travel platform. XcelTrip reportedly has over 1.5 million hotels, and around 400 airlines worldwide to book travel with Bitcoin, Ethereum, Litecoin, Dash, Verge and its own XLAB (XcelToken Plus). XcelTrip App is downloadable on both iOS and Android devices. It is a crypto-payment enabled solution that reportedly allows customers to book holidays, vacations, hotels, and flights.

Stats

Public Functions 30
Event Types 10
Code Size 23,824 bytes

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

LockedAccount Event

Parameters help
_targetAddress
address help

OwnershipTransferred Event

Parameters help
previousOwner
address help
newOwner
address help

Paused Event

Parameters help
account
address help

PauserAdded Event

Parameters help
account
address help

PauserRemoved Event

Parameters help
account
address help

TokensBought Event

Parameters help
_to
address help
_totalAmount
uint256 help
_currency
bytes4 help
_txHash
bytes32 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

UnlockedAccount Event

Parameters help
_targetAddress
address help

Unpaused Event

Parameters help
account
address help

Functions Expand All Collapse All

owner keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function owner() public view returns (address) {
        return _owner;
    }

isOwner keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function isOwner() public view returns (bool) {
        return msg.sender == _owner;
    }

renounceOwnership keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwner checks for the following:
null
Source Code
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

transferOwnership keyboard_arrow_up

Parameters help

Name Type
newOwner
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwner checks for the following:
null

Requirements help

Source Code
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

totalSupply keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

balanceOf keyboard_arrow_up

Parameters help

Name Type
owner
address help

Properties

Visibility help public
Mutability help view
Source Code
    function balanceOf(address owner) public view returns (uint256) {
        return _balances[owner];
    }

allowance keyboard_arrow_up

Parameters help

Name Type
owner
address help
spender
address help

Properties

Visibility help public
Mutability help view
Source Code
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowed[owner][spender];
    }

transfer keyboard_arrow_up

Parameters help

Name Type
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function transfer(address to, uint256 value) public returns (bool) {
        require(!lockedAccounts[msg.sender]);
        require(to != address(this)); // do not accept transfer to the contract address
        super.transfer(to, value);
        return true;
    }

approve keyboard_arrow_up

Parameters help

Name Type
spender
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function approve(address spender, uint256 value) public whenNotPaused returns (bool) {
        return super.approve(spender, value);
    }

transferFrom keyboard_arrow_up

Parameters help

Name Type
from
address help
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transferFrom(from, to, value);
    }

increaseAllowance keyboard_arrow_up

Parameters help

Name Type
spender
address help
addedValue
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue));
        return true;
    }

decreaseAllowance keyboard_arrow_up

Parameters help

Name Type
spender
address help
subtractedValue
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue));
        return true;
    }

burn keyboard_arrow_up

Parameters help

Name Type
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwner checks for the following:
null

Requirements help

Source Code
  function burn(uint256 _value)
    public
    onlyOwner {
      super.burn(_value);
  }

burnFrom keyboard_arrow_up

Parameters help

Name Type
from
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function burnFrom(address from, uint256 value) public {
        _burnFrom(from, value);
    }

isPauser keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view
Source Code
    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

addPauser keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyPauser checks for the following:
null
Source Code
    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

renouncePauser keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
    function renouncePauser() public {
        _removePauser(msg.sender);
    }

paused keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function paused() public view returns (bool) {
        return _paused;
    }

pause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyPauser checks for the following:
null
Source Code
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(msg.sender);
    }

unpause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(msg.sender);
    }

increaseAllowance keyboard_arrow_up

Parameters help

Name Type
spender
address help
addedValue
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function increaseAllowance(address spender, uint addedValue) public whenNotPaused returns (bool success) {
        return super.increaseAllowance(spender, addedValue);
    }

decreaseAllowance keyboard_arrow_up

Parameters help

Name Type
spender
address help
subtractedValue
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
    function decreaseAllowance(address spender, uint subtractedValue) public whenNotPaused returns (bool success) {
        return super.decreaseAllowance(spender, subtractedValue);
    }

name keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function name() public view returns (string memory) {
        return _name;
    }

symbol keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function symbol() public view returns (string memory) {
        return _symbol;
    }

decimals keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
    function decimals() public view returns (uint8) {
        return _decimals;
    }

buyTokens keyboard_arrow_up

Parameters help

Name Type
_to
address help
_totalWeiAmount
uint256 help
_currency
bytes4 help
_txHash
bytes32 help

Properties

Visibility help public
Mutability help transaction
Source Code
    function buyTokens(address _to, uint256 _totalWeiAmount, bytes4 _currency, bytes32 _txHash)
      external
      onlyPublicSaleAdmin
      returns(bool) {
          require(_totalWeiAmount > 0 && balanceOf(msg.sender) >= _totalWeiAmount);
          require(transfer(_to, _totalWeiAmount));
          emit TokensBought(_to, _totalWeiAmount, _currency, _txHash);
          return true;
      }

lockAccount keyboard_arrow_up

Parameters help

Name Type
_targetAddress
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwner checks for the following:
null
Source Code
  function lockAccount(address _targetAddress) external onlyOwner returns(bool){
      require(_targetAddress != address(0));
      require(!lockedAccounts[_targetAddress]);
      //can't lock yourself out
      require(owner() != _targetAddress);
      lockedAccounts[_targetAddress] = true;
      emit LockedAccount(_targetAddress);
      return true;
  }

unlockAccount keyboard_arrow_up

Parameters help

Name Type
_targetAddress
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwner checks for the following:
null

Requirements help

Source Code
  function unlockAccount(address _targetAddress) external onlyOwner returns(bool){
      require(_targetAddress != address(0));
      require(lockedAccounts[_targetAddress]);
      delete lockedAccounts[_targetAddress];
      emit UnlockedAccount(_targetAddress);
      return true;
  }

isAddressLocked keyboard_arrow_up

Parameters help

Name Type
_targetAddress
address help

Properties

Visibility help public
Mutability help view
Source Code
  function isAddressLocked(address _targetAddress) public view returns(bool){
     //if address not in mapping , returns false
     return lockedAccounts[_targetAddress];
  }

constructor keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
  function() external {  }