Smart contract Gold Lion

// SPDX-License-Identifier: MIT

/**

  • Gold Lion Token

  • Ecosystem Website: https://triunity.space

  • Domen web3 for browser Brave: goldlion.unstoppable */

/**

  • It is example of a Simple Token from VladimirGav

  • This contract example contains the minimum number of functions required for the token to work.

  • Contract SimpleToken: Read: _decimals, decimals, _name, name, _symbol, symbol, allowance, balanceOf, totalSupply; Write: transfer, transferFrom, approve, decreaseAllowance, increaseAllowance.

  • Contract Ownable: Read: getOwner, owner; Write: onlyOwner: renounceOwnership, transferOwnership. */

pragma solidity >=0.8.19;

interface IERC20 { function totalSupply() external view returns (uint256);

function balanceOf(address account) external view returns (uint256);

function allowance(address owner, address spender) external view returns (uint256);

function transfer(address recipient, uint256 amount) external returns (bool);

function approve(address spender, uint256 amount) external returns (bool);

function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

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

}

// @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. library SafeMath { // Counterpart to Solidity's + operator. function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; }

}

contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () { }

}

contract Ownable is Context { address private _owner;

}

contract GoldLionToken is Context, Ownable, IERC20 { using SafeMath for uint256;

}

Last updated