Blockwell

Raiden Token

ERC20

This contract is an ERC20 token.

Name Raiden Token
Symbol RDN
Decimals 18
Total Supply 100,000,000 RDN

About link description

Raiden Network Token (RDN) is a cryptocurrency and operates on the Ethereum platform. Raiden Network Token has a current supply of 99,999,999.99999996 with 66,793,930.99651379 in circulation. The last known price of Raiden Network Token is 0.25431392 USD and is up 0.41 over the last 24 hours. It is currently trading on 15 active market(s) with $343,662.22 traded over the last 24 hours. More information can be found at https://raiden.network/.

Stats

Public Functions 7
Event Types 4
Code Size 23,596 bytes

Events (4) keyboard_arrow_up

Approval Event

Parameters help
_owner
address help
_spender
address help
_value
uint256 help

Burnt Event

Parameters help
_receiver
address help
_num
uint help
_total_supply
uint help

Deployed Event

Parameters help
_total_supply
uint help

Transfer Event

Parameters help
_from
address help
_to
address help
_value
uint256 help

name Constant

string help
Raiden Token

symbol Constant

string help
RDN

decimals Constant

uint8 help
18

multiplier Constant

uint help
UNKNOWN VALUE

totalSupply Variable

uint256 help

balances Variable

mapping(address => uint256) help
Internal Variable

allowed Variable

mapping(address => mapping(address => uint256)) help
Internal Variable

Functions Expand All Collapse All

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help constant
Source Code
function balanceOf(address _owner) public constant returns (uint256) {
  return balances[_owner];
}

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transfer(address _to, uint256 _value) public returns (bool) {
  require(_to != 0x0);
  require(_to != address(this));
  require(balances[msg.sender] >= _value);
  require(balances[_to] + _value >= balances[_to]);

  balances[msg.sender] -= _value;
  balances[_to] += _value;

  Transfer(msg.sender, _to, _value);

  return true;
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public returns (bool) {
  require(_from != 0x0);
  require(_to != 0x0);
  require(_to != address(this));
  require(balances[_from] >= _value);
  require(allowed[_from][msg.sender] >= _value);
  require(balances[_to] + _value >= balances[_to]);

  balances[_to] += _value;
  balances[_from] -= _value;
  allowed[_from][msg.sender] -= _value;

  Transfer(_from, _to, _value);

  return true;
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address _spender, uint256 _value) public returns (bool) {
  require(_spender != 0x0);

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

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

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help constant
Source Code
function allowance(address _owner, address _spender)
  public
  constant
  returns (uint256)
{
  return allowed[_owner][_spender];
}

Parameters help

Name Type
_to
address help
_value
uint256 help
_data
bytes help

Properties

Visibility help public
Mutability help transaction

Requirements help

null
Source Code
function transfer(
  address _to,
  uint256 _value,
  bytes _data
) public returns (bool) {
  require(transfer(_to, _value));

  uint256 codeLength;

  assembly {
    // Retrieve the size of the code on target address, this needs assembly.
    codeLength := extcodesize(_to)
  }

  if (codeLength > 0) {
    ERC223ReceivingContract receiver = ERC223ReceivingContract(_to);
    receiver.tokenFallback(msg.sender, _value, _data);
  }

  return true;
}

Parameters help

Name Type
num
uint help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function burn(uint256 num) public {
  require(num > 0);
  require(balances[msg.sender] >= num);
  require(totalSupply >= num);

  uint256 pre_balance = balances[msg.sender];

  balances[msg.sender] -= num;
  totalSupply -= num;
  Burnt(msg.sender, num, totalSupply);
  Transfer(msg.sender, 0x0, num);

  assert(balances[msg.sender] == pre_balance - num);
}

Internal Functions Expand All Collapse All

Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.