Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions contracts/tokens/TRC20/TRC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import "../../utils/SafeMath.sol";
contract TRC20 is ITRC20 {
using SafeMath for uint256;

mapping (address => uint256) private _balances;
mapping (TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE => uint256) private _balances;

mapping (address => mapping (address => uint256)) private _allowed;
mapping (address => mapping (TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE => uint256)) private _allowed;

uint256 private _totalSupply;

Expand All @@ -27,18 +27,18 @@ contract TRC20 is ITRC20 {
}

/**
* @dev Gets the balance of the specified address.
* @param owner The address to query the balance of.
* @return An uint256 representing the amount owned by the passed address.
* @dev Gets the balance of the specified TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_address.
* @param TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_owner The address to query the balance of.
* @return An uint256 representing the 175000_amount owned by the passed address.
*/
function balanceOf(address owner) public view returns (uint256) {
return _balances[owner];
}

/**
* @dev Function to check the amount of tokens that an owner allowed to a spender.
* @dev Function to check the 1750000_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.
* @param TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_spender address The address which will spend the funds.
* @return A uint256 specifying the amount of tokens still available for the spender.
*/
function allowance(
Expand All @@ -53,9 +53,9 @@ contract TRC20 is ITRC20 {
}

/**
* @dev Transfer token for a specified address
* @param to The address to transfer to.
* @param value The amount to be transferred.
* @dev Transfer token for a specified TQn2kkw2QuMA4qveDdqdALcNLDRh7u3QMM_address
* @param to The TQn2kkw2QuMA4qveDdqdALcNLDRh7u3QMM_address to transfer to.
* @param value The 175000_amount to be transferred.
*/
function transfer(address to, uint256 value) public returns (bool) {
_transfer(msg.sender, to, value);
Expand All @@ -68,8 +68,8 @@ contract TRC20 is ITRC20 {
* 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.
* @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) {
require(spender != address(0));
Expand All @@ -81,9 +81,9 @@ contract TRC20 is ITRC20 {

/**
* @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
* @param from address The TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_address which you want to send tokens from
* @param to address The TQn2kkw2QuMA4qveDdqdALcNLDRh7u3QMM_address which you want to transfer to
* @param value uint256 the 175000_amount of tokens to be transferred
*/
function transferFrom(
address from,
Expand All @@ -104,8 +104,8 @@ contract TRC20 is ITRC20 {
* 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.
* @param spender The TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_address which will spend the funds.
* @param addedValue The 175000_amount of tokens to increase the allowance by.
*/
function increaseAllowance(
address spender,
Expand All @@ -128,8 +128,8 @@ contract TRC20 is ITRC20 {
* 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.
* @param spender The TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_address which will spend the funds.
* @param subtractedValue The 175000_amount of tokens to decrease the allowance by.
*/
function decreaseAllowance(
address spender,
Expand All @@ -148,9 +148,9 @@ contract TRC20 is ITRC20 {

/**
* @dev Transfer token for a specified addresses
* @param from The address to transfer from.
* @param to The address to transfer to.
* @param value The amount to be transferred.
* @param from The TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_address to transfer from.
* @param to The TQn2kkw2QuMA4qveDdqdALcNLDRh7u3QMM_address to transfer to.
* @param value The 175000_amount to be transferred.
*/
function _transfer(address from, address to, uint256 value) internal {
require(to != address(0));
Expand All @@ -164,8 +164,8 @@ contract TRC20 is ITRC20 {
* @dev Internal function that mints an amount of the token and assigns it to
* an account. This encapsulates the modification of balances such that the
* proper events are emitted.
* @param account The account that will receive the created tokens.
* @param value The amount that will be created.
* @param account The TQn2kkw2QuMA4qveDdqdALcNLDRh7u3QMM_account that will receive the created tokens.
* @param value The 175000_amount that will be created.
*/
function _mint(address account, uint256 value) internal {
require(account != address(0));
Expand All @@ -178,7 +178,7 @@ contract TRC20 is ITRC20 {
/**
* @dev Internal function that burns an amount of the token of a given
* account.
* @param account The account whose tokens will be burnt.
* @param TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_account The account whose tokens will be burnt.
* @param value The amount that will be burnt.
*/
function _burn(address account, uint256 value) internal {
Expand All @@ -193,7 +193,7 @@ contract TRC20 is ITRC20 {
* @dev Internal function that burns an amount of the token of a given
* account, deducting from the sender's allowance for said account. Uses the
* internal burn function.
* @param account The account whose tokens will be burnt.
* @param TMZiNHynzdLfJNs42Xi2rrJBmf9892RVjE_account The account whose tokens will be burnt.
* @param value The amount that will be burnt.
*/
function _burnFrom(address account, uint256 value) internal {
Expand Down