UTRUST Token
ERC20
This contract is an ERC20 token.
Name
UTRUST Token
Symbol
UTK
Decimals
18
Total Supply
500,000,000 UTK
About
link
description
The Utrust platform allows merchants to accept digital currencies as a means of payment. It aims to bring digital currencies to mainstream consumers while providing the buyer protection and credibility of traditional payment platforms. With an API for merchants and UX for buyers. Utrust stands at the intersection of e-commerce, mobile payments, and cryptocurrency.
The team believes that digital currency is the future of money and the genesis of a more open and more inclusive financial system. Utrust's long-term vision is to become the leading platform for digital consumer currency payments, delivering a trusted blockchain payment solution to the world’s most successful companies.
The project aims to become a mainstream means-of-payment: The Utrust platform supports multiple digital currencies, including its own native token - UTK. Users can purchase goods and services, with a zero-fee exchange rate. It is also used on refunds and as part of our affiliate referral program.
Stats
Public Functions
9
Event Types
4
Code Size
8,110 bytes
Library Use
Uses SafeMath for uint256.
Events (4) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Requirements help
Source Code
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;
}
allowance keyboard_arrow_up
transferFrom keyboard_arrow_up
Requirements help
Source Code
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);
Transfer(_from, _to, _value);
return true;
}
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value) public returns (bool) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
increaseApproval keyboard_arrow_up
Source Code
function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
decreaseApproval keyboard_arrow_up
Source Code
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);
}
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
burn keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Requirements help
Source Code
function burn(uint256 _value) public onlyOwner returns (bool success) {
// Check if the sender has enough
require(balances[msg.sender] >= _value);
// Subtract from the sender
balances[msg.sender] = balances[msg.sender].sub(_value);
// Updates totalSupply
totalSupply = totalSupply.sub(_value);
Burn(msg.sender, _value);
return true;
}